/* ==========================================================================
   CENIT — estilos compartidos y por página
   ========================================================================== */

/* --------------------------------------------------------------------------
   SHARED — tokens, base, navegación, footer, marca
   -------------------------------------------------------------------------- */
:root{
  --negro:#16140f;
  --negro-2:#211e17;
  --hueso:#f5f1e8;
  --oro:#c9a45c;
  --oro-suave:#e4cfa3;
  --gris:#9a9284;
  /* +~12–15% sobre la base anterior para mejorar legibilidad del contenido */
  --font-size-body:clamp(1.2rem,1.55vw,1.375rem);
  --nav-pad-y:28px;
  --nav-pad-y-scrolled:16px;
  --nav-brand-h:30px;
  --nav-border:1px;
  --nav-height:calc(var(--nav-pad-y) * 2 + var(--nav-brand-h) + var(--nav-border));
  --nav-height-scrolled:calc(var(--nav-pad-y-scrolled) * 2 + var(--nav-brand-h) + var(--nav-border));
  --nav-offset:var(--nav-height);
  --content-max:1440px;
  --content-width:min(90%, var(--content-max));
}
*{margin:0;padding:0;box-sizing:border-box}
html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--nav-offset) + 12px);
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .reveal,
  body.page-home .hero-animate .hero-line,
  body.page-historia .hero-animate .hero-line,
  body.page-home .hero-animate .respuesta.hero-line{
    opacity:1!important;
    transform:none!important;
    filter:none!important;
  }
}
body{
  background:var(--negro);
  color:var(--hueso);
  font-family:'Newsreader',serif;
  font-weight:300;
  font-size:var(--font-size-body);
  -webkit-font-smoothing:antialiased;
  padding-top:var(--nav-offset);
}
[hidden]{display:none!important}
.eyebrow{
  font-family:'Archivo',sans-serif;
  font-size:11px;font-weight:600;
  letter-spacing:.28em;text-transform:uppercase;
  color:var(--oro);
}
a{color:inherit}
button{font-family:inherit}
:focus-visible{outline:2px solid var(--oro);outline-offset:3px}

