/* ============================================================
  FIRST CHOICE REAL ESTATE — css/style.css
  ONE shared stylesheet for index.html (EN) and ar.html (AR).
  All English rules are pixel-identical to the master design.
  Arabic/RTL corrections are scoped at the END under
  html[dir="rtl"] / html[lang="ar"] and never match the EN page.
============================================================ */

/* ------------------------- Tokens ------------------------- */
:root {
  --dark: #1D1B17;
  --dark-2: #26231D;
  --ivory: #F6F2E9;
  --bg: #FBF9F3;
  --olive: #5B5C46;
  --gold: #A58963;
  --gold-deep: #7E6540;
  --error: #9C3D2B;
  --line: rgba(29, 27, 23, .12);
  --line-light: rgba(246, 242, 233, .16);
  --text-mute: rgba(29, 27, 23, .68);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --header-h: 88px;
}

/* ------------------------- Reset -------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-padding-top: 96px; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; }
address { font-style: normal; }
::selection { background: rgba(165, 137, 99, .35); }
body.no-scroll { overflow: hidden; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; inset-inline-start: 16px; z-index: 300;
  background: var(--dark); color: var(--ivory);
  padding: .7rem 1.2rem; font-size: .8rem; letter-spacing: .08em;
  text-decoration: none; transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------------------- Typography ------------------------ */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: .005em; }
h2 { font-size: clamp(2.3rem, 4.2vw, 3.7rem); margin-bottom: clamp(1.4rem, 2.5vw, 2rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--gold-deep); }
.section p { color: var(--text-mute); max-width: 58ch; }
.section p + p { margin-top: 1em; }
.lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  color: var(--dark) !important;
  margin-bottom: 1.2em;
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--olive);
  margin-bottom: clamp(1.2rem, 2vw, 1.8rem);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }
.section .eyebrow { color: var(--olive); }
.eyebrow.on-dark, .section .eyebrow.on-dark { color: var(--gold); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }

/* ------------------------ Layout -------------------------- */
.container { width: 100%; max-width: 1328px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 44px); }
.section { padding-block: clamp(84px, 10vw, 140px); }

