/* ============================================================
   PANAMA RESIDENCES AT THE CANAL — Global Stylesheet v2
   Navy · Gold · Prestige
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Jost:wght@200;300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:         #080E1C;
  --bg2:        #0B1325;
  --panel:      #0D1830;
  --panel2:     #0F1C38;

  --text:       #EAF0FC;
  --muted:      #8C9BBB;
  --faint:      #4A5572;

  --gold:       #C9A84C;
  --goldBright: #E8C46A;
  --goldDeep:   #A07A2E;
  --goldGlow:   rgba(232,196,106,.18);

  --line:       rgba(201,168,76,.18);
  --lineLight:  rgba(255,255,255,.06);

  --serif:  "Cormorant Garamond", "Times New Roman", serif;
  --sans:   "Jost", system-ui, -apple-system, sans-serif;

  --radius:  14px;
  --radius2: 22px;
  --shadow:  0 32px 80px rgba(0,0,0,.55);
  --shadowG: 0 24px 60px rgba(201,168,76,.12);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Noise overlay ─────────────────────────────────────── */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: .45;
}

/* ── Layout helpers ────────────────────────────────────── */
.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}
.container--narrow {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── Skip link ─────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -999px; top: 10px;
  background: var(--gold); color: #0a0e18;
  padding: 10px 16px; border-radius: 999px; font-weight: 500;
}
.skip-link:focus { left: 14px; z-index: 9999; }

/* ─────────────────────────────────────────────────────────
   TOPBAR
───────────────────────────────────────────────────────── */
.topbar {
  position: relative; z-index: 60;
  border-bottom: 1px solid var(--lineLight);
  background: rgba(5,9,18,.6);
  backdrop-filter: blur(10px);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.topbar__right { display: flex; align-items: center; gap: 6px; }
.topbar__link { color: var(--muted); transition: color .2s; }
.topbar__link:hover { color: var(--goldBright); }
.dot { opacity: .4; }

/* ─────────────────────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,14,28,.72);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--lineLight);
  transition: box-shadow .3s;
}
.header.scrolled {
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; gap: 20px;
}

/* Brand */
.brand {
  display: flex; align-items: center; gap: 13px;
  flex-shrink: 0;
}
.brand__logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  border: 1px solid var(--line);
}
.brand__name {
  font-family: var(--serif);
  font-size: 17px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--goldBright);
  line-height: 1.1;
}
.brand__sub {
  font-family: var(--serif);
  font-style: italic; font-weight: 300;
  font-size: 13px; color: var(--gold);
  margin-top: 2px;
}

/* Nav links */
.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  color: var(--muted); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav__link[aria-current="page"] {
  color: var(--goldBright);
  background: rgba(232,196,106,.07);
}
.nav__cta {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(232,196,106,.16), rgba(201,168,76,.06));
  color: var(--goldBright);
  transition: all .25s;
}
.nav__cta:hover {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(232,196,106,.2);
}

/* Lang switcher */
.langSwitch {
  display: flex; align-items: center; gap: 2px;
  margin-left: 14px;
  border-left: 1px solid var(--lineLight);
  padding-left: 14px;
}
.langBtn {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 5px 8px; border-radius: 6px;
  transition: all .2s;
}
.langBtn:hover { color: var(--text); }
.langBtn.active {
  color: var(--goldBright);
  background: rgba(232,196,106,.08);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  border: 1px solid var(--lineLight);
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  width: 42px; height: 42px;
  cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav__toggleLine {
  display: block; width: 18px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding: 0 0 80px;
}

/* Ambient background layers */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 140% 80% at 65% -10%, rgba(201,168,76,.13), transparent 55%),
    radial-gradient(ellipse 80% 60% at -5% 60%, rgba(232,196,106,.07), transparent 50%),
    radial-gradient(ellipse 100% 100% at 100% 100%, rgba(15,30,70,.8), transparent 60%),
    linear-gradient(165deg, #0D1A35 0%, #080E1C 55%, #060B18 100%);
}

/* Decorative grid lines */
.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

/* Floating orb */
.hero__orb {
  position: absolute; z-index: 1; pointer-events: none;
  border-radius: 50%;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(232,196,106,.10) 0%, transparent 65%);
  animation: orbFloat 12s ease-in-out infinite;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  bottom: 0; left: 5%;
  background: radial-gradient(circle, rgba(13,60,120,.35) 0%, transparent 65%);
  animation: orbFloat 15s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-30px) scale(1.05); }
}

.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  gap: 32px;
}

.hero__eyebrow {
  display: flex; align-items: center; gap: 16px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(201,168,76,.08);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.hero__badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--goldBright);
  box-shadow: 0 0 8px var(--goldBright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.02;
  color: var(--text);
  max-width: 820px;
}
.hero__title em {
  font-style: italic; color: var(--goldBright);
  display: block;
}

.hero__subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--muted);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
}

