/* ==========================================================================
   The Antipodes — estilos
   Mobile-first. Tokens de marca sacados del dossier (ver CLAUDE.md).
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600.woff2") format("woff2"); }

:root {
  --green-950: #18221E;
  --green-900: #1E2A25;
  --green-800: #2F3B35;
  --sand: #BCA388;
  --sand-700: #745F45; /* arena oscurecida: texto/acento sobre crema (contraste ≥ 4,5:1, WCAG AA) */
  --sage: #96AE7B;
  --cream: #EBE7E5;
  --cream-50: #F5F2F0;

  --ink: var(--green-900);
  --ink-soft: rgba(30, 42, 37, .72);
  --on-dark: var(--cream);
  --on-dark-soft: rgba(235, 231, 229, .7);
  --line-dark: rgba(188, 163, 136, .28);
  --line-light: rgba(30, 42, 37, .14);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 1rem;
  --container: 1240px;
  --header-h: 68px;
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 640px) { :root { --gutter: 2rem; } }
@media (min-width: 1080px) { :root { --header-h: 84px; --gutter: 3rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--on-dark);
  background: var(--green-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .75rem 1rem; background: var(--sand); color: var(--green-900); }
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía editorial ---------- */
.eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.25rem;
}
.section--light .eyebrow { color: var(--sand-700); }
.section-title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); max-width: 18ch; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); margin-top: 1.5rem; max-width: 46ch; }
.footnote { font-size: .78rem; line-height: 1.6; color: var(--on-dark-soft); max-width: 90ch; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); }
.section--dark { background: var(--green-900); color: var(--on-dark); }
.section--light { background: var(--cream); color: var(--ink); }
.section--light .lead, .section--light p { color: var(--ink-soft); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .85rem 1.75rem;
  font: 500 .78rem/1 var(--font); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
}
.btn--primary { background: var(--sand); color: var(--green-900); border-color: var(--sand); }
.btn--primary:hover { background: var(--cream); border-color: var(--cream); }
.btn--ghost { color: var(--cream); border-color: rgba(235, 231, 229, .55); }
.btn--ghost:hover { background: var(--cream); color: var(--green-900); border-color: var(--cream); }
.btn--sm { min-height: 40px; padding: .7rem 1.1rem; font-size: .7rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .75rem; margin-top: 2.5rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: .35rem;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--light .link-arrow { color: var(--green-900); }

/* ==========================================================================
   1. Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
}
/* El fondo con blur va en un pseudo-elemento: backdrop-filter en el propio header
   lo convertiría en bloque contenedor del menú móvil (position: fixed). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(30, 42, 37, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-dark);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.site-header__inner {
  height: 100%; max-width: calc(1400px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.site-header__logo img { height: 34px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.site-header__cta { display: none; }

.lang-switch { display: flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 500; letter-spacing: .14em; }
.lang-switch__item { display: inline-grid; place-items: center; min-width: 32px; min-height: 32px; text-decoration: none; opacity: .6; transition: opacity .2s var(--ease), color .2s var(--ease); }
.lang-switch__item:hover { opacity: 1; }
.lang-switch__item.is-active { color: var(--sand); opacity: 1; }
.lang-switch__sep { opacity: .4; }

/* Navegación móvil: panel a pantalla completa */
.site-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  display: flex; flex-direction: column;
  padding: 2.5rem var(--gutter) 2rem;
  background: var(--green-900);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-nav__list { display: grid; gap: .25rem; }
.site-nav__list a {
  display: block; padding: .6rem 0;
  font-size: 1.6rem; font-weight: 300; text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}
.site-nav__cta { margin-top: 2rem; align-self: flex-start; }
.site-nav__byline { margin-top: auto; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); text-decoration: none; }

.burger {
  width: 44px; height: 44px; margin-right: -10px;
  display: grid; place-content: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
}
.burger span { display: block; width: 24px; height: 1px; background: var(--cream); transition: transform .3s var(--ease); }
.site-header.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.site-header.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

@media (min-width: 640px) {
  .site-header__cta { display: inline-flex; }
}

@media (min-width: 1080px) {
  .site-header__logo img { height: 42px; }
  .burger { display: none; }
  .site-nav {
    position: static; flex-direction: row; align-items: center; gap: 2rem;
    padding: 0; background: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .site-nav__list { display: flex; gap: 1.75rem; }
  .site-nav__list a {
    padding: .25rem 0; border: 0;
    font-size: .74rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
    position: relative;
  }
  .site-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
    background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .site-nav__list a:hover::after, .site-nav__list a.is-current::after { transform: scaleX(1); }
  .site-nav__byline, .site-nav__cta { display: none; }
}

/* ==========================================================================
   2. Hero
   ========================================================================== */
/* Recorrido de scroll del hero: mientras se atraviesa, el hero queda fijo y
   --p (0→1, lo pone main.js) acerca la cámara y funde el texto. Sin JS o con
   movimiento reducido no hay recorrido extra. */
.js .hero-track { height: 175vh; height: 175svh; }
.js .hero-track .hero { position: sticky; top: 0; height: 100vh; height: 100svh; }

.hero {
  --p: 0;
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 clamp(5rem, 12vh, 8rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  transform-origin: 50% 58%;
  transform: scale(calc(1.02 + var(--p) * .2)) translateY(calc(var(--p) * -1.5%));
  will-change: transform;
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(24, 34, 30, .55) 0%, rgba(24, 34, 30, 0) 28%),
    linear-gradient(90deg, rgba(24, 34, 30, .7) 0%, rgba(24, 34, 30, .35) 45%, rgba(24, 34, 30, 0) 70%),
    linear-gradient(0deg, rgba(24, 34, 30, .9) 0%, rgba(24, 34, 30, .4) 45%, rgba(24, 34, 30, .05) 75%);
}
/* Al final del recorrido el hero funde al verde de la sección de cifras */
.hero__shade::after {
  content: ""; position: absolute; inset: 0;
  background: var(--green-900);
  opacity: clamp(0, calc((var(--p) - .55) * 2), .9);
}
.hero__content {
  opacity: clamp(0, calc(1 - var(--p) * 1.8), 1);
  transform: translateY(calc(var(--p) * -70px));
}
.hero__note, .hero__scroll { opacity: clamp(0, calc(1 - var(--p) * 4), 1); }
.hero .eyebrow { color: var(--cream); }
.hero__title, .hero__subtitle, .hero .eyebrow { text-shadow: 0 1px 24px rgba(24, 34, 30, .35); }
.hero__title {
  font-size: clamp(2.3rem, 6.4vw, 5.2rem);
  font-weight: 400; line-height: 1.06; max-width: 15ch;
}
.hero__subtitle { margin-top: 1.25rem; font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--on-dark-soft); max-width: 36ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__note {
  position: absolute; right: var(--gutter); bottom: 1.25rem;
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft);
}
/* En móvil, a la izquierda: a la derecha queda el botón flotante de WhatsApp */
@media (max-width: 1079px) { .hero__note { right: auto; left: var(--gutter); } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .75rem;
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; text-decoration: none; color: var(--on-dark-soft);
}
.hero__scroll::after { content: ""; width: 1px; height: 42px; background: linear-gradient(var(--sand), transparent); animation: scroll-cue 2.4s var(--ease) infinite; transform-origin: top; }
.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .12s; }
.hero__content > :nth-child(3) { animation-delay: .24s; }
.hero__content > :nth-child(4) { animation-delay: .36s; }

