/* =============================================================
   Gestiones de Visas — Guadalupe Giordano
   Premium static site · navy / red / white · Anton + Inter
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --navy:      #1C2E5F;
  --navy-2:    #22366e;
  --navy-deep: #131f42;
  --navy-ink:  #16203f;
  --red:       #D81E2C;
  --red-deep:  #b3141f;
  --paper:     #f7f3ea;   /* warm white body */
  --paper-2:   #efe7d6;   /* sand */
  --card:      #ffffff;
  --cream:     #f3eee2;   /* text on navy */
  --cream-mute:rgba(243,238,226,.66);
  --ink:       #1a2340;
  --ink-mute:  #5b6480;
  --line:      rgba(26,35,64,.12);
  --line-light:rgba(243,238,226,.16);

  --display: "Anton", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1200px;
  --radius: 20px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.02; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--navy); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Typography helpers
   ============================================================= */
.eyebrow, .kicker {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.kicker { color: var(--red); display: inline-block; margin-bottom: 1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--cream-mute);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(216,30,44,.22); }

.head { max-width: 640px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.head h2, .section h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: .96;
  letter-spacing: .005em;
  color: var(--navy);
  text-transform: uppercase;
}
.head .lead { margin-top: 1.2rem; font-size: 1.08rem; color: var(--ink-mute); max-width: 52ch; }
.accent { color: var(--red); }
.accent-navy { color: var(--red); }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem;
  font-weight: 600; font-size: .98rem;
  border-radius: 999px;
  transition: transform .35s var(--ease-out), background .3s, color .3s, box-shadow .3s;
  will-change: transform;
  white-space: nowrap;
}
.btn.full { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 26px -10px rgba(216,30,44,.65); }
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(216,30,44,.7); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-wa { background: #25D366; color: #06331b; }
.btn-wa:hover { background: #1fb757; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--cream); transform: translateY(-2px); }
.btn-ghost-light { border: 1.5px solid var(--line-light); color: var(--cream); }
.btn-ghost-light:hover { background: var(--cream); color: var(--navy); transform: translateY(-2px); }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--navy-deep);
  transition: opacity .7s var(--ease-out), visibility .7s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash-seal {
  width: 120px; height: 120px; border-radius: 50%;
  animation: sealIn 1s var(--ease-out) both, sealPulse 2.4s 1s ease-in-out infinite;
  box-shadow: 0 20px 60px -12px rgba(0,0,0,.6);
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes sealIn { from { opacity: 0; transform: scale(.6) rotate(-40deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes sealPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .4s var(--ease-out), box-shadow .4s, padding .4s;
  padding: .5rem 0;
}
.nav.scrolled {
  background: rgba(247,243,234,.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.4);
}
/* Nav contrast: claro sobre el hero, oscuro al hacer scroll */
.nav.scrolled .nav-brand-text { color: var(--navy); }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav.scrolled .nav-links a:hover { color: var(--navy); }
.nav.scrolled .nav-burger span { background: var(--navy); }
.nav-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 64px; }
.nav-brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.nav-brand img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); }
.nav-brand-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.02; color: var(--cream); }
.nav-brand-text b { font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.nav-brand-text em { font-family: "Dancing Script", cursive; font-style: normal; font-weight: 700; font-size: .95rem; color: var(--red); line-height: 1; }
.nav-links { display: none; gap: 1.6rem; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--cream); position: relative; padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); transition: width .35s var(--ease-out); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: .55rem; font-size: .9rem; border-radius: 50%; }
.nav-cta-label { display: none; }
.nav-burger { display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; margin-left: .2rem; }
.nav-burger span { width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .3s; }
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: grid; gap: .2rem;
  max-height: 0; overflow: hidden;
  background: rgba(247,243,234,.98);
  transition: max-height .4s var(--ease-out);
}
.nav.menu-open .nav-mobile { max-height: 380px; }
.nav-mobile a { padding: .9rem clamp(1.1rem,4vw,2.4rem); font-weight: 500; border-top: 1px solid var(--line); color: var(--navy); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background:
    radial-gradient(120% 90% at 80% -10%, var(--navy-2) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  overflow: hidden;
  padding-top: 90px;
}
.hero-glow {
  position: absolute; inset: auto -10% -30% -10%; height: 60%;
  background: radial-gradient(50% 60% at 30% 50%, rgba(216,30,44,.28), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.hero-stars { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero-star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cream); opacity: .5; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .15; } 50% { opacity: .8; } }
.hero-inner {
  position: relative; z-index: 2;
  display: grid; gap: 2.4rem;
  grid-template-columns: 1fr;
  align-items: center;
  padding-block: 3rem;
}
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.4rem, 12vw, 7rem);
  line-height: .92; letter-spacing: .01em;
  text-transform: uppercase;
  margin: 1.2rem 0 1.4rem;
}
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--cream-mute); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-stats { display: flex; flex-wrap: nowrap; gap: .5rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light); }
.stat { flex: 1 1 0; min-width: 0; }
.stat b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: #fff; display: block; line-height: 1; }
.stat span { font-size: .7rem; color: var(--cream-mute); letter-spacing: .01em; display: block; margin-top: .35rem; }
.stat.divider { padding-inline: .6rem; border-inline: 1px solid var(--line-light); }