/* ------------------------ Buttons ------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 1.05rem 2.2rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn-solid { background: var(--dark); color: var(--ivory); border-color: var(--dark); }
.btn-solid:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.btn-solid-light { background: var(--ivory); color: var(--dark); border-color: var(--ivory); }
.btn-solid-light:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.btn-outline-light { border-color: rgba(246, 242, 233, .5); color: var(--ivory); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { border-color: rgba(29, 27, 23, .4); color: var(--dark); background: transparent; }
.btn-outline-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-gold { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-gold:hover { background: var(--ivory); border-color: var(--ivory); color: var(--dark); }

/* ----------------------- Reveal --------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.08); transition: transform 1.3s var(--ease); }
.reveal-img.is-visible img { transform: scale(1); }

/* ============================================================ HEADER */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--ivory);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.header-inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-block: 22px; transition: padding .4s var(--ease); }
.site-header.scrolled {
  background: rgba(251, 249, 243, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--dark); box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled .header-inner { padding-block: 11px; }
.site-header.menu-open { background: transparent; color: var(--ivory); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex: none; min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { min-width: 0; }
.brand-name { display: block; font-size: .92rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.brand-sub { display: block; font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; opacity: .62; margin-top: 4px; white-space: nowrap; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.main-nav a {
  position: relative; display: inline-block; padding-block: 6px;
  font-size: .76rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase;
  text-decoration: none; opacity: .88; transition: opacity .3s;
}
.main-nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 24px); flex: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; }
.lang-current { opacity: .5; }
.lang-sep { opacity: .35; }
.lang-switch a { text-decoration: none; transition: color .3s; }
.lang-switch a:hover { color: var(--gold); }
.btn-header {
  padding: .68rem 1.35rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid currentColor;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-header:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

.menu-toggle { display: none; position: relative; width: 44px; height: 44px; flex: none; background: none; border: 0; cursor: pointer; color: inherit; }
.menu-toggle span { position: absolute; left: 11px; width: 22px; height: 1.6px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--dark); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px clamp(26px, 7vw, 64px) 42px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-nav li { border-bottom: 1px solid var(--line-light); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu.is-open .mobile-nav li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-nav li:nth-child(1) { transition-delay: .08s; }
.mobile-menu.is-open .mobile-nav li:nth-child(2) { transition-delay: .14s; }
.mobile-menu.is-open .mobile-nav li:nth-child(3) { transition-delay: .2s; }
.mobile-menu.is-open .mobile-nav li:nth-child(4) { transition-delay: .26s; }
.mobile-menu.is-open .mobile-nav li:nth-child(5) { transition-delay: .32s; }
.mobile-nav a { display: flex; align-items: baseline; gap: 18px; padding-block: 15px; font-family: var(--serif); font-size: clamp(1.9rem, 7vw, 2.6rem); text-decoration: none; }
.mobile-nav a span { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; color: var(--gold); }
.mm-foot { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.mm-call { text-decoration: none; letter-spacing: .06em; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ============================================================ HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--ivory); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(29,27,23,.5) 0%, rgba(29,27,23,.28) 42%, rgba(29,27,23,.68) 100%); }
.hero-content { position: relative; z-index: 1; padding-bottom: clamp(110px, 15vh, 160px); padding-top: 140px; }
.hero-title { font-size: clamp(2.9rem, 7.2vw, 6.2rem); max-width: 13ch; margin-bottom: 1.6rem; }
.hero-title em { color: var(--gold); }
.hero-sub { max-width: 54ch; color: rgba(246, 242, 233, .82); font-size: clamp(.98rem, 1.3vw, 1.1rem); margin-bottom: 2.4rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.hero-scroll-text { font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(246, 242, 233, .65); }
.hero-scroll-line { position: relative; width: 1px; height: 58px; background: rgba(246, 242, 233, .3); overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; left: 0; top: -45%; width: 100%; height: 45%; background: var(--gold); animation: scrollDot 2.2s var(--ease) infinite; }
@keyframes scrollDot { to { top: 115%; } }

/* ============================================================ MARQUEE */
.marquee { background: var(--dark); border-block: 1px solid rgba(165, 137, 99, .25); overflow: hidden; padding-block: 17px; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-list { display: flex; flex: none; align-items: center; }
.marquee-list li { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(246, 242, 233, .82); white-space: nowrap; }
.diamond { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================ ABOUT */
.section-about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(44px, 6vw, 96px); align-items: center; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); margin-top: clamp(2.4rem, 4vw, 3.4rem); }
.fact { border-top: 1px solid var(--line); padding-top: 16px; }
.fact-label { font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--olive) !important; margin-bottom: 8px; }
.fact-value { font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; color: var(--dark) !important; }
.about-media { position: relative; }
.about-img-main { aspect-ratio: 4 / 5; }
.about-img-main img, .about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary { position: absolute; width: 47%; left: -9%; bottom: -9%; aspect-ratio: 4 / 3; border: 10px solid var(--bg); }

/* ============================================================ PROPERTIES */
.section-properties { background: var(--ivory); }
.properties-head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.properties-head-side p:first-child { margin-bottom: 1.2em; }
.portfolio-note { display: flex; align-items: flex-start; gap: 12px; font-size: .8rem; color: var(--text-mute); border-inline-start: 2px solid var(--gold); padding-inline-start: 14px; }
.properties-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.pc-1 { grid-column: 1 / 8; }
.pc-2 { grid-column: 8 / 13; margin-top: clamp(48px, 7vw, 110px); }
.pc-3 { grid-column: 1 / 6; }
.pc-4 { grid-column: 6 / 13; margin-top: clamp(32px, 4vw, 72px); }
.pc-5 { grid-column: 3 / 11; }
.property-card { position: relative; cursor: pointer; }
.property-media { position: relative; aspect-ratio: 11 / 8; }
.property-media-wide { aspect-ratio: 21 / 10; }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.property-card:hover .property-media img { transform: scale(1.05); }
.property-index { position: absolute; top: 16px; inset-inline-start: 16px; padding: 6px 12px; background: rgba(29,27,23,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ivory); font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: .06em; }
.property-body { padding-top: 22px; }
.property-location { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--olive); margin-bottom: 8px; }
.property-name { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 6px; }
.property-type { font-size: .88rem; color: var(--text-mute); margin-bottom: 12px; }
.property-price { font-weight: 600; font-size: 1.02rem; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.property-price span { font-weight: 400; color: var(--text-mute); font-size: .88em; }
.view-btn { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; background: none; border: 0; border-bottom: 1px solid rgba(29,27,23,.35); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--dark); cursor: pointer; transition: color .3s, border-color .3s; }
.view-btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.view-btn::after { content: ""; position: absolute; inset: 0; }
.view-btn:hover, .property-card:hover .view-btn { color: var(--gold-deep); border-color: var(--gold); }
.view-btn:hover svg, .property-card:hover .view-btn svg { transform: translateX(5px); }

/* ============================================================ SERVICES */
.section-services { background: var(--dark); color: var(--ivory); }
.section-services h2 em { color: var(--gold); }
.services-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(44px, 5vw, 88px); align-items: start; margin-top: clamp(2rem, 4vw, 3.4rem); }
.service-item { border-top: 1px solid var(--line-light); }
.service-item:last-child { border-bottom: 1px solid var(--line-light); }
.service-heading { font-family: inherit; }
.service-head { display: grid; grid-template-columns: 44px 1fr 46px; align-items: center; gap: clamp(14px, 2vw, 24px); width: 100%; padding: clamp(20px, 2.6vw, 30px) 0; background: none; border: 0; color: inherit; text-align: start; cursor: pointer; }
.service-num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold); }
.service-title { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2.05rem); font-weight: 500; line-height: 1.15; transition: transform .45s var(--ease), color .35s; }
.service-head:hover .service-title, .service-item.is-active .service-title { transform: translateX(8px); }
.service-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(246,242,233,.3); border-radius: 50%; color: var(--ivory); transition: background .35s var(--ease), border-color .35s, color .35s; }
.service-arrow svg { width: 17px; height: 17px; }
.service-item.is-active .service-arrow { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.service-head:hover .service-arrow { border-color: var(--gold); color: var(--gold); }
.service-item.is-active .service-head:hover .service-arrow { color: var(--dark); }
.service-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.service-body-inner { overflow: hidden; min-height: 0; }
.service-body-inner p { max-width: 52ch; color: rgba(246,242,233,.68); padding-bottom: 28px; font-size: .95rem; }
.service-item.is-active .service-body { grid-template-rows: 1fr; }
.service-inline { display: none; }
.services-visual { position: sticky; top: 110px; aspect-ratio: 4 / 5; overflow: hidden; }
.services-visual img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s var(--ease); }
.services-visual img.is-fading { opacity: 0; }
.services-visual figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(to top, rgba(29,27,23,.75), transparent); font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); }

