/* ============================================================
   TERRAZAS DE COLONIA — Editorial Riverline
   Design language: contemplative luxury, river + time + experience.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* ---------- BRAND PALETTE — EXACT HEX FROM TERRAZAS DE COLONIA ID 2026 ----------
     Sampled pixel-accurate from the brand identity deck swatch page:
       #3C71A5  blue (cornflower)   ·  #88A8C1  light blue
       #527344  forest green        ·  #7E9A72  sage green
       #957B48  gold/ochre          ·  #DDD4AD  cream/sand
       #643839  wine/earth          ·  #905456  dusty rose
     Blue is the primary brand color; gold the accent; cream the neutral.
     Greens + wine are supporting accents (use sparingly). */
  --brand-blue:      #3C71A5;   /* PRIMARY cornflower blue — hero, dark sections */
  --brand-blue-deep: #2C567E;   /* deeper blue for depth/overlays */
  --brand-blue-soft: #88A8C1;   /* light blue */
  --brand-green:     #527344;   /* forest green accent */
  --brand-sage:      #7E9A72;   /* sage green */
  --brand-gold:      #957B48;   /* gold/ochre accent (on light) */
  --brand-gold-warm: #B89A5E;   /* brighter gold (on blue/dark) */
  --brand-cream:     #DDD4AD;   /* canonical cream/sand */
  --brand-cream-2:   #CFC49A;   /* deeper sand */
  --brand-paper:     #F6F2E6;   /* warm luminous paper — primary surface */
  --brand-ivory:     #FBF8EF;   /* lightest off-white */
  --brand-wine:      #643839;   /* wine/earth (rare warmth) */
  --brand-rose:      #905456;   /* dusty rose */

  /* Working aliases used through the stylesheet */
  --brand-dark:      #2C567E;   /* dark sections use deep blue now */
  --brand-dark-deep: #1F3F5C;
  --brand-dark-2:    #3C71A5;
  --brand-sand:      #B89A5E;   /* gold-on-dark */
  --brand-sand-2:    #957B48;
  --brand-sand-soft: #DDD4AD;
  --brand-dusty:     #6E8AA3;
  --brand-dusty-2:   #4E7090;
  --brand-gold-2:    #7E6838;

  /* sunrise hues — used in photography only (gradients/overlays) */
  --sunrise-rust:    #A76844;
  --sunrise-amber:   #C68F66;
  --sunrise-peach:   #D6B79E;

  /* Legacy aliases mapped to new blue+gold palette (existing code keeps working) */
  --river-deep:  var(--brand-blue-deep);
  --river:       var(--brand-blue);
  --river-soft:  var(--brand-blue-soft);
  --river-mist:  #B8CCDC;
  --gold:        var(--brand-gold);
  --gold-warm:   var(--brand-gold-warm);
  --gold-soft:   var(--brand-cream);
  --sand:        var(--brand-cream);
  --paper:       var(--brand-paper);
  --paper-cream: #EFE9D6;
  --ivory:       var(--brand-ivory);
  --terracotta:  var(--brand-wine);

  --ink: #20364A;          /* deep blue-ink for text on paper */
  --ink-soft: #38536C;
  --ink-mute: #5E7184;
  --rule: rgba(32, 54, 74, 0.12);
  --rule-strong: rgba(32, 54, 74, 0.26);

  --bg: var(--paper);
  --fg: var(--ink);

  /* Typography — TERRAZAS DE COLONIA ID 2026:
     - System font: MONTSERRAT (the deck's typeface) for headings, body, UI.
       Light/200-300 weights for an airy, editorial, lifestyle feel.
     - Logo lockup only: CINZEL serif (Trajan-style caps matching the wordmark). */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-italic: 'Montserrat', system-ui, sans-serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;
  --font-logo: 'Montserrat', system-ui, sans-serif;

  /* Type scale — refined further. Editorial calm, not display fireworks. */
  --fs-xs:   clamp(0.68rem, 0.64rem + 0.2vw, 0.74rem);
  --fs-sm:   clamp(0.80rem, 0.76rem + 0.2vw, 0.88rem);
  --fs-base: clamp(0.94rem, 0.90rem + 0.2vw, 1.02rem);
  --fs-lg:   clamp(1.04rem, 0.98rem + 0.35vw, 1.18rem);
  --fs-xl:   clamp(1.22rem, 1.10rem + 0.5vw, 1.45rem);
  --fs-2xl:  clamp(1.55rem, 1.35rem + 0.9vw, 2.05rem);
  --fs-3xl:  clamp(1.95rem, 1.60rem + 1.4vw, 2.75rem);
  --fs-4xl:  clamp(2.3rem, 1.8rem + 1.8vw, 3.4rem);
  --fs-display: clamp(2.6rem, 2.0rem + 2.4vw, 4.2rem);

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;
  --s-10: 9rem;
  --s-11: 12rem;

  /* Layout */
  --container: 1440px;
  --gutter: clamp(1.25rem, 3vw, 3rem);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0.18, 1);

  --d-fast: 220ms;
  --d-base: 600ms;
  --d-slow: 1100ms;
  --d-cinematic: 1600ms;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* No `scroll-behavior: smooth` — let the OS handle native scrolling.
   Anchor links smooth-scroll via JS on click (precise + cancellable). */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

