/* ==========================================================================
   Oriente Residencial — sitio de ventas
   Tokens tomados del design system (tokens/colors.css, typography.css, spacing.css)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-olive-900: #3c4626;
  --color-olive-800: #4E5B31;
  --color-olive-700: #5c6b3a;
  --color-olive-600: #717f4d;
  --color-olive-100: #e6e9dc;
  --color-olive-50:  #f2f4ec;
  --color-gold-500: #DAC287;
  --color-gold-400: #e2ce9e;
  --color-gold-300: #ecdfc0;
  --color-gold-100: #f8f2e4;
  --color-cream:  #FAF8F3;
  --color-white:  #FFFFFF;
  --color-ink:    #2B2E22;
  --color-line:   #E7E2D5;

  --surface-page: var(--color-cream);
  --surface-card: var(--color-white);
  --surface-inverse: var(--color-olive-800);
  --surface-sunken: var(--color-olive-50);
  --text-primary: var(--color-ink);
  --text-secondary: #6b6f5c;
  --text-muted: #8a8d7a;
  --text-on-inverse: var(--color-cream);
  --text-on-accent: var(--color-olive-900);
  --border-default: var(--color-line);
  --border-on-inverse: rgba(250, 248, 243, 0.25);
  --brand-primary: var(--color-olive-800);
  --brand-accent: var(--color-gold-500);
  --focus-ring: 0 0 0 3px rgba(218, 194, 135, 0.55);

  /* Tipografía: la identidad usa la grotesca "Stander" (Light/Regular/Bold). Hanken Grotesk es la
     alternativa libre más cercana en Google Fonts; sustituir por la fuente original si se obtiene la licencia. */
  --font-display: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --tshadow: 0 1px 2px rgba(20,22,14,.9), 0 3px 12px rgba(20,22,14,.6), 0 10px 40px rgba(20,22,14,.55);

  --text-xs: 13px; --text-sm: 15px; --text-base: 17px; --text-md: 20px;
  --text-lg: 26px; --text-xl: 34px; --text-2xl: 46px; --text-3xl: 64px;
  --tracking-wider: 0.12em;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-24: 96px;

  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(43, 46, 34, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 46, 34, 0.10);
  --shadow-lg: 0 16px 48px rgba(43, 46, 34, 0.16);
  --container-max: 1200px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-6); }
@media (min-width: 900px) { .container { padding: 0 var(--space-10); } }

