/* ==========================================================================
   ZBL Constructora — sistema visual
   Navy institucional + oro champagne foil + líneas de plano (replanteo).
   ========================================================================== */

@font-face { font-family: "Azonix"; src: url("assets/fonts/Azonix.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-300.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-400.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-500.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-600.otf") format("opentype"); font-weight: 600; font-display: swap; }

:root {
  /* Navy institucional (manual): #112045 */
  --navy-950: #060D21;
  --navy-900: #0A1632;
  --navy-800: #112045;
  --navy-700: #1B2D5C;
  --line-navy: rgba(201, 169, 110, .14);

  /* Oro champagne */
  --gold-300: #E9D3A3;
  --gold-400: #D2B47E;
  --gold-500: #B39A72;
  --gold-600: #8E7350;
  --gold-foil: linear-gradient(115deg, #7A5A2E 0%, #B08D57 18%, #F3E2B5 34%, #C9A66B 50%, #E6CC94 66%, #8A6A3B 84%, #D2B47E 100%);

  /* Neutros cálidos */
  --bone-50: #F6F2EA;
  --bone-100: #ECE5D8;
  --stone-500: #8A8578;
  --ink: #0A0F1E;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --nav-h: 76px;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --r: 12px;      /* radios suaves, como las curvas de la B y la L del logotipo */
  --r-pill: 999px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + var(--ann-h)); }
body {
  margin: 0; overflow-x: clip;
  background: var(--navy-900); color: var(--bone-50);
  font: 400 1rem/1.6 "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::after { /* grano SVG muy sutil */
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-400); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: var(--r); }
.sr, .cfg-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--gold-400); color: var(--navy-950); padding: 10px 16px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.az { font-family: "Azonix", "Poppins", sans-serif; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

.lbl { font-weight: 500; font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--bone-100); }
.lbl-gold { color: var(--gold-300); }
.h2 { font-weight: 300; font-size: clamp(2rem, 4.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.02em; max-width: 20ch; text-wrap: balance; }
.h2-xl { font-size: clamp(2.6rem, 6.2vw, 5.5rem); line-height: 1.02; max-width: 12ch; }
.confirm { display: inline-block; font-size: .72rem; letter-spacing: .08em; font-weight: 500; color: var(--navy-950); background: var(--gold-300); padding: 1px 6px; border-radius: 2px; vertical-align: middle; }

/* Oro metálico (foil) con brillo que cruza lento */
.foil { color: var(--gold-400); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .foil {
    background: var(--gold-foil); background-size: 260% 100%; background-position: 0% 50%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: foil 7s linear infinite;
  }
}
@keyframes foil { to { background-position: 260% 50%; } }

/* Fondo de marca: luz cálida de obra + chevrones finos (el techo del isotipo, las franjas de la carpeta).
   Los chevrones suben lento, como una obra que se levanta; cerca del cursor brillan más (linterna). */
.grid-bg {
  position: relative; isolation: isolate;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(1100px 720px at 88% -10%, rgba(210, 180, 126, .14), transparent 62%),
    radial-gradient(900px 680px at -14% 112%, rgba(27, 45, 92, .95), transparent 70%),
    linear-gradient(180deg, var(--navy-900), #081330);
}
.grid-bg::before, .grid-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/svg/chevron-lines.svg") 0 0 / 360px auto repeat;
  animation: chevRise 48s linear infinite;
}
.grid-bg::before {
  opacity: .17;
  -webkit-mask-image: linear-gradient(var(--band, 118deg), transparent 6%, #000 30%, #000 44%, transparent 62%, transparent 74%, rgba(0,0,0,.6) 86%, transparent 98%);
          mask-image: linear-gradient(var(--band, 118deg), transparent 6%, #000 30%, #000 44%, transparent 62%, transparent 74%, rgba(0,0,0,.6) 86%, transparent 98%);
}
.grid-bg::after {
  opacity: .6;
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx, -999px) var(--my, -999px), #000, transparent 72%);
          mask-image: radial-gradient(circle 240px at var(--mx, -999px) var(--my, -999px), #000, transparent 72%);
}
.fases.grid-bg { --band: 62deg; }
.prueba.grid-bg { --band: 140deg; }
.p-sec.grid-bg:nth-of-type(even) { --band: 70deg; }
@keyframes chevRise { to { background-position: 0 -180px; } }
@media (prefers-reduced-motion: reduce) { .grid-bg::before, .grid-bg::after { animation-duration: 120s; } }

/* Marcas de registro (+) en esquinas */
.reg { position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 3; }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--gold-400); }
.reg::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.reg::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.reg-tl { left: -9px; top: -9px; } .reg-tr { right: -9px; top: -9px; }
.reg-bl { left: -9px; bottom: -9px; } .reg-br { right: -9px; bottom: -9px; }
.fig-note { position: absolute; z-index: 3; font-size: .64rem; letter-spacing: .24em; font-weight: 500; color: var(--bone-100); }
.fig-note--ink { color: var(--ink); }

/* Línea de cota que abre cada sección */
.cota { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(28px, 4vw, 56px); }
.cota svg { flex: 1; height: 24px; overflow: visible; }
.cota path { fill: none; stroke: var(--gold-400); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cota-txt { order: -1; font-size: .7rem; letter-spacing: .28em; font-weight: 500; color: var(--bone-100); white-space: nowrap; }
.cota-txt b { color: var(--gold-400); font-weight: 400; letter-spacing: .1em; }
.cota--bone path { stroke: var(--gold-600); }
.cota--bone .cota-txt { color: var(--ink); } .cota--bone .cota-txt b { color: var(--gold-600); }
.js .cota-line, .js .cota-tick { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.js .cota.is-drawn .cota-line, .js .cota.is-drawn .cota-tick { stroke-dashoffset: 0; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--navy-800);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px; border: 1px solid transparent; border-radius: var(--r-pill);
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--gold-foil) border-box;
  color: var(--bone-50); font-weight: 500; font-size: .95rem; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s;
  will-change: transform;
}
.btn .chev { width: 18px; height: 11px; flex: none; }
.btn .wa-ico { width: 20px; height: 20px; flex: none; }
.btn:hover .chev { transform: translateY(-2px); }
.btn .chev { transition: transform .35s var(--ease); }
.btn-foil { background: var(--gold-foil); background-size: 200% 100%; color: var(--navy-950); font-weight: 600; transition: background-position .8s var(--ease), transform .35s var(--ease); }
.btn-foil:hover { background-position: 100% 0; }
.btn-ghost { --bg: var(--navy-900); }
.btn-ghost:hover { --bg: var(--navy-700); }
.btn-navy { --bg: var(--navy-800); }
.btn-navy:hover { --bg: var(--navy-700); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--bone-100); font-size: .9rem; }
.link-line { position: relative; display: inline-flex; gap: 8px; padding: 8px 0; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--bone-50); }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-400); transform-origin: right; transition: transform .5s var(--ease); }
.link-line:hover::after { transform: scaleX(0); }