/* Focus styles — visible on keyboard, invisible on mouse. Gold ring matches brand. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav.is-hero :focus-visible,
.section-dark :focus-visible,
.location :focus-visible,
.hero :focus-visible { outline-color: var(--gold-soft); }
.btn:focus-visible { outline-offset: 5px; }

/* ---------- PAPER ATMOSPHERE ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(197, 165, 114, 0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(61, 110, 154, 0.07), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
  opacity: 0.55;
}

/* ---------- LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 5;
}

.section {
  padding: var(--s-10) 0;
  position: relative;
  z-index: 5;
}
.section.section-tight { padding: var(--s-9) 0; }
.section.section-tall  { padding: var(--s-11) 0; }
@media (max-width: 680px) {
  .section { padding: var(--s-8) 0; }
  .section.section-tight { padding: var(--s-7) 0; }
  .section.section-tall  { padding: var(--s-9) 0; }
}
.section-dark {
  background: var(--river-deep);
  color: var(--ivory);
}
.section-cream { background: var(--paper-cream); }

/* Section label (numbered eyebrow) */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.eyebrow-center { justify-content: center; }
.section-dark .eyebrow { color: var(--gold-soft); }

/* Display headings — DM Sans 350 via variable axis. The 350 weight gives
   stems enough heft to avoid looking fragile on non-retina screens while
   keeping the editorial feel of a light cut. */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "wght" 350, "opsz" 32;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.display em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.018em;
  color: var(--ink-soft);
}
.section-dark .display { color: var(--ivory); }
.section-dark .display em { color: rgba(251, 247, 238, 0.78); }

/* ---------- BRAND ARCH (logo motif as graphic device) ---------- */
.arch {
  display: inline-block;
  width: 64px; height: 32px;
  position: relative;
  color: var(--gold);
}
.arch svg { width: 100%; height: 100%; display: block; overflow: visible; color: inherit; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: var(--s-5) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transition: background var(--d-base) var(--ease-out), backdrop-filter var(--d-base);
}
.nav > * { pointer-events: auto; }
.nav.is-scrolled {
  background: rgba(44, 86, 126, 0.92);          /* brand blue, so the cream logo stays visible */
  background: color-mix(in srgb, var(--brand-blue-deep) 92%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav.is-scrolled { background: rgba(44, 86, 126, 0.98); }
}
/* Links/lang are cream over hero AND when scrolled (blue bar) — always cream */
.nav .nav-list a,
.nav .lang-btn,
.nav .nav-burger { color: var(--ivory); }
.nav.is-scrolled .nav-list a,
.nav.is-scrolled .lang-btn { color: var(--ivory); }

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.nav-logo {
  height: 58px; width: auto; display: block;
  filter: drop-shadow(0 1px 6px rgba(20,40,60,0.45));
}
@media (max-width: 680px) { .nav-logo { height: 46px; } }
.nav-brand .arch { width: 38px; height: 20px; }
.brand-name {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  text-transform: uppercase;
  transition: color var(--d-base);
}
.brand-name .de { font-size: 0.55em; vertical-align: middle; opacity: 0.6; margin: 0 0.25em; letter-spacing: 0.15em; }

.nav-list {
  display: flex;
  gap: var(--s-6);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-list a {
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--d-base);
}
.nav-list a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: currentColor;
  transition: width var(--d-base) var(--ease-out);
}
.nav-list a:hover::after { width: 100%; }

/* Mobile menu trigger (hidden on desktop) */
.nav-burger {
  display: none;
  position: relative;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  transition: border-color var(--d-base);
}
.nav-burger { border-color: rgba(255,255,255,0.32); color: var(--ivory); }
.nav-burger .bars {
  position: relative; width: 16px; height: 10px;
}
.nav-burger .bars::before,
.nav-burger .bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px;
  background: currentColor; transition: transform 350ms var(--ease-out), top 350ms var(--ease-out);
}
.nav-burger .bars::before { top: 1px; }
.nav-burger .bars::after  { top: 8px; }
body.nav-open .nav-burger .bars::before { top: 4.5px; transform: rotate(45deg); }
body.nav-open .nav-burger .bars::after  { top: 4.5px; transform: rotate(-45deg); }