.section { padding: var(--space-20) 0; scroll-margin-top: var(--header-h); }
@media (min-width: 900px) { .section { padding: var(--space-24) 0; } }
.section--inverse { background: var(--surface-inverse); color: var(--text-on-inverse); }
.section--sunken { background: var(--surface-sunken); }
.section--white { background: var(--surface-card); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-olive-600);
  margin-bottom: var(--space-4);
}
.section--inverse .eyebrow { color: var(--brand-accent); }
.section-head { max-width: 680px; margin-bottom: var(--space-12); }
.section-head h2 { font-size: clamp(30px, 4vw, var(--text-2xl)); margin-bottom: var(--space-4); }
.section-head p { font-size: var(--text-md); color: var(--text-secondary); }
.section--inverse .section-head p { color: rgba(250, 248, 243, 0.82); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
  padding: 13px 26px; border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease, opacity .18s ease;
}
.btn:active { transform: scale(0.97); }
.btn--lg { padding: 16px 34px; font-size: var(--text-base); }
.btn--primary { background: var(--brand-primary); color: var(--text-on-inverse); border-color: var(--brand-primary); }
.btn--primary:hover { background: var(--color-olive-700); border-color: var(--color-olive-700); }
.btn--gold { background: var(--brand-accent); color: var(--text-on-accent); border-color: var(--brand-accent); }
.btn--gold:hover { background: var(--color-gold-400); border-color: var(--color-gold-400); }
.btn--outline { background: transparent; color: var(--brand-primary); border-color: var(--brand-primary); }
.btn--outline:hover { background: var(--color-olive-50); }
.btn--outline-light { background: transparent; color: var(--color-cream); border-color: rgba(250,248,243,.6); }
.btn--outline-light:hover { background: rgba(250,248,243,.12); border-color: var(--color-cream); }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
.btn svg { width: 18px; height: 18px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider); text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.badge--gold { background: var(--color-gold-100); color: #7a5f22; }
.badge--olive { background: var(--color-olive-100); color: var(--color-olive-800); }
.badge--inverse { background: rgba(250,248,243,.14); color: var(--text-on-inverse); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--color-cream);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.header__logo img { height: 54px; width: auto; }
.header__logo .logo-dark { display: none; }
.header__nav { display: none; gap: var(--space-6); font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); }
.header__nav a { opacity: .88; transition: opacity .18s ease; padding: 6px 0; }
.header__nav a:hover { opacity: 1; }
.header__actions { display: flex; align-items: center; gap: var(--space-4); }
.header .btn--header { display: none; }
.lang { display: inline-flex; background: rgba(43,46,34,.35); border: 1px solid rgba(250,248,243,.45); border-radius: var(--radius-pill); overflow: hidden; font-family: var(--font-display); font-size: 12px; font-weight: 600; }
.lang button { background: transparent; border: 0; color: inherit; padding: 6px 10px; cursor: pointer; opacity: .7; letter-spacing: .06em; }
.lang button[aria-pressed="true"] { opacity: 1; background: rgba(250,248,243,.16); }
.header.is-solid { background: rgba(250, 248, 243, .96); color: var(--text-primary); box-shadow: 0 1px 0 var(--border-default); backdrop-filter: blur(6px); }
.header.is-solid .header__logo .logo-light { display: none; }
.header.is-solid .header__logo .logo-dark { display: block; }
.header.is-solid .lang { background: transparent; border-color: var(--border-default); }
.header.is-solid .lang button[aria-pressed="true"] { background: var(--color-olive-100); color: var(--color-olive-800); }
.header.is-solid .btn--gold { box-shadow: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: transparent; border: 1px solid rgba(250,248,243,.45); border-radius: 50%; color: inherit; cursor: pointer; }
.header.is-solid .menu-toggle { border-color: var(--border-default); }
.menu-toggle svg { width: 20px; height: 20px; }
@media (min-width: 1000px) {
  .header__nav { display: flex; }
  .header .btn--header { display: inline-flex; }
  .menu-toggle { display: none; }
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--color-olive-800); color: var(--color-cream);
  display: flex; flex-direction: column; padding: var(--space-6);
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--header-h) - var(--space-6)); }
.mobile-nav__top img { height: 44px; }
.mobile-nav__links { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-10); font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }
.mobile-nav__links a { padding: var(--space-3) 0; border-bottom: 1px solid var(--border-on-inverse); }
.mobile-nav .btn { margin-top: auto; }

