/* ==========================================================================
   BanaHomes Ltd — Site stylesheet
   Palette is taken from the BanaHomes logo: brushed gold on deep charcoal.
   ========================================================================== */

:root {
  --ink: #0d0c0a;
  --charcoal: #171614;
  --charcoal-2: #211f1c;
  --stone: #2c2925;
  --cream: #f7f3ec;
  --sand: #efe8dc;
  --paper: #fffdf9;
  --text: #26231f;
  --muted: #6d675e;
  --muted-light: #a9a296;
  --line: rgba(38, 35, 31, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --gold: #c9a45c;
  --gold-light: #e2c689;
  --gold-deep: #9c7a38;
  --gold-grad: linear-gradient(135deg, #e7cd8e 0%, #c9a45c 45%, #9c7a38 100%);
  --success: #3f8f5b;
  --whatsapp: #25d366;

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

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 84px;
  --shadow-sm: 0 2px 10px rgba(13, 12, 10, 0.06);
  --shadow: 0 18px 50px -18px rgba(13, 12, 10, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding: calc(var(--section-y) * 0.6) 0; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--charcoal); color: #e9e4da; }
.section--ink { background: var(--ink); color: #e9e4da; }
.section--dark .muted, .section--ink .muted { color: var(--muted-light); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .section--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-light); }
.display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.01em;
}
.h2 { font-family: var(--font-display); font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.06; }
.h3 { font-family: var(--font-display); font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.15; }
.h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold); }
.section:not(.section--dark):not(.section--ink) .h2 em { color: var(--gold-deep); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.75; color: var(--muted); }
.section--dark .lead, .section--ink .lead { color: #bdb6a9; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.section-head .lead { margin-top: 20px; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { --btn-bg: var(--gold-light); --btn-bd: var(--gold-light); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--dark { --btn-bg: var(--charcoal); --btn-fg: #fff; --btn-bd: var(--charcoal); }
.btn--dark:hover { --btn-bg: var(--gold-deep); --btn-bd: var(--gold-deep); --btn-fg: #fff; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: rgba(38,35,31,.3); }
.btn--outline:hover { --btn-bg: var(--charcoal); --btn-fg: #fff; --btn-bd: var(--charcoal); }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #06331a; --btn-bd: var(--whatsapp); }
.btn--whatsapp:hover { --btn-bg: #3be27b; --btn-bd: #3be27b; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.72rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.section--dark .link-arrow, .section--ink .link-arrow { color: var(--gold-light); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header::before {
  /* soft scrim so the nav stays legible over bright hero images */
  content: ""; position: absolute; inset: 0 0 -40px 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,9,8,.55), rgba(10,9,8,0));
  transition: opacity .4s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(15, 14, 12, 0.94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.site-header.is-scrolled::before { opacity: 0; }
.header-inner {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand img { height: 36px; }

.main-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 0; color: rgba(255,255,255,.86);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color .3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }

/* Desktop dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: 320px; padding: 12px;
  background: var(--paper); color: var(--text);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.dropdown::before { /* hover bridge */ content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}
.has-dropdown.is-open > .nav-link .icon { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 8px; transition: background .25s; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--cream); }
.dropdown img { width: 64px; height: 52px; object-fit: cover; border-radius: 6px; flex: none; }
.dropdown strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.1; }
.dropdown small { display: block; font-size: 0.74rem; color: var(--muted); }
.dropdown .dropdown-all {
  justify-content: space-between; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: none; align-items: center; gap: 8px; color: #fff;
  font-size: 0.85rem; font-weight: 600; letter-spacing: .04em;
}
.header-phone .icon { color: var(--gold); width: 18px; height: 18px; }
.header-cta { display: none; }

/* Hamburger */
.menu-toggle {
  position: relative; z-index: 120;
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28); color: #fff;
  transition: border-color .3s, background .3s;
}
.menu-toggle:hover { border-color: var(--gold); }
.menu-toggle__bars { position: relative; width: 20px; height: 12px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease), width .4s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5.25px; width: 70%; left: auto; right: 0; }
.menu-toggle__bars span:nth-child(3) { top: 10.5px; }
.menu-open .menu-toggle__bars span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; width: 0; }
.menu-open .menu-toggle__bars span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

