/* ==========================================================================
   GCR Residences — Main stylesheet
   Fonts: Cormorant Garamond (display) + Jost (body), loaded from Google Fonts
   ========================================================================== */

:root {
  --gold: #C9A962;
  --gold-light: #E4CE97;
  --gold-dark: #A88B4A;
  --black: #0B0B0B;
  --ink: #101010;
  --charcoal: #141312;
  --charcoal-2: #1B1A18;
  --cream: #F3EDE2;
  --champagne: #E8DEC9;
  --text: rgba(232, 222, 201, .74);
  --muted: rgba(232, 222, 201, .5);
  --faint: rgba(232, 222, 201, .32);
  --line: rgba(201, 169, 98, .16);
  --line-strong: rgba(201, 169, 98, .4);
  --green: #8FD3A8;
  --amber: #E8C57A;
  --sky: #9DC6E8;
  --wa: #25D366;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -25px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-weight: 300; font-size: 1rem; line-height: 1.7;
  background: var(--black); color: var(--text); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--cream); line-height: 1.12; margin: 0; }
p { margin: 0 0 1rem; }
strong { color: var(--cream); font-weight: 500; }
::selection { background: rgba(201, 169, 98, .3); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--gold); color: #1a1407; padding: .6rem 1rem; font-weight: 500; }
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }

.section { position: relative; padding: 6rem 0; }
@media (min-width: 900px) { .section { padding: 8rem 0; } }
.section--alt { background: var(--charcoal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 1rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.25rem; }
.section-head p { color: var(--muted); margin: 1.25rem auto 0; max-width: 600px; }
.gold-text { background: linear-gradient(120deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.italic { font-style: italic; }
.gold-line { height: 1px; width: 100%; max-width: 240px; margin: 0 auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform-origin: center; }
.js .gold-line { transform: scaleX(0); transition: transform 1.2s var(--ease); }
.js .gold-line.is-visible { transform: scaleX(1); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.9rem; border-radius: 999px; font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .35s ease, background .35s ease, border-color .35s ease, color .35s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); color: #1a1407; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 0 32px rgba(201, 169, 98, .5); }
.btn--outline { border: 1px solid rgba(201, 169, 98, .5); color: var(--gold-light); }
.btn--outline:hover { background: rgba(201, 169, 98, .1); border-color: var(--gold); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(37, 211, 102, .4); }
.btn--sm { padding: .62rem 1.15rem; font-size: .64rem; letter-spacing: .15em; }
.btn--block { width: 100%; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 300; background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  transition: opacity .7s ease, visibility .7s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark {
  width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(201, 169, 98, .2); position: relative;
  font-family: var(--serif); font-size: 1.9rem; color: var(--gold);
}
.loader__mark::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid transparent; border-top-color: var(--gold); animation: spin 1s linear infinite; }
.loader__text { font-size: .68rem; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; color: var(--gold); }
.loader__bar { width: 160px; height: 1px; background: rgba(201, 169, 98, .15); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold); animation: load 1.2s ease forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load { to { width: 100%; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .4s ease, border-color .4s ease, height .3s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(11, 11, 11, .86); border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(201, 169, 98, .55); font-family: var(--serif); font-size: 1.35rem; color: var(--gold);
  background: radial-gradient(circle at 30% 30%, rgba(201, 169, 98, .18), transparent 70%);
}
.brand__name { font-family: var(--serif); font-size: 1.55rem; color: var(--cream); line-height: 1; letter-spacing: .01em; }
.brand__name span { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; }
.nav { display: none; gap: 2.2rem; }
.nav a { position: relative; font-size: .86rem; letter-spacing: .04em; color: rgba(232, 222, 201, .72); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--gold); transition: width .35s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--cream); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: .65rem; }
.header__actions .btn { display: none; }
.menu-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: var(--gold-light); position: relative; transition: transform .3s, background .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .header__actions .btn { display: inline-flex; }
}
@media (min-width: 640px) and (max-width: 1023px) { .header__actions .btn--gold { display: inline-flex; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: rgba(11, 11, 11, .97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem 2rem 3rem;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease;
}
.menu-open .drawer { opacity: 1; visibility: visible; }
.drawer a.drawer__link { font-family: var(--serif); font-size: 2.1rem; color: var(--cream); padding: .35rem 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s, color .3s; }
.drawer a.drawer__link:hover { color: var(--gold); }
.menu-open .drawer a.drawer__link { opacity: 1; transform: none; }
.menu-open .drawer a.drawer__link:nth-child(2) { transition-delay: .05s; }
.menu-open .drawer a.drawer__link:nth-child(3) { transition-delay: .1s; }
.menu-open .drawer a.drawer__link:nth-child(4) { transition-delay: .15s; }
.menu-open .drawer a.drawer__link:nth-child(5) { transition-delay: .2s; }
.menu-open .drawer a.drawer__link:nth-child(6) { transition-delay: .25s; }
.drawer__cta { display: grid; gap: .75rem; margin-top: 2rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: -6%; z-index: -3; background-size: cover; background-position: center; will-change: transform; }
.hero__bg.kenburns { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.18) translateY(-2%); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(110% 80% at 78% 20%, rgba(201, 169, 98, .18), transparent 55%),
    linear-gradient(90deg, rgba(11, 11, 11, .88) 0%, rgba(11, 11, 11, .55) 50%, rgba(11, 11, 11, .35) 100%),
    linear-gradient(180deg, rgba(11, 11, 11, .4) 0%, transparent 30%, rgba(11, 11, 11, .9) 92%, var(--black) 100%);
}
#hero3d { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__sweep { position: absolute; top: -50%; left: -40%; width: 55%; height: 200%; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent, rgba(232, 222, 201, .06), transparent); transform: rotate(8deg); animation: sweep 10s ease-in-out infinite; }
@keyframes sweep { 0% { left: -40%; opacity: 0; } 40% { opacity: 1; } 100% { left: 120%; opacity: 0; } }
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 5rem; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.hero h1 { font-size: clamp(3rem, 8vw, 5.6rem); line-height: .95; margin-bottom: 1.6rem; }
.hero h1 .gold-text { display: block; }
.hero__lead { font-size: 1.12rem; color: rgba(232, 222, 201, .78); max-width: 560px; margin-bottom: 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2.2rem; font-size: .8rem; color: var(--muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust svg { width: 15px; height: 15px; color: var(--gold); }
.hero-anim { opacity: 0; transform: translateY(30px); }
.is-loaded .hero-anim { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .hero-anim:nth-child(2) { transition-delay: .12s; }
.is-loaded .hero-anim:nth-child(3) { transition-delay: .24s; }
.is-loaded .hero-anim:nth-child(4) { transition-delay: .36s; }
.is-loaded .hero-anim:nth-child(5) { transition-delay: .48s; }
.no-js .hero-anim { opacity: 1; transform: none; }

/* Quick search */
.quick-search {
  margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; max-width: 560px;
  border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: var(--line);
  backdrop-filter: blur(10px);
}
.quick-search label { display: block; background: rgba(11, 11, 11, .72); padding: .7rem 1rem .75rem; }
.quick-search label small { display: block; font-size: .6rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.quick-search select { width: 100%; background: transparent; border: 0; color: var(--cream); font-size: .92rem; padding: .15rem 0; appearance: none; cursor: pointer; }
.quick-search select option { background: var(--charcoal); }
.quick-search button { grid-column: 1 / -1; background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); color: #1a1407; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: .9rem; }
@media (min-width: 640px) { .quick-search { grid-template-columns: 1fr 1fr auto; } .quick-search button { grid-column: auto; padding: 0 1.6rem; } }

/* 3D card stack */
.stack { perspective: 1400px; }
.stack__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; transform-style: preserve-3d; }
@media (min-width: 640px) { .stack__grid { gap: 1.25rem; } }
.tilt-card {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(201, 169, 98, .3); background: var(--charcoal);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform-style: preserve-3d; transition: transform .25s ease, box-shadow .4s ease, border-color .4s ease;
  will-change: transform; cursor: pointer; text-align: left;
}
.tilt-card:nth-child(2) { margin-top: 2.2rem; }
.tilt-card:nth-child(3) { margin-top: -1rem; }
.tilt-card:nth-child(4) { margin-top: 1.2rem; }
.tilt-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tilt-card:hover { border-color: var(--gold); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .85), 0 0 40px -10px rgba(201, 169, 98, .45); }
.tilt-card:hover img { transform: scale(1.07); }
.tilt-card__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .1) 55%, transparent); }
.tilt-card__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 45%); opacity: 0; transition: opacity .4s; }
.tilt-card:hover .tilt-card__shine { opacity: 1; }
.tilt-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem; transform: translateZ(40px); }
.tilt-card__tag { font-size: .58rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.tilt-card__name { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); line-height: 1.1; margin: .2rem 0; }
.tilt-card__price { font-size: .8rem; color: var(--champagne); }
.stack .js-entry { opacity: 0; transform: translateY(60px) rotateX(25deg); }
.is-loaded .stack .js-entry { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.is-loaded .stack .js-entry:nth-child(2) { transition-delay: .12s; }
.is-loaded .stack .js-entry:nth-child(3) { transition-delay: .24s; }
.is-loaded .stack .js-entry:nth-child(4) { transition-delay: .36s; }
.no-js .stack .js-entry { opacity: 1; transform: none; }

.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(201, 169, 98, .75); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--charcoal); overflow: hidden; padding: .95rem 0; }
.ticker__track { display: flex; gap: 3rem; width: max-content; animation: marquee 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: .7rem; font-size: .82rem; white-space: nowrap; color: var(--muted); }
.ticker__item b { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--cream); }
.ticker__item em { font-style: normal; color: var(--gold); }
.ticker__item::before { content: "◆"; font-size: .5rem; color: var(--gold-dark); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; text-align: center; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; margin-bottom: .6rem; }
.stat__label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.stats-note { text-align: center; font-size: .72rem; color: var(--faint); margin-top: 2.5rem; }

