/* =========================================================
   3A9ARATKOM — design system
   navy (brand) · warm paper · sand · bronze-gold
   ========================================================= */
:root {
  --ink: #081D2C;          /* deepest navy-charcoal */
  --navy: #052A44;         /* brand navy (logo) */
  --navy-2: #0C3756;
  --paper: #F7F3EC;        /* warm white */
  --paper-2: #FBF9F5;
  --sand: #ECE4D6;         /* soft beige */
  --sand-2: #E2D7C4;
  --stone: #6E6A62;        /* muted text */
  --text: #16212B;
  --gold: #B08A52;         /* bronze */
  --gold-2: #D6B67C;       /* light gold */
  --gold-grad: linear-gradient(180deg, #DDBE85 0%, #B08A52 100%);
  --line: rgba(8, 29, 44, .12);
  --line-light: rgba(247, 243, 236, .18);
  --wa: #1FAF5A;

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

  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --r: 2px;
  --r-lg: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr-h: 76px;
  color-scheme: light;
}
html[lang="ar"] {
  --f-display: "El Messiri", "IBM Plex Sans Arabic", serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-label: "IBM Plex Sans Arabic", "Montserrat", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ar"] body { font-size: 17px; line-height: 1.8; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-2); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -60px; inset-inline-start: 16px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.ico { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--stone); }

/* ---------- type ---------- */
.h1 { font: 500 clamp(40px, 6.4vw, 92px)/1.02 var(--f-display); letter-spacing: -.015em; text-wrap: balance; }
.h2 { font: 500 clamp(32px, 4.2vw, 60px)/1.06 var(--f-display); letter-spacing: -.01em; text-wrap: balance; }
.h3 { font: 500 clamp(24px, 2.4vw, 34px)/1.15 var(--f-display); }
.h4 { font: 600 clamp(20px, 1.8vw, 24px)/1.25 var(--f-display); }
html[lang="ar"] .h1 { font-size: clamp(36px, 5.4vw, 76px); line-height: 1.2; letter-spacing: 0; font-weight: 600; }
html[lang="ar"] .h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.25; letter-spacing: 0; font-weight: 600; }
html[lang="ar"] .h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; font-weight: 600; }
.eyebrow {
  font: 600 11.5px/1.4 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; font-weight: 500; }
.eyebrow--light { color: var(--gold-2); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--stone); max-width: 62ch; margin-top: 22px; }
.lead--light { color: rgba(247, 243, 236, .78); }
.body-l { font-size: 17px; color: var(--stone); max-width: 58ch; margin-top: 22px; }

/* ---------- buttons ---------- */
.btn {
  --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: var(--r); border: 1px solid transparent;
  font: 600 13px/1.2 var(--f-label); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 15px; font-weight: 600; }
.btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
[dir="rtl"] .btn .ico[class] use[href="#i-arrow"] { }
.btn--lg { --h: 58px; padding: 0 30px; }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--navy); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--gold-2); }
.btn--line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--ghost-light { border-color: rgba(247, 243, 236, .4); color: var(--paper); background: rgba(8, 29, 44, .12); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178c48; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding-block: 8px; border-bottom: 1px solid currentColor; }
html[lang="ar"] .link-arrow { letter-spacing: 0; font-size: 15px; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow--light { color: var(--paper); }
[dir="rtl"] .ico use[href="#i-arrow"] { transform: scaleX(-1); transform-origin: center; }
[dir="rtl"] .btn:hover .ico:last-child, [dir="rtl"] .link-arrow:hover .ico { transform: translateX(-4px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.link-btn { font: 600 12px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); text-decoration: underline; text-underline-offset: 4px; }
.circle { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--paper); display: grid; place-items: center; transition: background .3s; }
.circle:hover { background: var(--paper); color: var(--ink); }
.circle:first-child .ico { transform: scaleX(-1); }
[dir="rtl"] .circle:first-child .ico { transform: none; }
[dir="rtl"] .circle:last-child .ico { transform: scaleX(-1); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr-h); background: rgba(247, 243, 236, .92); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); transition: background .4s, border-color .4s, color .4s, transform .4s var(--ease); }
.hdr__in { height: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); display: flex; align-items: center; gap: 28px; }
.hdr--over { position: fixed; inset-inline: 0; background: transparent; border-color: transparent; color: var(--paper); backdrop-filter: none; }
.hdr--over.is-solid { background: rgba(247, 243, 236, .94); color: var(--ink); border-color: var(--line); backdrop-filter: blur(14px) saturate(1.2); }
.hdr.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.brand img { width: 34px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font: 700 19px/1 var(--f-label); letter-spacing: .02em; color: currentColor; }
.hdr:not(.hdr--over) .brand__txt b, .hdr--over.is-solid .brand__txt b { color: var(--navy); }
.brand__txt small { font: 500 8.5px/1 var(--f-label); letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; opacity: .7; }
.nav { display: flex; gap: 30px; }
.nav a { font: 500 14px/1 var(--f-body); position: relative; padding-block: 8px; }
html[lang="ar"] .nav a { font-size: 16px; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hdr__tools { display: flex; align-items: center; gap: 18px; }
.hdr__phone { display: flex; align-items: center; gap: 8px; font: 600 13.5px var(--f-label); letter-spacing: .03em; }
.hdr__phone .ico { width: 17px; height: 17px; color: var(--gold); }
.lang { display: flex; gap: 2px; font: 600 12px/1 var(--f-label); letter-spacing: .08em; }
.lang a { padding: 7px 7px; opacity: .55; border-bottom: 1px solid transparent; transition: opacity .2s; }
.lang a[lang="ar"] { font: 600 14px/1 "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; padding-block: 5px; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; border-color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper); padding: calc(var(--hdr-h) + 24px) var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.drawer.is-open { animation: drawerIn .45s var(--ease); }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-12px); } }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a { font: 500 clamp(30px, 8vw, 44px)/1.15 var(--f-display); padding-block: 12px; border-bottom: 1px solid var(--line-light); }
.drawer__foot { display: grid; gap: 12px; margin-top: 36px; }
.drawer .lang { justify-content: center; margin-top: 8px; font-size: 14px; }
body.no-scroll { overflow: hidden; }
body.no-scroll .hdr { color: var(--paper) !important; background: transparent !important; border-color: transparent !important; backdrop-filter: none !important; }
body.no-scroll .hdr .brand__txt b { color: var(--paper) !important; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(80px, 11vw, 160px); }
.sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.sec--sand { background: var(--sand); }
.sec--ink { background: var(--ink); color: var(--paper); }
.shead { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.shead--center { margin-inline: auto; text-align: center; }
.shead--center .eyebrow { justify-content: center; }
.shead--center .lead { margin-inline: auto; }
.shead--light .h2 { color: var(--paper); }
.shead--light .lead { color: rgba(247, 243, 236, .7); }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.row-head .shead { margin-bottom: 0; }
.frame { position: relative; }
.frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(247, 243, 236, .55); pointer-events: none; }

/* viewfinder corners */
.vf { position: absolute; inset: clamp(18px, 3vw, 36px); pointer-events: none; z-index: 2; }
.vf i { position: absolute; width: 26px; height: 26px; border-color: rgba(247, 243, 236, .7); border-style: solid; border-width: 0; }
.vf i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.vf i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.vf i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.vf i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--paper); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 29, 44, .55) 0%, rgba(8, 29, 44, .05) 30%, rgba(8, 29, 44, .2) 55%, rgba(8, 29, 44, .88) 100%); }
.hero__hud { position: absolute; z-index: 3; top: calc(var(--hdr-h) + 26px); inset-inline-end: calc(var(--gut) + 8px); display: flex; align-items: center; gap: 10px; font: 600 10.5px/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 243, 236, .85); }
html[lang="ar"] .hero__hud { letter-spacing: 0; font-size: 13px; }
.hero__hud b { font-weight: 500; opacity: .7; letter-spacing: .12em; direction: ltr; unicode-bidi: isolate; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #E5484D; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero .vf { top: calc(var(--hdr-h) + 8px); }
.hero__in { position: relative; z-index: 3; padding-top: calc(var(--hdr-h) + 80px); padding-bottom: 40px; }
.hero__title { max-width: 17ch; }
html[lang="ar"] .hero__title { max-width: 16ch; }
.hero__sub { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 52ch; margin-top: 26px; color: rgba(247, 243, 236, .86); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 38px; }
.hero__foot { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding-block: 22px 30px; border-top: 1px solid var(--line-light); font: 500 11px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 243, 236, .7); }
html[lang="ar"] .hero__foot { letter-spacing: 0; font-size: 13px; }
.hero__scroll { display: flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 34px; background: linear-gradient(var(--gold-2), transparent); animation: scrollLine 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- manifesto ---------- */
.manifesto { padding-block: clamp(90px, 12vw, 180px); background: var(--paper); }
.manifesto__in { display: grid; grid-template-columns: 1fr minmax(0, 3.2fr) 1fr; gap: clamp(20px, 4vw, 64px); align-items: center; }
.manifesto__txt { font: 500 clamp(30px, 4.3vw, 64px)/1.14 var(--f-display); text-align: center; text-wrap: balance; color: var(--ink); }
html[lang="ar"] .manifesto__txt { line-height: 1.4; font-weight: 600; }
.manifesto__txt em { font-style: italic; color: var(--gold); }
html[lang="ar"] .manifesto__txt em { font-style: normal; }
.manifesto__img { aspect-ratio: 3 / 4; overflow: hidden; }
.manifesto__img img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__img--a { transform: translateY(-30%); }
.manifesto__img--b { transform: translateY(30%); }

/* ---------- trust ---------- */
.trust__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.trust__visual { position: sticky; top: calc(var(--hdr-h) + 40px); padding-bottom: 18%; }
.trust__main { aspect-ratio: 4 / 5.4; overflow: hidden; }
.trust__main img { width: 100%; height: 100%; object-fit: cover; }
.trust__sub { position: absolute; width: 48%; aspect-ratio: 3 / 4; inset-inline-end: -10%; bottom: 0; border: 8px solid var(--paper); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(8, 29, 44, .5); }
.trust__sub img { width: 100%; height: 100%; object-fit: cover; }
.trust__sub figcaption { position: absolute; inset-inline-start: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(8, 29, 44, .75); color: var(--paper); font: 600 10px var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.trust__sub figcaption .ico { width: 15px; height: 15px; color: var(--gold-2); }
.pillars { margin-top: 48px; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 34px 30px 1fr; gap: 18px; align-items: start; padding-block: 24px; border-bottom: 1px solid var(--line); }
.pillars__n { font: 500 13px/1.9 var(--f-label); color: var(--gold); letter-spacing: .08em; }
.pillars .ico { width: 26px; height: 26px; color: var(--navy); margin-top: 2px; }
.pillars h3 { font: 600 19px/1.3 var(--f-display); font-size: 23px; color: var(--ink); }
html[lang="ar"] .pillars h3 { font-size: 20px; }
.pillars p { color: var(--stone); margin-top: 6px; font-size: 15.5px; }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.svc__card { position: relative; min-height: clamp(520px, 62vw, 760px); overflow: hidden; color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; background: var(--ink); }
.svc__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.svc__card:hover .svc__bg { transform: scale(1.05); }
.svc__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 29, 44, .35) 0%, rgba(8, 29, 44, 0) 30%, rgba(8, 29, 44, .9) 100%); }
.svc__tag { position: absolute; top: 28px; inset-inline-start: 30px; font: 600 11px var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
html[lang="ar"] .svc__tag { letter-spacing: 0; font-size: 14px; }
.svc__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(26px, 3.5vw, 48px); }
.svc__icons { display: flex; gap: 10px; color: var(--gold-2); }
.svc__icons .ico { width: 26px; height: 26px; }
.svc__title { font: 500 clamp(32px, 3.4vw, 52px)/1.04 var(--f-display); }
html[lang="ar"] .svc__title { font-weight: 600; line-height: 1.25; }
.svc__text { font-size: 17px; line-height: 1.55; color: rgba(247, 243, 236, .82); max-width: 40ch; }
.svc__body .btn { margin-top: 10px; }