/* ---------- Hero 1 (stage fijo + bandas) ---------- */
.hero { position: relative; background: var(--color-olive-900); color: var(--color-cream); }
.hero__stage { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43,46,34,.86) 0%, rgba(43,46,34,.45) 45%, rgba(43,46,34,.18) 100%);
}
.hero__stage .container { position: relative; padding-top: calc(var(--header-h) + var(--space-16)); padding-bottom: var(--space-16); }
.hero__bands { position: relative; }
.hero__content { max-width: 720px; }
.hero__eyebrow { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-5); font-family: var(--font-display); font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-wider); text-transform: uppercase; }
.hero h1, .hero__claim { font-size: clamp(38px, 6vw, 68px); color: var(--color-white); margin-bottom: var(--space-5); }
.hero__sub { font-size: clamp(17px, 2vw, 21px); max-width: 600px; color: rgba(250,248,243,.9); margin-bottom: var(--space-8); }
.hero__cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-10); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(250,248,243,.28); }
.hero__facts div { display: flex; flex-direction: column; gap: 2px; }
.hero__facts strong { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--color-gold-500); line-height: 1.1; }
.hero__facts span { font-size: var(--text-xs); letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
@media (max-width: 600px) { .hero__facts { gap: var(--space-4) var(--space-6); } .hero__facts strong { font-size: var(--text-md); } }
/* Modo estático (teléfonos, tabletas verticales, reducir movimiento): solo la banda 1 */
.hero .band--2 { display: none; }

/* Modo scroll (html.scrub): hero de 4 pantallas con stage pegajoso y dos bandas de texto */
html.scrub .hero { min-height: 400svh; }
html.scrub .hero__stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
html.scrub .hero__bands { min-height: 52svh; }
html.scrub .hero .band { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; display: block; }
html.scrub .hero .band--1 .hero__facts { display: none; }
html.scrub .hero .band--2 .hero__facts { margin-top: var(--space-8); }
html.scrub .hero .band--2 .hero__cta { display: none; }
html.scrub .hero .band--2 .hero__claim { font-size: clamp(34px, 5vw, 60px); }
@media (min-height: 860px) { html.scrub .hero .band--2 .hero__cta { display: flex; } }

/* Bandas: legibilidad sobre video en movimiento */
.band { position: relative; text-shadow: var(--tshadow); transform: translateY(calc((1 - var(--k, 1)) * 28px)); will-change: transform, opacity; }
.band .btn, .band .badge { text-shadow: none; }
html.scrub .band::before { content: ""; position: absolute; inset: -14% -10% -10% -10%; z-index: -1; pointer-events: none; border-radius: 40px;
  background: radial-gradient(ellipse 72% 68% at 32% 62%, rgba(30,33,22,.62) 0%, rgba(30,33,22,.38) 46%, rgba(30,33,22,0) 76%);
  opacity: calc(.3 + .7 * var(--k, 1)); }
.hero-video, .cine__media video, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; will-change: transform; transform: translateZ(0); }
.has-video .hero-video { opacity: 1; }
.hero__media video { object-position: 60% 55%; }

/* ---------- Intro / proyecto ---------- */
.split { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-16); } .split--reverse > :first-child { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-md); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .split__media { aspect-ratio: 4 / 4.6; } }
.split__body h2 { font-size: clamp(30px, 4vw, var(--text-2xl)); margin-bottom: var(--space-5); }
.split__body .lead { font-size: var(--text-md); color: var(--text-secondary); margin-bottom: var(--space-8); }
.pillars { display: grid; gap: var(--space-5); }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); align-items: start; }
.pillar__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--color-olive-100); color: var(--color-olive-800); display: flex; align-items: center; justify-content: center; }
.pillar__icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: var(--text-md); margin-bottom: 4px; }
.pillar p { color: var(--text-secondary); font-size: var(--text-sm); }
.split__body .btn { margin-top: var(--space-8); }

/* ---------- Residencias ---------- */
.products { display: grid; gap: var(--space-6); }
@media (min-width: 700px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product {
  background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product:hover .product__media img { transform: scale(1.03); }
.product__media .badge { position: absolute; top: 14px; left: 14px; }
.product__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.product__body h3 { font-size: var(--text-md); }
.product__count { font-family: var(--font-display); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.product__specs { display: grid; gap: 6px; padding: var(--space-3) 0; border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); font-size: var(--text-sm); color: var(--text-secondary); }
.product__specs li { display: flex; align-items: center; gap: 10px; }
.product__specs svg { width: 16px; height: 16px; color: var(--color-olive-600); flex: none; }
.product__body .btn { margin-top: auto; align-self: stretch; white-space: normal; text-align: center; padding-left: 14px; padding-right: 14px; }
.products-note { margin-top: var(--space-8); text-align: center; color: var(--text-secondary); font-size: var(--text-sm); }
.products-note a { color: var(--color-olive-800); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Amenidades ---------- */
.amenities { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 960px) { .amenities { grid-template-columns: 1.05fr 1fr; gap: var(--space-16); } }
.amenities__media { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
.amenities__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); aspect-ratio: 3 / 4; }
.amenities__media img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-8); }
@media (max-width: 560px) { .amenity-grid { grid-template-columns: repeat(2, 1fr); } }
.amenity {
  display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4) var(--space-3);
  border: 1px solid var(--border-on-inverse); border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
}
.amenity svg { width: 26px; height: 26px; color: var(--brand-accent); }
.amenities__security { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-6); font-size: var(--text-sm); color: rgba(250,248,243,.8); }
.amenities__security li { display: flex; align-items: center; gap: 8px; }
.amenities__security svg { width: 16px; height: 16px; color: var(--brand-accent); }