/* ---------- Splash (máx. 2,2 s + red de seguridad CSS a 4,5 s) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--navy-950);
  animation: splashLift .45s var(--ease-io) 1.85s forwards, splashSafety .01s 4.5s forwards;
}
.splash-in { display: grid; justify-items: center; gap: 22px; }
.splash-iso { width: min(220px, 48vw); overflow: visible; }
.splash-iso path { fill: url(#foil-grad); fill-opacity: 0; stroke: var(--gold-400); stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: isoDraw 1.05s var(--ease) .1s forwards, isoFill .5s ease .95s forwards; }
.splash-iso .iso-roof { animation-delay: .05s, .9s; }
.splash-iso .iso-base { animation-delay: .25s, 1s; }
.splash-word { font-size: clamp(1rem, 3vw, 1.4rem); letter-spacing: .55em; padding-left: .55em; color: var(--gold-300); opacity: 0; animation: fadeUp .5s var(--ease) 1.15s forwards; }
.splash-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold-400); transform: scaleX(0); transform-origin: left; animation: lineX .5s var(--ease-io) 1.45s forwards; }
@keyframes isoDraw { to { stroke-dashoffset: 0; } }
@keyframes isoFill { to { fill-opacity: 1; stroke-width: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lineX { to { transform: scaleX(1); } }
@keyframes splashLift { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); visibility: hidden; } }
.no-splash .splash, .splash.is-out { display: none; }

/* ---------- Barra de anuncio ---------- */
/* Barra de anuncio: fija arriba; el menú y el contenido bajan lo que ella ocupa (--ann-h) */
:root { --ann-h: 0px; }
body:has(.announce) { --ann-h: 38px; padding-top: var(--ann-h); }
.announce { position: fixed; inset: 0 0 auto; z-index: 85; height: var(--ann-h); display: flex; align-items: center; justify-content: center; background: var(--gold-400); color: var(--navy-950); font-size: .85rem; font-weight: 500; padding: 0 var(--gut); white-space: nowrap; overflow: hidden; }
.announce a, .announce span { overflow: hidden; text-overflow: ellipsis; }
.announce a { text-decoration: none; }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: var(--ann-h) 0 auto; z-index: 80; height: var(--nav-h); transition: background-color .4s, border-color .4s, transform .45s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(10, 22, 50, .92); border-color: var(--line-navy); }
@supports (backdrop-filter: blur(8px)) { .nav.is-scrolled { background: rgba(10, 22, 50, .82); backdrop-filter: blur(10px); } }
.nav.is-hidden { transform: translateY(-100%); }
.nav-in { height: 100%; max-width: var(--max); margin: auto; padding-inline: var(--gut); display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: calc(var(--nav-h) - 24px); width: auto; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { position: relative; text-decoration: none; font-size: .86rem; font-weight: 400; color: var(--bone-100); padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; font-size: .82rem; padding: 0 18px; }
.nav-burger { display: none; width: 46px; height: 46px; margin-left: auto; background: none; border: 1px solid var(--line-navy); border-radius: var(--r-pill); cursor: pointer; position: relative; }
.nav-burger span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--bone-50); transition: transform .35s var(--ease); }
.nav-burger span:nth-child(1) { top: 18px; } .nav-burger span:nth-child(2) { top: 26px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.nav-sheet { position: fixed; inset: calc(var(--nav-h) + var(--ann-h)) 0 0; background: var(--navy-950); padding: 28px var(--gut) 40px; display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.nav-sheet[hidden] { display: none; }
.nav-sheet a:not(.btn) { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-navy); font-size: 1.6rem; font-weight: 300; text-decoration: none; }
.nav-sheet .az { font-size: .8rem; color: var(--gold-400); }
.nav-sheet .btn { margin-top: 28px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + clamp(24px, 6vh, 72px)); overflow: clip; }
.hero-in { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.hero-copy { display: grid; gap: clamp(20px, 3vh, 32px); align-content: center; }
.hero-title { font-weight: 300; font-size: clamp(2.3rem, 4.4vw, 4.75rem); line-height: 1.02; letter-spacing: -.02em; max-width: 17ch; text-wrap: balance; }
.hero-sub { max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--bone-100); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero-fig { position: relative; margin: 0; align-self: center; justify-self: end; width: min(100%, 520px); }
.hero-shape { aspect-ratio: 4 / 5; overflow: hidden; clip-path: polygon(50% 0, 100% 19%, 100% 100%, 0 100%, 0 19%); background: var(--navy-800); }
.hero-shape img { width: 100%; height: 112%; object-fit: cover; object-position: 30% 50%; transform: translate3d(0, var(--py, 0px), 0); }
.hero-shape::after { /* viñeta navy */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(6, 13, 33, .55) 100%), linear-gradient(transparent 70%, rgba(6, 13, 33, .35));
}
.hero-fig .reg-tl, .hero-fig .reg-tr { top: calc(19% - 9px); }
.hero-fig .fig-note { left: 0; bottom: -28px; }
.hero-foot { position: relative; display: flex; justify-content: space-between; align-items: end; padding-block: clamp(28px, 5vh, 56px) 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; font-size: .76rem; letter-spacing: .2em; font-weight: 500; text-transform: uppercase; color: var(--bone-100); }
.trust li { padding: 4px 18px; border-left: 1px solid var(--gold-500); }
.trust li:first-child { padding-left: 0; border-left: 0; }
.scroll-cue { position: relative; width: 1px; height: 72px; background: var(--line-navy); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: var(--gold-400); transform-origin: top; animation: cue 2.6s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Split text */
.split-word { display: inline-block; }
.is-split:not(.is-in) .split-word { opacity: 0; transform: translateY(.55em); }
.is-split.is-in .split-word { animation: wordIn .5s var(--ease) both; animation-delay: calc(var(--start, 0s) + var(--i, 0) * 18ms); }
@keyframes wordIn { from { opacity: 0; transform: translateY(.55em); } to { opacity: 1; transform: none; } }
html:not(.no-splash) .home .hero-title { --start: 1.95s; }
.hero-title { --start: 0s; }

/* Reveal genérico (solo si JS corre) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensa: nunca invisible */

/* ---------- 5.2 La película ---------- */
.peli { position: relative; background: var(--navy-950); padding: clamp(80px, 12vh, 140px) 0 0; }
.peli .cota { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.peli-stage { position: relative; }
.peli-list { list-style: none; margin: 0; padding: 0 var(--gut) clamp(60px, 10vh, 120px); max-width: var(--max); margin-inline: auto; display: grid; gap: clamp(28px, 6vh, 64px); }
.peli-list li { font-weight: 300; font-size: clamp(2rem, 5.4vw, 5rem); line-height: 1.06; letter-spacing: -.02em; max-width: 17ch; text-wrap: balance; }
.peli-list u { text-decoration: none; position: relative; white-space: nowrap; color: var(--bone-50); }
.peli-list u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: 2px; background: var(--gold-400); transform-origin: left; }
.peli-meter { display: none; }
/* Modo fijado (lo activa main.js solo con GSAP disponible y en escritorio) */
.peli.is-pinned .peli-stage { height: 100vh; height: 100svh; }
.peli.is-pinned .peli-list { position: absolute; inset: 0; padding-bottom: 0; display: block; }
.peli.is-pinned .peli-list li { position: absolute; left: var(--gut); right: var(--gut); top: 50%; transform: translateY(-50%); opacity: 0; }
.peli.is-pinned .peli-list li:first-child { opacity: 1; }
.peli.is-pinned .peli-list u::after { transform: scaleX(var(--u, 0)); }
.peli.is-pinned .peli-meter { display: block; position: absolute; left: var(--gut); right: var(--gut); bottom: 48px; height: 1px; background: var(--line-navy); }
.peli-meter span { position: absolute; inset: 0; background: var(--gold-400); transform-origin: left; transform: scaleX(0); }

.corte { background: var(--bone-50); color: var(--ink); padding: clamp(90px, 16vh, 180px) 0; }
.corte-in { display: grid; gap: 36px; }
.corte-title { font-weight: 300; font-size: clamp(2.6rem, 7.4vw, 7.4rem); line-height: 1; letter-spacing: -.03em; max-width: 14ch; }
.corte-title strong { font-weight: 600; }
.corte-txt { max-width: 52ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); margin-left: auto; color: #2B3041; border-left: 1px solid var(--gold-600); padding-left: 24px; }

/* ---------- 5.3 Fases Firmes ---------- */
.fases { position: relative; padding: clamp(90px, 14vh, 150px) 0 clamp(70px, 10vh, 120px); }
.fases-head { display: grid; gap: 18px; margin-bottom: clamp(30px, 6vh, 60px); }
.fases-pin { position: relative; }
.fases-grid { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: center; }
.fases-count { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 220px; }
.fases-num { position: relative; z-index: 1; font-size: clamp(3.2rem, 6.5vw, 6.2rem); line-height: 1; background: var(--gold-foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.fases-of { position: absolute; right: 8%; bottom: 14%; font-size: .9rem; color: var(--bone-100); }
.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 1.5; }
.ring-bg { stroke: var(--line-navy); }
.ring-fg { stroke: var(--gold-400); stroke-dasharray: 1; stroke-dashoffset: var(--ring, 0); }
.fases-house { position: relative; }
.house { width: 100%; height: auto; overflow: visible; }
.house .hl { fill: none; stroke: var(--gold-400); stroke-width: 1.15; stroke-linejoin: round; stroke-linecap: round; }
.house .hl-faint { stroke-opacity: .35; }
.house .hl-dash { stroke-dasharray: 5 6; stroke-opacity: .6; }
.house .hl-cota { stroke: var(--gold-300); }
.house .hl-strong { stroke-width: 1.8; }
.house .hf { stroke: none; }
.house .f-top { fill: #213769; } .house .f-front { fill: #1B2D5C; } .house .f-side { fill: #13244C; }
.house .f-roof { fill: #2A4078; } .house .f-roofb { fill: #18295A; } .house .f-win { fill: #0A1632; }
.house .glow { fill: #F6DCA4; opacity: .9; }
.house .glow-halo { mix-blend-mode: screen; opacity: .7; }
.house .h-tag { font: 500 9px "Poppins", sans-serif; letter-spacing: .22em; fill: var(--gold-300); }
.fases-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.fase { border-top: 1px solid var(--line-navy); padding-top: 18px; }
.fase-tag { font-size: .66rem; letter-spacing: .22em; font-weight: 500; color: var(--bone-100); margin-bottom: 10px; }
.fase-tag b { color: var(--gold-300); font-weight: 500; }
.fase-name { font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 10px; }
.fase p:last-child { color: var(--bone-100); max-width: 34ch; }
/* Escritorio fijado */
.fases.is-pinned .fases-pin { height: 100vh; height: 100svh; display: flex; align-items: center; }
.fases.is-pinned .fases-steps { position: relative; display: block; min-height: 260px; }
.fases.is-pinned .fase { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.fases.is-pinned .fase.is-on { opacity: 1; transform: none; }
.fases-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; margin-top: clamp(40px, 8vh, 80px); }
.fases-close-txt { font-weight: 300; font-size: clamp(1.5rem, 2.8vw, 2.6rem); line-height: 1.15; max-width: 26ch; }
.fases-close-txt strong { font-weight: 500; color: var(--gold-300); }
.seal { position: relative; width: 168px; aspect-ratio: 1; flex: none; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; overflow: visible; }
.seal-ring { fill: none; stroke: var(--gold-400); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .seal .seal-ring { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.js .seal.is-drawn .seal-ring { stroke-dashoffset: 0; }
.seal-rot { transform-origin: 100px 100px; animation: spin 26s linear infinite; }
.seal text { font: 500 10.5px "Poppins", sans-serif; letter-spacing: .28em; fill: var(--gold-300); }
.seal-mid { text-align: center; font-size: 1.25rem; line-height: 1.1; color: var(--gold-300); }
.seal-mid small { font-size: .75rem; letter-spacing: .2em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 5.4 Sistema modular ---------- */
.bone { background: var(--bone-50); color: var(--ink); }
.bone .lbl { color: var(--gold-600); }
.modular { padding: clamp(90px, 14vh, 160px) 0; }
.modular-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.modular-copy { display: grid; gap: 22px; align-self: start; }
.modular-fig { position: relative; margin: 0; }
.modular-fig img { width: 100%; mix-blend-mode: multiply; }
.iso-hot { background: var(--bone-50); padding: clamp(14px, 3vw, 40px); }
.iso-hot .fig-note { color: var(--ink); }
.modular-fig .reg::before, .modular-fig .reg::after { background: var(--gold-600); }
.modular-fig .fig-note { right: 0; bottom: -26px; }
.spec { margin: clamp(48px, 8vh, 90px) 0 48px; display: grid; }
.spec-row { display: grid; grid-template-columns: minmax(200px, .5fr) 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--gold-500); position: relative; }
.spec-row:last-child { border-bottom: 1px solid var(--gold-500); }
.spec-row::before { content: ""; position: absolute; left: 0; top: -5px; width: 1px; height: 9px; background: var(--gold-600); }
.spec dt { display: flex; align-items: baseline; gap: 18px; font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 300; }
.spec dt .az { font-size: .9rem; color: var(--gold-600); }
.spec dd { margin: 0; font-size: 1.05rem; color: #2B3041; max-width: 56ch; align-self: center; }
.modular .btn-navy { --bg: var(--navy-800); }

/* ---------- 5.5 Tres caminos ---------- */
.caminos { padding: clamp(90px, 14vh, 150px) 0 clamp(60px, 10vh, 120px); background: var(--navy-900); }
.caminos .h2 { margin-bottom: clamp(30px, 6vh, 60px); }
.bands { border-bottom: 1px solid var(--line-navy); }
.band { border-top: 1px solid var(--line-navy); position: relative; transition: background-color .5s; }
.band.is-open { background: var(--navy-800); }
.band-in { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, .9fr); gap: clamp(16px, 3vw, 48px); align-items: center; min-height: 128px; padding-block: 28px; }
.band-num { font-size: clamp(1.6rem, 3vw, 2.8rem); color: var(--gold-400); }
.band-title { font-weight: 300; font-size: clamp(1.7rem, 3.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; }
.band-body { display: grid; gap: 16px; align-content: center; }
.band-body p, .band-body .btn { display: none; }
.band.is-open .band-body p, .band.is-open .band-body .btn { display: block; animation: fadeUp .5s var(--ease) both; }
.band.is-open .band-body .btn { display: inline-flex; justify-self: start; }
.band-body p { max-width: 44ch; color: var(--bone-100); }
.band-fig { margin: 0; height: 0; overflow: hidden; align-self: stretch; position: relative; clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); transition: clip-path .8s var(--ease-io), height .5s var(--ease); }
.band.is-open .band-fig { height: clamp(220px, 30vw, 380px); clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%); }
.band-fig img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 5.6 Prueba ---------- */
.prueba { padding: clamp(90px, 14vh, 150px) 0 clamp(60px, 10vh, 120px); }
.stats { list-style: none; padding: 0; margin: clamp(40px, 7vh, 70px) 0 clamp(70px, 12vh, 140px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); }
.stats li { display: grid; gap: 18px; align-content: start; }
.stat-n { font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 1; white-space: nowrap; }
.stat-iso { font-size: clamp(2rem, 4.2vw, 4rem); display: grid; }
.stat-iso small { font-size: .32em; letter-spacing: .14em; margin-top: 8px; }
.stat-l { position: relative; padding-top: 16px; border-top: 1px solid var(--gold-500); font-size: .9rem; color: var(--bone-100); max-width: 26ch; }
.stat-l::before, .stat-l::after { content: ""; position: absolute; top: -5px; width: 1px; height: 9px; background: var(--gold-400); }
.stat-l::before { left: 0; } .stat-l::after { right: 0; }

.mapa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(70px, 12vh, 140px); }
.mapa-copy { display: grid; gap: 18px; }
.mapa-txt { font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.15; }
.mapa-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; }
.mapa-list li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line-navy); font-size: .92rem; transition: color .3s, padding .4s var(--ease); }
.mapa-list li span { color: var(--stone-500); text-align: right; }
.mapa-list li.is-on { color: var(--gold-300); padding-left: 10px; }
.mapa-list li.is-on span { color: var(--bone-100); }
.mapa-svg { width: 100%; overflow: visible; }
.mp-dept { fill: rgba(27, 45, 92, .35); stroke: var(--gold-400); stroke-width: 1.2; stroke-linejoin: round; }
.mp-dept--2 { fill: rgba(27, 45, 92, .18); stroke-dasharray: 6 5; stroke-opacity: .7; }
.mp-label { font: 500 12px "Poppins", sans-serif; letter-spacing: .4em; fill: var(--stone-500); }
.mp-pt { cursor: pointer; outline: none; }
.mp-dot { fill: var(--gold-300); }
.mp-pulse { fill: none; stroke: var(--gold-400); transform-box: fill-box; transform-origin: center; animation: pulse 4.2s ease-out infinite; }
.mp-name { font: 500 12px "Poppins", sans-serif; letter-spacing: .2em; fill: var(--bone-100); transition: fill .3s; }
.mp-pt:hover .mp-name, .mp-pt:focus .mp-name, .mp-pt.is-on .mp-name { fill: var(--gold-300); }
.mp-pt:focus-visible .mp-dot { stroke: var(--bone-50); stroke-width: 2; }
@keyframes pulse { 0% { transform: scale(.3); opacity: .9; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* Portafolio con scroll horizontal */
.port { position: relative; }
.port-track { display: flex; gap: clamp(18px, 2.4vw, 36px); padding: 0 var(--gut) 24px; overflow-x: auto; scroll-snap-type: x mandatory; overflow-y: visible; scrollbar-width: thin; scrollbar-color: var(--gold-600) transparent; }
.port.is-pinned .port-track { overflow: visible; width: max-content; will-change: transform; }
.port.is-pinned { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.port-intro { flex: none; width: clamp(240px, 24vw, 360px); display: grid; gap: 18px; align-content: center; padding-right: 12px; scroll-snap-align: start; }
.port-intro-t { font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.1; }
.piece { flex: none; width: clamp(260px, 30vw, 460px); text-decoration: none; display: grid; gap: 18px; scroll-snap-align: start; }
.piece-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-800); }
.piece-media img, .piece-media .placa { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.piece:hover .piece-media img { transform: scale(1.05); }
.piece-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(6, 13, 33, .6)); pointer-events: none; }
.piece-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: baseline; }
.piece-i { font-size: .8rem; color: var(--gold-400); grid-row: span 2; }
.piece-name { font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.05; }
.piece-meta p { color: var(--stone-500); font-size: .86rem; }
.badge { position: absolute; z-index: 2; left: 14px; top: 14px; padding: 6px 10px; font-size: .64rem; letter-spacing: .2em; font-weight: 500; text-transform: uppercase; color: var(--bone-50); background: rgba(6, 13, 33, .82); border: 1px solid var(--gold-500); border-radius: var(--r-pill); }
.badge--vendido { color: var(--stone-500); border-color: var(--stone-500); }
.badge--ultimas_unidades, .badge--entrega_inmediata { color: var(--navy-950); background: var(--gold-300); border-color: var(--gold-300); }

/* Placa de plano (foto pendiente) */
.placa { position: relative; display: grid; place-items: center; align-content: center; gap: 14px; min-height: 220px; padding: 24px; text-align: center; background-color: var(--navy-800);
  background-image: radial-gradient(70% 60% at 70% 20%, rgba(210,180,126,.12), transparent 70%), url("assets/svg/chevron-lines.svg");
  background-size: auto, 260px auto; }
.placa .reg { width: 22px; height: 22px; }
.placa .reg-tl { left: 14px; top: 14px; } .placa .reg-tr { right: 14px; top: 14px; } .placa .reg-bl { left: 14px; bottom: 14px; } .placa .reg-br { right: 14px; bottom: 14px; }
.placa-name { font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.05; letter-spacing: -.01em; }
.placa-tag { font-size: .62rem; letter-spacing: .26em; font-weight: 500; color: var(--bone-100); }

.testi[hidden] { display: none; }

/* ---------- 5.7 Sedes ---------- */
.sedes { padding: clamp(90px, 14vh, 150px) 0; background: var(--navy-900); }
.sedes .h2 { margin-bottom: 14px; }
.sedes-note { margin-bottom: clamp(30px, 6vh, 56px); }
.placas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.placa-obra { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 24px 26px; border: 1px solid var(--line-navy); background: linear-gradient(180deg, rgba(27, 45, 92, .4), transparent 60%); }
.placa-obra .reg { width: 14px; height: 14px; }
.placa-obra .reg-tl { left: -7px; top: -7px; } .placa-obra .reg-tr { right: -7px; top: -7px; } .placa-obra .reg-bl { left: -7px; bottom: -7px; } .placa-obra .reg-br { right: -7px; bottom: -7px; }
.po-n { font-size: .82rem; color: var(--gold-400); }
.po-city { font-weight: 300; font-size: clamp(1.6rem, 2.2vw, 2.1rem); letter-spacing: -.01em; }
.po-addr { color: var(--bone-100); font-size: .95rem; padding-bottom: 14px; border-bottom: 1px dashed var(--line-navy); }
.po-hours { color: var(--stone-500); font-size: .85rem; }
.po-tel { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; min-height: 44px; }
.po-tel .wa-ico { width: 18px; color: var(--gold-400); }
.po-tel:hover { color: var(--gold-300); }
.sedes-mail { margin-top: 36px; color: var(--bone-100); font-size: .92rem; }

/* ---------- 5.8 Cierre ---------- */
.cierre { position: relative; overflow: hidden; background: var(--navy-950); padding: clamp(100px, 16vh, 180px) 0; text-align: center; }
.cierre-iso { position: absolute; left: 50%; top: 50%; width: min(1400px, 140vw); transform: translate(-50%, -50%); opacity: .045; pointer-events: none; }
.cierre-iso path { fill: var(--gold-400); }
.cierre-in { position: relative; display: grid; justify-items: center; gap: clamp(28px, 5vh, 48px); }
.cierre-house { width: min(440px, 80vw); }
.house--cierre .hl { stroke-width: 1.1; }
.js .house--cierre .hl { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.js .house--cierre .hl-dash { stroke-dasharray: 5 6; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s; }
.js .house--cierre .glow, .js .house--cierre .glow-halo { opacity: 0; transition: opacity 1.4s ease 1.6s; }
.js .cierre.is-lit .house--cierre .hl { stroke-dashoffset: 0; }
.js .cierre.is-lit .house--cierre .hl-dash { opacity: 1; }
.js .cierre.is-lit .house--cierre .glow { opacity: .95; }
.js .cierre.is-lit .house--cierre .glow-halo { opacity: .8; }
.cierre-title { font-weight: 300; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 1.04; letter-spacing: -.02em; max-width: 20ch; text-wrap: balance; }
.cierre-title .foil { display: block; }

/* ---------- Pie ---------- */
.foot { background: var(--navy-950); border-top: 1px solid var(--line-navy); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 36px; }
.foot-brand img { width: 150px; margin-bottom: 18px; }
.foot-legal { font-size: .8rem; color: var(--stone-500); line-height: 1.7; }
.foot .lbl { margin-bottom: 14px; font-size: .66rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; color: var(--bone-100); }
.foot a { text-decoration: none; } .foot a:hover { color: var(--gold-300); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-navy); font-size: .8rem; color: var(--stone-500); }
.foot-slogan { font-style: italic; }

/* ---------- WhatsApp flotante ---------- */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 500; font-size: .9rem;
  background: linear-gradient(var(--navy-900), var(--navy-900)) padding-box, var(--gold-foil) border-box; color: var(--bone-50);
  transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.fab .wa-ico { width: 20px; color: var(--gold-300); }
.fab.is-on { transform: none; opacity: 1; }
.fab:hover { background: linear-gradient(var(--navy-700), var(--navy-700)) padding-box, var(--gold-foil) border-box; }
.mbar { display: none; }

/* ---------- Configurador ---------- */
.cfg { width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--gold-500); border-radius: 22px; background: var(--navy-900); color: var(--bone-50); overflow: auto; }
.cfg::backdrop { background: rgba(6, 13, 33, .82); }
.cfg-in { padding: clamp(22px, 4vw, 40px); display: grid; gap: 24px; }
.cfg-head { position: relative; display: grid; gap: 10px; padding-right: 40px; }
.cfg-head h2 { font-weight: 300; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.1; }
.cfg-x { position: absolute; right: -6px; top: -8px; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--bone-100); }
.cfg-bar { height: 2px; background: var(--line-navy); margin-top: 8px; }
.cfg-bar span { display: block; height: 100%; width: 20%; background: var(--gold-foil); transition: width .5s var(--ease); }
.cfg-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.cfg-step legend { display: flex; align-items: baseline; gap: 14px; padding: 0; margin-bottom: 18px; font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 400; }
.cfg-step legend .az { font-size: .8rem; color: var(--gold-400); }
.cfg-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cfg-opt { position: relative; cursor: pointer; }
.cfg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cfg-opt span { display: flex; align-items: center; min-height: 64px; padding: 14px 18px; border: 1px solid var(--line-navy); border-radius: var(--r); background: var(--navy-800); font-size: .98rem; line-height: 1.3; transition: border-color .25s, background-color .25s; }
.cfg-opt:hover span { border-color: var(--gold-500); }
.cfg-opt input:checked + span { border-color: var(--gold-400); background: var(--navy-700); box-shadow: inset 3px 0 0 var(--gold-400); }
.cfg-opt input:focus-visible + span { outline: 2px solid var(--gold-400); outline-offset: 2px; }
.cfg-field { display: grid; gap: 8px; font-size: .95rem; margin-bottom: 18px; }
.cfg-field small { color: var(--stone-500); }
.cfg-field input { min-height: 54px; padding: 0 16px; font: inherit; color: var(--bone-50); background: var(--navy-800); border: 1px solid var(--line-navy); border-radius: var(--r); }
.cfg-field input:focus { border-color: var(--gold-400); outline: none; }
.cfg-check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--bone-100); margin-bottom: 18px; cursor: pointer; }
.cfg-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gold-400); }
.cfg-check a { color: var(--gold-300); }
.cfg-err { color: #F2B8A0; font-size: .88rem; margin-bottom: 14px; }
/* Gracias y qué sigue (después de enviar) */
.cfg-done { display: grid; gap: 16px; }
.cfg-done[hidden], .cfg-foot[hidden] { display: none; }
.cfg[data-done] .cfg-head .lbl { visibility: hidden; }
.cfg-done-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold-400); color: var(--gold-400); }
.cfg-done-ic svg { width: 28px; height: 28px; }
.cfg-done h3 { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 400; line-height: 1.25; }
.cfg-done p { margin: 0; color: var(--bone-100); }
.cfg-next { list-style: none; counter-reset: paso; margin: 4px 0 6px; padding: 0; display: grid; gap: 12px; }
.cfg-next li { counter-increment: paso; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--bone-100); font-size: .95rem; line-height: 1.45; }
.cfg-next li::before { content: "0" counter(paso); font-size: .8rem; color: var(--gold-400); padding-top: 3px; letter-spacing: .06em; }
.cfg-next b { color: var(--bone-50, #F6F2EA); font-weight: 500; }
.cfg-done-close { justify-self: center; }
.cfg-foot { display: flex; justify-content: space-between; align-items: center; min-height: 46px; }
.cfg-foot [data-cfg-next] { margin-left: auto; }
.cfg[data-at="4"] [data-cfg-next] { display: none; }

/* ---------- Cursor (solo escritorio con puntero fino) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: 0; transition: opacity .25s; }
  .cursor.is-ready { opacity: 1; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-300); }
  .cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid var(--gold-400); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s; opacity: .7; }
  .cursor.is-hover .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; opacity: 1; }
}

/* ==========================================================================
   Proyectos (listado y landing)
   ========================================================================== */
.page-top { padding: calc(var(--nav-h) + clamp(40px, 8vh, 90px)) 0 clamp(40px, 6vh, 70px); }
.page-top .h2 { max-width: 18ch; }
.page-top p.lead { margin-top: 18px; color: var(--bone-100); max-width: 52ch; }
.filters { display: flex; flex-wrap: wrap; gap: 26px 40px; margin: 36px 0 0; }
.filter-g { display: grid; gap: 10px; }
.filter-g .lbl { font-size: .64rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--line-navy); border-radius: var(--r-pill); text-decoration: none; font-size: .85rem; color: var(--bone-100); transition: border-color .25s, color .25s, background-color .25s; }
.chip:hover { border-color: var(--gold-500); }
.chip.is-on { border-color: var(--gold-400); color: var(--navy-950); background: var(--gold-300); }
.plist { display: grid; align-items: start; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(18px, 2.4vw, 36px); padding-bottom: clamp(80px, 12vh, 140px); }
.plist .piece { width: auto; grid-column: span 4; }
.plist .piece:nth-child(5n+1) { grid-column: span 7; }
.plist .piece:nth-child(5n+1) .piece-media { aspect-ratio: 16 / 11; }
.plist .piece:nth-child(5n+2) { grid-column: span 5; margin-top: 12vh; }
.plist .piece[hidden] { display: none; }
.plist-empty { grid-column: 1 / -1; padding: 60px 0; color: var(--bone-100); }

/* Landing de proyecto */
.p-hero { position: relative; min-height: 92vh; min-height: 92svh; display: grid; align-items: end; padding: calc(var(--nav-h) + 40px) 0 clamp(36px, 7vh, 80px); overflow: hidden; }
.p-hero-media { position: absolute; inset: 0; }
.p-hero-media img, .p-hero-media .placa { width: 100%; height: 100%; object-fit: cover; }
.p-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,33,.55) 0%, rgba(6,13,33,.15) 35%, rgba(6,13,33,.88) 100%), radial-gradient(120% 80% at 50% 40%, transparent 50%, rgba(6,13,33,.5)); }
.p-hero-in { position: relative; display: grid; gap: 22px; }
.p-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.p-hero .badge { position: static; }
.p-title { font-weight: 300; font-size: clamp(2.3rem, 5.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.p-sub { max-width: 50ch; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--bone-100); }
.p-name { font-size: .78rem; letter-spacing: .3em; color: var(--gold-300); }
.p-preview { position: fixed; left: 0; right: 0; top: calc(var(--nav-h) + var(--ann-h)); z-index: 75; text-align: center; padding: 8px; font-size: .8rem; font-weight: 500; background: var(--gold-300); color: var(--navy-950); }

.p-sec { padding: clamp(70px, 11vh, 130px) 0; }
.p-sec-head { display: grid; gap: 14px; margin-bottom: clamp(30px, 5vh, 56px); }
.ficha { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--gold-500); border-left: 1px solid var(--line-navy); }
.ficha div { padding: 22px 22px 24px; border-right: 1px solid var(--line-navy); border-bottom: 1px solid var(--line-navy); display: grid; gap: 6px; position: relative; }
.ficha dt { font-size: .66rem; letter-spacing: .24em; font-weight: 500; text-transform: uppercase; color: var(--stone-500); }
.ficha dd { margin: 0; font-weight: 300; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.2; }
.ficha .is-key { background: rgba(27, 45, 92, .45); }
.ficha .is-key dd { font-family: "Azonix", sans-serif; font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--gold-300); }
.ficha-list { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.ficha-list li { padding: 8px 14px; border: 1px solid var(--line-navy); font-size: .88rem; color: var(--bone-100); }
.p-desc { margin-top: 36px; max-width: 64ch; color: var(--bone-100); font-size: 1.05rem; display: grid; gap: 14px; }
.p-desc strong { color: var(--bone-50); font-weight: 500; }
.p-desc a { color: var(--gold-300); }

.gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.gal-item { position: relative; margin: 0; overflow: hidden; background: var(--navy-800); cursor: zoom-in; border: 0; padding: 0; grid-column: span 4; aspect-ratio: 4 / 3; }
.gal-item:nth-child(6n+1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.gal-item:nth-child(6n+4) { grid-column: span 6; }
.gal-item:nth-child(6n+5) { grid-column: span 6; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gal-item:hover img { transform: scale(1.04); }
.js .gal-item img { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-io), transform 1s var(--ease); }
.js .gal-item.is-visible img { clip-path: inset(0 0 0 0); }
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 13, 33, .96); color: var(--bone-50); }
.lb::backdrop { background: rgba(6, 13, 33, .9); }
.lb-in { position: relative; height: 100%; display: grid; place-items: center; padding: 64px 16px 40px; }
.lb img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: .82rem; color: var(--bone-100); padding: 0 60px; }
.lb button { position: absolute; width: 52px; height: 52px; border: 1px solid var(--line-navy); background: var(--navy-900); color: var(--bone-50); cursor: pointer; font-size: 1.4rem; border-radius: 50%; }
.lb-x { right: 14px; top: 14px; } .lb-prev { left: 14px; top: 50%; } .lb-next { right: 14px; top: 50%; }