@media (min-width: 640px) { .hero__scroll { display: flex; } }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes scroll-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ==========================================================================
   3. Cifras clave
   ========================================================================== */
.stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  margin-block: 1rem 2.5rem;
}
.stat {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.75rem 1rem 1.75rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.stat:last-child { grid-column: 1 / -1; }
.stat__value {
  font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 400; line-height: 1; color: var(--sand);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat__label { font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); }

@media (min-width: 1080px) {
  .stats__grid { grid-template-columns: repeat(5, auto); justify-content: space-between; border-bottom: 1px solid var(--line-dark); }
  .stat { border-bottom: 0; padding: 2.5rem 1.5rem 2.5rem 0; }
  .stat:last-child { grid-column: auto; }
  .stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
}

/* ==========================================================================
   4. El proyecto
   ========================================================================== */
.project__grid { display: grid; gap: 3.5rem; }
.features { counter-reset: feat; margin-top: 2.75rem; border-top: 1px solid var(--line-light); }
.feature {
  counter-increment: feat;
  display: grid; grid-template-columns: 2.75rem 1fr; column-gap: .5rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line-light);
}
.feature::before {
  content: counter(feat, decimal-leading-zero);
  grid-row: span 2; padding-top: .2rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .12em; color: var(--sand-700);
}
.feature h3 { font-size: 1.08rem; font-weight: 500; color: var(--green-900); }
.feature p { margin-top: .3rem; font-size: .95rem; }

.project__media { position: relative; padding-bottom: 18%; }
.project__img img { width: 100%; object-fit: cover; }
.project__img--main img { aspect-ratio: 4 / 5; }
.project__img--second {
  position: absolute; right: 0; bottom: 0; width: 55%;
  border: 6px solid var(--cream);
}
.project__img--second img { aspect-ratio: 4 / 3; }
.project__img--second figcaption {
  margin-top: .5rem; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}

@media (min-width: 960px) {
  .project__grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
  .project__media { padding-bottom: 14%; }
  .project__img--main { width: 88%; }
  .project__img--second { width: 50%; }
}

/* ==========================================================================
   5. El estudio
   ========================================================================== */
.studio__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.studio .lead { color: var(--on-dark-soft); }
.studio__grid { display: grid; gap: 2.5rem; }
.studio__media { min-width: 0; }

.view-switch { display: inline-flex; gap: 1.5rem; margin-bottom: 1.25rem; }
.view-switch__btn {
  padding: .3rem 0; background: none; border: 0; border-bottom: 1px solid transparent; cursor: pointer;
  font: 500 .72rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.view-switch__btn[aria-pressed="true"] { color: var(--sand); border-color: var(--sand); }
.view-switch__btn:hover { color: var(--cream); }

/* Carrusel con scroll-snap nativo */
.carousel__track {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel__slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--green-800); }
.carousel__caption { margin-top: .9rem; font-size: .9rem; color: var(--on-dark-soft); }
.carousel__controls {
  display: flex; align-items: center; gap: 1rem; margin-top: 1rem;
  padding-top: 1rem; border-top: 1px solid var(--line-dark);
}
.carousel__count { font-size: .8rem; letter-spacing: .14em; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.carousel__current { color: var(--sand); }
.carousel__note { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); }
.carousel__arrows { display: flex; gap: .5rem; margin-left: auto; }
.carousel__btn {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: none; color: var(--cream); font: 300 1.1rem/1 var(--font);
  border: 1px solid var(--line-dark); border-radius: 50%; cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), opacity .3s;
}
.carousel__btn:hover:not(:disabled) { background: var(--sand); border-color: var(--sand); color: var(--green-900); }
.carousel__btn:disabled { opacity: .3; cursor: default; }

.studio__plan { background: var(--cream-50); padding: clamp(1rem, 3vw, 2rem); }
.studio__plan img { width: 100%; }
.studio__plan figcaption { margin-top: 1rem; font-size: .82rem; color: var(--ink-soft); }

/* Ficha */
.studio__card {
  align-self: start;
  background: var(--green-800); padding: clamp(1.5rem, 3vw, 2.5rem);
}
.specs > div {
  display: grid; grid-template-columns: 6.25rem 1fr; gap: .75rem;
  padding: .95rem 0; border-bottom: 1px solid var(--line-dark);
}
.specs > div:first-child { padding-top: 0; }
.specs dt { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); padding-top: .2rem; }
.specs dd { margin: 0; font-size: .95rem; }

.price { margin-top: 2rem; }
.price__label { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); }
.price__value { margin-top: .4rem; font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1.1; color: var(--sand); font-variant-numeric: tabular-nums; }
.price__from { font-size: .5em; color: var(--cream); margin-right: .2em; }
.price__vat { font-size: .9rem; }
.price__tiers { margin-top: 1rem; font-size: .8rem; line-height: 1.6; color: var(--on-dark-soft); }

.studio__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: 2rem; }
.studio__ctas .link-arrow { margin-top: 0; }

@media (min-width: 1080px) {
  .studio__grid { grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); gap: clamp(2.5rem, 4vw, 4rem); }
  .studio__card { margin-top: 3.15rem; } /* alinea con la imagen, bajo el selector Renders/Plano */
  .specs > div { grid-template-columns: 7.5rem 1fr; gap: 1rem; }
  /* Mismo alto que el carrusel para que no salte la página al cambiar de vista */
  .studio__plan img { aspect-ratio: 16 / 10; object-fit: contain; }
}