/* ============================================================ WHY */
.section-why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(2.4rem, 4vw, 3.6rem); }
.why-item { background: var(--bg); padding: clamp(26px, 3vw, 40px); transition: background .4s var(--ease); }
.why-item:hover { background: var(--ivory); }
.why-icon { width: 30px; height: 30px; color: var(--olive); margin-bottom: 20px; transition: color .35s; }
.why-item:hover .why-icon { color: var(--gold-deep); }
.why-item h3 { font-size: 1.35rem; margin-bottom: 10px; }
.why-item p { font-size: .92rem; color: var(--text-mute); }

/* ============================================================ TRUST */
.trust { background: var(--olive); color: var(--ivory); padding-block: clamp(48px, 6vw, 76px); }
.trust-inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); }
.trust-icon { width: clamp(44px, 5vw, 60px); height: auto; color: var(--gold); flex: none; }
.trust-text h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .5rem; }
.trust-text p { color: rgba(246,242,233,.82); max-width: 68ch; font-size: .95rem; }
.trust-note { margin-top: .8em; font-size: .78rem !important; font-style: italic; color: rgba(246,242,233,.6) !important; }

/* ============================================================ LOCATIONS */
.section-locations { background: var(--ivory); }
.locations-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(44px, 5vw, 88px); align-items: center; }
.district-list { margin-top: clamp(1.8rem, 3vw, 2.6rem); border-top: 1px solid var(--line); }
.district-item { display: flex; align-items: baseline; gap: 18px; padding: 15px 6px; border-bottom: 1px solid var(--line); transition: background .3s, padding-inline-start .35s var(--ease); }
.district-item:hover, .district-item.is-active { background: rgba(165,137,99,.09); padding-inline-start: 14px; }
.district-num { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--gold-deep); flex: none; }
.district-name { font-family: var(--serif); font-size: 1.28rem; flex: none; }
.district-note { margin-inline-start: auto; font-size: .8rem; color: var(--text-mute); text-align: end; }
.map-frame { border: 1px solid var(--line); background: var(--bg); padding: clamp(14px, 2.5vw, 30px); }
#riyadh-map { width: 100%; height: auto; display: block; }
#riyadh-map text { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; fill: var(--dark); }
.map-road-label { font-size: 10px !important; fill: var(--olive) !important; letter-spacing: .18em !important; }
.map-metro-label { font-size: 10px !important; fill: var(--gold-deep) !important; letter-spacing: .18em !important; }
.map-compass text { font-size: 12px; }
.map-node .halo { fill: none; stroke: rgba(165,137,99,.55); stroke-width: 1; transition: stroke .3s; }
.map-node .dot { fill: var(--dark); transition: fill .3s; }
.map-node text { transition: fill .3s; }
.map-node.is-active .dot { fill: var(--gold); }
.map-node.is-active .halo { stroke: var(--gold); stroke-width: 1.6; }
.map-caption { margin-top: 14px; text-align: center; font-size: .78rem; letter-spacing: .06em; color: var(--text-mute); }

