/* =========================================================
   Rakeez — ركيز | Design system v2
   Dark, cinematic, editorial — light/bold type contrast
   ========================================================= */
:root{
  /* brand-derived palette */
  --night:#121918;      /* base dark (deep slate green) */
  --night-2:#18211F;
  --night-3:#222D2B;
  --slate:#3B4A4A;
  --sage:#98AAA2;
  --sand:#D4C5A9;
  --sand-hi:#E6D9BF;
  --bone:#ECE7DD;       /* warm off-white text on dark */
  --bone-dim:rgba(236,231,221,.66);
  --paper:#F6F4EF;
  --paper-2:#EDEAE2;
  --ink:#141B1A;
  --ink-soft:#56615F;
  --muted:#8A9391;
  --line:rgba(20,27,26,.12);
  --line-d:rgba(236,231,221,.14);
  --wa:#1E9E57; --wa-dark:#17844A;
  --ok:#2E8A5A; --ok-bg:#E2F0E7; --warn:#A8742A; --warn-bg:#F6ECDA; --sold:#7D8785; --sold-bg:#EBEDEC;

  --r:18px; --r-sm:10px;
  --container:1280px; --nav-h:84px;
  --ease:cubic-bezier(.2,.8,.2,1);
  --font:'IBM Plex Sans Arabic','Segoe UI',Tahoma,sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:150px; }
body{ margin:0; font-family:var(--font); font-weight:400; color:var(--ink); background:var(--paper); line-height:1.75; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
body.no-scroll{ overflow:hidden; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; border:0; background:none; color:inherit; padding:0; }
h1,h2,h3,h4,h5,dl,dd,figure{ margin:0; }
h1,h2,h3,h4,h5{ line-height:1.2; font-weight:600; }
p{ margin:0; }
svg{ width:20px; height:20px; flex-shrink:0; }
html[dir="rtl"] .ic-arrow{ transform:scaleX(-1); }

.container{ max-width:var(--container); margin-inline:auto; padding-inline:32px; }
.section{ padding-block:128px; position:relative; }
.section-night{ background:var(--night); color:var(--bone); }
.section-night2{ background:var(--night-2); color:var(--bone); }
.section-paper2{ background:var(--paper-2); }
.section-night h2, .section-night h3, .section-night2 h2, .section-night2 h3{ color:var(--bone); }
.has-mark{ overflow:hidden; }
.has-mark::before{ content:""; position:absolute; inset-inline-end:-6%; top:50%; translate:0 -50%; width:46%; aspect-ratio:49/59; opacity:.035; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='26 -1 49 59' fill='%23ECE7DD'%3E%3Cpath d='M73.92 56.37 65.21 56.37 40.46 31.61 40.46 22.88 73.92 56.34Z'/%3E%3Cpath d='M56.48 56.37 47.75 56.37 40.46 49.08 40.46 40.35Z'/%3E%3Cpath d='M73.68 29.9 64.95 38.63 60.63 34.31 64.99 29.94 41.23 6.18 33.79 6.18 34.16 56.37 27.99 56.37 27.57 0 43.79 0Z'/%3E%3C/svg%3E") no-repeat center/contain; }

/* reveal */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } html{ scroll-behavior:auto; } .hero-bg,.pd-hero-bg{ animation:none !important; } }

/* ---------- type ---------- */
.display{ font-size:clamp(52px,9vw,136px); font-weight:200; line-height:1.02; letter-spacing:-.01em; }
.display b{ font-weight:700; }
.display-md{ font-size:clamp(40px,6vw,88px); font-weight:200; line-height:1.08; }
.display-md b{ font-weight:700; }
.h-xl{ font-size:clamp(34px,4.4vw,60px); font-weight:300; line-height:1.15; }
.h-xl b{ font-weight:700; }
.h-lg{ font-size:clamp(28px,3vw,40px); font-weight:300; }
.kicker{ display:inline-flex; align-items:center; gap:12px; font-size:14px; font-weight:500; letter-spacing:.06em; color:var(--ink-soft); margin-bottom:22px; text-transform:uppercase; }
.kicker::before{ content:""; width:2px; height:18px; background:var(--sand); }
.kicker.light{ color:var(--bone-dim); }
.lead{ font-size:18px; color:var(--ink-soft); margin-top:24px; font-weight:300; }
.muted{ color:var(--ink-soft); }