/* Mobile drawer overlay */
.nav-drawer {
  position: fixed; inset: 0;
  z-index: 49;
  background: var(--river-deep);
  color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s-9) var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity 500ms var(--ease-out), visibility 0s 500ms;
}
.nav-drawer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 50% 60%, rgba(197,165,114,0.10), transparent 70%);
  pointer-events: none;
}
body.nav-open .nav-drawer {
  opacity: 1; visibility: visible;
  transition: opacity 500ms var(--ease-out);
}
.nav-drawer-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--s-5);
  position: relative; z-index: 1;
}
.nav-drawer-list a {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "wght" 350, "opsz" 32;
  font-size: var(--fs-3xl);
  letter-spacing: -0.012em;
  color: var(--ivory);
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
body.nav-open .nav-drawer-list a {
  opacity: 1; transform: translateY(0);
}
body.nav-open .nav-drawer-list li:nth-child(1) a { transition-delay: 80ms; }
body.nav-open .nav-drawer-list li:nth-child(2) a { transition-delay: 160ms; }
body.nav-open .nav-drawer-list li:nth-child(3) a { transition-delay: 240ms; }
body.nav-open .nav-drawer-list li:nth-child(4) a { transition-delay: 320ms; }
body.nav-open .nav-drawer-list li:nth-child(5) a { transition-delay: 400ms; }
.nav-drawer-footer {
  margin-top: var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-3);
  font-size: var(--fs-xs); letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(251,247,238,0.55);
  position: relative; z-index: 1;
}
.nav-drawer-footer a { color: var(--gold-warm); }

body.nav-open { overflow: hidden; }

@media (max-width: 880px) {
  .nav-list { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (min-width: 881px) {
  .nav-drawer, .nav-burger { display: none !important; }
}

.nav-right {
  display: flex; align-items: center; gap: var(--s-3);
}

/* Language switcher */
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.lang-btn {
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  transition: all var(--d-base);
  display: inline-flex; align-items: center; gap: 0.5em;
}
.nav .lang-btn { border-color: rgba(255,255,255,0.32); }
.lang-btn:hover { border-color: currentColor; }
.lang-btn .caret { width: 10px; height: 10px; transition: transform var(--d-base); }
.lang.is-open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 0.4rem;
  min-width: 160px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--d-base) var(--ease-out);
  box-shadow: 0 24px 80px -30px rgba(26, 32, 32, 0.35);
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: var(--s-3);
  width: 100%; padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: background var(--d-fast), color var(--d-fast);
}
.lang-menu button .iso {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--river);
  width: 26px;
}
.lang-menu button:hover { background: var(--paper-cream); color: var(--ink); }
.lang-menu button.is-active { background: var(--river-deep); color: var(--ivory); }
.lang-menu button.is-active .iso { color: var(--gold-warm); }