/* While the menu is open the header sits above the panel so the close button stays reachable */
.menu-open .site-header { z-index: 130; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .brand, .menu-open .header-cta, .menu-open .header-phone { opacity: 0; pointer-events: none; }
.menu-open .menu-toggle { border-color: rgba(201,164,92,.6); }

/* Mobile / tablet menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  display: flex; justify-content: flex-end;
  visibility: hidden; pointer-events: none;
}
.mobile-menu__backdrop {
  position: absolute; inset: 0; background: rgba(8,7,6,.6);
  opacity: 0; transition: opacity .45s var(--ease);
}
.mobile-menu__panel {
  position: relative; width: min(100%, 460px); height: 100%;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 16px) clamp(24px, 6vw, 44px) 32px;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .5s var(--ease);
}
.mobile-menu__panel::before {
  content: ""; position: absolute; top: 0; right: 0; width: 240px; height: 240px; pointer-events: none;
  background: radial-gradient(circle at top right, rgba(201,164,92,.18), transparent 70%);
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__brand { position: absolute; top: 20px; left: clamp(24px, 6vw, 44px); height: 44px; display: flex; align-items: center; }
.mobile-menu__brand img { height: 34px; width: auto; }
.mobile-nav > li { border-bottom: 1px solid var(--line-light); }
.mobile-nav > li > a, .mobile-nav__toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 16px 0; min-height: 60px;
  font-family: var(--font-display); font-size: clamp(1.7rem, 6vw, 2.1rem); font-weight: 500; line-height: 1.1;
  color: #fff; text-align: left; transition: color .25s;
}
.mobile-nav > li > a[aria-current="page"], .mobile-nav > li > a:hover, .mobile-nav__toggle:hover { color: var(--gold-light); }
.mobile-nav__toggle .icon { width: 22px; height: 22px; transition: transform .35s var(--ease); color: var(--gold); }
.mobile-nav__toggle[aria-expanded="true"] .icon { transform: rotate(45deg); }
.mobile-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.mobile-sub > ul { overflow: hidden; }
.mobile-sub.is-open { grid-template-rows: 1fr; }
.mobile-sub a {
  display: flex; align-items: center; gap: 14px; padding: 10px 0; color: #d8d2c6;
}
.mobile-sub li:last-child a { padding-bottom: 20px; }
.mobile-sub img { width: 56px; height: 44px; object-fit: cover; border-radius: 4px; }
.mobile-sub strong { display: block; font-weight: 600; color: #fff; }
.mobile-sub small { font-size: .78rem; color: var(--muted-light); }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; }
.mobile-menu__contact { display: grid; gap: 10px; margin-top: 10px; font-size: .92rem; color: #cfc8bb; }
.mobile-menu__contact a { display: flex; align-items: center; gap: 12px; }
.mobile-menu__contact .icon { color: var(--gold); }

/* Stagger the menu items in */
.mobile-nav > li, .mobile-menu__foot { opacity: 0; transform: translateX(24px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.mobile-menu.is-open .mobile-nav > li, .mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-nav > li:nth-child(1) { transition-delay: .12s; }
.mobile-menu.is-open .mobile-nav > li:nth-child(2) { transition-delay: .17s; }
.mobile-menu.is-open .mobile-nav > li:nth-child(3) { transition-delay: .22s; }
.mobile-menu.is-open .mobile-nav > li:nth-child(4) { transition-delay: .27s; }
.mobile-menu.is-open .mobile-nav > li:nth-child(5) { transition-delay: .32s; }
.mobile-menu.is-open .mobile-menu__foot { transition-delay: .38s; }

@media (min-width: 560px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1280px) {
  .header-phone { display: inline-flex; }
}
@media (max-width: 559px) {
  :root { --header-h: 72px; }
  .brand img { height: 34px; }
  .site-header.is-scrolled { --header-h: 64px; }
  .site-header.is-scrolled .brand img { height: 30px; }
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,9,8,.35) 0%, rgba(10,9,8,.15) 35%, rgba(10,9,8,.78) 100%),
    linear-gradient(90deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,0) 65%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(40px, 7vw, 80px); }
.hero__title { max-width: none; margin-bottom: 26px; font-size: clamp(2.6rem, 5.4vw, 4.9rem); }
@media (max-height: 820px) and (min-width: 900px) { .hero__title { font-size: clamp(2.6rem, 4.6vw, 4.2rem); } .hero__content { padding-top: calc(var(--header-h) + 36px); } }
.hero__title span { display: block; }
.hero__text { max-width: 540px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255,255,255,.82); margin-bottom: 36px; }
.hero__bar {
  position: relative; border-top: 1px solid var(--line-light);
  background: rgba(13,12,10,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero__bar-inner { display: grid; grid-template-columns: repeat(2, 1fr); }
.hero-stat { padding: 20px 0; }
.hero-stat + .hero-stat { padding-left: 20px; border-left: 1px solid var(--line-light); }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; line-height: 1; color: var(--gold-light); }
.hero-stat span { display: block; margin-top: 6px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-stat:nth-child(n+3) { display: none; }
@media (min-width: 900px) {
  .hero__bar-inner { grid-template-columns: repeat(4, 1fr); }
  .hero-stat { padding: 26px 0; }
  .hero-stat:nth-child(n+3) { display: block; }
  .hero-stat + .hero-stat { padding-left: 32px; }
}
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: calc(100% + 32px);
  display: none; align-items: center; gap: 12px; writing-mode: vertical-rl;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.hero__scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: scrollcue 2.4s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) { .hero__scroll { display: flex; } }

/* Load-in animation for hero text */
.hero-in { opacity: 0; transform: translateY(26px); animation: heroIn 1.1s var(--ease) forwards; }
.hero-in:nth-child(2) { animation-delay: .15s; }
.hero-in:nth-child(3) { animation-delay: .3s; }
.hero-in:nth-child(4) { animation-delay: .45s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; color: #fff; background: var(--ink); overflow: hidden;
  min-height: clamp(420px, 62vh, 640px);
  display: flex; align-items: flex-end;
}
.page-hero--short { min-height: clamp(360px, 48vh, 500px); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: slowzoom 14s var(--ease) forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,.45) 0%, rgba(10,9,8,.25) 40%, rgba(10,9,8,.85) 100%);
}
.page-hero__content { position: relative; width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero .display { font-size: clamp(2.5rem, 6vw, 4.8rem); max-width: 16ch; }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 580px; margin-top: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }

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