/* ---------- property cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.pcard { display: flex; flex-direction: column; background: var(--paper-2); height: 100%; }
.pcard__media { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--sand); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__tag, .pcard__status { position: absolute; top: 14px; inset-inline-start: 14px; padding: 7px 11px; background: rgba(247, 243, 236, .94); color: var(--ink); font: 600 10.5px var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.pcard__status { inset-inline-start: auto; inset-inline-end: 14px; background: var(--navy); color: var(--paper); }
.pcard__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; border: 1px solid var(--line); border-top: 0; }
.pcard__meta { font: 600 11px var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .pcard__meta { letter-spacing: 0; font-size: 13px; }
.pcard__title { font: 500 26px/1.15 var(--f-display); }
.pcard__price { font: 600 18px var(--f-label); color: var(--navy); }
.pcard__facts { display: flex; gap: 18px; color: var(--stone); font-size: 14px; padding-block: 12px; border-top: 1px solid var(--line); margin-top: auto; }
.pcard__facts li { display: flex; align-items: center; gap: 6px; }
.pcard__facts .ico { width: 18px; height: 18px; color: var(--gold); }
.pcard .link-arrow { align-self: flex-start; font-size: 12px; }

/* empty slots on home */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.slot { position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: var(--paper); display: flex; align-items: flex-end; isolation: isolate; }
.slot__img { position: absolute; inset: 0; z-index: -2; }
.slot__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.75); transition: filter .8s var(--ease), transform 1.4s var(--ease); }
.slot:hover .slot__img img { filter: saturate(1) brightness(.85); transform: scale(1.04); }
.slot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(8, 29, 44, .85)); }
.slot__frame { position: absolute; inset: 22px; }
.slot__frame i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--gold-2); }
.slot__frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.slot__frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.slot__frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.slot__frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.slot__body { padding: 40px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.slot__k { font: 600 10.5px var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
html[lang="ar"] .slot__k { letter-spacing: 0; font-size: 13px; }
.slot__t { font: 500 34px/1.1 var(--f-display); margin-bottom: 10px; }

/* ---------- portfolio strip ---------- */
.portfolio { overflow: hidden; }
.strip { display: flex; gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gut) 50px; scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip__item { flex: 0 0 clamp(240px, 24vw, 360px); scroll-snap-align: start; position: relative; }
.strip__item--lift { margin-top: 60px; }
.strip__item img, .strip__item video { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; pointer-events: none; user-select: none; }
.strip__item figcaption { display: flex; gap: 12px; margin-top: 14px; font: 500 11px var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: rgba(247, 243, 236, .7); }
html[lang="ar"] .strip__item figcaption { letter-spacing: 0; font-size: 13px; }
.strip__item figcaption b { color: var(--gold-2); font-weight: 600; }
.strip__play { position: absolute; top: 12px; inset-inline-end: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(8, 29, 44, .55); display: grid; place-items: center; color: var(--paper); }
.strip__play .ico { width: 16px; height: 16px; }
.strip__ctrl { display: flex; align-items: center; gap: 20px; }
.strip__bar { flex: 1; height: 1px; background: var(--line-light); position: relative; }
.strip__bar i { position: absolute; inset-inline-start: 0; top: -1px; height: 3px; width: 20%; background: var(--gold-2); transition: width .2s; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; inset-inline: 28px; height: 1px; background: var(--line); }
.steps__i { position: relative; }
.steps__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--gold); color: var(--gold); font: 500 24px var(--f-display); margin-bottom: 26px; position: relative; }
.sec--sand .steps__n { background: var(--sand); }
.steps h3 { font: 600 23px/1.2 var(--f-display); margin-bottom: 10px; }
html[lang="ar"] .steps h3 { font-size: 20px; }
.steps p { color: var(--stone); font-size: 15.5px; }