/* ---------- HERO ---------- */
/* ---------- HERO — cinematic cover (PDF brand-book style) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;   /* nombre arriba · claim abajo · sol libre al medio */
  align-items: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
  background: var(--brand-dark);
  overflow: hidden;
}
.hero-media img,
.hero-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
  /* Slow cinematic Ken Burns drift */
  animation: hero-kenburns 22s ease-in-out infinite alternate;
}
.hero-media video { backface-visibility: hidden; animation: none; transform: scale(1.05); }
@keyframes hero-kenburns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(0, -2%, 0); }
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  /* Only the top and bottom darken (for the copy there). The CENTER is left
     clear so the sun keeps its glow — no central scrim killing the brightness. */
  background:
    linear-gradient(180deg, rgba(12,26,40,0.52) 0%, rgba(12,26,40,0.14) 16%, rgba(12,26,40,0) 30%),
    linear-gradient(0deg,   rgba(12,26,40,0.62) 0%, rgba(12,26,40,0.16) 22%, rgba(12,26,40,0) 40%);
}
.hero-top, .hero-bottom {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-top    { padding-top: calc(var(--s-8) + 2.4rem); }  /* clear the fixed nav */
.hero-bottom { padding-bottom: var(--s-7); }  /* claim más abajo (sin la bajada) */

/* Reveal choreography on load */
.hero-name, .hero-place, .hero-claim, .hero-bajada, .hero-ctas {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.is-loaded .hero-name   { opacity: 1; transform: none; transition-delay: 0.20s; }
.is-loaded .hero-place  { opacity: 1; transform: none; transition-delay: 0.35s; }
.is-loaded .hero-claim  { opacity: 1; transform: none; transition-delay: 0.50s; }
.is-loaded .hero-ctas   { opacity: 1; transform: none; transition-delay: 0.80s; }

/* Top — project name (wordmark scale) + smaller place line */
.hero-name {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0 0 var(--s-3);
  text-shadow: 0 2px 22px rgba(8,18,30,0.5);
}
.hero-place {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(251,247,238,0.82);
  margin: 0;
  display: inline-flex; align-items: center; gap: var(--s-4);
  text-shadow: 0 1px 12px rgba(8,18,30,0.5);
}
.hero-place::before, .hero-place::after {
  content: ""; width: 26px; height: 1px;
  background: var(--brand-sand); opacity: 0.6;
}

.hero-claim {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-xl);
  color: var(--ivory);
  margin: var(--s-5) 0 var(--s-3);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 28px rgba(8,18,30,0.6), 0 1px 4px rgba(8,18,30,0.5);
}
.hero-bajada {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-base);
  color: rgba(251,248,239,0.92);
  max-width: 42ch;
  margin: 0 0 var(--s-7);
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 18px rgba(8,18,30,0.62), 0 1px 3px rgba(8,18,30,0.5);
}
.is-loaded .hero-bajada { opacity: 1; transform: none; transition-delay: 0.95s; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: var(--s-6);
  transform: translateX(-50%);
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, transparent, rgba(251,247,238,0.7));
  z-index: 4;
  overflow: hidden;
}
.hero-scroll::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--brand-sand);
  animation: scroll-pulse 2.6s var(--ease-inout) infinite;
}
@keyframes scroll-pulse {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
@media (max-width: 680px) { .hero-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .hero-media video { animation: none; }
}

/* ---------- GOLDEN WATER INTERSTITIAL — full-bleed luxe moment ---------- */
.interstitial {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}
.interstitial-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.interstitial-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 55%;
  transform: scale(1.05);
  will-change: transform;
}
.interstitial-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 80% at 50% 50%, rgba(26,32,32,0.15) 0%, rgba(26,32,32,0.5) 70%, rgba(26,32,32,0.72) 100%);
}
.interstitial-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
}
.interstitial-quote {
  font-family: var(--font-logo);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 3.4vw, 4.2rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--ivory);
  margin: 0;
  text-shadow: 0 2px 40px rgba(20,40,60,0.55);
}
.interstitial-sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: var(--fs-lg);
  color: rgba(251,247,238,0.86);
  max-width: 40ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 1.05rem 1.6rem;
  font-size: var(--fs-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: transform var(--d-base) var(--ease-out), color var(--d-base);
  will-change: transform;
}
.btn .ic {
  width: 18px; height: 12px;
  position: relative;
  transition: transform var(--d-base) var(--ease-out);
}
.btn .ic::before {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 100%; height: 1px; background: currentColor; transform: translateY(-50%);
}
.btn .ic::after {
  content: ""; position: absolute; top: 50%; right: 0;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .ic { transform: translateX(6px); }

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover { background: var(--gold-warm); }

.btn-outline {
  border: 1px solid currentColor;
  color: var(--ivory);
}
.btn-outline:hover { background: rgba(251,247,238,0.08); }

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }

.btn-dark { background: var(--river-deep); color: var(--ivory); }
.btn-dark:hover { background: var(--ink); }

/* ---------- CONCEPT SECTION ---------- */
.concept .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: start;
}
.concept .title { font-size: var(--fs-4xl); }
.concept-title { margin-top: var(--s-5); }
.towers-title { margin-top: var(--s-4); }
.concept .body {
  font-size: var(--fs-lg);
  color: var(--ink-soft);
  max-width: 38ch;
  line-height: 1.5;
}
.concept .aside {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: var(--fs-lg);
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  padding-top: var(--s-5);
  margin-top: var(--s-6);
  max-width: 30ch;
  line-height: 1.4;
}
@media (max-width: 880px) {
  .concept .container { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ---------- EXPERIENCE SECTION ---------- */
.experience { background: var(--paper-cream); overflow: hidden; padding: 0 0 var(--s-10); }
/* Text block below the clean image — mirrors the 01 (concept) two-column grid */
.experience-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: start;
  padding-top: var(--s-9);
}
@media (max-width: 880px) {
  .experience-intro { grid-template-columns: 1fr; gap: var(--s-6); }
}
.experience-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}
.experience-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1800ms var(--ease-out);
}
.experience-media:hover img { transform: scale(1.02); }
.experience-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(251,247,238,0.18);
  margin: 12px;
  pointer-events: none;
}
.experience-media .badge {
  position: absolute;
  z-index: 3;
  left: var(--s-5); bottom: var(--s-5);
  color: var(--ivory);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: var(--s-3);
}
.experience-media .badge::before {
  content: ""; width: 24px; height: 1px; background: var(--gold);
}
.experience-title {
  font-size: var(--fs-4xl);
  margin-top: var(--s-5);
}
.experience-list {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--rule);
}
.experience-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: start;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
  transition: padding var(--d-base) var(--ease-out);
}
.experience-list li:hover { padding-left: var(--s-4); }
.experience-list .num {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-mute);
  font-size: var(--fs-base);
  letter-spacing: 0.01em;
}
.experience-list .key {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-lg);
  color: var(--ink);
  letter-spacing: 0.01em;
}
.experience-list .val {
  color: var(--ink-mute);
  font-size: var(--fs-base);
  display: block;
  margin-top: 0.25em;
  letter-spacing: 0.01em;
}
.experience-list .key::after { display: none; }
.experience-outro {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: var(--fs-lg);
  color: var(--ink-soft);
  margin-top: var(--s-7);
  line-height: 1.4;
  max-width: 32ch;
}
@media (max-width: 980px) {
  .experience .container { grid-template-columns: 1fr; gap: var(--s-7); }
  .experience-list li { grid-template-columns: 56px 1fr; }
  .experience-list .val { grid-column: 2; }
}

