/* =====================================================================
   CASCADE SPACES LLP — Luxury Editorial Real Estate
   Palette: Warm Ivory · Deep Charcoal · Champagne Gold · Warm Grey
   Type: Cormorant Garamond (serif display) + Jost (sans interface)
   ===================================================================== */

:root{
  --ivory:#F6F2EA;
  --ivory-2:#EFE9DD;
  --charcoal:#12100E;
  --charcoal-2:#1E1B17;
  --gold:#B79155;
  --brand-gold:#B5862F;
  --gold-soft:#C9A96A;
  --grey:#8C867B;
  --grey-soft:#B7B1A6;
  --line:rgba(18,16,14,.12);
  --line-light:rgba(246,242,234,.16);
  --white:#FFFFFF;
  --serif:"Cormorant Garamond",Georgia,serif;
  --sans:"Jost",system-ui,sans-serif;
  --container:1280px;
  --ease:cubic-bezier(.22,.61,.36,1);
  --radius:2px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:clip;scroll-padding-top:96px}
body{
  font-family:var(--sans);
  background:var(--ivory);
  color:var(--charcoal);
  font-weight:300;
  line-height:1.7;
  overflow-x:hidden;
  font-size:16px;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
::selection{background:var(--gold);color:var(--charcoal)}

.skip-link{position:absolute;left:-999px;top:0;background:var(--charcoal);color:#fff;padding:10px 16px;z-index:2000}
.skip-link:focus{left:8px;top:8px}

/* ---------- Typography ---------- */
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.08;letter-spacing:-.01em}
.serif{font-family:var(--serif)}
.eyebrow{font-family:var(--sans);font-weight:500;font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);display:inline-block}
.section-head .eyebrow{margin-bottom:1.1rem}
p{color:#3a352e}
.muted{color:var(--grey)}

/* ---------- Layout ---------- */
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 32px}
section{position:relative}
.section{padding:110px 0}
.section-sm{padding:72px 0}
.section-head{max-width:640px;margin-bottom:56px}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.section-head h2{font-size:clamp(2.2rem,4.6vw,3.6rem);margin:.2rem 0 .8rem}
.section-head p{color:var(--grey);font-size:1.02rem;max-width:52ch}
.section-head.center p{margin-left:auto;margin-right:auto}

/* ---------- Buttons ---------- */
.btn{
  --pad:16px 30px;
  display:inline-flex;align-items:center;gap:.6em;justify-content:center;
  font-family:var(--sans);font-weight:500;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;
  padding:var(--pad);border:1px solid transparent;cursor:pointer;
  transition:background-color .4s var(--ease),color .4s var(--ease),border-color .4s var(--ease),transform .3s var(--ease);
  border-radius:var(--radius);white-space:nowrap;
}
.btn:hover{transform:translateY(-2px)}
.btn-sm{--pad:12px 22px;font-size:.72rem}
.btn-block{width:100%}
.btn-gold{background:var(--gold);color:#1b160e;border-color:var(--gold)}
.btn-gold:hover{background:var(--gold-soft);border-color:var(--gold-soft)}
.btn-dark{background:var(--charcoal);color:var(--ivory);border-color:var(--charcoal)}
.btn-dark:hover{background:#2a251d}
.btn-outline{background:transparent;color:var(--charcoal);border-color:var(--line)}
.btn-outline:hover{background:var(--charcoal);color:var(--ivory);border-color:var(--charcoal)}
.btn-ghost-light{background:transparent;color:var(--ivory);border:1px solid var(--line-light)}
.btn-ghost-light:hover{background:var(--ivory);color:var(--charcoal)}
.btn-white{background:var(--ivory);color:var(--charcoal);border-color:var(--ivory)}
.btn-white:hover{background:transparent;color:var(--ivory)}

/* ---------- Header ---------- */
.site-header{position:fixed;top:0;left:0;width:100%;z-index:1000;transition:background-color .5s var(--ease),box-shadow .5s var(--ease),padding .4s var(--ease)}
.header-inner{max-width:var(--container);margin:0 auto;padding:22px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;transition:padding .4s var(--ease)}
.brand{display:flex;flex-direction:column;line-height:.92}
.brand-mark{font-family:var(--serif);font-size:1.55rem;letter-spacing:.16em;font-weight:600}
.brand-sub{font-family:var(--sans);font-size:.6rem;letter-spacing:.52em;font-weight:400;padding-left:2px}
/* Official logo brand mark (header) */
.brand-head{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand-logo-img{height:52px;width:auto;display:block;flex-shrink:0}
.brand-word{font-family:var(--serif);font-size:1.5rem;font-weight:600;letter-spacing:.14em;line-height:1;white-space:nowrap;color:var(--brand-gold)}
@media(max-width:600px){
  .brand-head{gap:10px}
  .brand-logo-img{height:42px}
  .brand-word{font-size:1.18rem;letter-spacing:.1em}
}
@media(max-width:360px){
  .brand-logo-img{height:36px}
  .brand-word{font-size:1rem;letter-spacing:.08em}
}
.main-nav{display:flex;gap:34px}
.nav-link{font-size:.76rem;letter-spacing:.14em;font-weight:400;position:relative;padding:4px 0;transition:color .3s}
.nav-link::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:1px;background:var(--gold);transition:width .35s var(--ease)}
.nav-link:hover::after,.nav-link.active::after{width:100%}
.nav-link.active{color:var(--gold)}

/* transparent (over hero) — subtle dark glass layer for logo/nav readability */
.site-header.is-transparent{background:linear-gradient(180deg,rgba(8,10,16,.58) 0%,rgba(8,10,16,.22) 62%,rgba(8,10,16,0) 100%);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.site-header.is-transparent .brand,
.site-header.is-transparent .nav-link{color:var(--ivory)}
.site-header.is-transparent .nav-link.active{color:var(--gold-soft)}
.site-header.is-transparent .hamburger span{background:var(--ivory)}

/* solid / scrolled */
.site-header.is-solid,
.site-header.scrolled{background:rgba(246,242,234,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);box-shadow:0 6px 30px rgba(18,16,14,.05)}
.site-header.scrolled .brand,.site-header.scrolled .nav-link{color:var(--charcoal)}
.site-header.scrolled .nav-link.active{color:var(--gold)}
.site-header.scrolled .hamburger span{background:var(--charcoal)}
.site-header.scrolled .header-inner{padding-top:14px;padding-bottom:14px}

.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px;z-index:1100}
.hamburger span{width:26px;height:2px;background:var(--charcoal);transition:transform .4s var(--ease),opacity .3s}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- Mobile menu ---------- */
.mobile-menu{position:fixed;top:0;right:0;height:100dvh;width:min(88vw,420px);background:var(--charcoal);z-index:1050;transform:translateX(100%);transition:transform .5s var(--ease);display:flex;padding:110px 40px 40px;overflow-y:auto}
.mobile-menu.open{transform:translateX(0)}
.mobile-menu-inner{display:flex;flex-direction:column;justify-content:space-between;width:100%}
.mobile-menu-inner nav{display:flex;flex-direction:column}
.mobile-link{display:block;color:var(--ivory);font-family:var(--serif);font-size:1.8rem;padding:12px 0;border-bottom:1px solid var(--line-light);transition:color .3s,padding-left .3s}
.mobile-link:hover,.mobile-link.active{color:var(--gold-soft);padding-left:8px}
.mobile-menu-cta{margin-top:36px}
.mobile-contact{display:flex;gap:22px;margin-top:22px}
.mobile-contact a{color:var(--grey-soft);font-size:.82rem;letter-spacing:.04em}
.mobile-contact i{color:var(--gold-soft);margin-right:6px}
.menu-overlay{position:fixed;inset:0;background:rgba(10,9,8,.5);z-index:1040;opacity:0;visibility:hidden;transition:opacity .4s}
.menu-overlay.open{opacity:1;visibility:visible}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:100vh;min-height:100dvh;display:flex;align-items:center;color:var(--ivory);overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:-2}
.hero-bg img{width:100%;height:100%;object-fit:cover;animation:heroZoom 16s ease-out forwards}
@keyframes heroZoom{from{transform:scale(1.08)}to{transform:scale(1)}}
.hero-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,10,16,.60) 0%,rgba(8,10,16,.20) 34%,rgba(8,10,16,.58) 100%),linear-gradient(90deg,rgba(8,10,16,.62) 0%,rgba(8,10,16,.22) 46%,rgba(8,10,16,0) 72%)}
.hero-content{max-width:820px}
.hero .eyebrow{color:var(--gold-soft)}
.hero h1{font-size:clamp(2.9rem,7vw,6rem);line-height:1;margin:1.2rem 0 1.4rem;font-weight:500}
.hero-sub{font-size:clamp(1rem,1.7vw,1.25rem);max-width:46ch;color:rgba(246,242,234,.82);font-weight:300;margin-bottom:2.4rem}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.hero-property-search{display:flex;align-items:center;gap:0;width:min(900px,100%);max-width:900px;margin:28px auto 0;background:rgba(255,255,255,.98);border:1px solid rgba(18,16,14,.12);box-shadow:0 24px 55px -28px rgba(0,0,0,.5);padding:7px;border-radius:3px;color:var(--charcoal)}
.hero-property-search .hero-search-icon{width:48px;display:flex;align-items:center;justify-content:center;color:var(--gold)}
.hero-property-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:14px 8px;font-family:var(--sans);font-size:.95rem;color:var(--charcoal)}
.hero-property-search input::placeholder{color:#8a847a}
.hero-property-search .btn{min-height:48px;padding:14px 30px}
.hero .btn-ghost-light{background:rgba(10,12,20,.30);border-color:rgba(201,169,106,.55);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.hero .btn-ghost-light:hover{background:var(--ivory);color:var(--charcoal);border-color:var(--ivory)}

@media(max-width:900px){
  .hero-property-search{width:100%;max-width:900px}
}
@media(max-width:600px){
  .hero-property-search{margin-top:22px;padding:5px}
  .hero-property-search input{padding:12px 6px;font-size:.88rem}
  .hero-property-search .hero-search-icon{width:40px}
  .hero-property-search .btn{min-height:44px;padding:12px 18px;font-size:.68rem}
}

/* Hero text: self-contained entrance that always ends fully visible (independent of scroll observer) */
.hero .reveal{opacity:1;transform:none;animation:heroFade 1s var(--ease) both}
.hero .reveal[data-delay="1"]{animation-delay:.12s}
.hero .reveal[data-delay="2"]{animation-delay:.24s}
.hero .reveal[data-delay="3"]{animation-delay:.36s}
@keyframes heroFade{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}

/* page hero (interior pages) */
.page-hero{position:relative;min-height:58vh;display:flex;align-items:flex-end;color:var(--ivory);padding-bottom:64px;overflow:hidden}
.page-hero .hero-bg img{animation:none;transform:none}
.page-hero .hero-overlay{background:linear-gradient(180deg,rgba(12,10,8,.5),rgba(12,10,8,.78))}
.page-hero h1{font-size:clamp(2.4rem,5.4vw,4.4rem);margin:.6rem 0 .4rem}
.page-hero p{max-width:60ch;color:rgba(246,242,234,.8)}
.breadcrumb{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(246,242,234,.65);margin-top:10px}
.breadcrumb a:hover{color:var(--gold-soft)}

/* ---------- Trust bar ---------- */
.trust-bar{background:var(--charcoal);color:var(--ivory)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.trust-item{padding:38px 32px;border-right:1px solid var(--line-light);display:flex;flex-direction:column;gap:8px}
.trust-item:last-child{border-right:none}
.trust-item i{color:var(--gold-soft);font-size:1.1rem}
.trust-item h4{font-family:var(--sans);font-weight:500;font-size:.82rem;letter-spacing:.16em;text-transform:uppercase}
.trust-item p{font-size:.86rem;color:var(--grey-soft)}

/* ---------- Search module ---------- */
.search-wrap{margin-top:-52px;position:relative;z-index:20}
.search-module{background:var(--white);border:1px solid var(--line);box-shadow:0 30px 60px -30px rgba(18,16,14,.28);padding:14px}
.search-grid{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:0}
.search-field{padding:16px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:6px}
.search-field label{font-size:.64rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.search-field select{border:none;background:none;font-family:var(--sans);font-size:.95rem;color:var(--charcoal);cursor:pointer;outline:none;font-weight:400}
.search-submit{display:flex}
.search-submit .btn{border-radius:0;height:100%}

/* ---------- Editorial split ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:0}
.split-media{position:relative;overflow:hidden}
.split-media img{width:100%;height:100%;min-height:520px;object-fit:cover;transition:transform 1.2s var(--ease)}
.split-media:hover img{transform:scale(1.04)}
.split-media .tag{position:absolute;left:0;bottom:0;background:var(--gold);color:#1b160e;padding:14px 22px;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase}
.split-body{padding:0 0 0 80px}
.split.reverse .split-body{padding:0 80px 0 0;order:-1}
.split-body h2{font-size:clamp(2rem,4vw,3.2rem);margin:1rem 0 1.4rem}
.split-body p{margin-bottom:1.2rem;max-width:48ch}

/* ---------- Property grid ---------- */
.prop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}
.featured-carousel{position:relative;overflow:hidden}
.featured-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 68px)/3);gap:34px;transition:transform .75s var(--ease);will-change:transform}
.featured-track .prop-card{min-width:0}
.featured-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:46px;height:46px;border:1px solid var(--line);background:rgba(246,242,234,.94);color:var(--charcoal);border-radius:50%;font-size:1.6rem;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 25px rgba(18,16,14,.12)}
.featured-nav:hover{background:var(--gold);border-color:var(--gold)}
.featured-prev{left:10px}.featured-next{right:10px}
.prop-card-configs{display:flex;flex-direction:column;gap:5px;margin-top:2px}
.prop-card-config-row{display:flex;justify-content:space-between;gap:12px;font-size:.78rem;color:var(--grey);line-height:1.35}
.prop-card-config-row strong{font-family:var(--sans);font-weight:400;color:var(--charcoal);white-space:nowrap;font-variant-numeric:lining-nums}

