/* =========================================================
   Wyndham Paraguay — Costa del Lago Residences
   ========================================================= */
:root {
  --bg: #0c1311;
  --bg-2: #111a17;
  --bg-3: #17221e;
  --cream: #f3eee5;
  --cream-2: #e9e2d5;
  --ink: #0c1311;
  --text: #f3eee5;
  --muted: rgba(243, 238, 229, .62);
  --muted-dark: rgba(12, 19, 17, .62);
  --gold: #c9a96e;
  --gold-2: #e3cb9c;
  --line: rgba(243, 238, 229, .14);
  --line-dark: rgba(12, 19, 17, .14);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 14vw, 200px) 0; }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.h2 em, .hero__title em { color: var(--gold-2); font-weight: 300; }

.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 32px;
}
.label span { font-family: var(--serif); font-size: 1rem; letter-spacing: .05em; color: var(--muted); font-style: italic; }
.label span::after { content: ""; display: inline-block; width: 40px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 14px; opacity: .5; }
.label b { font-weight: 500; }

.kicker { display: inline-flex; align-items: center; gap: 16px; font-size: .75rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-2); }
.kicker__line { width: 48px; height: 1px; background: var(--gold); display: inline-block; }

/* split text */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 34px; border-radius: 100px;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before { background: var(--cream); }
.btn--ghost { border: 1px solid rgba(243,238,229,.4); color: var(--text); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); border-color: var(--cream); }
.btn--sm { padding: 13px 24px; font-size: .7rem; }
.btn__arrow { font-style: normal; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center; clip-path: inset(0 0 0% 0);
}
.loader__inner { text-align: center; }
.loader__logo { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.loader__brand { font-family: var(--serif); font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: .32em; padding-left: .32em; font-weight: 400; display: inline-flex; }
.loader__brand .ch { display: inline-block; opacity: 0; }
.loader__line { width: 0; height: 1px; background: var(--gold); }
.loader__country { font-size: .78rem; letter-spacing: .9em; padding-left: .9em; color: var(--gold); opacity: 0; }
.loader__text { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted); opacity: 0; }
.loader__count { position: absolute; right: var(--gutter); bottom: 40px; font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); line-height: 1; color: var(--gold); font-weight: 300; }
.loader__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--line); }
.loader__bar span { display: block; width: 0; height: 100%; background: var(--gold); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--gold); }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(201,169,110,.55);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background .45s var(--ease), border-color .45s;
}
.cursor__label { font-style: normal; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; border-color: var(--gold); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background .5s var(--ease), height .5s var(--ease), transform .6s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(12,19,17,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); height: 70px; border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }

.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; gap: 6px; flex-shrink: 0; }
.logo__brand { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .28em; padding-left: .28em; font-weight: 500; }
.logo__sep { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.logo__country { font-size: .58rem; letter-spacing: .78em; padding-left: .78em; color: var(--gold); font-weight: 500; }

.nav { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav a { position: relative; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; color: rgba(243,238,229,.82); padding: 6px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.lang__btn { font-size: .68rem; letter-spacing: .12em; padding: 6px 10px; border-radius: 100px; color: var(--muted); transition: background .4s var(--ease), color .4s; }
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active { background: var(--gold); color: var(--ink); font-weight: 600; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger.is-open span:first-child { top: 22px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
}
.menu__nav { display: flex; flex-direction: column; gap: 6px; }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.15; overflow: hidden; }
.menu__nav a small { font-family: var(--sans); font-size: .7rem; color: var(--gold); letter-spacing: .2em; }
.menu__nav a span { display: inline-block; }
.menu__foot { margin-top: 48px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, 100vh); min-height: max(640px, 100svh); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,19,17,.55) 0%, rgba(12,19,17,.15) 35%, rgba(12,19,17,.35) 65%, rgba(12,19,17,.92) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(12,19,17,.55), transparent 60%);
}
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 10%{transform:translate(-5%,-10%)} 30%{transform:translate(3%,-15%)} 50%{transform:translate(12%,9%)} 70%{transform:translate(9%,4%)} 90%{transform:translate(-1%,7%)} }