/* ---------- TOWERS SECTION ---------- */
.towers { background: var(--ivory); padding-bottom: 0; }
.towers-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-9);
}
.towers-head .title { font-size: var(--fs-4xl); }
.towers-head .intro {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: var(--fs-lg);
  color: var(--ink-mute);
  max-width: 30ch;
  line-height: 1.45;
}
@media (max-width: 880px) {
  .towers-head { grid-template-columns: 1fr; gap: var(--s-5); }
}
.tower-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-9);
  align-items: stretch;
  padding: var(--s-8) 0;
  border-top: 1px solid var(--rule);
}
.tower-row:last-child { border-bottom: 1px solid var(--rule); }
.tower-row.is-reverse .tower-media { order: 2; }
.tower-row.is-reverse .tower-body { order: 1; }
/* Text-only tower (no image): centered, with a large brand numeral */
.tower-row.is-text { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: var(--s-9) 0; }
.tower-row.is-text .tower-body { align-items: center; max-width: 56ch; padding: 0; }
.tower-row.is-text .tower-title,
.tower-row.is-text .tower-body p { max-width: none; }
.tower-row.is-text .tower-tag::before { display: none; }
.tower-num-text {
  font-family: var(--font-italic);
  font-style: italic;
  font-variation-settings: "wght" 380, "opsz" 32;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--brand-sand);
  opacity: 0.9;
  margin-bottom: var(--s-4);
}
.tower-media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.tower-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 2000ms var(--ease-out);
  will-change: transform;
}
.tower-row:hover .tower-media img { transform: scale(1.0); }
.tower-media .num {
  position: absolute;
  top: var(--s-5); left: var(--s-5);
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "wght" 380, "opsz" 32;
  font-size: 2.8rem;
  color: var(--ivory);
  line-height: 1;
  letter-spacing: 0.02em;
  opacity: 0.95;
  text-shadow: 0 2px 18px rgba(15, 28, 42, 0.55);
  pointer-events: none;
}
.tower-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s-4) 0;
  position: relative;
}
.tower-tag {
  font-size: var(--fs-xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
  display: inline-flex; align-items: center; gap: var(--s-3);
  white-space: nowrap;
}
.tower-tag::before {
  content: ""; width: 28px; height: 1px;
  background: var(--ink-mute);
}
.tower-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "wght" 360, "opsz" 32;
  font-size: var(--fs-3xl);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin-bottom: var(--s-5);
  max-width: 18ch;
  color: var(--ink);
}
.tower-body p {
  font-size: var(--fs-base);
  color: var(--ink-mute);
  max-width: 38ch;
  margin-bottom: var(--s-6);
  line-height: 1.65;
}
.tower-cta { align-self: start; }

.tower-meta {
  list-style: none; padding: 0; margin: 0 0 var(--s-6);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tower-meta li {
  display: inline-flex; align-items: center; gap: var(--s-3);
}
.tower-meta li + li::before {
  content: ""; width: 3px; height: 3px;
  border-radius: 50%; background: var(--gold); margin-right: var(--s-3);
  display: inline-block;
}

@media (max-width: 880px) {
  .tower-row, .tower-row.is-reverse { grid-template-columns: 1fr; gap: var(--s-5); }
  .tower-row.is-reverse .tower-media { order: 0; }
  .tower-row.is-reverse .tower-body { order: 1; }
  .tower-media .num { font-size: 3rem; }
}

/* ---------- LOCATION SECTION ---------- */
/* Ubicación — clean full-bleed aerial image + text below (light, 01-style) */
.location {
  position: relative;
  background: var(--paper-cream);
  color: var(--ink);
  overflow: hidden;
  padding: 0 0 var(--s-10);
}
.location-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-9);
  align-items: start;
  padding-top: var(--s-9);
}
.location-title {
  font-size: var(--fs-4xl);
  margin: var(--s-5) 0 var(--s-6);
  color: var(--ink);
}
.location-body {
  font-size: var(--fs-base);
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: var(--s-4);
  line-height: 1.7;
}
.location-body:empty { display: none; }
.location-facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.location-facts > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
}
.location-facts .k {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: var(--fs-xl);
  color: var(--brand-gold);
  line-height: 1;
  letter-spacing: -0.005em;
}
.location-facts .v {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.location-cta { margin-top: var(--s-6); }
@media (max-width: 980px) {
  .location-intro { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ---------- CLOSING SECTION ---------- */
.closing {
  text-align: center;
  background: var(--brand-dark);
  color: var(--ivory);
  padding: var(--s-10) 0 var(--s-9);
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 30%, rgba(185,160,135,0.12), transparent 70%);
  pointer-events: none;
}
.closing .container { position: relative; z-index: 1; }
.closing .eyebrow { color: rgba(251,247,238,0.6); }
.closing .eyebrow::before { background: var(--brand-sand); opacity: 0.7; }
.closing .arch {
  width: 64px; height: 32px;
  margin-bottom: var(--s-5);
  color: var(--brand-sand);
}
.closing-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-3xl);
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--ivory);
  margin-bottom: var(--s-6);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.closing-title .l { display: block; }