.skip-link{
  position:absolute;left:16px;top:12px;z-index:100;
  padding:10px 14px;border-radius:2px;
  background:var(--oro);color:var(--negro);
  font-family:'Archivo',sans-serif;font-size:13px;font-weight:600;
  text-decoration:none;
  transform:translateY(-200%);
}
.skip-link:focus{transform:translateY(0);outline:2px solid var(--hueso);outline-offset:2px}
.visually-hidden{
  position:absolute!important;width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* NAV — fijo en todo el scroll */
nav{
  border-bottom:1px solid rgba(201,164,92,.16);
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:rgba(22,20,15,.92);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  z-index:40;
  transition:background .35s ease,backdrop-filter .35s ease,-webkit-backdrop-filter .35s ease,border-color .35s ease;
}
nav.is-scrolled{
  background:rgba(22,20,15,.97);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom-color:rgba(201,164,92,.28);
}
.nav-in{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  column-gap:16px;
  width:var(--content-width);
  max-width:var(--content-max);
  margin:0 auto;
  padding:var(--nav-pad-y) 28px;
  transition:padding .35s ease;
  box-sizing:border-box;
}
.nav-in > .brandmark{ justify-self:start; }
.nav-in > .nav-links{ justify-self:center; }
.nav-in > .nav-actions{ justify-self:end; }
nav .wrap.nav-in,
body.page-home nav .wrap.nav-in,
body.page-historia nav .wrap.nav-in{
  width:var(--content-width);
  max-width:var(--content-max);
  margin:0 auto;
  padding:var(--nav-pad-y) 28px;
  box-sizing:border-box;
}
nav.is-scrolled .nav-in,
nav.is-scrolled .wrap.nav-in,
body.page-home nav.is-scrolled .wrap.nav-in,
body.page-historia nav.is-scrolled .wrap.nav-in{
  padding:var(--nav-pad-y-scrolled) 28px;
}
.nav-links{display:flex;gap:36px;align-items:center;font-family:'Archivo',sans-serif;font-size:13px;letter-spacing:.02em}
.nav-links a{text-decoration:none;color:var(--gris);transition:color .2s}
.nav-links a:hover,
.nav-links a[aria-current="page"]{color:var(--oro-suave)}
.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav-cta{
  font-family:'Archivo',sans-serif;font-size:13px;font-weight:600;
  border:1px solid var(--oro);color:var(--oro);
  padding:9px 18px;border-radius:2px;text-decoration:none;
  transition:background .3s ease,color .3s ease,transform .3s ease,box-shadow .3s ease;
  white-space:nowrap;
}
.nav-cta:hover{
  background:var(--oro);color:var(--negro);
  transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(0,0,0,.28);
}
.nav-login{
  font-family:'Archivo',sans-serif;
  font-size:13px;
  font-weight:600;
  letter-spacing:.02em;
  text-decoration:none;
  color:var(--oro-suave);
  border:1px solid rgba(201,164,92,.4);
  padding:9px 14px;
  border-radius:2px;
  white-space:nowrap;
  transition:color .2s ease,border-color .2s ease,background .2s ease;
}
.nav-login:hover,
.nav-login:focus-visible{
  color:var(--oro);
  border-color:var(--oro);
  background:rgba(201,164,92,.1);
}

/* FOOTER + MARCA */
footer{border-top:1px solid rgba(201,164,92,.16);padding:48px 0}
.foot-in{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px}
.foot-meta{
  font-family:'Archivo',sans-serif;
  font-size:var(--font-size-body);
  color:var(--gris);letter-spacing:.03em;text-align:right;
}
.foot-meta a{color:var(--oro-suave);text-decoration:none}
.foot-meta a:hover{text-decoration:underline}
.brandmark{
  display:flex;align-items:center;gap:10px;
  text-decoration:none;color:inherit;
}
.brand-icon{height:30px;width:auto}
.brand-word{font-family:'Archivo',sans-serif;font-size:12px;font-weight:600;letter-spacing:.12em;line-height:1.25;color:var(--hueso)}
footer .brand-icon{height:24px}
footer .brand-word{font-size:11px}
.firma{
  font-style:italic;color:var(--oro);
  font-size:var(--font-size-body);
}

/* --------------------------------------------------------------------------
   HOME — index.html
   -------------------------------------------------------------------------- */
body.page-home{
  line-height:1.65;
}
body.page-home .wrap{
  width:var(--content-width);
  max-width:var(--content-max);
  margin:0 auto;
  padding:0 28px;
  box-sizing:border-box;
}

/* Secciones con presencia de pantalla */
body.page-home .screen-section{
  min-height:calc(100svh - var(--nav-offset));
  display:flex;
  flex-direction:column;
  justify-content:center;
  scroll-margin-top:calc(var(--nav-offset) + 8px);
}
body.page-home .screen-section > .wrap{width:100%}

/* HERO */
body.page-home .hero{padding:72px 0;position:relative;overflow:hidden}
body.page-home .hero::before{
  content:'';position:absolute;top:-200px;right:-160px;width:520px;height:520px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(201,164,92,.10),transparent 70%);
  pointer-events:none;
}
body.page-home h1.hero-q{
  font-family:'Newsreader',serif;font-weight:300;
  font-size:clamp(2.2rem,4.2vw,4.8rem);
  letter-spacing:-.01em;max-width:960px;
  margin-bottom:40px;
  line-height:1.12;
}
body.page-home h1.hero-q em{font-style:italic;color:var(--oro-suave)}

body.page-home .chips{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:8px}
body.page-home .chip{
  font-family:'Archivo',sans-serif;font-size:14px;font-weight:500;
  background:transparent;border:1px solid rgba(245,241,232,.28);
  color:var(--hueso);padding:12px 20px;border-radius:2px;cursor:pointer;
  transition:border-color .3s ease,background .3s ease,color .3s ease,transform .3s ease,box-shadow .3s ease;
}
body.page-home .chip:hover{
  border-color:var(--oro-suave);
  transform:translateY(-1px);
}
body.page-home .chip.activo{background:var(--oro);border-color:var(--oro);color:var(--negro);font-weight:600}