.hero__content { position: relative; z-index: 2; padding: 0 var(--gutter); max-width: var(--maxw); width: 100%; margin: 0 auto; padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(110px, 16vh, 170px); }
.hero__kicker { margin-bottom: 28px; }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, min(9vw, 13vh), 8.6rem); line-height: .95; letter-spacing: -.025em; max-width: 13ch; }
.hero__sub { margin-top: 30px; max-width: 520px; color: rgba(243,238,229,.82); font-size: clamp(.95rem, 1.2vw, 1.08rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__bottom {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter); border-top: 1px solid var(--line);
  font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.hero__badge { display: flex; align-items: center; gap: 12px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.scroll-ind { display: flex; align-items: center; gap: 14px; }
.scroll-ind__track { width: 60px; height: 1px; background: var(--line); overflow: hidden; position: relative; }
.scroll-ind__thumb { position: absolute; inset: 0; background: var(--gold); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* ---------- Intro ---------- */
.intro { background: var(--bg); }
.statement {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4.4vw, 4.1rem); line-height: 1.12; letter-spacing: -.01em;
  max-width: 22ch;
}
.statement .sw { opacity: .14; transition: none; }
.intro__grid {
  display: grid; grid-template-columns: 5fr 1fr 6fr; grid-template-rows: auto auto;
  gap: clamp(32px, 5vw, 80px) 0; margin-top: clamp(64px, 10vw, 140px); align-items: start;
}
.intro__img--tall { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 4/5.4; }
.intro__text { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; gap: 22px; color: var(--muted); max-width: 560px; }
.intro__text .lead { color: var(--text); font-size: clamp(1.05rem, 1.35vw, 1.22rem); }
.intro__img--wide { grid-column: 3; grid-row: 2; aspect-ratio: 16/10; }
.formula { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--gold-2); font-style: italic; line-height: 1.3; margin-top: 8px; }
.formula span { color: var(--muted); font-style: normal; padding: 0 .2em; }

.img-reveal { position: relative; overflow: hidden; margin: 0; border-radius: 2px; }
.img-reveal__inner { position: absolute; inset: -12% 0; }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(80px, 11vw, 160px); border-top: 1px solid var(--line); }
.pillar { padding: 48px 40px 20px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 40px; }
.pillar:last-child { border-right: 0; }
.pillar__icon { width: 54px; height: 54px; color: var(--gold); margin-bottom: 30px; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 12px; }
.pillar p { color: var(--muted); max-width: 34ch; }

/* ---------- Stats ---------- */
.stats { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(40px, 6vw, 80px) 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 5.5vw, 5rem); line-height: 1; color: var(--gold-2); }
.stat p { margin-top: 14px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Amenities (horizontal) ---------- */
.amen { position: relative; background: var(--bg); }
.amen__pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; position: relative; }
.amen__track { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); padding: 0 var(--gutter); will-change: transform; }
.amen__intro { flex: 0 0 min(520px, 80vw); padding-right: clamp(20px, 4vw, 80px); }
.amen__text { color: var(--muted); margin-top: 28px; max-width: 420px; }
.amen__hint { margin-top: 40px; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); display: flex; gap: 14px; align-items: center; }
.amen__hint i { font-style: normal; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(10px); } }

.acard { flex: 0 0 auto; width: clamp(280px, 28vw, 420px); position: relative; }
.acard__img { height: clamp(340px, 52vh, 520px); overflow: hidden; border-radius: 2px; }
.acard--tall .acard__img { height: clamp(380px, 64vh, 640px); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease), filter 1.4s var(--ease); filter: saturate(.85); }
.acard:hover .acard__img img { transform: scale(1.02); filter: saturate(1.05); }
.acard__body { padding-top: 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
.acard__n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; grid-row: span 2; }
.acard h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.acard p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.amen__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; height: 1px; background: var(--line); }
.amen__progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Units (light) ---------- */
.units { background: var(--cream); color: var(--ink); }
.units .label { color: #9a7a43; }
.units .label span { color: var(--muted-dark); }
.units .h2 em { color: #9a7a43; }
.units__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 7vw, 96px); }
.units__intro { max-width: 380px; color: var(--muted-dark); }
.units__wrap { display: grid; grid-template-columns: minmax(280px, 4fr) 8fr; gap: clamp(28px, 4vw, 64px); align-items: stretch; }

.units__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.utab {
  width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
  padding: 24px 4px; border-bottom: 1px solid var(--line-dark); text-align: left; position: relative;
  transition: padding .5s var(--ease), color .4s;
  color: var(--muted-dark);
}
.utab::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.utab:hover, .utab.is-active { color: var(--ink); padding-left: 14px; }
.utab.is-active::before { transform: scaleX(1); }
.utab__n { font-family: var(--serif); font-style: italic; color: #9a7a43; }
.utab__name { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.1; }
.utab__m { font-size: .74rem; letter-spacing: .12em; }

.units__stage { position: relative; min-height: clamp(420px, 62vh, 680px); overflow: hidden; border-radius: 2px; background: var(--cream-2); }
.units__images { position: absolute; inset: 0; z-index: 0; }
.units__images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); }
.units__images img.is-active { clip-path: inset(0 0 0 0); }
.units__card {
  position: absolute; left: clamp(16px, 2.5vw, 36px); bottom: clamp(16px, 2.5vw, 36px);
  width: min(400px, calc(100% - 32px)); z-index: 2;
  background: rgba(243,238,229,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: clamp(22px, 2.6vw, 36px); border-radius: 2px;
}
.units__cap { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: #9a7a43; }
.units__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.05; margin: 10px 0 12px; }
.units__desc { color: var(--muted-dark); font-size: .92rem; }
.units__area { display: flex; justify-content: space-between; align-items: flex-end; margin: 22px 0 24px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.units__from { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }
.units__area strong { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: .9; }
.units__area small { font-size: 1.1rem; }
.units__nav { position: absolute; z-index: 2; right: clamp(16px, 2.5vw, 36px); top: clamp(16px, 2.5vw, 36px); display: flex; align-items: center; gap: 14px; color: var(--cream); font-size: .8rem; letter-spacing: .1em; }
.units__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243,238,229,.6); display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .4s, color .4s; }
.units__arrow:hover { background: var(--cream); color: var(--ink); }
.note { margin-top: 28px; font-size: .8rem; color: var(--muted-dark); font-style: italic; }