.hero__actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* Stats strip */
.hero__stats {
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(13,24,56,.55);
  backdrop-filter: blur(12px);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
}
.hero__stat {
  padding: 18px 32px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.hero__stat:last-child { border-right: none; }
.hero__stat__num {
  font-family: var(--serif);
  font-size: 32px; font-weight: 600;
  color: var(--goldBright);
  line-height: 1;
}
.hero__stat__label {
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  margin-top: 4px;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scrollLine {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero__scrollText {
  font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--faint);
  writing-mode: vertical-lr;
}

/* ─────────────────────────────────────────────────────────
   SECTION BASE
───────────────────────────────────────────────────────── */
.section {
  position: relative; z-index: 1;
  padding: 100px 0;
}
.section--alt {
  background: linear-gradient(180deg, rgba(13,24,56,.3), rgba(11,19,37,.3));
  border-top: 1px solid var(--lineLight);
  border-bottom: 1px solid var(--lineLight);
}
.section--dark {
  background: rgba(6,10,20,.5);
  border-top: 1px solid var(--lineLight);
  border-bottom: 1px solid var(--lineLight);
}

.sectionHead { margin-bottom: 56px; }
.sectionKicker {
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.sectionKicker::before {
  content: ""; width: 28px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}
.sectionTitle {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 300; line-height: 1.08;
  color: var(--text); margin-bottom: 16px;
}
.sectionTitle strong { color: var(--goldBright); font-weight: 600; }
.sectionLead {
  color: var(--muted); max-width: 60ch;
  font-size: 15px; line-height: 1.75;
}
.sectionHead--center { text-align: center; }
.sectionHead--center .sectionKicker { justify-content: center; }
.sectionHead--center .sectionKicker::before { display: none; }
.sectionHead--center .sectionLead { margin: 0 auto; }

/* ─────────────────────────────────────────────────────────
   FEATURES GRID
───────────────────────────────────────────────────────── */
.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.featureCard {
  padding: 36px 32px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(13,24,56,.6), rgba(9,16,36,.4));
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.featureCard:hover {
  border-color: rgba(232,196,106,.35);
  transform: translateY(-3px);
}
.featureCard::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(232,196,106,.06), transparent);
  opacity: 0; transition: opacity .3s;
}
.featureCard:hover::before { opacity: 1; }

.featureCard__icon {
  font-size: 26px; margin-bottom: 18px;
  display: block;
}
.featureCard__num {
  font-family: var(--serif);
  font-size: 48px; font-weight: 300;
  color: rgba(232,196,106,.15);
  line-height: 1;
  position: absolute; top: 24px; right: 28px;
}
.featureCard__title {
  font-family: var(--serif);
  font-size: 22px; font-weight: 500;
  color: var(--text); margin-bottom: 10px;
}
.featureCard__text {
  color: var(--muted); font-size: 14px; line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────
   BUILDING SPEC STRIP
───────────────────────────────────────────────────────── */
.specStrip {
  display: flex; flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
  background: rgba(13,24,56,.5);
  backdrop-filter: blur(10px);
}
.specItem {
  flex: 1; min-width: 160px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.specItem:last-child { border-right: none; }
.specItem__num {
  font-family: var(--serif);
  font-size: 40px; font-weight: 600;
  color: var(--goldBright); line-height: 1;
  margin-bottom: 6px;
}
.specItem__label {
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

/* ─────────────────────────────────────────────────────────
   PRICING UNITS
───────────────────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.unit {
  padding: 36px 30px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(13,24,56,.7), rgba(9,16,36,.5));
  border-radius: var(--radius2);
  position: relative; overflow: hidden;
  transition: all .3s;
}
.unit:hover {
  border-color: rgba(232,196,106,.4);
  box-shadow: var(--shadowG);
  transform: translateY(-4px);
}
.unit--featured {
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(18,34,70,.85), rgba(14,24,52,.7));
}
.unit--featured::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232,196,106,.08), transparent);
  pointer-events: none;
}
.unit__tag {
  display: inline-block;
  font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; margin-bottom: 20px;
}
.unit__name {
  font-family: var(--serif);
  font-size: 28px; font-weight: 400;
  color: var(--text); margin-bottom: 6px;
}
.unit__meta {
  font-size: 13px; color: var(--muted); margin-bottom: 24px;
}
.unit__price {
  font-family: var(--serif);
  font-size: 36px; font-weight: 600;
  color: var(--goldBright); margin-bottom: 24px;
}
.unit__list {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.unit__list li {
  font-size: 13px; color: var(--muted);
  padding-left: 16px; position: relative;
}
.unit__list li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--goldDeep);
}

/* ─────────────────────────────────────────────────────────
   PRIVACY FEATURE (one elevator per unit)
───────────────────────────────────────────────────────── */
.privacyBlock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
}
.privacyBlock__visual {
  background: linear-gradient(135deg, rgba(13,24,56,.9), rgba(9,16,40,.95));
  padding: 60px 48px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.privacyBlock__visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 50%, rgba(232,196,106,.09), transparent);
}
.privacyBlock__diagram {
  position: relative; z-index: 1;
  display: flex; gap: 20px; align-items: flex-end;
  justify-content: center;
}
.floorDiagram {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.floorDiagram__label {
  font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.floorUnit {
  width: 56px; height: 36px;
  border: 1px solid var(--line);
  background: rgba(232,196,106,.06);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--faint); letter-spacing: .05em;
  transition: all .3s;
}
.floorUnit.active {
  border-color: var(--gold);
  background: rgba(232,196,106,.14);
  color: var(--goldBright);
  box-shadow: 0 0 16px rgba(232,196,106,.15);
}
.floorDivider {
  width: 1px; height: 100%;
  background: var(--line);
  align-self: stretch;
  margin: 0 8px;
}
.privacyBlock__content {
  padding: 60px 48px;
  background: rgba(8,14,28,.4);
  display: flex; flex-direction: column; justify-content: center;
}

/* ─────────────────────────────────────────────────────────
   MAP + LOCATION
───────────────────────────────────────────────────────── */
.locationBlock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
}
.mapWrap {
  position: relative;
  min-height: 400px;
}
.mapWrap iframe {
  width: 100%; height: 100%; min-height: 400px;
  border: none; display: block;
  filter: saturate(.8) brightness(.85);
}
.locationBlock__info {
  padding: 52px 48px;
  background: linear-gradient(135deg, rgba(13,24,56,.7), rgba(9,16,36,.5));
  display: flex; flex-direction: column; justify-content: center;
  gap: 24px;
}

/* ─────────────────────────────────────────────────────────
   RESIDENCY HIGHLIGHT
───────────────────────────────────────────────────────── */
.residencyBanner {
  padding: 64px 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(18,30,65,.8), rgba(10,18,45,.8));
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 60px;
}
.residencyBanner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(232,196,106,.08), transparent),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(20,60,120,.15), transparent);
}
.residencyBanner__icon {
  font-size: 56px; flex-shrink: 0; position: relative; z-index: 1;
}
.residencyBanner__body { position: relative; z-index: 1; flex: 1; }
.residencyBanner__cta { position: relative; z-index: 1; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; cursor: pointer; border: none;
  font-family: var(--sans); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  font-weight: 500; border-radius: 999px;
  transition: all .25s;
  white-space: nowrap;
}
.btn--primary {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold), var(--goldDeep));
  color: #080E1C;
  box-shadow: 0 8px 24px rgba(201,168,76,.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201,168,76,.35);
}
.btn--ghost {
  padding: 13px 27px;
  border: 1px solid var(--line);
  background: rgba(232,196,106,.05);
  color: var(--goldBright);
}
.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(232,196,106,.1);
}
.btn--sm { padding: 10px 20px; font-size: 11px; }

/* ─────────────────────────────────────────────────────────
   CARD
───────────────────────────────────────────────────────── */
.card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(13,24,56,.6), rgba(9,16,36,.4));
}

.bullets { display: flex; flex-direction: column; gap: 10px; }
.bullets li {
  font-size: 14px; color: var(--muted);
  padding-left: 18px; position: relative;
}
.bullets li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--gold); font-size: 8px; top: 4px;
}

/* ─────────────────────────────────────────────────────────
   CONTACT / FORM
───────────────────────────────────────────────────────── */
.contactGrid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
}
.contactGrid__sidebar {
  background: linear-gradient(160deg, rgba(13,24,56,.85), rgba(9,16,36,.7));
  padding: 52px 44px;
  display: flex; flex-direction: column; gap: 32px;
}
.contactGrid__form {
  background: rgba(8,14,28,.4);
  padding: 52px 44px;
  border-left: 1px solid var(--line);
}

