/* =====================================================================
   GADS LUX HOMES — Design Tokens
   Palette:  #0b0b0d (ink)  #17161a (panel)  #faf7f0 (cream)
             #b3862f -> #f0d18a (gold gradient)   #9c9689 (muted)
   Display type : 'Fraunces'  (high-contrast luxury serif, optical sizing)
   Body type    : 'Plus Jakarta Sans' (clean, modern, warm x-height)
   Script accent: 'Playfair Display' italic (the "explore" flourish)
   Signature    : the crescent gold arc from the logo, echoed as a
                  recurring section-divider / badge-ring motif.
   ===================================================================== */

/* Fonts are loaded via <link> tags in includes/header.php (faster than
   @import, which blocks the browser from discovering them until the CSS
   itself has downloaded) — see the <head> for Fraunces / Plus Jakarta
   Sans / Playfair Display. */

:root{
  --ink:        #17151a;
  --ink-soft:   #201d22;
  --panel:      #28242a;
  --panel-2:    #2f2a24;
  --cream:      #faf7f0;
  --cream-dim:  #efe8d8;
  --gold-1:     #a97c2d;
  --gold-2:     #f0d18a;
  --gold-3:     #7c5a1f;
  --gold-grad:  linear-gradient(135deg, var(--gold-1), var(--gold-2));
  --gold-grad-diag: linear-gradient(120deg, #8a611d, #c9962c 45%, #f0d18a 100%);
  --gold-grad-soft: linear-gradient(160deg, rgba(169,124,45,.18), rgba(240,209,138,.05));
  --text-on-dark: #f7f4ec;
  --text-muted: #b3ac9d;
  --text-on-cream: #1a1812;
  --radius-lg: 30px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 60px -24px rgba(0,0,0,.6);
  --shadow-gold: 0 18px 40px -14px rgba(169,124,45,.5);
  --container: 1320px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Plus Jakarta Sans',system-ui,sans-serif;
  background:var(--ink);
  color:var(--text-on-dark);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  font-size:16px;
}
h1,h2,h3,h4,.display{
  font-family:'Fraunces',Georgia,serif;
  font-optical-sizing:auto;
  font-weight:600;
  line-height:1.1;
  margin:0 0 .5em;
  letter-spacing:-.01em;
}
h1{ font-weight:500; }
.script{
  font-family:'Playfair Display',Georgia,serif;
  font-style:italic;
  font-weight:400;
  color:var(--gold-2);
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
@media(max-width:768px){ .section{ padding:56px 0; } }

/* focus visibility */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:2px solid var(--gold-2); outline-offset:3px;
}
@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------------------------- Buttons -------------------------------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Inter'; font-weight:600; font-size:.92rem;
  padding:15px 26px; border-radius:999px; border:none; cursor:pointer;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space:nowrap;
}
.btn-gold{ background:var(--gold-grad); color:#1a1305; }
.btn-gold:hover{ transform:translateY(-3px); box-shadow:0 14px 30px -10px rgba(185,130,47,.55); }
.btn-dark{ background:var(--ink); color:var(--cream); border:1px solid rgba(255,255,255,.12); }
.btn-dark:hover{ transform:translateY(-3px); background:#000; }
.btn-outline{ background:transparent; border:1.5px solid var(--gold-2); color:var(--text-on-dark); }
.btn-outline:hover{ background:var(--gold-2); color:#1a1305; }
.btn-cream{ background:var(--cream); color:var(--ink); }
.btn-cream:hover{ transform:translateY(-3px); }
.btn-sm{ padding:10px 18px; font-size:.82rem; }
.btn .arrow-dot{
  width:26px; height:26px; border-radius:50%; background:rgba(0,0,0,.14);
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
}
.btn-outline .arrow-dot,.btn-dark .arrow-dot{ background:rgba(255,255,255,.12); }

/* ---------------------------- Top bar / Nav --------------------------- */
.topbar{
  background:var(--ink); color:var(--text-muted); font-size:.82rem;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; padding-top:10px; padding-bottom:10px; flex-wrap:wrap; gap:8px;}
.topbar-info{ display:flex; gap:22px; flex-wrap:wrap; align-items:center; }
.topbar-info a{ color:var(--text-muted); display:inline-flex; gap:8px; align-items:center; }
.topbar-info a:hover{ color:var(--gold-2); }
.topbar-social{ display:flex; gap:14px; }
.topbar-social a{ width:30px; height:30px; border-radius:50%; border:1px solid rgba(255,255,255,.15); display:flex; align-items:center; justify-content:center;}
.topbar-social a:hover{ border-color:var(--gold-2); color:var(--gold-2);}

.navbar{
  background:var(--ink); position:sticky; top:0; z-index:100;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.navbar .container{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; gap:18px; flex-wrap:nowrap;}
.brand{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.brand img{ height:48px; width:auto; }
.brand-text .name{ font-family:'Fraunces'; font-weight:800; font-size:1.2rem; color:var(--cream); letter-spacing:.5px; white-space:nowrap;}
.brand-text .tag{ font-size:.68rem; letter-spacing:3px; color:var(--gold-2); text-transform:uppercase; white-space:nowrap;}
.nav-links{ display:flex; gap:20px; align-items:center; font-weight:600; font-size:.88rem; flex:0 1 auto; min-width:0;}
.nav-links a{ color:var(--text-muted); position:relative; padding:6px 0; white-space:nowrap;}
.nav-links a.active,.nav-links a:hover{ color:var(--gold-2); }
.nav-links a.active::after{ content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--gold-grad); border-radius:2px;}
.nav-actions{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.nav-actions select{ background:var(--ink-soft); color:var(--cream); border:1px solid rgba(255,255,255,.15); border-radius:999px; padding:10px 14px; font-weight:600;}
.nav-burger{ display:none; background:none; border:none; color:var(--cream); font-size:1.5rem; cursor:pointer; flex:0 0 auto;}
@media(max-width:1260px){
  .nav-links{ position:fixed; inset:0 0 0 auto; width:78%; max-width:340px; background:var(--ink-soft); flex-direction:column; align-items:flex-start; padding:100px 30px 30px; transform:translateX(100%); transition:transform .4s var(--ease); box-shadow:-10px 0 40px rgba(0,0,0,.4); gap:8px; z-index:150;}
  .nav-links a{ width:100%; padding:12px 0; }
  .nav-links.open{ transform:translateX(0); }
  .nav-burger{ display:block; }
  .nav-actions .btn-gold span:not(.arrow-dot){ display:none; }
  .brand-text .tag{ display:none; }
}
@media(max-width:480px){
  .brand-text .name{ font-size:1.02rem; }
  .nav-actions .btn-sm{ padding:9px 14px; font-size:.78rem; }
}

/* ---------------------------- Hero ------------------------------------ */
.hero{ position:relative; min-height:88vh; display:flex; align-items:flex-end; overflow:hidden; }
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img,.hero-media video{ width:100%; height:100%; object-fit:cover; }
.hero-media::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,18,15,.25) 0%, rgba(20,18,15,.3) 45%, rgba(15,13,12,.88) 100%); }
.hero-content{ position:relative; z-index:1; width:100%; padding-bottom:40px;}
.hero-content h1{ font-size:clamp(2.2rem,5.2vw,4.4rem); color:var(--cream); text-align:center; max-width:1050px; margin:0 auto .1em; text-shadow:0 4px 30px rgba(0,0,0,.35);}
.hero-content h1 .script{ font-size:1.15em; display:inline-block; }
.hero-search{
  margin:36px auto 0; max-width:1100px; background:var(--cream); border-radius:999px;
  display:flex; align-items:center; padding:10px; gap:6px; box-shadow:var(--shadow-soft); flex-wrap:wrap;
}
.hero-search .field{ flex:1; min-width:150px; padding:10px 18px; border-right:1px solid rgba(0,0,0,.08); color:var(--text-on-cream); font-weight:600; font-size:.9rem; display:flex; align-items:center; justify-content:space-between; gap:8px;}
.hero-search select{ border:none; background:transparent; font:inherit; color:inherit; width:100%; cursor:pointer;}
.hero-search .btn{ margin:2px;}
.hero-stats{ display:flex; justify-content:center; gap:14px; margin-top:26px; flex-wrap:wrap; color:var(--cream); font-weight:600;}
.hero-stats .stat{ display:flex; align-items:center; gap:14px; }
.hero-stats .stat b{ color:var(--gold-2); font-family:'Fraunces'; font-size:1.1rem;}
.hero-stats .dot{ width:6px; height:6px; border-radius:50%; background:var(--gold-2); }
@media(max-width:768px){ .hero{ min-height:78vh;} .hero-search .field{ border-right:none; border-bottom:1px solid rgba(0,0,0,.08); width:100%;} }

/* ------------------------ crescent signature motif --------------------- */
.crescent-divider{ position:relative; height:120px; display:flex; align-items:center; justify-content:center; }
.crescent-divider::before{
  content:''; position:absolute; width:340px; height:340px; border-radius:50%;
  border:26px solid transparent; border-top-color:var(--gold-1); border-right-color:var(--gold-2);
  transform:rotate(45deg); opacity:.5; filter:blur(.3px);
}
.badge-ring{ position:relative; display:inline-flex; }
.badge-ring::before{
  content:''; position:absolute; inset:-8px; border-radius:50%;
  background:conic-gradient(from 210deg, var(--gold-1), var(--gold-2), transparent 65%);
  opacity:.9; animation:spin 7s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg);} }

