/* ==========================================================================
   TuagenteM - Agente Autorizado Movistar
   Hoja de estilos principal. Tokens en :root, sin dependencias externas.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Marca (derivada del logo AM) */
  --brand:        #019DF4;
  --brand-ink:    #0A6FA8;   /* texto azul accesible sobre claro (5.45:1) */
  --brand-soft:   #E6F5FE;
  --navy:         #003A5D;
  --navy-deep:    #002A45;
  --amber:        #F5A81C;
  --amber-dark:   #D98E0A;

  /* Neutros */
  --ink:          #0F1B24;
  --muted:        #4A5A66;
  --surface:      #FFFFFF;
  --bg:           #F7F9FC;
  --line:         #E3EAF1;
  --line-strong:  #CBD7E3;

  /* Espaciado */
  --space-1: 8px;  --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-5: 48px; --space-6: 64px; --space-7: 96px;

  /* Radios */
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-pill: 999px;

  /* Sombras */
  --sh-1: 0 1px 2px rgba(15,27,36,.06), 0 2px 8px rgba(15,27,36,.05);
  --sh-2: 0 8px 24px rgba(15,27,36,.10);
  --sh-3: 0 18px 48px rgba(15,27,36,.16);

  /* Movimiento */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: 180ms; --t: 280ms; --t-slow: 420ms;

  /* Layout */
  --wrap: 1200px;
  --header-h: 80px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
h1, h2, h3, h4 {
  font-family: "Montserrat", system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
p { margin: 0 0 var(--space-2); text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Foco visible - WCAG 2.2 (perimetro 2px+, contraste 3:1) */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-2); top: -100px; z-index: 200;
  background: var(--amber); color: var(--navy-deep);
  padding: 12px 20px; border-radius: var(--r-sm); font-weight: 700;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--space-2); }

/* ---------- 3. Utilidades de layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-6); }
.section--dark {
  background: var(--navy-deep);
  color: #EAF3FA;
}
.section--dark h2, .section--dark h3 { color: #FFFFFF; }
.section--dark p { color: #B9CFDF; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-ink);
  margin-bottom: var(--space-2);
}
.section--dark .eyebrow { color: var(--brand); }
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
}

.section-head { max-width: 62ch; margin-bottom: var(--space-5); }
.section-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section--dark .section-head p { color: #B9CFDF; }

/* ---------- 4. Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: var(--r-pill);
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1rem;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* CTA principal: ambar + navy = 7.41:1 */
.btn--primary { background: var(--amber); color: var(--navy-deep); box-shadow: var(--sh-1); }
.btn--primary:hover { background: var(--amber-dark); box-shadow: var(--sh-2); }

/* Secundario: navy + blanco = 11.9:1 */
.btn--secondary { background: var(--navy); color: #FFFFFF; }
.btn--secondary:hover { background: var(--navy-deep); box-shadow: var(--sh-2); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: var(--surface); }

.btn--on-dark {
  background: rgba(255,255,255,.10); color: #FFFFFF;
  border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px);
}
.btn--on-dark:hover { background: rgba(255,255,255,.20); }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- 5. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--sh-1); }
.header__inner { display: flex; align-items: center; gap: var(--space-2); height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: none; }
.brand:hover { text-decoration: none; }
.brand__mark { height: 38px; width: auto; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.1rem;
  line-height: 1; letter-spacing: -.01em; color: var(--navy-deep);
}
/* Reproduce el bajo-logo con tipografia viva, legible a cualquier tamano. */
.brand__tag {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .72rem;
  line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink);
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a {
  display: block; padding: 10px 6px; border-radius: var(--r-sm); white-space: nowrap;
  color: var(--ink); font-weight: 500; font-size: .94rem;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__list a:hover { background: var(--brand-soft); color: var(--brand-ink); text-decoration: none; }
.header .btn { flex: none; }
/* Destino resaltado: es una herramienta, no una seccion mas del recorrido. */
.nav__destacado {
  border: 1.5px solid var(--line-strong);
  color: var(--brand-ink) !important; font-weight: 600 !important;
}
.nav__destacado:hover { border-color: var(--brand-ink); }

/* El CTA dentro del menu solo existe en movil; en escritorio ya hay uno en el header. */
.nav__cta { display: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-left: auto;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 860px);
  display: grid; align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  /* El video tiene fondo claro: se desplaza a la derecha para que el logo
     quede en la zona despejada, fuera del texto. */
  object-position: 72% center;
}
/* Velo oscuro en degradado. Sobre el blanco del video, el 0.80 de la zona del
   texto deja un fondo equivalente a #334F6A: 7.9:1 contra el texto blanco. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(0,42,69,.94) 0%,
      rgba(0,42,69,.90) 30%,
      rgba(0,42,69,.80) 48%,
      rgba(0,42,69,.55) 72%,
      rgba(0,42,69,.42) 100%),
    linear-gradient(180deg, rgba(0,42,69,.55) 0%, rgba(0,42,69,0) 22%, rgba(0,42,69,0) 70%, rgba(0,42,69,.60) 100%);
}
.hero__inner { padding-block: var(--space-7); }
.hero__copy { color: #FFFFFF; max-width: 40rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; margin-bottom: var(--space-3);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--r-pill); backdrop-filter: blur(8px);
  font-size: .88rem; font-weight: 600; color: #FFFFFF;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,168,28,.28);
}
.hero h1 {
  font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.1rem);
  max-width: 15ch; color: #FFFFFF; margin-bottom: var(--space-3);
  text-shadow: 0 2px 24px rgba(0,20,34,.45);
}
/* Los dos colores del logo. En degradado, el punto medio caia sobre el salto de
   linea y dejaba "o en" en un oliva apagado. Solidos: 7.05:1 y 7.41:1 sobre el azul. */
