/* ==========================================================================
   Edificio EGEO — Landing rediseñada
   Paleta neutra (blancos / grises claros) + un único acento azul para CTA.
   El naranja #e25332 del tema anterior no se usa en ningún título.
   Fuentes: Roboto (variable, ya self-hosteada) + Open Sans 400.
   ========================================================================== */

/* --- Fuentes: se reusan los .woff2 que ya están en /g/static (0 descargas nuevas).
       Roboto latin es variable (wght 100-900) -> se declara el rango completo. --- */
@font-face {
  font-family: 'Roboto Var';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../g/static/s/roboto/v50/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Var';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../g/static/s/roboto/v50/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3-UBGEe.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
                 U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans Body';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../g/static/s/opensans/v44/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans Body';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../g/static/s/opensans/v44/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4vaVIGxA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
                 U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens --- */
:root {
  --ink:        #0e1c26;   /* títulos: petróleo casi negro (reemplaza el naranja) */
  --ink-soft:   #24343f;
  --muted:      #5d6b74;   /* texto secundario */
  --paper:      #ffffff;
  --mist:       #f4f6f7;   /* fondo de secciones alternas */
  --mist-deep:  #eceff1;
  --line:       #e2e7ea;   /* hairlines */
  --egeo:       #093d5d;   /* azul del logo — ÚNICO acento, sólo CTA */
  --egeo-700:   #0c5079;
  --egeo-900:   #062a40;
  --focus:      #1a7fb8;

  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --sect: clamp(3.75rem, 7vw, 6.5rem);
  --r: 3px;

  --sans: 'Roboto Var', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Open Sans Body', 'Open Sans', system-ui, -apple-system, sans-serif;

  --shadow-s: 0 1px 2px rgba(14, 28, 38, .05), 0 2px 8px rgba(14, 28, 38, .05);
  --shadow-m: 0 8px 28px rgba(14, 28, 38, .10);
  --shadow-l: 0 24px 60px rgba(14, 28, 38, .18);
}

/* --- Reset acotado --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.015em;
  text-wrap: balance;
}
p { margin: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--egeo); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r);
  font-family: var(--sans); font-weight: 600; transition: top .18s;
}
.skip:focus { top: 1rem; }

/* --- Botones (verde o azul según brief -> azul del logo) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: .945rem; font-weight: 600; letter-spacing: .005em;
  padding: .85rem 1.5rem; border-radius: var(--r); text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-align: center; line-height: 1.25;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--primary { background: var(--egeo); color: #fff; border: 1px solid var(--egeo); }
.btn--primary:hover { background: var(--egeo-700); border-color: var(--egeo-700); }
.btn--ghost { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--line { background: transparent; color: var(--egeo); border: 1px solid #b9c6ce; }
.btn--line:hover { border-color: var(--egeo); background: var(--egeo); color: #fff; }
.btn--wide { width: 100%; padding-block: 1rem; }
.btn--sm { padding: .6rem 1.05rem; font-size: .875rem; }

/* --- Eyebrow / encabezado de sección --- */
.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .705rem; font-weight: 700;
  letter-spacing: .19em; text-transform: uppercase; color: var(--muted);
  margin-bottom: .95rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; flex: none; }