.closing-title .accent {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-sand);
  letter-spacing: 0.005em;
}
.closing-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-sm);
  color: rgba(251,248,239,0.78);
  max-width: 46ch;
  letter-spacing: 0.02em;
  line-height: 1.75;
  margin: 0 auto var(--s-6);
}
.closing-kicker {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-lg);
  letter-spacing: 0.06em;
  color: var(--brand-sand);
  margin: 0 auto var(--s-7);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: rgba(251,247,238,0.7);
  padding: var(--s-8) 0 var(--s-6);
  font-size: var(--fs-sm);
  position: relative;
  z-index: 6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.4fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}
.footer-credits li {
  display: flex; flex-direction: column; gap: 0.15em;
  padding: 0.35em 0;
  border-bottom: 1px solid rgba(251,247,238,0.08);
}
.footer-credits li:last-child { border-bottom: 0; }
.footer-credits .role {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251,247,238,0.42);
}
.footer-credits a { color: rgba(251,247,238,0.85); }
.footer-credits a:hover { color: var(--brand-gold-warm); }
/* Comercializadores: Land Estate · Grupo Gardiol stay on one line if possible */
.footer-credits li > div, .footer-credits li > p { display: contents; }
.footer-credits .comm-line { display: inline; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: var(--s-4);
}
.footer-brand { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.footer-logo { height: 56px; width: auto; display: block; }
.footer-brand .brand-name { color: var(--ivory); }
.footer-brand .arch { color: var(--gold); }
.footer-tag {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: var(--fs-xl);
  color: var(--ivory);
  max-width: 22ch;
  line-height: 1.35;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.footer ul a:hover { color: var(--gold-warm); }
.footer-rule {
  height: 1px; background: rgba(251,247,238,0.12);
  margin: var(--s-5) 0;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(251,247,238,0.5);
  letter-spacing: 0.04em;
  flex-wrap: wrap; gap: var(--s-3);
}

/* ---------- FLOATING WHATSAPP CTA ---------- */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 0.85rem 1.1rem 0.85rem 0.85rem;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 999px;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  box-shadow: 0 20px 60px -20px rgba(26, 32, 32, 0.55);
  transition: transform var(--d-base) var(--ease-out), background var(--d-base);
}
.wa-fab:hover {
  transform: translateY(-3px);
  background: var(--river-deep);
}
.wa-fab .wa-ic {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  color: var(--ink);
}
.wa-fab .wa-ic svg { width: 20px; height: 20px; }
@media (max-width: 480px) {
  .wa-fab span { display: none; }
  .wa-fab { padding: 0.5rem; }
}

/* ---------- REVEAL ANIMATIONS (GSAP-driven; CSS = fallback) ---------- */
.no-gsap .reveal,
.no-gsap .reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity var(--d-slow), transform var(--d-slow); }
.no-gsap .reveal.is-in,
.no-gsap .reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }

/* Word-split spans for staggered display reveals */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em;
  line-height: 1;
}
.word-inner {
  display: inline-block;
  will-change: transform;
  line-height: 1.08;
}

/* Custom cursor */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.35s var(--ease-out);
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor.is-active {
  width: 40px; height: 40px;
  background: var(--gold);
}
@media (max-width: 980px), (hover: none) {
  .cursor { display: none; }
}

/* Image reveal with mask */
.reveal-img {
  position: relative;
  overflow: hidden;
}
.reveal-img::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--paper);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1400ms var(--ease-inout);
  z-index: 4;
}
.reveal-img.is-in::after { transform: scaleX(0); }
.tower-media.reveal-img::after,
.experience-media.reveal-img::after { background: var(--ivory); }

/* ---------- ARCH STROKE-DRAW LOADER ---------- */
.curtain {
  position: fixed; inset: 0;
  background: var(--river-deep);
  z-index: 100;
  display: grid; place-items: center;
  transition: opacity 700ms var(--ease-inout), visibility 0s 700ms;
}
.curtain.is-gone {
  opacity: 0;
  visibility: hidden;
}
.curtain-mark {
  display: flex; flex-direction: column; align-items: center; gap: var(--s-4);
  color: var(--gold);
}
.curtain-arch { overflow: visible; }
.curtain-arch path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: arch-draw 1400ms var(--ease-inout) forwards;
}
@keyframes arch-draw {
  to { stroke-dashoffset: 0; }
}
.curtain .brand-name {
  color: var(--ivory);
  letter-spacing: 0.4em;
  font-size: 0.78rem;
  opacity: 0;
  animation: fade-in 700ms var(--ease-out) 800ms forwards;
}
@keyframes fade-in { to { opacity: 1; } }