/* ---------- About ---------- */
.about { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .about { grid-template-columns: 1fr 1fr; } }
.about h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.8rem; }
.about__lead { font-size: 1.1rem; color: rgba(232, 222, 201, .76); }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; margin-top: 2.4rem; }
.about__points b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--cream); }
.about__points span { font-size: .86rem; color: var(--muted); }
.about__media { position: relative; }
.about__img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 520px; object-fit: cover; transform: scale(1.12); will-change: transform; }
.about__badge { position: absolute; left: -1rem; bottom: -2rem; width: 200px; padding: 1.4rem; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(20, 19, 18, .92); backdrop-filter: blur(8px); }
.about__badge b { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 500; line-height: 1; }
.about__badge span { font-size: .78rem; color: var(--muted); }
@media (max-width: 640px) { .about__badge { left: .8rem; bottom: -1.6rem; width: 170px; } .about__img img { height: 380px; } }

/* Corridor split */
.corridors { display: grid; gap: 1.25rem; margin-top: 5rem; }
@media (min-width: 800px) { .corridors { grid-template-columns: 1fr 1fr; } }
.corridor { padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(27, 26, 24, .9), rgba(11, 11, 11, .9)); }
.corridor h3 { font-size: 1.7rem; margin-bottom: .4rem; }
.corridor__sectors { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.corridor p { font-size: .94rem; margin: 0; }

/* ---------- 3D Coverflow ---------- */
#showcase { overflow: hidden; }
.coverflow { position: relative; height: 560px; perspective: 1600px; user-select: none; touch-action: pan-y; }
@media (max-width: 640px) { .coverflow { height: 500px; } }
.coverflow__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-card {
  position: absolute; left: 50%; top: 0; width: min(380px, 78vw); height: 500px; margin-left: calc(min(380px, 78vw) / -2);
  border-radius: 22px; overflow: hidden; border: 1px solid rgba(201, 169, 98, .28); background: var(--charcoal);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  transition: transform .8s var(--ease), opacity .8s var(--ease), filter .8s var(--ease), border-color .4s;
  cursor: pointer;
}
@media (max-width: 640px) { .cf-card { height: 440px; } }
.cf-card img { width: 100%; height: 100%; object-fit: cover; }
.cf-card__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .95) 5%, rgba(0, 0, 0, .25) 55%, transparent); }
.cf-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem; }
.cf-card.is-active { border-color: var(--gold); }
.cf-card__body h3 { font-size: 1.9rem; margin: .5rem 0 .3rem; }
.cf-card__meta { font-size: .85rem; color: var(--muted); margin-bottom: .2rem; }
.cf-card__price { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-light); margin: .5rem 0 1rem; }
.cf-card__actions { display: flex; gap: .5rem; flex-wrap: wrap; opacity: 0; transform: translateY(10px); transition: opacity .5s .2s, transform .5s .2s; }
.cf-card.is-active .cf-card__actions { opacity: 1; transform: none; }
.coverflow__nav { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 1.5rem; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold-light); transition: background .3s, border-color .3s; }
.round-btn:hover { background: rgba(201, 169, 98, .1); border-color: var(--gold); }
.round-btn svg { width: 18px; height: 18px; }
.coverflow__dots { display: flex; gap: .45rem; }
.coverflow__dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(201, 169, 98, .3); transition: width .4s, background .4s; }
.coverflow__dots button.is-active { width: 26px; background: var(--gold); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .7rem; border-radius: 99px; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid; backdrop-filter: blur(6px); background: rgba(11, 11, 11, .55); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--ready { color: var(--green); border-color: rgba(143, 211, 168, .4); }
.badge--uc { color: var(--amber); border-color: rgba(232, 197, 122, .4); }
.badge--new { color: var(--sky); border-color: rgba(157, 198, 232, .4); }
.badge--plain { color: var(--gold-light); border-color: var(--line-strong); }
.badge--plain::before { display: none; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 2.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .55rem 1.1rem; border-radius: 99px; border: 1px solid var(--line); font-size: .78rem; color: var(--muted); transition: all .3s; }
.chip:hover { color: var(--cream); border-color: var(--line-strong); }
.chip.is-active { background: rgba(201, 169, 98, .14); border-color: var(--gold); color: var(--gold-light); }
.select-wrap { display: flex; gap: .5rem; flex-wrap: wrap; }
.select { position: relative; }
.select select { appearance: none; padding: .55rem 2.2rem .55rem 1rem; border-radius: 99px; border: 1px solid var(--line); background: var(--charcoal); color: var(--champagne); font-size: .78rem; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.results-count { font-size: .8rem; color: var(--faint); margin: -1.2rem 0 1.8rem; }

/* ---------- Project cards ---------- */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.p-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--charcoal-2), var(--ink));
  transition: transform .45s var(--ease), border-color .4s, box-shadow .45s; text-align: left;
}
.p-card:hover { transform: translateY(-8px); border-color: rgba(201, 169, 98, .55); box-shadow: var(--shadow); }
.p-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.07); }
.p-card__media .badge { position: absolute; top: 1rem; left: 1rem; }
.p-card__img-note { position: absolute; right: .8rem; bottom: .7rem; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.p-card__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.p-card__dev { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.p-card__name { font-size: 1.7rem; margin: .35rem 0 .3rem; }
.p-card__loc { font-size: .84rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; }
.p-card__loc svg { width: 14px; height: 14px; color: var(--gold); }
.p-card__specs { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.3rem 0; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-card__specs small { display: block; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.p-card__specs span { font-size: .86rem; color: var(--champagne); }
.p-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.p-card__price small { display: block; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.p-card__price b { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; color: var(--gold-light); }
.p-card__rera { font-size: .66rem; color: var(--faint); margin-top: .9rem; word-break: break-word; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); backdrop-filter: blur(6px); }
.modal__dialog {
  position: relative; width: 100%; max-width: 980px; max-height: calc(100vh - 2rem); overflow: auto;
  border-radius: 22px; border: 1px solid var(--line-strong); background: var(--charcoal);
  display: grid; transform: translateY(24px) scale(.98); transition: transform .45s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
@media (min-width: 860px) { .modal__dialog { grid-template-columns: 1fr 1.1fr; } }
.modal__media { position: relative; min-height: 260px; }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__media .badge { position: absolute; top: 1.2rem; left: 1.2rem; }
.modal__body { padding: 2rem 1.6rem; }
@media (min-width: 640px) { .modal__body { padding: 2.6rem; } }
.modal__close { position: absolute; top: .9rem; right: .9rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(11, 11, 11, .75); border: 1px solid var(--line-strong); color: var(--cream); display: grid; place-items: center; }
.modal__close svg { width: 18px; height: 18px; }
.modal__body h3 { font-size: 2.3rem; margin: .4rem 0 .3rem; }
.modal__table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.modal__table th { text-align: left; font-weight: 400; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); padding: .7rem 1rem .7rem 0; width: 38%; vertical-align: top; }
.modal__table td { color: var(--champagne); padding: .7rem 0; border-bottom: 1px solid var(--line); }
.modal__table tr:first-child td { border-top: 1px solid var(--line); }
.modal__table tr:first-child th { border-top: 1px solid var(--line); }
.modal__table th { border-bottom: 1px solid var(--line); }
.modal__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; }
.modal__list li { display: flex; gap: .6rem; font-size: .92rem; }
.modal__list li::before { content: "◆"; color: var(--gold); font-size: .55rem; margin-top: .45rem; }
.modal__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.modal__note { font-size: .72rem; color: var(--faint); margin-top: 1.2rem; }
body.modal-open { overflow: hidden; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: ew-resize; touch-action: pan-y; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--gold); transform: translateX(-1px); pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(11, 11, 11, .75); border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold-light); font-size: 1rem; }
.ba__label { position: absolute; bottom: 1rem; z-index: 2; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 99px; background: rgba(11, 11, 11, .6); border: 1px solid rgba(201, 169, 98, .4); color: var(--gold-light); }
.ba__label--l { left: 1rem; }
.ba__label--r { right: 1rem; }

/* ---------- Price table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.price-table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0 .5rem; }
.price-table th { text-align: left; font-weight: 400; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding: .6rem 1.1rem; white-space: nowrap; }
.price-table th button { font-size: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; display: inline-flex; gap: .35rem; align-items: center; }
.price-table td { background: rgba(0, 0, 0, .35); padding: 1rem 1.1rem; font-size: .9rem; color: var(--champagne); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-table td:first-child { border-left: 1px solid var(--line); border-radius: 12px 0 0 12px; }
.price-table td:last-child { border-right: 1px solid var(--line); border-radius: 0 12px 12px 0; }
.price-table tr:hover td { background: rgba(201, 169, 98, .06); }
.price-table td.t-name { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); }
.price-table td.t-price { color: var(--gold-light); font-weight: 400; white-space: nowrap; }
.price-table .t-dev { display: block; font-family: var(--sans); font-size: .68rem; color: var(--faint); letter-spacing: .08em; }
.table-note { font-size: .74rem; color: var(--faint); text-align: center; margin-top: 1.5rem; }

/* ---------- EMI calculator ---------- */
.emi { display: grid; gap: 2rem; border: 1px solid var(--line); border-radius: 22px; padding: 2rem 1.5rem; background: linear-gradient(160deg, var(--charcoal-2), var(--ink)); }
@media (min-width: 900px) { .emi { grid-template-columns: 1.2fr 1fr; padding: 3rem; gap: 3rem; } }
.emi h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.range { margin-top: 1.6rem; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.range__top label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.range__top output { font-family: var(--serif); font-size: 1.35rem; color: var(--cream); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--fill, 50%), rgba(201, 169, 98, .2) var(--fill, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-light); border: 4px solid var(--black); box-shadow: 0 0 0 1px var(--gold); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold-light); border: 4px solid var(--black); box-shadow: 0 0 0 1px var(--gold); cursor: pointer; }
.emi__result { border-radius: 18px; border: 1px solid var(--line-strong); padding: 2rem; display: flex; flex-direction: column; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(201, 169, 98, .12), transparent 70%); }
.emi__result small { font-size: .66rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.emi__big { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1.1; margin: .4rem 0 1.4rem; }
.emi__rows { display: grid; gap: .6rem; text-align: left; font-size: .88rem; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-bottom: 1.4rem; }
.emi__rows div { display: flex; justify-content: space-between; }
.emi__rows b { font-weight: 400; color: var(--cream); }

/* ---------- Developers ---------- */
.dev-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.6rem; margin-bottom: 4rem; }
.dev-logos span { font-family: var(--serif); font-size: 1.8rem; color: var(--cream); opacity: .45; transition: opacity .4s, color .4s, transform .4s; }
.dev-logos span:hover { opacity: 1; color: var(--gold-light); transform: translateY(-2px); }
.lux-card { border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(27, 26, 24, .9), rgba(11, 11, 11, .9)); transition: border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.lux-card:hover { border-color: rgba(201, 169, 98, .55); transform: translateY(-6px); box-shadow: var(--shadow); }
.lux-card h3 { font-size: 1.6rem; color: var(--gold-light); margin-bottom: .2rem; }
.lux-card__meta { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.1rem; }
.lux-card p { font-size: .92rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags span { padding: .25rem .7rem; border-radius: 99px; border: 1px solid rgba(201, 169, 98, .3); color: var(--gold); font-size: .66rem; }

/* ---------- Location ---------- */
.loc { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .loc { grid-template-columns: 2fr 1fr; } }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--charcoal); position: relative; }
.map-frame iframe { width: 100%; height: 100%; min-height: 480px; border: 0; filter: grayscale(.5) invert(.9) hue-rotate(180deg) contrast(.9); }
.map-frame__btn { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; gap: 1rem; padding: 2rem; background: url("images/golf-course-aerial-800.webp") center / cover; }
.map-frame__btn::before { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 11, .7); }
.map-frame__btn > * { position: relative; }
.sector-list { display: grid; gap: .8rem; align-content: start; }
.sector { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(20, 19, 18, .8); transition: border-color .3s, background .3s; text-align: left; width: 100%; }
.sector:hover { border-color: var(--line-strong); background: rgba(201, 169, 98, .06); }
.sector__pin { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 500; color: #1a1407; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); box-shadow: 0 0 0 4px rgba(201, 169, 98, .15); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(201, 169, 98, .15); } 50% { box-shadow: 0 0 0 9px rgba(201, 169, 98, 0); } }
.sector b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--cream); }
.sector span { font-size: .8rem; color: var(--muted); }
.connect { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
@media (min-width: 800px) { .connect { grid-template-columns: repeat(4, 1fr); } }
.connect div { background: var(--charcoal); padding: 1.4rem 1.2rem; text-align: center; }
.connect b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--gold-light); }
.connect span { font-size: .78rem; color: var(--muted); }