.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.field__input,
.field__select,
.field__textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--sans); font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.field__input::placeholder,
.field__textarea::placeholder { color: var(--faint); }
.field__select option { background: #0B1325; }
.field__textarea { resize: vertical; min-height: 100px; }

.contactInfo { display: flex; flex-direction: column; gap: 16px; }
.contactItem {
  display: flex; align-items: flex-start; gap: 14px;
}
.contactItem__icon {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(232,196,106,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.contactItem__text { font-size: 13px; color: var(--muted); line-height: 1.5; }
.contactItem__text strong { color: var(--text); display: block; margin-bottom: 2px; }

/* ─────────────────────────────────────────────────────────
   IMMIGRATION PAGE
───────────────────────────────────────────────────────── */
.tableWrap {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
}
.infoTable { width: 100%; border-collapse: collapse; }
.infoTable th {
  background: rgba(13,24,56,.7);
  padding: 14px 20px;
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.infoTable td {
  padding: 14px 20px;
  font-size: 13px; color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.infoTable tr:last-child td { border-bottom: none; }
.infoTable td:first-child { color: var(--text); font-weight: 400; }
.infoTable tr:hover td { background: rgba(232,196,106,.03); }

.alertBox {
  padding: 18px 24px;
  border: 1px solid rgba(232,196,106,.25);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(232,196,106,.05);
  font-size: 13px; color: var(--muted); line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--lineLight);
  padding: 64px 0 40px;
  background: rgba(5,9,18,.6);
}
.footer::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer__inner {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 40px; align-items: start;
}
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__name {
  font-family: var(--serif);
  font-size: 18px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--goldBright);
}
.footer__sub {
  font-family: var(--serif);
  font-style: italic; color: var(--gold); font-size: 14px;
}
.footer__tagline { font-size: 12px; color: var(--faint); margin-top: 4px; }
.footer__links {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
.footer__links a {
  font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.footer__links a:hover { color: var(--goldBright); }
.footer__legal {
  font-size: 11px; color: var(--faint); text-align: right;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────
   WHATSAPP FLOAT
───────────────────────────────────────────────────────── */
.waFloat {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.waFloat__btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  cursor: pointer; border: none;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  font-size: 24px;
}
.waFloat__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,.5);
}
.waFloat__tooltip {
  background: rgba(13,24,56,.9);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px; padding: 8px 14px;
  border-radius: 999px; white-space: nowrap;
  backdrop-filter: blur(10px);
  opacity: 0; transform: translateX(10px);
  transition: all .25s; pointer-events: none;
}
.waFloat:hover .waFloat__tooltip {
  opacity: 1; transform: translateX(0);
}

/* ─────────────────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────────────────── */
.pageHero {
  padding: 80px 0 56px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--lineLight);
}
.pageHero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 60% -20%, rgba(201,168,76,.1), transparent 55%);
}
.pageHero .container { position: relative; z-index: 1; }
.pageHero__kicker {
  font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.pageHero__kicker::before {
  content: ""; width: 24px; height: 1px; background: var(--gold); flex-shrink: 0;
}
.pageHero__title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 300; line-height: 1.06;
  color: var(--text); margin-bottom: 16px;
}
.pageHero__title strong { color: var(--goldBright); font-weight: 500; }
.pageHero__lead {
  color: var(--muted); max-width: 65ch;
  font-size: 15px; line-height: 1.75;
  margin-bottom: 28px;
}

/* ─────────────────────────────────────────────────────────
   DIVIDER
───────────────────────────────────────────────────────── */
.divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 8px 0;
}

/* ─────────────────────────────────────────────────────────
   ANIMATIONS (entrance)
───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(8,14,28,.97); padding: 20px; gap: 4px; border-bottom: 1px solid var(--lineLight); }
  .nav__menu.open { display: flex; }
  .nav__toggle { display: flex; }
  .header { position: relative; }
  .nav { position: relative; }
  .langSwitch { margin-left: 0; padding-left: 0; border-left: none; border-top: 1px solid var(--lineLight); padding-top: 12px; width: 100%; justify-content: center; }

  .hero { min-height: 80vh; padding-bottom: 60px; }
  .hero__stats { flex-direction: column; width: 100%; }
  .hero__stat { border-right: none; border-bottom: 1px solid var(--line); }
  .hero__stat:last-child { border-bottom: none; }

  .privacyBlock { grid-template-columns: 1fr; }
  .locationBlock { grid-template-columns: 1fr; }
  .contactGrid { grid-template-columns: 1fr; }
  .contactGrid__sidebar { order: 2; }
  .contactGrid__form { border-left: none; border-top: 1px solid var(--line); }
  .residencyBanner { flex-direction: column; padding: 40px 28px; gap: 24px; text-align: center; }
  .residencyBanner__cta { align-self: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__legal { text-align: left; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero__title { font-size: 36px; }
  .section { padding: 64px 0; }
  .container { width: calc(100% - 32px); }
  .hero { padding-bottom: 40px; }
  .unit { padding: 28px 22px; }
}

/* ─────────────────────────────────────────────────────────
   IMAGE INTEGRATION — HERO CINEMATIC
───────────────────────────────────────────────────────── */
.hero--cinematic {
  min-height: 100vh;
  position: relative;
}
.hero__bgImg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/renders/building-aerial.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero__bgImg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(6,10,22,.92) 45%, rgba(6,10,22,.55) 100%),
    linear-gradient(to top, rgba(6,10,22,.85) 0%, transparent 50%);
}

/* ─────────────────────────────────────────────────────────
   VISUAL GALLERY SECTION
───────────────────────────────────────────────────────── */
.gallerySection {
  padding: 100px 0;
  background: var(--bg);
}
.galleryGrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 10px;
}
.galleryItem {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
}
.galleryItem img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.galleryItem:hover img { transform: scale(1.04); }
.galleryItem__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(to top, rgba(6,10,22,.85), transparent);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--goldBright);
  opacity: 0; transform: translateY(8px);
  transition: all .3s;
}
.galleryItem:hover .galleryItem__caption {
  opacity: 1; transform: translateY(0);
}

/* Grid layout assignments */
.galleryItem--hero    { grid-column: 1 / 8;  grid-row: 1; aspect-ratio: 16/9; }
.galleryItem--tall    { grid-column: 8 / 13; grid-row: 1 / 3; }
.galleryItem--wide    { grid-column: 1 / 5;  grid-row: 2; aspect-ratio: 4/3; }
.galleryItem--mid     { grid-column: 5 / 8;  grid-row: 2; aspect-ratio: 4/3; }
.galleryItem--sm1     { grid-column: 1 / 4;  grid-row: 3; aspect-ratio: 4/3; }
.galleryItem--sm2     { grid-column: 4 / 7;  grid-row: 3; aspect-ratio: 4/3; }
.galleryItem--sm3     { grid-column: 7 / 10; grid-row: 3; aspect-ratio: 4/3; }
.galleryItem--sm4     { grid-column: 10 / 13;grid-row: 3; aspect-ratio: 4/3; }