/* ---------- Video band ---------- */
.band { position: relative; height: 120vh; display: grid; place-items: center; overflow: hidden; background: var(--cream); }
.band__media { position: absolute; inset: 0; clip-path: inset(14% 18% 14% 18% round 4px); will-change: clip-path; }
.band__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.band__shade { position: absolute; inset: 0; background: rgba(12,19,17,.42); }
.band__words { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.band__word { font-family: var(--serif); font-weight: 300; font-size: clamp(3.6rem, 13vw, 12rem); line-height: .9; letter-spacing: -.03em; color: var(--cream); }
.band__word--outline { color: var(--gold-2); font-style: italic; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.band__quote { position: absolute; z-index: 2; bottom: 12%; left: 50%; transform: translateX(-50%); width: min(520px, 86vw); text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: rgba(243,238,229,.9); }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: var(--ink); overflow: hidden; padding: 22px 0; white-space: nowrap; }
.marquee__inner { display: inline-flex; align-items: center; gap: 40px; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); font-style: italic; }
.marquee i { font-style: normal; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Investment ---------- */
.invest { background: var(--bg-2); }
.invest__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.invest__media { position: sticky; top: 110px; }
.invest__img { aspect-ratio: 4/5; }
.model { margin-top: -80px; margin-left: clamp(16px, 4vw, 60px); margin-right: -20px; position: relative; z-index: 2; background: var(--bg-3); border: 1px solid var(--line); padding: 28px 30px; border-radius: 2px; }
.model__t { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.model__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.model__steps::before { content: ""; position: absolute; top: 17px; left: 17px; right: 17px; height: 1px; background: var(--line); }
.model__steps li { position: relative; display: flex; flex-direction: column; gap: 12px; font-size: .82rem; line-height: 1.35; }
.model__steps span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 1.05rem; position: relative; }
.model__steps b { font-weight: 400; }

.adv { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.adv__item { display: grid; grid-template-columns: 44px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.adv__check svg { width: 36px; height: 36px; fill: none; stroke: var(--gold); stroke-width: 1; }
.adv__check path { stroke-width: 1.4; stroke-dasharray: 20; stroke-dashoffset: 20; }
.adv__check circle { stroke-dasharray: 70; stroke-dashoffset: 70; }
.adv__item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15; margin-bottom: 6px; }
.adv__item p { color: var(--muted); }

/* ---------- Location ---------- */
.loc { overflow: hidden; background: var(--bg); }
.loc__bg { position: absolute; inset: -15% 0; opacity: .22; }
.loc__bg img { width: 100%; height: 100%; object-fit: cover; }
.loc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(12,19,17,.6) 40%, rgba(12,19,17,.6) 60%, var(--bg) 100%); pointer-events: none; }
.loc .container { position: relative; z-index: 2; }
.loc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.loc__text > p { color: var(--muted); max-width: 520px; margin-top: 28px; }
.loc__sub { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--gold-2); margin-top: 48px; }
.loc__text .loc__sub + p { margin-top: 14px; }

