/* ============================================================================
   SAM LOTO TOUR 2026 — Hoja de estilos
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; }

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

/* ---------- Tokens ---------- */
:root {
  --navy-900: #070C18;
  --navy-800: #0B1426;
  --navy-700: #13203C;
  --navy-600: #1C2C4E;

  --gold:      #F5B301;
  --gold-600:  #D99C00;
  --gold-soft: #FFF3CF;

  --blue:      #1565D8;
  --blue-600:  #0F4FAE;
  --blue-soft: #E8F0FE;

  --wa:        #25D366;
  --danger:    #DC2626;

  --ink:      #0F172A;
  --body:     #475569;
  --muted:    #7A889C;
  --line:     #E2E8F0;
  --surface:  #F5F7FB;
  --white:    #FFFFFF;

  --shell: min(1180px, 100% - 2.5rem);
  --radius:   16px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(15,23,42,.06);
  --shadow:    0 12px 32px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 28px 60px -24px rgba(15,23,42,.35);

  --header-h: 66px;
}

/* ---------- Base ---------- */
body {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 7.5vw, 4.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.85rem, 4.6vw, 3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.15rem, 2.3vw, 1.5rem); }
p  { text-wrap: pretty; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--navy-800); color: rgba(255,255,255,.78); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.center { text-align: center; }
.lead { font-size: clamp(1rem, 1.8vw, 1.15rem); }
.stack > * + * { margin-top: 1rem; }

/* Etiqueta de sección */
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .85rem;
}
.section--dark .eyebrow { color: var(--gold); }