.hero h1 .accent-azul  { color: #46BDFF; }
.hero h1 .accent-ambar { color: var(--amber); }
.hero__lead {
  font-size: clamp(1.02rem, .95rem + .35vw, 1.16rem);
  max-width: 50ch; color: #E2EFF8; margin-bottom: var(--space-4);
  text-shadow: 0 1px 12px rgba(0,20,34,.5);
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  margin-top: var(--space-5); padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,.24);
}
.hero__meta div { color: #CFE2EF; font-size: .9rem; max-width: 16ch; }
.hero__meta strong {
  display: block; font-family: "Montserrat", sans-serif;
  font-size: 1.5rem; font-weight: 700; color: #FFFFFF; line-height: 1.2;
}
.hero__videoctl {
  position: absolute; right: 20px; bottom: 20px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,42,69,.72); border: 1px solid rgba(255,255,255,.5);
  color: #FFFFFF; cursor: pointer; backdrop-filter: blur(8px);
  transition: background-color var(--t-fast) var(--ease);
}
.hero__videoctl:hover { background: rgba(0,42,69,.95); }
.hero__videoctl svg { width: 18px; height: 18px; }
.hero__videoctl .icon-play { display: none; }
.hero__videoctl[aria-pressed="true"] .icon-play { display: block; }
.hero__videoctl[aria-pressed="true"] .icon-pause { display: none; }

/* ---------- 7. Barra de confianza ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust__inner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: var(--space-2) var(--space-4); padding-block: var(--space-3);
}
.trust__label {
  font-family: "Montserrat", sans-serif; font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.trust__logos { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--bg); border: 1px solid var(--line);
  font-weight: 600; font-size: .92rem; color: var(--ink);
  white-space: nowrap;
}
.chip svg { width: 16px; height: 16px; color: var(--brand-ink); flex: none; }

/* ---------- 8. Catalogo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-4); }
.filter {
  min-height: 44px; padding: 10px 20px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); color: var(--ink);
  font-weight: 500; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }

.grid-products {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.product {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; }
.product__media {
  position: relative; aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #F1F6FB 0%, #E4EDF6 100%);
  display: grid; place-items: center; overflow: hidden;
}
.product__media img {
  width: 100%; height: 100%; object-fit: contain; padding: var(--space-2);
  transition: transform var(--t-slow) var(--ease);
}
.product:hover .product__media img { transform: scale(1.05); }
.product__ph { color: var(--line-strong); }
.product__ph svg { width: 72px; height: 72px; }
.product__tag {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--amber); color: var(--navy-deep);
  font-family: "Montserrat", sans-serif; font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.product__tag--blue { background: var(--navy); color: #FFFFFF; }
.product__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-3); }
.product__brand {
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.product__name { font-size: 1.12rem; margin-bottom: var(--space-1); }
.product__specs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: var(--space-3);
}
.product__specs li {
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--bg); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.product__cta { margin-top: auto; }
.product__cta .btn { width: 100%; }

.grid-products.grid--limitado .product[data-extra] { display: none; }
.grid-mas { display: flex; justify-content: center; margin-top: var(--space-4); }
/* Sin JS no hay forma de desplegar, asi que se muestran todos y sobra el boton. */
html:not(.js) .grid-mas { display: none; }

.catalog-note {
  margin-top: var(--space-4); padding: var(--space-3);
  background: var(--brand-soft); border: 1px dashed var(--line-strong);
  border-radius: var(--r); color: var(--muted); font-size: .94rem;
}
.catalog-note strong { color: var(--ink); }
.catalog-note p:last-child { margin-bottom: 0; }

