/* =========================================================
   CULT — Publicidad en ChatGPT · Versión clara
   Base blanca dominante · texto negro y gris
   Amarillo solo como acento · secciones en blanco / gris / negro
   ========================================================= */

/* ---------- 1. Tokens ----------
   Los colores de texto y filete son SEMÁNTICOS: cada superficie
   los redefine, así el ritmo blanco → gris → negro funciona
   cambiando solo `--surface-*`, sin duplicar reglas. */
:root {
  /* Acento único */
  --yellow:      #ffd60a;
  --yellow-soft: #ffe14d;
  --yellow-wash: rgba(255, 214, 10, .14);
  --yellow-edge: rgba(255, 214, 10, .42);

  /* Superficies de página */
  --surface-white: #ffffff;
  --surface-gray:  #f4f4f1;
  --surface-black: #0a0a0a;

  /* Escala de grises */
  --g-900: #101010;
  --g-600: #4a4a4a;
  --g-500: #6e6e6e;
  --g-400: #8f8f8f;
  --g-300: #b5b5b5;
  --g-200: #d6d6d6;
  --black:  #000000;
  --white:  #ffffff;

  /* Contexto por defecto = claro */
  --bg:      var(--surface-white);
  --fg:      var(--g-900);   /* texto principal */
  --fg-2:    var(--g-600);   /* texto secundario */
  --fg-3:    var(--g-500);   /* texto terciario / mono */
  --line:    rgba(0, 0, 0, .10);
  --line-2:  rgba(0, 0, 0, .20);
  --card:    var(--surface-white);
  --card-2:  var(--surface-gray);
  --btn-fg:  var(--black);

  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1160px;
  --pad:  clamp(20px, 5vw, 44px);
  --gap:  clamp(14px, 1.6vw, 20px);
  --sec:  clamp(88px, 12vw, 168px);
  --r:   8px;
  --r-lg: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* Tamaño de los <h1>. Es token porque el hero móvil lo reescribe solo para él
     (allí el titular manda más que en escritorio). */
  --h1:   clamp(44px, 8vw, 96px);
  /* Altura de la cabecera pegajosa: la usa .menu-scrim para no velarla. */
  --header-h: 72px;
}

/* Contexto gris: separator de ritmo */
.on-gray {
  --bg:   var(--surface-gray);
  --card: var(--surface-white);
  --card-2: #eaeae6;
}
/* Contexto negro: dos anclas de peso */
.on-dark {
  --bg:   var(--surface-black);
  --fg:   var(--white);
  --fg-2: var(--g-200);
  --fg-3: var(--g-400);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .24);
  --card: #151515;
  --card-2: #1d1d1d;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--surface-white);
  color: var(--g-900);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ol, ul { list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

::selection { background: var(--yellow); color: var(--black); }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- 3. Tipografía ---------- */
h1, h2, h3 { font-weight: 500; line-height: 1.06; letter-spacing: -.036em; text-wrap: balance; color: var(--fg); }
h1 { font-size: var(--h1); letter-spacing: -.044em; }
h2 { font-size: clamp(30px, 4.1vw, 54px); }
h3 { font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -.02em; line-height: 1.26; }

.h2 em { font-style: normal; color: var(--fg-3); }

.lead {
  color: var(--fg-2);
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.6;
  max-width: 44ch;
  text-wrap: pretty;
}

/* Etiquetas mono: numeración y metadatos */
.idx, .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  gap: 11px;
}
.idx__line { width: 28px; height: 1px; background: var(--yellow); flex: none; }
.eyebrow { color: var(--fg-2); }
.sq { width: 6px; height: 6px; background: var(--yellow); flex: none; }