/* ---------- zones ---------- */
.zones { position: relative; color: var(--paper); padding-block: clamp(90px, 12vw, 180px); overflow: hidden; isolation: isolate; }
.zones__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.zones__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 29, 44, .92) 0%, rgba(8, 29, 44, .7) 55%, rgba(8, 29, 44, .4) 100%); }
[dir="rtl"] .zones__shade { background: linear-gradient(270deg, rgba(8, 29, 44, .92) 0%, rgba(8, 29, 44, .7) 55%, rgba(8, 29, 44, .4) 100%); }
.zones__in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.zones__in .shead { margin-bottom: 0; }
.zones__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--line-light); }
.zones__list li:first-child { border-top: 1px solid var(--line-light); }
.zones__name { font: 500 clamp(30px, 3.4vw, 46px)/1 var(--f-display); }
.zones__geo { font: 500 11px var(--f-label); letter-spacing: .16em; color: var(--gold-2); }

/* ---------- final ---------- */
.final { position: relative; min-height: 88svh; display: grid; place-items: center; text-align: center; color: var(--paper); overflow: hidden; isolation: isolate; background: var(--ink); }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(8, 29, 44, .55), rgba(8, 29, 44, .88)); }
.final__in { padding-block: 120px; }
.final__in .h1 { max-width: 16ch; margin-inline: auto; }
.final__in .lead { margin-inline: auto; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* ---------- inner page heroes ---------- */
.phero, .chero { padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(60px, 8vw, 110px); }
.phero__grid, .chero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.phero__media { position: relative; padding-inline-end: 16%; padding-bottom: 12%; }
.phero__tall { aspect-ratio: 9 / 13; overflow: hidden; }
.phero__tall video { width: 100%; height: 100%; object-fit: cover; }
.phero__small { position: absolute; inset-inline-end: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; overflow: hidden; border: 8px solid var(--paper); }
.phero__small img { width: 100%; height: 100%; object-fit: cover; }
.phero__badge { position: absolute; top: 24px; inset-inline-start: -18px; display: flex; gap: 8px; align-items: center; padding: 10px 14px; background: var(--ink); color: var(--paper); font: 600 10.5px var(--f-label); letter-spacing: .16em; text-transform: uppercase; }
.phero__badge .ico { color: var(--gold-2); width: 18px; height: 18px; }
.chero__img { aspect-ratio: 4 / 5; overflow: hidden; }
.chero__img img { width: 100%; height: 100%; object-fit: cover; }
.rhero { padding-top: clamp(70px, 9vw, 140px); padding-bottom: clamp(30px, 4vw, 60px); }
.rhero__t { max-width: 18ch; }
.rhero--small { padding-bottom: 0; }
.bhero { position: relative; color: var(--paper); padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(70px, 8vw, 120px); overflow: hidden; isolation: isolate; background: var(--ink); }
.bhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bhero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 29, 44, .5), rgba(8, 29, 44, .85)); }
.bhero .h1 { max-width: 16ch; }

/* services grid (photo page) */
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.sgrid__i { position: relative; padding: 32px 26px 36px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background .4s; }
.sgrid__i:hover { background: var(--paper); }
.sgrid__n { position: absolute; top: 22px; inset-inline-end: 22px; font: 500 12px var(--f-label); color: var(--gold); letter-spacing: .1em; }
.sgrid__i .ico { width: 30px; height: 30px; color: var(--navy); margin-bottom: 26px; }
.sgrid__i h3 { font: 600 21px/1.25 var(--f-display); margin-bottom: 8px; }
html[lang="ar"] .sgrid__i h3 { font-size: 19px; }
.sgrid__i p { color: var(--stone); font-size: 15px; }