body.page-home .respuesta{
  margin-top:34px;max-width:720px;min-height:120px;
  padding:30px 32px;background:var(--negro-2);
  border-left:2px solid var(--oro);border-radius:2px;
  opacity:0;transform:translateY(6px);
  transition:opacity .45s ease,transform .45s ease;
}
body.page-home .respuesta.visible{opacity:1;transform:translateY(0)}
body.page-home .respuesta.is-switching{opacity:0;transform:translateY(4px)}
body.page-home .respuesta p{
  font-size:var(--font-size-body);
  color:var(--hueso);margin-bottom:18px;line-height:1.65;
}
body.page-home .respuesta .r-cta{
  display:inline-block;font-family:'Archivo',sans-serif;font-size:13px;font-weight:600;
  color:var(--negro);background:var(--oro);padding:11px 22px;border-radius:2px;
  text-decoration:none;
  transition:background .3s ease,transform .3s ease,box-shadow .3s ease;
}
body.page-home .respuesta .r-cta:hover{
  background:var(--oro-suave);
  transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(0,0,0,.28);
}

/* MÉTODO (marco tipográfico; sin video) */
body.page-home .video-sec{padding:72px 0;border-top:1px solid rgba(201,164,92,.14)}
body.page-home .video-sec > .wrap{
  display:grid;
  gap:28px;
  max-width:900px;
  margin-inline:auto;
}
body.page-home .metodo-eyebrow{
  margin-bottom:0;
  text-align:center;
  font-size:clamp(0.95rem,2vw,1.35rem);
  letter-spacing:.22em;
  line-height:1.3;
}
body.page-home .video-frame{
  aspect-ratio:16/9;background:var(--negro-2);
  border:1px solid rgba(201,164,92,.22);border-radius:3px;
  display:flex;align-items:center;justify-content:center;position:relative;
  width:100%;max-width:900px;margin:0 auto;cursor:default;
  transition:border-color .4s ease,box-shadow .4s ease;
}
body.page-home .video-quote{
  font-family:'Newsreader',serif;font-style:italic;font-size:clamp(18px,2.6vw,26px);
  color:var(--oro-suave);text-align:center;max-width:520px;padding:0 32px;
}

/* MANIFIESTO */
body.page-home .manifiesto{padding:72px 0;border-top:1px solid rgba(201,164,92,.14)}
body.page-home .manifiesto h2{
  font-family:'Newsreader',serif;font-weight:300;
  font-size:clamp(2.25rem,4.2vw,4.6rem);
  max-width:980px;margin-bottom:48px;line-height:1.15;
}
body.page-home .manifiesto h2 em{font-style:italic;color:var(--oro-suave)}
body.page-home .filas{display:flex;flex-direction:column;gap:0;max-width:920px}
body.page-home .fila{
  display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;gap:18px;
  padding:24px 0;border-bottom:1px solid rgba(245,241,232,.1);
}
body.page-home .fila:first-child{border-top:1px solid rgba(245,241,232,.1)}
body.page-home .no{
  font-size:var(--font-size-body);color:var(--gris);
  text-decoration:line-through;text-decoration-color:var(--oro);text-decoration-thickness:1.5px;
  line-height:1.45;
}
body.page-home .arrow{color:var(--oro);text-align:center;font-family:'Archivo',sans-serif}
body.page-home .si{
  font-size:var(--font-size-body);color:var(--hueso);line-height:1.45;
}