.sect { padding-block: var(--sect); }
.sect--mist { background: var(--mist); }
.sect__head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.sect__head h2 { font-size: clamp(1.7rem, 3.1vw, 2.45rem); font-weight: 700; }
.sect__head p { margin-top: .9rem; color: var(--muted); font-size: 1.03rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: rgba(255,255,255,.90);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.hdr.is-stuck { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(14,28,38,.06); }
.hdr__in { display: flex; align-items: center; gap: 1.25rem; min-height: 74px; }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { width: 128px; height: auto; }
.hdr__nav { margin-left: auto; }
.hdr__nav ul { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.hdr__nav a {
  display: block; padding: .55rem .8rem; text-decoration: none;
  font-family: var(--sans); font-size: .89rem; font-weight: 500; color: var(--ink-soft);
  border-radius: var(--r); transition: color .18s, background .18s;
}
.hdr__nav a:hover, .hdr__nav a.is-active { color: var(--egeo); background: var(--mist); }
.hdr__acts { display: flex; align-items: center; gap: .6rem; flex: none; }
.hdr__wa {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--mist); color: #128c4a; transition: background .18s, transform .18s;
}
.hdr__wa:hover { background: var(--mist-deep); transform: translateY(-1px); }
.hdr__wa svg { width: 20px; height: 20px; fill: currentColor; }
.burger { display: none; width: 42px; height: 42px; place-items: center; border-radius: var(--r); }
.burger span { display: block; width: 21px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger span + span { margin-top: 5px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .hdr__in { min-height: 64px; gap: .75rem; }
  .hdr__logo img { width: 104px; }
  .burger { display: grid; }
  .hdr__nav {
    position: fixed; inset: 64px 0 auto 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: .5rem var(--gut) 1.15rem;
    transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s; box-shadow: var(--shadow-m);
  }
  body.nav-open .hdr__nav { transform: none; opacity: 1; visibility: visible; }
  .hdr__nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .hdr__nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .hdr__acts .btn { display: none; }
  /* En mobile el nav pasa a position:fixed y deja de empujar: las acciones
     tienen que tomar el margen automático para quedar a la derecha. */
  .hdr__acts { margin-left: auto; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; isolation: isolate; }
@media (min-width: 901px) { .hero { min-height: min(88vh, 780px); } }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(6,26,38,.86) 0%, rgba(6,26,38,.66) 36%, rgba(6,26,38,.16) 66%, rgba(6,26,38,.02) 100%),
    linear-gradient(0deg, rgba(6,26,38,.48) 0%, rgba(6,26,38,0) 44%);
}
.hero__in { padding-block: clamp(6.5rem, 14vh, 9rem) clamp(2.75rem, 6vh, 4.25rem); max-width: 47rem; }

/* Placa de dirección: cita la señalética "1745" de la fachada. Elemento firma. */
.plate {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(9, 24, 34, .62); border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(8px);
  padding: .48rem .85rem; border-radius: 2px; margin-bottom: 1.35rem;
  font-family: var(--sans); font-size: .715rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: #fff;
}
.plate__num { font-weight: 800; letter-spacing: .1em; }
.plate__dot { width: 4px; height: 4px; border-radius: 50%; background: #7fd4a4; flex: none; }

.hero h1 {
  color: #fff; font-size: clamp(1.95rem, 4.7vw, 3.35rem); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.08; text-shadow: 0 2px 22px rgba(0,0,0,.32);
}
.hero h1 .h1-sep { color: rgba(255,255,255,.38); font-weight: 300; padding-inline: .18em; }
.hero h1 .h1-alt { color: #cfe4f0; font-weight: 400; }
/* El H1 del brief lleva un "|": se corta ahí para que lea como dos líneas y no
   quede el separador colgando al final de un renglón. */
@media (min-width: 480px) { .hero h1 .h1-alt { display: block; margin-top: .12em; } }
.hero__sub {
  color: rgba(255,255,255,.92); font-size: clamp(1rem, 1.5vw, 1.14rem);
  margin-top: 1.15rem; max-width: 36rem; text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
@media (max-width: 480px) { .hero__cta .btn { flex: 1 1 100%; } }

/* --- Franja de datos duros --- */
.facts { background: var(--ink); color: #fff; }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__i { padding: 1.35rem var(--gut); border-left: 1px solid rgba(255,255,255,.12); }
.facts__i:first-child { border-left: 0; }
.facts__k {
  display: block; font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; color: rgba(255,255,255,.52); margin-bottom: .3rem;
}
.facts__v { font-family: var(--sans); font-size: clamp(.95rem, 1.5vw, 1.1rem); font-weight: 600; color: #fff; line-height: 1.3; }
@media (max-width: 820px) {
  .facts__in { grid-template-columns: repeat(2, 1fr); }
  .facts__i:nth-child(3) { border-left: 0; }
  .facts__i:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}

/* ==========================================================================
   Características
   ========================================================================== */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat { background: var(--paper); padding: 2rem 1.6rem 2.15rem; transition: background .2s; }
.feat:hover { background: #fbfcfc; }
.feat__ico { width: 30px; height: 30px; stroke: var(--egeo); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.15rem; }
.feat h3 { font-size: 1.055rem; font-weight: 700; margin-bottom: .55rem; }
.feat p { color: var(--muted); font-size: .93rem; line-height: 1.62; }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* ==========================================================================
   Renders — carrusel ancho completo + lightbox
   ========================================================================== */
.renders { padding-block: var(--sect); background: var(--mist); overflow: hidden; }
.renders__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.1rem; }
.renders__head h2 { font-size: clamp(1.7rem, 3.1vw, 2.45rem); font-weight: 700; }
.renders__head p { margin-top: .8rem; color: var(--muted); max-width: 34rem; }

.car { position: relative; }
.car__track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  padding-block: .25rem 1.35rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.car__track::-webkit-scrollbar { display: none; }
.car__cell {
  position: relative; flex: 0 0 min(74vw, 860px); scroll-snap-align: center;
  border: 0; padding: 0; cursor: zoom-in; background: var(--mist-deep);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s);
}
.car__cell img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.car__cell:hover img { transform: scale(1.032); }
.car__cap {
  position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 2.75rem 1.15rem .95rem;
  background: linear-gradient(0deg, rgba(6,26,38,.86) 0%, rgba(6,26,38,0) 100%);
  font-family: var(--sans); font-size: .77rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: #fff; text-align: left;
}
.car__zoom { display: inline-flex; align-items: center; gap: .4rem; opacity: .78; font-weight: 500; letter-spacing: .08em; }
.car__zoom svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.7; }
@media (max-width: 700px) { .car__cell { flex-basis: 88vw; } .car__cap { font-size: .68rem; padding: 2.25rem .9rem .8rem; } }

.car__bar { display: flex; align-items: center; gap: 1.1rem; margin-top: .5rem; }
.car__count { font-family: var(--sans); font-size: .84rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.car__count b { color: var(--ink); font-weight: 700; }
.car__dots { display: flex; gap: .38rem; margin-right: auto; }
.car__dot { width: 22px; height: 3px; border-radius: 2px; background: #ccd5da; cursor: pointer; transition: background .2s, width .2s; padding: 0; }
.car__dot.is-on { background: var(--egeo); width: 34px; }
.car__nav { display: flex; gap: .45rem; }
.car__btn {
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid #ccd5da; border-radius: var(--r); background: var(--paper);
  color: var(--ink); transition: background .18s, color .18s, border-color .18s, opacity .18s;
}
.car__btn:hover:not(:disabled) { background: var(--egeo); border-color: var(--egeo); color: #fff; }
.car__btn:disabled { opacity: .34; cursor: default; }
.car__btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Tipologías y planos — pestañas
   ========================================================================== */
.plans__grid { display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.tabs { display: flex; flex-direction: column; gap: .3rem; }
.tab {
  display: flex; align-items: center; gap: .75rem; text-align: left; cursor: pointer;
  padding: .82rem .95rem; border: 1px solid transparent; border-radius: var(--r);
  font-family: var(--sans); font-size: .875rem; font-weight: 500; color: var(--ink-soft);
  transition: background .18s, color .18s, border-color .18s;
}
.tab:hover { background: var(--mist); }
.tab__n {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--muted);
  font-variant-numeric: tabular-nums; flex: none; transition: color .18s;
}
/* Estado activo = placa oscura, mismo gesto que la señalética del edificio */
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.tab[aria-selected="true"] .tab__n { color: rgba(255,255,255,.55); }

.panelbox { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden; }
.panel { display: none; }
.panel.is-on { display: block; }
/* Visor de planos: se limita en alto y scrollea. Los planos del proyecto van de
   1:0.7 (unidades) a 1:5.28 (cocheras); ajustar por alto los aplastaría. */
.panel__img {
  background: var(--mist); display: grid; justify-items: center; align-content: start;
  padding: clamp(1rem, 2.5vw, 1.6rem); max-height: 68vh; overflow: auto;
  scrollbar-width: thin; scrollbar-color: #b9c6ce transparent;
}
.panel__img img { max-width: 100%; height: auto; }
.panel__hint {
  display: none; align-items: center; gap: .45rem; padding: .55rem 1.35rem;
  background: var(--mist-deep); border-top: 1px solid var(--line);
  font-family: var(--sans); font-size: .755rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.panel__hint svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.panel.has-scroll .panel__hint { display: flex; }
.panel__ft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.35rem; border-top: 1px solid var(--line); }
.panel__ft h3 { font-size: 1rem; font-weight: 700; }
.panel__ft p { font-size: .87rem; color: var(--muted); margin-top: .15rem; }
.plans__cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.plans__note { font-size: .845rem; color: var(--muted); }

@media (max-width: 860px) {
  .plans__grid { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; gap: .45rem; padding-bottom: .4rem; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; border-color: var(--line); white-space: nowrap; }
  /* En mobile no anidamos scroll: el panel crece y scrollea la página */
  .panel__img { max-height: none; overflow: visible; }
  .panel.has-scroll .panel__hint { display: none; }
}

/* ==========================================================================
   Bloque informativo en grilla (reemplaza el acordeón de FAQs)
   ========================================================================== */
.info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.info__c { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.35rem); }
.info__c h3 { font-size: 1.11rem; font-weight: 700; margin-bottom: .7rem; display: flex; gap: .7rem; align-items: flex-start; }
.info__c h3 svg { width: 20px; height: 20px; flex: none; margin-top: .18rem; stroke: var(--egeo); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.info__c p { color: var(--muted); font-size: .945rem; line-height: 1.68; }
@media (max-width: 760px) { .info { grid-template-columns: 1fr; } }

/* --- Banda CTA --- */
.band { background: var(--ink); color: #fff; padding-block: clamp(2.75rem, 5vw, 4rem); }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem; }
.band h2 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 700; }
.band p { color: rgba(255,255,255,.72); margin-top: .55rem; max-width: 34rem; font-size: .98rem; }
.band .btn--primary { background: #fff; color: var(--ink); border-color: #fff; }
.band .btn--primary:hover { background: #cfe4f0; border-color: #cfe4f0; color: var(--egeo-900); }

/* ==========================================================================
   Formulario
   ========================================================================== */
.lead { display: grid; grid-template-columns: 1fr 400px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.lead__aside h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 700; }
.lead__aside > p { margin-top: 1rem; color: var(--muted); font-size: 1.02rem; }
.lead__list { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: .95rem; }
.lead__list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.lead__list svg { width: 18px; height: 18px; flex: none; margin-top: .27rem; stroke: var(--egeo); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lead__direct { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: grid; gap: .7rem; }
.lead__direct a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-size: .95rem; color: var(--ink-soft); transition: color .18s; }
.lead__direct a:hover { color: var(--egeo); }
.lead__direct svg { width: 17px; height: 17px; flex: none; stroke: var(--muted); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.1rem); box-shadow: var(--shadow-m); }
.sect--mist .card { background: var(--paper); }
.field { display: grid; gap: .38rem; margin-bottom: 1rem; }
.field > label { font-family: var(--sans); font-size: .795rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); text-transform: uppercase; }
.field .req { color: var(--egeo); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: .96rem; color: var(--ink);
  padding: .72rem .85rem; border: 1px solid #ccd5da; border-radius: var(--r);
  background: var(--paper); width: 100%; transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235d6b74' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--egeo); box-shadow: 0 0 0 3px rgba(9,61,93,.13);
}
.field input::placeholder, .field textarea::placeholder { color: #93a2ab; }
.field .err { font-size: .795rem; color: #b4231d; display: none; }
.field.is-bad input, .field.is-bad select { border-color: #b4231d; }
.field.is-bad .err { display: block; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .83rem; color: var(--muted); margin: .35rem 0 1.15rem; line-height: 1.55; }
.consent input { width: 17px; height: 17px; margin-top: .13rem; flex: none; accent-color: var(--egeo); }
.consent a { color: var(--egeo); }
.form__note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: .85rem; }
.form__msg { display: none; padding: .85rem 1rem; border-radius: var(--r); font-size: .9rem; margin-bottom: 1.15rem; }
.form__msg.is-on { display: block; }
.form__msg.ok { background: #e8f5ee; color: #14603b; border: 1px solid #b7e0c9; }
.form__msg.bad { background: #fdeceb; color: #96201a; border: 1px solid #f3c6c3; }
@media (max-width: 900px) { .lead { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.ft { background: var(--ink); color: rgba(255,255,255,.74); }
.ft__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch; }
.ft__info { padding: clamp(2.5rem, 5vw, 4rem) var(--gut) clamp(2.5rem, 5vw, 4rem); max-width: calc(var(--wrap) / 2 + 2rem); margin-left: auto; width: 100%; }
.ft__logo { width: 118px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); opacity: .95; }
.ft__rows { display: grid; gap: .85rem; }
.ft__row { display: flex; gap: .8rem; align-items: flex-start; font-size: .93rem; }
.ft__row svg { width: 17px; height: 17px; flex: none; margin-top: .27rem; stroke: rgba(255,255,255,.5); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ft__row a { text-decoration: none; transition: color .18s; }
.ft__row a:hover { color: #fff; }
.ft__map { min-height: 300px; position: relative; background: var(--ink-soft); }
.ft__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.ft__legal {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.25rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.52);
}
.ft__legal a { text-decoration: none; }
.ft__legal a:hover { color: #fff; }
@media (max-width: 860px) {
  .ft__grid { grid-template-columns: 1fr; }
  .ft__info { max-width: none; margin-left: 0; }
  .ft__map { min-height: 250px; order: -1; }
}

/* --- WhatsApp flotante --- */
.wa-float {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #21a559; color: #fff; box-shadow: 0 6px 20px rgba(15,90,50,.34);
  transition: transform .2s, background .2s;
}
.wa-float:hover { background: #1b8c4a; transform: translateY(-2px); }
.wa-float svg { width: 27px; height: 27px; fill: currentColor; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lb { position: fixed; inset: 0; z-index: 120; display: none; background: rgba(6,18,26,.94); }
.lb.is-on { display: grid; grid-template-rows: auto 1fr auto; }
.lb__top { display: flex; justify-content: flex-end; padding: 1rem; }
.lb__stage { display: grid; place-items: center; padding: 0 clamp(3.5rem, 7vw, 5rem); min-height: 0; overflow: auto; }
.lb__stage img { max-width: 100%; max-height: 76vh; width: auto; object-fit: contain; border-radius: 2px; }
/* Planos muy verticales (ej. cocheras 1:5.28): se muestran a lo ancho y scrollean */
.lb__stage img.is-tall { max-height: none; width: min(100%, 620px); align-self: start; }
.lb__cap { text-align: center; padding: 1rem 1.5rem 1.75rem; color: rgba(255,255,255,.9); font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.lb__x, .lb__p, .lb__n {
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; border-radius: 50%;
  background: rgba(255,255,255,.10); color: #fff; transition: background .18s;
}
.lb__x:hover, .lb__p:hover, .lb__n:hover { background: rgba(255,255,255,.24); }
.lb__x svg, .lb__p svg, .lb__n svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb__p, .lb__n { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__p { left: clamp(.5rem, 2vw, 1.5rem); }
.lb__n { right: clamp(.5rem, 2vw, 1.5rem); }

/* ==========================================================================
   Modal (captura de email antes de la descarga)
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 130; display: none; place-items: center; padding: 1.15rem; background: rgba(6,18,26,.62); backdrop-filter: blur(3px); }
.modal.is-on { display: grid; }
.modal__box { background: var(--paper); border-radius: var(--r); width: min(430px, 100%); padding: clamp(1.5rem, 4vw, 2.15rem); box-shadow: var(--shadow-l); position: relative; max-height: 92vh; overflow-y: auto; }
.modal__x { position: absolute; top: .7rem; right: .7rem; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: var(--muted); transition: background .18s; }
.modal__x:hover { background: var(--mist); }
.modal__x svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.modal__box h3 { font-size: 1.25rem; font-weight: 700; padding-right: 2rem; }
.modal__box > p { color: var(--muted); font-size: .92rem; margin: .6rem 0 1.5rem; }

body.locked { overflow: hidden; }

/* --- Reveal on scroll --- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.rv.is-in { opacity: 1; transform: none; }

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

@media print {
  .hdr, .wa-float, .car__bar, .modal, .lb, .band { display: none !important; }
}