/* Texto en mono */
.legal, .note, .form__status,
.alert, .shot__cap, .ticker, .tile__n,
.field label, .footer__top {
  font-family: var(--mono);
}
.note, .legal, .form__status { font-size: 12.5px; line-height: 1.55; }
.note { color: var(--fg-3); max-width: 60ch; }
.note a { color: var(--fg); border-bottom: 1px solid var(--line-2); }
.note a:hover { color: var(--g-900); border-color: var(--yellow); }
/* Enlace dentro del legal: mismo aspecto que .note a pero en <button> */
.note__link {
  font: inherit;
  color: var(--fg);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 0;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.note__link:hover { color: var(--g-900); border-color: var(--yellow); }
.legal { color: var(--fg-3); }

/* ---------- 4. Botones: radio 6px, sin sombra, scale .98 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  background: var(--yellow);
  color: var(--btn-fg);
  border: 1px solid var(--yellow);
  border-radius: 6px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -.014em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { background: var(--yellow-soft); border-color: var(--yellow-soft); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn svg { flex: none; }

/* Secundario: contornos, no relleno */
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn--ghost:hover { background: transparent; color: var(--g-900); border-color: var(--yellow); }
.on-dark .btn--ghost { color: var(--white); }
.on-dark .btn--ghost:hover { color: var(--yellow); }

.btn--sm { padding: 9px 17px; font-size: 14.5px; }

/* ---------- 5. Alerta: única banda amarilla ---------- */
.alert {
  position: relative;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 16px;
  padding: 10px var(--pad);
  background: var(--yellow);
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, .18);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}
.alert__dot { width: 5px; height: 5px; background: var(--black); border-radius: 50%; flex: none; }
.alert__text { max-width: 88ch; }
/* Salto de línea forzado tras «149 €/MES». En desktop la banda entra en una
   línea y el <br> no debe existir; en móvil evita que el texto rompa a mitad
   de la frase «(Oferta válida hasta el 15 de Diciembre de 2026)». */
.alert__break { display: none; }
.alert__link {
  font-family: var(--mono);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.alert__link:hover { color: #4a3c00; }

/* ---------- 6. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); height: 72px; }
.brand { flex: none; }
.brand img { height: 28px; width: auto; }

.nav { display: flex; gap: clamp(16px, 2.2vw, 28px); margin-inline: auto; font-size: 15px; color: var(--fg-2); }
.nav a { position: relative; padding: 3px 0; transition: color .2s var(--ease); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--g-900); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none;
  margin-inline-start: auto;
  place-items: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .12s var(--ease);
}
.burger:active { transform: scale(.96); }
.burger:focus-visible { outline: 2px solid var(--g-900); outline-offset: 2px; }

/* Las dos barras miden 20 x 2 px y van separadas 5 px. Al abrir, cada una
   rota 45° y se mueve ±3,5 px (= media separación + media anchura de barra),
   que es exactamente el punto donde ambas se cruzan por su centro geométrico:
   la X sale centrada y con los dos brazos iguales. Con el valor «a ojo» de
   4 px que había antes, las líneas no coincidían y la X se veía torcida. */
.burger__bars { display: block; width: 20px; }
.burger__bars span {
  display: block;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--g-900);
  transition: transform .3s var(--ease);
}
.burger__bars span + span { margin-top: 5px; }
.burger[aria-expanded="true"] .burger__bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }
/* Con el menú abierto el botón se rellena de blanco: recortado sobre la capa
   oscura, la X se lee siempre. */
body.is-menu .burger { background: var(--white); border-color: var(--g-900); }

.menu {
  display: none;
  flex-direction: column;
  padding: 6px var(--pad) 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.menu a { padding: 13px 0; font-size: 19px; letter-spacing: -.02em; border-bottom: 1px solid var(--line); color: var(--g-600); }
.menu a:last-child { color: var(--g-900); border-bottom: 0; }
.menu a:hover { color: var(--g-900); }
/* El panel se despega de la página con sombra: ahora que el contenido queda
   atenuado, el menú tiene que leerse como una capa propia. */
body.is-menu .header { background: var(--white); }
body.is-menu .menu { box-shadow: 0 24px 44px rgba(10, 10, 10, .26); }

/* Capa de foco del menú móvil (ver comentario en el HTML). Los 62 px de arriba
   se mantienen transparentes para no velar la cabecera, que sigue operativa:
   el usuario necesita la X para cerrar. */
.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: linear-gradient(to bottom,
    rgba(10, 10, 10, 0) 0 var(--header-h),
    rgba(10, 10, 10, .56) calc(var(--header-h) + 46px) 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .32s var(--ease), visibility .32s var(--ease);
}
body.is-menu .menu-scrim { opacity: 1; visibility: visible; }
/* Congela la página mientras el menú está abierto, igual que el modal. */
body.is-menu { overflow: hidden; }

/* ---------- 7. Revelado al hacer scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--index, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 8. Hero: fondo blanco, rejilla gris ---------- */
.hero { position: relative; isolation: isolate; padding-top: clamp(40px, 6vw, 76px); overflow: hidden; background: var(--surface-white); }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.hero__rule {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 88% 62% at 50% 0%, #000 4%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 88% 62% at 50% 0%, #000 4%, transparent 70%);
}
/* Halo amarillo muy tenue tras la rejilla */
.hero__spot {
  position: absolute;
  top: -30%; left: 50%;
  width: min(1040px, 128vw);
  aspect-ratio: 1.6;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--yellow-wash) 0%, transparent 62%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translateX(-54%); }
  to   { transform: translateX(-46%); }
}

