/* ============================================================
   Sekenë Properties — Design System
   Clean, custom, dependency-free. No jQuery, no Bootstrap, no
   plugin bloat. Everything below is hand-written and scoped to
   exactly what this site needs.
   ============================================================ */

:root{
  --ink:        #12233c;
  --ink-rgb:    18,35,60;
  --ink-soft:   #4c5a70;
  --paper:      #f8f6f0;
  --paper-dim:  #eeebe1;
  --line:       #dfe2e8;
  --gold:       #ab8752;
  --gold-dark:  #8a6a3e;
  --white:      #ffffff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);

  --radius: 10px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.eyebrow{
  display:inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 15px 32px;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  cursor:pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
/* Buttons with longer labels (e.g. "Get a Free Valuation on WhatsApp") can
   run wider than a small phone screen while nowrap holds them to one line —
   let text wrap below this width instead of pushing the page into
   horizontal overflow. */
@media (max-width: 640px){
  .btn{ white-space: normal; text-align:center; }
}
.btn:hover{ background: transparent; color: var(--ink); }
.btn.outline{ background: transparent; color: var(--ink); }
.btn.outline:hover{ background: var(--ink); color: var(--paper); }
/* "gold" buttons stay mostly navy/off-white — the palette is dark blue +
   off-white with gold used only as a small accent (the border), not a
   full gold fill. */
.btn.gold{ background: var(--paper); border-color: var(--gold); color: var(--ink); border-width: 2px; }
.btn.gold:hover{ background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn.on-dark{ border-color: rgba(255,255,255,.6); color:var(--white); background:transparent; }
.btn.on-dark:hover{ background: var(--white); color: var(--ink); }

/* ---------- Header ---------- */
/* Floating/transparent over the hero image; a JS scroll listener adds
   .scrolled once the user moves past the hero so the bar becomes solid
   and stays legible over whatever content follows. */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.scrolled{
  background: var(--ink);
  box-shadow: 0 6px 24px rgba(var(--ink-rgb), .18);
}
/* NOTE: intentionally no backdrop-filter/transform on this element — either one
   would redefine the containing block for the position:fixed mobile nav inside
   it, breaking its full-height overlay (it would size itself against the
   header bar instead of the viewport). Keep this element free of those
   properties, or move .main-nav out from under it. */
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 20px var(--pad);
  max-width: var(--maxw); margin:0 auto;
}
.logo{ display:flex; align-items:center; gap:10px; }
/* Bigger on first load so it makes an impression; the scroll listener in
   main.js adds .scrolled once the user moves past the hero, at which point
   this shrinks back down to a size that behaves in a normal nav bar. */
.logo img{ height: 120px; width:auto; transition: height .3s var(--ease); }
.site-header.scrolled .logo img{ height: 62px; }
nav.main-nav{ display:flex; align-items:center; gap: 22px; }
nav.main-nav a{
  color: var(--paper);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 0;
  position:relative;
  opacity:.85;
}
nav.main-nav a:hover{ opacity:1; }
nav.main-nav a.active{ opacity:1; color: var(--gold); }

/* ---------- Nav dropdowns (Off Plan process explainer, Guides menu) ----------
   Desktop: hover reveals the panel (mouse users), a click also works via the
   .open class (see main.js) for touch/keyboard. Mobile: becomes an inline
   expanding panel inside the full-screen nav rather than a floating popover. */
.nav-item{ position:relative; }
.nav-item > a{ display:inline-flex; align-items:center; gap:5px; }
.nav-caret{ font-size:.55rem; opacity:.75; transition: transform .2s var(--ease); }
.nav-item.open .nav-caret{ transform: rotate(180deg); }
/* Invisible hover bridge: without this, moving the mouse straight down from
   the nav link to the dropdown panel below crosses a dead zone (the panel's
   top offset + margin) where the cursor is over neither element, :hover is
   lost, and the panel closes before you can reach it. This pseudo-element
   fills that gap so the hover state never breaks mid-transit. Desktop-only
   (hover-capable layout) — mobile uses tap + the .open class instead, so
   this invisible box would just be dead weight there. */
@media (min-width: 1081px){
  .nav-item.has-dropdown::after{
    content:''; position:absolute; top:100%; left:50%;
    transform:translateX(-50%);
    width: 640px; height: 22px;
  }
}
.dropdown-panel{
  position:absolute; top:100%; left:50%;
  transform:translateX(-50%) translateY(4px);
  width: 360px; margin-top:14px;
  background: var(--white); color:var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(var(--ink-rgb),.4);
  padding: 26px;
  opacity:0; visibility:hidden; pointer-events:none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 200;
  text-align:left;
}
.dropdown-panel.dropdown-wide{ width: 620px; }
.nav-item.has-dropdown:hover .dropdown-panel,
.nav-item.open .dropdown-panel{
  opacity:1; visibility:visible; pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.dropdown-panel .eyebrow{ color: var(--gold-dark); margin-bottom:10px; }

.offplan-process{ display:flex; gap:6px; margin: 4px 0 18px; }
.op-step{ flex:1; text-align:center; padding: 0 4px; position:relative; }
.op-step:not(:last-child)::after{
  content:''; position:absolute; top:20px; left:58%; width:88%; height:0;
  border-top: 2px dashed var(--line);
}
.op-badge{
  width:40px; height:40px; border-radius:50%; background:var(--paper-dim);
  border: 2px solid var(--gold); display:flex; align-items:center; justify-content:center;
  margin: 0 auto 8px; color: var(--gold-dark); font-family:var(--serif); font-weight:600;
  position:relative; z-index:1;
}
.op-step h5{ font-family:var(--sans); font-size:.72rem; font-weight:600; margin:0 0 4px; color:var(--ink); letter-spacing:.02em; }
.op-step p{ font-size:.68rem; color:var(--ink-soft); margin:0; line-height:1.4; }

/* The off-plan process sketch now lives on the /off-plan page itself (moved
   off the nav dropdown) — full page width, so it can afford to run bigger
   and more legible than the compact popover version. */
.offplan-explainer{ padding-top:0; }
.offplan-explainer .op-badge{ width:52px; height:52px; font-size:1.1rem; }
.offplan-explainer .op-step h5{ font-size:.95rem; margin-top:4px; }
.offplan-explainer .op-step p{ font-size:.85rem; }
.offplan-explainer .op-step:not(:last-child)::after{ top:26px; }
@media (max-width:900px){ .offplan-explainer .offplan-process{ flex-direction:column; gap:22px; } .offplan-explainer .op-step{ text-align:left; display:flex; align-items:flex-start; gap:16px; } .offplan-explainer .op-step:not(:last-child)::after{ display:none; } .offplan-explainer .op-badge{ margin:0; flex-shrink:0; } }

/* ---------- Guide article visuals: icon-marked section headings (topic
   guides) and numbered step sketches (process guides) ---------- */
.guide-icon-head{ display:flex; align-items:center; gap:14px; margin: 36px 0 12px; }
.guide-icon-head:first-child{ margin-top:0; }
.guide-icon-head .icon-badge{
  width:44px; height:44px; border-radius:50%; flex-shrink:0;
  background:var(--paper-dim); display:flex; align-items:center; justify-content:center;
  color:var(--gold-dark);
}
.guide-icon-head h2{ margin:0; font-size:1.25rem; }

.area-row{ display:grid; grid-template-columns:220px 1fr; gap:24px; align-items:start; padding:26px 0; border-bottom:1px solid var(--line); }
.area-row img{ width:100%; height:150px; object-fit:cover; border-radius:var(--radius); }
@media (max-width:640px){ .area-row{ grid-template-columns:1fr; } .area-row img{ height:180px; } }

.guide-steps{ margin: 20px 0 10px; }
.guide-step{ display:flex; align-items:flex-start; gap:18px; padding:20px 0; border-bottom:1px solid var(--line); }
.guide-step:last-child{ border-bottom:none; padding-bottom:0; }
.guide-step .op-badge{ margin:0; flex-shrink:0; }
.guide-step h4{ font-family:var(--serif); font-size:1.05rem; margin:0 0 6px; }
.guide-step p{ margin:0; }

.guides-list{ display:flex; flex-direction:column; }
.guide-link{ display:flex; flex-direction:column; gap:2px; padding:12px 0; border-bottom:1px solid var(--line); }
.guide-link:last-child{ border-bottom:none; padding-bottom:0; }
.guide-link strong{ font-size:.88rem; color:var(--ink); }
.guide-link span{ font-size:.76rem; color:var(--ink-soft); }
.guide-link:hover strong{ color: var(--gold-dark); }

.header-cta{ display:flex; align-items:center; gap:16px; }
/* WhatsApp button in the header: no fill/border — just the WhatsApp-green
   icon and a light label, since it sits over the transparent/navy header. */
.wa-btn{
  display:inline-flex; align-items:center; gap:9px;
  background:transparent; border:none; padding:8px 2px;
  font-size: .78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color: var(--paper);
  transition: opacity .2s var(--ease);
}
.wa-btn:hover{ opacity:.7; }
.wa-btn svg{ color:#25D366; flex-shrink:0; }
.tel-btn svg{ color: var(--paper); }
.menu-toggle{
  display:none;
  background:none; border:none; color:var(--paper);
  font-size: 1.5rem; cursor:pointer;
}

@media (max-width: 1080px){
  .logo img{ height: 58px; }
  .site-header.scrolled .logo img{ height: 48px; }
  .header-inner{ padding: 14px var(--pad); }
  nav.main-nav{
    position: fixed; inset: 88px 0 0 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content:flex-start;
    padding: 30px var(--pad) 100px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav.main-nav.open{ transform: translateX(0); }
  .menu-toggle{ display:block; }
  .wa-btn{ padding: 12px; border-radius:50%; }
  .wa-btn span.label{ display:none; }

  /* Dropdowns become inline expanding panels within the full-screen nav,
     not floating popovers — and everything inside needs to work on the
     dark nav background instead of assuming a white popup. */
  .nav-item{ width:100%; }
  .dropdown-panel, .dropdown-panel.dropdown-wide,
  .nav-item.has-dropdown:hover .dropdown-panel,
  .nav-item.open .dropdown-panel{
    position:static; width:auto; transform:none; margin-top:0;
    background:transparent; box-shadow:none; padding: 4px 0 0 4px;
    opacity:1; visibility:visible; pointer-events:none;
    max-height:0; overflow:hidden;
    transition: max-height .3s var(--ease);
  }
  .nav-item.open .dropdown-panel{ max-height:1200px; pointer-events:auto; padding-top:14px; }
  .dropdown-panel .eyebrow{ color: var(--gold); }
  .offplan-process{ flex-direction:column; gap:16px; margin: 4px 0 16px; }
  .op-step{ text-align:left; display:flex; align-items:flex-start; gap:12px; padding:0; }
  .op-text{ min-width:0; }
  .op-step:not(:last-child)::after{ display:none; }
  .op-step h5{ color: var(--paper); }
  .op-step p{ color: rgba(255,255,255,.65); }
  .op-badge{ margin:0; flex-shrink:0; }
  .dropdown-panel .btn.outline{ border-color: rgba(255,255,255,.6); color:var(--paper); }
  .guide-link{ border-bottom-color: rgba(255,255,255,.15); }
  .guide-link strong{ color: var(--paper); }
  .guide-link span{ color: rgba(255,255,255,.6); }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height: 92vh;
  display:flex; align-items:flex-end;
  overflow:hidden;
  /* The darkening wash lives on ::before (below), not here — a plain
     multi-background shorthand gets clobbered the moment a page sets
     background-image:url(...) inline (that longhand fully replaces this
     rule's background-image value, gradient included, leaving the raw
     photo with zero overlay). See .cta-band for the same pattern. */
  background-size:cover; background-position:center;
  color: var(--white);
}
.hero::before{
  content:'';
  position:absolute; top:0; left:0; right:0; bottom:0;
  width:100%; height:100%;
  /* Darker, more even wash than a typical CTA band — this overlay has to
     hold up under any hero photo, including bright daylight shots, not
     just the dusk-toned renders it was first tuned against. */
  background: linear-gradient(180deg, rgba(var(--ink-rgb),.62) 0%, rgba(var(--ink-rgb),.5) 30%, rgba(var(--ink-rgb),.9) 100%);
}
.hero-inner{ position:relative; z-index:1; max-width: var(--maxw); margin:0 auto; padding: 60px var(--pad) 70px; width:100%; }
/* Eyebrow sits directly on the hero photo, where gold-dark loses contrast
   against lighter parts of the image — brighten it and add a shadow so
   it stays legible over any photo. */
.hero .eyebrow{ color: var(--white); text-shadow: 0 2px 14px rgba(0,0,0,.75); font-weight:600; }
.hero h1{ color:var(--white); font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 16ch; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero p.lede{ color: rgba(255,255,255,.92); max-width: 46ch; font-size:1.05rem; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero-actions{ display:flex; gap:16px; margin-top: 26px; flex-wrap:wrap; }
/* Trust badges visible immediately in the hero, above the fold, no scroll
   required — the fastest possible "why trust us" signal on page load. */
.hero-badges{ display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }
.hero-badges span{
  font-size:.72rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color: var(--white); background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  padding: 7px 16px; backdrop-filter: blur(2px);
}

.page-hero{
  padding: 190px var(--pad) 70px;
  background: linear-gradient(160deg, var(--ink) 0%, #0c1830 100%);
  color: var(--white);
}
.page-hero h1{ color:var(--white); font-size: clamp(1.9rem,4vw,2.8rem); }
.page-hero p{ color: rgba(255,255,255,.75); max-width: 60ch; }

/* ---------- Search bar ---------- */
.search-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  display:grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 14px;
  box-shadow: 0 30px 60px -20px rgba(var(--ink-rgb),.35);
  transform: translateY(40px);
  margin-top: -40px;
  position:relative; z-index:5;
}
.search-card select, .search-card input{
  font-family: var(--sans);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 14px;
  font-size: .85rem;
  border-radius: var(--radius);
  color: var(--ink);
  width:100%;
}
.search-card label{
  font-size: .68rem; letter-spacing:.12em; text-transform:uppercase;
  color: var(--ink-soft); margin-bottom: 6px; display:block;
}
.search-card .btn{ align-self:end; height: 46px; border-radius: var(--radius); }
/* Off Plan page's filter bar has one fewer field than the homepage search
   (no bedrooms filter), so it uses its own column count — as a class rather
   than an inline style, so it doesn't outrank the mobile collapse below
   (inline styles beat any stylesheet media query regardless of viewport). */
.search-card.wide{ grid-template-columns: repeat(4,1fr) auto; }
@media (max-width: 900px){
  .search-card, .search-card.wide{ grid-template-columns: repeat(2,1fr); transform:none; margin-top:24px; }
}

/* ---------- Section scaffolding ---------- */
section{ padding: 100px 0; position:relative; }
section.tight{ padding: 64px 0; }
/* A small centered divider bar between adjacent sections — a deliberate
   rhythm marker so the page reads as distinct chapters rather than one
   long scroll. Only fires between two *directly adjacent* <section>s, so
   it never appears right after the hero (which is followed by the
   overlapping search card, not another section). */
/* Excludes .cta-band: an image-backed band already has its own visual
   edge, and (more importantly) a second unrelated ::before rule on the
   same element would fight this one over box geometry. */
section + section:not(.cta-band)::before{
  content:'';
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:130px; height:3px; border-radius:3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom: 42px; flex-wrap:wrap; }
.section-head h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); margin:0; }
.on-dark{ background: var(--ink); color: var(--white); }
.on-dark h2, .on-dark h3, .on-dark h4{ color: var(--white); }
.on-dark p{ color: rgba(255,255,255,.72); }
.on-dim{ background: var(--paper-dim); }

/* ---------- Image-backed CTA / feature bands ---------- */
.cta-band{
  position:relative; overflow:hidden;
  background-size:cover; background-position:center;
  color:var(--white);
}
.cta-band::before{
  content:'';
  /* Fully explicit geometry (not just inset:0) so this can never inherit
     stray width/height/transform longhands from another ::before rule
     that also happens to match this element (see the section-divider
     rule above, which explicitly excludes .cta-band for the same reason). */
  position:absolute; top:0; left:0; right:0; bottom:0;
  width:100%; height:100%; transform:none; border-radius:0;
  /* Uniform-ish dark wash (narrow opacity range) rather than a strong
     left-to-right fade — this content is centered as often as it's
     left-aligned, so both ends need to stay legible, not just one. */
  background: linear-gradient(180deg, rgba(var(--ink-rgb),.74) 0%, rgba(var(--ink-rgb),.82) 100%);
}
.cta-band .container{ position:relative; z-index:1; }
.cta-band h2{ color:var(--white); font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 18ch; }
.cta-band p{ color: rgba(255,255,255,.82); max-width: 48ch; }
.cta-band .hero-actions{ margin-top: 22px; }

/* ---------- Off-plan project detail: key facts panel ---------- */
.fact-row{ display:flex; justify-content:space-between; gap:14px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.fact-row:last-child{ border-bottom:none; padding-bottom:0; }
.fact-label{ font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft); }
.fact-val{ font-weight:600; color:var(--ink); text-align:right; }

/* ---------- Cards: property / off-plan ---------- */
.grid{ display:grid; gap: 28px; }
.grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
.grid.cols-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid.cols-3, .grid.cols-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid.cols-3, .grid.cols-4{ grid-template-columns: 1fr; } }

.card{
  display:block;
  text-decoration:none;
  color:inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover{ transform: translateY(-6px); box-shadow: 0 28px 52px -24px rgba(var(--ink-rgb),.32); }
.card .thumb{ position:relative; aspect-ratio: 4/3; overflow:hidden; background:#dde3ea; }
.card .thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.card:hover .thumb img{ transform: scale(1.06); }
.card .tag{
  position:absolute; top:14px; left:14px;
  background: var(--ink); color:var(--white);
  font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  padding: 6px 12px; border-radius: 20px;
  border-bottom: 2px solid var(--gold);
}
.card .body{ padding: 22px 24px 24px; }
.card .price{ font-family: var(--serif); font-size:1.25rem; color: var(--ink); margin-bottom:4px; }
.card h3{ font-size: 1.02rem; margin-bottom: 6px; }
.card .meta{ font-size:.8rem; color: var(--ink-soft); display:flex; gap:14px; flex-wrap:wrap; margin-top:10px; border-top:1px solid var(--line); padding-top:12px; }
.card .loc{ font-size:.82rem; color: var(--ink-soft); letter-spacing:.02em; }

/* ---------- Areas ---------- */
.area-card{ display:block; text-decoration:none; color:inherit; position:relative; border-radius: var(--radius-lg); overflow:hidden; aspect-ratio: 3/4; background:#ccd4e0; transition: transform .25s var(--ease); }
.area-card:hover{ transform: translateY(-6px); }
.area-card img{ width:100%; height:100%; object-fit:cover; }
.area-card::after{ content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(var(--ink-rgb),0) 40%, rgba(var(--ink-rgb),.88)); }
.area-card .label{ position:absolute; left:18px; right:18px; bottom:18px; z-index:2; color:var(--white); }
.area-card .label .name{ font-family: var(--serif); font-size:1.15rem; }
.area-card .label .price{ font-size:.78rem; opacity:.85; }

/* ---------- Stats ---------- */
.stats{ display:grid; grid-template-columns: repeat(3,1fr); gap:30px; text-align:center; }
.stats .num{ font-family: var(--serif); font-size: clamp(2.2rem,4vw,3.1rem); color: var(--gold); }
.stats .label{ font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color: rgba(255,255,255,.7); }
@media (max-width: 640px){ .stats{ grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Values / services ---------- */
.value-card{ padding: 34px 30px; border:1px solid var(--line); border-radius: var(--radius-lg); background:var(--white); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.value-card:hover{ transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(var(--ink-rgb),.3); }
.value-card .num{ font-family: var(--serif); color: var(--gold); font-size:1.6rem; margin-bottom:10px; }

.service-row{
  display:grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items:center;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.service-row:last-child{ border-bottom:none; }
.service-row.reverse{ grid-template-columns: 1.1fr 1fr; }
.service-row.reverse .service-media{ order:2; }
.service-media img{ border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit:cover; }
@media (max-width: 860px){
  .service-row, .service-row.reverse{ grid-template-columns:1fr; }
  .service-row.reverse .service-media{ order:0; }
}

/* ---------- Testimonial / quote ---------- */
.quote-block{ max-width: 760px; margin: 0 auto; text-align:center; }
.quote-block p{ font-family: var(--serif); font-size: clamp(1.3rem,3vw,1.8rem); color: var(--ink); font-style:italic; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-item{ display:flex; gap:16px; padding: 18px 0; border-bottom:1px solid var(--line); }
.contact-item .ic{ width:40px; height:40px; border-radius:50%; background:var(--paper-dim); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--gold-dark); font-size:1.1rem; }
.form-field{ margin-bottom: 18px; }
.form-field label{ font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); display:block; margin-bottom:6px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:13px 14px; border:1px solid var(--line); background:var(--white);
  font-family:var(--sans); font-size:.92rem; border-radius: var(--radius);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */
footer.site-footer{ background: var(--ink); color: rgba(255,255,255,.75); padding-top: 70px; border-top: 3px solid var(--gold); }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom:1px solid rgba(255,255,255,.12); }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid h4{ color:var(--white); font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; font-family:var(--sans); margin-bottom:18px; }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.footer-grid a:hover{ color: var(--gold); }
.footer-bottom{ display:flex; justify-content:space-between; padding: 22px 0; font-size:.78rem; flex-wrap:wrap; gap:10px; }
.footer-logo img{ height:80px; margin-bottom:16px; }

/* ---------- WhatsApp float ---------- */
.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 26px rgba(0,0,0,.3);
  font-size:1.5rem;
}

/* ---------- Lead-capture modal (exit-intent / scroll-triggered) ---------- */
.lead-modal{
  position: fixed; inset:0; z-index: 300;
  display:flex; align-items:center; justify-content:center;
  background: rgba(var(--ink-rgb),.55);
  padding: 20px;
  opacity:0; pointer-events:none;
  transition: opacity .3s var(--ease);
}
.lead-modal.open{ opacity:1; pointer-events:auto; }
.lead-modal-card{
  position:relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  max-width: 480px; width:100%;
  padding: 42px 36px;
  text-align:center;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.4);
  border-top: 4px solid var(--gold);
  transform: translateY(14px);
  transition: transform .3s var(--ease);
}
.lead-modal.open .lead-modal-card{ transform: translateY(0); }
.lead-modal-close{
  position:absolute; top:14px; right:16px;
  background:none; border:none; font-size:1.3rem; line-height:1; cursor:pointer;
  color: var(--ink-soft);
}
.lead-modal-card .eyebrow{ display:block; }
.lead-modal-card h3{ font-size: clamp(1.25rem,3vw,1.55rem); margin-bottom:12px; }
.lead-modal-card p{ margin-bottom: 22px; }
.lead-modal-card .btn{ width:100%; justify-content:center; }
.lead-modal-card .fine{ font-size:.72rem; color: var(--ink-soft); margin-top:14px; margin-bottom:0; }

/* ---------- Homepage "why us" differentiators ---------- */
.why-strip{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
@media (max-width:860px){ .why-strip{ grid-template-columns:1fr; } }

/* ---------- Sell page: 4-step process strip (reuses .why-card) ---------- */
.process-strip{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; }
@media (max-width:900px){ .process-strip{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .process-strip{ grid-template-columns:1fr; } }

/* ---------- Payment plan + Golden Visa calculator ---------- */
.calc-card{
  display:grid; grid-template-columns: 1fr 1fr; gap: 44px;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: 0 30px 60px -30px rgba(var(--ink-rgb),.25);
  border: 1px solid var(--line);
}
.calc-inputs, .calc-results{ min-width:0; }
.calc-inputs .form-field{ margin-bottom: 22px; }
.calc-inputs .form-field:last-of-type{ margin-bottom:0; }
.calc-inputs input, .calc-inputs select{
  width:100%; padding:13px 14px; border:1px solid var(--line); background:var(--white);
  font-family:var(--sans); font-size:1rem; border-radius: var(--radius); color:var(--ink);
}
.calc-hint{ font-size:.85rem; color:var(--ink-soft); margin-top: 20px; margin-bottom:0; }
.calc-results{
  background: var(--paper-dim); border-radius: var(--radius-lg);
  padding: 28px 26px; display:flex; flex-direction:column;
}
.calc-results .fact-row{ padding: 12px 0; }
.calc-visa-note{
  margin-top:16px; padding:16px 18px;
  background: rgba(171,135,82,.12); border: 1px solid rgba(171,135,82,.35);
  border-radius: var(--radius); font-size:.85rem; color: var(--ink); line-height:1.5;
}
.calc-visa-note strong{ color: var(--gold-dark); }
.calc-results .btn{ white-space: normal; line-height:1.3; }

/* ---------- Off-plan project matcher ---------- */
.match-form{
  background: var(--white); border-radius: var(--radius-lg); padding: 26px;
  display:grid; grid-template-columns: 1.4fr 1fr; gap:20px; align-items:end;
  box-shadow: 0 30px 60px -30px rgba(var(--ink-rgb),.25); border:1px solid var(--line);
}
.match-form .form-field{ margin-bottom:0; }
.match-form label{ font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:6px; display:block; }
.match-form input, .match-form select{
  width:100%; padding:13px 14px; border:1px solid var(--line); background:var(--white);
  font-family:var(--sans); font-size:1rem; border-radius: var(--radius); color:var(--ink);
}
@media (max-width:700px){ .match-form{ grid-template-columns:1fr; } }

.match-summary{ margin: 22px 0 0; font-size:.92rem; color: var(--ink-soft); }
.match-summary strong{ color:var(--ink); }

.match-required{ font-size:.82rem; color:var(--ink); margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.match-required strong{ color:var(--gold-dark); }
.match-highlights{ list-style:none; padding:0; margin: 12px 0 0; display:flex; flex-direction:column; gap:6px; }
.match-highlights li{ font-size:.8rem; color:var(--ink-soft); padding-left:16px; position:relative; }
.match-highlights li::before{ content:'—'; position:absolute; left:0; color:var(--gold); }
.match-fit{ font-size:.8rem; font-style:italic; color:var(--ink-soft); margin: 12px 0 0; }
.match-cta{ margin-top:16px; width:100%; text-align:center; }
.calc-disclaimer{ font-size:.76rem; color:var(--ink-soft); margin-top:18px; max-width:78ch; }
@media (max-width: 800px){ .calc-card{ grid-template-columns: 1fr; padding: 30px 26px; } }

/* ---------- Trust bar (regulatory numbers + track record) ---------- */
.trust-bar{
  display:flex; flex-wrap:wrap; gap:14px 32px;
  justify-content:center; align-items:center;
  padding: 22px var(--pad);
  background: var(--paper-dim);
  border-radius: var(--radius-lg);
  font-size:.82rem; color: var(--ink-soft);
}
.trust-bar strong{ color: var(--ink); }

/* ---------- Reviews ---------- */
.review-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px; }
.review-card .stars{ color:var(--gold); letter-spacing:2px; margin-bottom:12px; font-size:.9rem; }
.review-card p{ font-style:italic; margin-bottom:14px; }
.review-card .who{ font-size:.82rem; font-weight:600; color:var(--ink); font-style:normal; }
.why-card{ text-align:center; padding: 8px 12px; }
.why-card .ic{
  width:56px; height:56px; border-radius:50%; margin:0 auto 16px;
  background: var(--paper-dim); display:flex; align-items:center; justify-content:center;
  color: var(--gold-dark); font-size:1.4rem;
}
.why-card h3{ font-size:1.05rem; margin-bottom:8px; }
.why-card p{ margin:0; font-size:.92rem; }

/* ---------- Proof grid (honest trust signals, styled like a testimonial
   row — quote-mark sketch icon + fact instead of an invented review) ---------- */
.proof-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; margin-top:8px; }
@media (max-width:980px){ .proof-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .proof-grid{ grid-template-columns: 1fr; } }
.proof-card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; text-align:center;
}
.proof-icon{ color: var(--gold); margin-bottom:14px; }
.proof-card h3{ font-size:1rem; margin-bottom:8px; }
.proof-card p{ margin:0; font-size:.88rem; color:var(--ink-soft); }

/* ---------- Utilities ---------- */
.center{ text-align:center; }
.mt-0{ margin-top:0; }
/* Content is visible by default no matter what — JS only adds a subtle
   enhancement on top for capable browsers with no reduced-motion preference. */
.reveal{ opacity:1; transform:none; }
@media (prefers-reduced-motion: no-preference){
  html.js-anim .reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  html.js-anim .reveal.in{ opacity:1; transform:none; }
}


/* ---------- Lead forms + mobile CTA bar (v11) ---------- */
.lead-stack{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; }
.lead-stack textarea{ width:100%; }
.lead-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:6px; }
.lead-stack .fine{ font-size:.78rem; margin:14px 0 0; }
.lead-ok{ grid-column:1/-1; margin:10px 0 0; padding:12px 14px; background:rgba(171,135,82,.12); border-left:3px solid var(--gold); color:var(--ink); font-size:.92rem; }
.lead-ok a{ color:var(--gold-dark); font-weight:600; }
.lead-inline .btn{ white-space:normal; }
form[data-lead-form].sending button[type=submit]{ opacity:.6; pointer-events:none; }
form[data-lead-form] .field-error{ border-color:#b3261e !important; }
.mobile-cta{ display:none; }
@media (max-width:768px){
  .mobile-cta{
    display:grid; grid-template-columns:1fr 1.3fr 1fr; position:fixed; left:0; right:0; bottom:0; z-index:90;
    background:var(--ink); box-shadow:0 -4px 18px rgba(0,0,0,.25); padding-bottom:env(safe-area-inset-bottom);
  }
  .mobile-cta a{ display:flex; align-items:center; justify-content:center; gap:8px; padding:15px 6px; color:#fff; font-size:.82rem; font-weight:500; letter-spacing:.06em; text-transform:uppercase; border-right:1px solid rgba(255,255,255,.12); }
  .mobile-cta a.wa{ background:#1fa855; }
  .mobile-cta a.enq{ background:var(--gold); color:#fff; border-right:0; }
  .wa-float{ display:none; }
  body{ padding-bottom:54px; }
}
.related-links{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.related-links a{ border:1px solid var(--line); padding:8px 14px; border-radius:99px; font-size:.85rem; color:var(--ink); background:#fff; }
.related-links a:hover{ border-color:var(--gold); color:var(--gold-dark); }
.answer-box{ background:rgba(171,135,82,.09); border-left:3px solid var(--gold); padding:18px 22px; margin:0 0 26px; }
.answer-box p{ margin:0; color:var(--ink); }
.answer-box strong.q{ display:block; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-dark); margin-bottom:6px; }

.lead-mini{ display:grid; gap:10px; margin:14px 0 6px; }
.lead-mini input{ width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:var(--radius); font:inherit; }

.lead-hero-label{ text-align:center; font-size:.86rem; margin:16px auto 0; max-width:70ch; color:var(--ink-soft); }
.lead-hero-label strong{ color:var(--gold-dark); }

.data-table{ width:100%; border-collapse:collapse; font-size:.9rem; margin:10px 0 24px; background:#fff; }
.data-table th, .data-table td{ text-align:left; padding:11px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
.data-table th{ font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); background:rgba(171,135,82,.08); }
.data-table a{ color:var(--gold-dark); font-weight:600; }
.grid.cols-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:700px){ .grid.cols-2{ grid-template-columns:1fr; } }

/* Shorter hero paragraph on phones */
@media (max-width: 640px){ .hero p.lede .lede-more{ display:none; } .hero p.lede{ font-size:1rem; } }

/* Featured launches (home) */
.featured{background:var(--paper-dim)}
.featured-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;margin-top:8px}
.featured-card{background:var(--white);border:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}
.featured-card .fc-img{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#dde3ea}
.featured-card .fc-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.featured-card:hover .fc-img img{transform:scale(1.03)}
.featured-card .fc-badge{position:absolute;top:14px;left:14px;background:var(--gold);color:#fff;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;padding:6px 12px}
.featured-card .fc-body{padding:24px 26px 28px;display:flex;flex-direction:column;flex:1}
.featured-card .fc-loc{font-size:.8rem;letter-spacing:.04em;color:var(--ink-soft);margin:0 0 6px}
.featured-card h3{font-size:1.5rem;margin:0 0 6px}
.featured-card h3 a{color:var(--ink);text-decoration:none}
.featured-card .fc-line{margin:0 0 10px;color:var(--ink-soft)}
.featured-card .fc-price{font-family:var(--serif);font-size:1.35rem;color:var(--ink);margin:0 0 4px}
.featured-card .fc-meta{font-size:.85rem;color:var(--ink-soft);margin:0 0 12px}
.featured-card .fc-blurb{font-size:.95rem;margin:0 0 14px}
.featured-card .fc-permit{font-size:.75rem;color:var(--ink-soft);margin:0 0 14px}
.featured-card .fc-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto}
@media (max-width:820px){.featured-grid{grid-template-columns:1fr}.featured-card .fc-body{padding:20px 20px 24px}.featured-card h3{font-size:1.3rem}}
.launch-pill{display:inline-block;margin:0 0 14px;padding:7px 14px;border:1px solid var(--gold);background:rgba(18,35,60,.55);color:#fff;font-size:.82rem;letter-spacing:.03em;text-decoration:none;border-radius:999px}
.launch-pill strong{color:var(--gold);text-transform:uppercase;letter-spacing:.1em;font-size:.7rem;margin-right:6px}
.launch-pill:hover{background:var(--gold);color:#fff}.launch-pill:hover strong{color:#fff}