/* Secciones centradas: hero + manifiesto */
body.page-home .section-centered > .wrap{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
body.page-home .section-centered h1.hero-q{
  margin-inline:auto;
  margin-bottom:48px;
  text-wrap:balance;
}
body.page-home .section-centered .chips{
  justify-content:center;
  margin-bottom:12px;
  max-width:960px;
}
body.page-home .section-centered .respuesta{
  margin-inline:auto;
  margin-top:40px;
  text-align:center;
  border-left:none;
  border-top:2px solid var(--oro);
  max-width:800px;
}
body.page-home .section-centered .respuesta p{margin-bottom:22px}
body.page-home .section-centered .manifiesto h2,
body.page-home .section-centered h2{
  margin-inline:auto;
  text-align:center;
  text-wrap:balance;
  margin-bottom:52px;
}
body.page-home .section-centered .filas{
  margin-inline:auto;
  width:100%;
  max-width:960px;
  text-align:left;
}

/* PROCESO */
body.page-home .proceso{padding:72px 0;border-top:1px solid rgba(201,164,92,.14)}
body.page-home .proceso h2{font-family:'Newsreader',serif;font-weight:300;font-size:clamp(28px,4vw,40px);margin-bottom:56px;max-width:600px}
body.page-home .pasos{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
body.page-home .paso{
  transition:transform .4s ease,opacity .4s ease;
}
body.page-home .paso:hover{transform:translateY(-4px)}
body.page-home .paso .num{font-family:'Archivo',sans-serif;font-size:13px;color:var(--oro);letter-spacing:.2em;margin-bottom:14px}
body.page-home .paso h3{
  font-family:'Newsreader',serif;font-weight:400;
  font-size:clamp(1.55rem,2.4vw,2.05rem);
  margin-bottom:12px;color:var(--oro-suave);
  line-height:1.2;
}
body.page-home .paso p{
  color:var(--gris);
  font-size:var(--font-size-body);
  line-height:1.6;
}

/* CTA FINAL */
body.page-home .cta-final{padding:80px 0;border-top:1px solid rgba(201,164,92,.14);text-align:center}
body.page-home .cta-final h2{font-family:'Newsreader',serif;font-weight:300;font-size:clamp(28px,4.4vw,44px);max-width:660px;margin:0 auto 44px}
body.page-home .cta-final h2 em{font-style:italic;color:var(--oro-suave)}
body.page-home .cta-row{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}
body.page-home .btn-primario,
body.page-home .btn-secundario{
  font-family:'Archivo',sans-serif;font-size:14px;font-weight:600;
  padding:16px 30px;border-radius:2px;text-decoration:none;
  transition:background .3s ease,color .3s ease,border-color .3s ease,transform .3s ease,box-shadow .3s ease;
}
body.page-home .btn-primario{background:var(--oro);color:var(--negro)}
body.page-home .btn-primario:hover{
  background:var(--oro-suave);
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.3);
}
body.page-home .btn-secundario{border:1px solid rgba(245,241,232,.32);color:var(--hueso)}
body.page-home .btn-secundario:hover{
  border-color:var(--oro-suave);color:var(--oro-suave);
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}

/* --------------------------------------------------------------------------
   HISTORIA — historia.html
   -------------------------------------------------------------------------- */
body.page-historia{
  line-height:1.7;
}
body.page-historia .wrap{
  width:var(--content-width);
  max-width:var(--content-max);
  margin:0 auto;
  padding:0 24px;
  box-sizing:border-box;
}

/* Pantalla completa, alineada al Hero de index (screen-section) */
body.page-historia .hero{
  width:var(--content-width);
  max-width:760px;
  margin:0 auto;
  min-height:calc(100svh - var(--nav-offset));
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:72px 24px;
  box-sizing:border-box;
  scroll-margin-top:calc(var(--nav-offset) + 8px);
}
body.page-historia h1{
  font-family:'Archivo',sans-serif;font-weight:500;
  font-size:clamp(32px,5vw,54px);line-height:1.1;
  text-transform:uppercase;letter-spacing:-.01em;margin-top:20px;
}

/* Selector Ver / Leer */
body.page-historia .modo{
  display:flex;justify-content:center;gap:12px;
  padding:28px 24px 8px;
}
body.page-historia .modo button{
  font-family:'Archivo',sans-serif;font-size:13px;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;cursor:pointer;
  padding:13px 26px;border-radius:2px;
  transition:background .3s ease,color .3s ease,border-color .3s ease,transform .3s ease,box-shadow .3s ease;
  background:transparent;color:var(--hueso);
  border:1px solid rgba(245,241,232,.32);
}
body.page-historia .modo button:hover{
  border-color:var(--oro);
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(0,0,0,.22);
}
body.page-historia .modo button.activo{background:var(--oro);border-color:var(--oro);color:var(--negro)}
body.page-historia .oculto{display:none}

/* Versión en video */
body.page-historia .video-marca{max-width:760px;margin:0 auto;padding:24px 24px 0}
body.page-historia .video-frame{
  aspect-ratio:16/9;border-radius:4px;
  border:1px solid rgba(201,164,92,.3);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,164,92,.12), transparent 55%),
    var(--negro-2);
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:16px;cursor:pointer;
  transition:border-color .4s ease,box-shadow .4s ease,transform .4s ease;
}
body.page-historia .video-frame:hover{
  border-color:rgba(201,164,92,.5);
  box-shadow:0 16px 48px rgba(0,0,0,.28);
  transform:translateY(-2px);
}
body.page-historia .play{
  width:64px;height:64px;border-radius:50%;
  border:1px solid var(--oro);display:flex;align-items:center;justify-content:center;
  transition:background .35s ease,transform .4s ease,box-shadow .4s ease;
  animation:cenit-play-pulse 2.8s ease-in-out infinite;
}
body.page-historia .video-frame:hover .play{
  background:rgba(201,164,92,.14);
  transform:scale(1.06);
}
body.page-historia .play svg{margin-left:4px}
body.page-historia .video-nota{
  font-family:'Archivo',sans-serif;font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--gris);
}