/* ==========================================================================
   6. El complejo / Galería
   ========================================================================== */
.complex__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.complex__head .lead { margin-top: 0; }

/* Mosaico: móvil 2 columnas, escritorio 3 con la piscina a doble tamaño */
.gallery {
  display: grid; gap: .5rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "a a" "b c" "d e" "f f";
}
.gallery__item--a { grid-area: a; }
.gallery__item--b { grid-area: b; }
.gallery__item--c { grid-area: c; }
.gallery__item--d { grid-area: d; }
.gallery__item--e { grid-area: e; }
.gallery__item--f { grid-area: f; }
.gallery__item a { position: relative; display: block; height: 100%; overflow: hidden; background: var(--green-800); }
.gallery__item img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery__item--a img, .gallery__item--f img { aspect-ratio: 16 / 10; }
.gallery__item a:hover img { transform: scale(1.04); }
.gallery__caption {
  position: absolute; inset: auto 0 0; padding: 2.5rem .9rem .8rem;
  font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cream);
  background: linear-gradient(0deg, rgba(24, 34, 30, .7), rgba(24, 34, 30, 0));
}

@media (min-width: 960px) {
  .complex__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; }
  .gallery {
    gap: .75rem;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, clamp(180px, 17vw, 270px)) clamp(220px, 21vw, 330px);
    grid-template-areas: "a a b" "a a c" "d e f";
  }
  .gallery__item img, .gallery__item--a img, .gallery__item--f img { aspect-ratio: auto; }
  .gallery__caption { padding: 3rem 1.25rem 1rem; }
}

.complex__note { margin-top: 2.5rem; font-size: .78rem; color: var(--ink-soft); }

/* ==========================================================================
   7. Por qué Lombok / Por qué ahora
   ========================================================================== */
/* Vídeo de ambiente genérico (cubre su contenedor) */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--green-800); }

/* Apertura a pantalla completa con vídeo */
.why { padding-top: 0; }
.why__opener {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 clamp(4rem, 10vh, 7rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.why__opener .bg-video { z-index: -2; }
.why__opener-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 34, 30, .55) 0%, rgba(24, 34, 30, .15) 55%, rgba(24, 34, 30, 0) 75%),
    linear-gradient(0deg, var(--green-900) 0%, rgba(30, 42, 37, .55) 35%, rgba(30, 42, 37, 0) 65%);
}
.why__opener .eyebrow { color: var(--cream); }
.why__opener .section-title { max-width: 16ch; font-size: clamp(2.1rem, 5vw, 4rem); }
.why__opener .lead { color: rgba(235, 231, 229, .85); }
.why__opener-content > * { text-shadow: 0 1px 24px rgba(24, 34, 30, .4); }

/* Lombok desde el aire: tarjetas 9:16 completas (el vídeo es 9:16, no se recorta) */
.aerial__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 320px); gap: .75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.aerial__list::-webkit-scrollbar { display: none; }
.aerial__card { position: relative; aspect-ratio: 9 / 16; overflow: hidden; scroll-snap-align: start; background: var(--green-800); }
.aerial__caption {
  position: absolute; inset: auto 0 0; display: grid; gap: .25rem;
  padding: 4rem 1.1rem 1.1rem;
  font-size: .95rem; line-height: 1.35; color: var(--cream);
  background: linear-gradient(0deg, rgba(24, 34, 30, .85), rgba(24, 34, 30, 0));
}
.aerial__meta { font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }

@media (min-width: 900px) {
  .aerial__list {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto;
    gap: clamp(1rem, 2vw, 1.75rem); overflow: visible; margin-inline: 0; padding-inline: 0;
  }
  /* Ritmo editorial: la tarjeta central baja un poco */
  .aerial__list { align-items: start; }
  .aerial__card:nth-child(2) { margin-top: 2.5rem; }
}