.ubic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ubic-txt { font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.3; }
.ubic-map { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line-navy); }
.ubic-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

.ventajas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.ventaja { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--gold-500); }
.ventaja .az { color: var(--gold-600); font-size: .9rem; padding-top: 6px; }
.ventaja h3 { font-weight: 400; font-size: 1.3rem; margin-bottom: 6px; }
.ventaja p { color: #2B3041; }
.fin-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fin-tags span { padding: 8px 14px; border: 1px solid var(--gold-600); font-size: .85rem; color: var(--ink); }

.bita { position: relative; display: grid; gap: 0; margin-left: 10px; border-left: 1px solid var(--gold-500); }
.bita-item { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 0 0 48px 32px; }
.bita-item::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; background: var(--navy-900); border: 1px solid var(--gold-400); transform: rotate(45deg); }
.bita-date { font-size: .8rem; letter-spacing: .14em; color: var(--bone-100); }
.bita-phase { display: block; margin-top: 6px; font-size: .66rem; letter-spacing: .24em; color: var(--gold-300); font-weight: 500; }
.bita-note { font-size: 1.05rem; color: var(--bone-50); margin-bottom: 16px; max-width: 60ch; }
.bita-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.bita-imgs .gal-item { grid-column: auto; aspect-ratio: 1; }