/* ---------- ACCESSIBILITY / REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .hero-title .l span { transform: translateY(0); }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- FACADE SHOWCASE (full-bleed, sin texto · efecto WOW) ----------
   The render is a near-square portrait, so a plain full-bleed cover crops it
   to the middle floors and reads as "too zoomed". Instead we fill the full
   width with a soft blurred copy and float the COMPLETE building, sharp and
   uncropped, centered on top — cinematic and intact. */
.facade-showcase {
  position: relative;
  width: 100%;
  height: 86vh;
  height: 86svh;
  min-height: 560px;
  background: var(--brand-dark);
  overflow: hidden;
}
.facade-media {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* Blurred ambience fill ONLY shows on the horizontal sides — the sharp image
   spans the full height so there is never a blurred strip top or bottom. */
.facade-media::before {
  content: "";
  position: absolute; inset: -8%;
  background: url("../img/facade-hero.jpg") center/cover no-repeat;
  filter: blur(34px) brightness(0.5) saturate(1.15);
  transform: scale(1.08);
  animation: hero-kenburns 30s ease-in-out infinite alternate;
}
.facade-media img {
  position: relative; z-index: 1;
  height: 100%; width: auto; max-width: none;   /* full height, no top/bottom letterbox */
  object-fit: cover;
  display: block;
}
/* Soft top/bottom vignette to seam into adjacent sections without any text */
.facade-showcase::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,22,33,0.30) 0%, rgba(10,22,33,0) 20%),
    linear-gradient(0deg, rgba(10,22,33,0.45) 0%, rgba(10,22,33,0) 26%);
}
@media (max-width: 768px) {
  .facade-showcase { height: 64vh; height: 64svh; min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .facade-media::before { animation: none; }
}

/* ============================================================
   CINEMATIC FULL-BLEED BANDS (towers + amenities)
   Images span the full viewport width; copy overlays the image
   over a bottom-up scrim. More "cinema", less "card".
   ============================================================ */
.towers .towers-head { margin-bottom: var(--s-8); }

.cine { position: relative; width: 100%; }
.cine + .cine { margin-top: 0; }

.cine-media {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);   /* break out of any container */
  height: 86vh;
  height: 86svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--river-deep);
}
.cine-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.03);
  /* Scroll-linked parallax scale is driven by GSAP (script.js); a static
     fallback scale keeps it from looking flat when JS/motion is off. */
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .cine-media img { transform: scale(1.04); }
}
/* Bottom-up scrim: top of the frame stays clean so the image reads */
.cine-media::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(8,18,30,0.86) 0%, rgba(8,18,30,0.45) 26%, rgba(8,18,30,0.05) 55%, rgba(8,18,30,0) 72%),
    linear-gradient(180deg, rgba(8,18,30,0.30) 0%, rgba(8,18,30,0) 24%);
}
.cine-num {
  position: absolute;
  top: clamp(1.4rem, 4vh, 3rem); right: clamp(1.4rem, 5vw, 4rem);
  z-index: 3;
  font-family: var(--font-italic);
  font-style: italic;
  font-variation-settings: "wght" 360, "opsz" 32;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  color: rgba(251,247,238,0.9);
  text-shadow: 0 2px 30px rgba(8,18,30,0.6);
  pointer-events: none;
}
.cine-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding-bottom: clamp(2.4rem, 6vh, 5rem);
  color: var(--ivory);
}
.cine-tag {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand-sand);
  margin-bottom: var(--s-4);
  display: inline-flex; align-items: center; gap: var(--s-3);
}
.cine-tag::before { content: ""; width: 34px; height: 1px; background: var(--brand-sand); opacity: 0.7; }
.cine-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "wght" 360, "opsz" 40;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--ivory);
  max-width: 22ch;
  margin-bottom: var(--s-4);
  text-shadow: 0 2px 34px rgba(8,18,30,0.55);
}
.cine-title em { font-style: italic; display: inline; }
.cine-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-base);
  color: rgba(251,248,239,0.9);
  max-width: 46ch;
  line-height: 1.6;
  margin-bottom: var(--s-5);
  text-shadow: 0 1px 16px rgba(8,18,30,0.5);
}
/* Light CTA on dark imagery */
.cine-cta.btn-ghost {
  color: var(--ivory);
  border-color: rgba(251,247,238,0.55);
}
.cine-cta.btn-ghost:hover {
  border-color: var(--ivory);
  background: rgba(251,247,238,0.10);
}