.why__cards { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.why-card { display: flex; flex-direction: column; gap: .6rem; padding: 1.75rem 1.5rem 2rem; background: var(--green-900); }
.why-card__figure {
  font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; color: var(--sand);
  font-variant-numeric: tabular-nums; white-space: nowrap; margin-bottom: .75rem;
}
.why-card h3 { font-size: 1.05rem; font-weight: 500; }
.why-card p { font-size: .9rem; color: var(--on-dark-soft); }

@media (min-width: 640px) { .why__cards { grid-template-columns: repeat(2, 1fr); } .why-card:last-child { grid-column: 1 / -1; } }
@media (min-width: 1080px) {
  .why__cards { grid-template-columns: repeat(5, 1fr); }
  .why-card:last-child { grid-column: auto; }
  .why-card { padding: 2rem 1.5rem 2.25rem; }
}

.why__block { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.why__subtitle {
  font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 1.5rem;
}

/* Marcas: solo texto (sin logotipos de terceros) */
.brands__list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.brand { padding: 1.5rem 0; border-bottom: 1px solid var(--line-dark); }
.brand__name { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 400; line-height: 1.2; }
.brand__props { margin-top: .6rem; font-size: .92rem; }
.brand__props li + li { margin-top: .15rem; }
.brand__keys { color: var(--sand); }
.brand__note { margin-top: .6rem; font-size: .8rem; color: var(--on-dark-soft); }
@media (min-width: 760px) {
  .brands__list { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
}
@media (min-width: 1080px) {
  .brands__list { grid-template-columns: repeat(4, 1fr); column-gap: 0; border-bottom: 1px solid var(--line-dark); }
  .brand { padding: 1.75rem 1.5rem; border-bottom: 0; }
  .brand:first-child { padding-left: 0; }
  .brand + .brand { border-left: 1px solid var(--line-dark); }
}

/* MotoGP + conectividad */
.why__split { display: grid; gap: 3.5rem; }
@media (min-width: 1080px) { .why__split { grid-template-columns: 1fr 1.35fr; gap: 5rem; } }

.mini-stats { display: grid; gap: 1.25rem; }
.mini-stats > div { display: grid; grid-template-columns: minmax(7.5rem, auto) 1fr; align-items: baseline; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-dark); }
.mini-stats dt { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1; color: var(--sand); font-variant-numeric: tabular-nums; }
.mini-stats dd { margin: 0; font-size: .88rem; color: var(--on-dark-soft); }

.conn__lead { font-size: 1rem; max-width: 52ch; }
.routes { display: grid; gap: .75rem; margin-top: 1.75rem; }
.route { padding: 1rem 1.25rem; background: var(--green-800); border-left: 2px solid var(--sand); }
.route--planned, .route--agreement { border-left-color: var(--line-dark); }
.route__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.route__label { font-size: 1rem; font-weight: 500; }
.route__status { font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }
.route--planned .route__status, .route--agreement .route__status { color: var(--on-dark-soft); }
.route__note { margin-top: .3rem; font-size: .82rem; color: var(--on-dark-soft); }
.conn__bali { display: flex; align-items: baseline; gap: .75rem; margin-top: 1.75rem; font-size: .9rem; color: var(--on-dark-soft); }
.conn__bali-figure { font-size: 1.6rem; color: var(--sand); }

.why .footnote { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ==========================================================================
   8. Inversión · Unit economics
   ========================================================================== */
.economics__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.economics__subtitle {
  font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--sand-700); margin-bottom: 1.25rem;
}

/* Ecuación: brutos − operación − gestión = neto */
.flow { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.flow__step { position: relative; display: grid; gap: .3rem; padding: 1.4rem 1.5rem; background: var(--cream-50); }
.flow__label { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.flow__value { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; color: var(--green-900); font-variant-numeric: tabular-nums; }
.flow__step--minus .flow__value::before { content: "− "; color: var(--sand-700); }
.flow__detail { font-size: .85rem; color: var(--ink-soft); }
.flow__step--result { background: var(--green-900); }
.flow__step--result .flow__label, .flow__step--result .flow__detail { color: var(--on-dark-soft); }
.flow__step--result .flow__value { color: var(--sand); font-size: clamp(2.1rem, 4vw, 3rem); }

@media (min-width: 640px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .flow { grid-template-columns: repeat(3, 1fr) 1.25fr; align-items: stretch; }
  .flow__step { padding: 1.75rem 1.5rem 2rem; align-content: start; }
}

/* Barra de reparto */
.split-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.split { display: flex; height: 64px; overflow: hidden; }
.split__seg {
  flex: 0 0 0; min-width: 0; display: flex; flex-direction: column; justify-content: center;
  padding-inline: .9rem; color: var(--green-900); white-space: nowrap;
}
.split__seg--operating { background: var(--sage); }
.split__seg--management { background: var(--sand); }
.split__seg--owner { background: var(--green-900); color: var(--cream); }
.split__pct { font-size: 1.05rem; font-weight: 500; line-height: 1.1; }
.split__name { font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.split__night { margin-top: 1rem; font-size: .95rem; }
@media (max-width: 479px) { .split__seg { padding-inline: .6rem; } .split__name { letter-spacing: .08em; } }

/* Tabla de costes y tramos de precio */
.economics__grid { display: grid; gap: 3.5rem; margin-top: clamp(3.5rem, 7vw, 5rem); }
@media (min-width: 1080px) { .economics__grid { grid-template-columns: 1.15fr 1fr; gap: 5rem; } }

.costs__table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.costs__table th, .costs__table td { padding: .6rem 0; border-bottom: 1px solid var(--line-light); text-align: right; font-weight: 300; }
.costs__table th:first-child { text-align: left; padding-right: 1rem; }
.costs__table td:last-child, .costs__table th:last-child { padding-left: 1rem; width: 6.5rem; }
.costs__table thead th { font-size: .62rem; white-space: nowrap; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding-top: 0; }
.costs__table tbody th, .costs__table td { color: var(--ink-soft); }
.costs__table tfoot th, .costs__table tfoot td { font-weight: 500; color: var(--green-900); border-bottom: 0; border-top: 1px solid var(--green-900); }
.costs__note { margin-top: .9rem; font-size: .75rem; }

.returns__list { display: grid; gap: 1rem; }
.tier { padding: 1.75rem 1.5rem; background: var(--cream-50); border-top: 2px solid var(--sand-700); }
.tier + .tier { border-top-color: var(--line-light); }
.tier .tier__label { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sand-700); }
.tier .tier__price { margin-top: .4rem; font-size: 1.35rem; color: var(--green-900); }
.tier__investment { margin-top: .15rem; font-size: .82rem; }
.tier__figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line-light); }
.tier__figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .2rem; }
.tier__figures dd { margin: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; color: var(--green-900); font-variant-numeric: tabular-nums; }
.tier__figures dt { font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.economics .footnote { margin-top: clamp(3rem, 6vw, 4.5rem); color: var(--ink-soft); }

/* ==========================================================================
   9. Escenarios
   ========================================================================== */
.scenarios__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.scenarios__head .lead { margin-top: 0; color: var(--on-dark-soft); }
@media (min-width: 1080px) { .scenarios__head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 5rem; } }

.scenarios__price { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 1.5rem; }
.scenarios__price-label { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); }
.price-switch { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-dark); }
.price-switch__btn {
  min-height: 44px; padding: .6rem 1rem; border: 0; background: none; color: var(--on-dark-soft);
  font: 400 .82rem/1.3 var(--font); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.price-switch__btn[aria-pressed="true"] { background: var(--sand); color: var(--green-900); font-weight: 500; }
.price-switch__btn:hover:not([aria-pressed="true"]) { color: var(--cream); }

.scenario-list { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.scenario { position: relative; padding: 1.75rem 1.5rem 2rem; background: var(--green-900); }
.scenario--base { background: var(--green-800); }
.scenario__badge {
  position: absolute; top: 1.75rem; right: 1.5rem;
  font-size: .58rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sand);
}
.scenario__name { font-size: 1.4rem; }
.scenario__occ { margin-top: .25rem; font-size: .85rem; color: var(--on-dark-soft); }
.scenario__net { margin-top: 1.5rem; font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1.1; color: var(--sand); font-variant-numeric: tabular-nums; }
.scenario__net-label { margin-top: .3rem; font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); }
.scenario__figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.scenario__figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .2rem; }
.scenario__figures dd { margin: 0; font-size: 1.45rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.scenario__figures dt { font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
@media (min-width: 900px) { .scenario-list { grid-template-columns: repeat(3, 1fr); } }

/* Simulador */
.simulator { display: grid; gap: 2.5rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.75rem, 4vw, 3rem); border: 1px solid var(--line-dark); }
.simulator__title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.simulator__text { margin-top: .6rem; font-size: .9rem; color: var(--on-dark-soft); max-width: 44ch; }
.simulator__label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 2rem; font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); }
.simulator__value { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 400; letter-spacing: 0; color: var(--sand); font-variant-numeric: tabular-nums; }