.p-close { text-align: center; padding: clamp(80px, 14vh, 150px) 0; background: var(--navy-950); position: relative; overflow: hidden; }
.p-close .wrap { display: grid; justify-items: center; gap: 28px; position: relative; }
.p-obj { font-weight: 300; font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.12; max-width: 22ch; text-wrap: balance; }
.p-legal { max-width: 70ch; font-size: .78rem; color: var(--stone-500); margin-top: 20px; }

/* Hotspots del isométrico */
.iso-hot { position: relative; }
.hot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 1px solid var(--gold-400); background: rgba(6, 13, 33, .7); color: var(--gold-300); font: 500 .7rem "Poppins"; cursor: pointer; display: grid; place-items: center; padding: 0; }
.hot::after { content: attr(data-label); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; background: var(--navy-950); color: var(--bone-50); font-size: .74rem; letter-spacing: .06em; padding: 6px 10px; border: 1px solid var(--gold-500); opacity: 0; pointer-events: none; transition: opacity .25s; }
.hot:hover::after, .hot:focus-visible::after, .hot.is-on::after { opacity: 1; }

/* Política */
.legal { padding: calc(var(--nav-h) + 60px) 0 100px; }
.legal-in { max-width: 820px; display: grid; gap: 18px; }
.legal h1 { font-weight: 300; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin-bottom: 12px; }
.legal h2 { font-weight: 500; font-size: 1.15rem; margin-top: 22px; color: var(--gold-300); }
.legal p, .legal li { color: var(--bone-100); }
.legal a { color: var(--gold-300); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .fases-grid { grid-template-columns: minmax(120px, .6fr) minmax(0, 1.4fr) minmax(0, 1fr); }
  .placas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-fig { justify-self: start; width: min(100%, 420px); }
  .modular-grid, .mapa, .ubic { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .band-in { grid-template-columns: 1fr; gap: 16px; }
  .band-body p, .band-body .btn { display: block; }
  .band-body .btn { display: inline-flex; justify-self: start; }
  .band-fig { height: auto; aspect-ratio: 16 / 10; clip-path: polygon(50% 0, 100% 18%, 100% 100%, 0 100%, 0 18%); }
  .band { background: transparent; }
  /* Fases: línea de tiempo vertical con la casa sticky arriba (40vh) */
  .fases-grid { grid-template-columns: 1fr; gap: 0; }
  .fases-count { position: absolute; z-index: 3; top: calc(var(--nav-h) + 6px); left: var(--gut); width: 76px; height: 76px; max-width: none; }
  .fases-num { font-size: 1.55rem; }
  .fases-of { display: none; }
  .fases-house { position: sticky; top: calc(var(--nav-h) + var(--ann-h)); z-index: 2; height: 40vh; height: 40svh; display: grid; place-items: center; background: linear-gradient(var(--navy-900) 82%, transparent); }
  .fases-house .house { height: 100%; width: auto; max-width: 100%; }
  .fases-count { position: sticky; top: calc(var(--nav-h) + var(--ann-h) + 8px); margin-bottom: calc(-76px); }
  .fases-steps { gap: 0; padding-top: 4vh; }
  .fase { min-height: 46vh; padding-top: 22px; border-top: 0; border-left: 1px solid var(--gold-500); padding-left: 22px; position: relative; opacity: .45; transition: opacity .4s; }
  .fase.is-on { opacity: 1; }
  .fase::before { content: ""; position: absolute; left: -5px; top: 26px; width: 9px; height: 9px; background: var(--navy-900); border: 1px solid var(--gold-400); transform: rotate(45deg); }
  .plist .piece, .plist .piece:nth-child(5n+1), .plist .piece:nth-child(5n+2) { grid-column: span 6; margin-top: 0; }
  .plist .piece:nth-child(5n+1) .piece-media { aspect-ratio: 4 / 5; }
  .gal-item, .gal-item:nth-child(6n+1), .gal-item:nth-child(6n+4), .gal-item:nth-child(6n+5) { grid-column: span 6; grid-row: auto; aspect-ratio: 4 / 3; }
  .gal-item:nth-child(3n+1) { grid-column: span 12; }
  .ventajas { grid-template-columns: 1fr; }
  .bita-item { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 767px) {
  :root { --nav-h: 64px; }
  .nav-logo img { height: 42px; }
  .fab { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gold-600); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform .5s var(--ease); border-top: 1px solid var(--gold-500); }
  .mbar.is-on { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; background: var(--navy-950); text-decoration: none; font-weight: 500; font-size: .92rem; }
  .mbar a.is-gold { background: var(--gold-foil); color: var(--navy-950); }
  .mbar .wa-ico { width: 18px; color: var(--gold-300); }
  .mbar .chev { width: 16px; height: 10px; }
  body { padding-bottom: 0; }
  .foot { padding-bottom: 90px; }
  .hero-title { font-size: clamp(2.05rem, 9.2vw, 2.8rem); }
  .hero-actions .btn { width: 100%; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .scroll-cue { display: none; }
  .trust li { padding: 4px 12px; font-size: .68rem; letter-spacing: .14em; }
  .peli-list li { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .peli-list u { white-space: normal; }
  .corte-txt { margin-left: 0; }
  .spec-row { grid-template-columns: 1fr; gap: 10px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-n { font-size: clamp(1.9rem, 10vw, 2.6rem); }
  .placas { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .cfg-opts { grid-template-columns: 1fr; }
  .cfg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; margin: 0; }
  .cfg-opt span { min-height: 56px; }
  .fases-close { flex-direction: column; align-items: flex-start; }
  .seal { width: 132px; }
  .piece { width: 78vw; }
  .plist .piece, .plist .piece:nth-child(5n+1), .plist .piece:nth-child(5n+2) { grid-column: 1 / -1; }
  .ficha { grid-template-columns: 1fr 1fr; }
  .ficha div { padding: 16px; }
  .ficha dd { font-size: 1.05rem; }
  .p-hero { min-height: 86svh; }
  .p-sticky { display: flex; }
  .mapa-list li { font-size: .86rem; }
  .cota-txt { font-size: .62rem; letter-spacing: .2em; }
  .band-title { font-size: 1.9rem; }
}

/* Gating SOLO de lo intrusivo (Windows trae reduced-motion activo con frecuencia) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mp-pulse, .scroll-cue span { animation: none; }
  .hero-shape img { transform: none !important; }
}

/* Split: el foil entra como unidad (no se rompe el brillo continuo) */
.split-word.split-inline { display: inline; }
.is-split:not(.is-in) .split-inline { transform: none; }
.is-split.is-in .split-inline { animation-name: wordFade; animation-duration: .6s; }
@keyframes wordFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 767px) { .mbar--one { grid-template-columns: 1fr; } }

/* ==========================================================================
   Hero · Isotipo 3D (el ave gira: oro foil por una cara, el niño por la otra)
   ========================================================================== */
.hero-fig { margin: 0; justify-self: end; width: min(100%, 580px); }
.coin-stage { position: relative; margin: 0; padding: 4% 4% 14%; perspective: 1600px; perspective-origin: 50% 40%; }
.coin { position: relative; aspect-ratio: 695 / 797; width: 72%; margin-inline: auto; transform-style: preserve-3d; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .9s var(--ease); }
.coin-spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: coinIn 2.6s cubic-bezier(.14, .8, .22, 1) var(--coin-delay, 1.9s) both, coinSpin 18s linear calc(var(--coin-delay, 1.9s) + 2.6s) infinite; }
.no-splash .coin-spin { --coin-delay: .15s; }
.coin-stage:hover .coin-spin { animation-play-state: running, paused; }
@keyframes coinIn { 0% { transform: rotateY(-720deg) scale(.35); opacity: 0; } 35% { opacity: 1; } 100% { transform: rotateY(0) scale(1); opacity: 1; } }
@keyframes coinSpin { to { transform: rotateY(360deg); } }
.coin-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin-front { transform: translateZ(7px); filter: drop-shadow(0 0 1px rgba(255, 236, 190, .5)); }
.coin-front img { width: 100%; height: 100%; }
.coin-front::after { /* brillo metálico que cruza */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 244, 214, .75) 48%, rgba(255, 244, 214, 0) 58%) 0 0 / 260% 100% no-repeat;
  -webkit-mask: url("assets/img/zbl-coin-oro-960.webp") center / 100% 100% no-repeat; mask: url("assets/img/zbl-coin-oro-960.webp") center / 100% 100% no-repeat;
  mix-blend-mode: overlay; animation: coinSheen 6s ease-in-out infinite;
}
@keyframes coinSheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.coin-back { transform: rotateY(180deg) translateZ(7px); }
.coin-back svg { width: 100%; height: 100%; overflow: visible; }
.coin-back-line { fill: none; stroke: var(--gold-400); stroke-width: 3; }
.coin-edge { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--z) * 1px)); fill: url(#iso3d-edge); }
.coin-glow { position: absolute; left: 50%; top: 46%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(233, 211, 163, .22), rgba(210, 180, 126, .07) 55%, transparent 75%); animation: glowBreath 7s ease-in-out infinite; }
@keyframes glowBreath { 50% { opacity: .65; transform: translate(-50%, -50%) scale(.94); } }
.coin-orbit { position: absolute; left: 50%; bottom: 4%; width: 92%; transform: translateX(-50%) rotateX(76deg); transform-origin: 50% 50%; overflow: visible; pointer-events: none; }
.coin-orbit circle { fill: none; stroke: var(--gold-500); stroke-width: 1; stroke-dasharray: 2 10; transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.coin-orbit .coin-orbit-in { stroke: var(--gold-300); stroke-dasharray: 60 900; stroke-width: 1.5; animation-duration: 9s; animation-direction: reverse; }
.coin-floor { position: absolute; left: 50%; bottom: 9%; width: 58%; height: 26px; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
.coin-note { right: 4%; bottom: 0; white-space: nowrap; color: var(--bone-100); }
@media (max-width: 960px) { .hero-fig { justify-self: center; width: min(100%, 440px); } }

/* ==========================================================================
   5.4 · Recorrido del sistema modular (experiencia tipo videojuego)
   Sin JS: sección editorial. Con GSAP: .is-live → escena fijada a pantalla completa.
   ========================================================================== */
.walk { position: relative; background: var(--navy-950); color: var(--bone-50); }
.walk-stage { position: relative; overflow: hidden; }
/* --- Modo base (sin JS) --- */
.walk-scenes { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.scene { margin: 0; position: absolute; inset: 0; }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.walk:not(.is-live) .scene:not([data-scene="0"]), .walk:not(.is-live) .hud, .walk:not(.is-live) .scene-grow, .walk:not(.is-live) .walk-hint { display: none; }
.walk:not(.is-live) .walk-intro { position: absolute; left: var(--gut); right: var(--gut); top: clamp(30px, 6vw, 80px); }
.walk:not(.is-live) .walk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 40px var(--gut); max-width: var(--max); margin: auto; }
.walk:not(.is-live) .walk-end { padding: 0 var(--gut) 80px; max-width: var(--max); margin: auto; }
.walk-shade { position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(120% 90% at 50% 50%, transparent 45%, rgba(6, 13, 33, .78) 100%), linear-gradient(180deg, rgba(6,13,33,.55), transparent 22%, transparent 70%, rgba(6,13,33,.7)); }

/* --- Modo vivo (fijado) --- */
.walk.is-live .walk-stage { height: 100vh; height: 100svh; }
.walk.is-live .walk-scenes { position: absolute; inset: 0; aspect-ratio: auto; }
.walk.is-live .scene { opacity: 0; will-change: transform, opacity; transform-origin: 50% 60%; }
.walk.is-live .scene[data-scene="0"] { opacity: 1; }
.scene--plan { background: var(--bone-50); display: grid; place-items: center; }
.scene--plan img { width: auto; height: 86%; max-width: 92%; object-fit: contain; mix-blend-mode: multiply; }
.walk.is-plan .walk-shade { opacity: 0; }
.walk-shade { transition: opacity .6s; }
.scene-grow { position: absolute; z-index: 1; right: 14%; top: 22%; opacity: 0; padding: 8px 14px; border: 1px dashed var(--gold-600); border-radius: var(--r-pill); color: var(--gold-600); font: 600 .72rem "Poppins"; letter-spacing: .24em; background: rgba(246, 242, 234, .9); }

/* HUD */
.hud { position: absolute; inset: clamp(14px, 2.4vw, 32px); z-index: 4; pointer-events: none; color: var(--bone-50); transition: color .6s; }
.walk.is-plan .hud { color: var(--ink); }
.hud-c { position: absolute; width: 34px; height: 34px; border: 0 solid var(--gold-400); }
.hud-c--tl { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; border-top-left-radius: 14px; }
.hud-c--tr { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; border-top-right-radius: 14px; }
.hud-c--bl { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; border-bottom-left-radius: 14px; }
.hud-c--br { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: 14px; }
.hud-tl { position: absolute; left: 22px; top: 18px; display: grid; gap: 6px; }
.hud-rec { display: flex; align-items: center; gap: 8px; font: 500 .64rem "Poppins"; letter-spacing: .26em; }
.hud-rec i { width: 7px; height: 7px; border-radius: 50%; background: #E0644B; box-shadow: 0 0 0 4px rgba(224, 100, 75, .18); animation: recBlink 1.6s steps(2, start) infinite; }
@keyframes recBlink { to { visibility: hidden; } }
.hud-scene { display: flex; align-items: baseline; gap: 10px; }
.hud-scene .az { font-size: 1.5rem; color: var(--gold-300); }
.walk.is-plan .hud-scene .az { color: var(--gold-600); }
.hud-sep { font-size: .78rem; opacity: .6; }
.hud-scene b { font-weight: 500; font-size: .78rem; letter-spacing: .28em; }
.hud-map { position: absolute; right: 22px; top: 18px; width: clamp(110px, 12vw, 168px); aspect-ratio: 1536 / 800; border-radius: 12px; overflow: hidden; border: 1px solid rgba(210, 180, 126, .55); background: var(--navy-900); transition: opacity .5s; }
.hud-map img { width: 100%; height: 100%; object-fit: cover; opacity: .7; filter: saturate(.6); }
.walk.is-plan .hud-map { opacity: 0; }
.hud-dot { position: absolute; left: var(--dx, 50%); top: var(--dy, 94%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 0 3px rgba(6, 13, 33, .7), 0 0 14px rgba(233, 211, 163, .9); }
.hud-dot i { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: conic-gradient(from calc(var(--dir, 0deg) - 25deg), rgba(233,211,163,.55) 0 50deg, transparent 50deg); }
.hud-map-l { position: absolute; left: 8px; bottom: 5px; font: 600 .55rem "Poppins"; letter-spacing: .24em; color: var(--bone-50); text-shadow: 0 1px 3px #000; }
.hud-cross { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: .5; }
.hud-cross::before, .hud-cross::after { content: ""; position: absolute; background: currentColor; }
.hud-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; } .hud-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.hud-bottom { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 18px; }
.hud-track { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(246, 242, 234, .18); }
.walk.is-plan .hud-track { background: rgba(10, 15, 30, .15); }
.hud-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); border-radius: 3px; background: var(--gold-foil); }
.hud-cp { position: absolute; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-950); border: 1px solid rgba(246, 242, 234, .35); transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
.hud-cp b { font-size: .58rem; color: var(--bone-100); }
.hud-cp.is-on { background: var(--gold-400); border-color: var(--gold-300); transform: scale(1.18); box-shadow: 0 0 18px rgba(233, 211, 163, .6); }
.hud-cp.is-on b { color: var(--navy-950); }
.hud-pct { font-size: .8rem; min-width: 4ch; text-align: right; }

/* Intro y final */
.walk-intro { z-index: 5; display: grid; gap: 18px; max-width: 760px; }
.walk.is-live .walk-intro { position: absolute; left: clamp(32px, 7vw, 120px); bottom: clamp(90px, 16vh, 160px); }
.walk-title { font-weight: 300; font-size: clamp(2.3rem, 5.4vw, 5.2rem); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 2px 30px rgba(6, 13, 33, .6); }
.walk-hint { display: flex; align-items: center; gap: 12px; font: 500 .72rem "Poppins"; letter-spacing: .26em; text-transform: uppercase; color: var(--bone-100); }
.walk-mouse { width: 20px; height: 32px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.walk-mouse i { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-300); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 60% { transform: translateY(9px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }
.walk-end { z-index: 5; display: grid; gap: 16px; justify-items: start; }
.walk.is-live .walk-end { position: absolute; left: clamp(32px, 7vw, 120px); bottom: clamp(80px, 14vh, 140px); opacity: 0; visibility: hidden; }
.walk.is-plan .walk-end .lbl { color: var(--gold-600); }

/* Tarjetas tipo "objetivo desbloqueado" */
.wcard { position: relative; padding: 22px 24px; border-radius: 18px; background: linear-gradient(160deg, rgba(17, 32, 69, .94), rgba(6, 13, 33, .94)); border: 1px solid rgba(210, 180, 126, .45); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(233, 211, 163, .2); display: grid; gap: 12px; }
.wcard::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: var(--gold-foil); }
.wcard-tag { font: 500 .6rem "Poppins"; letter-spacing: .26em; color: var(--bone-100); }
.wcard-tag b { color: var(--gold-300); font-weight: 600; }
.wcard-head { display: flex; align-items: baseline; gap: 14px; }
.wcard-n { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; background: var(--gold-foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.wcard h3 { font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.01em; }
.wcard p:not(.wcard-tag) { color: var(--bone-100); font-size: .96rem; }
.walk.is-live .walk-cards { position: absolute; z-index: 5; right: clamp(24px, 5vw, 90px); top: 50%; width: min(400px, 36vw); height: 0; }
.walk.is-live .wcard { position: absolute; left: 0; right: 0; top: 0; transform: translateY(-50%); opacity: 0; visibility: hidden; }
.wmeter { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(210, 180, 126, .2); }
.wmeter--time div { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; font-size: .72rem; color: var(--stone-500); }
.wmeter--time i { height: 6px; border-radius: 6px; background: rgba(246, 242, 234, .22); width: var(--w); }
.wmeter--time .is-zbl { color: var(--gold-300); } .wmeter--time .is-zbl i { background: var(--gold-foil); }
.wmeter--cost { grid-template-columns: repeat(6, 1fr); gap: 6px; }
.wmeter--cost span { display: grid; justify-items: center; gap: 4px; padding: 8px 0 6px; border-radius: 10px; border: 1px solid rgba(210, 180, 126, .35); background: rgba(210, 180, 126, .06); }
.wmeter--cost b { font-size: .55rem; color: var(--gold-300); }
.wmeter--cost svg { width: 11px; height: 13px; fill: none; stroke: var(--gold-400); stroke-width: 1.4; }
.wmeter--cost em { grid-column: 1 / -1; font-style: normal; font: 500 .58rem "Poppins"; letter-spacing: .24em; color: var(--stone-500); }
.wmeter--grow { grid-auto-flow: column; justify-content: start; align-items: center; gap: 6px; font: 500 .58rem "Poppins"; letter-spacing: .2em; color: var(--stone-500); }
.wmeter--grow i { width: 26px; height: 20px; border-radius: 5px; border: 1px solid var(--gold-400); background: rgba(210, 180, 126, .15); }
.wmeter--grow i.is-new { border-style: dashed; background: transparent; }
.wmeter--grow b { color: var(--gold-300); font-size: 1rem; }

@media (max-width: 960px) {
  .walk:not(.is-live) .walk-cards { grid-template-columns: 1fr; }
  .walk:not(.is-live) .walk-scenes { aspect-ratio: 4 / 5; }
  .walk.is-live .walk-cards { left: 16px; right: 16px; top: auto; bottom: 64px; width: auto; height: auto; }
  .walk.is-live .wcard { top: auto; bottom: 0; transform: none; padding: 18px; }
  .wcard p:not(.wcard-tag) { font-size: .9rem; }
  .walk.is-live .walk-intro, .walk.is-live .walk-end { left: 22px; right: 22px; bottom: 92px; }
  .hud-tl { left: 14px; top: 14px; } .hud-map { right: 14px; top: 14px; }
  .hud-rec { font-size: .52rem; letter-spacing: .16em; max-width: 52vw; }
  .hud-bottom { left: 14px; right: 14px; bottom: 16px; }
  .scene-grow { right: 8%; top: 28%; }
  .walk.is-live .walk-end .btn { width: 100%; }
  .scene--plan img { height: auto; width: 92%; }
}
.walk.is-live .walk-intro::before { content: ""; position: absolute; z-index: -1; inset: -40% -25% -35% -35%; pointer-events: none; background: radial-gradient(closest-side, rgba(6, 13, 33, .88), rgba(6, 13, 33, .5) 60%, transparent); }

/* Redes sociales en oro */
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(210, 180, 126, .45); background: radial-gradient(circle at 30% 25%, rgba(233, 211, 163, .12), transparent 70%); transition: transform .35s var(--ease), border-color .3s, background-color .3s; }
.social a:hover { transform: translateY(-3px); border-color: var(--gold-300); background-color: rgba(210, 180, 126, .1); }
.social svg { width: 20px; height: 20px; }
.foot .foot-social { display: grid; gap: 10px; margin-top: 4px; }
.foot .foot-social span { font-size: .8rem; color: var(--stone-500); letter-spacing: .04em; }

/* ==========================================================================
   5.7 · Sedes en el libro del isotipo
   ========================================================================== */
.sedes .h2 { margin-bottom: 14px; }
.book { position: relative; max-width: 1180px; margin: clamp(30px, 5vh, 60px) auto 0; padding-top: clamp(150px, 16vw, 210px); }
.book-eagle { position: absolute; z-index: 3; left: 50%; top: 0; width: clamp(200px, 22vw, 300px); transform: translateX(-50%); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); transition: transform 1.2s var(--ease) .5s, opacity 1s ease .5s; }
.book-eagle img { width: 100%; height: auto; }
.book-eagle::after { /* brillo foil que cruza */
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 244, 214, .8) 48%, transparent 58%) 0 0 / 260% 100% no-repeat;
  -webkit-mask: url("assets/img/iso-oro-960.webp") center / 100% 100% no-repeat; mask: url("assets/img/iso-oro-960.webp") center / 100% 100% no-repeat;
  animation: coinSheen 7s ease-in-out infinite;
}
.book-open { position: relative; display: grid; grid-template-columns: 1fr 1fr; perspective: 2400px; perspective-origin: 50% 0; padding-bottom: 9%; }
.page { position: relative; aspect-ratio: 500 / 340; transform-style: preserve-3d; transition: transform 1.5s cubic-bezier(.2, .8, .2, 1); }
.page--l { transform-origin: 100% 50%; transform: rotateY(14deg); }
.page--r { transform-origin: 0 50%; transform: rotateY(-14deg); }
.page::before { /* hoja: forma de la V del isotipo */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 70% 20%, rgba(210, 180, 126, .1), transparent 70%),
    linear-gradient(160deg, rgba(24, 41, 90, .9), rgba(10, 22, 50, .94) 70%),
    url("assets/svg/chevron-lines.svg") 0 0 / 300px auto,
    var(--navy-900);
  clip-path: polygon(0 0, 100% 13.6%, 100% 106.4%, 0 86%);
}
.page--r::before { clip-path: polygon(0 13.6%, 100% 0, 100% 86%, 0 106.4%); background-position: 0 0, 0 0, 150px 0, 0 0; }
.page::after { /* sombra del lomo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  clip-path: polygon(0 0, 100% 13.6%, 100% 106.4%, 0 86%);
  background: linear-gradient(to left, rgba(3, 7, 20, .55), transparent 16%);
}
.page--r::after { clip-path: polygon(0 13.6%, 100% 0, 100% 86%, 0 106.4%); background: linear-gradient(to right, rgba(3, 7, 20, .55), transparent 16%); }
.page-art { position: absolute; inset: 0; width: 100%; height: 106.4%; overflow: visible; pointer-events: none; z-index: 1; }
.pg-line { fill: none; stroke: rgba(210, 180, 126, .55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pg-stack { fill: none; stroke: rgba(210, 180, 126, .28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pg-v { fill: url(#foil-grad); transition: opacity 1s ease 1.1s; }
.page-in { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(16px, 2.4vw, 34px); padding: 17% 9% 14% 9%; align-content: start; }
.page--r .page-in { padding-top: 16%; }
.page--l .page-in { padding-right: 11%; } .page--r .page-in { padding-left: 11%; }
.sede { display: grid; gap: 8px; align-content: start; }
.sede + .sede { border-left: 1px solid rgba(210, 180, 126, .2); padding-left: clamp(16px, 2.4vw, 34px); }
.sede-n { font-size: .85rem; color: var(--gold-400); }
.sede-city { font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 2.1rem); letter-spacing: -.01em; line-height: 1.1; }
.sede-addr { color: var(--bone-100); font-size: .95rem; }
.sede-hours { color: var(--stone-500); font-size: .85rem; }
.sede-tel { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; min-height: 44px; padding: 0 16px; justify-self: start; border-radius: var(--r-pill); border: 1px solid rgba(210, 180, 126, .45); text-decoration: none; font-weight: 500; font-size: .92rem; font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color .3s, border-color .3s; }
.sede-tel .wa-ico { width: 17px; color: var(--gold-300); }
.sede-tel:hover { background: rgba(210, 180, 126, .12); border-color: var(--gold-300); }
.book-spine { position: absolute; z-index: 2; left: 50%; top: 0; bottom: 3%; width: 2px; margin-left: -1px; background: linear-gradient(var(--gold-600), var(--gold-300) 70%, var(--gold-400)); }
.book-spine::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--gold-foil); box-shadow: 0 0 20px rgba(233, 211, 163, .5); }
/* Apertura al entrar en pantalla (solo con JS; sin JS se ve abierto) */
.js .book:not(.is-open) .page--l { transform: rotateY(80deg); }
.js .book:not(.is-open) .page--r { transform: rotateY(-80deg); }
.js .book:not(.is-open) .book-eagle { transform: translate(-50%, -30px); opacity: 0; }
.js .book:not(.is-open) .pg-v { opacity: 0; }
.page--r { transition-delay: .08s; }
.sedes-mail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 40px; color: var(--bone-100); font-size: .92rem; text-align: center; }
.sedes-mail b { color: var(--gold-300); font-weight: 500; }