/* ---------- Ubicación ---------- */
.location { display: grid; gap: var(--space-10); }
@media (min-width: 960px) { .location { grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: start; } }
.location__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-default); background: var(--color-olive-100); aspect-ratio: 4 / 3; }
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.location__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; margin-top: var(--space-4); }
.location__photo img { width: 100%; height: 100%; object-fit: cover; }
.distances { display: grid; gap: var(--space-3); margin: var(--space-8) 0; }
.distance { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.distance__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--color-olive-50); color: var(--color-olive-800); display: flex; align-items: center; justify-content: center; }
.distance__icon svg { width: 20px; height: 20px; }
.distance strong { font-family: var(--font-display); font-weight: 600; }
.distance span { font-size: var(--text-sm); color: var(--text-secondary); }
.distance em { font-style: normal; font-family: var(--font-display); font-weight: 600; color: var(--color-olive-800); white-space: nowrap; }
.nearby { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.location__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); } .gallery .gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; } }
.gallery__item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1; background: var(--color-olive-100); border: 0; padding: 0; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:focus-visible { box-shadow: var(--focus-ring); }
.gallery__cap { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-cream); background: rgba(43,46,34,.55); padding: 5px 10px; border-radius: var(--radius-pill); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(43,46,34,.94); display: none; align-items: center; justify-content: center; padding: var(--space-6); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 84vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox__btn { position: absolute; background: rgba(250,248,243,.12); border: 1px solid rgba(250,248,243,.3); color: var(--color-cream); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(250,248,243,.85); font-size: var(--text-sm); }

/* ---------- Proceso ---------- */
.steps { display: grid; gap: var(--space-6); counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: var(--space-6); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg); }
.step__num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--brand-accent); line-height: 1; margin-bottom: var(--space-4); }
.step h3 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.step p { color: var(--text-secondary); font-size: var(--text-sm); }
.steps-cta { text-align: center; margin-top: var(--space-10); }

/* ---------- Desarrollador ---------- */
.developer { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 900px) { .developer { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }
.developer__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin-top: var(--space-8); }
.fact { padding: var(--space-5); border-radius: var(--radius-md); background: rgba(250,248,243,.08); border: 1px solid var(--border-on-inverse); }
.fact strong { display: block; font-family: var(--font-display); font-size: var(--text-lg); color: var(--brand-accent); line-height: 1.1; margin-bottom: 4px; }
.fact span { font-size: var(--text-xs); letter-spacing: .04em; text-transform: uppercase; opacity: .82; }
.developer__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.developer__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--border-default); }
.faq details { border-bottom: 1px solid var(--border-default); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--color-olive-600); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 var(--space-5); color: var(--text-secondary); max-width: 680px; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: var(--space-10); }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.1fr; gap: var(--space-16); align-items: start; } }
.contact__info h2 { font-size: clamp(30px, 4vw, var(--text-2xl)); margin-bottom: var(--space-5); }
.contact__info > p { font-size: var(--text-md); color: rgba(250,248,243,.85); margin-bottom: var(--space-8); max-width: 480px; }
.contact__list { display: grid; gap: var(--space-4); }
.contact__list li { display: flex; align-items: center; gap: var(--space-4); }
.contact__list svg { width: 20px; height: 20px; color: var(--brand-accent); flex: none; }
.contact__list a { font-family: var(--font-display); font-weight: 600; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__reassure { display: grid; gap: var(--space-3); margin-top: var(--space-10); padding-top: var(--space-8); border-top: 1px solid var(--border-on-inverse); font-size: var(--text-sm); color: rgba(250,248,243,.85); }
.contact__reassure li { display: flex; gap: 10px; align-items: flex-start; }
.contact__reassure svg { width: 18px; height: 18px; color: var(--brand-accent); flex: none; margin-top: 3px; }

.form { background: var(--surface-card); color: var(--text-primary); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-lg); }
@media (min-width: 600px) { .form { padding: var(--space-10); } }
.form h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.form .form__sub { color: var(--text-secondary); font-size: var(--text-sm); margin-bottom: var(--space-6); }
.form__grid { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--text-secondary); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: var(--text-base); color: var(--text-primary);
  padding: 13px 16px; border-radius: var(--radius-md); border: 1px solid var(--border-default); background: var(--surface-card); outline: none; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6f5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-accent); box-shadow: var(--focus-ring); }