/* Texto */
body.page-historia article{max-width:680px;margin:0 auto;padding:48px 24px 40px}
body.page-historia article p{
  font-size:var(--font-size-body);margin-bottom:26px;
}
body.page-historia article p.destacada{
  font-style:italic;font-size:var(--font-size-body);line-height:1.5;
  color:var(--oro);border-left:2px solid var(--oro);
  padding-left:24px;margin:40px 0;
}
body.page-historia article em{color:var(--oro);font-style:italic}
body.page-historia .separador{
  width:48px;height:2px;background:var(--oro);margin:44px 0;
}

/* CTA final */
body.page-historia .cta-final{
  padding: 170px 0 140px;border-top:1px solid rgba(201,164,92,.16);
  text-align:center;margin-top:40px;
}
body.page-historia .cta-final h2{
  font-family:'Archivo',sans-serif;font-weight:500;
  font-size:clamp(24px,3.6vw,38px);text-transform:uppercase;
  line-height:1.15;max-width:680px;margin:0 auto 16px;
}
body.page-historia .cta-final .sub{
  font-style:italic;color:var(--gris);font-size:var(--font-size-body);
  max-width:480px;margin:0 auto 36px;
}
body.page-historia .btn{
  display:inline-block;font-family:'Archivo',sans-serif;
  font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  padding:15px 30px;border-radius:2px;text-decoration:none;
  background:var(--oro);color:var(--negro);
  transition:background .3s ease,transform .3s ease,box-shadow .3s ease;
}
body.page-historia .btn:hover{
  background:var(--oro-suave);
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.3);
}

/* --------------------------------------------------------------------------
   MICROINTERACCIONES — reveal, hero stagger, pulse
   -------------------------------------------------------------------------- */
@keyframes cenit-play-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(201,164,92,0)}
  50%{box-shadow:0 0 0 10px rgba(201,164,92,.08)}
}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .85s cubic-bezier(.22,1,.36,1),transform .85s cubic-bezier(.22,1,.36,1);
  will-change:opacity,transform;
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
  will-change:auto;
}

body.page-home .hero-animate .hero-line,
body.page-historia .hero-animate .hero-line{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .75s cubic-bezier(.22,1,.36,1),transform .75s cubic-bezier(.22,1,.36,1);
}
body.page-home .hero-animate.is-ready .hero-line,
body.page-historia .hero-animate.is-ready .hero-line{
  opacity:1;
  transform:translateY(0);
}
body.page-home .hero-animate.is-ready .hero-line:nth-child(1),
body.page-historia .hero-animate.is-ready .hero-line:nth-child(1){transition-delay:.05s}
body.page-home .hero-animate.is-ready .hero-line:nth-child(2),
body.page-historia .hero-animate.is-ready .hero-line:nth-child(2){transition-delay:.18s}
body.page-home .hero-animate.is-ready .hero-line:nth-child(3),
body.page-historia .hero-animate.is-ready .hero-line:nth-child(3){transition-delay:.32s}
body.page-home .hero-animate.is-ready .hero-line:nth-child(4),
body.page-historia .hero-animate.is-ready .hero-line:nth-child(4){transition-delay:.46s}
body.page-home .hero-animate.is-ready .hero-line:nth-child(5),
body.page-historia .hero-animate.is-ready .hero-line:nth-child(5){transition-delay:.6s}