/* ==========================================================================
   Intro / split sections
   ========================================================================== */
.split { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.image-stack { position: relative; padding: 0 0 12% 0; }
.image-stack__main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; }
.image-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.image-stack__small {
  position: absolute; right: 0; bottom: 0; width: 48%;
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  border: 8px solid var(--paper); box-shadow: var(--shadow);
}
.section--cream .image-stack__small { border-color: var(--cream); }
.image-stack__small img { width: 100%; height: 100%; object-fit: cover; }
.image-stack__badge {
  position: absolute; left: -2%; bottom: 18%;
  background: var(--charcoal); color: #fff; padding: 22px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 220px;
}
.image-stack__badge strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold-light); font-weight: 500; }
.image-stack__badge span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #cfc8bb; }
@media (max-width: 600px) { .image-stack__badge { left: 0; bottom: 14%; padding: 16px 18px; } .image-stack__badge strong { font-size: 2rem; } }

.check-list { display: grid; gap: 12px; margin: 26px 0 34px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .icon { color: var(--gold-deep); margin-top: 4px; width: 18px; height: 18px; }
.section--dark .check-list .icon { color: var(--gold); }

/* ==========================================================================
   Services / pillars
   ========================================================================== */
.pillars { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--charcoal); padding: clamp(32px, 4vw, 52px) clamp(26px, 3vw, 40px); position: relative; overflow: hidden; transition: background .5s var(--ease); }
.pillar::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pillar:hover { background: var(--charcoal-2); }
.pillar:hover::after { transform: scaleX(1); }
.pillar__num { font-family: var(--font-display); font-size: .95rem; color: var(--gold); letter-spacing: .1em; }
.pillar__icon { width: 54px; height: 54px; margin: 26px 0 24px; color: var(--gold-light); stroke-width: 1.1; }
.pillar h3 { font-family: var(--font-display); font-size: 1.9rem; color: #fff; margin-bottom: 14px; }
.pillar p { color: #b7b0a3; font-size: .95rem; }

/* ==========================================================================
   Project cards
   ========================================================================== */
.project-grid { display: grid; gap: clamp(24px, 3vw, 36px); }
@media (min-width: 860px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
.project-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.project-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sand); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45)); }
.project-card__tags { position: absolute; top: 18px; left: 18px; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.project-card__price {
  position: absolute; left: 22px; bottom: 18px; z-index: 1; color: #fff;
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; line-height: 1;
}
.project-card__price small { display: block; font-family: var(--font-body); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-light); margin-bottom: 6px; }
.project-card__body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.project-card__loc { display: flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project-card__loc .icon { color: var(--gold-deep); width: 16px; height: 16px; }
.project-card h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.3rem); }
.project-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.project-card__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.project-card__meta span { display: inline-flex; align-items: center; gap: 8px; }
.project-card__meta .icon { color: var(--gold-deep); width: 18px; height: 18px; }
.project-card__cta { display: flex; align-items: center; justify-content: space-between; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.project-card__cta .icon { transition: transform .35s var(--ease); }
.project-card:hover .project-card__cta .icon { transform: translateX(5px); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(13,12,10,.72); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tag--gold { background: var(--gold); color: var(--ink); }
.tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 0 rgba(88,214,141,.6); animation: pulse 2s infinite; }
.tag--build::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(88,214,141,.6); } 70% { box-shadow: 0 0 0 9px rgba(88,214,141,0); } 100% { box-shadow: 0 0 0 0 rgba(88,214,141,0); } }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--charcoal); color: var(--text); }
.filter-btn[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.project-card[hidden] { display: none; }

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process { display: grid; gap: 34px; counter-reset: step; }
@media (min-width: 720px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .process { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.process-step { position: relative; padding-top: 40px; }
@media (min-width: 1080px) { .process-step { padding-right: 32px; } }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: .95rem; color: var(--gold-deep); letter-spacing: .1em;
  background: inherit; padding-right: 14px;
}
.process-step::after { content: ""; position: absolute; top: 11px; left: 38px; right: 0; height: 1px; background: var(--line); }
.process-step .icon { width: 36px; height: 36px; color: var(--gold-deep); margin-bottom: 18px; stroke-width: 1.2; }
.process-step h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 10px; }
.process-step p { font-size: .95rem; color: var(--muted); }

/* ==========================================================================
   Location feature band
   ========================================================================== */
.feature-band { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.feature-band__media { position: absolute; inset: 0; }
.feature-band__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.9) 0%, rgba(10,9,8,.6) 55%, rgba(10,9,8,.2) 100%); }
.feature-band .container { position: relative; }
.feature-band__content { max-width: 620px; }
.loc-list { display: grid; gap: 1px; margin-top: 38px; background: var(--line-light); border: 1px solid var(--line-light); }
@media (min-width: 560px) { .loc-list { grid-template-columns: 1fr 1fr; } }
.loc-list li { background: rgba(13,12,10,.62); padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.loc-list .icon { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.loc-list strong { display: block; font-weight: 600; }
.loc-list span { font-size: .85rem; color: #bdb6a9; }

/* ==========================================================================
   Gallery strip (home)
   ========================================================================== */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; } .strip > :first-child { grid-row: span 2; grid-column: span 2; } }
.strip a { position: relative; display: block; overflow: hidden; aspect-ratio: 1; }
@media (min-width: 760px) { .strip a { aspect-ratio: auto; } }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.strip a:hover img { transform: scale(1.06); }
.strip a::after { content: ""; position: absolute; inset: 0; background: rgba(13,12,10,0); transition: background .4s; }
.strip a:hover::after { background: rgba(13,12,10,.18); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--charcoal); color: #fff; text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(201,164,92,.25), transparent 60%);
}
.cta-band__mark { position: absolute; right: -60px; top: 50%; width: 360px; transform: translateY(-50%); opacity: .05; pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band .h2 { max-width: 18ch; margin: 0 auto 20px; }
.cta-band .lead { max-width: 560px; margin: 0 auto 36px; }
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.t-nav { display: flex; gap: 10px; }
.t-nav__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(38,35,31,.25); color: var(--text); transition: all .3s var(--ease); }
.t-nav__btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.t-nav__btn:disabled { opacity: .35; pointer-events: none; }
.t-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 420px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 4px 4px 24px; margin: 0 -4px; scrollbar-width: none;
}
.t-track::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .t-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (min-width: 1100px) { .t-track { grid-auto-columns: calc((100% - 40px) / 3); } }
.t-card {
  scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 24px;
  padding: clamp(28px, 3vw, 40px); background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border-top: 2px solid var(--gold);
}
.t-card__mark { width: 40px; height: 30px; fill: var(--gold); opacity: .85; }
.t-card blockquote { margin: 0; flex: 1; font-family: var(--font-display); font-size: clamp(1.3rem, 1.8vw, 1.5rem); line-height: 1.4; color: var(--text); }
.t-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-card__avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--charcoal); color: var(--gold-light); font-weight: 700; font-size: .85rem; letter-spacing: .06em; }
.t-card strong { display: block; font-weight: 700; }
.t-card small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.t-card--feature { background: var(--cream); box-shadow: none; }
.t-card--feature blockquote { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; gap: clamp(24px, 3vw, 36px); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: transform 1s var(--ease), filter .6s; }
.team-card:hover .team-card__photo img { transform: scale(1.04); filter: none; }
.team-card__body { padding-top: 22px; }
.team-card h3 { font-family: var(--font-display); font-size: 1.8rem; }
.team-card__role { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 6px 0 12px; }
.team-card p { font-size: .94rem; color: var(--muted); }