/* ─────────────────────────────────────────────────────────
   PHOTO FEATURE BLOCKS
───────────────────────────────────────────────────────── */
.photoFeature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.photoFeature--reverse { direction: rtl; }
.photoFeature--reverse > * { direction: ltr; }

.photoFeature__img {
  position: relative; overflow: hidden;
  min-height: 440px;
}
.photoFeature__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.photoFeature:hover .photoFeature__img img { transform: scale(1.03); }
.photoFeature__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,10,22,.25), transparent);
  pointer-events: none;
}

.photoFeature__content {
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(13,24,56,.8), rgba(9,16,36,.6));
}

/* P Logo wall showcase */
.logoWall {
  position: relative;
  border-radius: var(--radius2);
  overflow: hidden;
  height: 400px;
}
.logoWall img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.logoWall__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(6,10,22,.45);
  text-align: center;
  padding: 40px;
}

/* ─────────────────────────────────────────────────────────
   LIGHTBOX
───────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(4,7,15,.95);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
}
.lightbox__close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 28px;
  transition: color .2s;
}
.lightbox__close:hover { color: var(--text); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: 1px solid var(--lineLight);
  color: var(--text); width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.lightbox__nav:hover { background: rgba(232,196,106,.15); border-color: var(--gold); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: .12em; color: var(--muted);
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — Image sections
───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .galleryItem--hero  { grid-column: 1 / 13; grid-row: 1; }
  .galleryItem--tall  { grid-column: 1 / 7;  grid-row: 2; aspect-ratio: 4/3; }
  .galleryItem--wide  { grid-column: 7 / 13; grid-row: 2; aspect-ratio: 4/3; }
  .galleryItem--mid   { grid-column: 1 / 5;  grid-row: 3; }
  .galleryItem--sm1   { grid-column: 5 / 9;  grid-row: 3; }
  .galleryItem--sm2   { grid-column: 9 / 13; grid-row: 3; }
  .galleryItem--sm3   { grid-column: 1 / 7;  grid-row: 4; }
  .galleryItem--sm4   { grid-column: 7 / 13; grid-row: 4; }
}
@media (max-width: 768px) {
  .galleryGrid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .galleryItem--hero,
  .galleryItem--tall,
  .galleryItem--wide,
  .galleryItem--mid,
  .galleryItem--sm1,
  .galleryItem--sm2,
  .galleryItem--sm3,
  .galleryItem--sm4 {
    grid-column: auto; grid-row: auto;
    aspect-ratio: 4/3;
  }
  .photoFeature { grid-template-columns: 1fr; }
  .photoFeature__img { min-height: 300px; }
  .photoFeature__content { padding: 36px 28px; }
  .logoWall { height: 260px; }
}

/* ═══════════════════════════════════════════════════════════
   SINGLE-PAGE ARCHITECTURE — Additional Styles v5
═══════════════════════════════════════════════════════════ */

/* ── Nav anchor offset (smooth scroll below sticky header) ── */
.section-anchor {
  display: block;
  height: 80px;
  margin-top: -80px;
  visibility: hidden;
  pointer-events: none;
}

/* ── Logo flush-left fix ── */
.header__inner {
  padding-left: 16px !important;
  padding-right: 16px !important;
}
.header__inner .brand { margin-left: 0; }

/* ═══════════════════════════════════════════════════════════
   HERO — actual building render bg
═══════════════════════════════════════════════════════════ */
.hero--cinematic .hero__bgImg {
  background-image: url('assets/renders/building-night.png');
}

/* ═══════════════════════════════════════════════════════════
   BUILDING SHOWCASE (actual renders)
═══════════════════════════════════════════════════════════ */
.buildingShowcase {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10px;
  border-radius: var(--radius2);
  overflow: hidden;
}
.buildingShowcase__main { aspect-ratio: 4/3; overflow: hidden; }
.buildingShowcase__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.buildingShowcase__sub { overflow: hidden; }
.buildingShowcase__main img,
.buildingShowcase__sub img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.buildingShowcase__main:hover img,
.buildingShowcase__sub:hover img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════════════
   UNIT CARDS (horizontal layout)
═══════════════════════════════════════════════════════════ */
.unitGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.unitCard {
  background: var(--cardBg, var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 420px;
}
.unitCard:hover { border-color: var(--gold); transform: translateY(-3px); }
.unitCard--featured { border-color: var(--gold); }
.unitCard__img { height: 100%; min-height: 420px; overflow: hidden; position: relative; }
.unitCard__img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform .5s; }
.unitCard:hover .unitCard__img img { transform: scale(1.04); }
.unitCard__badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: #080E1C;
  font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.unitCard__body { padding: 28px; }
.unitCard__name { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.unitCard__size { font-size: 12px; color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; }
.unitCard__desc { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.unitCard__price { font-family: var(--serif); font-size: 28px; color: var(--goldBright); margin-bottom: 16px; }
.unitCard__features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.unitCard__feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted);
}
.unitCard__feature::before { content: "✓"; color: var(--gold); font-size: 11px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   LOCK-OFF DIAGRAM
═══════════════════════════════════════════════════════════ */
.lockoffDiagram {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}
.lockoffViz {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 11px;
}
.lockoffViz__top {
  text-align: center;
  padding: 8px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--line);
}
.lockoffViz__floor {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
}
.lockoffViz__cell {
  padding: 16px 12px;
  border-right: 1px dashed rgba(255,255,255,.08);
  text-align: center;
  transition: background .3s;
}
.lockoffViz__cell:last-child { border-right: none; }
.lockoffViz__cell--alt { background: rgba(232,196,106,.04); }
.lockoffViz__cell:hover { background: rgba(232,196,106,.08); }
.lockoffViz__icon { font-size: 20px; margin-bottom: 6px; }
.lockoffViz__label { font-size: 10px; color: var(--muted); line-height: 1.4; }
.lockoffViz__rentTag {
  display: inline-block; margin-top: 6px;
  font-size: 9px; padding: 2px 8px; border-radius: 20px;
  background: rgba(74,222,128,.12); color: #4ade80;
  border: 1px solid rgba(74,222,128,.2);
}
.lockoffViz__footer {
  padding: 10px 16px; border-top: 1px solid var(--line);
  font-size: 10px; color: var(--faint); text-align: center; letter-spacing: .05em;
}

/* ═══════════════════════════════════════════════════════════
   SELLING POINTS PILLS (EV, Privacy, etc)
═══════════════════════════════════════════════════════════ */
.sellPills {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0;
}
.sellPill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(232,196,106,.08);
  border: 1px solid rgba(232,196,106,.2);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px; color: var(--goldBright); letter-spacing: .06em;
}
.sellPill__icon { font-size: 16px; }