.prop-card{background:var(--white);border:1px solid var(--line);transition:transform .5s var(--ease),box-shadow .5s var(--ease);display:flex;flex-direction:column}
.prop-card:hover{transform:translateY(-6px);box-shadow:0 40px 60px -40px rgba(18,16,14,.3)}
.prop-card-media{position:relative;overflow:hidden;aspect-ratio:4/3;display:block}
.prop-card-media img{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.prop-card:hover .prop-card-media img{transform:scale(1.06)}
.badge{position:absolute;font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;padding:6px 12px;font-weight:500}
.badge-featured{top:14px;left:14px;background:var(--gold);color:#1b160e}
.badge-status{top:14px;right:14px;background:rgba(18,16,14,.82);color:var(--ivory);backdrop-filter:blur(4px)}
.prop-card-body{padding:26px 26px 28px;display:flex;flex-direction:column;gap:8px;flex:1}
.prop-card-loc{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--grey)}
.prop-card-loc i{color:var(--gold);margin-right:5px}
.prop-card-title{font-size:1.5rem;line-height:1.1}
.prop-card-title a:hover{color:var(--gold)}
.prop-card-config{font-size:.86rem;color:var(--grey)}
.prop-card-price{display:flex;align-items:baseline;gap:10px;margin-top:4px;padding-top:14px;border-top:1px solid var(--line)}
.prop-card-price .price{font-family:var(--serif);font-size:1.4rem;color:var(--charcoal)}
.prop-card-price .price-request{font-size:1.05rem;color:var(--grey)}
.price-note{font-size:.68rem;color:var(--grey);letter-spacing:.05em}
.prop-card-actions{display:flex;gap:10px;margin-top:16px}
.prop-card-actions .btn{flex:1}

/* ---------- Categories ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0;border:1px solid var(--line)}
.cat-card{position:relative;min-height:360px;display:flex;align-items:flex-end;padding:40px;overflow:hidden;color:var(--ivory);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.cat-card:nth-child(2n){border-right:none}
.cat-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform 1.1s var(--ease)}
.cat-card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(12,10,8,.15),rgba(12,10,8,.82))}
.cat-card:hover img{transform:scale(1.06)}
.cat-card .cat-inner{position:relative;z-index:1}
.cat-card h3{font-size:2rem;margin-bottom:.5rem}
.cat-card p{color:rgba(246,242,234,.82);font-size:.92rem;max-width:34ch;margin-bottom:1rem}
.cat-link{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-soft);display:inline-flex;align-items:center;gap:8px;transition:gap .3s}
.cat-card:hover .cat-link{gap:14px}

/* ---------- Immersive (Navi Mumbai) ---------- */
.immersive{position:relative;color:var(--ivory);padding:130px 0;overflow:hidden}
.immersive .hero-bg img{width:100%;height:100%;object-fit:cover}
.immersive-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,10,8,.85) 0%,rgba(12,10,8,.55) 60%,rgba(12,10,8,.35) 100%)}
.immersive-content{max-width:600px}
.immersive h2{font-size:clamp(2.2rem,4.6vw,3.6rem);margin:1rem 0 1.2rem}
.immersive p{color:rgba(246,242,234,.82);margin-bottom:1.8rem}
.loc-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:2rem}
.loc-chip{border:1px solid var(--line-light);padding:9px 18px;font-size:.74rem;letter-spacing:.08em;transition:background-color .3s,color .3s,border-color .3s}
.loc-chip:hover{background:var(--gold);color:#1b160e;border-color:var(--gold)}

/* ---------- Why / principles ---------- */
.why{background:var(--ivory-2)}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--line)}
.why-item{padding:44px 30px 40px;border-right:1px solid var(--line)}
.why-item:last-child{border-right:none}
.why-num{font-family:var(--sans);font-size:1.2rem;font-weight:400;color:var(--gold);letter-spacing:.08em;font-variant-numeric:lining-nums}
.why-item h3{font-family:var(--sans);font-weight:500;font-size:.9rem;letter-spacing:.22em;text-transform:uppercase;margin:20px 0 12px}
.why-item p{font-size:.92rem;color:var(--grey)}

/* ---------- Process ---------- */
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px}
.process-step{position:relative}
.process-step .step-num{font-family:var(--sans);font-size:3.4rem;font-weight:400;color:var(--gold);opacity:.35;line-height:1}
.process-step h3{font-family:var(--sans);font-weight:500;font-size:.9rem;letter-spacing:.2em;text-transform:uppercase;margin:10px 0 10px}
.process-step p{font-size:.92rem;color:var(--grey)}
.process-step::before{content:"";display:block;width:40px;height:1px;background:var(--gold);margin-bottom:22px}


/* Consistent editorial typography for all pricing values */
.prop-card-price .price,
.pd-price,
.pd-top > div > h2.serif,
.pd-fact .v{
  font-family:var(--sans) !important;
  font-weight:400;
  font-variant-numeric:lining-nums;
  letter-spacing:0;
}
.prop-card-price .price{font-size:1.45rem}
.pd-fact .v{font-size:1.22rem}
.footer-col a[href^="tel:"]{font-family:var(--sans);font-size:.88rem;font-variant-numeric:lining-nums}