.field.is-invalid input, .field.is-invalid select { border-color: #b4553c; }
.field__error { font-size: var(--text-xs); color: #b4553c; display: none; }
.field.is-invalid .field__error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-xs); color: var(--text-secondary); }
.check input { margin: 3px 0 0; accent-color: var(--color-olive-800); flex: none; width: 16px; height: 16px; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.form__actions { margin-top: var(--space-6); display: grid; gap: var(--space-3); }
.form__alt { text-align: center; font-size: var(--text-xs); color: var(--text-muted); }
.form__alt a { color: var(--color-olive-800); font-weight: 600; }
.form__success { display: none; text-align: center; padding: var(--space-8) 0; }
.form__success svg { width: 48px; height: 48px; color: var(--color-olive-800); margin: 0 auto var(--space-4); }
.form__success h3 { margin-bottom: var(--space-3); }
.form__success p { color: var(--text-secondary); margin-bottom: var(--space-6); }
.form.is-sent form { display: none; }
.form.is-sent .form__success { display: block; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { background: var(--color-olive-900); color: rgba(250,248,243,.8); padding: var(--space-16) 0 var(--space-10); font-size: var(--text-sm); }
.footer__grid { display: grid; gap: var(--space-10); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer img { height: 72px; width: auto; margin-bottom: var(--space-5); }
.footer h4 { font-size: var(--text-xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--brand-accent); margin-bottom: var(--space-4); }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--color-cream); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--border-on-inverse); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: var(--text-xs); color: rgba(250,248,243,.6); }

/* ---------- Floating CTAs ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--color-olive-800); color: var(--color-cream); border: 1px solid rgba(250,248,243,.2);
  padding: 12px 18px 12px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-md);
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
  transition: background .18s ease, transform .12s ease;
}
.wa-float:hover { background: var(--color-olive-700); }
.wa-float:active { transform: scale(.97); }
.wa-float svg { width: 22px; height: 22px; color: var(--brand-accent); }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px var(--space-4);
  background: rgba(250,248,243,.96); border-top: 1px solid var(--border-default); backdrop-filter: blur(6px);
  display: flex; gap: var(--space-3); transform: translateY(100%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; padding: 13px 10px; }
@media (min-width: 760px) { .sticky-cta { display: none; } }
@media (max-width: 759px) { .wa-float { display: none; } body { padding-bottom: 72px; } }

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-in, html.js.reveal-all .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .product__media img, .gallery__item img { transition: none; } }


/* ==========================================================================
   Ajustes comerciales: precios, esquema de pago, playa, heroes secundarios
   ========================================================================== */

/* Franja esquema de pago (bajo el hero) */
.paystrip { display: block; background: var(--color-gold-500); color: var(--color-olive-900); text-decoration: none; }
.paystrip .container { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); padding-top: 14px; padding-bottom: 14px; }
.paystrip__k { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-wider); text-transform: uppercase; opacity: .8; }
.paystrip__items { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); }
.paystrip__items i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; }
.paystrip__cta { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); text-decoration: underline; text-underline-offset: 3px; }
.paystrip:hover { background: var(--color-gold-400); }
@media (max-width: 700px) { .paystrip__cta { margin-left: 0; } }