.hero-emblem { position: relative; justify-self: center; width: min(48vw, 210px); }
.emblem-logo { width: 100%; border-radius: 50%; filter: drop-shadow(0 24px 50px rgba(0,0,0,.5)); animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-light); border-radius: 14px; z-index: 3; }
.hero-scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 2px; background: var(--cream); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%,14px); } 100% { opacity: 0; } }

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: .85rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; padding-right: .5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   9. Sections base
   ============================================================= */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }

/* Proceso */
.proceso { background: var(--paper); }
.steps { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: var(--red); transition: height .4s var(--ease-out); }
.step:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(28,46,95,.5); border-color: transparent; }
.step:hover::before { height: 100%; }
.step-num { font-family: var(--display); font-size: 2.4rem; color: var(--paper-2); line-height: 1; display: block; margin-bottom: .6rem; transition: color .4s; }
.step:hover .step-num { color: var(--red); }
.step h3 { font-size: 1.16rem; color: var(--navy); margin-bottom: .5rem; }
.step p { color: var(--ink-mute); font-size: .96rem; }

/* Servicios / tickets */
.servicios { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.tickets { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.ticket {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 1.9rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .4s var(--ease-out), box-shadow .4s;
  transform-style: preserve-3d;
}
.ticket:hover { box-shadow: 0 30px 60px -34px rgba(28,46,95,.55); }
.ticket.featured { border-color: var(--red); box-shadow: 0 30px 60px -34px rgba(216,30,44,.4); }
.ticket-flag { position: absolute; top: -12px; left: 1.9rem; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px; }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.ticket-head h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; color: var(--navy); text-transform: uppercase; line-height: 1; }
.ticket-head h3 em { color: var(--red); font-style: normal; }
.ticket-sub { font-size: .86rem; color: var(--ink-mute); margin-top: .35rem; }
.ticket-code { font-family: var(--display); font-size: .9rem; color: #fff; background: var(--navy); padding: .3rem .6rem; border-radius: 8px; letter-spacing: .05em; }
.ticket-list { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.4rem; flex: 1; }
.ticket-list li { position: relative; padding-left: 1.7rem; font-size: .95rem; color: var(--ink); }
.ticket-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 16px; height: 16px; border-radius: 50%; background: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.ticket-price { margin-bottom: 1.3rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); }
.ticket-price b { font-family: var(--display); font-weight: 400; font-size: 2.4rem; color: var(--navy); line-height: 1; }
.ticket-price .per { font-size: .9rem; color: var(--ink-mute); margin-left: .5rem; }
.ticket-price .note { display: block; font-size: .8rem; color: var(--red); margin-top: .4rem; font-weight: 500; }
.ticket-price.two { display: flex; gap: 1.4rem; }
.ticket-price.two .alt b { color: var(--ink-mute); font-size: 2rem; }
.ticket-price.two .per { display: block; margin-left: 0; }

/* Hero de la página Calculadora */
.calc-hero { position: relative; overflow: hidden; text-align: center; color: var(--cream); padding: 128px 0 clamp(2.4rem, 6vw, 3.8rem);
  background: radial-gradient(120% 90% at 80% -10%, var(--navy-2) 0%, transparent 55%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.calc-hero .wrap { position: relative; z-index: 2; }
.calc-hero .eyebrow { justify-content: center; }
.calc-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 7vw, 4.2rem); text-transform: uppercase; line-height: .98; margin: 1rem 0; color: #fff; }
.calc-hero-sub { color: var(--cream-mute); max-width: 54ch; margin: 0 auto 1.4rem; font-size: 1.05rem; }
.calc-back { display: inline-block; color: var(--cream); font-weight: 600; font-size: .92rem; border-bottom: 1px solid var(--line-light); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.calc-back:hover { color: #fff; border-color: #fff; }

/* Calculadora */
.calc { background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); }
.calc.section { padding-top: clamp(2.5rem, 6vw, 4rem); }
.calc-features { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.6rem; }
.calc-feat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; text-align: center; transition: transform .4s var(--ease-out), box-shadow .4s; }
.calc-feat:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -32px rgba(28,46,95,.5); }
.calc-ico { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(216,30,44,.1); color: var(--red); margin-bottom: 1rem; }
.calc-feat h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .5rem; }
.calc-feat p { font-size: .9rem; color: var(--red); }
.calc-box { max-width: 640px; margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: 0 40px 80px -46px rgba(28,46,95,.5); }
/* Stepper */
.calc-steps { display: flex; gap: .4rem; margin-bottom: 1.8rem; }
.cstep { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; font-size: .72rem; font-weight: 600; color: var(--ink-mute); }
.cstep-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-mute); border: 2px solid var(--line); font-size: .9rem; transition: background .3s, color .3s, border-color .3s; }
.cstep.is-active { color: var(--red); }
.cstep.is-active .cstep-dot { background: var(--red); color: #fff; border-color: var(--red); }
.cstep.is-done { color: var(--navy); }
.cstep.is-done .cstep-dot { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Campos del asistente */
.calc-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-step[hidden] { display: none; }
.calc-field { margin-bottom: 1.2rem; }
.calc-field > label { display: block; font-weight: 600; color: var(--navy); font-size: .92rem; margin-bottom: .45rem; }
.calc-field .req { color: var(--red); }
.calc-field small { display: block; margin-top: .35rem; font-size: .78rem; color: var(--ink-mute); }
.calc-field input, .calc-field select, .calc-field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .8rem .9rem; transition: border-color .25s;
}
.calc-field input:focus, .calc-field select:focus, .calc-field textarea:focus { outline: none; border-color: var(--red); }
.calc-field textarea { resize: vertical; }
.calc-counter { font-size: .76rem; color: var(--ink-mute); margin-top: .35rem; text-align: right; }
.calc-nav { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 1.6rem; }
.calc-disclaimer { font-size: .78rem; color: var(--ink-mute); text-align: center; margin-top: 1.2rem; }

/* Resultado */
.calc-result { text-align: center; padding: 1rem 0; }
.calc-result[hidden] { display: none; }
.calc-result-kicker { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.calc-gauge { font-family: var(--display); color: var(--navy); line-height: 1; margin: .6rem 0 1rem; }
.calc-gauge span { font-size: clamp(4rem, 16vw, 6rem); }
.calc-gauge i { font-size: 2rem; font-style: normal; color: var(--red); }
.calc-gauge.is-good span, .calc-gauge.is-good i { color: #16a34a; }
.calc-gauge.is-low span, .calc-gauge.is-low i { color: var(--red); }
.calc-msg { color: var(--ink); font-size: 1.05rem; max-width: 46ch; margin: 0 auto 1.6rem; }
.calc-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 1rem; }
.calc-sent { color: #16a34a; font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
.calc-sent[hidden] { display: none; }
.calc-again { color: var(--ink-mute); font-size: .9rem; text-decoration: underline; }

/* Adelanto (banda compacta, centrada) */
.adelanto { background: var(--navy); color: var(--cream); overflow: hidden; padding-block: clamp(3rem, 6vw, 4.5rem); }
.adelanto-inner { text-align: center; max-width: 640px; margin-inline: auto; }
.adelanto-copy h2 { color: #fff; }
.adelanto-copy .kicker { color: #ff8b95; }
.adelanto-copy p { color: var(--cream-mute); margin: 1.1rem auto 1.7rem; max-width: 52ch; }

/* Otros destinos */
.otros { background: var(--paper-2); }
.otros-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.otro {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.otro:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: 0 24px 50px -30px rgba(28,46,95,.5); }
.otro-code { font-family: var(--display); font-size: .9rem; color: #fff; background: var(--navy); padding: .28rem .6rem; border-radius: 8px; letter-spacing: .05em; }
.otro h3 { font-size: 1.3rem; color: var(--navy); margin: 1rem 0 .5rem; }
.otro p { font-size: .94rem; color: var(--ink-mute); margin-bottom: 1rem; }
.otro-more { font-weight: 600; color: var(--red); font-size: .92rem; }

/* Testimonios */
.testimonios { background: var(--paper); }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.video-card, .guada-video { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); aspect-ratio: 9/16; box-shadow: 0 24px 50px -32px rgba(0,0,0,.6); }
.video-card video, .guada-video video { width: 100%; height: 100%; object-fit: cover; }
.video-card figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 1.4rem 1rem .9rem; color: #fff; font-weight: 600; font-size: 1.05rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); pointer-events: none; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 66px; height: 66px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(216,30,44,.92); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(216,30,44,.7);
  transition: transform .3s var(--ease-bounce), opacity .3s;
}
.video-play svg { margin-left: 3px; }
.video-play:hover { transform: scale(1.1); }
.video-card.is-playing .video-play, .guada-video.is-playing .video-play { opacity: 0; pointer-events: none; }
.video-card.is-playing figcaption { opacity: 0; }

/* Referencias */
.referencias { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lead { margin-inline: auto; }

/* Destacada */
.ref-featured {
  display: grid; grid-template-columns: 1fr; gap: 1.6rem; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 26px; padding: 1.4rem; margin-bottom: 2.4rem;
  box-shadow: 0 40px 80px -46px rgba(28,46,95,.55);
  position: relative; overflow: hidden;
}
.ref-featured::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--red); }
.ref-featured-img { border-radius: 18px; overflow: hidden; background: #000; max-width: 300px; margin-inline: auto; border: 1px solid var(--line); }
.ref-featured-img img { width: 100%; display: block; }
.ref-featured-copy { padding: .4rem .6rem 1rem; }
.ref-badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(216,30,44,.1); color: var(--red); font-weight: 700; font-size: .78rem; letter-spacing: .04em; padding: .4rem .8rem; border-radius: 999px; text-transform: uppercase; }
.ref-featured-copy blockquote { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--navy); line-height: 1.1; margin: 1rem 0 .8rem; }
.ref-featured-copy p { color: var(--ink-mute); margin-bottom: 1.3rem; max-width: 42ch; }

/* Galería completa (masonry, capturas enteras) */
.ref-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.ref-full { aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(28,46,95,.5); background: #fff; transition: transform .4s var(--ease-out); }
.ref-full:hover { transform: translateY(-5px); }
.ref-full img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* Consultoría final */
.consultoria { background: var(--paper); }
.cons-checks { list-style: none; display: grid; gap: .7rem .9rem; max-width: 760px; margin: 0 auto 2.4rem; }
.cons-checks li { position: relative; padding-left: 1.9rem; color: var(--ink); font-size: .96rem; }
.cons-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.cons-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
.cvideo { position: relative; border-radius: 16px; overflow: hidden; background: var(--navy-deep); aspect-ratio: 16/9; box-shadow: 0 22px 46px -30px rgba(0,0,0,.55); }
.cvideo video { width: 100%; height: 100%; object-fit: cover; }
.cvideo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem .9rem .7rem; color: #fff; font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.78)); pointer-events: none; }
.cvideo.is-playing .video-play, .cvideo.is-playing figcaption { opacity: 0; pointer-events: none; }
.cons-cta { text-align: center; }

/* Testimonio destacado (Leandro) + audios */
.testi-feature { max-width: 340px; margin: 0 auto 1rem; }
.audios-label { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin: 1.8rem 0 1.2rem; }

/* Guadalupe */
.guadalupe { background: var(--paper-2); }
.guada-inner { display: grid; grid-template-columns: 1fr; gap: 2.4rem; align-items: center; }
.guada-video { max-width: 340px; margin-inline: auto; }
.guada-copy p { color: var(--ink-mute); margin-top: 1.1rem; font-size: 1.04rem; }
.guada-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

/* CTA final */
.cta-final { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--cream); overflow: hidden; }
.cta-glow { position: absolute; inset: -20% 40% auto -10%; height: 70%; background: radial-gradient(50% 60% at 50% 40%, rgba(216,30,44,.3), transparent 70%); filter: blur(70px); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 2.6rem; align-items: start; }
.cta-copy h2 { color: #fff; }
.cta-copy .kicker.light { color: #ff8b95; }
.cta-copy p { color: var(--cream-mute); margin: 1.2rem 0 1.8rem; max-width: 44ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.cta-form { background: rgba(255,255,255,.04); border: 1px solid var(--line-light); border-radius: 24px; padding: 1.8rem; display: grid; gap: 1rem; backdrop-filter: blur(6px); }
.cta-form label { display: grid; gap: .4rem; font-size: .84rem; font-weight: 500; color: var(--cream); letter-spacing: .02em; }
.cta-form input, .cta-form select, .cta-form textarea {
  font: inherit; font-size: .95rem; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-light);
  border-radius: 12px; padding: .8rem .9rem;
  transition: border-color .3s, background .3s;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(243,238,226,.4); }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,.1); }
.cta-form select option { color: #16203f; }
.cta-form textarea { resize: vertical; }
.form-note { font-size: .78rem; color: var(--cream-mute); text-align: center; }

/* =============================================================
   10. Footer
   ============================================================= */
.footer { background: var(--navy-deep); color: var(--cream); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2.2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line-light); }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 1rem; }
.footer-brand p { color: var(--cream-mute); font-size: .95rem; max-width: 34ch; }
.footer-col h5 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #ff8b95; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--cream-mute); font-size: .95rem; padding: .3rem 0; transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; padding-block: 1.6rem; font-size: .82rem; color: var(--cream-mute); }

/* =============================================================
   11. Reveal animation
   ============================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensive: never let a split/reveal combo hide content */
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================
   12. Responsive
   ============================================================= */
@media (min-width: 620px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .otros-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(4, 1fr); }
  .ref-gallery { grid-template-columns: repeat(3, 1fr); }
  .cons-grid { grid-template-columns: repeat(2, 1fr); }
  .cons-checks { grid-template-columns: 1fr 1fr; }
  .calc-features { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.4rem; }
  .stat b { font-size: 1.9rem; }
  .stat span { font-size: .8rem; }
  .stat.divider { padding-inline: 1.4rem; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-cta { padding: .6rem 1.1rem; border-radius: 999px; }
  .nav-cta-label { display: inline; }
  .stat b { font-size: 2rem; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .hero-copy { max-width: none; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .tickets { grid-template-columns: repeat(3, 1fr); }
  .otros-grid { grid-template-columns: repeat(3, 1fr); }
  .guada-inner { grid-template-columns: .8fr 1.2fr; gap: 3.4rem; }
  .guada-video { max-width: 380px; margin-inline: 0; }
  .cta-inner { grid-template-columns: 1fr 1fr; gap: 3.4rem; }
  .footer-inner { grid-template-columns: 1.6fr 1fr 1.3fr; gap: 3rem; }
  .head h2, .section h2 { font-size: clamp(3rem, 5vw, 4.6rem); }
  .ref-featured { grid-template-columns: 300px 1fr; gap: 2.6rem; padding: 1.9rem; }
  .ref-featured-img { margin-inline: 0; }
  .ref-gallery { grid-template-columns: repeat(4, 1fr); }
  .cons-grid { grid-template-columns: repeat(3, 1fr); }
  .calc-features { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1280px) {
  .otros-grid { grid-template-columns: repeat(5, 1fr); }
  .ref-gallery { grid-template-columns: repeat(5, 1fr); }
}

/* =============================================================
   13. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .emblem-logo { animation: none; }
  .hero-star { animation: none; opacity: .4; }
  .marquee-track { animation-duration: 90s; }
  .hero-scroll span { animation: none; }
  .splash-seal { animation: sealIn .6s var(--ease-out) both; }
}