/* ---------- Testimonials ---------- */
/* Compact homepage client-voice carousel: stable height + horizontal slide transition */
.testimonials{background:var(--charcoal);color:var(--ivory);padding:34px 0 30px}
.testimonials .section-head{margin-bottom:12px}
.testimonials .section-head .eyebrow{margin-bottom:.55rem}
.testimonials .section-head h2{font-size:clamp(1.9rem,3.4vw,2.7rem);margin:.1rem 0 .4rem}
.testimonials .testi-track{position:relative;max-width:820px;margin:0 auto;text-align:center;height:132px;min-height:132px;overflow:hidden}
.testi-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transform:translateX(56px);transition:transform .65s var(--ease),opacity .65s var(--ease);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;pointer-events:none}
.testi-slide.active{opacity:1;visibility:visible;position:absolute;transform:translateX(0);pointer-events:auto}.testi-slide.is-prev{transform:translateX(-56px);opacity:0;visibility:hidden}.testi-slide.is-next{transform:translateX(56px);opacity:0;visibility:hidden}
.testi-quote{font-family:var(--serif);font-size:clamp(1.05rem,1.55vw,1.35rem);line-height:1.3;font-style:italic;color:var(--ivory);max-width:760px}
.testi-stars{color:var(--gold-soft);letter-spacing:.2em}
.testi-name{font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-soft)}
.testi-meta{font-size:.78rem;color:var(--grey-soft)}
.testi-note{text-align:center;font-size:.7rem;color:var(--grey);margin-top:26px;letter-spacing:.04em;background:none;border:none;padding:0;opacity:.85}

/* ---------- Final CTA ---------- */
.final-cta{position:relative;color:var(--ivory);padding:140px 0;text-align:center;overflow:hidden}
.final-cta .hero-bg img{width:100%;height:100%;object-fit:cover}
.final-cta-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(12,10,8,.8),rgba(12,10,8,.9))}
.final-cta h2{font-size:clamp(2.4rem,5vw,4rem);margin:1rem auto 1.2rem;max-width:16ch}
.final-cta p{max-width:52ch;margin:0 auto 2.4rem;color:rgba(246,242,234,.82)}
.final-cta .hero-actions{justify-content:center}