.hero__title { margin-top: 24px; max-width: 14ch; color: var(--g-900); }
/* Resalte amarillo: la palabra clave sobre fondo blanco */
.hl {
  display: inline-block;
  color: var(--black);
  background: var(--yellow);
  padding: 0 .14em .03em;
  border-radius: 4px;
}

.hero__lead {
  margin-top: 28px;
  color: var(--g-600);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.54;
  max-width: 50ch;
  text-wrap: pretty;
}

.stat {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.4vw, 30px);
  margin-top: clamp(40px, 5vw, 62px);
  padding-top: clamp(26px, 3.2vw, 38px);
  border-top: 1px solid var(--line-2);
  max-width: 700px;
}
/* Cifra en negro: el amarillo se reserva a los detalles */
.stat__num {
  font-size: clamp(30px, 8.6vw, 70px);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.052em;
  color: var(--g-900);
  flex: none;
  font-variant-numeric: tabular-nums;
}
.stat__unit { font-size: .46em; }
.stat__text { color: var(--g-600); font-size: clamp(15.5px, 1.25vw, 18px); line-height: 1.5; padding-top: .35em; max-width: 34ch; }
.stat__text strong { color: var(--g-900); font-weight: 500; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: clamp(32px, 4.2vw, 50px); }

/* Mockup del hero.
   Los assets de assets/ son RGBA con alfa (982x1219 y 640x785) y el sujeto —la
   mano con el móvil— sangra por la derecha y por abajo: márgenes R y B = 0. Por
   eso NO se recorta con object-fit: height:auto respeta la proporción y ni la
   mano ni el canto del dispositivo se cortan.
   En escritorio se sienta a la derecha del titular; en móvil es una banda por
   encima del texto que el titular pisa (ver @media (max-width: 1000px)).
   El original con más resolución es Hero_imagen.png (1524x1870), en la raíz. */
.hero__media { margin: 0; }

.hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1001px) {
  /* Desktop: el texto ocupa la izquierda, la foto la derecha. */
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    grid-template-areas:
      "copy  media"
      "cta   media"
      "note  media";
    column-gap: clamp(28px, 4vw, 64px);
    align-items: start;
  }
  .hero__copy  { grid-area: copy; min-width: 0; }
  .hero__cta   { grid-area: cta;  min-width: 0; }
  .hero__media { grid-area: media; }
  .hero__note  { grid-area: note; }
}