.range { --fill: 50%; width: 100%; height: 44px; margin: .5rem 0 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--sand) var(--fill), var(--line-dark) var(--fill)); }
.range::-moz-range-track { height: 2px; background: var(--line-dark); }
.range::-moz-range-progress { height: 2px; background: var(--sand); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--sand); border: 4px solid var(--green-900); box-shadow: 0 0 0 1px var(--sand); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--sand); border: 4px solid var(--green-900); box-shadow: 0 0 0 1px var(--sand); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--sand), 0 0 0 5px rgba(188, 163, 136, .35); }
.range__scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--on-dark-soft); }

.simulator__results { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; align-content: start; }
.simulator__results div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .15rem; padding: .9rem 0; border-bottom: 1px solid var(--line-dark); }
.simulator__results dt { font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.simulator__results dd { margin: 0; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.simulator__key dd { font-size: 1.5rem; color: var(--sand); }
.simulator__results .simulator__key:nth-child(5) { grid-column: 1 / -1; }
.simulator__results .simulator__key:nth-child(5) dd { font-size: clamp(2rem, 3.6vw, 2.6rem); }
@media (min-width: 1080px) {
  .simulator { grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
  .simulator__results { grid-template-columns: repeat(4, 1fr); }
  .simulator__results .simulator__key:nth-child(5) { grid-column: span 2; }
}

.scenarios .footnote { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ==========================================================================
   10. Proyección a 15 años
   ========================================================================== */
.projection__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.projection__head .section-title { max-width: 20ch; }
.projection__grid { display: grid; gap: 3rem; }
@media (min-width: 1080px) { .projection__grid { grid-template-columns: 1fr 2.6fr; gap: 4rem; align-items: end; } }

.projection__keys { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.projection__keys div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .3rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-light); }
.projection__keys dt { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.5; }
.projection__keys dd { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--green-900); font-variant-numeric: tabular-nums; }
.projection__keys div:last-child dd { color: var(--sand-700); }
@media (min-width: 640px) and (max-width: 1079px) {
  .projection__keys { grid-template-columns: repeat(3, 1fr); gap: 0 1.5rem; }
}

/* Gráfico */
.chart { min-width: 0; }
.chart__legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1.5rem; font-size: .75rem; color: var(--ink-soft); }
.chart__key { display: inline-flex; align-items: center; gap: .5rem; }
.chart__key::before { content: ""; width: 12px; height: 12px; background: var(--sage); }
.chart__key--recovered::before { background: var(--green-900); }
.chart__key--line::before { height: 0; width: 18px; border-top: 1px dashed var(--sand-700); }

.chart__plot { position: relative; height: clamp(240px, 42vw, 380px); margin-top: 1.5rem; padding-bottom: 1.6rem; }
.chart__bars { position: absolute; inset: 0 0 1.6rem; display: flex; align-items: flex-end; gap: clamp(3px, .8vw, 10px); border-bottom: 1px solid var(--line-light); }
.chart__bar { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; }
.chart__fill {
  position: relative; width: 100%; height: var(--h); background: var(--sage);
  transform-origin: bottom; transition: transform 1s var(--ease) calc(var(--i) * 45ms), background-color .3s var(--ease);
}
.chart__bar.is-recovered .chart__fill { background: var(--green-900); }
.chart__bar:hover .chart__fill { background: var(--sand-700); }
.js .chart:not(.is-visible) .chart__fill { transform: scaleY(0); }
.chart__value {
  position: absolute; bottom: calc(100% + .35rem); left: 50%; transform: translateX(-50%);
  font-size: .68rem; font-weight: 500; color: var(--green-900); white-space: nowrap; font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity .3s var(--ease);
}
.chart__bar:hover .chart__value, .chart__bar.is-milestone .chart__value, .chart__bar:last-child .chart__value { opacity: 1; }
.chart__year { position: absolute; top: calc(100% + .4rem); left: 0; right: 0; text-align: center; font-size: .65rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.chart__bar.is-milestone .chart__year { color: var(--green-900); font-weight: 500; }

.chart__line { position: absolute; left: 0; right: 0; bottom: calc(1.6rem + (100% - 1.6rem) * var(--h)); border-top: 1px dashed var(--sand-700); pointer-events: none; }
.chart__line-label {
  position: absolute; left: 0; bottom: .3rem; padding: .1rem .4rem; background: var(--cream);
  font-size: .68rem; font-weight: 500; color: var(--sand-700); font-variant-numeric: tabular-nums;
}
.chart__caption { margin-top: 1rem; font-size: .75rem; color: var(--ink-soft); }
@media (max-width: 639px) { .chart__year { font-size: .58rem; } .chart__bar:nth-child(even):not(.is-milestone) .chart__year { visibility: hidden; } }

/* Tabla año a año */
.projection__table { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.projection__table summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; list-style: none;
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green-900);
}
.projection__table summary::-webkit-details-marker { display: none; }
.projection__table summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; letter-spacing: 0; transition: transform .3s var(--ease); }
.projection__table[open] summary::after { transform: rotate(45deg); }
.projection__table table { width: 100%; max-width: 640px; margin-bottom: 1.5rem; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.projection__table th, .projection__table td { padding: .45rem 0; border-bottom: 1px solid var(--line-light); text-align: right; font-weight: 300; color: var(--ink-soft); }
.projection__table th:first-child { text-align: left; }
.projection__table thead th { font-size: .62rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.projection__table tr.is-recovered td:last-child { color: var(--green-900); font-weight: 400; }

.projection .footnote { margin-top: clamp(2.5rem, 5vw, 3.5rem); color: var(--ink-soft); }

/* ==========================================================================
   11. Precio y calendario de pagos
   ========================================================================== */
.payments__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.payments__head .lead { margin-top: 0; color: var(--on-dark-soft); }
@media (min-width: 1080px) { .payments__head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 5rem; } }

.payments__tiers-label { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 1rem; }
.pay-tiers { display: grid; gap: 1rem; }
@media (min-width: 640px) { .pay-tiers { grid-template-columns: 1fr 1fr; } }
.pay-tier {
  display: grid; gap: .3rem; padding: 1.4rem 1.5rem; text-align: left; cursor: pointer;
  font: inherit; color: var(--cream); background: transparent; border: 1px solid var(--line-dark);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.pay-tier:hover { border-color: var(--sand); }
.pay-tier[aria-pressed="true"] { background: var(--green-800); border-color: var(--sand); box-shadow: inset 0 2px 0 var(--sand); }
.pay-tier__range { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }
.pay-tier__price { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
.pay-tier__total { font-size: .85rem; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.payments__tiers-note { margin-top: .9rem; font-size: .82rem; color: var(--on-dark-soft); }

/* Línea de tiempo: vertical en móvil, horizontal en escritorio */
.timeline { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; }
.step { position: relative; padding: 0 0 2.25rem 2rem; }
.step::before { content: ""; position: absolute; left: 5px; top: 1.1rem; bottom: 0; width: 1px; background: var(--line-dark); }
.step::after { content: ""; position: absolute; left: 0; top: .45rem; width: 11px; height: 11px; border-radius: 50%; background: var(--sand); }
.step--final::before { display: none; }
.step--final::after { background: var(--green-900); box-shadow: inset 0 0 0 1px var(--sand); }
.step__head { display: flex; justify-content: space-between; gap: 1rem; font-size: .75rem; font-weight: 500; line-height: 1.7; }
.step__num { letter-spacing: .16em; color: var(--on-dark-soft); }
.step__share { letter-spacing: .1em; color: var(--sand); }
.step__title { margin-top: .5rem; font-size: 1.2rem; font-weight: 400; }
.step__amount { margin-top: .5rem; font-size: 1.45rem; line-height: 1.2; color: var(--sand); font-variant-numeric: tabular-nums; }
.step--final .step__amount { font-size: 1rem; color: var(--on-dark-soft); }
.step__ppn { margin-top: .15rem; font-size: .78rem; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.step__text { margin-top: .6rem; font-size: .88rem; color: var(--on-dark-soft); max-width: 40ch; }

@media (min-width: 1080px) {
  .timeline { grid-template-columns: repeat(5, 1fr); }
  .step { padding: 2.25rem 1.5rem 0 0; }
  .step::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .step--final::before { display: block; right: 50%; }
  .step::after { top: 0; }
  .step__head { justify-content: flex-start; }
}

.payments .footnote { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ==========================================================================
   12. Leasehold
   ========================================================================== */
.leasehold__intro { display: grid; gap: 1.5rem; }
.leasehold__years {
  display: flex; align-items: baseline; gap: .6rem;
  font-size: clamp(5.5rem, 16vw, 11rem); font-weight: 300; line-height: .9; letter-spacing: -.03em; color: var(--sand-700);
}
.section--light .leasehold__years { color: var(--sand-700); }
.leasehold__years-unit { font-size: .72rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }
@media (min-width: 1080px) {
  .leasehold__intro { grid-template-columns: minmax(0, .8fr) 1.2fr; gap: 5rem; align-items: center; }
  .leasehold__intro .lead { max-width: 52ch; }
}

.leasehold__paths { margin-top: clamp(3rem, 6vw, 4.5rem); }
.leasehold__subtitle { font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sand-700); margin-bottom: 1.25rem; }
.paths { display: grid; gap: 1rem; }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { padding: 1.5rem; background: var(--cream-50); border-left: 2px solid var(--sand-700); }
.path h4 { margin: 0; font-size: 1.15rem; font-weight: 500; color: var(--green-900); }
.path p { margin-top: .4rem; font-size: .92rem; }

.pillars { counter-reset: pillar; display: grid; margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line-light); }
.pillar { counter-increment: pillar; padding: 1.75rem 0; border-bottom: 1px solid var(--line-light); }
.pillar::before { content: "0" counter(pillar); display: block; margin-bottom: .75rem; font-size: .72rem; font-weight: 500; letter-spacing: .18em; color: var(--sand-700); }
.pillar h3 { font-size: 1.3rem; color: var(--green-900); }
.pillar p { margin-top: .5rem; font-size: .95rem; max-width: 42ch; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-light); }
  .pillar { padding: 2rem 2rem 2.25rem 0; border-bottom: 0; }
  .pillar + .pillar { padding-left: 2rem; border-left: 1px solid var(--line-light); }
}

.leasehold .footnote { margin-top: clamp(2.5rem, 5vw, 3.5rem); color: var(--ink-soft); }

/* ==========================================================================
   13. Gestión integral
   ========================================================================== */
.management__grid { display: grid; gap: 3rem; }
.management__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--green-800); }
.management__media figcaption { margin-top: .75rem; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); }
.management .lead { color: var(--on-dark-soft); }