/* ---------------------------- Cards / Sections -------------------------- */
.eyebrow{ text-transform:uppercase; letter-spacing:3px; font-size:.72rem; color:var(--gold-2); font-weight:700; margin-bottom:12px; display:inline-block;}
.section-head{ text-align:center; max-width:680px; margin:0 auto 48px; }
.section-head h2{ font-size:clamp(1.7rem,3.4vw,2.6rem); color:var(--cream); }
.section-head p{ color:var(--text-muted); font-size:1.02rem; }
.on-cream{ color:var(--text-on-cream); }
.on-cream .text-muted{ color:#66604f; }
.text-muted{ color:var(--text-muted); }

.two-col-cta{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media(max-width:860px){ .two-col-cta{ grid-template-columns:1fr; } }
.cta-card{ border-radius:var(--radius-lg); padding:56px 48px; position:relative; overflow:hidden; min-height:380px; display:flex; flex-direction:column; justify-content:center;}
.cta-card.cream{ background:var(--cream); color:var(--text-on-cream); }
.cta-card.cream p{ color:#5c5646; }
.cta-card.gold{ background:linear-gradient(150deg,#b9822f,#8a611d); color:#fff; }
.cta-card.gold .cta-bg{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:.28; mix-blend-mode:overlay;}
.cta-card h3{ font-size:clamp(1.5rem,2.6vw,2.1rem); position:relative; z-index:1;}
.cta-card p{ position:relative; z-index:1; max-width:420px;}
.cta-card .btn{ position:relative; z-index:1; align-self:flex-start; margin-top:20px;}

/* Property / listing grid */
.filter-bar{
  display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between;
  background:var(--panel); border-radius:999px; padding:14px 22px; margin-bottom:40px; border:1px solid rgba(255,255,255,.06);
}
.filter-group{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{ padding:9px 18px; border-radius:999px; border:1px solid rgba(255,255,255,.14); font-size:.85rem; font-weight:600; color:var(--text-muted); cursor:pointer; transition:.25s;}
.chip.active,.chip:hover{ background:var(--gold-grad); color:#1a1305; border-color:transparent; }
.filter-bar select,.filter-bar input[type=text]{
  background:var(--ink); color:var(--cream); border:1px solid rgba(255,255,255,.14); border-radius:999px; padding:10px 16px; font:inherit;
}

.grid{ display:grid; gap:30px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media(max-width:1024px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr);} }
@media(max-width:640px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr;} }

.property-card{
  background:var(--panel); border-radius:var(--radius-md); overflow:hidden; border:1px solid rgba(255,255,255,.06);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease); position:relative;
}
.property-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-soft); }
.property-card .media{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.property-card .media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease);}
.property-card:hover .media img{ transform:scale(1.08); }
.tags{ position:absolute; top:14px; left:14px; right:14px; display:flex; justify-content:space-between; gap:8px; }
.tag{ font-size:.68rem; font-weight:700; padding:6px 12px; border-radius:999px; text-transform:uppercase; letter-spacing:.5px;}
.tag.featured{ background:#3fae63; color:#fff; }
.tag.sale{ background:var(--gold-grad); color:#1a1305; }
.tag.rent{ background:#3d6fe0; color:#fff; }
.tag.status{ background:rgba(0,0,0,.55); color:#fff; backdrop-filter:blur(3px);}
.property-card .body{ padding:22px; }
.property-card .price{ color:var(--gold-2); font-family:'Fraunces'; font-weight:700; font-size:1.15rem; }
.property-card h3{ font-size:1.12rem; color:var(--cream); margin:6px 0 8px; }
.property-card .loc{ color:var(--text-muted); font-size:.86rem; display:flex; gap:6px; align-items:center; margin-bottom:14px;}
.spec-row{ display:flex; gap:16px; font-size:.82rem; color:var(--text-muted); border-top:1px dashed rgba(255,255,255,.12); padding-top:14px; flex-wrap:wrap;}
.spec-row span{ display:flex; align-items:center; gap:6px;}
.spec-row b{ color:var(--cream); }
.card-actions{ position:absolute; top:14px; right:14px; display:flex; gap:8px; z-index:2;}
.icon-btn{ width:34px; height:34px; border-radius:50%; background:rgba(0,0,0,.5); color:#fff; display:flex; align-items:center; justify-content:center; font-size:.85rem; backdrop-filter:blur(3px);}

/* Carousel arrows generic */
.carousel-arrow{ position:absolute; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:50%; background:rgba(0,0,0,.45); color:#fff; display:flex; align-items:center; justify-content:center; z-index:3; cursor:pointer; border:none;}
.carousel-arrow.prev{ left:12px; } .carousel-arrow.next{ right:12px; }
.carousel-arrow:hover{ background:var(--gold-2); color:#1a1305; }

/* ---------------------------- Team ---------------------------------- */
.team-card{ text-align:center; }
.team-card .photo{ width:100%; aspect-ratio:1/1; border-radius:var(--radius-md); overflow:hidden; margin-bottom:16px; position:relative;}
.team-card .photo img{ width:100%; height:100%; object-fit:cover; }
.team-card h4{ color:var(--cream); font-size:1.05rem; margin-bottom:2px;}
.team-card .role{ color:var(--gold-2); font-size:.85rem; font-weight:600; margin-bottom:10px;}
.team-card .socials{ display:flex; gap:10px; justify-content:center; }
.team-card .socials a{ width:32px; height:32px; border-radius:50%; border:1px solid rgba(255,255,255,.15); display:flex; align-items:center; justify-content:center;}
.team-card .socials a:hover{ background:var(--gold-grad); color:#1a1305; border-color:transparent;}

/* ---------------------------- Footer --------------------------------- */
footer.site-footer{ background:#111013; border-top:1px solid rgba(255,255,255,.06); padding:70px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; margin-bottom:50px;}
@media(max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h5{ color:var(--gold-2); font-family:'Fraunces'; margin-bottom:18px; font-size:1rem;}
.footer-grid li{ margin-bottom:10px; }
.footer-grid a{ color:var(--text-muted); }
.footer-grid a:hover{ color:var(--gold-2); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); padding-top:24px; display:flex; justify-content:space-between; color:var(--text-muted); font-size:.82rem; flex-wrap:wrap; gap:10px;}

/* ---------------------------- WhatsApp float --------------------------- */
.wa-float{
  position:fixed; bottom:26px; right:26px; z-index:200; width:58px; height:58px; border-radius:50%;
  background:var(--gold-grad); display:flex; align-items:center; justify-content:center; box-shadow:0 12px 30px -8px rgba(185,130,47,.6);
  font-size:1.5rem; color:#1a1305; animation:pulse-gold 2.4s infinite;
}
@keyframes pulse-gold{ 0%,100%{ box-shadow:0 12px 30px -8px rgba(185,130,47,.6);} 50%{ box-shadow:0 12px 40px -4px rgba(185,130,47,.85);} }
.back-to-top{ position:fixed; bottom:100px; right:34px; z-index:199; width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.08); color:var(--cream); display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:.3s;}
.back-to-top.show{ opacity:1; pointer-events:auto; }

/* ---------------------------- Reveal animation -------------------------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------------------------- Property Detail --------------------------- */
.pd-gallery{ display:grid; grid-template-columns:2fr 1fr; gap:12px; border-radius:var(--radius-lg); overflow:hidden; height:520px;}
.pd-gallery .main{ position:relative; }
.pd-gallery .main img{ width:100%; height:100%; object-fit:cover; }
.pd-gallery .side{ display:grid; grid-template-rows:1fr 1fr; gap:12px; }
.pd-gallery .side img{ width:100%; height:100%; object-fit:cover; }
.pd-gallery .more-overlay{ position:absolute; inset:0; background:rgba(0,0,0,.55); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:1.4rem;}
@media(max-width:860px){ .pd-gallery{ grid-template-columns:1fr; height:auto;} .pd-gallery .main{ height:320px;} .pd-gallery .side{ grid-template-columns:1fr 1fr; grid-template-rows:none; height:150px;} }

.pd-layout{ display:grid; grid-template-columns:2fr 1fr; gap:50px; margin-top:50px; align-items:start;}
@media(max-width:960px){ .pd-layout{ grid-template-columns:1fr; } }
.pd-header{ display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; border-bottom:1px solid rgba(255,255,255,.1); padding-bottom:28px; margin-bottom:28px;}
.pd-header h1{ font-size:clamp(1.6rem,3vw,2.3rem); color:var(--cream); margin-bottom:6px;}
.pd-header .loc{ color:var(--text-muted); }
.pd-header .price{ font-family:'Fraunces'; font-size:1.7rem; color:var(--gold-2); text-align:right;}
.pd-specs{ display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:20px; background:var(--panel); border-radius:var(--radius-md); padding:26px; margin-bottom:36px;}
.pd-specs .spec{ text-align:center; }
.pd-specs .spec b{ display:block; font-family:'Fraunces'; font-size:1.3rem; color:var(--gold-2);}
.pd-specs .spec span{ color:var(--text-muted); font-size:.82rem; }
.pd-block{ margin-bottom:42px; }
.pd-block h3{ color:var(--cream); font-size:1.25rem; margin-bottom:16px; border-left:4px solid var(--gold-2); padding-left:14px;}
.amenities-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:16px;}
.amenity-item{ display:flex; align-items:center; gap:12px; background:var(--panel); padding:14px 16px; border-radius:var(--radius-sm); color:var(--text-on-dark); font-size:.9rem;}
.amenity-item i{ color:var(--gold-2); width:20px; text-align:center;}

/* floor plan selector */
.floorplan-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:24px; }
.floorplan-tabs .chip{ background:var(--panel); }
.floorplan-panel{ display:none; background:var(--panel); border-radius:var(--radius-md); padding:26px; }
.floorplan-panel.active{ display:grid; grid-template-columns:1.1fr 1fr; gap:30px; align-items:center;}
@media(max-width:760px){ .floorplan-panel.active{ grid-template-columns:1fr; } }
.floorplan-panel img{ border-radius:var(--radius-sm); background:#fff; padding:10px; }
.floorplan-meta .row{ display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px dashed rgba(255,255,255,.12); color:var(--text-muted);}
.floorplan-meta .row b{ color:var(--cream); }

/* ---------------------------- Available Units & Pricing ------------------ */
.unit-pricing{ background:var(--panel); border-radius:var(--radius-md); padding:8px 26px; border:1px solid rgba(255,255,255,.06);}
.unit-group{ padding:20px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.unit-group:last-child{ border-bottom:none; }
.unit-group-title{ display:flex; align-items:center; gap:10px; color:var(--gold-2); font-family:'Fraunces'; font-size:1.05rem; font-weight:600; margin-bottom:12px; }
.unit-group-title i{ font-size:.95rem; }
.unit-row{ display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:10px 0; border-top:1px dashed rgba(255,255,255,.1); flex-wrap:wrap;}
.unit-row:first-of-type{ border-top:none; }
.unit-row .unit-spec{ color:var(--text-on-dark); font-size:.94rem; }
.unit-row .unit-spec .note{ color:var(--text-muted); }
.unit-row .unit-price{ color:var(--gold-2); font-weight:700; font-family:'Fraunces'; white-space:nowrap; }

.pd-sidebar{ position:sticky; top:100px; }
.enquiry-card{ background:var(--panel); border-radius:var(--radius-md); padding:30px; margin-bottom:24px; border:1px solid rgba(255,255,255,.08);}
.enquiry-card h4{ color:var(--cream); margin-bottom:16px;}
.form-group{ margin-bottom:14px; }
.form-group label{ display:block; font-size:.82rem; color:var(--text-muted); margin-bottom:6px; font-weight:600;}
.form-control{
  width:100%; background:var(--ink); border:1px solid rgba(255,255,255,.15); border-radius:var(--radius-sm);
  padding:13px 16px; color:var(--cream); font:inherit;
}
textarea.form-control{ resize:vertical; min-height:110px;}
.agent-card{ background:var(--panel); border-radius:var(--radius-md); padding:24px; display:flex; gap:16px; align-items:center; border:1px solid rgba(255,255,255,.08);}
.agent-card img{ width:64px; height:64px; border-radius:50%; object-fit:cover;}

/* ---------------------------- Payment calculator ------------------------ */
.calc-box{ background:var(--panel); border-radius:var(--radius-lg); padding:40px; max-width:640px; margin:0 auto; border:1px solid rgba(255,255,255,.08);}
.calc-result{ background:var(--gold-grad-soft); border:1px solid rgba(236,200,115,.35); border-radius:var(--radius-md); padding:26px; margin-top:24px;}
.calc-result .row{ display:flex; justify-content:space-between; padding:8px 0; }
.calc-result .row.total{ font-size:1.3rem; color:var(--gold-2); font-family:'Fraunces'; border-top:1px solid rgba(236,200,115,.35); margin-top:8px; padding-top:16px;}

/* ---------------------------- BNB page --------------------------- */
.bnb-card .body{ padding:20px; }
.bnb-card .per-night{ font-size:.78rem; color:var(--text-muted); }

/* ---------------------------- Utility --------------------------- */
.flex{ display:flex; } .items-center{ align-items:center; } .justify-between{ justify-content:space-between; }
.gap-8{ gap:8px;} .gap-12{ gap:12px;} .gap-20{ gap:20px;}
.mt-0{ margin-top:0 !important;} .mb-0{ margin-bottom:0 !important;}
.text-center{ text-align:center; }
.pill-count{ background:var(--gold-grad); color:#1a1305; font-size:.7rem; font-weight:700; padding:2px 8px; border-radius:999px;}
/* ---------------------------- Category tiles (Sale/Rent/Airbnb) --------- */
.category-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media(max-width:860px){ .category-grid{ grid-template-columns:1fr; } }
.category-tile{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4/3.4;
  display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; padding:34px; isolation:isolate;
}
.category-tile img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition:transform .7s var(--ease); }
.category-tile:hover img{ transform:scale(1.09); }
.category-tile::after{ content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(11,11,13,0) 20%, rgba(11,11,13,.92) 100%); }
.category-tile .cat-label{ color:var(--gold-2); text-transform:uppercase; letter-spacing:2px; font-size:.72rem; font-weight:700; margin-bottom:6px; display:block; }
.category-tile h3{ color:var(--cream); font-size:1.5rem; margin-bottom:10px; }
.category-tile .btn{ padding:10px 18px; font-size:.8rem; }

/* ---------------------------- Why choose us ------------------------------ */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
@media(max-width:960px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .why-grid{ grid-template-columns:1fr; } }
.why-card{ background:var(--panel); border:1px solid rgba(255,255,255,.06); border-radius:var(--radius-md); padding:34px 28px; transition:transform .4s var(--ease), border-color .4s; }
.why-card:hover{ transform:translateY(-6px); border-color:rgba(240,209,138,.35); }
.why-card .icon-circle{
  width:58px; height:58px; border-radius:50%; background:var(--gold-grad-soft); border:1px solid rgba(240,209,138,.3);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem; color:var(--gold-2); margin-bottom:22px;
}
.why-card h4{ color:var(--cream); font-size:1.1rem; margin-bottom:10px; }
.why-card p{ color:var(--text-muted); font-size:.92rem; margin:0; }

/* ---------------------------- Stat strip --------------------------------- */
.stat-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,.08);
  border-radius:var(--radius-md); overflow:hidden; border:1px solid rgba(255,255,255,.08);
}
@media(max-width:760px){ .stat-strip{ grid-template-columns:repeat(2,1fr); } }
.stat-strip .cell{ background:var(--panel); padding:34px 24px; text-align:center; }
.stat-strip .cell b{ display:block; font-family:'Fraunces'; font-size:2rem; color:var(--gold-2); font-weight:600; }
.stat-strip .cell span{ color:var(--text-muted); font-size:.82rem; text-transform:uppercase; letter-spacing:1.5px; }

/* ---------------------------- Testimonials -------------------------------- */
.testimonial-track{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media(max-width:960px){ .testimonial-track{ grid-template-columns:1fr; } }
.testimonial-card{
  background:var(--panel); border-radius:var(--radius-md); padding:32px; position:relative; border:1px solid rgba(255,255,255,.06);
}
.testimonial-card .quote-mark{ font-family:'Fraunces'; font-size:3.4rem; color:var(--gold-2); opacity:.35; line-height:.4; display:block; margin-bottom:8px; }
.testimonial-card p{ color:var(--text-on-dark); font-size:.98rem; margin-bottom:22px; }
.testimonial-card .stars{ color:var(--gold-2); font-size:.8rem; margin-bottom:14px; letter-spacing:2px; }
.testimonial-person{ display:flex; align-items:center; gap:12px; }
.testimonial-person img{ width:46px; height:46px; border-radius:50%; object-fit:cover; }
.testimonial-person b{ display:block; color:var(--cream); font-size:.92rem; }
.testimonial-person span{ color:var(--text-muted); font-size:.78rem; }

/* ---------------------------- Newsletter / final CTA banner --------------- */
.cta-banner{
  border-radius:var(--radius-lg); background:var(--gold-grad-diag); padding:60px 50px; position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.cta-banner::before{
  content:''; position:absolute; width:420px; height:420px; border-radius:50%;
  border:36px solid rgba(255,255,255,.12); right:-140px; top:-160px;
}
.cta-banner h3{ color:#1a1305; font-size:clamp(1.4rem,2.6vw,2rem); max-width:520px; position:relative; z-index:1; margin-bottom:6px;}
.cta-banner p{ color:#3a2c0e; max-width:480px; position:relative; z-index:1; margin:0;}
.cta-banner form{ display:flex; gap:10px; position:relative; z-index:1; flex-wrap:wrap; }
.cta-banner input[type=email]{ border:none; border-radius:999px; padding:15px 22px; min-width:240px; font:inherit; }

/* ---------------------------- Blog / Insights cards ------------------------ */
.blog-card{ background:var(--panel); border-radius:var(--radius-md); overflow:hidden; border:1px solid rgba(255,255,255,.06); display:block; transition:transform .4s var(--ease), box-shadow .4s var(--ease); }
.blog-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-soft); }
.blog-card .media{ aspect-ratio:16/10; overflow:hidden; }
.blog-card .media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.blog-card:hover .media img{ transform:scale(1.07); }
.blog-card .body{ padding:24px; }
.blog-card .eyebrow-date{ color:var(--gold-2); font-size:.72rem; text-transform:uppercase; letter-spacing:1.5px; font-weight:700; margin-bottom:10px; display:block; }
.blog-card h3{ color:var(--cream); font-size:1.08rem; margin-bottom:10px; }
.blog-card p{ color:var(--text-muted); font-size:.88rem; margin:0; }
.blog-card .read-more{ display:inline-flex; align-items:center; gap:8px; color:var(--gold-2); font-weight:700; font-size:.82rem; margin-top:16px; }

/* ---------------------------- Marquee / trust logos ----------------------- */
.trust-strip{ display:flex; gap:50px; align-items:center; justify-content:center; flex-wrap:wrap; opacity:.6; filter:grayscale(1); }
.trust-strip span{ font-family:'Fraunces'; font-size:1.1rem; color:var(--text-muted); letter-spacing:1px; }

.empty-state{ text-align:center; padding:80px 20px; color:var(--text-muted); }
.empty-state i{ font-size:2.6rem; color:var(--gold-2); margin-bottom:16px; display:block;}
.pagination{ display:flex; justify-content:center; gap:8px; margin-top:50px;}
.pagination a,.pagination span{ width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--panel); color:var(--text-muted); font-weight:600;}
.pagination a:hover,.pagination .current{ background:var(--gold-grad); color:#1a1305;}
.breadcrumb{ color:var(--text-muted); font-size:.85rem; margin-bottom:20px;}
.breadcrumb a:hover{ color:var(--gold-2);}
.alert{ padding:16px 20px; border-radius:var(--radius-sm); margin-bottom:20px; font-weight:600;}
.alert-success{ background:rgba(63,174,99,.15); color:#7fdb9d; border:1px solid rgba(63,174,99,.35);}
.alert-error{ background:rgba(219,68,68,.15); color:#f19d9d; border:1px solid rgba(219,68,68,.35);}

/* ---------------------------- Image / content protection ---------------- */
/* Best-effort deterrents against casual right-click-save or drag-out of
   photos. Nothing served to a browser can be made 100% uncopiable (the
   browser must download the image to display it) — this raises the bar
   for casual copying without hurting normal Browse/reading. Scoped to
   the public site only; the admin panel is left fully usable. */
body:not(.admin-body) img{
  -webkit-user-drag:none; -khtml-user-drag:none; -moz-user-drag:none; -o-user-drag:none; user-drag:none;
  -webkit-touch-callout:none;
  user-select:none; -webkit-user-select:none; -moz-user-select:none;
}
body:not(.admin-body) .property-card .media,
body:not(.admin-body) .pd-gallery img,
body:not(.admin-body) .category-tile img,
body:not(.admin-body) .team-card .photo,
body:not(.admin-body) .blog-card .media,
body:not(.admin-body) .floorplan-panel img{
  position:relative;
}
/* A transparent layer over key photo areas intercepts right-click/long-press
   so the context menu targets an empty div instead of the <img> itself. */
.img-shield{ position:absolute; inset:0; z-index:2; background:transparent; }

/* ---------------------------- Gallery lightbox --------------------------- */
.lightbox-overlay{
  position:fixed; inset:0; background:rgba(8,7,6,.96); z-index:999;
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  opacity:0; pointer-events:none; transition:opacity .3s var(--ease);
}
.lightbox-overlay.open{ opacity:1; pointer-events:auto; }
.lightbox-stage{ position:relative; max-width:88vw; max-height:72vh; display:flex; align-items:center; justify-content:center; }
.lightbox-stage img{
  max-width:88vw; max-height:72vh; width:auto; height:auto; object-fit:contain;
  border-radius:12px; box-shadow:0 30px 80px rgba(0,0,0,.6); cursor:zoom-in;
  transition:transform .3s var(--ease);
}
.lightbox-stage img.zoomed{ cursor:zoom-out; transform:scale(1.65); }
.lightbox-counter{ margin-top:16px; text-align:center; color:var(--text-muted); font-size:.8rem; font-weight:600; letter-spacing:1.5px; text-transform:uppercase;}
.lightbox-close{ position:absolute; top:20px; right:24px; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.08); color:#fff; border:none; font-size:1.05rem; cursor:pointer; z-index:2; transition:.25s;}
.lightbox-close:hover{ background:var(--gold-grad); color:#1a1305;}
.lightbox-prev,.lightbox-next{ position:absolute; top:44%; transform:translateY(-50%); width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,.08); color:#fff; border:none; font-size:1.15rem; cursor:pointer; z-index:2; transition:.25s;}
.lightbox-prev{ left:20px; } .lightbox-next{ right:20px; }
.lightbox-prev:hover,.lightbox-next:hover{ background:var(--gold-grad); color:#1a1305;}
.lightbox-thumbs{
  display:flex; gap:10px; margin-top:22px; max-width:90vw; overflow-x:auto; padding:4px 4px 12px; scroll-behavior:smooth;
}
.lightbox-thumbs::-webkit-scrollbar{ height:6px; }
.lightbox-thumbs::-webkit-scrollbar-track{ background:transparent; }
.lightbox-thumbs::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.2); border-radius:3px; }
.lightbox-thumbs img{
  width:74px; height:54px; object-fit:cover; border-radius:8px; cursor:pointer; opacity:.5;
  transition:.25s; flex:0 0 auto; border:2px solid transparent;
}
.lightbox-thumbs img:hover{ opacity:.85; }
.lightbox-thumbs img.active{ opacity:1; border-color:var(--gold-2); }
@media(max-width:760px){
  .lightbox-prev,.lightbox-next{ width:42px; height:42px; font-size:1rem; }
  .lightbox-prev{ left:8px; } .lightbox-next{ right:8px; }
  .lightbox-thumbs{ max-width:94vw; }
}