@media (max-width: 1000px) {
  /* En móvil la imagen queda detrás del titular. */
  .hero {
    --hero-img-w: clamp(260px, 78vw, 500px);
    --hero-text-lift: clamp(14px, 5vw, 24px);
    padding-top: 0;
    overflow: visible;
  }
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "title"
      "lead"
      "cta"
      "note";
    position: relative;
    padding-bottom: clamp(48px, 9vw, 96px);
  }
  .hero__copy { display: contents; }
  .hero__title {
    grid-area: title;
    min-width: 0;
    position: relative;
    z-index: 3;
    margin-top: calc(var(--hero-img-w) * -.28);
  }
  .hero__cta,
  .hero__note { top: calc(var(--hero-text-lift) * -1); }
  .hero__lead { grid-area: lead; min-width: 0; position: relative; z-index: 2; }
  .hero__cta  { grid-area: cta;  min-width: 0; position: relative; z-index: 2; }
  .hero__note { grid-area: note; min-width: 0; position: relative; z-index: 2; }
  /* Foto centrada y elevada; el header, con su z-index, puede solaparla. */
  .hero__media {
    grid-area: media;
    align-self: start;
    justify-self: center;
    width: var(--hero-img-w);
    margin: -38px -6% 0;
    z-index: 1;
    pointer-events: none;
  }
  /* Mantiene la escala de lectura del lead móvil. */
  .hero__lead {
    margin-top: 8px;
    font-size: clamp(17.5px, 4.6vw, 21px);
    line-height: 1.52;
  }
  /* Fundido inferior suave para integrar la imagen con el contenido. */
  .hero__media img {
    -webkit-mask-image: linear-gradient(to bottom, #000 0 80%, transparent 99%);
    mask-image: linear-gradient(to bottom, #000 0 80%, transparent 99%);
  }
}

.hero__note { margin-top: 28px; }

/* Marquee */
.ticker {
  margin-top: clamp(52px, 7.5vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  overflow: hidden;
  color: var(--g-500);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__in { display: flex; gap: 56px; width: max-content; animation: slide 38s linear infinite; }
.ticker__in span { display: flex; align-items: center; gap: 56px; }
.ticker__in span::after { content: ""; width: 4px; height: 4px; background: var(--yellow); border-radius: 50%; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 9. Secciones: el fondo lo da el contexto ---------- */
.section { padding-block: var(--sec); background: var(--bg); color: var(--fg); }
.section--line { border-top: 1px solid var(--line); }
.section > .wrap > .idx,
.section > .wrap > .eyebrow { margin-bottom: clamp(12px, 1.4vw, 18px); }

.head-row {
  display: grid;
  grid-template-columns: 1.4fr .95fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 72px);
}
.head-row .lead { padding-bottom: .3em; }

/* ---------- 10. Conversación ---------- */
.conv {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: clamp(30px, 4.5vw, 72px);
  align-items: center;
}
.conv__intro .h2 { margin-bottom: 22px; }

/* Captura del formato real: sustituye a la ventana de conversación simulada */
.shot { display: grid; gap: 13px; }
.shot__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 734 / 456;
  /* El PNG llega con esquinas transparentes: la sombra sigue la silueta de la tarjeta */
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .08));
}
.shot__cap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--fg-3);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.shot__mark { flex: none; color: var(--g-900); }