/* ==========================================================================
   Values
   ========================================================================== */
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { background: var(--paper); padding: 34px 28px; }
.section--cream .value { background: var(--cream); }
.value .icon { width: 34px; height: 34px; color: var(--gold-deep); stroke-width: 1.2; margin-bottom: 22px; }
.value h3 { font-family: var(--font-display); font-size: 1.55rem; margin-bottom: 10px; }
.value p { font-size: .94rem; color: var(--muted); }

.mv-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { padding: clamp(30px, 4vw, 48px); border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.mv-card h3 { font-family: var(--font-display); font-size: 2rem; color: var(--gold-light); margin-bottom: 14px; }
.mv-card p { color: #c6bfb2; }

/* ==========================================================================
   Project detail page
   ========================================================================== */
.project-hero .display { max-width: 18ch; }
.project-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.project-hero__price { text-align: left; }
.project-hero__price small { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.project-hero__price strong { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 600; line-height: 1; }
.project-hero .tag { margin-bottom: 18px; }
.project-hero__loc { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: rgba(255,255,255,.8); }
.project-hero__loc .icon { color: var(--gold); }

.facts-bar { background: var(--charcoal); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(6, 1fr); } }
.fact { display: flex; gap: 14px; align-items: center; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line-light); }
@media (min-width: 1100px) { .fact { border-bottom: 0; border-right: 1px solid var(--line-light); padding: 28px 18px; } .fact:first-child { padding-left: 0; } .fact:last-child { border-right: 0; } }
.fact .icon { width: 28px; height: 28px; color: var(--gold); stroke-width: 1.3; }
.fact small { display: block; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light); }
.fact strong { display: block; font-size: .98rem; font-weight: 600; line-height: 1.35; }