@media (max-width: 1100px) {
  .page-in { grid-template-columns: 1fr; gap: 22px; padding-bottom: 22%; }
  .sede + .sede { border-left: 0; padding-left: 0; border-top: 1px solid rgba(210, 180, 126, .2); padding-top: 18px; }
  .page { aspect-ratio: 500 / 520; }
}
@media (max-width: 760px) {
  .book { padding-top: 130px; }
  .book-open { grid-template-columns: 1fr; gap: 16px; padding-bottom: 60px; perspective: none; }
  .page, .page--l, .page--r, .js .book:not(.is-open) .page--l, .js .book:not(.is-open) .page--r { aspect-ratio: auto; transform: none; }
  .js .book:not(.is-open) .page { opacity: 0; transform: translateY(30px); }
  .page { transition: transform 1s var(--ease), opacity .8s; }
  .page::before, .page::after, .page--r::before, .page--r::after { clip-path: none; border-radius: 22px; }
  .page::before { border: 1px solid rgba(210, 180, 126, .35); }
  .page::after { background: none; }
  .page-art, .book-spine { display: none; }
  .page-in, .page--l .page-in, .page--r .page-in { padding: 26px 22px; }
  .book-open::after { /* la V del libro bajo las hojas */
    content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 46px;
    background: linear-gradient(to bottom right, transparent calc(50% - 2px), var(--gold-400) calc(50% - 2px), var(--gold-300) calc(50% + 2px), transparent calc(50% + 2px)) left / 50% 100% no-repeat,
                linear-gradient(to bottom left, transparent calc(50% - 2px), var(--gold-400) calc(50% - 2px), var(--gold-300) calc(50% + 2px), transparent calc(50% + 2px)) right / 50% 100% no-repeat;
  }
}
.foot ul.social { display: flex; gap: 10px; }
.foot-credit a { color: var(--gold-300); text-decoration: none; border-bottom: 1px solid rgba(210, 180, 126, .4); } .foot-credit a:hover { color: var(--gold-400); border-color: var(--gold-400); }