/* ---------- 12. Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tile {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: var(--card);
  transition: border-color .2s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile h3 { color: var(--fg); }
.tile p { color: var(--fg-2); font-size: 16px; line-height: 1.58; }
.tile__n { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.tile__title { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 12px; }
.tile__icon { width: 34px; height: 34px; color: var(--g-900); }
/* ---------- 13. Planes ---------- */
.plan-comparison { margin-bottom: clamp(24px, 3vw, 40px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: clamp(22px, 2.3vw, 30px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.plan--featured { background: var(--yellow); border: 0; }
.plan--featured .plan__name, .plan--featured .plan__price, .plan--featured .plan__price span,
.plan--featured .plan__includes li, .plan--featured .plan__investment span, .plan--featured .plan__investment strong { color: var(--black); }
.plan--featured .plan__investment { border-color: rgba(0, 0, 0, .2); }
.plan:hover, .plan:focus-within { z-index: 1; transform: scale(1.02); border-color: var(--line-2); box-shadow: 0 12px 28px rgba(0, 0, 0, .09); }
.plan__name { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.plan__price {
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.plan__price span { display: block; font-size: 14.5px; font-weight: 400; color: var(--fg-2); margin-top: 9px; }
.plan__offer { display: grid; gap: 5px; padding-block: 12px; border-block: 1px solid var(--yellow); }
.plan__offer-label { color: var(--fg-3); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.plan__offer-price { color: var(--fg); font-size: 16px; font-weight: 600; line-height: 1.35; }
.plan__offer-detail { color: var(--fg-2); font-size: 12px; line-height: 1.45; }
.plan__offer .note__link { justify-self: start; font-size: 13px; }
.plan__includes { display: grid; gap: 10px; }
.plan__includes li { display: flex; align-items: flex-start; gap: 9px; color: var(--fg-2); font-size: 14px; line-height: 1.45; }
.plan__includes svg { flex: none; margin-top: 2px; color: var(--g-900); }
.plan__investment { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.plan__investment span { display: block; margin-bottom: 5px; color: var(--fg-3); font-size: 12px; line-height: 1.4; }
.plan__investment strong { color: var(--fg); font-size: 15px; font-variant-numeric: tabular-nums; }
.plan-comparison__note { margin-top: 10px; color: var(--fg-3); font-size: 12.5px; line-height: 1.5; }
.faq { max-width: 900px; margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { padding: 18px 0; color: var(--fg); font-size: 16px; font-weight: 500; cursor: pointer; }
.faq__item summary::marker { color: var(--g-600); }
.faq__item p { max-width: 75ch; padding: 0 0 20px; color: var(--fg-2); font-size: 15px; line-height: 1.6; }

/* ---------- 16. Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.14fr; gap: clamp(34px, 4.5vw, 78px); align-items: start; }
.contact__intro .eyebrow { margin-bottom: 24px; }
.contact__intro .h2 { margin-bottom: 22px; }
.contact__mark {
  margin-top: clamp(28px, 3.4vw, 44px);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: -.038em;
  color: var(--fg);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.contact__mark svg { color: var(--yellow); align-self: center; }

.form { display: grid; gap: 20px; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.field input, .field select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  transition: border-color .2s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236e6e6e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}
.field select:invalid { color: var(--g-500); }
.field select option { background: var(--white); color: var(--g-900); }
.field input::placeholder { color: var(--g-400); }
.field input:hover, .field select:hover { border-color: var(--g-400); }
.field input:focus, .field select:focus { outline: none; border-color: var(--g-900); }
.field input:focus-visible, .field select:focus-visible { outline: none; }
.field input:user-invalid, .field select:user-invalid { border-color: #b4501f; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.form__bottom .legal { max-width: 40ch; }
.form__ack a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form__ack { display: flex; align-items: flex-start; gap: 9px; color: var(--fg-3); font-size: 13px; line-height: 1.5; }
.form__ack input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--yellow); }
.form__status { min-height: 1.2em; color: var(--fg-3); }
.form__status.is-ok { color: var(--g-900); font-weight: 500; }
.form__status.is-err { color: #b4501f; }
.legal-page { max-width: 780px; }
.legal-page > h1 { margin-bottom: 28px; }
.legal-page h2 { margin: 36px 0 12px; font-size: 22px; }
.legal-page p, .legal-page li { max-width: 75ch; color: var(--fg-2); line-height: 1.7; }
.legal-page a { text-decoration: underline; text-underline-offset: 3px; }
.legal-page .legal-placeholder { padding: 14px 16px; border-left: 3px solid var(--yellow); background: var(--surface-gray); }

/* ---------- 18. Footer: cierre negro ---------- */
.footer { background: var(--surface-black); color: var(--white); padding-block: clamp(38px, 4.5vw, 60px); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 38px); }
.brand--footer img { height: 24px; }
.footer__claim { color: var(--g-300); font-size: 16px; }
.footer__end { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 28px); }
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--g-300);
  border-bottom: 1px solid rgba(255, 255, 255, .24);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer__top:hover { color: var(--yellow); border-color: var(--yellow-edge); }
.legal--inline { white-space: nowrap; color: var(--g-400); }

/* ---------- 19. Modal: condiciones de la oferta ---------- */
/* La cabecera queda fija y solo el texto hace scroll, así el botón de
   cerrar siempre está visible aunque las condiciones crezcan. */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;                                   /* por encima del header (60) */
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
}
.modal[data-open="true"] { display: grid; }
body.is-modal { overflow: hidden; }               /* bloquea el scroll del fondo */

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .58);
  animation: m-fade .22s var(--ease) both;
}

.modal__box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 660px;
  max-height: 100%;
  background: var(--surface-white);
  border-radius: var(--r-lg);
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, .5);
  overflow: hidden;
  animation: m-in .28s var(--ease) both;
}