body.page-home .hero-animate .respuesta.hero-line{opacity:0;transform:translateY(18px)}
body.page-home .hero-animate.is-ready .respuesta.hero-line.visible{opacity:1;transform:translateY(0)}

/* --------------------------------------------------------------------------
   RESPONSIVE — ajustes mínimos sin cambiar el diseño
   -------------------------------------------------------------------------- */
@media (max-width:760px){
  .nav-in{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:14px 16px;
  }
  .nav-in > .brandmark,
  .nav-in > .nav-links,
  .nav-in > .nav-actions{ justify-self:auto; }
  .nav-links{
    order:3;
    width:100%;
    justify-content:flex-start;
    gap:22px;
    font-size:12px;
  }
  .nav-actions{
    margin-left:auto;
    gap:8px;
  }
  body.page-home .pasos{grid-template-columns:1fr;gap:44px}
  body.page-home .cta-row{gap:12px}
  body.page-home .btn-primario,
  body.page-home .btn-secundario{width:100%;max-width:320px;text-align:center}
}

@media (max-width:640px){
  :root{
    --nav-pad-y:22px;
    --nav-pad-y-scrolled:14px;
  }
  body.page-home .wrap,
  body.page-historia .wrap{
    width:100%;
    max-width:none;
    padding-left:20px;
    padding-right:20px;
  }
  nav .wrap.nav-in,
  nav.is-scrolled .wrap.nav-in,
  .nav-in,
  nav.is-scrolled .nav-in{
    width:100%;
    max-width:none;
    padding-left:20px;
    padding-right:20px;
  }
  body.page-home .screen-section{
    min-height:auto;
    justify-content:flex-start;
  }
  body.page-home .hero.screen-section{
    min-height:calc(100svh - var(--nav-offset));
    justify-content:center;
  }
  body.page-home .hero{padding:56px 0 48px}
  body.page-home .video-sec,
  body.page-home .manifiesto,
  body.page-home .proceso{padding:56px 0}
  body.page-home .cta-final{padding:64px 0}
  body.page-home .respuesta{padding:24px 22px}
  body.page-home .fila{grid-template-columns:1fr;gap:6px;padding:18px 0}
  body.page-home .arrow{display:none}
  body.page-home .chip{padding:11px 16px;font-size:13px}
  body.page-home .section-centered h1.hero-q{margin-bottom:32px}
  body.page-home .section-centered .respuesta{margin-top:28px}
  body.page-home .section-centered h2{margin-bottom:36px}
  body.page-home .section-centered .filas{text-align:center}
  body.page-home .section-centered .no,
  body.page-home .section-centered .si{text-align:center}
  body.page-historia .modo{
    flex-wrap:wrap;
    padding:24px 18px 8px;
  }
  body.page-historia .modo button{
    width:100%;
    max-width:320px;
    text-align:center;
  }
  body.page-historia .hero{
    min-height:calc(100svh - var(--nav-offset));
    padding:56px 20px;
    justify-content:center;
  }
  body.page-historia .cta-final{padding:64px 0 80px}
  .foot-in{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }
  .foot-meta{text-align:left}
}

@media (max-width:400px){
  body.page-home .nav-cta,
  body.page-historia .nav-cta,
  body.page-home .nav-login,
  body.page-historia .nav-login{
    padding:8px 12px;
    font-size:12px;
  }
  body.page-home .brand-word,
  body.page-historia .brand-word{font-size:11px}
}

/* --------------------------------------------------------------------------
   Contact modal
   -------------------------------------------------------------------------- */