/* ═══════════════════════════════════════════════════════════
   NEIGHBORHOOD / AMENITIES
═══════════════════════════════════════════════════════════ */
.neighborhoodSection { padding: 100px 0; }
.neighborhoodLayout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
}
.neighborhoodList {
  background: var(--panel);
  padding: 0;
  overflow-y: auto;
  max-height: 560px;
}
.nbCat {
  padding: 14px 24px 8px;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); border-top: 1px solid var(--line);
}
.nbCat:first-child { border-top: none; }
.nbItem {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background .2s;
  border-left: 2px solid transparent;
}
.nbItem:hover, .nbItem.active {
  background: rgba(232,196,106,.06);
  border-left-color: var(--gold);
}
.nbItem__num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--gold); flex-shrink: 0; margin-top: 1px;
}
.nbItem__info {}
.nbItem__name { font-size: 13px; font-weight: 400; color: var(--text); }
.nbItem__dist { font-size: 11px; color: var(--muted); margin-top: 1px; }
.neighborhoodMap { position: relative; }
.neighborhoodMap iframe {
  width: 100%; height: 100%;
  min-height: 560px;
  display: block; border: none;
  filter: invert(0.9) hue-rotate(180deg) brightness(0.85) saturate(1.1);
}

/* ═══════════════════════════════════════════════════════════
   RESIDENCY — simplified
═══════════════════════════════════════════════════════════ */
.residencyGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.residencyCard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 32px;
  transition: border-color .3s;
}
.residencyCard:hover { border-color: var(--gold); }
.residencyCard__icon { font-size: 32px; margin-bottom: 14px; }
.residencyCard__title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.residencyCard__body { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* Passport stat row */
.passportStats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 40px;
}
.passportStat {
  background: var(--panel);
  padding: 28px 20px;
  text-align: center;
}
.passportStat__num {
  font-family: var(--serif); font-size: 36px;
  color: var(--goldBright); line-height: 1;
}
.passportStat__label { font-size: 11px; color: var(--muted); margin-top: 6px; letter-spacing: .06em; }

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════ */
.aboutGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.aboutImg {
  border-radius: var(--radius2);
  overflow: hidden;
  height: 400px;
}
.aboutImg img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════ */
.contactLayout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contactInfo { display: flex; flex-direction: column; gap: 24px; }
.contactItem {
  display: flex; gap: 16px; align-items: flex-start;
}
.contactItem__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(232,196,106,.08); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contactItem__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contactItem__val { font-size: 14px; color: var(--text); }
.contactMap {
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 300px;
}
.contactMap iframe { width: 100%; height: 100%; display: block; border: none; }
.contactForm { display: flex; flex-direction: column; gap: 14px; }
.formRow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.formField {
  display: flex; flex-direction: column; gap: 6px;
}
.formField label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.formField input,
.formField select,
.formField textarea {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color .2s;
  width: 100%;
}
.formField input:focus,
.formField select:focus,
.formField textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.formField select option { background: var(--panel); }
.formField textarea { resize: vertical; min-height: 100px; }
.formSuccess {
  display: none;
  text-align: center; padding: 40px;
  background: rgba(74,222,128,.06);
  border: 1px solid rgba(74,222,128,.2);
  border-radius: var(--radius2);
}
.formSuccess.show { display: block; }
.formSuccess__icon { font-size: 40px; margin-bottom: 12px; }