/* ============================================================ CTA */
.cta { position: relative; color: var(--ivory); text-align: center; padding-block: clamp(110px, 15vw, 180px); overflow: hidden; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(29,27,23,.78); }
.cta-content { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.4rem, 5vw, 4.3rem); margin-bottom: clamp(2rem, 4vw, 3rem); }
.cta h2 em { color: var(--gold); }
.cta-contacts { display: flex; justify-content: center; gap: clamp(24px, 4vw, 60px); flex-wrap: wrap; margin-bottom: clamp(2.4rem, 4vw, 3.4rem); }
.cta-contacts li { display: flex; flex-direction: column; gap: 6px; }
.cta-label { font-size: .66rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: rgba(246,242,233,.55); }
.cta-contacts a { font-family: var(--serif); font-size: 1.25rem; text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.cta-contacts a:hover { color: var(--gold); border-color: var(--gold); }
.cta-value { font-family: var(--serif); font-size: 1.15rem; }

/* ============================================================ FORM */
.section-enquiry { background: var(--bg); }
.enquiry-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(44px, 6vw, 96px); align-items: start; }
.enquiry-quick { margin-top: clamp(1.8rem, 3vw, 2.6rem); border-top: 1px solid var(--line); }
.enquiry-quick li { display: flex; gap: 20px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.enquiry-quick span { flex: none; width: 64px; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--olive); }
.enquiry-quick a { text-decoration: none; border-bottom: 1px solid rgba(29,27,23,.3); transition: color .3s, border-color .3s; }
.enquiry-quick a:hover { color: var(--gold-deep); border-color: var(--gold); }
.demo-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 26px; padding: 16px 18px; border: 1px solid var(--line); font-size: .8rem; color: var(--text-mute); }
.demo-note .diamond { margin-top: 6px; }
.form-card { background: var(--ivory); border: 1px solid var(--line); padding: clamp(26px, 3.5vw, 46px); }
.field { margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 2px; background: transparent; border: 0; border-bottom: 1px solid rgba(29,27,23,.32); font: inherit; color: var(--dark); border-radius: 0; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-deep); box-shadow: 0 1px 0 var(--gold-deep); }
.field ::placeholder { color: rgba(29,27,23,.38); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 10px; height: 6px; transform: translateY(-60%); background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235B5C46' stroke-width='1.6'/%3E%3C/svg%3E"); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 28px; cursor: pointer; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: var(--error); }
.field-error { margin-top: 7px; font-size: .78rem; color: var(--error); }
.form-submit { margin-top: 6px; }
.form-success { text-align: center; padding: clamp(20px, 4vw, 44px) 8px; }
.success-icon { width: 64px; height: 64px; color: var(--gold-deep); margin: 0 auto 22px; }
.success-title { font-size: 2.1rem; margin-bottom: 12px; }
.form-success p { color: var(--text-mute); max-width: 46ch; margin-inline: auto; }
.success-demo { margin-top: 1em; font-size: .8rem; font-style: italic; }
.form-success .btn { margin-top: 26px; }

/* ============================================================ FOOTER */
.site-footer { background: var(--dark); color: rgba(246,242,233,.75); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: clamp(36px, 4vw, 60px); padding-block: clamp(56px, 7vw, 88px); }
.footer-brand .brand-mark { width: 42px; height: 42px; color: var(--ivory); margin-bottom: 18px; }
.footer-name { font-size: .95rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory); }
.footer-sub { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; opacity: .55; margin-top: 5px; }
.footer-line { margin-top: 18px; font-size: .85rem; opacity: .65; max-width: 30ch; }
.footer-heading { font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-size: .88rem; text-decoration: none; transition: color .3s; }
.footer-nav a:hover { color: var(--gold); }
.footer-contact p { margin-bottom: 12px; font-size: .88rem; }
.footer-contact span { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .5; margin-bottom: 2px; }
.footer-contact a { text-decoration: none; transition: color .3s; }
.footer-contact a:hover { color: var(--gold); }
.footer-lang-link { font-family: var(--serif); font-size: 1.3rem; color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color .3s; }
.footer-lang-link:hover { color: var(--gold); }
.footer-lang-note { margin-top: 12px; font-size: .76rem; opacity: .5; }
.footer-bottom { border-top: 1px solid var(--line-light); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 36px; padding-block: 24px; }
.footer-bottom p { font-size: .74rem; opacity: .5; }