/* Bloque de precio en tipologías */
.product__price { display: grid; gap: 2px; padding: var(--space-3) 0 var(--space-4); cursor: pointer; }
.product__from { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--color-olive-600); }
.product__price strong { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1.05; color: var(--color-olive-800); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.product__price--ask strong { font-size: 24px; }
.product__down { display: inline-flex; align-self: flex-start; justify-self: start; margin-top: 8px; background: var(--color-gold-100); color: #7a5f22; font-family: var(--font-display); font-weight: 600; font-size: var(--text-xs); padding: 5px 11px; border-radius: var(--radius-pill); }
.product__body h3 { font-size: var(--text-md); }
.products-note { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Esquema de pago */
.pay { background: var(--surface-inverse); color: var(--text-on-inverse); border-radius: var(--radius-lg); padding: var(--space-10) var(--space-6); }
@media (min-width: 900px) { .pay { padding: var(--space-16) var(--space-16); } }
.pay__head { max-width: 760px; }
.pay__head .eyebrow { color: var(--brand-accent); }
.pay__head h2 { font-size: clamp(28px, 3.8vw, 44px); margin-bottom: var(--space-4); }
.pay__head p { font-size: var(--text-md); color: rgba(250,248,243,.85); }
.timeline { list-style: none; padding: 0; margin: var(--space-10) 0 0; display: grid; gap: var(--space-4); counter-reset: none; }
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.timeline li { position: relative; padding: var(--space-5) var(--space-5) var(--space-5) var(--space-5); border: 1px solid var(--border-on-inverse); border-radius: var(--radius-md); display: grid; gap: 4px; }
.timeline li b { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--brand-accent); line-height: 1; font-variant-numeric: tabular-nums; }
.timeline li strong { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); margin-top: 6px; }
.timeline li span { font-size: var(--text-sm); color: rgba(250,248,243,.82); }
@media (min-width: 760px) { .timeline li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 12px; height: 1px; background: var(--brand-accent); opacity: .7; } }
.pay__grid { display: grid; gap: var(--space-6); margin-top: var(--space-10); }
@media (min-width: 900px) { .pay__grid { grid-template-columns: 1.1fr 1fr; gap: var(--space-10); } }
.pay h3 { font-size: var(--text-md); margin-bottom: var(--space-3); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgba(250,248,243,.45); border-radius: var(--radius-pill); padding: 7px 14px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); }
.pay__note { font-size: var(--text-xs); color: rgba(250,248,243,.7); margin-top: var(--space-3); }
.pay__table table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.pay__table td { padding: 10px 0; border-bottom: 1px solid var(--border-on-inverse); }
.pay__table tr:last-child td { border-bottom: 0; }
.pay__table td.num { text-align: right; font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); color: var(--brand-accent); font-variant-numeric: tabular-nums; }
.pay__cta { margin-top: var(--space-10); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.pay__cta span { font-size: var(--text-sm); color: rgba(250,248,243,.8); max-width: 420px; }

/* Heroes secundarios (H2 playa, H3 cierre): stage fijo de 2 pantallas en modo scroll */
.cine { position: relative; color: var(--color-cream); background: var(--color-olive-900); }
.cine__stage { position: relative; min-height: 78svh; display: flex; align-items: center; overflow: hidden; }
.cine__media { position: absolute; inset: 0; }
.cine__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cine__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(43,46,34,.72) 0%, rgba(43,46,34,.35) 55%, rgba(43,46,34,.15) 100%); }
.cine--close .cine__media::after { background: linear-gradient(to top, rgba(43,46,34,.85) 0%, rgba(43,46,34,.4) 50%, rgba(43,46,34,.2) 100%); }
.cine__stage .container { position: relative; padding-top: var(--space-20); padding-bottom: var(--space-20); }
.cine__content { max-width: 640px; }
.cine__eyebrow { display: inline-block; font-family: var(--font-display); font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--color-gold-400); background: rgba(43,46,34,.55); padding: 7px 14px; border-radius: var(--radius-pill); margin-bottom: var(--space-5); backdrop-filter: blur(4px); }
.cine h2 { font-size: clamp(34px, 5vw, 58px); color: var(--color-white); margin-bottom: var(--space-4); }
.cine p { font-size: clamp(17px, 2vw, 20px); color: rgba(250,248,243,.9); margin-bottom: var(--space-8); max-width: 560px; }
.cine__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
html.scrub .cine { min-height: 320svh; }
.cine .band--2 { display: none; }
html.scrub .cine__bands { position: relative; min-height: 46svh; }
html.scrub .cine .band { position: absolute; left: 0; bottom: 0; opacity: 0; display: block; }
html.scrub .cine__stage { position: sticky; top: 0; height: 100svh; min-height: 0; }