/* ---------- Footer ---------- */
.site-footer{background:var(--charcoal);color:var(--grey-soft);padding-top:88px}
.footer-inner{max-width:var(--container);margin:0 auto;padding:0 32px 60px;display:grid;grid-template-columns:1.6fr 1fr 1fr 1.4fr;gap:48px}
.brand--footer .brand-mark,.brand--footer .brand-sub{color:var(--ivory)}
.brand-foot{display:inline-flex}
.brand-foot-word{font-family:var(--serif);font-weight:600;font-size:1.75rem;letter-spacing:.14em;line-height:1;white-space:nowrap;color:var(--brand-gold)}
@media(max-width:600px){.brand-foot-word{font-size:1.45rem;letter-spacing:.1em}}
.footer-tag{margin:22px 0 8px;font-size:.86rem;color:var(--grey-soft)}
.footer-statement{font-family:var(--serif);font-style:normal;font-size:1.25rem;color:var(--gold-soft);margin:0 0 8px}
.footer-col h4{font-family:var(--sans);font-weight:500;font-size:.76rem;letter-spacing:.2em;text-transform:uppercase;color:var(--ivory);margin-bottom:22px}
.footer-col a{display:block;font-size:.88rem;color:var(--grey-soft);padding:6px 0;transition:color .3s,padding-left .3s}
.footer-col a:hover{color:var(--gold-soft);padding-left:5px}
.footer-col i{color:var(--gold);width:18px;margin-right:4px}
.footer-address{font-style:normal;font-size:.84rem;line-height:1.7;margin-top:16px;color:var(--grey)}
.footer-bottom{border-top:1px solid var(--line-light)}
.footer-bottom-inner{max-width:var(--container);margin:0 auto;padding:26px 32px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.footer-bottom p{font-size:.76rem;color:var(--grey)}
.footer-legal{display:flex;gap:24px}
.footer-legal a{font-size:.76rem;color:var(--grey-soft);transition:color .3s}
.footer-legal a:hover{color:var(--gold-soft)}

/* ---------- Floating contact ---------- */
.floating-contact{position:fixed;right:20px;bottom:22px;z-index:900;display:flex;flex-direction:column;gap:12px}
.float-btn{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.25rem;color:#fff;box-shadow:0 10px 26px -6px rgba(0,0,0,.4);transition:transform .3s var(--ease)}
.float-btn:hover{transform:scale(1.08)}
.float-wa{background:#1f8f5f}
.float-call{background:var(--charcoal);border:1px solid var(--gold)}
.float-call i{color:var(--gold-soft)}

/* ---------- Filters (properties/projects) ---------- */
.filter-bar{background:var(--white);border:1px solid var(--line);padding:20px 24px;display:flex;flex-wrap:wrap;gap:18px;align-items:flex-end;margin-bottom:14px}
.filter-field{display:flex;flex-direction:column;gap:6px;min-width:150px;flex:1}
.filter-field label{font-size:.64rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.filter-field select{padding:11px 12px;border:1px solid var(--line);background:var(--ivory);font-family:var(--sans);font-size:.9rem;color:var(--charcoal);cursor:pointer;outline:none}
.filter-field select:focus{border-color:var(--gold)}
.filter-actions{display:flex;gap:10px}
.results-meta{display:flex;justify-content:space-between;align-items:center;margin:26px 0 30px;flex-wrap:wrap;gap:12px}
.results-count{font-size:.82rem;letter-spacing:.06em;color:var(--grey)}
.results-count b{color:var(--charcoal);font-weight:500}
.no-results{text-align:center;padding:80px 20px;color:var(--grey)}
.no-results i{font-size:2rem;color:var(--gold);margin-bottom:16px}

/* ---------- Project finder ---------- */
.project-finder{background:var(--white);border:1px solid var(--line);padding:30px;margin-bottom:38px;box-shadow:0 24px 50px -42px rgba(18,16,14,.45)}
.project-finder-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.project-finder-head h2{font-size:clamp(1.7rem,3vw,2.5rem);margin-top:5px}
.filter-reset{border:0;background:none;color:var(--gold);font-family:var(--sans);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;padding:8px 0}
.project-finder-grid{display:grid;grid-template-columns:1.7fr repeat(4,1fr);border:1px solid var(--line)}
.project-filter-field{padding:14px 16px;border-right:1px solid var(--line);min-width:0}
.project-filter-field:last-child{border-right:none}
.project-filter-field>span{display:block;font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:7px}
.project-filter-field select,.project-filter-field input{width:100%;border:0;outline:0;background:transparent;color:var(--charcoal);font-family:var(--sans);font-size:.9rem;font-weight:400}
.project-filter-field select{cursor:pointer}
.project-input-wrap{display:flex;align-items:center;gap:9px}
.project-input-wrap i{color:var(--grey);font-size:.78rem}
.project-finder-actions{margin-top:18px;display:flex;justify-content:flex-end}
.project-results-meta{margin-top:0}
.contact-number{font-family:var(--sans);font-size:1rem;line-height:1.5;font-variant-numeric:lining-nums}
.footer-statement{font-family:var(--serif);font-style:normal;font-size:1.25rem;color:var(--gold-soft);margin:0 0 8px}

/* ---------- Category tabs (projects) ---------- */
.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:44px;justify-content:center}
.tab{padding:11px 24px;border:1px solid var(--line);background:none;font-family:var(--sans);font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;transition:background-color .3s,color .3s,border-color .3s}
.tab:hover{border-color:var(--gold)}
.tab.active{background:var(--charcoal);color:var(--ivory);border-color:var(--charcoal)}

/* ---------- Project detail ---------- */
.pd-top{display:grid;grid-template-columns:1fr 340px;gap:56px;padding:70px 0}
.pd-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin:32px 0}
.pd-fact{background:var(--ivory);padding:20px}
.pd-fact .k{font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.pd-fact .v{font-family:var(--serif);font-size:1.25rem;margin-top:6px}
.pd-section{padding:50px 0;border-top:1px solid var(--line)}
.pd-pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pd-pricing-card{border:1px solid var(--line);padding:22px;background:var(--white)}
.pd-pricing-config{font-family:var(--sans);font-size:.82rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--charcoal)}
.pd-pricing-area{font-size:.78rem;color:var(--grey);margin-top:5px}
.pd-pricing-price{font-family:var(--sans);font-size:1.35rem;font-weight:400;font-variant-numeric:lining-nums;color:var(--charcoal);margin-top:14px}
.pd-pricing-label{font-size:.68rem;letter-spacing:.08em;color:var(--gold);margin-top:2px}
.map-wrap{overflow:hidden;border:1px solid var(--line)}
.map-open-btn{margin-top:14px}

.pd-section h2{font-size:1.9rem;margin-bottom:22px}
.pd-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 34px}
.pd-list li{list-style:none;display:flex;gap:12px;align-items:flex-start;font-size:.95rem;color:#3a352e}
.pd-list li i{color:var(--gold);margin-top:5px}
.pd-aside{position:sticky;top:110px;align-self:start;background:var(--charcoal);color:var(--ivory);padding:36px}
.pd-aside h3{font-size:1.5rem;margin-bottom:8px}
.pd-aside p{color:var(--grey-soft);font-size:.9rem;margin-bottom:22px}
.pd-aside .btn{margin-bottom:12px}
.pd-price{font-family:var(--serif);font-size:2rem;color:var(--gold-soft);margin-bottom:4px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gallery-grid img{width:100%;height:260px;object-fit:cover;cursor:pointer;transition:opacity .3s}
.gallery-grid img:hover{opacity:.86}
.map-embed{width:100%;height:380px;border:1px solid var(--line);filter:grayscale(.3) contrast(1.05)}

/* Lightbox */
.lightbox{position:fixed;inset:0;background:rgba(10,9,8,.94);z-index:2000;display:none;align-items:center;justify-content:center;padding:30px}
.lightbox.open{display:flex}
.lightbox img{max-width:92vw;max-height:88vh;object-fit:contain}
.lightbox-close{position:absolute;top:24px;right:30px;color:#fff;font-size:1.8rem;cursor:pointer;background:none;border:none}

/* ---------- Services ---------- */
.svc-list{border-top:1px solid var(--line)}
.svc-row{display:grid;grid-template-columns:80px 1fr 1.2fr auto;gap:32px;align-items:center;padding:34px 0;border-bottom:1px solid var(--line);transition:padding-left .4s var(--ease)}
.svc-row:hover{padding-left:16px}
.svc-num{font-family:var(--serif);font-size:1.6rem;color:var(--gold)}
.svc-row h3{font-size:1.7rem}
.svc-row p{color:var(--grey);font-size:.95rem;max-width:52ch}
.svc-row .svc-cta{opacity:0;transition:opacity .4s}
.svc-row:hover .svc-cta{opacity:1}

/* ---------- About ---------- */
.about-info{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--line)}
.about-info .cell{padding:34px;border-right:1px solid var(--line)}
.about-info .cell:last-child{border-right:none}
.about-info h4{font-family:var(--sans);font-weight:500;font-size:.76rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.about-info p{font-size:.95rem}
.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}
.value-card{border:1px solid var(--line);padding:34px;background:var(--white)}
.value-card i{font-size:1.4rem;color:var(--gold);margin-bottom:16px}
.value-card h3{font-size:1.4rem;margin-bottom:10px}
.value-card p{font-size:.92rem;color:var(--grey)}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:64px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.form-group{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}
.form-group.full{grid-column:1/-1}
.form-group label{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--charcoal)}
.form-group label .req{color:var(--gold)}
.form-control{padding:14px 16px;border:1px solid var(--line);background:var(--white);font-family:var(--sans);font-size:.95rem;color:var(--charcoal);outline:none;transition:border-color .3s}
.form-control:focus{border-color:var(--gold)}
textarea.form-control{resize:vertical;min-height:120px}
.hp-field{position:absolute;left:-9999px;opacity:0;height:0;width:0;overflow:hidden}
.contact-cards{display:flex;flex-direction:column;gap:2px;background:var(--line);border:1px solid var(--line)}
.contact-card{background:var(--ivory);padding:26px 28px;display:flex;gap:20px;align-items:flex-start;transition:background-color .3s}
.contact-card:hover{background:var(--white)}
.contact-card i{color:var(--gold);font-size:1.2rem;margin-top:4px;width:24px}
.contact-card .cc-label{font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--grey)}
.contact-card .cc-value{font-size:1.05rem;color:var(--charcoal);margin-top:3px}
.form-alert{padding:16px 20px;margin-bottom:24px;font-size:.9rem;border:1px solid}
.form-alert.success{background:#eef4ee;border-color:#a9c9a9;color:#2e5a34}
.form-alert.error{background:#f6ecec;border-color:#d3a9a9;color:#7a2e2e}

/* ---------- FAQ accordion ---------- */
.faq-item{border-bottom:1px solid var(--line)}
.faq-q{width:100%;text-align:left;background:none;border:none;padding:26px 40px 26px 0;font-family:var(--serif);font-size:1.3rem;color:var(--charcoal);cursor:pointer;position:relative;transition:color .3s}
.faq-q:hover{color:var(--gold)}
.faq-q::after{content:"\f067";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:.8rem;color:var(--gold);transition:transform .3s}
.faq-item.open .faq-q::after{content:"\f068"}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease)}
.faq-a p{padding-bottom:26px;color:var(--grey);max-width:70ch}

/* ---------- Legal pages ---------- */
.legal{max-width:840px;margin:0 auto}
.legal h2{font-size:1.6rem;margin:36px 0 14px}
.legal p,.legal li{color:#3a352e;margin-bottom:14px;font-size:.98rem}
.legal ul{padding-left:22px}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal[data-delay="1"]{transition-delay:.08s}
.reveal[data-delay="2"]{transition-delay:.16s}
.reveal[data-delay="3"]{transition-delay:.24s}

/* ---------- Responsive ---------- */
@media(max-width:1024px){
  .main-nav,.header-cta{display:none}
  .hamburger{display:flex}
  .split-body{padding-left:48px}
  .split.reverse .split-body{padding-right:48px}
  .why-grid,.process-grid{grid-template-columns:repeat(2,1fr)}
  .why-item:nth-child(2n){border-right:none}
  .prop-grid{grid-template-columns:repeat(2,1fr)}
  .pd-top{grid-template-columns:1fr}
  .pd-aside{position:static}
}
@media(max-width:820px){
  .section{padding:76px 0}
  .container{padding:0 22px}
  .header-inner{padding:18px 22px}
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .trust-item:nth-child(2n){border-right:none}
  .trust-item:nth-child(1),.trust-item:nth-child(2){border-bottom:1px solid var(--line-light)}
  .hero-property-search{max-width:100%;}
  .project-finder-grid{grid-template-columns:1fr 1fr}
  .project-filter-field{border-bottom:1px solid var(--line)}
  .project-filter-field:nth-child(2n){border-right:none}
  .project-filter-field:last-child{border-bottom:none}
  .search-grid{grid-template-columns:1fr 1fr}
  .search-field{border-bottom:1px solid var(--line)}
  .search-field:nth-child(2n){border-right:none}
  .search-submit{grid-column:1/-1}
  .search-submit .btn{width:100%;padding:16px}
  .split,.contact-grid{grid-template-columns:1fr}
  .split-media img{min-height:340px}
  .split-body{padding:44px 0 0}
  .split.reverse .split-body{padding:44px 0 0;order:0}
  .split.reverse .split-media{order:-1}
  .cat-grid{grid-template-columns:1fr}
  .cat-card{border-right:none}
  .footer-inner{grid-template-columns:1fr 1fr;gap:36px}
  .about-info,.values-grid,.gallery-grid,.pd-facts,.pd-list{grid-template-columns:1fr}
  .pd-facts{grid-template-columns:repeat(3,1fr)}
  .svc-row{grid-template-columns:1fr;gap:8px;text-align:left}
  .svc-row .svc-cta{opacity:1}
}
@media(max-width:560px){
  .prop-grid,.why-grid,.process-grid,.form-row{grid-template-columns:1fr}
  .hero-property-search{display:grid;grid-template-columns:40px 1fr}
  .hero-property-search .btn{grid-column:1/-1;width:100%;}
  .project-finder{padding:22px}
  .project-finder-head{align-items:flex-start}
  .project-finder-grid{grid-template-columns:1fr}
  .project-filter-field,.project-filter-field:nth-child(2n){border-right:none;border-bottom:1px solid var(--line)}
  .project-filter-field:last-child{border-bottom:none}
  .why-item{border-right:none}
  .footer-inner{grid-template-columns:1fr}
  .hero-actions .btn,.final-cta .hero-actions .btn{flex:1}
  .footer-bottom-inner{flex-direction:column;align-items:flex-start}
  .gallery-grid img{height:220px}
}

/* =====================================================================
   CONTACT PAGE — premium refinements
   ===================================================================== */
.contact-hero-split{display:grid;grid-template-columns:1.05fr 1fr;align-items:stretch}
.chs-media{position:relative;min-height:720px;overflow:hidden}
.chs-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.chs-media-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,10,8,.45) 0%,rgba(12,10,8,.35) 45%,rgba(12,10,8,.82) 100%)}
.chs-media-content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:150px 64px 60px;color:var(--ivory)}
.chs-media-content .breadcrumb{margin:0 0 auto}
.chs-media-content h1{font-size:clamp(2.4rem,3.6vw,3.8rem);margin:1rem 0 1.2rem;max-width:15ch}
.chs-media-content p{color:rgba(246,242,234,.85);max-width:42ch;font-size:1.02rem;margin-bottom:2rem}
.chs-quick{display:flex;gap:14px;flex-wrap:wrap}
.chs-quick-item{display:inline-flex;align-items:center;gap:9px;padding:12px 22px;border:1px solid var(--line-light);font-size:.8rem;letter-spacing:.08em;color:var(--ivory);transition:background-color .35s var(--ease),color .35s var(--ease),border-color .35s var(--ease)}
.chs-quick-item i{color:var(--gold-soft)}
.chs-quick-item:hover{background:var(--gold);color:#1b160e;border-color:var(--gold)}
.chs-quick-item:hover i{color:#1b160e}

.chs-form{background:var(--ivory);display:flex;align-items:center;padding:120px 64px 80px}
.chs-form-inner{width:100%;max-width:560px}
.chs-form-title{font-size:clamp(1.9rem,2.6vw,2.6rem);margin:.5rem 0 .6rem}
.chs-form-sub{color:var(--grey);font-size:.92rem;margin-bottom:32px}
.chs-form-sub .req{color:var(--gold)}
.chs-enquiry-form .form-group{margin-bottom:22px}
.chs-form .form-control{padding:15px 16px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);transition:border-color .3s,box-shadow .3s}
.chs-form .form-control::placeholder{color:var(--grey-soft)}
.chs-form .form-control:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(183,145,85,.14)}
.chs-form select.form-control{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B79155' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:42px;cursor:pointer}
.chs-submit{margin-top:6px;padding:18px 30px}
.chs-privacy{font-size:.76rem;color:var(--grey);margin-top:18px;line-height:1.6}
.chs-privacy a{color:var(--gold);text-decoration:underline;text-underline-offset:2px}

/* Contact blocks */
.contact-blocks{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.contact-block{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:34px 30px;background:var(--charcoal);border:1px solid var(--line-light);color:var(--ivory);transition:transform .45s var(--ease),box-shadow .45s var(--ease),border-color .45s var(--ease)}
.contact-block:hover{transform:translateY(-6px);box-shadow:0 40px 60px -40px rgba(18,16,14,.5);border-color:var(--gold)}
.cb-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border:1px solid var(--gold);color:var(--gold);font-size:1.2rem;border-radius:50%;transition:background-color .4s var(--ease),color .4s var(--ease),border-color .4s var(--ease)}
.cb-label{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-soft);margin-top:6px}
.cb-value{font-family:var(--serif);font-size:1.35rem;line-height:1.35;color:var(--ivory)}
.cb-value-sm{font-family:var(--sans);font-size:.95rem;font-weight:400;line-height:1.7}
.cb-action{margin-top:auto;padding-top:14px;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-soft);display:inline-flex;align-items:center;gap:8px;transition:gap .3s,color .3s}
.contact-block:hover .cb-action{gap:13px;color:var(--gold)}
/* Primary WhatsApp block — shares the same dark treatment */
.contact-block.is-primary .cb-action-btn{margin-top:auto;padding:12px 20px;background:var(--gold);color:#1b160e;font-weight:500;border-radius:var(--radius);width:100%;justify-content:center;transition:background-color .35s var(--ease)}
.contact-block.is-primary:hover .cb-action-btn{background:var(--gold-soft)}

/* Why section */
.contact-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--line)}
.contact-why-item{padding:40px 28px 36px;border-right:1px solid var(--line)}
.contact-why-item:last-child{border-right:none}
.contact-why-item i{font-size:1.5rem;color:var(--gold);margin-bottom:18px}
.contact-why-item h3{font-family:var(--serif);font-size:1.35rem;line-height:1.2;margin-bottom:10px}
.contact-why-item p{font-size:.92rem;color:var(--grey)}