.loc__panel { background: rgba(17,26,23,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 2px; padding: clamp(24px, 3vw, 44px); }
.dist__row { display: grid; grid-template-columns: 120px 1fr; align-items: center; column-gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dist__row strong { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--gold-2); white-space: nowrap; }
.dist__row strong small { font-size: 1rem; color: var(--muted); }
.dist__line { display: none; }
.dist__row p { color: var(--muted); font-size: .92rem; }
.map { margin-top: 28px; aspect-ratio: 16/10; border-radius: 2px; overflow: hidden; filter: grayscale(1) invert(.92) contrast(.85) hue-rotate(180deg); }
.map iframe { width: 100%; height: 100%; border: 0; }
.loc__closing { margin-top: clamp(80px, 10vw, 140px); font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1.2; max-width: 26ch; margin-left: auto; text-align: right; }
.loc__closing .sw { opacity: .14; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; background: var(--bg); }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,19,17,.96) 0%, rgba(12,19,17,.82) 50%, rgba(12,19,17,.7) 100%); }
.contact .container { position: relative; z-index: 2; }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__info > p { color: var(--muted); margin-top: 28px; max-width: 440px; }
.contact__data { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact__data small { display: block; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact__data p { font-size: .95rem; }
.contact__data a { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.contact__data a:hover { border-color: var(--gold); }

.form { background: rgba(17,26,23,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); padding: clamp(24px, 4vw, 56px); border-radius: 2px; display: flex; flex-direction: column; gap: 10px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { position: relative; display: block; padding-top: 22px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--text); font: inherit; font-size: 1rem; padding: 10px 0 12px; outline: none; border-radius: 0;
  transition: border-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); color: var(--text); }
.field > span { position: absolute; left: 0; top: 32px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); pointer-events: none; transition: transform .4s var(--ease), color .4s, font-size .4s; transform-origin: left; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field .field__static { transform: translateY(-28px) scale(.85); color: var(--gold); }
.field.is-error input { border-color: #e07a6a; }
.field.is-error > span { color: #e07a6a; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.form__count { font-size: .76rem; color: var(--muted); letter-spacing: .06em; }
.form__count b { color: var(--gold); font-weight: 500; }
.form__msg { min-height: 1.5em; font-size: .9rem; color: var(--gold-2); }
.form__msg.is-error { color: #e07a6a; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0 32px; overflow: hidden; }
.footer__quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.8rem); color: var(--gold-2); text-align: center; }
.footer__big { display: flex; flex-direction: column; align-items: center; margin: clamp(40px, 6vw, 80px) 0; line-height: .85; }
.footer__big span { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 15vw, 15rem); letter-spacing: .08em; padding-left: .08em; background: linear-gradient(180deg, var(--cream) 30%, rgba(243,238,229,.08)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__big small { font-size: clamp(.7rem, 1.4vw, 1.1rem); letter-spacing: 1.2em; padding-left: 1.2em; color: var(--gold); margin-top: 18px; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { transition: color .3s; }
.footer__links a:hover { color: var(--gold); }
.footer__demo { margin-top: 18px; font-size: .7rem; color: rgba(243,238,229,.35); text-align: center; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.wa-float.is-visible { opacity: 1; transform: scale(1); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header__right .btn { display: none; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__img--tall, .intro__text, .intro__img--wide { grid-column: 1; grid-row: auto; }
  .intro__img--tall { aspect-ratio: 4/4.6; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 36px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .units__head { flex-direction: column; align-items: flex-start; }
  .units__wrap { grid-template-columns: 1fr; }
  .units__list { display: flex; overflow-x: auto; border-top: 0; gap: 8px; scrollbar-width: none; }
  .units__list::-webkit-scrollbar { display: none; }
  .units__list li { flex: 0 0 auto; }
  .utab { grid-template-columns: auto auto; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 100px; }
  .utab:hover, .utab.is-active { padding-left: 16px; background: var(--ink); color: var(--cream); }
  .utab::before, .utab__m { display: none; }
  .utab__name { font-size: 1.05rem; }
  .utab.is-active .utab__n { color: var(--gold); }
  .units__stage { min-height: 600px; }
  .invest__grid, .loc__grid, .contact__grid { grid-template-columns: 1fr; }
  .invest__media { position: relative; top: 0; }
  .model { margin-right: 0; }
  .band { height: 90vh; }
  .loc__closing { text-align: left; margin-left: 0; }
}
@media (max-width: 600px) {
  .logo__brand { font-size: 1.2rem; }
  .lang__btn { padding: 5px 8px; }
  .hero__coords { display: none; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .form__row { grid-template-columns: 1fr; gap: 10px; }
  .contact__data { grid-template-columns: 1fr; }
  .model__steps { grid-template-columns: 1fr; }
  .model__steps::before { display: none; }
  .model__steps li { flex-direction: row; align-items: center; }
  .dist__row { grid-template-columns: 96px 1fr; }
  .dist__row strong { font-size: 2rem; }
  .units__nav { top: 16px; right: 16px; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}

/* mobile: horizontal amenities become a native swipe row */
@media (max-width: 768px) {
  .amen__pin { height: auto; display: block; padding: 96px 0; overflow: visible; }
  .amen__track { overflow-x: auto; scroll-snap-type: x mandatory; align-items: flex-start; padding-bottom: 12px; scrollbar-width: none; flex-wrap: nowrap; }
  .amen__track::-webkit-scrollbar { display: none; }
  .amen__intro { flex-basis: 84vw; }
  .acard { width: 76vw; scroll-snap-align: center; }
  .acard__img, .acard--tall .acard__img { height: 58vh; max-height: 460px; }
  .amen__progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