/* Sticky in-page nav */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); transition: top .4s var(--ease); }
.site-header.is-scrolled ~ main .subnav { top: 70px; }
@media (max-width: 559px) { .site-header.is-scrolled ~ main .subnav { top: 64px; } }
.subnav__list {
  display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
}
@media (min-width: 900px) { .subnav__list { mask-image: none; -webkit-mask-image: none; } }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a {
  flex: none; display: block; padding: 18px 0; position: relative; white-space: nowrap;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color .25s;
}
.subnav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.subnav__list a:hover, .subnav__list a.is-active { color: var(--text); }
.subnav__list a.is-active::after { transform: scaleX(1); }

.detail-layout { display: grid; gap: 48px; }
@media (min-width: 1040px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; } }
.detail-main > section { padding: clamp(48px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.detail-main > section:first-child { padding-top: clamp(40px, 5vw, 64px); }
.detail-main > section:last-child { border-bottom: 0; }
.detail-main .h3 { margin-bottom: 20px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.spec-table th, .spec-table td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 500; color: var(--muted); padding-right: 16px; }
.spec-table td { font-weight: 600; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.status-dot--live { background: var(--success); }
.status-dot--build { background: var(--gold); }

.feature-grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--cream); border-radius: var(--radius); font-weight: 500; }
.feature-item .icon { color: var(--gold-deep); width: 22px; height: 22px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--sand); cursor: zoom-in; }
.gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item .caption {
  position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 4px;
  background: rgba(13,12,10,.7); color: #fff; font-size: .7rem; letter-spacing: .08em;
}
.gallery__item[hidden] { display: none; }
.gallery-more { margin-top: 18px; }

