/* ===== Mi Reparación Pro – Estilos completos ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  background: #f4f5f9;
  line-height: 1.6;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 640px; }

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #e4e7ef;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
}
.logo-mark {
  background: #b08a28;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.logo-text span { color: #b08a28; }

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-link {
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  transition: all .15s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #182235; background: #eef0f6; }
.nav-link.btn-nav {
  background: #b08a28;
  color: #fff !important;
  margin-left: 4px;
}
.nav-link.btn-nav:hover { background: #967420; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #182235;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, #182235 0%, #2a3c58 100%);
  color: #fff;
  padding: 60px 0 70px;
}
.hero-content { max-width: 620px; }
.badge {
  display: inline-block;
  background: rgba(176,138,40,.25);
  color: #e8c96a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero-text {
  font-size: 16px;
  color: #b0bac8;
  margin-bottom: 26px;
  line-height: 1.6;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  margin: 0 0 26px;
}
.hero-points li {
  font-size: 13px;
  font-weight: 500;
  color: #e8c96a;
  border: 1px solid rgba(232,201,106,.35);
  background: rgba(176,138,40,.12);
  padding: 4px 12px;
  border-radius: 20px;
}
.hero-points li::before { content: "✓ "; font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.btn-primary { background: #b08a28; color: #fff !important; }
.btn-primary:hover { background: #967420; color: #fff !important; }
/* Secondary sólido para fondos claros (texto oscuro, bien legible) */
.btn-secondary {
  background: #182235;
  color: #fff !important;
  border: 1.5px solid #182235;
}
.btn-secondary:hover { background: #24344f; border-color: #24344f; color: #fff !important; }
/* Variante sobre fondos oscuros (hero, etc.) */
.btn-secondary-ghost,
.hero .btn-secondary,
.profile-hero .btn-secondary,
.empresas-hero .btn-secondary,
.cta .btn-secondary {
  background: rgba(255,255,255,.12);
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-secondary-ghost:hover,
.hero .btn-secondary:hover,
.profile-hero .btn-secondary:hover,
.empresas-hero .btn-secondary:hover,
.cta .btn-secondary:hover {
  background: rgba(255,255,255,.22);
  color: #fff !important;
}
.btn-outline {
  background: #fff;
  border: 1.5px solid #b08a28;
  color: #b08a28 !important;
}
.btn-outline:hover { background: #fdf8ef; border-color: #967420; color: #967420 !important; }
.btn-danger { background: transparent; border: 1.5px solid #c0392b; color: #c0392b !important; }
.btn-danger:hover { background: #fdf2f1; border-color: #a93226; color: #a93226 !important; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-full { width: 100%; }

/* Bloque herramienta en perfiles */
.tool-access .btn-primary { background: #b08a28; color: #fff !important; }
.tool-access .btn-secondary { background: #182235; color: #fff !important; border-color: #182235; }
.tool-access .btn-outline { background: #fff; color: #b08a28 !important; border-color: #b08a28; }

/* Sections */
.section { padding: 50px 0; }
.section-alt { background: #fff; }
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #182235;
  text-align: center;
  margin-bottom: 28px;
}
.page-header { text-align: center; margin-bottom: 28px; }
.page-header h1 {
  font-size: 26px;
  font-weight: 700;
  color: #182235;
  margin: 8px 0 8px;
}
.page-header p { color: #666; max-width: 520px; margin: 0 auto; font-size: 15px; }

/* Stats */
.stats-section { padding: 30px 0; margin-top: -36px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat-card {
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,.04);
}
.stat-value { font-size: 22px; font-weight: 700; color: #182235; }
.stat-label { font-size: 12px; color: #777; margin-top: 3px; }

/* Grid cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 12px;
  padding: 22px 18px;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.card-icon { font-size: 24px; margin-bottom: 10px; }
.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: #182235; }
.card p { font-size: 13px; color: #666; line-height: 1.5; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step { text-align: center; }
.step-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: #b08a28;
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.step h3 { font-size: 15px; margin-bottom: 5px; color: #182235; }
.step p { font-size: 13px; color: #666; }

/* CTA */
.cta {
  background: #182235;
  color: #fff;
  text-align: center;
  padding: 50px 0;
}
.cta h2 { font-size: 24px; margin-bottom: 8px; }
.cta p { color: #9aa8bc; margin-bottom: 22px; font-size: 15px; }

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 3px 14px rgba(0,0,0,.04);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #d3d7e2;
  border-radius: 9px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a2e;
  background: #fff;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #b08a28;
  box-shadow: 0 0 0 3px rgba(176,138,40,.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
  font-size: 13px;
  color: #555;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #b08a28;
}

.success-message {
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 14px;
  padding: 40px 28px;
  text-align: center;
}
.success-icon {
  width: 56px;
  height: 56px;
  background: #e6f7ed;
  color: #1a9a4a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.success-message h2 { font-size: 19px; color: #182235; margin-bottom: 6px; }
.success-message p { color: #666; font-size: 14px; }

/* Lista */
.filters-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-input {
  flex: 1;
  min-width: 180px;
  padding: 9px 12px;
  border: 1.5px solid #d3d7e2;
  border-radius: 9px;
  font-size: 13px;
  font-family: inherit;
}
.filter-select {
  padding: 9px 12px;
  border: 1.5px solid #d3d7e2;
  border-radius: 9px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
}

.lista-compras { display: flex; flex-direction: column; gap: 12px; }
.compra-card {
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 12px;
  padding: 16px 18px;
  transition: box-shadow .15s;
}
.compra-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.compra-card.importante { border-left: 4px solid #b08a28; }
.compra-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.compra-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #182235;
  margin-bottom: 3px;
}
.compra-meta {
  font-size: 12px;
  color: #777;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  align-items: center;
}
.tag-cat {
  background: #eef0f6;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 11px;
  color: #555;
}
.compra-ticket { font-size: 12px; color: #555; margin-top: 5px; }
.compra-importe {
  font-size: 16px;
  font-weight: 700;
  color: #182235;
  white-space: nowrap;
}
.compra-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.garantia-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 7px;
  margin-top: 6px;
}
.garantia-badge.activa { background: #e6f7ed; color: #1a7a3a; }
.garantia-badge.proxima { background: #fff4e0; color: #b36b00; }
.garantia-badge.caducada { background: #fdecea; color: #c0392b; }

/* Empty */
.empty-state {
  text-align: center;
  padding: 44px 18px;
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 14px;
}
.empty-icon { font-size: 38px; margin-bottom: 12px; }
.empty-state h3 { font-size: 17px; color: #182235; margin-bottom: 6px; }
.empty-state p { color: #666; margin-bottom: 18px; font-size: 14px; }

/* Profiles */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.profile-card {
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 12px;
  padding: 18px;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
}
.avatar {
  width: 40px;
  height: 40px;
  background: #b08a28;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.profile-header h3 { font-size: 15px; font-weight: 600; color: #182235; }
.profile-url { font-size: 12px; color: #b08a28; }
.profile-desc { font-size: 13px; color: #555; margin-bottom: 3px; }

.actions-bar { margin-bottom: 16px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}
.modal {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #888;
}
.modal h2 { font-size: 18px; margin-bottom: 14px; color: #182235; padding-right: 28px; }
.detalle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
}
.detalle-grid strong { display: block; font-size: 11px; color: #888; margin-bottom: 2px; }
.detalle-notas { font-size: 13px; color: #555; margin-bottom: 14px; }
.share-box label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}
.share-box textarea {
  width: 100%;
  padding: 10px;
  border: 1.5px solid #d3d7e2;
  border-radius: 9px;
  font-family: inherit;
  font-size: 12px;
  margin-bottom: 10px;
  resize: vertical;
}

/* Alerts */
.alert {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 14px;
}
.alert-warn {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #7a5a00;
}

/* Stats page */
.cat-bars { margin-top: 20px; }
.cat-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
}
.cat-bar-label { width: 110px; flex-shrink: 0; color: #555; }
.cat-bar-track {
  flex: 1;
  height: 10px;
  background: #eef0f6;
  border-radius: 5px;
  overflow: hidden;
}
.cat-bar-fill {
  height: 100%;
  background: #b08a28;
  border-radius: 5px;
}
.cat-bar-value { width: 80px; text-align: right; font-weight: 600; color: #182235; }

/* Deseos / Presupuestos cards */
.item-card {
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.item-card h3 { font-size: 15px; font-weight: 600; color: #182235; margin-bottom: 3px; }
.item-meta { font-size: 12px; color: #777; }
.item-precio { font-size: 15px; font-weight: 700; color: #182235; white-space: nowrap; }

/* Backup box */
.backup-box {
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 12px;
  padding: 20px;
  margin-top: 28px;
}
.backup-box h3 { font-size: 15px; margin-bottom: 8px; color: #182235; }
.backup-box p { font-size: 13px; color: #666; margin-bottom: 14px; }

/* Footer */
.footer {
  background: #111827;
  color: #9ca3af;
  padding: 24px 0;
  font-size: 12px;
  margin-top: 30px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.footer strong { color: #fff; display: block; margin-bottom: 2px; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: #6b7280; font-size: 11px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr 1fr; }
  .profiles-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
}
@media (max-width: 700px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e4e7ef;
    padding: 10px;
    gap: 2px;
  }
  .menu-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: 22px; }
  .section { padding: 36px 0; }
  .form-card { padding: 20px; }
  .compra-main { flex-direction: column; }
  .nav-link { font-size: 14px; padding: 8px 12px; }
}

/* Cookie banner */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #182235;
  color: #e5e7eb;
  padding: 10px 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  font-size: 13px;
  line-height: 1.5;
}
#cookieBanner .cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}
#cookieBanner .cookie-text {
  flex: 1;
  min-width: 0;
  margin: 0;
}
#cookieBanner .cookie-text a {
  color: #e8c96a;
  font-weight: 600;
  text-decoration: underline;
}
#cookieBanner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
#cookieBanner .btn-outline {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
#cookieBanner .btn-outline:hover {
  border-color: #e8c96a;
  color: #e8c96a;
}
@media (max-width: 600px) {
  #cookieBanner { padding: 10px 14px; }
  #cookieBanner .cookie-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  #cookieBanner .cookie-actions { width: 100%; }
  #cookieBanner .cookie-actions .btn { flex: 1; }
}

/* Logo en cabecera */
img.logo-mark { background: none; display: block; object-fit: contain; }

/* Eslogan junto al logo */
.logo-wrap { display: flex; flex-direction: column; line-height: 1.15; }
.logo-tagline {
  font-size: 9.5px;
  font-weight: 500;
  color: #6b7280;
  max-width: 170px;
  line-height: 1.15;
  margin-top: 2px;
}
@media (min-width: 701px) and (max-width: 1050px) { .logo-tagline { display: none; } }


/* Foto del ticket */
.foto-botones { display: flex; gap: 10px; flex-wrap: wrap; }
.foto-preview { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foto-preview img { max-width: 100%; max-height: 320px; border-radius: 10px; border: 1px solid #e4e7ef; }
.ticket-thumb-btn { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 10px; background: none; border: none; padding: 0; cursor: pointer; font: inherit; }
.ticket-thumb-btn span { font-size: 12px; font-weight: 600; color: #b08a28; }
.ticket-thumb { display: block; width: 130px; height: 150px; object-fit: contain; background: #f4f5f9; border-radius: 8px; border: 1px solid #e4e7ef; }
.foto-overlay { position: fixed; inset: 0; background: rgba(10,15,25,.88); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.foto-overlay-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.foto-overlay-inner img { max-width: 94vw; max-height: 80vh; border-radius: 10px; background: #fff; }
.foto-overlay-close { position: absolute; top: -14px; right: -6px; width: 36px; height: 36px; border-radius: 50%; border: none; background: #fff; color: #182235; font-size: 22px; line-height: 1; cursor: pointer; }
.detalle-foto { margin-bottom: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.detalle-foto img { max-width: 100%; max-height: 360px; border-radius: 10px; border: 1px solid #e4e7ef; }

/* Lema en móvil: completo, en dos líneas legibles */
@media (max-width: 700px) {
  .logo { flex: 1; min-width: 0; padding-right: 8px; }
  .logo-wrap { min-width: 0; }
  .logo-tagline { max-width: none; font-size: 10.5px; line-height: 1.2; color: #4b5563; margin-top: 3px; }
}
@media (max-width: 360px) { .logo-tagline { font-size: 9.5px; } }

/* ===== PWA Install ===== */
.btn-install,
[data-pwa-install] {
  display: none;
  align-items: center;
  gap: 6px;
  background: #182235;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.15);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn-install.pwa-visible,
[data-pwa-install].pwa-visible {
  display: inline-flex;
}
.btn-install:hover,
[data-pwa-install]:hover {
  background: #24344f;
}
.btn-install.btn-install-hero {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: #fff !important;
  padding: 12px 20px;
  font-size: 15px;
}
.btn-install.btn-install-hero:hover {
  background: rgba(255,255,255,.2);
}
.header .btn-install {
  margin-left: 6px;
}

/* Two-audience landing */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.audience-card {
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.audience-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #182235;
}
.audience-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
  flex: 1;
}
.audience-card .audience-icon {
  font-size: 32px;
  line-height: 1;
}
.audience-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* Feature highlight for sellers */
.seller-tool-box {
  background: linear-gradient(145deg, #fdf8ef 0%, #f7f0e0 100%);
  border: 1px solid #e8dfc8;
  border-radius: 14px;
  padding: 24px;
  margin: 24px 0;
}
.seller-tool-box h3 {
  font-size: 17px;
  color: #182235;
  margin-bottom: 8px;
}
.seller-tool-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
  margin-bottom: 12px;
}

/* Solo profesionales de la reparación (home) */
.pro-only { border-bottom: 1px solid #e4e7ef; }
.pro-head { text-align: center; max-width: 680px; margin: 0 auto 28px; }
.pro-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #b08a28;
  margin-bottom: 8px;
}
.pro-head .section-title { margin-bottom: 10px; }
.pro-lead { font-size: 16px; color: #555; line-height: 1.6; }
.pro-card { border-top: 3px solid #b08a28; }
.pro-card p { font-size: 14px; }
.pro-cta { text-align: center; margin-top: 28px; }
@media (max-width: 480px) {
  .hero-points li { font-size: 12px; }
}

/* ===== App personalizada y compartir en perfiles ===== */
.btn-install-profile,
.profile-actions .btn-install-profile {
  background: rgba(232,201,106,.15);
  border: 1.5px solid #e8c96a;
  color: #e8c96a !important;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 9px;
}
.btn-install-profile:hover { background: rgba(232,201,106,.28); }
.profile-share { background: #fff; border-bottom: 1px solid #e4e7ef; padding: 14px 0; }
.profile-share-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.profile-share-title { font-size: 14px; color: #182235; }
.profile-share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 14px; border-radius: 20px; font: 600 13px/1 'Inter', system-ui, sans-serif;
  border: 1.5px solid #d9dde8; background: #fff; color: #182235; cursor: pointer;
  transition: all .15s;
}
.share-btn:hover { border-color: #b08a28; color: #b08a28; }
.share-wa { background: #25d366; border-color: #25d366; color: #fff; }
.share-wa:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }
.share-native { background: #182235; border-color: #182235; color: #fff; }
.share-native:hover { background: #24344f; border-color: #24344f; color: #fff; }
@media (max-width: 600px) {
  .profile-share-inner { flex-direction: column; align-items: flex-start; }
  .btn-install-profile { width: 100%; justify-content: center; }
}

/* Guía de instalación (hoja inferior, móvil) */
#pwaSheet { position: fixed; inset: 0; z-index: 10000; background: rgba(10,15,25,.55); display: flex; align-items: flex-end; justify-content: center; }
.pwa-sheet-box { position: relative; background: #fff; width: 100%; max-width: 480px; border-radius: 18px 18px 0 0; padding: 24px 22px calc(22px + env(safe-area-inset-bottom)); }
.pwa-sheet-box h3 { font-size: 17px; color: #182235; margin-bottom: 12px; padding-right: 28px; }
.pwa-sheet-box ol { padding-left: 20px; margin-bottom: 18px; font-size: 15px; color: #444; line-height: 1.5; }
.pwa-sheet-box li { margin-bottom: 8px; }
.pwa-sheet-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 28px; line-height: 1; color: #888; cursor: pointer; }
.pwa-sheet-ok { width: 100%; }
.pwa-ico { display: inline-block; padding: 0 6px; border: 1px solid #ccd; border-radius: 6px; font-weight: 700; }
@media (min-width: 700px) { #pwaSheet { align-items: center; } .pwa-sheet-box { border-radius: 18px; } }

/* Barra fija de descarga (solo móvil) */
.pwa-sticky { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(24,34,53,.96); box-shadow: 0 -4px 20px rgba(0,0,0,.25); }
.pwa-sticky .btn { width: 100%; justify-content: center; padding: 12px; font-size: 15px; }
@media (max-width: 700px) { .pwa-sticky[style*="display: none"] { display: none !important; } .pwa-sticky:not([style*="display: none"]) { display: block; } }
.pwa-sticky .btn[data-pwa-install] { background: #b08a28; border-color: #b08a28; }
.pwa-sticky .btn[data-pwa-install]:hover { background: #967420; }

/* Tiendas físicas en perfiles */
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.store-card { background: #f7f8fc; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.store-card h3 { font-size: 15px; color: #182235; }
.store-addr { font-size: 14px; color: #333; }
.store-line { font-size: 13px; color: #555; }
.store-line a { color: #b08a28; font-weight: 600; }
.store-note { color: #888; font-style: italic; }
.store-card .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 700px) { .store-grid { grid-template-columns: 1fr; } }

.pwa-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10001; background: #182235; color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; box-shadow: 0 6px 24px rgba(0,0,0,.3); max-width: 90vw; text-align: center; }
.pwa-sheet-box .btn { width: 100%; margin-top: 8px; }
.pwa-sheet-box a.btn { text-decoration: none; }
.pwa-arrow { position: fixed; left: 50%; transform: translateX(-50%); z-index: 10001; font-size: 34px; color: #e8c96a; animation: pwaBounce 1s infinite ease-in-out; pointer-events: none; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.pwa-arrow-down { bottom: 6px; }
.pwa-arrow-up { top: 6px; left: auto; right: 24px; transform: none; }
@keyframes pwaBounce { 0%,100% { margin-bottom: 0; margin-top: 0; } 50% { margin-bottom: 8px; margin-top: -8px; } }

#pwaSheet.pwa-has-arrow .pwa-sheet-box { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }

/* Pegatina QR en el pie del perfil (una sola vez) */
.sticker-box {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 20px 0 8px;
  padding: 16px 18px;
  border: 1px solid rgba(232,201,106,.25);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.06) 0%, rgba(176,138,40,.08) 100%);
}
.sticker-box img {
  border-radius: 8px;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  width: 84px;
  height: auto;
}
.sticker-text { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: #aab3c2; }
.sticker-text strong { color: #fff; font-size: 14px; margin: 0; }
.sticker-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.footer .sticker-btns .btn-outline { color: #fff; border-color: rgba(255,255,255,.35); }
.footer .sticker-btns .btn-outline:hover { border-color: #e8c96a; color: #e8c96a; }
/* Bienvenida al llegar desde el QR */
.qr-welcome { background: #fdf3d6; border-bottom: 1px solid #e8dfc8; padding: 10px 0; font-size: 14px; color: #182235; }
.qr-welcome-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.qr-welcome .btn[data-pwa-install] { background: #b08a28; border-color: #b08a28; }
@media (max-width: 600px) { .sticker-box { flex-direction: row; align-items: flex-start; } .qr-welcome .btn { width: 100%; } }

@media (max-width: 700px) { body.has-pwa-sticky .footer { padding-bottom: 90px; } }

/* Logotipo del perfil en la cabecera (el estilo fino va en cada página) */
.profile-logo-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}
.profile-logo { max-width: 200px; width: 200px; height: auto; border-radius: 10px; display: block; }
@media (max-width: 600px) {
  .profile-logo-card { margin: 0 auto; }
  .profile-logo { max-width: 160px; width: 160px; }
}
.profile-hero-info { flex: 1 1 320px; min-width: 0; }

.store-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.store-btns .btn { margin-top: 0; }
.store-map iframe { width: 100%; height: 280px; border: 0; border-radius: 10px; margin-top: 8px; }
.store-grid:has(.store-card:only-child) { grid-template-columns: 1fr; }

/* Consentimiento antes de contactar por WhatsApp */
.wa-consent{margin-top:14px;max-width:560px;font-size:13px;line-height:1.45;color:#c9d3e3}
.wa-consent label{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.wa-consent input{margin-top:3px;width:18px;height:18px;flex:0 0 18px;accent-color:#b08a28}
.wa-consent a{color:#e8c96a;text-decoration:underline}
.wa-consent-msg{margin-top:8px;padding:8px 12px;border-radius:8px;background:#fff3cd;color:#7a5b00;font-weight:600}
.wa-consent.wa-shake{animation:waShake .4s}
@keyframes waShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