/* Rutina */
.routine { display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .routine { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
.routine__card { background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.routine__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.routine__body { padding: var(--space-5) var(--space-6) var(--space-6); }
.routine__body .eyebrow { margin-bottom: 6px; }
.routine__body h3 { font-size: var(--text-md); margin-bottom: 6px; }
.routine__body p { color: var(--text-secondary); font-size: var(--text-sm); }
.realview { margin: var(--space-8) 0 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.realview img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.realview figcaption { position: absolute; left: var(--space-5); bottom: var(--space-5); right: var(--space-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); color: var(--color-cream); font-size: var(--text-sm); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.realview figcaption .badge { background: rgba(43,46,34,.6); }
@media (max-width: 600px) { .realview img { aspect-ratio: 4 / 3; } }

/* Ubicación: playa destacada */
.distance--hl { border-color: var(--color-gold-400); background: var(--color-gold-100); }
.distance--hl .distance__icon { background: var(--color-gold-300); color: #7a5f22; }
.distance--hl em { color: #7a5f22; }

/* Amenidades: nota penthouse */
.amenities__ph { margin-top: var(--space-5); font-size: var(--text-sm); color: rgba(250,248,243,.75); padding-top: var(--space-4); border-top: 1px solid var(--border-on-inverse); }

/* Esquema de pago compacto */
.pay__grid--compact { margin-top: 0; align-items: center; }
.pay__head .pay__cta { margin-top: var(--space-8); }
.hooks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.hooks li { display: grid; gap: 2px; padding: var(--space-4) var(--space-5); border: 1px solid var(--border-on-inverse); border-radius: var(--radius-md); }
.hooks strong { font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); }
.hooks span { font-size: var(--text-sm); color: rgba(250,248,243,.78); }

html.scrub .cine__cta--static { display: none; }

/* Desarrollador: Gayar */
.developer__logo { height: 84px; width: auto; margin-bottom: var(--space-6); }
.developer__facts .fact strong { font-size: var(--text-md); }
.developer__facts .fact strong:first-child { font-size: var(--text-lg); }
.developer__media { aspect-ratio: auto; border-radius: 0; overflow: visible; display: grid; gap: var(--space-4); }
.developer__hero { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.developer__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.developer__hero figcaption { position: absolute; left: var(--space-5); bottom: var(--space-5); right: var(--space-5); color: var(--color-cream); text-shadow: 0 1px 3px rgba(0,0,0,.6); display: grid; gap: 2px; }
.developer__hero figcaption b { font-family: var(--font-display); font-size: var(--text-md); font-weight: 600; }
.developer__hero figcaption span { font-size: var(--text-xs); letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.portfolio { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.portfolio li { display: grid; gap: 4px; font-size: 12px; color: rgba(250,248,243,.75); }
.portfolio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 4px; }
.portfolio b { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--color-cream); }
@media (max-width: 480px) { .portfolio { grid-template-columns: repeat(2, 1fr); } }
.developer__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,33,22,.78) 0%, rgba(30,33,22,.25) 40%, rgba(30,33,22,0) 65%); pointer-events: none; }
.developer__hero figcaption { z-index: 1; }
.developer__facts .fact strong.fact__small { font-size: var(--text-base); line-height: 1.25; }

/* Teléfono con selector de país */
.phone { display: grid; grid-template-columns: minmax(150px, 42%) 1fr; gap: 8px; }
.phone select { padding-right: 34px; font-size: var(--text-sm); }
@media (max-width: 420px) { .phone { grid-template-columns: 1fr; } }