/* ============================================================ MODAL */
.property-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(10px, 3vw, 32px); visibility: hidden; transition: visibility 0s .4s; }
.property-modal[hidden] { display: none; }
.property-modal.is-open { visibility: visible; transition-delay: 0s; }
.property-modal:not(.is-open) { pointer-events: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,18,14,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .38s var(--ease); }
.property-modal.is-open .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; width: min(1080px, 100%); max-height: min(88vh, 880px); display: grid; grid-template-columns: 1.05fr .95fr; background: var(--bg); overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0,0,0,.55); opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.property-modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; background: var(--dark); color: var(--ivory); border: 0; border-radius: 50%; cursor: pointer; transition: background .3s, color .3s; }
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: var(--gold); color: var(--dark); }
.modal-gallery { padding: clamp(14px, 2vw, 22px); display: flex; flex-direction: column; gap: 12px; background: var(--ivory); }
.modal-main { aspect-ratio: 4 / 3; overflow: hidden; flex: none; }
.modal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s var(--ease); }
.modal-main img.is-fading { opacity: 0; }
.modal-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumb { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; overflow: hidden; opacity: .6; transition: opacity .3s, border-color .3s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .85; }
.thumb.is-active { opacity: 1; border-color: var(--gold); }
.modal-info { padding: clamp(22px, 3vw, 38px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.modal-index { font-size: .66rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.modal-title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.modal-location { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); }
.modal-type { display: inline-block; align-self: flex-start; padding: 7px 14px; border: 1px solid var(--line); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.modal-price { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); }
.modal-description { font-size: .94rem; color: var(--text-mute); }
.modal-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-block: 1px solid var(--line); padding-block: 16px; margin-top: 4px; }
.modal-specs dt { font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--olive); margin-bottom: 5px; }
.modal-specs dd { font-family: var(--serif); font-size: 1.2rem; }
.modal-sub { font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--olive); margin-top: 6px; }
.modal-amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-amenities li { padding: 6px 13px; border: 1px solid var(--line); font-size: .78rem; color: var(--text-mute); }
.modal-enquire { margin-top: auto; width: 100%; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1100px) {
  .properties-grid > .property-card { grid-column: span 6; margin-top: 0; }
  .pc-5 { grid-column: span 12; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .main-nav, .btn-header, .header-actions > .lang-switch { display: none; }
  .menu-toggle { display: block; }
  .services-layout { grid-template-columns: 1fr; }
  .services-visual { display: none; }
  .service-inline { display: block; margin: -8px 0 26px; aspect-ratio: 16 / 10; overflow: hidden; }
  .service-inline img { width: 100%; height: 100%; object-fit: cover; }
  .locations-grid { grid-template-columns: 1fr; }
  .enquiry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { margin-top: 8px; }
  .about-img-secondary { left: auto; right: 4%; }
  .properties-head { grid-template-columns: 1fr; align-items: start; }
  .modal-panel { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal-info { overflow: visible; }
  .modal-main { aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) {
  .properties-grid > .property-card { grid-column: span 12; }
  .property-media-wide { aspect-ratio: 16 / 10; }
  .why-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .district-note { display: none; }
}
@media (max-width: 560px) {
  h1 br, h2 br { display: none; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3rem); max-width: none; }
  h2 { font-size: clamp(2rem, 8.5vw, 2.5rem); }
  .cta h2 { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
}
@media (max-width: 480px) {
  .brand-sub { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-scroll { display: none; }
  .about-facts { grid-template-columns: 1fr; }
  .cta-contacts { flex-direction: column; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-head { grid-template-columns: 34px 1fr 40px; }
  .service-arrow { width: 38px; height: 38px; }
  .modal-specs { gap: 10px; }
  .modal-specs dt { letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .hero-media img { transform: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .reveal-img img { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ============================================================
   ARABIC / RTL — minimal scoped corrections ONLY.
   None of these selectors match the English page, so the
   master design renders pixel-identically in English.
============================================================ */

/* Arabic typeface via the same variable system (no structural change) */
html[lang="ar"] {
  --serif: 'Readex Pro', 'Almarai', 'Segoe UI', Tahoma, sans-serif;
  --sans: 'Readex Pro', 'Almarai', 'Segoe UI', Tahoma, sans-serif;
}
html[lang="ar"] body { line-height: 1.85; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.4; letter-spacing: 0; }
html[lang="ar"] .hero-title { line-height: 1.35; }
html[lang="ar"] .lead { line-height: 1.8; }
html[lang="ar"] .fact-value,
html[lang="ar"] .service-title,
html[lang="ar"] .district-name,
html[lang="ar"] .mobile-nav a { line-height: 1.5; }

/* Arabic has no italic convention — accent becomes colour/weight only */
html[lang="ar"] h1 em, html[lang="ar"] h2 em { font-style: normal; }
html[lang="ar"] .service-num,
html[lang="ar"] .district-num,
html[lang="ar"] .property-index,
html[lang="ar"] .trust-note,
html[lang="ar"] .success-demo { font-style: normal; }

/* Arabic script must not be letter-spaced */
html[lang="ar"] .eyebrow, html[lang="ar"] .skip-link, html[lang="ar"] .btn,
html[lang="ar"] .btn-header, html[lang="ar"] .main-nav a, html[lang="ar"] .lang-switch,
html[lang="ar"] .brand-name, html[lang="ar"] .brand-sub, html[lang="ar"] .mobile-nav a span,
html[lang="ar"] .hero-scroll-text, html[lang="ar"] .marquee-list li, html[lang="ar"] .fact-label,
html[lang="ar"] .property-location, html[lang="ar"] .view-btn, html[lang="ar"] .services-visual figcaption,
html[lang="ar"] .cta-label, html[lang="ar"] .field label, html[lang="ar"] .enquiry-quick span,
html[lang="ar"] .map-caption, html[lang="ar"] #riyadh-map text, html[lang="ar"] .modal-index,
html[lang="ar"] .modal-location, html[lang="ar"] .modal-type, html[lang="ar"] .modal-sub,
html[lang="ar"] .modal-specs dt, html[lang="ar"] .footer-heading, html[lang="ar"] .footer-name,
html[lang="ar"] .footer-sub, html[lang="ar"] .footer-contact span { letter-spacing: 0; }

/* Arabic labels run slightly wider — relax two fixed tracks */
html[lang="ar"] .main-nav a { font-size: .82rem; }
html[lang="ar"] .btn { font-size: .8rem; }
html[lang="ar"] .enquiry-quick span { width: auto; min-width: 72px; }

/* LTR phone/email inputs keep right alignment inside the RTL form */
html[dir="rtl"] input[dir="ltr"] { text-align: right; }

/* Directional arrows mirrored semantically (not a blanket flip) */
html[dir="rtl"] .view-btn svg { transform: scaleX(-1); }
html[dir="rtl"] .view-btn:hover svg,
html[dir="rtl"] .property-card:hover .view-btn svg { transform: scaleX(-1) translateX(5px); }
html[dir="rtl"] .service-arrow svg { transform: scaleX(-1); }

/* Physical-property mirrors that logical properties cannot cover */
html[dir="rtl"] .service-head:hover .service-title,
html[dir="rtl"] .service-item.is-active .service-title { transform: translateX(-8px); }
html[dir="rtl"] .about-img-secondary { left: auto; right: -9%; }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }

@media (max-width: 900px) {
  html[dir="rtl"] .about-img-secondary { right: 4%; }
}