/* Map */
.contact-map-section{padding:72px 0 0}
.contact-map-frame{margin-top:44px;border-top:1px solid var(--line)}
.contact-map-frame iframe{display:block;width:100%;height:520px;border:none;filter:grayscale(.25) contrast(1.02)}

/* Testimonial strip (above form) */
.chs-reviews{border:1px solid var(--line);border-left:3px solid var(--gold);background:var(--white);padding:22px 24px;margin-bottom:34px}
.chs-reviews-stars{color:var(--gold);letter-spacing:.24em;font-size:.9rem}
.chs-reviews-quote{font-family:var(--serif);font-style:italic;font-size:1.2rem;line-height:1.4;color:var(--charcoal);margin:10px 0 8px}
.chs-reviews-meta{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}

/* Shared testimonial carousel (homepage + contact) */
.testi-carousel{max-width:820px;margin:0 auto}
.testi-carousel .testi-track{position:relative;min-height:150px}
.testi-rating{font-family:var(--sans);font-size:.9rem;letter-spacing:.02em;margin-left:8px;color:var(--gold-soft)}

/* Light variant (contact page) */
.testi-carousel--light .testi-quote{color:var(--charcoal)}
.testi-carousel--light .testi-name{color:var(--gold)}
.testi-carousel--light .testi-meta{color:var(--grey)}
.testi-carousel--light .testi-stars,.testi-carousel--light .testi-rating{color:var(--gold)}
.testi-carousel--light .testi-note{color:var(--grey)}

/* Contact "Client Voices" wrapper */
.chs-voices{margin-bottom:34px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.chs-voices .eyebrow{color:var(--gold)}
.chs-voices-title{font-family:var(--serif);font-size:1.5rem;margin:6px 0 16px}
.chs-voices .testi-carousel{max-width:none}
.chs-voices .testi-quote{font-size:1.15rem}
.chs-voices .testi-track{min-height:165px}
@media(max-width:600px){
  .testimonials{padding:36px 0 32px}
  .testimonials .section-head{margin-bottom:14px}
  .testimonials .section-head h2{font-size:2rem}
  .testimonials .testi-track{height:125px;min-height:125px}
  .testimonials .testi-quote{font-size:1.05rem;line-height:1.28}
  .testi-carousel .testi-track{min-height:150px}
  .chs-voices .testi-track{min-height:190px}
}

/* Office photo + map */
.contact-location-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:44px}
.office-photo{position:relative;min-height:520px;overflow:hidden;border:1px solid var(--line)}
.office-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
.office-photo:hover img{transform:scale(1.04)}
.office-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,10,8,.05),rgba(12,10,8,.72))}
.office-photo-cap{position:absolute;left:0;bottom:0;z-index:2;padding:34px 34px 32px;color:var(--ivory)}
.office-photo-addr{font-size:1.05rem;line-height:1.6;margin-top:8px}
.office-map iframe{display:block;width:100%;height:520px;border:1px solid var(--line);filter:grayscale(.25) contrast(1.02)}
@media(max-width:1024px){
  .contact-location-grid{grid-template-columns:1fr}
  .office-photo{min-height:340px}
  .office-map iframe{height:360px}
}

@media(max-width:1024px){
  .contact-hero-split{grid-template-columns:1fr}
  .chs-media{min-height:400px}
  .chs-media-content{padding:130px 40px 44px;justify-content:flex-end}
  .chs-media-content .breadcrumb{margin:0 0 14px}
  .chs-form{padding:56px 40px 64px}
  .chs-form-inner{max-width:none}
  .contact-blocks{grid-template-columns:repeat(2,1fr)}
  .contact-why-grid{grid-template-columns:repeat(2,1fr)}
  .contact-why-item:nth-child(2n){border-right:none}
  .contact-why-item{border-bottom:1px solid var(--line)}
  .contact-why-item:nth-last-child(-n+2){border-bottom:none}
}
@media(max-width:600px){
  .chs-media{min-height:320px}
  .chs-media-content{padding:110px 22px 36px}
  .chs-form{padding:44px 22px 56px}
  .contact-blocks{grid-template-columns:1fr}
  .contact-why-grid{grid-template-columns:1fr}
  .contact-why-item{border-right:none}
  .contact-map-frame iframe{height:360px}
}

/* =====================================================================
   RESPONSIVE OPTIMIZATION PASS — global refinements
   ===================================================================== */
/* Media safety: nothing overflows its container */
img,iframe,video,svg{max-width:100%}
iframe{border:0}
.footer-col a,.footer-address,.cb-value,.cb-value-sm,.chs-form-inner{overflow-wrap:break-word;word-break:break-word}

/* Hamburger "X" stays visible on the dark mobile menu on every page state */
.site-header.is-solid .hamburger.open span,
.site-header.scrolled .hamburger.open span,
.site-header.is-transparent .hamburger.open span{background:var(--ivory)}

/* Large screens: use space better, avoid excessive empty margins */
@media(min-width:1800px){
  :root{--container:1480px}
  .hero h1{font-size:clamp(4rem,6vw,6.4rem)}
}

/* Tablet: keep nav breathable if it ever shows, tighten project detail */
@media(max-width:1024px){
  .featured-track{grid-auto-columns:calc((100% - 34px)/2)}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .gallery-grid img{height:240px}
}

/* Touch targets + comfortable tap sizes on tablet & mobile */
@media(max-width:768px){
  .btn{min-height:44px;--pad:15px 26px}
  .btn-sm{min-height:40px}
    .contact-block{padding:30px 26px}
}

/* Full-width mobile menu — never leaves the page visible on the side */
@media(max-width:600px){
  .featured-track{grid-auto-columns:100%;gap:0}
  .featured-nav{width:42px;height:42px}
  .featured-prev{left:8px}.featured-next{right:8px}
  .pd-pricing-grid{grid-template-columns:1fr}
  .mobile-menu{width:100%;max-width:none;padding:96px 26px 36px}
  .mobile-link{font-size:1.5rem}
  .pd-facts{grid-template-columns:repeat(2,1fr)}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
}

/* Small mobile: prevent hero/heading overflow, keep buttons full-width */
@media(max-width:400px){
  .container{padding:0 18px}
  .hero h1{font-size:2.5rem}
  .pd-facts,.gallery-grid{grid-template-columns:1fr}
  .gallery-grid img{height:220px}
  .hero-actions .btn,.mobile-contact{flex-wrap:wrap}
  .mobile-contact{gap:14px}
}

/* Floating call/WhatsApp buttons: comfortable, non-overlapping on mobile */
@media(max-width:600px){
  .floating-contact{right:14px;bottom:14px;gap:10px}
  .float-btn{width:48px;height:48px;font-size:1.15rem}
}

/* Accessibility: visible keyboard focus */
a:focus-visible,button:focus-visible,.btn:focus-visible,
input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--gold);outline-offset:2px;border-radius:2px;
}

/* Search fields use the site's clean minimal treatment without a gold focus frame. */
.hero-property-search,
.hero-property-search:focus-within,
.project-filter-search,
.project-input-wrap{
  outline:none !important;
  box-shadow:none;
}
.hero-property-search input,
.hero-property-search input:focus,
.hero-property-search input:focus-visible,
.project-filter-search input,
.project-filter-search input:focus,
.project-filter-search input:focus-visible{
  -webkit-appearance:none;
  appearance:none;
  outline:none !important;
  box-shadow:none !important;
  border:0 !important;
}