/* Text interlude (Torre 2, no image) — calm cream beat between two films */
.cine-interlude {
  text-align: center;
  padding: clamp(4rem, 10vh, 8rem) 0;
  background: var(--ivory);
}
.cine-interlude .container { display: flex; flex-direction: column; align-items: center; }
.cine-interlude .tower-tag::before { display: none; }
.cine-interlude .tower-tag,
.cine-interlude p { max-width: 56ch; }
.cine-interlude-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-variation-settings: "wght" 380, "opsz" 32;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--brand-sand);
  opacity: 0.9;
  margin-bottom: var(--s-4);
}
.cine-interlude-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "wght" 360, "opsz" 40;
  font-size: var(--fs-3xl);
  line-height: 1.14;
  letter-spacing: -0.018em;
  margin-bottom: var(--s-5);
  color: var(--ink);
}

@media (max-width: 768px) {
  .cine-media { height: 72vh; height: 72svh; min-height: 460px; }
  .cine-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .cine-media img { animation: none; transform: scale(1.04); }
}

/* Center the CTA inside the text interlude (override tower-cta align-self) */
.cine-interlude .tower-cta { align-self: center; margin-top: var(--s-3); }

/* Amenities image is now clean (no overlaid copy) — drop the heavy bottom
   scrim, keep only a whisper-light top seam. */
.cine--amenities .cine-media::after {
  background: linear-gradient(180deg, rgba(8,18,30,0.22) 0%, rgba(8,18,30,0) 16%);
}

/* ============================================================
   TOWERS — clean full-bleed image + centered caption below
   (no copy over the photo; unified treatment for I / II / III)
   ============================================================ */
.tower { position: relative; }
/* clean image: drop the heavy bottom scrim, keep only a faint top seam */
.cine--clean .cine-media::after {
  background: linear-gradient(180deg, rgba(8,18,30,0.20) 0%, rgba(8,18,30,0) 15%);
}
.tower-caption {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  padding-top: var(--s-7);
  padding-bottom: var(--s-9);
}
/* A short centered hairline tops every caption — a clean editorial divider so
   consecutive text blocks (e.g. Rambla → Living) never read as one. */
.tower-caption::before {
  content: "";
  width: 56px; height: 1px;
  background: var(--rule-strong);
  margin-bottom: var(--s-6);
}
.tower--text .tower-caption { padding-top: var(--s-9); padding-bottom: var(--s-10); }
.tower-caption > * { max-width: 60ch; }
.tower-num {
  font-family: var(--font-italic); font-style: italic;
  font-variation-settings: "wght" 380, "opsz" 32;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1;
  color: var(--brand-gold); opacity: 0.92; margin-bottom: var(--s-3);
}
.tower-caption .tower-tag { margin-bottom: var(--s-4); }
.tower-caption .tower-tag::before { display: none; }
.tower-cap-title {
  font-family: var(--font-display); font-weight: 400;
  font-variation-settings: "wght" 360, "opsz" 40;
  font-size: var(--fs-3xl); line-height: 1.16; letter-spacing: -0.018em;
  color: var(--ink); margin-bottom: var(--s-5); max-width: 22ch;
}
.tower-caption p { color: var(--ink-mute); margin-bottom: var(--s-6); max-width: 46ch; }
.tower-caption .tower-cta { align-self: center; }

/* ---------- BRIDGE (respiro editorial entre hero y fachada) ---------- */
.bridge { background: var(--paper-cream); text-align: center; padding: var(--s-9) 0; }
.bridge .eyebrow-center { justify-content: center; }
.bridge-line {
  font-family: var(--font-display); font-weight: 400;
  font-variation-settings: "wght" 360, "opsz" 32;
  font-size: var(--fs-2xl); line-height: 1.32; letter-spacing: -0.01em;
  color: var(--ink); max-width: 24ch; margin: 0 auto;
}

/* ---------- FIXES finales ---------- */
/* Ubicación: el aéreo se ve entero en TODAS las medidas (la banda toma el
   aspect-ratio del propio archivo, así cover llena exacto sin recortar; y
   bloqueamos el zoom de parallax para que tampoco recorte al scrollear). */
.location .cine-media {
  height: auto;
  aspect-ratio: 1460 / 1078;   /* desktop: aéreo entero, sin recorte */
  min-height: 72vh;            /* nunca pierde altura en pantallas angostas */
  min-height: 72svh;
}
/* En desktop el ratio coincide → cover llena exacto (sin recorte). Cuando entra
   el min-height (mobile/anchas-bajas) cover mantiene la altura y recorta apenas
   los lados; el pin queda centrado. */
.location .cine-media img { object-position: center 55%; transform: none !important; }

/* Respaldo para navegación por hash directa (#ubicacion, etc.): que la
   sección no quede tapada bajo el nav fijo. */
section[id], footer[id] { scroll-margin-top: 96px; }