/* ZBL Hogar · indicadores de las 4 razones */
.walk-lead { max-width: 54ch; color: var(--bone-100); font-size: clamp(.98rem, 1.25vw, 1.1rem); text-shadow: 0 1px 14px rgba(6, 13, 33, .8); }
.walk:not(.is-live) .walk-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wmeter--chips { grid-auto-flow: row; display: flex; flex-wrap: wrap; gap: 8px; }
.wmeter--chips span { padding: 6px 12px; border-radius: var(--r-pill); font: 500 .68rem "Poppins"; letter-spacing: .06em; }
.wmeter--chips .is-on { border: 1px solid var(--gold-400); color: var(--gold-300); background: rgba(210, 180, 126, .1); }
.wmeter--chips .is-off { border: 1px dashed rgba(246, 242, 234, .3); color: var(--stone-500); text-decoration: line-through; }
.wmeter--cost svg path { stroke-linecap: round; stroke-linejoin: round; }
.wplan { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.wplan i { height: 18px; border-radius: 4px; border: 1px solid rgba(210, 180, 126, .3); }
.wplan i.is-on { background: var(--gold-foil); border-color: transparent; }
.wmeter--plan em { font-style: normal; font: 500 .58rem "Poppins"; letter-spacing: .24em; color: var(--stone-500); }
.wmeter--check { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.wmeter--check li { position: relative; padding-left: 20px; font-size: .8rem; color: var(--bone-100); }
.wmeter--check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold-foil); }
.wmeter--check li::after { content: ""; position: absolute; left: 4px; top: 6px; width: 5px; height: 3px; border: solid var(--navy-950); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }

/* ZBL Hogar · qué es, precio y tiempos, preguntas */
.hogar { padding: clamp(90px, 14vh, 150px) 0; }
.hogar-what { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.hogar-what .h2 { max-width: 14ch; }
.hogar-def { display: grid; gap: 18px; font-size: clamp(1.02rem, 1.35vw, 1.18rem); color: var(--bone-100); }
.hogar-def strong { color: var(--bone-50); font-weight: 500; }
.hogar-not { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(210, 180, 126, .35); background: rgba(210, 180, 126, .06); font-size: .95rem; }
.hogar-not b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-foil); color: var(--navy-950); font-size: .85rem; }
.hogar-price { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); margin: clamp(60px, 10vh, 110px) 0; }
.hogar-card { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 22px; border: 1px solid rgba(210, 180, 126, .35); background: linear-gradient(160deg, rgba(24, 41, 90, .65), rgba(6, 13, 33, .6)); display: grid; gap: 14px; align-content: start; }
.hogar-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px; border-radius: 2px; background: var(--gold-foil); }
.hogar-card .az { font-size: .8rem; color: var(--gold-400); }
.hogar-card h3 { font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.05; }
.hogar-card p { color: var(--bone-100); }
.faq { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 18px; display: grid; gap: 12px; justify-items: center; }
.faq details { border-radius: 18px; border: 1px solid rgba(210, 180, 126, .28); background: rgba(10, 22, 50, .6); transition: border-color .3s, background-color .3s; }
.faq details[open] { border-color: rgba(210, 180, 126, .6); background: rgba(24, 41, 90, .55); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-500); color: var(--gold-300); font-size: 1.2rem; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--bone-100); max-width: 70ch; }
.hogar-cta { margin-top: clamp(60px, 10vh, 100px); text-align: center; display: grid; justify-items: center; gap: 18px; }
.hogar-cta h3 { font-weight: 300; font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.08; max-width: 20ch; }
.hogar-cta p { color: var(--bone-100); max-width: 56ch; }
@media (max-width: 960px) {
  .walk:not(.is-live) .walk-cards { grid-template-columns: 1fr; }
  .hogar-what, .hogar-price { grid-template-columns: 1fr; }
  .walk-lead { font-size: .92rem; }
}
@media (max-width: 760px) { .walk.is-live .walk-lead { display: none; } }