.feat__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.flist { display: grid; gap: 4px; }
.flist li { display: grid; grid-template-columns: 30px 1fr; gap: 18px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.flist .ico { width: 26px; height: 26px; color: var(--gold); margin-top: 3px; }
.flist h3 { font: 600 20px/1.3 var(--f-display); }
html[lang="ar"] .flist h3 { font-size: 18px; }
.flist p { color: var(--stone); font-size: 15px; margin-top: 4px; }
.feat__mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat__mosaic figure { overflow: hidden; }
.feat__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.feat__a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.feat__b, .feat__c { aspect-ratio: 4 / 5; }

.formats__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(30px, 5vw, 80px); align-items: end; }
.formats__row h3 { display: flex; align-items: center; gap: 10px; font: 600 22px var(--f-display); margin-top: 26px; }
.formats__row h3 .ico { color: var(--gold-2); }
.formats__row p { color: rgba(247, 243, 236, .7); margin-top: 8px; font-size: 15.5px; max-width: 46ch; }
.phone { position: relative; max-width: 300px; margin-inline: auto; aspect-ratio: 9 / 19; border-radius: 38px; border: 9px solid #1d2a35; overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #000; }
.screen { aspect-ratio: 16 / 9; border: 9px solid #1d2a35; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.screen video { width: 100%; height: 100%; object-fit: cover; }

/* masonry gallery */
.mason { columns: 4 240px; column-gap: clamp(10px, 1.2vw, 18px); }
.mason__i { display: block; position: relative; margin-bottom: clamp(10px, 1.2vw, 18px); break-inside: avoid; overflow: hidden; background: var(--sand); }
.mason__i img { width: 100%; transition: transform 1.2s var(--ease), opacity .4s; }
.mason__i:hover img { transform: scale(1.04); }
.mason__cap { position: absolute; inset-inline-start: 10px; bottom: 10px; padding: 6px 10px; background: rgba(8, 29, 44, .72); color: var(--paper); font: 600 10px var(--f-label); letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: .35s var(--ease); }
html[lang="ar"] .mason__cap { letter-spacing: 0; font-size: 12px; }
.mason__i:hover .mason__cap, .mason__i:focus-visible .mason__cap { opacity: 1; transform: none; }
.mason__i.is-out { display: none; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tabs button { padding: 11px 18px; border: 1px solid var(--line); font: 600 12px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); transition: .25s; }
html[lang="ar"] .tabs button { letter-spacing: 0; font-size: 14px; }
.tabs button:hover { border-color: var(--ink); color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.vgrid__i video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.vgrid__i figcaption { margin-top: 12px; font: 500 11px var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 243, 236, .7); }
html[lang="ar"] .vgrid__i figcaption { letter-spacing: 0; font-size: 13px; }

/* faq */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq__i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; font: 600 21px/1.35 var(--f-display); }
html[lang="ar"] .faq__i summary { font-size: 19px; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary i { flex: none; width: 18px; height: 18px; position: relative; margin-top: 6px; }
.faq__i summary i::before, .faq__i summary i::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1.5px; background: var(--gold); transition: transform .3s var(--ease); }
.faq__i summary i::after { transform: rotate(90deg); }
.faq__i[open] summary i::after { transform: rotate(0); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__i p { color: var(--stone); padding-bottom: 26px; max-width: 70ch; }

/* ---------- forms ---------- */
.devis__grid, .contact__grid, .confier__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.confier__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.devis__direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.devis__img { margin-top: 48px; aspect-ratio: 4 / 3; overflow: hidden; }
.devis__img img { width: 100%; height: 100%; object-fit: cover; }
.card-form { background: var(--paper); color: var(--text); padding: clamp(24px, 3.4vw, 48px); }
.card-form--paper { background: var(--paper-2); border: 1px solid var(--line); }
.card-form .h3 { margin-bottom: 28px; }
.form { display: grid; gap: 22px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.fgrid--4 { grid-template-columns: repeat(4, 1fr); }
.span2 { grid-column: 1 / -1; }
.fld { display: grid; gap: 8px; min-width: 0; }
.fld label, .fld > span, .fld legend, .up__lbl { font: 600 12px/1.3 var(--f-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
html[lang="ar"] .fld label, html[lang="ar"] .fld > span, html[lang="ar"] .fld legend, html[lang="ar"] .up__lbl { letter-spacing: 0; text-transform: none; font-size: 14.5px; }
.req { color: var(--gold); }
.opt { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--stone); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; background: #fff; border: 1px solid rgba(8, 29, 44, .18); border-radius: var(--r);
  font-size: 16px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.fld textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23B08A52' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px; }
[dir="rtl"] .fld select { background-position: left 16px center; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 138, 82, .18); }
.fld input[dir="ltr"] { text-align: start; }
[dir="rtl"] .fld input[dir="ltr"] { text-align: right; }
.fld.is-invalid input, .fld.is-invalid select, .fld.is-invalid textarea { border-color: #C2453D; }
.fld__err { color: #B3372F; font-size: 13.5px; min-height: 0; }
.fld__err:empty { display: none; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 10px; width: 100%; }
.chip, .opt { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: 11px 16px; border: 1px solid rgba(8, 29, 44, .18); background: #fff; font-size: 14.5px; cursor: pointer; transition: .2s; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chips .fld__err { width: 100%; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--stone); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.consent--inline { margin-top: 12px; }
.consent.is-invalid span { color: #B3372F; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form__alt { font-size: 14px; color: var(--stone); }
.form__alt a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.form__msg { padding: 22px; border: 1px solid var(--line); background: #fff; display: grid; gap: 12px; }
.form__msg h3 { font: 600 22px var(--f-display); display: flex; gap: 10px; align-items: center; }
.form__msg h3 .ico { color: var(--wa); width: 26px; height: 26px; }
.form__msg.is-error { border-color: #E3B5B0; background: #FBF1EF; }
.form__msg .btn { justify-self: start; }
.form.is-sent > *:not(.form__msg) { display: none; }

.opts { border: 0; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opts legend { margin-bottom: 16px; }
.opts .fld__err { grid-column: 1 / -1; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { position: relative; height: 100%; display: grid; gap: 8px; align-content: start; padding: 24px 22px; border: 1px solid rgba(8, 29, 44, .18); background: #fff; cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.opt__box > .ico { width: 30px; height: 30px; color: var(--gold); }
.opt__box b { font: 600 20px/1.25 var(--f-display); }
html[lang="ar"] .opt__box b { font-size: 18px; }
.opt__box small { font-size: 14.5px; color: var(--stone); line-height: 1.5; }
.opt__tick { position: absolute; top: 16px; inset-inline-end: 16px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(8, 29, 44, .2); display: grid; place-items: center; color: transparent; transition: .25s; }
.opt__tick .ico { width: 16px; height: 16px; }
.opt input:checked + .opt__box { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.opt input:checked + .opt__box .opt__tick { background: var(--navy); border-color: var(--navy); color: #fff; }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.fs { border: 0; padding: 26px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.fs__t { display: flex; align-items: center; gap: 14px; font: 600 24px/1.2 var(--f-display); padding: 0; margin-bottom: 18px; float: left; width: 100%; }
html[lang="ar"] .fs__t { font-size: 21px; }
.fs__t span { font: 600 12px var(--f-label); color: var(--gold); letter-spacing: .1em; }
.fs__t + * { clear: both; }
.form--steps [data-only].is-off { display: none; }

.up { display: grid; gap: 10px; }
.up__drop { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 92px; border: 1.5px dashed rgba(8, 29, 44, .25); background: #fff; cursor: pointer; font-weight: 600; color: var(--navy); transition: .2s; position: relative; }
.up__drop:hover, .up__drop.is-over { border-color: var(--gold); background: #FFFDF8; }
.up__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.up__drop .ico { width: 24px; height: 24px; color: var(--gold); }
.up__hint { font-size: 13.5px; color: var(--stone); }
.up__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.up__thumbs:empty { display: none; }
.up__thumbs li { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.up__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.up__thumbs button { position: absolute; top: 4px; inset-inline-end: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(8, 29, 44, .8); color: #fff; display: grid; place-items: center; }
.up__thumbs button .ico { width: 14px; height: 14px; }
.up__file { font-size: 14px; color: var(--navy); font-weight: 600; }
.up__file:empty { display: none; }

.why { position: sticky; top: calc(var(--hdr-h) + 24px); }
.why__in { background: var(--ink); color: var(--paper); padding: clamp(26px, 3vw, 40px); display: grid; gap: 22px; }
.why__img { aspect-ratio: 4 / 3; overflow: hidden; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__contact { display: grid; gap: 10px; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.ticks--light li { color: rgba(247, 243, 236, .85); }
.ticks--light .ico { color: var(--gold-2); }

/* contact */
.ccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ccard { display: grid; gap: 6px; padding: 30px 26px; border: 1px solid var(--line); background: var(--paper-2); transition: .3s var(--ease); }
.ccard:hover { border-color: var(--ink); transform: translateY(-3px); }
.ccard > .ico { width: 30px; height: 30px; color: var(--gold); margin-bottom: 18px; }
.ccard--wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.ccard--wa > .ico { color: #fff; }
.ccard--wa small { color: rgba(255, 255, 255, .85) !important; }
.ccard__t { font: 600 11px var(--f-label); letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
html[lang="ar"] .ccard__t { letter-spacing: 0; font-size: 13px; }
.ccard b { font: 600 24px/1.2 var(--f-display); }
.ccard small { font-size: 14px; color: var(--stone); }
.contact__side { display: grid; gap: 14px; }
.contact__img { aspect-ratio: 4 / 3.4; overflow: hidden; margin-bottom: 14px; }
.contact__img img { width: 100%; height: 100%; object-fit: cover; }
.contact__zones { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--navy); }
.contact__zones .ico { color: var(--gold); }

/* listing search */
.search-wrap { position: relative; z-index: 3; margin-top: -44px; }
.search { background: var(--paper-2); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(8, 29, 44, .45); padding: 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.seg { display: flex; border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 14px 18px; font: 600 12px var(--f-label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: var(--stone); }
html[lang="ar"] .seg span { letter-spacing: 0; font-size: 14px; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); }
.search__q { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; padding-inline: 14px; min-height: 50px; }
.search__q .ico { color: var(--gold); }
.search__q input { border: 0; outline: 0; width: 100%; min-height: 48px; font-size: 16px; background: transparent; }
.search__adv { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr) auto; gap: 12px; align-items: end; }
.search__adv .fld > span { font-size: 11px; }
.search__adv .fld select, .search__adv .fld input { min-height: 46px; padding-block: 10px; }
.results { margin-bottom: 24px; color: var(--stone); }
.results b { color: var(--ink); font-size: 20px; }
.pgrid__cell.is-out { display: none; }
.noresults { text-align: center; display: grid; gap: 20px; justify-items: center; padding: 60px 0; color: var(--stone); }
.empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.empty__visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.empty__visual figure { aspect-ratio: 9 / 15; overflow: hidden; }
.empty__visual figure:nth-child(2) { transform: translateY(14%); }
.empty__visual img { width: 100%; height: 100%; object-fit: cover; }

.band { background: var(--navy); color: var(--paper); padding-block: clamp(48px, 6vw, 80px); }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.band p { color: rgba(247, 243, 236, .72); margin-top: 8px; }
.band .btns { margin-top: 0; }

/* property detail */
.pd-gal { padding-top: 24px; }
.pd-gal__grid { position: relative; display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(360px, 62vh, 640px); }
.pd-gal__i { overflow: hidden; position: relative; background: var(--sand); }
.pd-gal__i img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pd-gal__i:hover img { transform: scale(1.04); }
.pd-gal__i:first-child { grid-row: 1 / -1; }
.pd-gal__i.is-extra { display: none; }
.pd-gal__grid--1 { grid-template-columns: 1fr; }
.pd-gal__grid--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.pd-gal__grid--3 { grid-template-columns: 2fr 1fr; }
.pd-gal__grid--4 .pd-gal__i:nth-child(4) { grid-column: 2 / -1; }
.pd-gal__all { position: absolute; bottom: 16px; inset-inline-end: 16px; }
.pd { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(30px, 5vw, 80px); padding-block: 40px 100px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--stone); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pd__title { margin-top: 4px; }
.pd__pricebar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.pd__price { font: 600 28px var(--f-label); color: var(--navy); }
.badge { padding: 6px 12px; font: 600 11px var(--f-label); letter-spacing: .12em; text-transform: uppercase; background: #E7F4EC; color: #1C7A43; }
.badge--sold, .badge--rented { background: var(--navy); color: var(--paper); }
.pd__ref { color: var(--stone); font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 34px; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.facts li { display: grid; gap: 2px; padding: 18px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
.facts .ico { width: 22px; height: 22px; color: var(--gold); margin-bottom: 8px; }
.facts span { font-size: 13px; color: var(--stone); }
.facts b { font: 600 18px var(--f-label); color: var(--ink); }
.pd__sec { margin-top: 56px; }
.pd__sec .h3 { margin-bottom: 20px; }
.prose { color: #3A444D; font-size: 17px; line-height: 1.75; }
.prose p + p { margin-top: 1em; }
.prose h2 { font: 600 26px/1.25 var(--f-display); color: var(--ink); margin: 1.8em 0 .6em; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.pd .ticks { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.pd__video, .pd__map { aspect-ratio: 16 / 9; background: #000; }
.pd__video iframe, .pd__video video, .pd__map iframe { width: 100%; height: 100%; border: 0; }
.pd__map { background: var(--sand); }
.pd__side { position: relative; }
.pd__card { position: sticky; top: calc(var(--hdr-h) + 24px); border: 1px solid var(--line); background: var(--paper-2); padding: 30px; display: grid; gap: 14px; }
.pd__card-price { font: 600 24px var(--f-label); color: var(--navy); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pd__form summary { cursor: pointer; font-weight: 600; color: var(--navy); padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; }
.pd__form .form { margin-top: 12px; }
.pd-sticky { display: none; }

/* legal + 404 */
.prose--legal h2 { font-size: 24px; }
.prose--legal p { margin-bottom: 1em; }
.nf { position: relative; min-height: 100svh; display: grid; align-items: center; color: var(--paper); isolation: isolate; overflow: hidden; }
.nf__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.nf__shade { position: absolute; inset: 0; background: rgba(8, 29, 44, .78); z-index: -1; }
.nf__in { padding-block: 140px 80px; }
.nf__code { font: 500 clamp(80px, 16vw, 200px)/1 var(--f-display); color: var(--gold-2); }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: rgba(247, 243, 236, .78); padding-top: clamp(70px, 8vw, 110px); }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 48px; padding-bottom: 60px; }
.ftr__brand img { width: 200px; height: auto; margin-bottom: 24px; }
.ftr__brand p { max-width: 36ch; font-size: 15px; }
.ftr__social { display: flex; gap: 10px; margin-top: 26px; }
.ftr__social a { width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; transition: .25s; }
.ftr__social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.ftr__t { font: 600 11px var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; }
html[lang="ar"] .ftr__t { letter-spacing: 0; font-size: 14px; }
.ftr__t--2 { margin-top: 34px; }
.ftr ul { display: grid; gap: 10px; font-size: 15px; }
.ftr ul a:hover { color: var(--paper); }
.ftr__contact li, .ftr__contact a { display: flex; gap: 10px; align-items: flex-start; }
.ftr__contact .ico { width: 18px; height: 18px; color: var(--gold-2); margin-top: 3px; }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 26px 34px; border-top: 1px solid var(--line-light); font-size: 13.5px; }
.ftr__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.ftr__links a:hover { color: var(--paper); }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; z-index: 40; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: 18px; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 16px; border-radius: 29px; background: var(--wa); color: #fff; font: 600 14px var(--f-label); box-shadow: 0 14px 30px -10px rgba(16, 98, 50, .6); transition: transform .3s var(--ease), box-shadow .3s; }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(16, 98, 50, .7); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ping 2.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.25); opacity: 0; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5, 15, 23, .96); display: grid; place-items: center; }
.lb.is-open { animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lb__fig { max-width: min(92vw, 1400px); max-height: 86vh; display: grid; gap: 12px; }
.lb__fig img { max-height: 80vh; width: auto; margin-inline: auto; object-fit: contain; }
.lb__fig figcaption { text-align: center; color: rgba(247, 243, 236, .7); font-size: 14px; }
.lb__x { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; color: #fff; display: grid; place-items: center; }
.lb__x .ico { width: 28px; height: 28px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; display: grid; place-items: center; }
.lb__prev { inset-inline-start: 16px; }
.lb__prev .ico { transform: scaleX(-1); }
[dir="rtl"] .lb__prev .ico { transform: none; }
[dir="rtl"] .lb__next .ico { transform: scaleX(-1); }
.lb__next { inset-inline-end: 16px; }
.lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .6); font: 500 13px var(--f-label); letter-spacing: .1em; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal="img"] { transform: none; clip-path: inset(8% 8% 8% 8%); transition: clip-path 1.4s var(--ease), opacity 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.js .manifesto__img--a[data-reveal].is-in { transform: translateY(-30%); }
.js .manifesto__img--b[data-reveal].is-in { transform: translateY(30%); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .hdr__phone span { display: none; }
  .sgrid { grid-template-columns: repeat(3, 1fr); }
  .search__adv { grid-template-columns: repeat(3, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --hdr-h: 66px; }
  .nav, .hdr__cta, .hdr .lang--hdr { display: none; }
  .burger { display: block; }
  .hdr__phone { width: 44px; height: 44px; justify-content: center; }
  .hdr__tools { gap: 4px; }
  .trust__grid, .phero__grid, .chero__grid, .feat__grid, .devis__grid, .contact__grid, .confier__grid, .zones__in, .empty { grid-template-columns: 1fr; }
  .trust__visual { position: relative; top: 0; max-width: 560px; }
  .trust__sub { inset-inline-end: 0; }
  .svc { grid-template-columns: 1fr; }
  .svc__card { min-height: 560px; }
  .pgrid, .slots { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
  .formats__row { grid-template-columns: 1fr; }
  .phone { max-width: 260px; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .why { position: static; }
  .pd { grid-template-columns: 1fr; padding-bottom: 120px; }
  .pd__card { position: static; }
  .pd-sticky { position: fixed; z-index: 41; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); background: var(--paper-2); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(8, 29, 44, .4); }
  .pd-sticky__price { margin-inline-end: auto; font: 600 17px var(--f-label); color: var(--navy); }

  .manifesto__in { grid-template-columns: 1fr 1fr; }
  .manifesto__txt { grid-column: 1 / -1; grid-row: 1; }
  .manifesto__img--a, .manifesto__img--b, .js .manifesto__img--a[data-reveal].is-in, .js .manifesto__img--b[data-reveal].is-in { transform: none; }
  .manifesto__img--b { margin-top: 40px; }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .hero__in { padding-top: calc(var(--hdr-h) + 60px); }
  .hero__hud { top: calc(var(--hdr-h) + 18px); font-size: 9.5px; }
  .hero__hud b { display: none; }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas .link-arrow { margin-top: 6px; }
  .hero__foot > span:first-child { display: none; }
  .hero__foot { justify-content: center; }
  .btn--lg { --h: 54px; padding: 0 22px; }
  .btn { white-space: normal; text-align: center; }
  .pgrid, .slots { grid-template-columns: 1fr; }
  .slot { aspect-ratio: 4 / 3.6; }
  .steps { grid-template-columns: 1fr; }
  .sgrid { grid-template-columns: 1fr 1fr; }
  .sgrid__i { padding: 22px 16px 24px; }
  .sgrid__i .ico { margin-bottom: 16px; }
  .sgrid__i h3 { font-size: 18px; }
  .sgrid__i p { font-size: 14px; }
  .pillars li { grid-template-columns: 26px 1fr; }
  .pillars .ico { display: none; }
  .fgrid, .fgrid--4 { grid-template-columns: 1fr; }
  .fgrid--4 { grid-template-columns: 1fr 1fr; }
  .fgrid--4 > :first-child { grid-column: 1 / -1; }
  .opts { grid-template-columns: 1fr; }
  .up__thumbs { grid-template-columns: repeat(3, 1fr); }
  .search { grid-template-columns: 1fr; }
  .seg { width: 100%; } .seg label { flex: 1; } .seg span { text-align: center; padding-inline: 8px; }
  .search__adv { grid-template-columns: 1fr 1fr; }
  .search__adv:not(.is-open) { display: none; }
  .mason { columns: 2; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .pd-gal { padding-inline: 0; }
  .pd-gal__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 72vh; gap: 4px; }
  .pd-gal__i:first-child { grid-column: 1 / -1; grid-row: 1; }
  .pd-gal__i:nth-child(n+4) { display: none; }
  .ftr__grid { grid-template-columns: 1fr; gap: 36px; }
  .wa-float { height: 56px; width: 56px; padding: 0; justify-content: center; }
  .wa-float__lbl { display: none; }
  .zones__name { font-size: 30px; }
  .final__ctas .btn { width: 100%; }
  .trust__sub { width: 52%; border-width: 5px; }
  .phero__media { padding-inline-end: 12%; }
  .phero__badge { inset-inline-start: 0; }
  .manifesto__in { gap: 14px; }
}
@media (min-width: 701px) { .search__more { display: none; } }
@media (max-width: 700px) { .search__more { width: 100%; } }
.page-bien .wa-float { display: none; }