/* Floor plans */
.plans { display: grid; gap: 16px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.plan-card button { display: block; width: 100%; cursor: zoom-in; }
.plan-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 10px; }
.plan-card__body { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-card__body strong { font-weight: 600; }
.plan-card__body small { color: var(--muted); font-size: .8rem; }
.plan-placeholder {
  display: grid; place-items: center; text-align: center; gap: 14px;
  min-height: 260px; padding: 32px; border: 1px dashed rgba(38,35,31,.25); border-radius: var(--radius-lg);
  background: repeating-linear-gradient(45deg, var(--cream), var(--cream) 12px, var(--paper) 12px, var(--paper) 24px);
}
.plan-placeholder .icon { width: 40px; height: 40px; color: var(--gold-deep); stroke-width: 1.2; margin: 0 auto; }

/* Video */
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* Progress */
.progress-track { display: grid; gap: 0; }
.progress-step { display: grid; grid-template-columns: 34px 1fr; gap: 16px; position: relative; padding-bottom: 26px; }
.progress-step:last-child { padding-bottom: 0; }
.progress-step::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.progress-step:last-child::before { display: none; }
.progress-step.is-done::before { background: var(--gold); }
.progress-step__dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: var(--paper); color: var(--muted); }
.progress-step.is-done .progress-step__dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.progress-step.is-current .progress-step__dot { border-color: var(--gold); color: var(--gold-deep); box-shadow: 0 0 0 6px rgba(201,164,92,.18); }
.progress-step__dot .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.progress-step strong { display: block; font-weight: 700; padding-top: 4px; }
.progress-step span { font-size: .9rem; color: var(--muted); }
.progress-meter { height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; margin: 8px 0 30px; }
.progress-meter span { display: block; height: 100%; background: var(--gold-grad); border-radius: inherit; width: 0; transition: width 1.6s var(--ease); }
.progress-meter.is-visible span { width: var(--p); }
.progress-label { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; }

/* Payment */
.pay-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .pay-grid { grid-template-columns: repeat(3, 1fr); } }
.pay-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pay-card strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold-deep); font-weight: 600; }
.pay-card span { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); }
.note { font-size: .86rem; color: var(--muted); margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--gold); }

/* Map */
.map-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map-address { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; color: var(--muted); }
.map-address .icon { color: var(--gold-deep); margin-top: 3px; }

/* Sidebar enquiry card */
.enquiry-card { background: var(--charcoal); color: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
@media (min-width: 1040px) { .detail-aside { position: sticky; top: calc(var(--header-h) + 80px); margin-top: 48px; } }
.enquiry-card small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.enquiry-card__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; line-height: 1.05; margin: 6px 0 4px; }
.enquiry-card__avail { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: #cfc8bb; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line-light); }
.enquiry-card .btn { width: 100%; }
.enquiry-card .btn + .btn { margin-top: 10px; }
.enquiry-card__contact { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-light); display: flex; align-items: center; gap: 14px; }
.enquiry-card__contact img { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); padding: 8px; object-fit: contain; }
.enquiry-card__contact span { display: block; font-size: .8rem; color: var(--muted-light); }
.enquiry-card__contact a { font-weight: 600; }