.modal__head {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px) clamp(16px, 1.8vw, 20px);
  border-bottom: 1px solid var(--line);
}
.modal__title {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .01em;
  color: var(--fg);
}
.modal__sub {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.modal__close {
  flex: none;
  width: 42px;
  height: 42px;
  margin: -6px -6px 0 0;
  display: grid;
  place-items: center;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 9999px;
  color: var(--fg);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.modal__close:hover { background: var(--yellow); border-color: var(--yellow); }
.modal__close:active { transform: scale(.94); }

.modal__body {
  overflow-y: auto;
  overscroll-behavior: contain;                   /* el scroll no se «fuga» al fondo */
  -webkit-overflow-scrolling: touch;
  display: grid;
  gap: 15px;
  align-content: start;
  padding: clamp(20px, 2.4vw, 28px);
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--fg-2);
}
.modal__body strong { color: var(--fg); font-weight: 500; }
.modal__list { display: grid; gap: 12px; padding-left: 0; list-style: none; }
.modal__list li {
  padding-left: 15px;
  border-left: 2px solid var(--yellow);
  color: var(--fg);
}

@keyframes m-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes m-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1000px) {
  .head-row, .conv, .contact { grid-template-columns: 1fr; gap: clamp(26px, 4vw, 38px); }
  .head-row .lead { padding-bottom: 0; }
  .conv__intro { max-width: 44ch; }
  .contact__mark { margin-top: 6px; }
}

@media (max-width: 860px) {
  /* La capa de foco debe dejar ver la cabecera: su altura real en este rango. */
  :root { --header-h: 62px; }
  .nav, .header__inner > .btn { display: none; }
  .burger { display: grid; }
  .header__inner { height: 62px; }
  .menu[data-open="true"] { display: flex; }
  .plans { grid-template-columns: 1fr; }
  /* Desde aquí la frase de la oferta ya no cabe en una línea: se corta tras el
     precio en lugar de a mitad del paréntesis. */
  .alert__break { display: inline; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .bento, .form__grid { grid-template-columns: 1fr; }
  .stat { flex-direction: column; gap: 14px; }
  .stat__text { padding-top: 0; max-width: none; }
  .hero__title { font-size: clamp(52px, 14vw, 70px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .shot__img { filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .07)); }
  .plan__price { font-size: 34px; }
  .footer__inner { grid-template-columns: 1fr; gap: 18px; }
  .footer__end { justify-content: space-between; }
  .form__bottom { flex-direction: column; align-items: stretch; }
  .form__bottom .btn { width: 100%; }
  /* Modal a pantalla completa en móvil: nada de textos cortados */
  .modal { padding: 0; }
  .modal__box { max-width: none; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .modal__close { width: 44px; height: 44px; margin: -8px -8px 0 0; }
  .modal__body { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker__in { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. Impresión: todo a blanco, sin color ---------- */
@media print {
  body { background: #fff; color: #000; }
  .alert, .header, .hero__bg, .hero__media, .ticker, .btn, .burger, .menu, .menu-scrim, .sprite, .hp, .modal { display: none !important; }
  /* Los fondos oscuros no sobreviven a la impresión: se aplanan */
  .on-dark, .footer, .hero, .section, .section--line {
    background: #fff !important;
    color: #000 !important;
    border-color: #ccc !important;
  }
  .h1, .h2, .h3, .tile h3, .contact__mark, .stat__num, .stat__text strong,
  .plan__price { color: #000 !important; }
  .h2 em, .lead, .tile p, .note, .legal { color: #333 !important; }
  /* El amarillo y las superficies: solo contorno */
  .tile, .plan, .field input, .field select
  { background: #fff !important; border-color: #999 !important; }
  .hl { background: #fff !important; color: #000 !important; box-shadow: none; }
  .shot__img { filter: none !important; }
  .idx__line, .sq, .ticker__in span::after { background: #666 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 28px; break-inside: avoid; }
  .tile, .plan { break-inside: avoid; }
  .form__status { display: none; }
}