.management__fee { display: flex; align-items: baseline; gap: 1rem; margin-top: 2.25rem; padding-block: 1.25rem; border-block: 1px solid var(--line-dark); }
.management__fee-value { font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--sand); font-variant-numeric: tabular-nums; white-space: nowrap; }
.management__fee-label { font-size: .9rem; color: var(--on-dark-soft); max-width: 26ch; }

.services { counter-reset: service; margin-top: 1rem; }
.service { counter-increment: service; position: relative; padding: 1.1rem 0 1.1rem 2.75rem; border-bottom: 1px solid var(--line-dark); }
.service::before { content: "0" counter(service); position: absolute; left: 0; top: 1.35rem; font-size: .7rem; font-weight: 500; letter-spacing: .14em; color: var(--sand); }
.service h3 { font-size: 1.08rem; font-weight: 500; }
.service p { margin-top: .2rem; font-size: .9rem; color: var(--on-dark-soft); }

.management__note { margin-top: 1.5rem; font-size: .85rem; color: var(--on-dark-soft); }
.management .link-arrow { margin-top: 1.75rem; color: var(--cream); }

@media (min-width: 1080px) {
  .management__grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .management__media { position: sticky; top: calc(var(--header-h) + 2rem); }
  .management__media img { aspect-ratio: 4 / 5; object-position: 76% center; } /* encuadra la recepción y el cartel */
}

/* ==========================================================================
   14. Ubicación
   ========================================================================== */