/* ---------- Why ---------- */
.why-card { text-align: center; }
.why-card__icon { width: 60px; height: 60px; margin: 0 auto 1.3rem; border-radius: 50%; border: 1px solid rgba(201, 169, 98, .4); display: grid; place-items: center; color: var(--gold); }
.why-card__icon svg { width: 26px; height: 26px; }
.why-card h3 { color: var(--cream); font-size: 1.5rem; margin-bottom: .6rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(20, 19, 18, .7); transition: border-color .3s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 3.4rem 1.25rem 1.5rem; position: relative; font-family: var(--serif); font-size: 1.25rem; color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; font-weight: 300; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.4rem; margin: 0; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .1; }
.contact__grid { position: relative; display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.contact__list { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.contact__list small { display: block; font-size: .64rem; letter-spacing: .25em; text-transform: uppercase; color: var(--faint); margin-bottom: .2rem; }
.contact__list a, .contact__list span { font-family: var(--serif); font-size: 1.55rem; color: var(--cream); transition: color .3s; }
.contact__list a:hover { color: var(--gold-light); }
.form-card { border-radius: 22px; border: 1px solid var(--line); padding: 2rem 1.5rem; background: linear-gradient(180deg, rgba(27, 26, 24, .95), rgba(11, 11, 11, .95)); }
@media (min-width: 640px) { .form-card { padding: 2.6rem; } }
.form-card h3 { font-size: 2rem; margin-bottom: .5rem; }
.form-card__sub { font-size: .88rem; color: var(--muted); margin-bottom: 1.8rem; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .4);
  border: 1px solid rgba(201, 169, 98, .22); color: var(--cream); transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--charcoal); }