.section-head { max-width: 46rem; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head p { margin-top: 1rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.05rem 2.1rem;
  border-radius: 14px;
  font-size: .95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.btn--primary {
  background: var(--gold);
  color: #1A1204;
  box-shadow: 0 14px 30px -12px rgba(245,179,1,.75);
}
.btn--primary:hover { background: #FFC421; }

.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 14px 30px -14px rgba(21,101,216,.8); }
.btn--blue:hover { background: var(--blue-600); }

.btn--ghost {
  border: 2px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.04);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--wa { background: var(--wa); color: #052E16; }
.btn--wa:hover { background: #1FBF5B; }

/* Botón blanco de pago inmediato (contado o meses sin intereses) */
.btn--white {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 10px 24px -14px rgba(15,23,42,.55);
}
.btn--white:hover { background: var(--surface); border-color: var(--blue); color: var(--blue-600); }
.btn--white svg { flex-shrink: 0; }

.btn--block { display: flex; width: 100%; }
.btn--sm { padding: .8rem 1.4rem; font-size: .82rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 14px 30px -12px rgba(245,179,1,.75); }
  50%      { box-shadow: 0 14px 44px -6px rgba(245,179,1,.95); }
}

/* ---------- Banner de promoción ---------- */
.promo-bar {
  position: relative;
  z-index: 60;
  background: var(--gold);
  color: #241A02;
  text-align: center;
  font-size: clamp(.72rem, 2.1vw, .84rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .7rem 1.25rem;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,12,24,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}
.header__logo img { height: 38px; width: auto; }
.nav { display: none; gap: 1.9rem; }
.nav a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .16s;
}
.nav a:hover { color: var(--gold); }
.header .btn { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header .btn { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-900);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg img:nth-child(n+4) { display: none; }
@media (min-width: 768px) {
  .hero__bg { grid-template-columns: repeat(6, 1fr); }
  .hero__bg img:nth-child(n+4) { display: block; }
}
/* Capa de contraste: el texto SIEMPRE legible sobre el collage */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(7,12,24,.97) 0%, rgba(7,12,24,.94) 42%, rgba(7,12,24,.72) 72%, rgba(7,12,24,.62) 100%),
    linear-gradient(180deg, rgba(7,12,24,.55), rgba(7,12,24,.9));
}
@media (max-width: 767px) {
  .hero::before { background: linear-gradient(180deg, rgba(7,12,24,.9) 0%, rgba(7,12,24,.95) 45%, rgba(7,12,24,.98) 100%); }
}

.hero__inner { max-width: 41rem; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid rgba(245,179,1,.5);
  border-radius: 999px;
  padding: .5rem 1.15rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.hero h1 { color: #fff; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero__text {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: 1.4rem;
  max-width: 34rem;
}
.hero__note { margin-top: 1.1rem; font-size: .85rem; color: rgba(255,255,255,.6); font-weight: 600; }

/* Precio */
.price-row { display: flex; align-items: flex-end; gap: 1.75rem; flex-wrap: wrap; margin-top: 2.2rem; }
.price-old .price-label,
.price-new .price-label {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.price-old .price-label { color: rgba(255,255,255,.5); }
.price-old .price-value {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 800;
  color: rgba(255,255,255,.5);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-new .price-label { color: var(--gold); }
.price-new .price-value {
  font-size: clamp(2.5rem, 7vw, 3.6rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.03em;
}
.price-new .price-value small { font-size: .3em; font-weight: 800; margin-left: .35rem; letter-spacing: .05em; }

/* ---------- Contador ---------- */
.countdown { margin-top: 2.4rem; }
.countdown__label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: .8rem;
}
.countdown__grid { display: flex; gap: .55rem; }
.countdown__cell { text-align: center; min-width: 62px; }
.countdown__num {
  display: block;
  background: var(--gold);
  color: #1A1204;
  border-radius: 12px;
  padding: .6rem .3rem;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.countdown__unit {
  display: block;
  margin-top: .4rem;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.countdown--light .countdown__label,
.countdown--light .countdown__unit { color: var(--muted); }
.countdown--light .countdown__num { background: var(--navy-800); color: var(--gold); }

/* ---------- Tarjetas ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Testimonio ---------- */
.testimonial { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .testimonial { grid-template-columns: minmax(0, 340px) 1fr; } }
.testimonial__video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  border: 3px solid var(--gold);
}
.testimonial__video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* ---------- Metodología ---------- */
.method__num {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--blue);
  margin-bottom: .5rem;
}
.method--practice .method__num { color: var(--gold-600); }
.method__title {
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .9rem;
}

/* ---------- Instructor ---------- */
.instructor { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 860px) { .instructor { grid-template-columns: minmax(0, 400px) 1fr; } }
.instructor__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold);
}
.instructor__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.instructor__role {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: .5rem 0 1.25rem;
}
.section--dark .instructor__role { color: var(--gold); }

/* ---------- Sedes ---------- */
.month-group + .month-group { margin-top: 3rem; }
.month-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.month-title::after { content: ''; flex: 1; height: 2px; background: var(--line); }

.sede {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.sede:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.sede__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.sede__city { font-size: 1.1rem; font-weight: 900; color: var(--ink); line-height: 1.25; }
.sede__date {
  flex-shrink: 0;
  background: var(--blue-soft);
  color: var(--blue-600);
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sede__venue { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.sede__meta {
  margin-top: 1.1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .45rem;
}
.sede__bar { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 1rem; }
.sede__bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue-600), var(--blue)); }
.sede__spots { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; margin-top: .55rem; color: var(--muted); }
.sede__spots b { color: var(--blue); }
.sede .btn { margin-top: auto; }
.sede__cta-wrap { margin-top: 1.4rem; display: grid; gap: .6rem; }

/* Letra chica debajo de los botones de cada sede */
.sede__nota {
  margin-top: .15rem;
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
  text-align: center;
  color: var(--muted);
}
.next-dates .sede__nota { color: rgba(255,255,255,.55); }

/* La etiqueta del botón de pago es larga: se deja envolver en varias líneas */
.btn--pago {
  padding: .8rem 1.4rem;
  font-size: .82rem;
  line-height: 1.3;
  text-align: center;
  white-space: normal;   /* si algún día vuelve una etiqueta larga, envuelve */
}
.sede--agotado { opacity: .62; }
.sede--agotado:hover { transform: none; border-color: var(--line); box-shadow: none; }
.sede__sold {
  margin-top: 1.4rem;
  text-align: center;
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: .85rem;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--danger);
}

/* Próximas sedes (sobre fondo oscuro) */
.next-dates .sede {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
}
.next-dates .sede:hover { border-color: var(--gold); }
.next-dates .sede__city { color: #fff; }
.next-dates .sede__date { background: rgba(245,179,1,.15); color: var(--gold); }
.next-dates .sede__meta, .next-dates .sede__venue { color: rgba(255,255,255,.6); }
.next-dates .btn--white { border-color: var(--white); }
.next-dates .btn--white:hover { border-color: var(--gold); color: var(--blue-600); }

/* ---------- Precio / inversión ---------- */
.pricing {
  max-width: 34rem;
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.8rem, 4vw, 2.75rem);
  text-align: center;
}
.pricing__old {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricing__old s { display: block; font-size: 1.35rem; margin-top: .2rem; }
.pricing__now {
  margin-top: 1.25rem;
  font-size: clamp(3rem, 9vw, 4.25rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.03em;
}
.pricing__now small { font-size: .27em; font-weight: 800; margin-left: .4rem; color: var(--muted); }
.pricing__list { list-style: none; padding: 0; margin: 1.75rem 0 0; text-align: left; display: grid; gap: .8rem; }
.pricing__list li { display: flex; gap: .7rem; font-size: .92rem; font-weight: 600; color: var(--body); }
.pricing__list svg { flex-shrink: 0; margin-top: .2rem; color: var(--blue); }

/* Regalo */
.gift {
  border: 2px dashed var(--gold);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(245,179,1,.1), rgba(245,179,1,.03));
  padding: clamp(1.8rem, 4vw, 2.75rem);
  text-align: center;
}

/* ---------- Franja CTA final ---------- */
.final-cta { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta__price { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin: 2rem 0 .5rem; flex-wrap: wrap; }
.final-cta__old { color: rgba(255,255,255,.5); font-weight: 800; text-decoration: line-through; }
.final-cta__new { font-size: clamp(2.25rem, 7vw, 3.25rem); font-weight: 900; color: var(--gold); line-height: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.55); padding: 3.5rem 0 6.5rem; text-align: center; font-size: .85rem; }
.footer img { height: 44px; width: auto; margin: 0 auto 1.75rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-bottom: 2rem; }
.footer p + p { margin-top: .4rem; }
.footer a.footer__legal { color: rgba(255,255,255,.55); }
@media (min-width: 640px) { .footer { padding-bottom: 3.5rem; } }

/* ---------- Barra fija móvil ---------- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__price { line-height: 1.1; flex: 0 0 auto; min-width: max-content; white-space: nowrap; }
.sticky-bar__price > span { display: block; font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sticky-bar__price > b { font-size: 1.35rem; font-weight: 900; color: var(--ink); }
.sticky-bar__price > b small { font-size: .6rem; font-weight: 800; color: var(--muted); }
.sticky-bar .btn { flex: 1 1 auto; min-width: 0; padding: .85rem 1rem; font-size: .82rem; }
@media (min-width: 640px) { .sticky-bar { display: none; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(5.25rem + env(safe-area-inset-bottom));
  z-index: 44;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--wa);
  color: #fff;
  padding: .8rem 1.15rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.6);
  transition: transform .18s;
}
.wa-fab:hover { transform: scale(1.04); }
.wa-fab span { display: none; }
@media (min-width: 640px) {
  .wa-fab { bottom: 1.5rem; right: 1.5rem; }
  .wa-fab span { display: inline; }
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7,12,24,.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  width: min(30rem, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--navy-800);
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98);
  transition: transform .22s ease;
}
.modal.is-open .modal__box { transform: none; }
.modal__head { background: var(--blue); color: #fff; padding: 1.4rem 1.6rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: relative; }
.modal__head h3 { color: #fff; font-size: 1.15rem; text-transform: uppercase; }
.modal__head p { font-size: .85rem; font-weight: 600; margin-top: .45rem; opacity: .92; }
.modal__close {
  position: absolute; top: .9rem; right: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  color: #fff; font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .16s;
}
.modal__close:hover { background: rgba(255,255,255,.18); }
.modal__body { padding: 1.6rem; }
.modal__price {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  margin-bottom: 1.5rem;
}
.modal__price > span { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.modal__price b { font-size: 1.6rem; font-weight: 900; color: var(--gold); }
.modal__price b small { font-size: .5em; margin-left: .25rem; }

.field + .field { margin-top: 1.05rem; }
.field label {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: .4rem;
}
.field input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: .8rem .95rem;
  color: #fff;
  font-size: .95rem;
  transition: border-color .16s, box-shadow .16s;
}
.field input::placeholder { color: rgba(255,255,255,.35); }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,179,1,.22); }
.field input[aria-invalid="true"] { border-color: #F87171; }
.field__error { display: none; margin-top: .35rem; font-size: .75rem; font-weight: 700; color: #FCA5A5; }
.field input[aria-invalid="true"] ~ .field__error { display: block; }

.modal__actions { margin-top: 1.6rem; display: grid; gap: .7rem; }
.modal__legal { margin-top: 1.1rem; font-size: .72rem; text-align: center; color: rgba(255,255,255,.5); line-height: 1.5; }
.modal__legal a { color: rgba(255,255,255,.7); }

/* ---------- Página de gracias ---------- */
.thanks { min-height: 100vh; display: flex; flex-direction: column; background: var(--surface); }
.thanks__hero { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(5rem, 9vw, 7rem); }
.thanks__check {
  width: 76px; height: 76px; margin: 0 auto 1.75rem;
  border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; color: #1A1204;
}
.thanks__hero h1 { color: #fff; font-size: clamp(1.9rem, 5.5vw, 3rem); }
.thanks__hero p { margin-top: 1.1rem; color: rgba(255,255,255,.8); }
.thanks__body { width: var(--shell); margin: -3.5rem auto 0; padding-bottom: 4rem; display: grid; gap: 1rem; max-width: 44rem; }
.step { display: flex; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.5rem; box-shadow: var(--shadow-sm); }
.step__num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-600);
  display: grid; place-items: center; font-weight: 900; font-size: .9rem;
}
.step h3 { font-size: 1rem; margin-bottom: .3rem; }
.step p { font-size: .9rem; }

/* ---------- Utilidades ---------- */
.hidden { display: none !important; }
.visually-hidden {
  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: 50%; transform: translate(-50%, -150%);
  z-index: 200; background: var(--gold); color: #1A1204;
  padding: .7rem 1.2rem; border-radius: 0 0 10px 10px;
  font-weight: 800; text-decoration: none;
  transition: transform .18s;
}
.skip-link:focus { transform: translate(-50%, 0); }