/* ---------- Reduced motion ---------- */
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
  html{scroll-behavior:auto}
}

/* Final responsive + interaction refinements */
.hero-property-search{margin-left:auto;margin-right:auto}
.hero-property-search input:focus{outline:none!important;box-shadow:none!important}
.prop-card-config-row{font-variant-numeric:lining-nums}
.pd-pricing-price,.pd-price,.prop-card-price .price,.pd-fact .v{font-family:var(--sans)!important;font-variant-numeric:lining-nums}
@media(max-width:600px){
  .featured-track .prop-card{width:100%}
  .featured-carousel{margin:0 -2px}
  .featured-nav{top:44%}
  .prop-card-config-row{font-size:.75rem}
}

/* ---------- Project detail: reference-style marketplace layout ---------- */
.project-showcase{padding:18px 0 56px;background:var(--ivory)}
.project-gallery-mosaic{position:relative;display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:220px 155px;gap:7px;margin-bottom:22px}
.project-gallery-mosaic a{display:block;overflow:hidden;background:#ddd}
.project-gallery-mosaic img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}
.project-gallery-mosaic a:hover img{transform:scale(1.025)}
.project-gallery-mosaic .pg-main{grid-row:1 / span 2;border-radius:14px 0 0 14px}
.project-gallery-mosaic .pg-tile-2{border-radius:0 14px 0 0}
.project-gallery-mosaic .pg-tile-4{border-radius:0 0 14px 0}
.project-gallery-mosaic .pg-tile-1,.project-gallery-mosaic .pg-tile-3{border-radius:0}
.pg-more{position:absolute;right:18px;bottom:18px;background:#fff;color:#171513;padding:10px 18px;border-radius:22px;font-size:.76rem;font-weight:600;box-shadow:0 4px 16px rgba(0,0,0,.15)}
.project-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.project-heading-copy h1{font-size:2rem;margin:0 0 5px}
.project-developer{display:inline-block;font-size:.78rem;color:var(--grey);margin-left:4px}
.project-location{font-size:.74rem;color:var(--grey);margin-top:10px}
.project-location i{color:var(--gold);margin-right:6px}
.project-status-pill{font-size:.67rem;letter-spacing:.08em;text-transform:uppercase;border:1px solid var(--line);padding:9px 13px;white-space:nowrap}
.project-price-actions{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:18px 0 20px}
.project-price-range{font-size:1.55rem;font-weight:600;letter-spacing:-.02em;color:#111;font-variant-numeric:lining-nums}
.project-price-range span{font-size:.72rem;font-weight:400;color:var(--grey);margin-left:5px}
.project-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.btn-whatsapp{border:1px solid #168f5b;color:#168f5b;background:#fff}
.btn-whatsapp:hover{background:#168f5b;color:#fff}
.project-info-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.project-info-card{min-height:82px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:16px 15px;display:flex;gap:12px;align-items:center;box-shadow:0 4px 14px rgba(30,25,20,.06)}
.info-icon{width:34px;height:34px;display:grid;place-items:center;color:var(--gold);font-size:.9rem;flex:0 0 34px}
.info-label{font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;color:#555;margin-bottom:7px}
.info-value{font-size:.82rem;color:#171513;line-height:1.35;font-weight:500}
.project-showcase + .container{padding-top:0}
@media(max-width:900px){
 .project-gallery-mosaic{grid-template-rows:190px 135px}
 .project-info-cards{grid-template-columns:repeat(2,1fr)}
 .project-price-actions{align-items:flex-start;flex-direction:column}
 .project-actions{justify-content:flex-start}
}
@media(max-width:600px){
 .project-showcase{padding:8px 0 34px}
 .project-gallery-mosaic{grid-template-columns:1.6fr 1fr;grid-template-rows:170px 110px;gap:5px}
 .project-gallery-mosaic .pg-main{grid-row:1 / span 2;border-radius:10px 0 0 10px}
 .project-gallery-mosaic .pg-tile-2{border-radius:0 10px 0 0}
 .project-gallery-mosaic .pg-tile-4{border-radius:0 0 10px 0}
 .project-gallery-mosaic .pg-tile-1{display:none}
 .project-gallery-mosaic .pg-tile-3{display:block}
 .pg-more{right:10px;bottom:10px;padding:8px 12px;font-size:.66rem}
 .project-heading-row{align-items:flex-start;flex-direction:column;gap:10px}
 .project-heading-copy h1{font-size:1.7rem;line-height:1.12}
 .project-status-pill{align-self:flex-start}
 .project-price-range{font-size:1.35rem}
 .project-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
 .project-actions .btn{width:100%;padding:12px 10px;font-size:.68rem}
 .project-actions .btn-outline{grid-column:1 / -1}
 .project-info-cards{grid-template-columns:1fr 1fr;gap:9px}
 .project-info-card{min-height:92px;padding:13px 11px;align-items:flex-start}
 .info-icon{width:28px;height:28px;flex-basis:28px;font-size:.8rem}
 .info-label{font-size:.57rem}
 .info-value{font-size:.72rem}
}
@media(max-width:390px){
 .project-gallery-mosaic{grid-template-rows:145px 95px}
 .project-info-cards{grid-template-columns:1fr}
 .project-actions{grid-template-columns:1fr}
 .project-actions .btn-outline{grid-column:auto}
}


/* ===== Final: Premium Configurations & Pricing ===== */
.pd-pricing-section{padding-top:42px;padding-bottom:42px}
.pd-pricing-section>h2{
  font-family:var(--serif)!important;font-size:clamp(1.7rem,3vw,2.45rem)!important;
  line-height:1.02!important;font-weight:700!important;letter-spacing:-.025em!important;
  color:var(--charcoal)!important;margin-bottom:20px!important
}
.pd-pricing-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px!important}
.pd-pricing-card{
  position:relative;min-height:145px;padding:22px 22px!important;
  background:linear-gradient(145deg,#fff 0%,#fbf7ef 100%)!important;
  border:1px solid rgba(182,138,67,.30)!important;border-radius:10px!important;
  box-shadow:0 12px 30px rgba(25,20,14,.07)!important;overflow:hidden;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease
}
.pd-pricing-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--gold)}
.pd-pricing-card:hover{transform:translateY(-4px);border-color:rgba(182,138,67,.58)!important;box-shadow:0 18px 40px rgba(25,20,14,.12)!important}
.pd-pricing-config{
  font-family:var(--sans)!important;font-size:clamp(1.05rem,1.5vw,1.35rem)!important;
  line-height:1.12!important;font-weight:800!important;letter-spacing:.045em!important;color:#171513!important
}
.pd-pricing-area{
  font-family:var(--sans)!important;font-size:clamp(.88rem,1.1vw,1rem)!important;
  line-height:1.35!important;font-weight:600!important;color:#756e64!important;margin-top:6px!important
}
.pd-pricing-price{
  font-family:var(--sans)!important;font-size:clamp(1.65rem,2.4vw,2.25rem)!important;
  line-height:1.05!important;font-weight:800!important;letter-spacing:-.035em!important;
  color:#956c2d!important;margin-top:16px!important;font-variant-numeric:lining-nums
}
.pd-pricing-label{
  font-family:var(--sans)!important;font-size:.7rem!important;line-height:1.2!important;
  font-weight:700!important;letter-spacing:.10em!important;text-transform:uppercase!important;
  color:var(--gold)!important;margin-top:6px!important
}

/* ===== Project enquiry popup ===== */
.cs-project-enquiry-modal{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:18px}
.cs-project-enquiry-modal.is-open{display:flex}
.cs-project-enquiry-backdrop{position:absolute;inset:0;background:rgba(13,12,11,.72);backdrop-filter:blur(4px)}
.cs-project-enquiry-dialog{
  position:relative;z-index:1;width:min(680px,100%);max-height:92vh;overflow:auto;
  background:var(--ivory);color:var(--charcoal);border:1px solid rgba(182,138,67,.42);
  border-radius:10px;box-shadow:0 30px 90px rgba(0,0,0,.34);padding:34px
}
.cs-project-enquiry-close{
  position:absolute;top:10px;right:14px;width:42px;height:42px;border:0;background:transparent;
  color:var(--charcoal);font-size:30px;line-height:1;cursor:pointer
}
.cs-project-enquiry-kicker{font-family:var(--sans);font-size:.72rem;letter-spacing:.20em;font-weight:800;color:var(--gold);margin-bottom:8px}
.cs-project-enquiry-dialog h3{font-family:var(--serif);font-size:clamp(2rem,4vw,2.8rem);line-height:1.05;margin:0 45px 9px 0}
.cs-project-enquiry-sub{color:var(--grey);font-size:.95rem;margin:0 0 22px}
.cs-project-enquiry-project{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;background:#efe6d6;color:#7f5d2a;border-radius:4px;font-size:.78rem;font-weight:700;margin-bottom:18px}
.cs-project-enquiry-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cs-project-enquiry-grid .full{grid-column:1/-1}
.cs-project-enquiry-grid label{display:block;font-family:var(--sans);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#786f63}
.cs-project-enquiry-grid input,.cs-project-enquiry-grid select,.cs-project-enquiry-grid textarea{
  display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:13px 14px;
  border:1px solid #d7d0c5;border-radius:3px;background:#fff;color:#171513;font:inherit;outline:none
}
.cs-project-enquiry-grid textarea{min-height:88px;resize:vertical}
.cs-project-enquiry-grid input:focus,.cs-project-enquiry-grid select:focus,.cs-project-enquiry-grid textarea:focus{
  border-color:var(--gold);box-shadow:0 0 0 2px rgba(182,138,67,.12)
}
.cs-project-enquiry-submit{
  width:100%;margin-top:18px;min-height:52px;border:1px solid var(--gold);background:var(--gold);
  color:#111;font-family:var(--sans);font-size:.82rem;font-weight:800;letter-spacing:.14em;cursor:pointer
}
.cs-project-enquiry-submit:disabled{opacity:.65;cursor:wait}
.cs-project-enquiry-status{min-height:20px;margin-top:10px;font-size:.82rem;color:#6d665c}
body.cs-modal-open{overflow:hidden}
@media(max-width:768px){
  .pd-pricing-section{padding-top:36px;padding-bottom:36px}
  .pd-pricing-grid{grid-template-columns:1fr!important;gap:16px!important}
  .pd-pricing-card{min-height:0;padding:20px 18px!important}
  .pd-pricing-config{font-size:1.15rem!important}
  .pd-pricing-area{font-size:.9rem!important}
  .pd-pricing-price{font-size:1.9rem!important}
  .cs-project-enquiry-dialog{padding:28px 20px}
  .cs-project-enquiry-grid{grid-template-columns:1fr}
  .cs-project-enquiry-grid .full{grid-column:auto}
}



/* Final pricing-card sizing: medium, balanced and responsive */
.pd-pricing-section{padding-top:32px!important;padding-bottom:32px!important}
.pd-pricing-section>h2{font-size:1.55rem!important;margin-bottom:18px!important}
.pd-pricing-grid{gap:14px!important}
.pd-pricing-card{padding:18px 20px!important;min-height:0!important;border-radius:10px!important}
.pd-pricing-config{font-size:1rem!important;line-height:1.25!important;font-weight:700!important;letter-spacing:.04em!important}
.pd-pricing-area{font-size:.82rem!important;margin-top:5px!important}
.pd-pricing-price{font-size:1.45rem!important;line-height:1.2!important;margin-top:10px!important;font-weight:700!important}
.pd-pricing-label{font-size:.68rem!important;margin-top:3px!important}
@media (max-width:900px){.pd-pricing-card{padding:16px 18px!important}.pd-pricing-config{font-size:.98rem!important}.pd-pricing-price{font-size:1.35rem!important}}
@media (max-width:600px){.pd-pricing-section{padding-top:26px!important;padding-bottom:26px!important}.pd-pricing-section>h2{font-size:1.35rem!important}.pd-pricing-grid{gap:12px!important}.pd-pricing-card{padding:15px 16px!important}.pd-pricing-config{font-size:.95rem!important}.pd-pricing-area{font-size:.78rem!important}.pd-pricing-price{font-size:1.3rem!important}}

/* ===== Final responsive project gallery + enquiry modal ===== */
.project-gallery-mosaic a,
.project-gallery-mosaic .pg-more{min-width:0;min-height:0}
.project-gallery-mosaic a{background:#eee9df}
.project-gallery-mosaic img{object-fit:contain!important;background:#eee9df}
.project-gallery-mosaic .pg-main img{object-position:center}
.project-gallery-mosaic .pg-more{border:0;cursor:pointer;z-index:3}
.project-gallery-mosaic .pg-more:hover{transform:translateY(-1px);box-shadow:0 7px 20px rgba(0,0,0,.18)}

.lightbox{padding:22px!important;background:rgba(10,9,8,.94)!important;overscroll-behavior:contain}
.lightbox-stage{width:min(92vw,1400px);height:min(86vh,900px);display:flex;align-items:center;justify-content:center}
.lightbox-stage img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:4px}
.lightbox-close,.lightbox-prev,.lightbox-next{position:absolute;z-index:3;width:48px;height:48px;border:1px solid rgba(255,255,255,.35);border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.45);color:#fff;cursor:pointer;transition:background .2s ease,transform .2s ease}
.lightbox-close{top:20px;right:22px;font-size:1.7rem;line-height:1}
.lightbox-prev{left:22px;top:50%;transform:translateY(-50%);font-size:1.25rem}
.lightbox-next{right:22px;top:50%;transform:translateY(-50%);font-size:1.25rem}
.lightbox-close:hover,.lightbox-prev:hover,.lightbox-next:hover{background:rgba(255,255,255,.16);transform:translateY(-50%) scale(1.04)}
.lightbox-close:hover{transform:scale(1.04)}
.lightbox-counter{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);z-index:3;color:#fff;background:rgba(0,0,0,.48);padding:7px 12px;border-radius:20px;font:600 .75rem var(--sans);letter-spacing:.08em}
body.lightbox-open{overflow:hidden}

.cs-project-enquiry-dialog{width:min(590px,calc(100vw - 32px));max-height:min(82vh,720px);padding:26px 28px!important}
.cs-project-enquiry-dialog h3{font-size:clamp(1.7rem,3.2vw,2.35rem)!important}
.cs-project-enquiry-sub{font-size:.86rem!important;margin-bottom:16px!important}
.cs-project-enquiry-project{margin-bottom:14px!important;padding:7px 10px!important}
.cs-project-enquiry-grid{gap:11px!important}
.cs-project-enquiry-grid input,.cs-project-enquiry-grid select,.cs-project-enquiry-grid textarea{padding:10px 12px!important;margin-top:5px!important}
.cs-project-enquiry-grid textarea{min-height:72px!important}
.cs-project-enquiry-submit{min-height:46px!important;margin-top:14px!important}

@media (max-width:900px){
  .project-gallery-mosaic{grid-template-rows:200px 145px}
  .lightbox-stage{width:88vw;height:82vh}
}
@media (max-width:600px){
  .project-gallery-mosaic{grid-template-columns:1.35fr 1fr;grid-template-rows:150px 100px;gap:5px}
  .project-gallery-mosaic .pg-main{grid-row:1 / span 2}
  .project-gallery-mosaic img{object-fit:contain!important}
  .pg-more{right:7px;bottom:7px;padding:7px 10px;font-size:.62rem}
  .lightbox{padding:12px!important}
  .lightbox-stage{width:94vw;height:78vh}
  .lightbox-close,.lightbox-prev,.lightbox-next{width:42px;height:42px}
  .lightbox-close{top:12px;right:12px}
  .lightbox-prev{left:10px}
  .lightbox-next{right:10px}
  .lightbox-counter{bottom:12px;font-size:.68rem}
  .cs-project-enquiry-modal{padding:10px!important}
  .cs-project-enquiry-dialog{width:calc(100vw - 20px);max-height:88vh;padding:22px 16px!important;border-radius:9px}
  .cs-project-enquiry-dialog h3{font-size:1.65rem!important;margin-right:38px!important}
  .cs-project-enquiry-kicker{font-size:.64rem!important;letter-spacing:.16em!important}
  .cs-project-enquiry-sub{font-size:.8rem!important;line-height:1.5}
  .cs-project-enquiry-grid{grid-template-columns:1fr!important;gap:10px!important}
  .cs-project-enquiry-grid .full{grid-column:auto!important}
  .cs-project-enquiry-grid label{font-size:.66rem!important}
  .cs-project-enquiry-grid input,.cs-project-enquiry-grid select,.cs-project-enquiry-grid textarea{font-size:.84rem!important;padding:10px!important}
  .cs-project-enquiry-submit{font-size:.68rem!important;letter-spacing:.1em!important}
}
@media (max-width:390px){
  .project-gallery-mosaic{grid-template-rows:130px 88px}
  .project-gallery-mosaic .pg-tile-3{display:block}
  .project-gallery-mosaic .pg-tile-4{display:block}
  .cs-project-enquiry-dialog{padding:18px 13px!important}
}


/* Final device safety: prevent accidental horizontal overflow on narrow screens. */
html,body{max-width:100%;overflow-x:hidden}
img,iframe,video{max-width:100%}
@media(max-width:600px){
  .container{width:min(100% - 24px, 1180px)}
  .project-showcase .container{width:min(100% - 20px, 1180px)}
}

/* =====================================================================
   CASCADE SPACES — FINAL DEVICE OPTIMIZATION
   Mobile / iOS Safari / Android / Tablet / Laptop / Windows
   ===================================================================== */
html, body { width:100%; max-width:100%; overflow-x:hidden; }
*, *::before, *::after { box-sizing:border-box; }
button, input, select, textarea { max-width:100%; }

/* Project listing cards: never allow buttons/content to exceed the viewport. */
.prop-card { min-width:0; width:100%; overflow:hidden; }
.prop-card-media { width:100%; overflow:hidden; background:#eee9df; }
.prop-card-media img { display:block; width:100%; height:100%; max-width:100%; object-fit:cover; }
.prop-card-body { min-width:0; }
.prop-card-config-row { min-width:0; }
.prop-card-config-row span { min-width:0; overflow-wrap:anywhere; }
.prop-card-config-row strong { flex:0 0 auto; }
.prop-card-actions { min-width:0; }
.prop-card-actions .btn { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* Featured carousel must fit exactly one card on phones. */
@media (max-width: 600px) {
  .featured-track { grid-auto-columns:100% !important; }
  .featured-track .prop-card { width:100% !important; min-width:100% !important; }
  .prop-card-media { aspect-ratio: 16 / 10; min-height:0; }
  .prop-card-body { padding:22px 18px 22px; gap:7px; }
  .prop-card-loc { font-size:.66rem; letter-spacing:.08em; }
  .prop-card-title { font-size:1.45rem; line-height:1.12; }
  .prop-card-configs { gap:5px; }
  .prop-card-config-row { font-size:.78rem; gap:8px; }
  .prop-card-price { margin-top:5px; padding-top:12px; }
  .prop-card-price .price { font-size:1.55rem; }
  .prop-card-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; width:100%; }
  .prop-card-actions .btn { width:100%; padding:13px 8px; font-size:.64rem; letter-spacing:.11em; }
}
@media (max-width: 380px) {
  .prop-card-body { padding:20px 15px; }
  .prop-card-title { font-size:1.32rem; }
  .prop-card-price .price { font-size:1.42rem; }
  .prop-card-actions { grid-template-columns:1fr; }
}

/* Project detail top gallery: stable aspect ratio and no destructive crop. */
.project-gallery-mosaic { width:100%; min-width:0; overflow:hidden; }
.project-gallery-mosaic a { min-width:0; min-height:0; }
.project-gallery-mosaic img { width:100%; height:100%; object-fit:contain !important; object-position:center !important; background:#eee9df; }
@media (max-width: 600px) {
  .project-showcase .container { width:100%; padding-left:12px; padding-right:12px; }
  .project-gallery-mosaic { grid-template-columns:1.55fr 1fr; grid-template-rows:145px 100px; gap:5px; margin-bottom:18px; }
  .project-gallery-mosaic .pg-main { grid-row:1 / span 2; }
  .project-gallery-mosaic .pg-tile-1 { display:block; }
  .project-gallery-mosaic .pg-tile-3 { display:block; }
  .project-gallery-mosaic .pg-tile-4 { display:none; }
  .project-gallery-mosaic .pg-more { right:7px; bottom:7px; max-width:calc(100% - 14px); white-space:nowrap; }
  .project-heading-row { gap:8px; }
  .project-heading-copy { min-width:0; width:100%; }
  .project-heading-copy h1 { font-size:clamp(1.55rem,7vw,2rem); overflow-wrap:anywhere; }
  .project-developer, .project-location { overflow-wrap:anywhere; }
  .project-price-actions { width:100%; gap:15px; }
  .project-price-range { max-width:100%; overflow-wrap:anywhere; font-size:clamp(1.5rem,7vw,2rem); }
  .project-actions { width:100%; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .project-actions .btn { min-width:0; width:100%; padding:13px 8px; font-size:.62rem; letter-spacing:.09em; white-space:nowrap; }
  .project-info-cards { width:100%; grid-template-columns:1fr 1fr; gap:8px; }
  .project-info-card { min-width:0; min-height:82px; padding:12px 10px; gap:8px; }
  .project-info-card .info-value { overflow-wrap:anywhere; font-size:.82rem; }
}
@media (max-width: 380px) {
  .project-gallery-mosaic { grid-template-rows:125px 86px; }
  .project-info-cards { grid-template-columns:1fr; }
  .project-actions { grid-template-columns:1fr; }
}

/* Full-screen gallery: predictable iOS/Android viewport behaviour. */
.lightbox { padding:max(14px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important; }
.lightbox-stage { width:min(92vw,1400px); height:min(82dvh,900px); }
.lightbox-stage img { max-width:100% !important; max-height:100% !important; object-fit:contain !important; }
@media (max-width:600px) {
  .lightbox-stage { width:100vw; height:78dvh; }
  .lightbox-close { top:max(10px, env(safe-area-inset-top)); right:max(10px, env(safe-area-inset-right)); width:44px; height:44px; }
  .lightbox-prev { left:max(8px, env(safe-area-inset-left)); width:44px; height:44px; }
  .lightbox-next { right:max(8px, env(safe-area-inset-right)); width:44px; height:44px; }
  .lightbox-counter { bottom:max(10px, env(safe-area-inset-bottom)); }
}

/* Enquiry popup: medium, centered, safe on short iPhone/Android screens. */
.cs-project-enquiry-modal { padding:max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); }
.cs-project-enquiry-dialog { width:min(590px, calc(100vw - 28px)); max-height:min(82dvh,720px); overflow-y:auto; overscroll-behavior:contain; }
@media (max-width:600px) {
  .cs-project-enquiry-dialog { width:calc(100vw - 24px); max-height:84dvh; padding:20px 15px !important; }
  .cs-project-enquiry-dialog h3 { font-size:clamp(1.45rem,7vw,1.85rem) !important; line-height:1.08 !important; }
  .cs-project-enquiry-sub { font-size:.78rem !important; line-height:1.45; }
  .cs-project-enquiry-grid { grid-template-columns:1fr !important; gap:9px !important; }
  .cs-project-enquiry-grid input,.cs-project-enquiry-grid select,.cs-project-enquiry-grid textarea { min-height:42px; font-size:.82rem !important; }
  .cs-project-enquiry-grid textarea { min-height:70px; }
  .cs-project-enquiry-submit { min-height:46px; padding:11px 10px; font-size:.62rem !important; }
}

/* Floating contact controls: stay clear of content and iOS safe areas. */
.floating-contact { z-index:999; }
@media (max-width:600px) {
  .floating-contact { right:max(12px, env(safe-area-inset-right)); bottom:max(12px, env(safe-area-inset-bottom)); }
}

/* ===== Final project gallery no-crop override =====
   Keep the complete source image visible inside every mosaic tile.
   The tile itself may letterbox rather than cutting any part of the image. */
.project-gallery-mosaic > a {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  background:#eee9df !important;
}
.project-gallery-mosaic > a > img {
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  flex:0 0 auto !important;
}
/* Preserve the gallery's responsive tile dimensions without ever forcing a crop. */
@media (max-width:600px) {
  .project-gallery-mosaic > a > img {
    max-width:100% !important;
    max-height:100% !important;
  }
}

/* ===== Definitive project gallery: NEVER crop source photos =====
   Gallery tiles size themselves around the source image. Images use their
   natural aspect ratio instead of a fixed-height box, so the top/bottom/
   sides of the uploaded photograph can never be cut off. */
.project-gallery-mosaic {
  align-items:start !important;
  grid-auto-rows:auto !important;
}
.project-gallery-mosaic > a {
  height:auto !important;
  min-height:0 !important;
  align-self:start !important;
  overflow:hidden !important;
  display:block !important;
  background:#eee9df !important;
}
.project-gallery-mosaic > a > img {
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  object-fit:initial !important;
  object-position:initial !important;
  transform:none;
}
.project-gallery-mosaic > a:hover > img { transform:scale(1.01); }

@media (max-width: 900px) {
  .project-gallery-mosaic {
    grid-template-columns:1.55fr 1fr !important;
    grid-template-rows:auto auto !important;
    align-items:start !important;
  }
  .project-gallery-mosaic > a > img {
    width:100% !important;
    height:auto !important;
  }
}

@media (max-width: 600px) {
  .project-gallery-mosaic {
    grid-template-columns:1fr !important;
    grid-template-rows:auto !important;
    gap:5px !important;
  }
  .project-gallery-mosaic .pg-main,
  .project-gallery-mosaic .pg-tile-1,
  .project-gallery-mosaic .pg-tile-2,
  .project-gallery-mosaic .pg-tile-3,
  .project-gallery-mosaic .pg-tile-4 {
    grid-column:auto !important;
    grid-row:auto !important;
  }
  .project-gallery-mosaic .pg-tile-1,
  .project-gallery-mosaic .pg-tile-3,
  .project-gallery-mosaic .pg-tile-4 { display:block !important; }
  .project-gallery-mosaic > a > img {
    width:100% !important;
    height:auto !important;
  }
}

/* ===== Project detail: keep all content below the fixed site header =====
   The project detail page must never slide underneath the fixed navigation. */
body:not(.has-transparent-header) .project-showcase {
  padding-top: 116px !important;
}

@media (max-width: 1100px) {
  body:not(.has-transparent-header) .project-showcase {
    padding-top: 104px !important;
  }
}

@media (max-width: 700px) {
  body:not(.has-transparent-header) .project-showcase {
    padding-top: 92px !important;
  }
}

@media (max-width: 480px) {
  body:not(.has-transparent-header) .project-showcase {
    padding-top: 88px !important;
  }
}

/* ===== Mobile project gallery: preserve desktop mosaic composition =====
   On phones keep the same two-column mosaic structure as desktop/tablet.
   Never stack every photo vertically, which pushes project details far below. */
@media (max-width: 600px) {
  .project-showcase .container { width:100%; padding-left:12px; padding-right:12px; }
  .project-gallery-mosaic {
    display:grid !important;
    grid-template-columns:minmax(0, 1.55fr) minmax(0, 1fr) !important;
    grid-template-rows:minmax(92px, 28vw) minmax(72px, 21vw) !important;
    gap:5px !important;
    width:100% !important;
    margin-bottom:18px !important;
    align-items:stretch !important;
    overflow:hidden !important;
  }
  .project-gallery-mosaic .pg-main {
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
  }
  .project-gallery-mosaic .pg-tile-1 {
    grid-column:2 !important;
    grid-row:1 !important;
    display:block !important;
  }
  .project-gallery-mosaic .pg-tile-2 {
    grid-column:2 !important;
    grid-row:2 !important;
    display:block !important;
  }
  .project-gallery-mosaic .pg-tile-3,
  .project-gallery-mosaic .pg-tile-4 {
    display:none !important;
  }
  .project-gallery-mosaic > a {
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#eee9df !important;
  }
  .project-gallery-mosaic > a > img {
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    object-position:center !important;
  }
  .project-gallery-mosaic .pg-more {
    right:6px !important;
    bottom:6px !important;
    max-width:calc(100% - 12px) !important;
    padding:10px 14px !important;
    font-size:.62rem !important;
    white-space:nowrap !important;
  }
}

@media (max-width: 380px) {
  .project-gallery-mosaic {
    grid-template-columns:minmax(0, 1.5fr) minmax(0, 1fr) !important;
    grid-template-rows:92px 70px !important;
    gap:4px !important;
  }
}