body.cenit-modal-open{overflow:hidden}
.cenit-modal{
  position:fixed;inset:0;z-index:80;
  display:flex;align-items:center;justify-content:center;
  padding:24px 16px;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .3s ease,visibility .3s ease;
}
.cenit-modal.is-open{
  opacity:1;visibility:visible;pointer-events:auto;
}
.cenit-modal__overlay{
  position:absolute;inset:0;
  background:rgba(22,20,15,.72);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.cenit-modal__panel{
  position:relative;z-index:1;
  width:min(640px,100%);
  max-height:min(88svh,860px);
  overflow:auto;
  background:var(--negro-2);
  border:1px solid rgba(201,164,92,.28);
  border-radius:3px;
  padding:28px 28px 24px;
  box-shadow:0 24px 64px rgba(0,0,0,.45);
  transform:translateY(10px);
  transition:transform .35s cubic-bezier(.22,1,.36,1);
}
.cenit-modal.is-open .cenit-modal__panel{transform:translateY(0)}
.cenit-modal__close{
  position:absolute;top:14px;right:14px;
  width:36px;height:36px;border-radius:2px;
  border:1px solid rgba(245,241,232,.2);
  background:transparent;color:var(--hueso);
  font-size:22px;line-height:1;cursor:pointer;
  transition:border-color .25s ease,color .25s ease,background .25s ease;
}
.cenit-modal__close:hover{border-color:var(--oro);color:var(--oro-suave)}
.cenit-modal__eyebrow{
  font-family:'Archivo',sans-serif;font-size:11px;font-weight:600;
  letter-spacing:.24em;text-transform:uppercase;color:var(--oro);
  margin-bottom:10px;
}
.cenit-modal__title{
  font-family:'Newsreader',serif;font-weight:300;
  font-size:clamp(26px,4vw,34px);line-height:1.2;
  margin-bottom:8px;padding-right:36px;
}
.cenit-modal__lead{
  color:var(--gris);font-size:var(--font-size-body);margin-bottom:22px;
}

/* --------------------------------------------------------------------------
   Contact form steps
   -------------------------------------------------------------------------- */
.cenit-form-progress{
  display:flex;gap:8px;margin-bottom:22px;
}
.cenit-form-progress span{
  flex:1;height:2px;background:rgba(245,241,232,.12);
  border-radius:1px;transition:background .3s ease;
}
.cenit-form-progress span.is-active{background:var(--oro)}
.cenit-form-progress span.is-done{background:rgba(201,164,92,.55)}
.cenit-form-step{display:none}
.cenit-form-step.is-active{display:block}
.cenit-form-step__title{
  font-family:'Archivo',sans-serif;font-size:13px;font-weight:600;
  letter-spacing:.08em;text-transform:uppercase;color:var(--oro-suave);
  margin-bottom:16px;
}
.cenit-field{margin-bottom:16px}
.cenit-field label,
.cenit-field__label{
  display:block;font-family:'Archivo',sans-serif;font-size:12px;
  letter-spacing:.06em;text-transform:uppercase;color:var(--gris);
  margin-bottom:8px;
}
.cenit-field input[type="text"],
.cenit-field input[type="email"],
.cenit-field input[type="tel"],
.cenit-field textarea,
.cenit-field select{
  width:100%;
  background:rgba(22,20,15,.55);
  border:1px solid rgba(245,241,232,.18);
  color:var(--hueso);
  font-family:'Newsreader',serif;font-size:var(--font-size-body);font-weight:300;
  padding:12px 14px;border-radius:2px;
  transition:border-color .25s ease,box-shadow .25s ease;
}
.cenit-field textarea{min-height:110px;resize:vertical;line-height:1.5}
.cenit-field input:focus,
.cenit-field textarea:focus,
.cenit-field select:focus{
  outline:none;border-color:var(--oro);
  box-shadow:0 0 0 2px rgba(201,164,92,.18);
}
.cenit-field.is-invalid input,
.cenit-field.is-invalid textarea,
.cenit-field.is-invalid select,
.cenit-choice-group.is-invalid{
  border-color:#c47b6a;
}
.cenit-field__error{
  display:none;margin-top:6px;color:#e0a090;
  font-family:'Archivo',sans-serif;font-size:12px;
}
.cenit-field.is-invalid .cenit-field__error,
.cenit-choice-group.is-invalid + .cenit-field__error,
.cenit-choice-group.is-invalid .cenit-field__error{display:block}
.cenit-choice-group{
  display:flex;flex-wrap:wrap;gap:8px;
  padding:2px;border:1px solid transparent;border-radius:2px;
}
.cenit-choice{
  position:relative;
}
.cenit-choice input{
  position:absolute;opacity:0;pointer-events:none;
}
.cenit-choice span{
  display:inline-block;
  font-family:'Archivo',sans-serif;font-size:13px;font-weight:500;
  padding:10px 14px;border-radius:2px;cursor:pointer;
  border:1px solid rgba(245,241,232,.22);color:var(--hueso);
  transition:border-color .25s ease,background .25s ease,color .25s ease;
}
.cenit-choice input:focus-visible + span{
  outline:2px solid var(--oro);outline-offset:2px;
}
.cenit-choice input:checked + span{
  background:var(--oro);border-color:var(--oro);color:var(--negro);font-weight:600;
}
.cenit-choice:hover span{border-color:var(--oro-suave)}
.cenit-check{
  display:flex;gap:10px;align-items:flex-start;
  font-size:var(--font-size-body);line-height:1.45;color:var(--hueso);
}
.cenit-check input{margin-top:4px;accent-color:var(--oro)}
.cenit-summary{
  background:rgba(22,20,15,.45);
  border:1px solid rgba(201,164,92,.2);
  border-radius:2px;padding:16px 18px;margin-bottom:18px;
}
.cenit-summary dl{display:grid;gap:10px}
.cenit-summary dt{
  font-family:'Archivo',sans-serif;font-size:11px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--gris);
}
.cenit-summary dd{font-size:var(--font-size-body);margin:2px 0 0}
.cenit-form-actions{
  display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;
  margin-top:22px;padding-top:18px;
  border-top:1px solid rgba(245,241,232,.1);
}
.cenit-btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:'Archivo',sans-serif;font-size:13px;font-weight:600;
  letter-spacing:.08em;text-transform:uppercase;
  padding:13px 22px;border-radius:2px;cursor:pointer;
  border:1px solid transparent;text-decoration:none;
  transition:background .3s ease,color .3s ease,border-color .3s ease,transform .3s ease,box-shadow .3s ease;
}
.cenit-btn:hover{transform:translateY(-1px)}
.cenit-btn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.cenit-btn--primary{background:var(--oro);color:var(--negro)}
.cenit-btn--primary:hover{background:var(--oro-suave);box-shadow:0 8px 22px rgba(0,0,0,.28)}
.cenit-btn--ghost{
  background:transparent;color:var(--hueso);
  border-color:rgba(245,241,232,.28);
}
.cenit-btn--ghost:hover{border-color:var(--oro-suave);color:var(--oro-suave)}
.cenit-hp{
  position:absolute!important;left:-9999px;top:auto;width:1px;height:1px;
  overflow:hidden;
}