.sec-head{ margin-bottom:64px; max-width:760px; }
.sec-head p{ margin-top:16px; font-size:17px; color:var(--ink-soft); font-weight:300; }
.section-night .sec-head p, .section-night2 .sec-head p{ color:var(--bone-dim); }
.sec-head.center{ text-align:center; margin-inline:auto; }
.sec-head.split{ max-width:none; display:grid; grid-template-columns:1.3fr .7fr; gap:48px; align-items:end; }
.sec-head.split p{ margin:0; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:14px 28px; border-radius:100px; font-size:15px; font-weight:500; border:1px solid transparent; transition:all .35s var(--ease); white-space:nowrap; line-height:1.2; }
.btn svg{ width:19px; height:19px; }
.btn-lg{ padding:17px 34px; font-size:16px; }
.btn-sm{ padding:10px 20px; font-size:14px; }
.btn-block{ width:100%; }
.btn-bone{ background:var(--bone); color:var(--night); }
.btn-bone:hover{ background:#fff; }
.btn-ink{ background:var(--night); color:var(--bone); }
.btn-ink:hover{ background:var(--slate); }
.btn-glass{ background:rgba(236,231,221,.08); color:var(--bone); border-color:rgba(236,231,221,.32); backdrop-filter:blur(10px); }
.btn-glass:hover{ background:rgba(236,231,221,.16); border-color:var(--bone); }
.btn-line{ border-color:var(--ink); color:var(--ink); }
.btn-line:hover{ background:var(--ink); color:var(--bone); }
.btn-wa{ background:var(--wa); color:#fff; }
.btn-wa:hover{ background:var(--wa-dark); }
.btn-ghost{ border-color:var(--line-d); color:var(--bone); }
.btn-icon{ padding:0; width:52px; height:52px; }
.btn-icon svg{ width:22px; height:22px; }
/* legacy names used by JS */
.btn-primary{ background:var(--night); color:var(--bone); }
.btn-ghost-light{ border-color:rgba(236,231,221,.32); color:var(--bone); }

/* ---------- badges ---------- */
.badge{ display:inline-flex; align-items:center; gap:8px; padding:7px 15px; border-radius:100px; font-size:13px; font-weight:500; backdrop-filter:blur(8px); }
.badge-for-sale{ background:rgba(30,158,87,.92); color:#fff; }
.badge-for-sale::before{ content:""; width:7px; height:7px; border-radius:50%; background:#fff; animation:pulse 1.8s infinite; }
.badge-sold-out{ background:rgba(18,25,24,.75); color:var(--sand); border:1px solid var(--line-d); }
.badge-under-construction{ background:var(--sand); color:var(--night); }
@keyframes pulse{ 0%,100%{ opacity:1 } 50%{ opacity:.3 } }

/* ---------- navbar (floating pill) ---------- */
.navbar{ position:fixed; inset-inline:0; top:0; z-index:50; height:var(--nav-h); display:flex; align-items:center; color:var(--bone); transition:background .4s, height .4s; }
.navbar.scrolled{ background:rgba(18,25,24,.82); backdrop-filter:blur(14px); height:72px; }
.navbar.solid:not(.is-home){ background:transparent; }
.navbar.solid.scrolled{ background:rgba(18,25,24,.82); }
.nav-inner{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:24px; width:100%; }
.brand{ display:flex; align-items:center; gap:12px; justify-self:start; }
.brand-mark svg{ width:30px; height:36px; }
.brand-mark{ color:var(--sand); }
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-text b{ font-size:21px; font-weight:600; }
.brand-text small{ font-size:9.5px; letter-spacing:.42em; opacity:.6; font-family:'IBM Plex Sans Arabic',sans-serif; }
.nav-links{ display:flex; align-items:center; gap:4px; padding:6px; border-radius:100px; border:1px solid rgba(236,231,221,.24); background:rgba(18,25,24,.25); backdrop-filter:blur(12px); }
.nav-links a{ font-size:14.5px; font-weight:400; padding:9px 18px; border-radius:100px; color:var(--bone-dim); transition:all .3s; }
.nav-links a:hover{ color:var(--bone); }
.nav-links a.active{ background:var(--bone); color:var(--night); font-weight:500; }
.nav-actions{ display:flex; align-items:center; gap:10px; justify-self:end; }
.lang-toggle{ width:42px; height:42px; border-radius:50%; border:1px solid rgba(236,231,221,.32); font-weight:500; font-size:14px; color:var(--bone); transition:background .3s; }
.lang-toggle:hover{ background:rgba(236,231,221,.12); }
.mobile-menu .lang-toggle{ width:auto; height:auto; border-radius:100px; }
.nav-burger{ display:none; width:44px; height:44px; flex-direction:column; justify-content:center; align-items:center; gap:6px; border:1px solid rgba(236,231,221,.32); border-radius:50%; }
.nav-burger span{ width:18px; height:1.5px; background:currentColor; }
.mobile-menu{ position:fixed; inset:0; z-index:80; background:var(--night); color:var(--bone); display:flex; flex-direction:column; padding:100px 32px 32px; transform:translateY(-100%); transition:transform .5s var(--ease); }
.mobile-menu.open{ transform:none; }
.mobile-menu > a{ font-size:34px; font-weight:200; padding:10px 0; border-bottom:1px solid var(--line-d); }
.mobile-menu > a.active{ font-weight:600; color:var(--sand); }
.mobile-close{ position:absolute; top:22px; inset-inline-end:22px; width:46px; height:46px; display:grid; place-items:center; border:1px solid var(--line-d); border-radius:50%; }
.mobile-menu-actions{ display:flex; flex-direction:column; gap:12px; margin-top:auto; }

/* ---------- hero ---------- */
.hero{ position:relative; min-height:100vh; min-height:100svh; display:flex; flex-direction:column; color:var(--bone); overflow:hidden; background:var(--night); padding-bottom:36px; }
.hero-bg, .pd-hero-bg{ position:absolute; inset:-2%; background-size:cover; background-position:center; animation:kenburns 22s ease-out forwards; }
@keyframes kenburns{ from{ transform:scale(1.12); } to{ transform:scale(1); } }
.hero-shade{ position:absolute; inset:0; background:
  radial-gradient(120% 80% at 50% 40%, rgba(18,25,24,.25), rgba(18,25,24,.85) 75%),
  linear-gradient(to top, rgba(18,25,24,1) 0%, rgba(18,25,24,0) 40%); }
.hero-inner{ position:relative; flex:1; text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:center; padding-top:calc(var(--nav-h) + 32px); padding-bottom:48px; }
.hero .kicker{ justify-content:center; }
.hero-alt{ font-size:clamp(14px,1.6vw,20px); letter-spacing:.42em; font-weight:300; color:var(--sand); margin-top:18px; }
html[lang="en"] .hero-alt{ letter-spacing:0; }
.hero-text{ font-size:clamp(16px,1.5vw,19px); font-weight:300; max-width:620px; color:var(--bone-dim); margin-top:26px; }
.hero-actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:40px; }
.hero-foot{ position:relative; display:flex; justify-content:center; align-items:flex-end; }
.hero-chips{ display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.chip{ display:flex; align-items:center; gap:14px; padding:8px; padding-inline-end:18px; border-radius:100px; background:rgba(236,231,221,.08); border:1px solid rgba(236,231,221,.2); backdrop-filter:blur(14px); transition:background .3s; }
.chip:hover{ background:rgba(236,231,221,.16); }
.chip img{ width:48px; height:48px; border-radius:50%; object-fit:cover; }
.chip span{ display:flex; flex-direction:column; line-height:1.35; }
.chip b{ font-weight:600; font-size:15px; }
.chip small{ font-size:12.5px; color:var(--bone-dim); }
.chip > svg{ width:18px; height:18px; opacity:.7; }
.scroll-cue{ display:none; flex-direction:column; align-items:center; gap:10px; font-size:12px; letter-spacing:.2em; color:var(--bone-dim); }
.scroll-cue i{ width:1px; height:46px; background:linear-gradient(var(--bone), transparent); animation:cue 2.2s infinite; transform-origin:top; }
@keyframes cue{ 0%{ transform:scaleY(0); } 50%{ transform:scaleY(1); } 100%{ transform:scaleY(1); opacity:0; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero{ background:var(--night); color:var(--bone); padding:calc(var(--nav-h) + 96px) 0 96px; position:relative; overflow:hidden; }
.page-hero::after{ content:""; position:absolute; inset-inline-end:-4%; bottom:-30%; width:34%; aspect-ratio:49/59; opacity:.04;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='26 -1 49 59' fill='%23ECE7DD'%3E%3Cpath d='M73.92 56.37 65.21 56.37 40.46 31.61 40.46 22.88 73.92 56.34Z'/%3E%3Cpath d='M56.48 56.37 47.75 56.37 40.46 49.08 40.46 40.35Z'/%3E%3Cpath d='M73.68 29.9 64.95 38.63 60.63 34.31 64.99 29.94 41.23 6.18 33.79 6.18 34.16 56.37 27.99 56.37 27.57 0 43.79 0Z'/%3E%3C/svg%3E") no-repeat center/contain; }
.page-hero p{ color:var(--bone-dim); margin-top:22px; font-size:18px; font-weight:300; max-width:640px; }
.crumb{ display:flex; gap:10px; font-size:13.5px; color:var(--bone-dim); margin-bottom:26px; flex-wrap:wrap; }
.crumb a:hover{ color:var(--bone); }

/* ---------- intro ---------- */
.intro-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:96px; align-items:center; }
.intro-media{ position:relative; }
.intro-media img{ width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:var(--r); }
.intro-media figcaption{ position:absolute; bottom:22px; inset-inline-start:22px; font-size:11px; letter-spacing:.3em; color:var(--bone); background:rgba(18,25,24,.55); backdrop-filter:blur(8px); padding:8px 14px; border-radius:100px; }
.stats{ display:grid; grid-template-columns:repeat(4,1fr); margin-top:56px; border-top:1px solid var(--line); }
.stat{ padding:24px 0 0; padding-inline-end:16px; }
.stat + .stat{ padding-inline-start:20px; border-inline-start:1px solid var(--line); }
.stat b{ display:block; font-size:clamp(32px,3.2vw,48px); font-weight:200; line-height:1; color:var(--ink); }
.stat span{ display:block; margin-top:10px; font-size:14px; color:var(--ink-soft); }

/* ---------- showcase panels (available projects) ---------- */
.showcase{ display:flex; flex-direction:column; gap:40px; }
.panel{ display:grid; grid-template-columns:1.35fr 1fr; background:var(--night-2); border:1px solid var(--line-d); border-radius:24px; overflow:hidden; color:var(--bone); }
.section-night2 .panel{ background:var(--night-3); }
.panel.flip .panel-media{ order:2; }
.panel-media{ position:relative; min-height:460px; overflow:hidden; display:block; }
.panel-media > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease); }
.panel:hover .panel-media > img{ transform:scale(1.04); }
.panel-media .badge{ position:absolute; top:22px; inset-inline-start:22px; }
.panel-thumbs{ position:absolute; bottom:18px; inset-inline-end:18px; display:flex; gap:8px; }
.panel-thumbs img{ width:78px; height:60px; object-fit:cover; border-radius:10px; border:2px solid rgba(236,231,221,.5); }
.panel-body{ position:relative; padding:48px 44px; display:flex; flex-direction:column; }
.panel-num{ position:absolute; top:18px; inset-inline-end:30px; font-size:120px; font-weight:200; line-height:1; color:transparent; -webkit-text-stroke:1px rgba(236,231,221,.18); }
.panel-loc{ display:inline-flex; align-items:center; gap:8px; color:var(--sand); font-size:14px; }
.panel-loc svg{ width:16px; height:16px; }
.panel h3{ font-size:clamp(34px,3.4vw,48px); font-weight:300; margin:10px 0 14px; color:var(--bone); }
.panel-body > p{ color:var(--bone-dim); font-size:15.5px; font-weight:300; max-width:440px; }
.panel-specs{ display:grid; grid-template-columns:1fr 1fr; margin:32px 0 36px; border-top:1px solid var(--line-d); }
.panel-specs > div{ padding:16px 0; border-bottom:1px solid var(--line-d); }
.panel-specs > div:nth-child(even){ padding-inline-start:18px; border-inline-start:1px solid var(--line-d); }
.panel-specs > div:last-child:nth-child(odd){ grid-column:1 / -1; }
.panel-specs dt{ font-size:12.5px; color:var(--bone-dim); margin-bottom:4px; }
.panel-specs dd{ font-size:16px; font-weight:500; }
.panel-specs .avail{ color:#7FD6A2; }
.panel .price b{ color:var(--bone); }
.panel .price small{ color:var(--bone-dim); }
.price b{ font-size:20px; font-weight:600; }
.price small{ font-size:13px; color:var(--ink-soft); }
.price.on-request{ font-size:16px; font-weight:500; color:var(--sand-deep, #A88D5C); }
.panel .price.on-request{ color:var(--sand); }
.panel-actions{ display:flex; gap:12px; margin-top:auto; }
.panel-actions .btn-bone{ flex:1; }

/* ---------- pillars ---------- */
.pillars{ display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line-d); border-bottom:1px solid var(--line-d); position:relative; }
.pillar{ padding:44px 32px 48px; }
.pillar + .pillar{ border-inline-start:1px solid var(--line-d); }
.pillar-n{ font-size:13px; letter-spacing:.2em; color:var(--sand); }
.pillar h3{ font-size:26px; font-weight:500; margin:18px 0 12px; }
.pillar p{ color:var(--bone-dim); font-size:15px; font-weight:300; min-height:52px; }
.pillar ul{ margin-top:26px; display:flex; flex-direction:column; gap:12px; }
.pillar li{ display:flex; align-items:center; gap:12px; font-size:15px; }
.pillar li svg{ width:22px; height:22px; color:var(--sand); }

/* features grid (project page) */
.feat-grid{ display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line-d); max-width:1040px; margin-inline:auto; position:relative; }
.feat{ display:flex; align-items:center; gap:18px; padding:26px 22px; border-bottom:1px solid var(--line-d); font-size:18px; font-weight:400; color:var(--bone); }
.feat:not(:nth-child(3n+1)){ border-inline-start:1px solid var(--line-d); }
.feat-ic{ width:52px; height:52px; border-radius:50%; border:1px solid rgba(212,197,169,.4); color:var(--sand); display:grid; place-items:center; flex-shrink:0; }
.feat-ic svg{ width:24px; height:24px; }

/* ---------- warranties (editorial rows) ---------- */
.warranty{ display:grid; grid-template-columns:1fr 1fr; column-gap:64px; border-top:1px solid var(--ink); }
.w-row{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:26px 0; border-bottom:1px solid var(--line); }
.w-label{ font-size:19px; font-weight:400; }
.w-years{ display:flex; align-items:baseline; gap:8px; }
.w-years b{ font-size:clamp(40px,4vw,58px); font-weight:200; line-height:1; }
.w-years small{ font-size:14px; color:var(--ink-soft); }
.aftersales{ margin-top:80px; display:grid; grid-template-columns:.6fr 1.4fr; gap:48px; align-items:start; }
.aftersales h3{ font-size:30px; font-weight:300; }
.as-list{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; counter-reset:as; border-top:1px solid var(--line); }
.as-list li{ counter-increment:as; padding:22px 18px 0; display:flex; flex-direction:column; gap:14px; font-size:15px; }
.as-list li + li{ border-inline-start:1px solid var(--line); }
.as-list li::before{ content:"0" counter(as); font-size:12px; letter-spacing:.2em; color:var(--muted); }
.as-ic{ width:44px; height:44px; border-radius:50%; background:var(--night); color:var(--sand); display:grid; place-items:center; }

/* ---------- previous work ---------- */
.pgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.pcard{ position:relative; display:block; }
.pcard-media{ position:relative; aspect-ratio:4/5; overflow:hidden; border-radius:var(--r); background:var(--night); }
.pcard-media img{ width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.05); transition:filter .8s var(--ease), transform 1.2s var(--ease); }
.pcard:hover .pcard-media img{ filter:none; transform:scale(1.04); }
.pcard-tag{ position:absolute; top:16px; inset-inline-start:16px; padding:6px 14px; border-radius:100px; font-size:12.5px; background:rgba(18,25,24,.7); color:var(--sand); backdrop-filter:blur(8px); }
.pcard-body{ padding:20px 4px 0; }
.pcard h3{ font-size:26px; font-weight:400; }
.pcard-body span{ display:block; margin-top:4px; color:var(--ink-soft); font-size:14.5px; }
.pcard-arrow{ position:absolute; bottom:6px; inset-inline-end:4px; width:44px; height:44px; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; transition:all .3s; }
.pcard:hover .pcard-arrow{ background:var(--night); color:var(--bone); border-color:var(--night); }
.ph{ width:100%; height:100%; min-height:240px; display:flex; flex-direction:column; gap:14px; align-items:center; justify-content:center; color:var(--sage); background:var(--night-2); font-size:15px; }
.ph svg{ width:58px; height:70px; opacity:.35; }

/* ---------- big CTA ---------- */
.cta-hero{ position:relative; overflow:hidden; background:var(--night); color:var(--bone); padding-block:160px; text-align:center; }
.cta-bg{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:.28; filter:grayscale(.3); }
.cta-hero::after{ content:""; position:absolute; inset:0; background:radial-gradient(70% 70% at 50% 50%, rgba(18,25,24,.2), var(--night)); }
.cta-inner{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; }
.cta-inner p{ max-width:560px; margin-top:24px; color:var(--bone-dim); font-size:18px; font-weight:300; }
.cta-actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:40px; }

/* ---------- project detail ---------- */
.pd-hero{ position:relative; min-height:100vh; min-height:100svh; display:flex; flex-direction:column; justify-content:flex-end; background:var(--night); color:var(--bone); overflow:hidden; }
.pd-hero-inner{ position:relative; padding-top:calc(var(--nav-h) + 60px); padding-bottom:56px; }
.pd-hero .badge{ margin-bottom:22px; }
.pd-hero .display b{ color:var(--sand); }
.pd-hero .hero-alt{ letter-spacing:.32em; font-size:14px; }
.pd-hero .hero-text{ max-width:560px; }
.pd-hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:36px; }
.facts-row{ position:relative; display:flex; flex-wrap:wrap; border-top:1px solid var(--line-d); margin-bottom:8px; }
.fact{ flex:1 1 150px; padding:22px 0; padding-inline-end:20px; }
.fact + .fact{ padding-inline-start:22px; border-inline-start:1px solid var(--line-d); }
.fact small{ display:block; font-size:12.5px; color:var(--bone-dim); margin-bottom:4px; }
.fact b{ font-size:20px; font-weight:500; white-space:nowrap; }
.fact .avail{ color:#7FD6A2; }
.fact.hl .price b{ color:var(--bone); font-size:24px; }
.fact.hl .price small{ color:var(--bone-dim); }
.fact.hl .on-request{ color:var(--sand); font-size:18px; }

.pd-tabs{ position:sticky; top:72px; z-index:40; padding:14px 0; background:rgba(246,244,239,.9); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.tabs-pill{ display:inline-flex; gap:4px; padding:5px; border-radius:100px; background:var(--paper-2); overflow-x:auto; max-width:100%; scrollbar-width:none; }
.tabs-pill::-webkit-scrollbar{ display:none; }
.tabs-pill a{ padding:9px 20px; border-radius:100px; font-size:14.5px; color:var(--ink-soft); white-space:nowrap; transition:all .3s; }
.tabs-pill a:hover{ color:var(--ink); }
.tabs-pill a.active{ background:var(--night); color:var(--bone); }

.pd-intro{ display:grid; grid-template-columns:.85fr 1.15fr; gap:72px; align-items:start; }
.pd-about h2{ margin-bottom:22px; }
.pd-about p{ color:var(--ink-soft); font-size:16.5px; font-weight:300; }
.pd-links{ display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.sold-note{ margin-top:28px; padding:18px 22px; border-radius:var(--r-sm); border:1px solid var(--line); color:var(--ink) !important; }

.gallery{ display:grid; gap:12px; grid-template-columns:repeat(4,1fr); }
.gallery .g-item{ position:relative; border-radius:14px; overflow:hidden; aspect-ratio:4/3; }
.gallery .g-item img{ width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease); }
.gallery .g-item:hover img{ transform:scale(1.05); }
.gallery .g-item:first-child{ grid-column:1 / -1; aspect-ratio:16/10; border-radius:var(--r); }
.gallery.g-3 .g-item:nth-child(n+2){ grid-column:span 2; }
.gallery.g-4{ grid-template-columns:repeat(3,1fr); }
.gallery.g-2 .g-item:nth-child(2){ grid-column:1 / -1; }
.gallery.empty{ display:block; }
.gallery.empty .ph{ border-radius:var(--r); min-height:420px; }
.g-more{ position:absolute; inset:0; display:grid; place-items:center; background:rgba(18,25,24,.55); color:#fff; font-size:26px; font-weight:300; }

/* units */
#units{ background:var(--paper-2); }
.units-head{ max-width:none; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:24px; }
.units-head h2{ font-size:clamp(34px,4.4vw,60px); font-weight:300; }
.units-head p{ max-width:520px; }
.units-toolbar{ display:flex; flex-direction:column; align-items:flex-end; gap:14px; }
html[dir="rtl"] .units-toolbar{ align-items:flex-start; }
.u-summary{ display:flex; align-items:center; gap:8px; font-size:15px; flex-wrap:wrap; }
.u-summary .dot{ width:9px; height:9px; border-radius:50%; margin-inline-start:12px; }
.u-summary .dot:first-child{ margin-inline-start:0; }
.dot-available{ background:var(--ok); } .dot-reserved{ background:var(--warn); } .dot-sold{ background:var(--sold); }
.u-filter{ display:inline-flex; background:var(--paper); border:1px solid var(--line); border-radius:100px; padding:4px; }
.uf-btn{ padding:9px 20px; border-radius:100px; font-size:14px; color:var(--ink-soft); }
.uf-btn.active{ background:var(--night); color:var(--bone); }

.villas{ display:flex; flex-direction:column; gap:32px; }
.villa{ background:var(--paper); border-radius:24px; overflow:hidden; border:1px solid var(--line); }
.villa-head{ display:flex; align-items:baseline; gap:16px; padding:22px 30px; border-bottom:1px solid var(--line); }
.villa-head h3{ font-size:26px; font-weight:300; }
.villa-sub{ font-size:13.5px; color:var(--muted); }
.villa-av{ margin-inline-start:auto; align-self:center; padding:6px 14px; border-radius:100px; background:var(--ok-bg); color:var(--ok); font-size:13px; font-weight:500; }
.villa-av.none{ background:var(--sold-bg); color:var(--sold); }
.unit-list{ display:flex; flex-direction:column; }
.unit{ border-top:1px solid var(--line); }
.unit:first-child{ border-top:0; }
.unit.closed{ display:flex; align-items:center; gap:16px; padding:15px 30px; color:var(--muted); }
.unit-no{ font-size:14px; font-weight:500; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--line); color:var(--muted); }
.unit-floor{ font-size:15px; }
.ustatus{ display:inline-flex; align-items:center; gap:6px; padding:5px 13px; border-radius:100px; font-size:13px; font-weight:500; margin-inline-start:auto; }
.ustatus svg{ width:14px; height:14px; }
.ustatus-available{ background:var(--ok-bg); color:var(--ok); }
.ustatus-reserved{ background:var(--warn-bg); color:var(--warn); }
.ustatus-sold{ background:var(--sold-bg); color:var(--sold); }
.villas.only-available .unit.closed, .villas.only-available .villa.no-available{ display:none; }

.unit.available{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); }
.unit-plan{ position:relative; background:#fff; display:flex; align-items:center; justify-content:center; padding:24px; min-height:340px; border-inline-end:1px solid var(--line); }
.unit-plan img{ max-height:380px; width:100%; object-fit:contain; border-radius:10px; transition:transform .6s var(--ease); }
.unit-plan:hover img{ transform:scale(1.02); }
.plan-zoom{ position:absolute; bottom:16px; inset-inline-start:16px; display:inline-flex; gap:7px; align-items:center; padding:8px 14px; border-radius:100px; background:var(--night); color:var(--bone); font-size:13px; }
.plan-zoom svg{ width:15px; height:15px; }
.unit-body{ padding:30px 32px; display:flex; flex-direction:column; gap:20px; }
.unit-top{ display:flex; align-items:center; gap:16px; }
.unit-no.big{ width:56px; height:56px; font-size:20px; font-weight:300; border:1px solid var(--ink); color:var(--ink); }
.unit-title{ display:flex; flex-direction:column; line-height:1.35; }
.unit-title b{ font-size:21px; font-weight:500; }
.unit-title small{ color:var(--ink-soft); font-size:14px; }
.unit-price{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:18px 0; border-block:1px solid var(--line); }
.unit-price > small{ color:var(--ink-soft); font-size:14px; }
.unit-price .price b{ font-size:30px; font-weight:300; }
.unit-price .on-request{ color:#A88D5C; }
.unit-areas{ display:grid; grid-template-columns:repeat(3,1fr); }
.unit-areas div + div{ padding-inline-start:16px; border-inline-start:1px solid var(--line); }
.unit-areas small{ display:block; font-size:12.5px; color:var(--muted); }
.unit-areas b{ font-size:22px; font-weight:300; }
.unit-areas i{ font-style:normal; font-size:12px; color:var(--ink-soft); margin-inline-start:3px; }
.unit-rooms{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.room{ display:flex; flex-direction:column; align-items:center; gap:2px; padding:12px 6px; border-radius:14px; background:var(--paper-2); text-align:center; }
.room svg{ width:22px; height:22px; color:var(--slate); }
.room b{ font-size:18px; font-weight:500; line-height:1.3; }
.room small{ font-size:12px; color:var(--ink-soft); }
.unit-extras{ display:flex; flex-wrap:wrap; gap:8px; }
.unit-extras li{ padding:5px 13px; border-radius:100px; border:1px solid var(--line); font-size:13px; color:var(--ink-soft); }
.unit-cta{ margin-top:auto; }

/* location */
.loc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.loc-grid h2{ font-size:clamp(34px,4vw,54px); font-weight:300; }
.loc-grid .kicker svg{ width:16px; height:16px; }
.loc-grid .muted{ margin-top:12px; font-size:14px; }
.nearby{ display:grid; grid-template-columns:1fr 1fr; gap:28px 36px; margin:36px 0; }
.nb-group h4{ display:flex; align-items:center; gap:10px; font-size:15px; font-weight:500; margin-bottom:10px; }
.nb-group h4 svg{ color:#A88D5C; }
.nb-group li{ display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
.nb-group li b{ white-space:nowrap; font-weight:500; }
.nb-group li b small{ color:var(--muted); font-weight:400; }
.map-wrap{ border-radius:var(--r); overflow:hidden; background:var(--paper-2); position:sticky; top:160px; }
.map-wrap iframe{ display:block; width:100%; height:560px; border:0; filter:grayscale(.6) contrast(1.05); }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.2fr .8fr; gap:56px; align-items:start; }
.contact-form{ display:flex; flex-direction:column; gap:22px; }
.contact-form h2{ font-size:clamp(28px,3vw,40px); font-weight:300; margin-bottom:6px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.field{ display:flex; flex-direction:column; gap:8px; font-size:13.5px; color:var(--ink-soft); }
.field input, .field select, .field textarea{ font:inherit; font-size:17px; color:var(--ink); padding:12px 0; border:0; border-bottom:1px solid rgba(20,27,26,.28); background:transparent; border-radius:0; transition:border-color .2s; }
.field select{ appearance:none; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23141B1A' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat; background-position:left 4px center; }
html[dir="ltr"] .field select{ background-position:right 4px center; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--ink); }
.field textarea{ resize:vertical; }
.form-note{ font-size:13px; color:var(--muted); text-align:center; }
.direct h3{ font-size:22px; font-weight:400; margin-bottom:18px; }
.direct-list{ display:flex; flex-direction:column; border-top:1px solid var(--line); }
.dcard{ display:flex; align-items:center; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); transition:padding .3s; }
a.dcard:hover{ padding-inline-start:8px; }
.dc-ic{ width:46px; height:46px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--line); color:var(--slate); }
.dcard-wa .dc-ic{ background:var(--wa); color:#fff; border-color:var(--wa); }
.dcard small{ display:block; font-size:12.5px; color:var(--muted); }
.dcard b{ font-size:17px; font-weight:500; }
.dc-social{ padding:20px 0; }
.dc-social small{ color:var(--muted); }
.social-row{ display:flex; gap:10px; margin-top:12px; }
.social-row a{ width:42px; height:42px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--line-d); transition:background .2s; }
.social-row a:hover{ background:rgba(236,231,221,.1); }
.social-row.dark a{ border-color:var(--line); color:var(--ink); }
.social-row svg{ width:17px; height:17px; }

/* ---------- footer ---------- */
.site-footer{ background:var(--night); color:var(--bone-dim); padding-bottom:28px; border-top:1px solid var(--line-d); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr .8fr 1.1fr; gap:48px; padding-block:88px 32px; }
.brand-light{ color:var(--bone); }
.footer-brand p{ margin-top:20px; font-size:14.5px; max-width:320px; font-weight:300; }
.site-footer h5{ color:var(--bone); font-size:14px; font-weight:500; letter-spacing:.06em; margin-bottom:18px; }
.footer-links{ display:flex; flex-direction:column; gap:10px; font-size:14.5px; }
.footer-links a:hover{ color:var(--bone); }
.footer-links em{ font-style:normal; font-size:11px; color:#7FD6A2; margin-inline-start:6px; }
.footer-contact{ display:flex; flex-direction:column; gap:12px; font-size:14.5px; }
.footer-contact li{ display:flex; gap:10px; align-items:center; }
.footer-contact svg{ width:16px; height:16px; color:var(--sand); }
.footer-contact a:hover{ color:var(--bone); }
.wordmark{ font-size:clamp(80px,19vw,290px); font-weight:700; line-height:.8; letter-spacing:-.02em; text-align:center; color:transparent; -webkit-text-stroke:1px rgba(236,231,221,.12); user-select:none; padding-block:20px 10px; direction:ltr; }
.footer-bottom{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:22px; border-top:1px solid var(--line-d); font-size:13px; }

/* floating WhatsApp + mobile bar */
.wa-fab{ position:fixed; bottom:28px; inset-inline-end:28px; z-index:45; width:60px; height:60px; border-radius:50%; background:var(--wa); color:#fff; display:grid; place-items:center; box-shadow:0 14px 30px -12px rgba(30,158,87,.8); transition:transform .3s; }
.wa-fab:hover{ transform:scale(1.07); }
.wa-fab svg{ width:28px; height:28px; }
.mobile-bar{ display:none; }

/* ---------- lightbox ---------- */
.lightbox{ position:fixed; inset:0; z-index:100; background:rgba(12,17,17,.96); display:none; align-items:center; justify-content:center; padding:60px 76px; }
.lightbox.open{ display:flex; }
.lightbox figure{ max-width:100%; max-height:100%; display:flex; flex-direction:column; align-items:center; gap:14px; }
.lightbox img{ max-width:100%; max-height:calc(100vh - 140px); object-fit:contain; border-radius:10px; background:#fff; }
.lightbox figcaption{ color:var(--bone-dim); font-size:14px; }
.lb-btn{ position:absolute; width:52px; height:52px; border-radius:50%; border:1px solid var(--line-d); color:var(--bone); display:grid; place-items:center; }
.lb-btn:hover{ background:rgba(236,231,221,.1); }
.lb-close{ top:18px; inset-inline-end:18px; }
.lb-prev{ left:16px; top:50%; translate:0 -50%; }
.lb-next{ right:16px; top:50%; translate:0 -50%; }
.lightbox.single .lb-prev, .lightbox.single .lb-next{ display:none; }

/* =================== responsive =================== */
@media (max-width:1180px){
  .nav-links a{ padding:9px 13px; font-size:14px; }
  .pillars{ grid-template-columns:1fr 1fr; }
  .pillar:nth-child(3){ border-inline-start:0; }
  .pillar:nth-child(n+3){ border-top:1px solid var(--line-d); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .as-list{ grid-template-columns:repeat(3,1fr); row-gap:24px; }
  .aftersales{ grid-template-columns:1fr; gap:28px; }
}
@media (max-width:980px){
  :root{ --nav-h:72px; }
  .nav-inner{ grid-template-columns:1fr auto; }
  .nav-links, .nav-wa{ display:none; }
  .nav-burger{ display:flex; }
  .section{ padding-block:88px; }
  .sec-head.split{ grid-template-columns:1fr; gap:16px; }
  .intro-grid, .pd-intro, .loc-grid, .contact-grid{ grid-template-columns:1fr; gap:48px; }
  .intro-media img{ aspect-ratio:4/3; }
  .panel, .panel.flip{ grid-template-columns:1fr; }
  .panel.flip .panel-media{ order:0; }
  .panel-media{ min-height:0; aspect-ratio:16/10; }
  .pgrid{ grid-template-columns:1fr 1fr; }
  .warranty{ grid-template-columns:1fr; }
  .unit.available{ grid-template-columns:1fr; }
  .unit-plan{ border-inline-end:0; border-bottom:1px solid var(--line); min-height:240px; }
  .map-wrap{ position:static; }
  .map-wrap iframe{ height:400px; }
  .feat-grid{ grid-template-columns:1fr 1fr; }
  .feat:not(:nth-child(3n+1)){ border-inline-start:0; }
  .feat:nth-child(even){ border-inline-start:1px solid var(--line-d); }
}
@media (max-width:640px){
  html{ scroll-padding-top:130px; }
  body{ padding-bottom:62px; }
  .container{ padding-inline:20px; }
  .section{ padding-block:72px; }
  .sec-head{ margin-bottom:40px; }
  .display{ font-size:clamp(52px,16vw,76px); }
  .hero-alt{ letter-spacing:.24em; font-size:12.5px; }
  .hero-inner{ padding-bottom:36px; }
  .hero-actions{ width:100%; }
  .hero-actions .btn, .hero-actions > span, .hero-actions > span .btn{ flex:1; width:100%; }
  .hero-chips{ flex-direction:column; width:100%; }
  .chip{ width:100%; }
  .chip > svg{ margin-inline-start:auto; }
  .scroll-cue{ display:none; }
  .stats{ grid-template-columns:1fr 1fr; }
  .stat:nth-child(3){ padding-inline-start:0; border-inline-start:0; }
  .stat:nth-child(n+3){ border-top:1px solid var(--line); margin-top:20px; }
  .panel-body{ padding:30px 22px; }
  .panel-num{ font-size:80px; top:14px; inset-inline-end:18px; }
  .panel-thumbs{ display:none; }
  .pillars{ grid-template-columns:1fr; }
  .pillar{ padding:32px 4px; }
  .pillar + .pillar{ border-inline-start:0; border-top:1px solid var(--line-d); }
  .pillar p{ min-height:0; }
  .pgrid{ grid-template-columns:1fr; }
  .pcard-media{ aspect-ratio:4/3; }
  .w-row{ padding:18px 0; }
  .w-label{ font-size:16px; }
  .as-list{ grid-template-columns:1fr 1fr; }
  .as-list li{ padding-inline:12px; }
  .as-list li:nth-child(odd){ border-inline-start:0; padding-inline-start:0; }
  .cta-hero{ padding-block:110px; }
  .cta-actions{ width:100%; } .cta-actions .btn{ flex:1; }
  .pd-hero-inner{ padding-bottom:28px; }
  .pd-hero-actions .btn, .pd-hero-actions > a{ flex:1; }
  .fact{ flex:1 1 45%; padding:14px 0; }
  .fact + .fact{ padding-inline-start:0; border-inline-start:0; }
  .fact:nth-child(even){ padding-inline-start:16px; border-inline-start:1px solid var(--line-d); }
  .facts-row .fact{ border-bottom:1px solid var(--line-d); }
  .pd-tabs{ top:72px; padding:10px 0; }
  .units-toolbar, html[dir="rtl"] .units-toolbar{ align-items:stretch; width:100%; }
  .u-filter{ align-self:flex-start; }
  .villa-head{ padding:16px 20px; flex-wrap:wrap; gap:4px 12px; }
  .villa-sub{ order:3; width:100%; }
  .unit.closed{ padding:12px 20px; }
  .unit-body{ padding:22px 20px; }
  .unit-areas b{ font-size:18px; }
  .unit-areas div + div{ padding-inline-start:10px; }
  .unit-rooms{ gap:6px; }
  .room small{ font-size:11px; }
  .nearby{ grid-template-columns:1fr; }
  .feat-grid{ grid-template-columns:1fr; }
  .feat:nth-child(even){ border-inline-start:0; }
  .feat{ padding:18px 4px; font-size:16px; }
  .form-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; padding-block:64px 24px; }
  .wa-fab{ display:none; }
  .mobile-bar{ display:grid; grid-template-columns:1fr 2fr; position:fixed; inset-inline:0; bottom:0; z-index:45; background:var(--night); border-top:1px solid var(--line-d); }
  .mobile-bar a{ display:flex; align-items:center; justify-content:center; gap:8px; padding:16px 10px; font-weight:500; }
  .mb-call{ color:var(--bone); }
  .mb-wa{ background:var(--wa); color:#fff; }
  .lightbox{ padding:60px 10px; }
  .lb-prev, .lb-next{ top:auto; bottom:14px; translate:none; }
}