.field input::placeholder, .field textarea::placeholder { color: rgba(232, 222, 201, .3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 169, 98, .15); }
.field.has-error input, .field.has-error select { border-color: #E08A7A; }
.field__err { display: none; font-size: .74rem; color: #E8A090; margin-top: .35rem; }
.field.has-error .field__err { display: block; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .78rem; color: var(--muted); line-height: 1.55; }
.consent input { margin-top: .2rem; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.form__alt { text-align: center; font-size: .84rem; color: var(--muted); }
.form__alt a { color: var(--gold); }
.form__status { display: none; padding: 1rem 1.2rem; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(201, 169, 98, .08); color: var(--gold-light); font-size: .9rem; text-align: center; }
.form__status.is-shown { display: block; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { background: #070707; border-top: 1px solid var(--line); padding: 5rem 0 6.5rem; }
@media (min-width: 900px) { .footer { padding-bottom: 2.5rem; } }
.footer__grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer h4 { font-family: var(--sans); font-size: .68rem; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; font-size: .9rem; }
.footer ul a { color: var(--muted); transition: color .3s; }
.footer ul a:hover { color: var(--gold-light); }
.footer__about { font-size: .9rem; color: var(--muted); margin-top: 1.2rem; max-width: 340px; }
.footer__disclaimer { font-size: .72rem; line-height: 1.7; color: var(--faint); border-top: 1px solid rgba(255, 255, 255, .05); padding-top: 1.8rem; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-size: .76rem; color: var(--faint); margin-top: 1.5rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-light); transition: border-color .3s, background .3s; }
.socials a:hover { border-color: var(--gold); background: rgba(201, 169, 98, .1); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Floating & mobile bar ---------- */
.float-wa { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s, bottom .35s var(--ease); }
.float-wa:hover { transform: scale(1.07); }
.float-wa svg { width: 28px; height: 28px; }
.float-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: grid; grid-template-columns: 1fr 1fr 1fr; background: rgba(11, 11, 11, .96); border-top: 1px solid var(--line-strong); backdrop-filter: blur(10px); transform: translateY(100%); transition: transform .35s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar.is-shown { transform: none; }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .7rem .4rem; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.mobile-bar a + a { border-left: 1px solid var(--line); }
.mobile-bar svg { width: 18px; height: 18px; }
.mobile-bar.is-shown ~ .float-wa { bottom: 5.2rem; }
@media (min-width: 900px) { .mobile-bar { display: none; } .mobile-bar.is-shown ~ .float-wa { bottom: 1.2rem; } }

/* ---------- Legal pages ---------- */
.legal-hero { padding: calc(var(--header-h) + 4rem) 0 2.5rem; border-bottom: 1px solid var(--line); background: radial-gradient(80% 120% at 80% 0%, rgba(201, 169, 98, .1), transparent 60%); }
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: .4rem 2rem; font-size: .85rem; color: var(--muted); }
.legal-meta strong { font-weight: 400; color: var(--champagne); }
.legal { display: grid; gap: 3.5rem; padding: 3.5rem 0 6rem; }
@media (min-width: 900px) { .legal { grid-template-columns: 250px 1fr; gap: 4.5rem; } }
.toc { font-size: .86rem; align-self: start; }
@media (min-width: 900px) { .toc { position: sticky; top: calc(var(--header-h) + 2rem); } }
.toc p { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; border-left: 1px solid var(--line); }
.toc li { counter-increment: t; }
.toc a { display: block; padding: .32rem 0 .32rem 1rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); transition: color .3s, border-color .3s; }
.toc a::before { content: counter(t, decimal-leading-zero) "  "; color: var(--gold-dark); }
.toc a:hover { color: var(--cream); border-left-color: var(--gold); }
@media (max-width: 899px) { .toc ol { columns: 2; column-gap: 1rem; } }
@media (max-width: 480px) { .toc ol { columns: 1; } }
.prose { max-width: 740px; }
.prose section { padding-bottom: 2.2rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.prose h2 .n { font-family: var(--sans); font-size: .9rem; letter-spacing: .15em; color: var(--gold); margin-right: .6rem; vertical-align: middle; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--charcoal); padding: 1.6rem 1.8rem; border-radius: 0 14px 14px 0; }
.prose .notice { margin-bottom: 2.5rem; padding-bottom: 1.6rem; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 1.3rem; }
.contact-cards div { background: var(--charcoal); padding: 1.1rem 1.25rem; }
.contact-cards small { display: block; font-size: .64rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.contact-cards a, .contact-cards span { color: var(--cream); text-decoration: none !important; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 6rem 1.5rem; }
.notfound h1 { font-size: clamp(5rem, 18vw, 10rem); line-height: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .hero-anim, .stack .js-entry { opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .drawer, .float-wa, .mobile-bar, .loader, #hero3d, .toc { display: none !important; }
  body { background: #fff; color: #222; }
  h1, h2, h3, strong { color: #000; }
}

/* ---------- Grid overflow guards & small-screen tweaks ---------- */
.contact__grid > *, .about > *, .loc > *, .emi > *, .grid > *, .form__row > *, .hero__inner > *, .footer__grid > * { min-width: 0; }
.field select { text-overflow: ellipsis; }
@media (max-width: 440px) {
  .brand__name { font-size: 1.35rem; }
  .brand__name span { font-size: .5rem; letter-spacing: .2em; white-space: nowrap; }
  .brand__mark { width: 38px; height: 38px; }
}
@media (max-width: 640px) {
  .tilt-card__tag { display: none; }
  .tilt-card__name { font-size: 1.1rem; }
  .tilt-card__body { padding: .8rem; }
}

/* ---------- Single-page views (home / privacy / terms) ---------- */
.legal-view[hidden] { display: none; }
body.view-legal #main { display: none; }
body.view-legal .legal-view .legal-hero { padding-top: calc(var(--header-h) + 4rem); }