/* ==========================================================================
   Landing pages del panel (plantilla zabdiel-v1)
   ========================================================================== */
.lp-top { position: absolute; z-index: 20; left: 0; right: 0; top: 0; }
.lp-top-in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.lp-logo img { height: 52px; width: auto; }
.lp-hero { position: relative; min-height: 92vh; min-height: 92svh; display: grid; align-items: end; padding: 140px 0 clamp(48px, 8vh, 90px); overflow: hidden; background: var(--navy-950); }
.lp-hero:not(.has-img) { background: radial-gradient(900px 600px at 85% 10%, rgba(210, 180, 126, .16), transparent 60%), var(--navy-900); }
.lp-hero-media { position: absolute; inset: 0; }
.lp-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.lp-hero.has-img .lp-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,33,.7), rgba(6,13,33,.25) 40%, rgba(6,13,33,.92)); }
.lp-hero-in { position: relative; display: grid; gap: 22px; }
.lp-title { font-weight: 300; font-size: clamp(2.3rem, 5.4vw, 5.2rem); line-height: 1.02; letter-spacing: -.02em; max-width: 17ch; text-wrap: balance; }
.lp-sub, .lp-lead { max-width: 54ch; font-size: clamp(1rem, 1.35vw, 1.18rem); color: var(--bone-100); }
.lp-sec { padding: clamp(80px, 12vh, 140px) 0; background: var(--navy-900); }
.lp-sec .h2 { margin-bottom: clamp(26px, 5vh, 50px); }
.lp-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.lp-problem { background: var(--bone-50); color: var(--ink); }
.lp-problem .lp-lead { color: #2B3041; }
.lp-x { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.lp-x li { position: relative; padding: 14px 18px 14px 50px; border-radius: 14px; background: #fff; border: 1px solid #E5DCCB; font-weight: 500; }
.lp-x li::before, .lp-x li::after { content: ""; position: absolute; left: 20px; top: 50%; width: 16px; height: 2px; background: #B4533E; border-radius: 2px; }
.lp-x li::before { transform: translateY(-50%) rotate(45deg); } .lp-x li::after { transform: translateY(-50%) rotate(-45deg); }
.lp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.lp-card { position: relative; padding: 28px 26px; border-radius: 22px; border: 1px solid rgba(210, 180, 126, .35); background: linear-gradient(160deg, rgba(24, 41, 90, .7), rgba(6, 13, 33, .7)); display: grid; gap: 10px; align-content: start; }
.lp-card::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 2px; border-radius: 2px; background: var(--gold-foil); }
.lp-card .az { color: var(--gold-400); font-size: .85rem; }
.lp-card h3 { font-weight: 400; font-size: 1.4rem; }
.lp-card p { color: var(--bone-100); }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; counter-reset: s; }
.lp-steps li { display: grid; gap: 14px; padding: 26px 24px 26px 0; border-top: 1px solid var(--gold-500); position: relative; }
.lp-steps li::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold-foil); }
.lp-steps .az { font-size: 2rem; color: var(--gold-400); }
.lp-steps h3 { font-weight: 400; font-size: 1.3rem; margin-bottom: 6px; }
.lp-steps p { color: var(--bone-100); }
.lp-mid-cta { margin-top: clamp(36px, 6vh, 60px); }
.lp-testis { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.lp-testi { margin: 0; padding: 28px; border-radius: 22px; background: var(--bone-50); color: var(--ink); display: grid; gap: 18px; align-content: space-between; }
.lp-q { width: 34px; height: 34px; fill: var(--gold-500); }
.lp-testi blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.lp-testi figcaption { display: flex; align-items: center; gap: 12px; }
.lp-testi figcaption img, .lp-ava { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.lp-ava { display: grid; place-items: center; background: var(--navy-800); color: var(--gold-300); font-weight: 600; }
.lp-testi figcaption span { display: grid; line-height: 1.25; }
.lp-testi small { color: #6E6A60; }
.lp-offer { background: linear-gradient(140deg, var(--navy-800), var(--navy-950)); }
.lp-offer-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; max-width: 1000px; }
.lp-offer-in > div { display: grid; gap: 18px; justify-items: start; }
.lp-offer .h2 { margin: 0; }
@media (max-width: 760px) {
  .lp-2, .lp-offer-in { grid-template-columns: 1fr; }
  .lp-logo img { height: 42px; }
  .lp-hero .btn { width: 100%; }
}

/* Logo ZBL (vertical) en barra, pie y landings */
.nav-logo img { height: calc(var(--nav-h) - 16px); width: auto; }
.foot-brand img { width: auto; height: 120px; }
.lp-logo img { height: 64px; width: auto; }
@media (max-width: 767px) { .nav-logo img { height: 50px; } .lp-logo img { height: 52px; } }

/* Precio y tiempos: desplegables */
.hogar-price { align-items: start; }
details.hogar-card { gap: 0; }
details.hogar-card summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; align-items: center; }
details.hogar-card summary::-webkit-details-marker { display: none; }
details.hogar-card summary .az { grid-column: 1; }
details.hogar-card summary h3 { grid-column: 1; }
details.hogar-card summary::after { content: "+"; grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-500); color: var(--gold-300); font-size: 1.4rem; transition: transform .35s var(--ease); }
details.hogar-card[open] summary::after { transform: rotate(45deg); }
details.hogar-card p { margin-top: 16px; }

/* Mi Casa Ahora · alternativas y plan de pagos */
.mca-opts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 26px); }
.mca-opt { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 22px; border: 1px solid rgba(210, 180, 126, .4); background: linear-gradient(160deg, rgba(24, 41, 90, .75), rgba(6, 13, 33, .75)); display: grid; gap: 10px; align-content: start; }
.mca-opt::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px; border-radius: 2px; background: var(--gold-foil); }
.mca-opt h3 { font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.mca-opt h3 small { font-size: .45em; color: var(--bone-100); }
.mca-price { font-size: clamp(1.6rem, 2.6vw, 2.2rem); background: var(--gold-foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mca-lot { color: var(--bone-100); font-size: .95rem; }
.mca-lot b { color: var(--gold-300); font-weight: 500; }
.mca-opt ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mca-opt li { position: relative; padding-left: 22px; color: var(--bone-100); font-size: .95rem; }
.mca-opt li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-foil); }
.mca-plan { margin-top: clamp(30px, 5vh, 56px); padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--bone-50); color: var(--ink); display: grid; gap: 16px; }
.mca-plan h3 { font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.mca-plan > p { color: #2B3041; max-width: 70ch; }
.mca-plan .link-line { color: var(--navy-800); }
.mca-plan .btn-foil { color: var(--navy-950); }
.pn-table-like { overflow-x: auto; }
.mca-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mca-table th { text-align: left; font: 500 .7rem "Poppins"; letter-spacing: .16em; text-transform: uppercase; background: var(--navy-800); color: var(--bone-50); padding: 12px 14px; }
.mca-table th:first-child { border-radius: 12px 0 0 0; } .mca-table th:last-child { border-radius: 0 12px 0 0; }
.mca-table td { padding: 12px 14px; border-bottom: 1px solid #E2D8C5; white-space: nowrap; }
.mca-table td:first-child { font-weight: 500; color: var(--navy-800); white-space: normal; }
.mca-table .is-total td { background: var(--navy-900); color: var(--gold-300); font-weight: 600; border: 0; }
@media (max-width: 760px) { .mca-opts { grid-template-columns: 1fr; } .mca-table td, .mca-table th { padding: 10px; font-size: .85rem; } }

/* Sede principal */
.sedes-main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(210, 180, 126, .35); background: rgba(210, 180, 126, .06); width: fit-content; max-width: 100%; color: var(--bone-100); font-size: .95rem; }
.sedes-main b { color: var(--gold-300); font-weight: 500; }
.sedes-main a { display: inline-flex; align-items: center; gap: 8px; color: var(--bone-50); text-decoration: none; font-weight: 500; min-height: 40px; }
.sedes-main .wa-ico { width: 18px; height: 18px; color: var(--gold-300); }
@media (max-width: 760px) { .sedes-main { border-radius: 18px; } }

/* ---------- Disponibilidad desde GoSoft ---------- */
.stock, .p-stock { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: .64rem; letter-spacing: .2em; font-weight: 600; text-transform: uppercase; color: var(--navy-950); background: var(--gold-300); border-radius: var(--r-pill); }
.stock::before, .p-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: stock-pulse 1.6s ease-in-out infinite; }
.stock { position: absolute; z-index: 2; left: 14px; bottom: 14px; }
.stock--out, .p-stock--out { color: var(--bone-50); background: rgba(6, 13, 33, .82); box-shadow: inset 0 0 0 1px var(--stone-500); }
.stock--out::before, .p-stock--out::before { animation: none; }
@keyframes stock-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .stock::before, .p-stock::before { animation: none; } }