.location__head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.location__subtitle { font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sand-700); margin-bottom: 1.25rem; }
.location__grid { display: grid; gap: 3rem; }
@media (min-width: 1080px) { .location__grid { grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: stretch; } }

.map { position: relative; display: flex; flex-direction: column; min-height: 360px; }
.map__facade, .map__frame { flex: 1; width: 100%; min-height: 360px; border: 0; }
.map__facade {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 2rem 1.5rem; text-align: center;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 42%, rgba(188, 163, 136, .22), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(235, 231, 229, .05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(235, 231, 229, .05) 39px 40px),
    var(--green-900);
}
.map__pin { width: 18px; height: 18px; margin-bottom: .5rem; border-radius: 50% 50% 50% 0; background: var(--sand); transform: rotate(-45deg); box-shadow: 0 0 0 8px rgba(188, 163, 136, .18); }
.section--light .map__facade p { color: inherit; }
.map__place { font-size: 1.25rem; }
.map__coords { font-size: .78rem; letter-spacing: .1em; opacity: .7; font-variant-numeric: tabular-nums; }
.map__load { margin-top: 1rem; }
.section--light .map__facade .map__privacy { margin-top: .4rem; max-width: 34ch; font-size: .72rem; color: var(--on-dark-soft); }
.map__open { align-self: flex-start; margin-top: .9rem; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--green-900); }
@media (min-width: 1080px) { .map, .map__facade, .map__frame { min-height: 460px; } }

.drive__list { border-top: 1px solid var(--line-light); }
.drive__item { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
.drive__place { font-size: .98rem; color: var(--green-900); }
.drive__time { font-size: 1.35rem; color: var(--sand-700); white-space: nowrap; font-variant-numeric: tabular-nums; }
.drive__note { margin-top: .9rem; font-size: .75rem; }

.surroundings { margin-top: clamp(3.5rem, 7vw, 5rem); }
.places { display: grid; grid-auto-flow: column; grid-auto-columns: min(70vw, 280px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.places::-webkit-scrollbar { display: none; }
.place { scroll-snap-align: start; }
.place__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--green-800); }
.place__media img { width: 100%; height: 100%; object-fit: cover; }
.place h4 { margin: 1rem 0 0; font-size: 1.1rem; font-weight: 500; color: var(--green-900); }
.place p { margin-top: .3rem; font-size: .88rem; }
@media (min-width: 1080px) {
  .places { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.faq__grid { display: grid; gap: 3rem; }
.faq__head .lead { color: var(--on-dark-soft); }
@media (min-width: 1080px) {
  .faq__grid { grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.faq__list { border-top: 1px solid var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 64px; padding: 1.1rem 0; cursor: pointer; list-style: none;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem); font-weight: 400; line-height: 1.4;
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--line-dark); border-radius: 50%; font-size: 1.2rem; font-weight: 300; color: var(--sand);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq__item summary:hover { color: var(--sand); }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--green-800); }
.faq__answer { padding: 0 0 1.5rem; }
@media (min-width: 640px) { .faq__answer { padding-right: 3.5rem; } }
.faq__answer p { font-size: .95rem; color: var(--on-dark-soft); max-width: 62ch; }
.faq__answer strong { font-weight: 500; color: var(--cream); }
.faq__answer a { color: var(--sand); text-underline-offset: 3px; }
.faq__item[open] .faq__answer { animation: faq-in .4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   16. Solicitar dossier (formulario)
   ========================================================================== */
.dossier__grid { display: grid; gap: 3rem; }
@media (min-width: 1080px) { .dossier__grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; } }

.dossier__includes { margin-top: 2rem; display: grid; gap: .7rem; }
.dossier__includes li { position: relative; padding-left: 1.75rem; font-size: .95rem; color: var(--green-900); }
.dossier__includes li::before { content: ""; position: absolute; left: 0; top: .7em; width: 1rem; height: 1px; background: var(--sand-700); }
.dossier__alt { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line-light); }

.dossier__card { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--cream-50); border-top: 2px solid var(--sand-700); }

.form { display: grid; gap: 1.25rem; }
.form[hidden] { display: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.field__req { color: var(--sand-700); }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem;
  font: 300 1rem/1.5 var(--font); color: var(--green-900);
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sand-700); box-shadow: 0 0 0 3px rgba(116, 95, 69, .2); }
.field [aria-invalid="true"] { border-color: #A4462F; }
.field__error { font-size: .78rem; color: #A4462F !important; min-height: 0; }
.field__error:empty { display: none; }

.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: .75rem; }
.field--check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--green-900); cursor: pointer; }
.field--check label { font-size: .82rem; font-weight: 300; letter-spacing: 0; text-transform: none; line-height: 1.55; cursor: pointer; }
.field--check .field__error { grid-column: 2; }

.form__submit { width: 100%; margin-top: .5rem; }
.form__submit:disabled { opacity: .6; cursor: wait; }
.section--light .form__submit:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream); }
.form__status { font-size: .85rem; color: #A4462F !important; }
.form__status:empty { display: none; }
.form__required { font-size: .72rem; }

.dossier__done { display: grid; justify-items: start; gap: .9rem; }
.dossier__done[hidden] { display: none; }
.dossier__done:focus { outline: none; }
.dossier__done-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-900); position: relative; }
.dossier__done-icon::after { content: ""; position: absolute; left: 16px; top: 12px; width: 9px; height: 16px; border: solid var(--sand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dossier__done h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: var(--green-900); }
.dossier__done .btn { margin-top: .5rem; }
.section--light .dossier__done .btn:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream); }
.dossier__done-size { font-size: .75rem; }
.dossier__done .link-arrow { margin-top: 1rem; }

/* ==========================================================================
   17. Footer
   ========================================================================== */
.site-footer { padding-block: clamp(3.5rem, 8vw, 5.5rem) 2rem; background: var(--green-950); color: var(--on-dark); font-size: .9rem; }
.site-footer__top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.site-footer__brand img { width: 120px; height: auto; }
.site-footer__byline { display: inline-block; margin-top: 1.25rem; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); text-decoration: none; }
.site-footer__byline:hover { color: var(--cream); }
.site-footer__title { font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 1rem; }
.site-footer__contact { display: grid; gap: .35rem; }
.site-footer__contact a, .site-footer__bottom a { text-decoration: none; transition: color .2s var(--ease); }
.site-footer__contact a:hover, .site-footer__bottom a:hover { color: var(--sand); }
.site-footer__contact a { display: inline-block; padding-block: .2rem; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .site-footer__top { grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; } }