/* ═══════════════════════════════════════════════════════════
   GALLERY (updated)
═══════════════════════════════════════════════════════════ */
.gallerySection { padding: 100px 0; background: var(--bg); }
.galleryGrid {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: 10px;
}
.galleryItem { overflow: hidden; border-radius: 10px; position: relative; cursor: pointer; }
.galleryItem img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.galleryItem:hover img { transform: scale(1.04); }
.galleryItem__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(to top, rgba(6,10,22,.85), transparent);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--goldBright); opacity: 0; transform: translateY(8px); transition: all .3s;
}
.galleryItem:hover .galleryItem__caption { opacity: 1; transform: translateY(0); }
.galleryItem--hero  { grid-column: 1/8;  grid-row: 1; aspect-ratio: 16/9; }
.galleryItem--tall  { grid-column: 8/13; grid-row: 1/3; }
.galleryItem--wide  { grid-column: 1/5;  grid-row: 2; aspect-ratio: 4/3; }
.galleryItem--mid   { grid-column: 5/8;  grid-row: 2; aspect-ratio: 4/3; }
.galleryItem--sm1   { grid-column: 1/4;  grid-row: 3; aspect-ratio: 4/3; }
.galleryItem--sm2   { grid-column: 4/7;  grid-row: 3; aspect-ratio: 4/3; }
.galleryItem--sm3   { grid-column: 7/10; grid-row: 3; aspect-ratio: 4/3; }
.galleryItem--sm4   { grid-column: 10/13;grid-row: 3; aspect-ratio: 4/3; }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(4,7,15,.96); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 10px; }
.lightbox__close { position: absolute; top: 24px; right: 28px; background: none; border: none; cursor: pointer; color: var(--muted); font-size: 28px; transition: color .2s; }
.lightbox__close:hover { color: var(--text); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: 1px solid var(--lineLight); color: var(--text); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.lightbox__nav:hover { background: rgba(232,196,106,.15); border-color: var(--gold); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .12em; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .buildingShowcase { grid-template-columns: 1fr; }
  .buildingShowcase__side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .neighborhoodLayout { grid-template-columns: 1fr; }
  .neighborhoodList { max-height: 280px; }
  .neighborhoodMap iframe { min-height: 360px; }
  .unitGrid { grid-template-columns: 1fr; }
  .lockoffDiagram { grid-template-columns: 1fr; }
  .contactLayout { grid-template-columns: 1fr; }
  .aboutGrid { grid-template-columns: 1fr; }
  .passportStats { grid-template-columns: repeat(2,1fr); }
  .residencyGrid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .galleryGrid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .galleryItem--hero,.galleryItem--tall,.galleryItem--wide,.galleryItem--mid,
  .galleryItem--sm1,.galleryItem--sm2,.galleryItem--sm3,.galleryItem--sm4 { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; }
  .formRow { grid-template-columns: 1fr; }
  .passportStats { grid-template-columns: repeat(2,1fr); }
  .photoFeature { grid-template-columns: 1fr; }
  .photoFeature__img { min-height: 260px; }
  .photoFeature__content { padding: 28px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   V6 ADDITIONS
═══════════════════════════════════════════════════════════ */

/* ── Hero brighter overlay ── */
.hero--v6 .hero__bgImg {
  background-image: url('assets/renders/axis-facade-corner.jpg');
  background-position: center 35%;
}
.hero--v6 .hero__bgImg::after {
  background:
    linear-gradient(to right, rgba(6,10,22,.78) 40%, rgba(6,10,22,.42) 100%),
    linear-gradient(to top, rgba(6,10,22,.7) 0%, transparent 45%);
}

/* ── Building 4-image grid ── */
.building4Grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  border-radius: var(--radius2);
  overflow: hidden;
  height: 540px;
}
.building4Grid__main {
  grid-row: 1 / 3;
  overflow: hidden;
}
.building4Grid__sub { overflow: hidden; }
.building4Grid__main img,
.building4Grid__sub img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.building4Grid__main:hover img,
.building4Grid__sub:hover img { transform: scale(1.04); }

/* ── Amenities Section ── */
.amenitiesGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.amenityCard {
  border-radius: var(--radius2);
  overflow: hidden;
  position: relative;
  cursor: default;
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
.amenityCard:hover { border-color: var(--gold); transform: translateY(-4px); }
.amenityCard__img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.amenityCard__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
  filter: brightness(.85);
}
.amenityCard:hover .amenityCard__img img { transform: scale(1.06); filter: brightness(.95); }

/* Zoomable image cards */
.amenityCard__img--zoomable { cursor: zoom-in; }
.amenityCard__img--zoomable::after {
  content: '⤢';
  position: absolute;
  bottom: 8px; right: 10px;
  background: rgba(0,0,0,.52);
  color: rgba(255,255,255,.8);
  font-size: 14px;
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.amenityCard__img--zoomable:hover::after { opacity: 1; }
.amenityCard__body {
  background: var(--panel);
  padding: 16px 18px;
}
.amenityCard__icon { font-size: 22px; margin-bottom: 6px; }
.amenityCard__title {
  font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 4px;
}
.amenityCard__desc { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* Large amenity card (spans 2 cols) */
.amenityCard--wide { grid-column: span 2; }
.amenityCard--wide .amenityCard__img { height: 240px; }

/* ── Neighbourhood interactive map ── */
.neighborhoodLayout2 {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
  height: 580px;
}
.nbList2 {
  background: var(--panel);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.nbList2::-webkit-scrollbar { width: 4px; }
.nbList2::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.nbCatLabel {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px 6px;
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid rgba(255,255,255,.05);
  background: rgba(232,196,106,.04);
  position: sticky; top: 0; z-index: 1;
}
.nbRow {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 18px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all .2s;
}
.nbRow:hover, .nbRow.active {
  background: rgba(232,196,106,.07);
  border-left-color: var(--gold);
}
.nbRow__num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--gold); flex-shrink: 0; margin-top: 2px;
}
.nbRow__name { font-size: 12px; color: var(--text); line-height: 1.3; }
.nbRow__dist { font-size: 10px; color: var(--muted); margin-top: 1px; }
.nbMapWrap {
  position: relative; overflow: hidden;
}
.nbMapWrap iframe {
  width: 100%; height: 100%; border: none; display: block;
  filter: hue-rotate(180deg) invert(.9) brightness(.85) saturate(1.1);
}
.nbMapPin {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  z-index: 10; pointer-events: none;
  display: flex; flex-direction: column; align-items: center;
}

/* ── Investment Gate / Passcode ── */
.investSection { position: relative; overflow: hidden; }
.investGate {
  position: relative;
  min-height: 540px;
  display: flex; align-items: center; justify-content: center;
}
.investGate__bg {
  position: absolute; inset: 0;
  background-image: url('assets/renders/building-aerial.png');
  background-size: cover; background-position: center;
  transition: opacity .8s ease;
}
.investGate__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,10,22,.7), rgba(6,10,22,.55));
}
.investGate__frame {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 48px 40px;
  background: rgba(8,14,28,.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(232,196,106,.3);
  border-radius: 50%;
  width: 420px; height: 420px;
  box-shadow: 0 0 80px rgba(201,168,76,.15), inset 0 0 40px rgba(201,168,76,.05);
}
.investGate__icon { font-size: 40px; margin-bottom: 12px; }
.investGate__label {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.investGate__title {
  font-family: var(--serif); font-size: 24px; font-weight: 300;
  color: var(--text); margin-bottom: 6px; line-height: 1.2;
}
.investGate__sub { font-size: 11px; color: var(--muted); margin-bottom: 24px; max-width: 240px; }
.investGate__inputRow {
  display: flex; gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(232,196,106,.3);
  border-radius: 999px;
  overflow: hidden; width: 100%; max-width: 260px;
}
.investGate__inputRow input {
  flex: 1; background: none; border: none; outline: none;
  padding: 12px 18px;
  color: var(--text); font-family: var(--sans); font-size: 14px;
  letter-spacing: .15em; text-align: center;
}
.investGate__inputRow input::placeholder { color: var(--faint); letter-spacing: .1em; }
.investGate__inputRow button {
  background: var(--gold); border: none; cursor: pointer;
  padding: 12px 18px; color: #080E1C; font-size: 16px; font-weight: 600;
  transition: background .2s;
}
.investGate__inputRow button:hover { background: var(--goldBright); }
.investGate__error {
  font-size: 11px; color: #f87171; margin-top: 10px;
  opacity: 0; transition: opacity .3s;
}
.investGate__error.show { opacity: 1; }
.investGate__hint { font-size: 10px; color: var(--faint); margin-top: 14px; }

/* Investment content (hidden until unlocked) */
.investContent {
  display: none;
  padding: 80px 0;
  animation: fadeInUp .6s ease forwards;
}
.investContent.show { display: block; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.investTabs {
  display: flex; gap: 8px; margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.investTab {
  padding: 12px 24px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all .2s;
}
.investTab.active { color: var(--gold); border-bottom-color: var(--gold); }
.investPane { display: none; }
.investPane.active { display: block; }

/* Rental return card */
.returnCard {
  background: linear-gradient(135deg, rgba(232,196,106,.1), rgba(232,196,106,.04));
  border: 1px solid rgba(232,196,106,.3);
  border-radius: var(--radius2);
  padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center;
}
.returnNum {
  font-family: var(--serif); font-size: 80px; font-weight: 300;
  color: var(--goldBright); line-height: 1;
}
.returnSuffix { font-size: 32px; color: var(--gold); }

/* ── Lock-off diagram ── */
.lockoffViz2 {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.lockoffViz2__header {
  display: grid; grid-template-columns: 1fr 1.6fr 1fr;
  border-bottom: 1px solid var(--line);
}
.lockoffViz2__hcell {
  padding: 10px 12px; text-align: center;
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); border-right: 1px dashed rgba(255,255,255,.08);
}
.lockoffViz2__hcell:last-child { border-right: none; }
.lockoffViz2__body {
  display: grid; grid-template-columns: 1fr 1.6fr 1fr;
}
.lockoffViz2__cell {
  padding: 20px 14px; text-align: center;
  border-right: 1px dashed rgba(255,255,255,.08);
}
.lockoffViz2__cell:last-child { border-right: none; }
.lockoffViz2__cell--rental { background: rgba(74,222,128,.05); border-left: 2px solid rgba(74,222,128,.3); }
.lockoffViz2__cell--main { background: rgba(232,196,106,.04); }
.lockoffViz2__icon { font-size: 24px; margin-bottom: 8px; }
.lockoffViz2__label { font-size: 11px; color: var(--text); line-height: 1.5; }
.lockoffViz2__tag {
  display: inline-block; margin-top: 8px;
  font-size: 9px; padding: 2px 10px; border-radius: 20px;
  border: 1px solid; letter-spacing: .07em;
}
.lockoffViz2__tag--rent { color: #4ade80; border-color: rgba(74,222,128,.3); background: rgba(74,222,128,.08); }
.lockoffViz2__tag--lock { color: var(--goldBright); border-color: rgba(232,196,106,.3); background: rgba(232,196,106,.08); }
.lockoffViz2__footer {
  padding: 10px 16px; border-top: 1px solid var(--line);
  font-size: 10px; color: var(--faint); text-align: center;
}

/* ── Spec strip (v6) ── */
.specStrip4 {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius2); overflow: hidden;
}
.specItem4 {
  padding: 28px 20px; text-align: center;
  border-right: 1px solid var(--line);
}
.specItem4:last-child { border-right: none; }
.specItem4__num {
  font-family: var(--serif); font-size: 40px; font-weight: 300;
  color: var(--goldBright); line-height: 1;
}
.specItem4__label { font-size: 11px; color: var(--muted); margin-top: 6px; letter-spacing: .08em; }

/* ── Responsive v6 ── */
@media (max-width: 1024px) {
  .amenitiesGrid { grid-template-columns: repeat(2,1fr); }
  .amenityCard--wide { grid-column: span 2; }
  .neighborhoodLayout2 { grid-template-columns: 1fr; height: auto; }
  .nbList2 { max-height: 300px; }
  .nbMapWrap { height: 360px; }
  .building4Grid { grid-template-columns: 1fr; height: auto; }
  .building4Grid__main { aspect-ratio: 4/3; }
  .building4Grid__sub { display: block; aspect-ratio: 16/9; }
  .investGate__frame { width: 320px; height: 320px; padding: 32px 24px; }
  .investGate__title { font-size: 18px; }
  .returnCard { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .amenitiesGrid { grid-template-columns: 1fr 1fr; }
  .amenityCard--wide { grid-column: span 1; }
  .investGate__frame { width: 280px; height: 280px; padding: 24px 16px; }
  .specStrip4 { grid-template-columns: repeat(2,1fr); }
  .specItem4 { border-bottom: 1px solid var(--line); }
}

/* ═══════════════════════════════════════════════════════════
   FULL RESPONSIVE OVERHAUL — Mobile · Tablet · Desktop
   Breakpoints: 480px | 768px | 1024px | 1280px
═══════════════════════════════════════════════════════════ */

/* ── Global mobile base ── */
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { overflow-x: hidden; }

  /* Container */
  .container { width: calc(100% - 28px); }

  /* Topbar */
  .topbar { display: none; }

  /* Header */
  .header { position: sticky; top: 0; z-index: 1000; }

  /* Hero */
  .hero--cinematic { min-height: 100svh; }
  .hero__inner { padding: 100px 0 60px !important; }
  .hero__title { font-size: clamp(28px,8vw,44px) !important; max-width: 100% !important; }
  .hero__subtitle { font-size: 14px !important; max-width: 100% !important; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .hero__stats { flex-direction: row; flex-wrap: wrap; gap: 0; margin-top: 32px !important; }
  .hero__stat { flex: 1 1 50%; border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; padding: 14px 10px; }
  .hero__stat:nth-child(2n) { border-right: none !important; }
  .hero__stat:nth-child(3), .hero__stat:nth-child(4) { border-bottom: none !important; }
  .hero__stat__num { font-size: 24px; }
  .hero__scroll { display: none; }
  /* Presale banner — stack below stats on mobile */
  .hero--cinematic > div[style*="position:absolute;top:50%;right"] {
    position:relative !important; top:auto !important; right:auto !important;
    transform:none !important; max-width:100% !important; text-align:left !important;
    margin-top:24px !important; padding:0 !important;
  }
  .hero--cinematic > div[style*="position:absolute;top:50%;right"] > div {
    text-align:left !important;
  }

  /* Sections */
  .section { padding: 60px 0; }
  .section--alt { padding: 60px 0; }
  .sectionTitle { font-size: clamp(24px,7vw,36px) !important; }
  .sectionLead { font-size: 14px; }

  /* Sell pills */
  .sellPills { gap: 8px; }
  .sellPill { font-size: 11px; padding: 6px 12px; }

  /* Building 4-grid → single column */
  .building4Grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    height: auto !important;
  }
  .building4Grid__main { aspect-ratio: 4/3; }
  .building4Grid__sub:first-of-type { aspect-ratio: 16/7; }
  .building4Grid__sub:last-of-type { aspect-ratio: 16/7; }

  /* Spec strip → 2-col grid */
  .specStrip4 { grid-template-columns: 1fr 1fr !important; }
  .specItem4 { border-bottom: 1px solid var(--line); padding: 20px 16px; }
  .specItem4:nth-child(3), .specItem4:nth-child(4) { border-bottom: none; }
  .specItem4__num { font-size: 30px; }

  /* Unit cards → stack vertically on mobile */
  .unitGrid { grid-template-columns: 1fr !important; }
  .unitCard { grid-template-columns: 1fr !important; min-height: auto !important; }
  .unitCard__img { height: 260px !important; min-height: 260px !important; }

  /* Lock-off diagram → single column */
  .lockoffDiagram { grid-template-columns: 1fr !important; padding: 24px !important; gap: 24px !important; }

  /* Amenities grid → 2-col */
  .amenitiesGrid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .amenityCard--wide { grid-column: span 2 !important; }
  .amenityCard__img { height: 160px; }
  .amenityCard--wide .amenityCard__img { height: 200px; }
  .amenityCard__title { font-size: 12px; }
  .amenityCard__desc { font-size: 11px; }

  /* Gallery → 2-col */
  .galleryGrid { grid-template-columns: 1fr 1fr !important; gap: 6px; }
  .galleryItem--hero, .galleryItem--tall, .galleryItem--wide, .galleryItem--mid,
  .galleryItem--sm1, .galleryItem--sm2, .galleryItem--sm3, .galleryItem--sm4 {
    grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4/3;
  }

  /* Neighborhood → stacked */
  .neighborhoodLayout2 { grid-template-columns: 1fr !important; height: auto !important; }
  .nbList2 { max-height: 260px; }
  .nbMapWrap { height: 300px !important; }
  .nbMapWrap iframe { min-height: 300px !important; }

  /* Investment gate */
  .investGate { min-height: 480px; padding: 20px; }
  .investGate__frame { width: 88vw !important; height: auto !important; min-height: 360px; border-radius: 24px !important; padding: 36px 24px !important; }
  .investGate__title { font-size: 20px !important; }
  .investGate__inputRow { max-width: 100% !important; }
  .investTabs { flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); }
  .investTab { padding: 10px 14px; font-size: 11px; border-bottom: none !important; border-left: 2px solid transparent; }
  .investTab.active { border-left-color: var(--gold); background: rgba(232,196,106,.05); }
  .returnCard { grid-template-columns: 1fr !important; gap: 24px !important; padding: 24px !important; }
  .returnNum { font-size: 56px !important; }
  /* Investment content inner grids */
  #investPane-residency > div:first-child { grid-template-columns: 1fr 1fr !important; }
  #investPane-residency > div:last-child { grid-template-columns: 1fr !important; }
  /* New simplified panes — stack to single col on mobile */
  #investPane-rental [style*="grid-template-columns:1fr 1fr"],
  #investPane-lockoff [style*="grid-template-columns:1fr 1fr"],
  #investPane-leaseback [style*="grid-template-columns:1fr 1fr"],
  #investPane-leaseback [style*="grid-template-columns:1fr auto"] { display: flex !important; flex-direction: column !important; gap: 20px !important; }
  #investPane-rental [style*="grid-template-columns:repeat(4"],
  #investPane-lockoff [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
  #investPane-rental [style*="grid-template-columns:1fr auto"] { display: flex !important; flex-direction: column !important; gap: 16px !important; }

  /* About */
  .aboutGrid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .aboutImg { height: 240px !important; }

  /* Contact */
  .contactLayout { grid-template-columns: 1fr !important; gap: 28px; }
  .formRow { grid-template-columns: 1fr !important; }
  .contactMap { height: 220px !important; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr !important; gap: 28px !important; padding: 0 14px !important; }
  .footer__links { display: flex; flex-wrap: wrap; gap: 10px 20px; }

  /* WhatsApp float */
  .waFloat { bottom: 20px; right: 16px; }

  /* Photo feature */
  .photoFeature { grid-template-columns: 1fr !important; }
  .photoFeature__img { min-height: 220px !important; }
  .photoFeature--reverse { direction: ltr; }
}

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {
  .amenitiesGrid { grid-template-columns: 1fr !important; }
  .amenityCard--wide { grid-column: auto !important; }
  .hero__stats { flex-direction: column; }
  .hero__stat { flex: 1 1 100%; border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .hero__stat:last-child { border-bottom: none !important; }
  .specStrip4 { grid-template-columns: 1fr 1fr !important; }
  .investGate__frame { width: 94vw !important; padding: 28px 18px !important; }
  .sellPill { font-size: 11px; padding: 5px 10px; }
  #investPane-residency > div:first-child { grid-template-columns: 1fr 1fr !important; }
}

/* ── Tablet (769px – 1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  html { font-size: 15px; }

  /* Nav — hide desktop, show toggle */
  @media (max-width: 900px) {
    .header { position: sticky; top: 0; z-index: 1000; }
  }

  .hero__inner { padding: 120px 0 80px !important; }
  .hero__stats { gap: 0; }
  .hero__stat { padding: 18px 20px; }
  .hero__stat__num { font-size: 28px; }

  .building4Grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    height: auto !important;
  }
  .building4Grid__main { grid-column: 1 / 3; aspect-ratio: 16/7; }
  .building4Grid__sub { aspect-ratio: 4/3; }

  .unitGrid { grid-template-columns: 1fr !important; }
  .unitCard { grid-template-columns: 380px 1fr !important; }

  .amenitiesGrid { grid-template-columns: repeat(2, 1fr) !important; }
  .amenityCard--wide { grid-column: span 2 !important; }

  .neighborhoodLayout2 { grid-template-columns: 280px 1fr !important; height: 520px !important; }
  .nbMapWrap iframe { min-height: 520px !important; }

  .investGate__frame { width: 380px !important; height: 380px !important; }

  .aboutGrid { grid-template-columns: 1fr 1fr !important; gap: 36px !important; }

  .contactLayout { grid-template-columns: 1fr 1.2fr !important; }

  .galleryGrid { grid-template-columns: repeat(12,1fr) !important; gap: 8px; }
  .galleryItem--hero  { grid-column: 1 / 8;  grid-row: 1; aspect-ratio: 16/9; }
  .galleryItem--tall  { grid-column: 8 / 13; grid-row: 1 / 3; }
  .galleryItem--wide  { grid-column: 1 / 5;  grid-row: 2; aspect-ratio: 4/3; }
  .galleryItem--mid   { grid-column: 5 / 8;  grid-row: 2; aspect-ratio: 4/3; }
  .galleryItem--sm1   { grid-column: 1 / 4;  grid-row: 3; aspect-ratio: 4/3; }
  .galleryItem--sm2   { grid-column: 4 / 7;  grid-row: 3; aspect-ratio: 4/3; }
  .galleryItem--sm3   { grid-column: 7 / 10; grid-row: 3; aspect-ratio: 4/3; }
  .galleryItem--sm4   { grid-column: 10 / 13;grid-row: 3; aspect-ratio: 4/3; }
}

/* ── Nav sticky on all screens ── */
@media (min-width: 769px) {
  .header { position: sticky; top: 0; z-index: 1000; }
}

/* ── Touch improvements ── */
@media (hover: none) {
  .galleryItem__caption { opacity: 1; transform: translateY(0); background: linear-gradient(to top, rgba(6,10,22,.7), transparent); }
  .nbRow { cursor: default; }
}

/* ── Safe area for notched phones ── */
@supports (padding-top: env(safe-area-inset-top)) {
  .header { padding-top: env(safe-area-inset-top); }
  .waFloat { bottom: calc(20px + env(safe-area-inset-bottom)); right: calc(16px + env(safe-area-inset-right)); }
}


/* ── Hero background ─────────────────────────────────────── */
.hero__bgImg { position:absolute;inset:0;z-index:0;overflow:hidden; }
.hero__bgImg img { width:100%;height:100%;object-fit:cover; }

/* ── Building interior grid responsive ── */
@media (max-width: 768px) {
  .bldIntGrid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .bldIntGrid { grid-template-columns: 1fr !important; }
}

/* ── Design Team section responsive ── */
@media (max-width: 768px) {
  .designTeamGrid { grid-template-columns: 1fr !important; }
}

/* ── Designer bio stats grid responsive ── */
@media (max-width: 480px) {
  .designerStatsGrid { grid-template-columns: repeat(2, 1fr) !important; }
}