/* ---------- 9. Financiamiento ---------- */
.grid-finance {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.finance {
  padding: var(--space-4) var(--space-3);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.finance:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.finance__icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  margin-bottom: var(--space-2); border-radius: var(--r-sm);
  background: var(--brand-soft); color: var(--brand-ink);
}
.finance__icon svg { width: 26px; height: 26px; }
.section--dark .finance h3 { color: var(--ink); }
.finance h3 { font-size: 1.2rem; }
.finance p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

.requisitos {
  display: grid; gap: var(--space-3); margin-top: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.requisito {
  padding: var(--space-3);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-lg);
}
.section--dark .requisito h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; color: #FFFFFF; margin-bottom: var(--space-2);
}
.requisito h3 svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.requisito__lista { display: grid; gap: 10px; }
.requisito__lista li {
  display: flex; align-items: flex-start; gap: 10px;
  color: #DCEBF5; font-size: .98rem;
}
.requisito__lista svg { width: 18px; height: 18px; flex: none; color: #6EE7B7; margin-top: 4px; }
.requisito__nota {
  margin: var(--space-2) 0 0; padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .9rem; color: #9FBDD1;
}

.steps {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-top: var(--space-5);
}
.step { padding-top: var(--space-3); border-top: 3px solid rgba(255,255,255,.18); }
.step__n {
  font-family: "Montserrat", sans-serif; font-size: 2.6rem; font-weight: 700;
  line-height: 1; color: var(--brand); margin-bottom: var(--space-1);
}
.step h3 { font-size: 1.14rem; }
.step p { margin-bottom: 0; }

/* ---------- 10. Servicios (bento) ---------- */
.bento {
  display: grid; gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.tile {
  padding: var(--space-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.tile__icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  margin-bottom: var(--space-2); border-radius: var(--r-sm);
  background: var(--brand-soft); color: var(--brand-ink);
}
.tile__icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: 1.06rem; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }

.business {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: center;
}
.business__list li {
  display: flex; gap: 12px; padding-block: 12px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.business__list li:last-child { border-bottom: 0; }
.business__list svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 2px; }
.business__list b { display: block; color: #FFFFFF; font-family: "Montserrat", sans-serif; }
.business__list span { color: #B9CFDF; font-size: .94rem; }

/* ---------- 10b. Tarjetas de plan (prepago, Movistar GO) ---------- */
.planes-bloque { margin-top: var(--space-6); }
.planes-cab { max-width: 60ch; margin-bottom: var(--space-4); }
.planes-cab h3 { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.7rem); }
.planes-cab p { color: var(--muted); margin: 0; }

.planes {
  display: grid; gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  align-items: stretch;
}
.planes--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }

.plan {
  position: relative; display: flex; flex-direction: column;
  padding: var(--space-3);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

/* El destacado se distingue por borde y etiqueta, no solo por color:
   quien no percibe el matiz igual lo identifica. */
.plan--destacado {
  border-color: var(--navy); border-width: 2px;
  box-shadow: var(--sh-2);
}
.plan__etiqueta {
  position: absolute; top: -12px; left: var(--space-3);
  padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--navy); color: #FFFFFF;
  font-family: "Montserrat", sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.plan__nombre { font-size: 1.06rem; margin-bottom: var(--space-2); }
.plan__cifra {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  margin-bottom: 4px; font-family: "Montserrat", sans-serif;
}
.plan__cifra b { font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--navy-deep); }
.plan__cifra span { font-size: .92rem; font-weight: 600; color: var(--brand-ink); }
.plan__detalle { font-size: .88rem; color: var(--muted); margin-bottom: var(--space-2); }
.plan__incluye {
  padding: 8px 12px; margin-bottom: var(--space-2);
  border-radius: var(--r-sm); background: var(--navy-deep);
  color: #FFFFFF; font-size: .84rem; font-weight: 600;
}
.plan__lista { display: grid; gap: 8px; margin-bottom: var(--space-3); }
.plan__lista li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .93rem; color: var(--muted);
}
.plan__lista svg { width: 16px; height: 16px; flex: none; color: #147A3D; margin-top: 4px; }
.plan__cta { margin-top: auto; margin-bottom: 0; }
.plan__cta .btn { width: 100%; }

.planes-nota {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: var(--space-4); padding: var(--space-3);
  background: var(--brand-soft); border-radius: var(--r);
  color: var(--muted); font-size: .94rem;
}
.planes-nota svg { width: 22px; height: 22px; flex: none; color: var(--brand-ink); margin-top: 2px; }
.planes-nota b { color: var(--ink); }
.planes-nota--dark {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  color: #C6DCEA;
}
.planes-nota--dark svg { color: var(--brand); }

/* ---------- 10c. Soluciones PYME ---------- */
.soluciones {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.solucion {
  display: flex; flex-direction: column;
  padding: var(--space-3);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.solucion:hover { transform: translateY(-3px); border-color: rgba(1,157,244,.55); }
.solucion__icono {
  display: grid; place-items: center; width: 48px; height: 48px;
  margin-bottom: var(--space-2); border-radius: var(--r-sm);
  background: rgba(1,157,244,.16); color: var(--brand);
}
.solucion__icono svg { width: 24px; height: 24px; }
.section--dark .solucion h3 { font-size: 1.1rem; color: #FFFFFF; }
.solucion p { color: #C6DCEA; font-size: .95rem; }

.chips-anchos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--space-2); }
.chip-ancho {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .88rem; color: #FFFFFF;
}
.chip-ancho--rec { background: var(--amber); border-color: var(--amber); color: var(--navy-deep); }
.chip-ancho--rec span {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding-left: 8px; border-left: 1px solid rgba(0,42,69,.35);
}

.solucion__detalles { display: grid; gap: var(--space-2); margin-top: var(--space-2); }
.solucion__detalles li {
  padding: 10px 12px; border-radius: var(--r-sm);
  background: rgba(0,0,0,.18); border-left: 3px solid var(--brand);
}
.solucion__detalles b {
  display: block; font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: .95rem; color: #FFFFFF; margin-bottom: 2px;
}
.solucion__detalles span { color: #C6DCEA; font-size: .9rem; }

.empresas-cierre {
  display: grid; gap: var(--space-3); align-items: center;
  grid-template-columns: 1fr auto;
  margin-top: var(--space-4); padding: var(--space-4) var(--space-3);
  background: rgba(1,157,244,.12);
  border: 1px solid rgba(1,157,244,.35);
  border-radius: var(--r-lg);
}
.section--dark .empresas-cierre h3 { font-size: 1.3rem; color: #FFFFFF; }
.empresas-cierre p { margin: 0; }
.empresas-cierre .btn-row { flex: none; }

/* ---------- 10d. Consulta de estatus de credito ---------- */
.consulta {
  padding: var(--space-4) var(--space-3);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-1);
}
.consulta__form {
  display: grid; gap: var(--space-2);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}
.consulta__form .btn { min-height: 52px; }

.campo__label {
  display: block; margin-bottom: 6px;
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .92rem;
  color: var(--ink);
}
.campo__caja { position: relative; display: flex; align-items: center; }
.campo__icono {
  position: absolute; left: 14px; width: 20px; height: 20px;
  color: var(--muted); pointer-events: none;
}
.campo__input {
  width: 100%; min-height: 52px; padding: 12px 16px 12px 44px;
  font-family: "Montserrat", sans-serif; font-size: 1.05rem; font-weight: 600;
  letter-spacing: .02em; color: var(--ink);
  background: var(--bg); border: 2px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.campo__input::placeholder { font-weight: 400; color: #8A9AA6; letter-spacing: 0; }
.campo__input:focus { background: var(--surface); border-color: var(--brand-ink); }
.campo__input[aria-invalid="true"] { border-color: #C22B2B; }
.campo__ayuda { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }

.consulta__aviso {
  display: flex; align-items: flex-start; gap: 10px;
  margin: var(--space-3) 0 0; padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.consulta__aviso svg { width: 18px; height: 18px; flex: none; color: #147A3D; margin-top: 2px; }

/* Estado: cargando, sin resultados, error */
.resultado { margin-top: var(--space-4); }
.resultado__estado {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 0; padding: var(--space-3);
  border-radius: var(--r); font-size: .98rem;
}
.resultado__estado svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.resultado__estado--cargando { background: var(--brand-soft); color: var(--brand-ink); }
.resultado__estado--vacio { background: #FFF4DB; color: #7A5200; }
.resultado__estado--error { background: #FDECEC; color: #A31D1D; }

.resultado__cab {
  padding: var(--space-3); border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--navy-deep);
}
.resultado__titular {
  margin: 0 0 2px; letter-spacing: 0; font-family: "Montserrat", sans-serif;
  font-size: 1.3rem; font-weight: 700; color: #FFFFFF;
}
.resultado__sub { margin: 0; font-size: .94rem; color: #B9CFDF; }

/* Selector de credito, solo si hay mas de uno */
.codigos {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: var(--space-2) var(--space-3);
  background: #012F4D; border-bottom: 1px solid rgba(255,255,255,.14);
}
.codigo-btn {
  min-height: 44px; padding: 10px 18px;
  background: transparent; border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--r-pill); color: #DCEBF6;
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .9rem;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.codigo-btn:hover { border-color: #FFFFFF; color: #FFFFFF; }
/* El seleccionado se marca con relleno y peso, no solo con color. */
.codigo-btn[aria-pressed="true"] {
  background: var(--amber); border-color: var(--amber);
  color: var(--navy-deep); font-weight: 700;
}

.credito {
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}

/* Bloques: Datos del credito, Montos, Cuotas */
.bloque + .bloque, .bloque + .totales { margin-top: var(--space-4); }
.bloque__titulo {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  margin: 0 0 var(--space-2); padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-ink);
}
.bloque__contador {
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  text-transform: none; color: var(--muted);
}

/* Ficha etiqueta-valor, como en la app */
.ficha { margin: 0; }
.ficha__fila {
  display: grid; gap: 4px var(--space-3);
  grid-template-columns: minmax(140px, 34%) 1fr;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.ficha__fila:last-child { border-bottom: 0; }
.ficha dt {
  font-size: .74rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
  align-self: center;
}
.ficha dd {
  margin: 0; font-family: "Montserrat", sans-serif;
  font-size: 1rem; font-weight: 600; color: var(--ink);
  overflow-wrap: anywhere;
}

/* Tabla de cuotas */
.cuotas__scroll { overflow-x: auto; }
.cuotas { width: 100%; border-collapse: collapse; }
.cuotas th, .cuotas td {
  padding: 11px 12px; text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .95rem; white-space: nowrap;
}
.cuotas thead th {
  font-family: "Montserrat", sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
  border-bottom-width: 2px;
}
.cuotas tbody th {
  font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--ink);
}
.cuotas tbody tr:last-child th, .cuotas tbody tr:last-child td { border-bottom: 0; }
.cuotas__monto { font-family: "Montserrat", sans-serif; font-weight: 700; }

/* Distintivo de estado: color + palabra, nunca solo color */
.pin {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--r-pill);
  font-family: "Montserrat", sans-serif; font-size: .8rem; font-weight: 700;
  white-space: nowrap;
}
.pin::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: currentColor; flex: none;
}
.pin--grande { font-size: .92rem; padding: 6px 14px; }
.pin--ok      { background: #E4F6EA; color: #10692F; }   /* 5.6:1 */
.pin--vencida { background: #FDE7E7; color: #A31D1D; }   /* 6.4:1 */
.pin--parcial { background: #FFF1D6; color: #7A5200; }   /* 6.9:1 */
.pin--espera  { background: #E9EFF6; color: #3F5568; }   /* 7.1:1 */

/* Resumen final */
.totales {
  display: grid; gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  padding: var(--space-3); margin-top: var(--space-4);
  background: var(--navy-deep); border-radius: var(--r);
}
.total__etiqueta {
  margin: 0 0 4px; font-family: "Montserrat", sans-serif;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #9FBDD1;
}
.total__valor {
  margin: 0; font-family: "Montserrat", sans-serif;
  font-size: 1.5rem; font-weight: 700; color: #FFFFFF; line-height: 1.2;
}
.total__valor--pend { color: var(--amber); }

@media (max-width: 560px) {
  .ficha__fila { grid-template-columns: 1fr; }
  .ficha dt { align-self: start; }
}

.resultado__pie {
  display: flex; align-items: flex-start; gap: 10px;
  margin: var(--space-3) 0 var(--space-2);
  font-size: .9rem; color: var(--muted);
}
.resultado__pie svg { width: 18px; height: 18px; flex: none; color: var(--amber-dark); margin-top: 2px; }

@media (max-width: 620px) {
  .consulta__form { grid-template-columns: 1fr; }
  .consulta__form .btn { width: 100%; }
}

/* ---------- 11. Promocion (video vertical, formato reel) ---------- */
.promo {
  display: grid; gap: var(--space-5);
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  align-items: center;
}
.promo__video {
  position: relative; width: 100%; max-width: 320px; margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy-deep); box-shadow: var(--sh-3);
}
.promo__video video { width: 100%; height: 100%; object-fit: cover; }
.promo__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  width: 100%; height: 100%; border: 0; cursor: pointer; color: #FFFFFF;
  background: linear-gradient(180deg, rgba(0,42,69,.15), rgba(0,42,69,.55));
  transition: opacity var(--t) var(--ease);
}
.promo__play span {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--amber); color: var(--navy-deep); box-shadow: var(--sh-2);
  transition: transform var(--t) var(--ease);
}
.promo__play:hover span { transform: scale(1.08); }
.promo__play svg { width: 30px; height: 30px; margin-left: 4px; }
.promo__play.is-hidden { opacity: 0; pointer-events: none; }
.promo__copy { max-width: 56ch; }

.pricetag {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: "Montserrat", sans-serif; font-weight: 700;
  color: var(--navy-deep); line-height: 1;
  font-size: clamp(3rem, 2rem + 5vw, 5rem);
  margin-block: var(--space-1) var(--space-3);
}
.pricetag sup { font-size: .4em; }

.promo__vigencia {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: #FFF4DB; border: 1px solid var(--amber);
  color: #7A5200; font-size: .95rem;
}
.promo__vigencia svg { width: 20px; height: 20px; flex: none; }
.promo__vigencia b { color: #5C3E00; }

/* ---------- 14b. Elegir línea de ventas ---------- */
/* dialog sin soporte nativo se comporta como un div visible: esta regla lo
   mantiene oculto hasta que el navegador (o el script) lo abra de verdad. */
dialog:not([open]) { display: none; }

.elegir {
  position: fixed; inset: 0; margin: auto;
  width: min(100% - 32px, 420px); max-width: none;
  padding: var(--space-4) var(--space-3) var(--space-3);
  border: 0; border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink); box-shadow: var(--sh-3);
}
.elegir::backdrop { background: rgba(0, 42, 69, .55); }
.elegir__cerrar {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: transparent;
  color: var(--muted); cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
.elegir__cerrar:hover { background: var(--bg); color: var(--ink); }
.elegir__cerrar svg { width: 20px; height: 20px; }
.elegir__titulo { font-size: 1.24rem; margin: 2px 0 var(--space-1); padding-right: 36px; }
.elegir__texto { color: var(--muted); font-size: .96rem; margin-bottom: var(--space-3); }
.elegir__opciones { display: grid; gap: var(--space-1); }
/* En pantallas de 320 px "Ventas 1 · 0424 766 5870" no entra en una linea:
   aqui el boton puede partir el texto, al contrario que el resto del sitio. */
.elegir__opciones .btn {
  width: 100%; padding-inline: var(--space-2);
  white-space: normal; text-align: center; line-height: 1.25;
}

/* ---------- 14c. Financiamiento por equipo ---------- */
/* Los dos botones los crea financiamiento.js cuando la hoja de precios
   responde; si no responde, esta fila no llega a existir. */
.product__fin { display: grid; gap: 6px; margin-top: auto; }
.product__fin + .product__cta { margin-top: 6px; }
.fin-btn {
  width: 100%; min-height: 42px; padding: 8px 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: transparent; color: var(--muted);
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .78rem;
  line-height: 1.2; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.fin-btn:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.fin-btn--fp:hover { border-color: var(--amber-dark); background: #FFF4DB; color: #7A5200; }
.fin-btn--kr:hover { border-color: #3FB6CC; background: #E6F8FC; color: #0B5E6E; }

/* El logo de cada plataforma. flex:none para que no lo encoja el texto. */
.fin-btn__logo { width: 18px; height: 18px; flex: none; object-fit: contain; }

/* El cuadro reutiliza .elegir y solo añade lo suyo. */
.fin__cifras {
  display: grid; gap: 2px; margin: var(--space-2) 0;
  padding: var(--space-2); border-radius: var(--r-sm); background: var(--bg);
}
.fin__inicial { font-size: 1.02rem; color: var(--muted); }
.fin__inicial b {
  font-family: "Montserrat", sans-serif; font-size: 1.5rem;
  color: var(--ink); margin-left: 4px;
}
.fin__cuotas:empty { display: none; }
.fin__cuotas { font-family: "Montserrat", sans-serif; font-weight: 600; color: var(--brand-ink); }
.fin__moneda { color: var(--muted); font-size: .9rem; margin-bottom: var(--space-2); }
/* El obsequio que acompaña a algunos equipos. */
.fin__obsequio {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; margin-bottom: var(--space-2);
  border-radius: var(--r-sm); background: #FFF4DB; border: 1px solid var(--amber);
  color: #7A5200; font-size: .92rem; font-weight: 600;
}
.fin__obsequio[hidden] { display: none; }

.fin__rotulo {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .84rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 6px;
}
.fin__requisitos { display: grid; gap: 5px; margin-bottom: var(--space-3); }
.fin__requisitos li {
  position: relative; padding-left: 16px; font-size: .94rem; color: var(--ink);
}
.fin__requisitos li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.fin__descarga { font-weight: 600; color: var(--brand-ink); text-decoration: underline; }


/* ---------- 12. Ventajas ---------- */
.grid-why {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.why__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--amber); color: var(--navy-deep); margin-bottom: var(--space-2);
}
.why__icon svg { width: 24px; height: 24px; }
.why h3 { font-size: 1.1rem; }
.why p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- 13b. Visitanos: ubicacion y horario ---------- */
.visita {
  display: grid; gap: var(--space-5);
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: start;
}
.visita__video {
  position: relative; margin: 0;
  width: 100%; max-width: 300px; aspect-ratio: 9 / 16;
  border-radius: var(--r-lg); overflow: hidden;
  background: #001B2E; box-shadow: var(--sh-3);
  border: 1px solid rgba(255,255,255,.14);
}
.visita__video video { width: 100%; height: 100%; object-fit: cover; }

.datos { display: grid; gap: var(--space-3); margin-bottom: var(--space-3); }
.datos li { display: flex; gap: 14px; }
.datos > li > svg { width: 24px; height: 24px; flex: none; color: var(--brand); margin-top: 3px; }
.datos b {
  display: block; font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 1.06rem; color: #FFFFFF; margin-bottom: 2px;
}
.datos span span { color: #C6DCEA; font-size: .96rem; }

.horario {
  margin-top: var(--space-4); padding: var(--space-3);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r);
}
.horario__cab {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  justify-content: space-between; margin-bottom: var(--space-2);
}
.horario__cab h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; margin: 0; color: #FFFFFF;
}
.horario__cab h3 svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* Estado en vivo. Verde y rojo claros sobre el azul profundo: 8.9:1 y 5.6:1. */
.estado {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0; padding: 5px 14px; border-radius: var(--r-pill);
  font-family: "Montserrat", sans-serif; font-size: .82rem; font-weight: 700;
}
.estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.estado--abierto { background: rgba(52,211,153,.16); color: #6EE7B7; }
.estado--cerrado { background: rgba(248,113,113,.16); color: #FCA5A5; }
.estado:empty { display: none; }

.horario__lista { display: grid; gap: 2px; }
.horario__lista li {
  display: flex; justify-content: space-between; gap: var(--space-2);
  padding: 9px 12px; border-radius: var(--r-sm);
  font-size: .95rem; color: #C6DCEA;
}
.horario__dia { font-weight: 600; }
.horario__hora { font-variant-numeric: tabular-nums; text-align: right; }
.horario__lista li.es-hoy {
  background: rgba(1,157,244,.20); color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(1,157,244,.45);
}
.horario__lista li.es-hoy .horario__dia::after {
  content: "hoy"; margin-left: 8px; padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--amber); color: var(--navy-deep);
  font-family: "Montserrat", sans-serif; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; vertical-align: middle;
}
.horario__nota {
  margin: var(--space-2) 0 0; padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .88rem; color: #9FBDD1;
}

/* Banner del domingo. El video es 16:9 y su mensaje esta dentro del cuadro:
   se respeta la proporcion y se limita el ancho en vez de recortarlo. */
.domingo {
  position: relative; margin: var(--space-5) auto 0;
  width: 100%; max-width: 820px; aspect-ratio: 16 / 9;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--sh-3);
}
.domingo video { width: 100%; height: 100%; object-fit: cover; }
.domingo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  padding: var(--space-4) var(--space-3) var(--space-2);
  background: linear-gradient(180deg, rgba(0,27,46,0) 0%, rgba(0,27,46,.88) 62%);
}
.domingo .eyebrow { margin: 0; color: var(--amber); }
.domingo__texto {
  margin: 0; font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, .85rem + .7vw, 1.3rem); font-weight: 500; color: #FFFFFF;
}
.domingo__texto b { font-weight: 700; color: var(--amber); }

/* ---------- 12b. Opiniones de clientes ---------- */
.opiniones {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.opinion {
  position: relative; display: flex; flex-direction: column;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.opinion:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.opinion__comilla {
  position: absolute; top: 16px; right: 18px;
  color: var(--brand-soft);
}
.opinion__comilla svg { width: 34px; height: 34px; }
.opinion__texto {
  position: relative; margin: 0 0 var(--space-3);
  font-size: 1.02rem; color: var(--ink); line-height: 1.6;
}
.opinion__texto::before { content: "\201C"; }
.opinion__texto::after  { content: "\201D"; }
.opinion__pie {
  margin-top: auto; padding-top: var(--space-2);
  border-top: 1px solid var(--line);
}
.opinion__autor {
  margin: 0; font-family: "Montserrat", sans-serif;
  font-weight: 700; font-size: .98rem; color: var(--ink);
}
.opinion__equipo { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }

/* Estrellas. El numero siempre acompana al icono: no se depende del color. */
.estrellas { display: inline-flex; gap: 2px; margin-bottom: var(--space-2); }
.estrella { width: 17px; height: 17px; color: var(--line-strong); }
.estrella--on { color: #B87A00; }

/* Nota media en la tarjeta del catalogo */
.product__nota {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  margin: 0 0 var(--space-1);
}
.product__nota .estrellas { margin-bottom: 0; }
.product__nota .estrella { width: 14px; height: 14px; }
.product__nota-n {
  font-family: "Montserrat", sans-serif; font-size: .82rem;
  font-weight: 600; color: var(--muted);
}

/* ---------- 13. Contacto ---------- */
.contact {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.card {
  padding: var(--space-4) var(--space-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-sm);
  background: #E8F8EE; color: #147A3D; margin-bottom: var(--space-2);
}
.card__icon svg { width: 28px; height: 28px; }
.card__icon--blue { background: var(--brand-soft); color: var(--brand-ink); }
.card h3 { font-size: 1.14rem; margin-bottom: 4px; }
.card p { color: var(--muted); font-size: .96rem; }
.card__phone {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: "Montserrat", sans-serif; font-size: 1.3rem;
  font-weight: 700; color: var(--ink); margin-bottom: var(--space-2);
}
.card__phone:hover { color: var(--brand-ink); }
.socials { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.social {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); color: var(--ink); font-weight: 600; font-size: .94rem;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.social:hover { background: var(--navy); border-color: var(--navy); color: #FFFFFF; text-decoration: none; }
.social svg { width: 20px; height: 20px; }

.todo {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-pill);
  background: #FFF4DB; border: 1px dashed var(--amber-dark);
  color: #7A5200; font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: middle;
}

/* ---------- 14. Footer ---------- */
.footer { background: var(--navy-deep); color: #B9CFDF; padding-block: var(--space-6) var(--space-3); }
/* auto-fit junto a una pista 1.4fr colapsaba a una sola columna: pistas explicitas. */
.footer__grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  padding-bottom: var(--space-4); border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer__brand img {
  height: 64px; width: auto; padding: 10px 14px;
  background: #FFFFFF; border-radius: var(--r-sm); margin-bottom: var(--space-2);
}
.footer p { color: #B9CFDF; font-size: .94rem; }
.footer h4 {
  font-family: "Montserrat", sans-serif; font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #FFFFFF; margin-bottom: var(--space-2);
}
.footer__grid a {
  display: flex; align-items: center; min-height: 44px; padding-block: 6px;
  color: #B9CFDF; font-size: .95rem;
}
.footer__grid a:hover { color: #FFFFFF; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between;
  padding-top: var(--space-3); font-size: .86rem; color: #8FAABE;
}

/* ---------- 15. Boton flotante WhatsApp ---------- */
.fab {
  position: fixed; right: 20px; z-index: 90;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 14px 22px 14px 18px;
  background: #25D366; color: #052E16;
  border-radius: var(--r-pill); font-weight: 700;
  box-shadow: var(--sh-3);
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.fab:hover { transform: translateY(-3px); text-decoration: none; }
.fab svg { width: 26px; height: 26px; flex: none; }
.fab.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ---------- 16. Scroll reveal ---------- */
/* Solo se oculta si el JS esta vivo para poder volver a mostrarlo. */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ---------- 17. Responsive ---------- */
/* La barra horizontal con 8 destinos + marca + CTA necesita ~1177px, y el
   contenedor tope mide 1200px: por eso los enlaces van justos de padding.
   Por debajo de 1240px se pasa al menú desplegable, donde vuelven a ser
   anchos y comodos de tocar. */
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .header__inner > .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2); padding: var(--space-2);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: 14px 16px; font-size: 1.02rem; }
  .nav__cta { display: block; }
  .nav__list .btn { margin-top: var(--space-2); width: 100%; }
}

@media (max-width: 900px) {
  :root { --space-7: 64px; --space-6: 48px; }
  .tile--wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: min(88vh, 760px); }
  .hero__inner { padding-block: var(--space-6); }
  .hero h1 { max-width: 18ch; }
  .hero__media video { object-position: 50% 32%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(0,42,69,.72) 0%, rgba(0,42,69,.86) 45%, rgba(0,42,69,.94) 100%);
  }
  .promo { grid-template-columns: 1fr; }
  .visita { grid-template-columns: 1fr; }
  .empresas-cierre { grid-template-columns: 1fr; }
  .visita__video { margin-inline: auto; }
  .domingo { max-width: 100%; }
  .fab { padding: 14px; }
  .fab span { display: none; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .btn-row .btn { width: 100%; }
  .brand__tag { display: none; }
  .hero__meta { gap: var(--space-2); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* ---------- 18. Preferencias de movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .product:hover, .card:hover, .tile:hover, .finance:hover { transform: none; }
}