.site-footer__legal { display: grid; gap: .6rem; padding-block: 2rem; border-bottom: 1px solid var(--line-dark); }
.site-footer__legal p { font-size: .75rem; line-height: 1.6; color: var(--on-dark-soft); max-width: 110ch; }

.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; padding-top: 1.75rem; font-size: .75rem; color: var(--on-dark-soft); }
.site-footer__bottom p { margin-right: auto; }

/* ==========================================================================
   Página legal (privacidad)
   ========================================================================== */
.site-header--simple .site-header__inner { justify-content: space-between; }
.link-arrow--back { margin-top: 0; font-size: .68rem; color: var(--cream); border-bottom-color: transparent; }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: "←"; transition: transform .3s var(--ease); }
.link-arrow--back:hover::before { transform: translateX(-4px); }

.legal { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)); }
.legal__inner { max-width: calc(760px + var(--gutter) * 2); }
.legal .section-title { max-width: none; }
.legal__updated { margin-top: 1rem; font-size: .8rem; }
.legal__block { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--line-light); }
.legal__block h2 { font-size: 1.25rem; font-weight: 500; color: var(--green-900); }
.legal__block p, .legal__block li { margin-top: .75rem; font-size: .98rem; line-height: 1.75; color: var(--ink-soft); }
.legal__block ul { margin-top: .5rem; padding-left: 1.25rem; list-style: disc; }
.legal__block li { margin-top: .35rem; }
.legal__block a { color: var(--sand-700); text-underline-offset: 3px; }
.legal__block strong { font-weight: 500; color: var(--green-900); }

/* Enlace dentro de la casilla de consentimiento */
.field--check label a { color: var(--sand-700); text-underline-offset: 2px; }

/* ==========================================================================
   WhatsApp: iconos, botón flotante y "Agendar llamada"
   ========================================================================== */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.btn { gap: .6rem; }
.icon { flex: none; width: 1.15em; height: 1.15em; }
.btn .icon { width: 1.35em; height: 1.35em; margin-left: -.15rem; }

/* En secciones claras, el hover crema del botón primario no se vería */
.section--light .btn--primary:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream); }
.btn--ghost-dark { color: var(--green-900); border-color: rgba(30, 42, 37, .45); }
.btn--ghost-dark:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream); }

/* Botón flotante */
.wa-fab {
  position: fixed; z-index: 45;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 6px 20px rgba(24, 34, 30, .35), 0 0 0 1px rgba(255, 255, 255, .15) inset;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 26px rgba(24, 34, 30, .4); }
.wa-fab:focus-visible { outline-color: #25D366; }
.wa-fab__icon { width: 30px; height: 30px; }
.nav-open .wa-fab { opacity: 0; visibility: hidden; }
@media (min-width: 1080px) { .wa-fab { right: 2rem; bottom: 2rem; width: 60px; height: 60px; } }

/* Enlace "agenda una llamada" del hero */
.hero__call {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.25rem;
  font-size: .85rem; color: var(--cream); text-decoration: none;
  border-bottom: 1px solid rgba(235, 231, 229, .4); padding-bottom: .2rem;
  animation: rise 1s var(--ease) .48s both; text-shadow: 0 1px 18px rgba(24, 34, 30, .4);
}
.hero__call:hover { border-bottom-color: var(--sand); color: var(--sand); }

/* Franja "Agendar llamada" al final de secciones */
.call-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border: 1px solid var(--line-dark);
}
.section--light .call-band { background: var(--cream-50); border-color: var(--line-light); }
.call-band__title { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.3; }
.section--light .call-band__title { color: var(--green-900); }
.call-band__text { margin-top: .35rem; font-size: .9rem; color: var(--on-dark-soft); max-width: 56ch; }
.call-band__btn { flex: none; }
@media (max-width: 639px) { .call-band__btn { width: 100%; } }

.faq__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.dossier__alt-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.site-footer__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
/* El botón flotante no debe tapar los enlaces finales del pie en móvil */
@media (max-width: 1079px) { .site-footer__bottom { padding-bottom: 4.5rem; } }

/* Página 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; }
.notfound__inner { display: grid; justify-items: center; gap: 1rem; max-width: 640px; }
.notfound__inner img { width: 110px; height: auto; margin-bottom: 1.5rem; }
.notfound .section-title { max-width: none; }
.notfound .lead { margin-top: 0; color: var(--on-dark-soft); }
.notfound hr { width: 60px; margin: 2rem 0 1rem; border: 0; border-top: 1px solid var(--line-dark); }
.notfound__en { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }

/* Visor (lightbox) */
html.is-locked { overflow: hidden; }
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(24, 34, 30, .96); color: var(--cream);
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in .35s var(--ease); }
.lightbox::backdrop { background: rgba(24, 34, 30, .6); }
.lightbox__figure { display: grid; justify-items: center; gap: 1rem; padding: 4.5rem var(--gutter) 1.5rem; max-width: 100%; }
.lightbox__img { max-width: min(100%, 1600px); max-height: calc(100dvh - 10rem); width: auto; height: auto; object-fit: contain; }
.lightbox__caption { display: flex; gap: 1.5rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); }
.lightbox__count { color: var(--sand); font-variant-numeric: tabular-nums; }
.lightbox__btn {
  position: fixed; width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(24, 34, 30, .6); color: var(--cream); font: 300 1.1rem/1 var(--font);
  border: 1px solid var(--line-dark); border-radius: 50%; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.lightbox__btn:hover { background: var(--sand); color: var(--green-900); }
.lightbox__close { top: 1rem; right: var(--gutter); }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
.lightbox__btn[hidden] { display: none; }
@media (max-width: 639px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Animaciones de aparición
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero-track { height: auto; }
  .js .hero-track .hero { position: relative; height: auto; }
}

/* Aviso de desarrollo: datos sin cargar (p. ej. abierto con file://) */
.serve-notice {
  position: fixed; inset: auto 1rem 1rem; z-index: 200;
  padding: 1rem 1.25rem; background: var(--sand); color: var(--green-900);
  font-size: .9rem; font-weight: 500; border-radius: var(--radius);
}