/* Mobile sticky action bar on project pages */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(15,14,12,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar .btn { min-height: 48px; padding: 0 12px; font-size: .7rem; letter-spacing: .1em; }
@media (min-width: 1040px) { .action-bar { display: none; } }
@media (max-width: 1039px) { .action-bar-on .float-wa { opacity: 0; pointer-events: none; transform: scale(.6); } }

/* Other project teaser */
.next-project { display: grid; overflow: hidden; border-radius: var(--radius-lg); background: var(--charcoal); color: #fff; }
@media (min-width: 800px) { .next-project { grid-template-columns: 1.1fr 1fr; } }
.next-project__media { aspect-ratio: 16 / 10; overflow: hidden; }
@media (min-width: 800px) { .next-project__media { aspect-ratio: auto; min-height: 380px; } }
.next-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.next-project:hover .next-project__media img { transform: scale(1.05); }
.next-project__body { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-layout { display: grid; gap: 48px; }
@media (min-width: 980px) { .contact-layout { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.contact-list { display: grid; gap: 4px; margin-top: 32px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item__icon { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--gold-deep); }
.contact-item small { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-item a, .contact-item p { font-size: 1.08rem; font-weight: 600; }
.contact-item a:hover { color: var(--gold-deep); }
.flag { display: inline-block; width: 22px; height: 15px; vertical-align: -2px; margin-left: 6px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.hours { margin-top: 28px; font-size: .94rem; }
.hours div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }

/* Forms */
.form-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.section--cream .form-card { background: #fff; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--text); }
.field label .opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid rgba(38,35,31,.18); border-radius: var(--radius); background: #fff;
  font-size: 1rem; transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239c7a38' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b3261e; }
.field .error { display: none; margin-top: 6px; font-size: .8rem; color: #b3261e; }
.field input[aria-invalid="true"] ~ .error, .field select[aria-invalid="true"] ~ .error { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 16px; }
.form-success { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); background: #e9f5ec; color: #1e5c34; font-size: .92rem; }
.form-success.is-visible { display: block; }

/* ==========================================================================
   Modal (Book a viewing) & lightbox
   ========================================================================== */
.modal {
  width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--text);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.6); overflow: auto;
}
.modal::backdrop { background: rgba(8,7,6,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__head { position: relative; padding: 30px clamp(22px, 4vw, 40px) 24px; background: var(--charcoal); color: #fff; }
.modal__head .h3 { color: #fff; padding-right: 40px; }
.modal__head p { color: #bdb6a9; font-size: .94rem; margin-top: 8px; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid var(--line-light); transition: background .25s, color .25s; }
.modal__close:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.modal__body { padding: 28px clamp(22px, 4vw, 40px) 32px; }
.modal__body .form-actions .btn { flex: 1 1 200px; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(8,7,6,.96); color: #fff;
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; animation: fadeIn .3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__figure { margin: 0; max-width: min(1400px, 92vw); max-height: 84vh; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; }
.lightbox__caption { margin-top: 14px; font-size: .88rem; color: #cfc8bb; text-align: center; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.25); background: rgba(13,12,10,.4); transition: background .25s, color .25s; }
.lightbox__btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 30px; left: 24px; font-size: .78rem; letter-spacing: .2em; color: #cfc8bb; }
@media (max-width: 700px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__figure { max-height: 76vh; }
}

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 95;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--whatsapp); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.float-wa:hover { transform: scale(1.08); }
.float-wa .icon { width: 30px; height: 30px; }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: ring 2.6s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #b9b2a5; padding-top: clamp(64px, 8vw, 100px); font-size: .94rem; }
.footer-grid { display: grid; gap: 44px; padding-bottom: 56px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 220px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 340px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--gold-light); margin-top: 18px; }
.footer-title { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { transition: color .25s; display: inline-flex; align-items: center; gap: 10px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-links .icon { color: var(--gold); width: 18px; height: 18px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); color: #fff; transition: all .3s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials .icon { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem; color: #8c8578; }
.has-action-bar .footer-bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 1040px) { .has-action-bar .footer-bottom { padding-bottom: 24px; } }

/* ==========================================================================
   Misc
   ========================================================================== */
.quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; font-style: italic; color: var(--text); max-width: 900px; margin: 0 auto; text-align: center; }
.quote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--gold); margin-bottom: 10px; }
.divider-mark { width: 60px; margin: 0 auto 28px; opacity: .9; }
.center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }

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

@media print {
  .site-header, .float-wa, .action-bar, .mobile-menu, .subnav { display: none !important; }
}