/* --------------------------------------------------------------------------
   Contact form states
   -------------------------------------------------------------------------- */
.cenit-form-status{
  min-height:20px;margin-top:12px;
  font-family:'Archivo',sans-serif;font-size:13px;color:var(--gris);
}
.cenit-form-status.is-error{color:#e0a090}
.cenit-form-status.is-success{color:var(--oro-suave)}
.cenit-success{text-align:center;padding:18px 8px 8px}
.cenit-success h3{
  font-family:'Newsreader',serif;font-weight:300;font-size:28px;
  margin:12px 0 10px;
}
.cenit-success p{color:var(--gris);font-size:var(--font-size-body);margin-bottom:22px}
.cenit-success .cenit-calendar-cta{
  margin:4px auto 8px;
}
.cenit-success__note{
  margin-top:14px;font-size:var(--font-size-body);color:var(--gris);font-style:italic;
}

/* --------------------------------------------------------------------------
   Contact responsive
   -------------------------------------------------------------------------- */
@media (max-width:640px){
  .cenit-modal{padding:12px;align-items:flex-end}
  .cenit-modal__panel{
    width:100%;
    max-height:92svh;
    padding:22px 18px 18px;
  }
  .cenit-form-actions{justify-content:stretch}
  .cenit-btn{width:100%;text-align:center}
  .cenit-choice span{width:100%;text-align:center}
  .cenit-choice{flex:1 1 calc(50% - 8px)}
}
@media (prefers-reduced-motion: reduce){
  .cenit-modal,
  .cenit-modal__panel{transition:none}
}
