:root {
  --ink: #14201c;
  --ink-soft: #30413a;
  --forest: #173c32;
  --forest-deep: #0d2b23;
  --olive: #768b4b;
  --sand: #eee6d8;
  --cream: #f8f5ef;
  --paper: #fffdf8;
  --terracotta: #a95337;
  --line: rgba(20, 32, 28, 0.16);
  --muted: #65706b;
  --header-height: 78px;
  --shell: min(1240px, calc(100vw - 64px));
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body { overflow-x: hidden; background: var(--cream); }
body.menu-open { overflow: hidden; }
button, input { font: inherit; }
a { color: inherit; }
button { color: inherit; }

::selection { color: var(--paper); background: var(--forest); }

.skip-link {
  position: fixed;
  inset: -80px auto auto 20px;
  z-index: 2000;
  padding: 11px 16px;
  color: #fff;
  background: var(--forest-deep);
  text-decoration: none;
  transition: inset 180ms ease;
}
.skip-link:focus { inset-block-start: 14px; }

.section-shell { width: var(--shell); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font: 700 0.76rem/1.4 "Noto Kufi Arabic", sans-serif;
  letter-spacing: 0.02em;
}
.section-number {
  margin: 0;
  color: rgba(20, 32, 28, 0.18);
  font: 600 clamp(3.8rem, 7vw, 7.6rem)/0.8 "Noto Kufi Arabic", sans-serif;
}
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: "Noto Kufi Arabic", sans-serif; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 36px;
  padding-inline: max(32px, calc((100vw - 1360px) / 2));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: height 220ms ease, color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled,
.site-header.menu-active {
  height: 68px;
  color: var(--ink);
  background: rgba(248, 245, 239, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(20, 32, 28, 0.08);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 800 1.02rem/1 "Noto Kufi Arabic", sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.brand svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand .brand-check { stroke: #d7a374; stroke-width: 2.2; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; }
.desktop-nav a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}
.site-header:not(.is-scrolled) .header-cta:hover { color: var(--forest-deep); background: #fff; }
.site-header.is-scrolled .header-cta:hover { color: #fff; background: var(--forest); }
.menu-button, .mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}
.hero-image {
  z-index: -3;
  background: url("hero-casablanca.webp") center 52% / cover no-repeat;
  transform: scale(1.035);
  animation: hero-image-in 1.6s cubic-bezier(.2,.75,.2,1) both;
}
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 21, 17, 0.16) 0%, rgba(7, 21, 17, 0.42) 48%, rgba(7, 21, 17, 0.9) 100%),
    linear-gradient(0deg, rgba(7, 21, 17, 0.55) 0%, transparent 48%);
}
.hero-content {
  width: min(760px, calc(100vw - 64px));
  margin-inline: max(32px, calc((100vw - 1360px) / 2)) auto;
  padding-block: calc(var(--header-height) + 50px) 130px;
}
.hero-kicker {
  margin: 0 0 9px;
  font: 700 0.83rem/1.5 "Noto Kufi Arabic", sans-serif;
  letter-spacing: 0.04em;
  animation: hero-up 720ms 180ms cubic-bezier(.2,.75,.2,1) both;
}
.hero h1 {
  margin: 0;
  font-size: clamp(4.6rem, 9vw, 8.25rem);
  line-height: 0.98;
  letter-spacing: -0.08em;
  white-space: nowrap;
  animation: hero-up 800ms 260ms cubic-bezier(.2,.75,.2,1) both;
}
.hero-promise {
  max-width: 590px;
  margin: 25px 0 0;
  font: 600 clamp(1.25rem, 2.25vw, 2rem)/1.6 "Noto Kufi Arabic", sans-serif;
  animation: hero-up 800ms 360ms cubic-bezier(.2,.75,.2,1) both;
}
.hero-copy {
  max-width: 550px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.9;
  animation: hero-up 800ms 430ms cubic-bezier(.2,.75,.2,1) both;
}
.hero-copy strong { color: #fff; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 34px;
  animation: hero-up 800ms 520ms cubic-bezier(.2,.75,.2,1) both;
}
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--forest-deep); background: #fff; }
.button-light:hover { color: #fff; background: var(--terracotta); }
.text-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  border-bottom: 1px solid rgba(255,255,255,.6);
  font-weight: 700;
  text-decoration: none;
}
.text-action span { transition: transform 180ms ease; }
.text-action:hover span { transform: translateX(-5px); }
.hero-proof {
  position: absolute;
  inset: auto auto 38px max(32px, calc((100vw - 1360px) / 2));
  display: flex;
  gap: 22px;
  color: rgba(255,255,255,.84);
  font-size: 0.76rem;
  font-weight: 700;
  animation: hero-up 800ms 650ms both;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #d7a374; }
.scroll-cue {
  position: absolute;
  inset: auto 50% 29px auto;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.68);
  font-size: 0.67rem;
  text-decoration: none;
}
.scroll-cue i { width: 1px; height: 38px; background: rgba(255,255,255,.52); transform-origin: top; animation: scroll-line 1.8s infinite; }

.concept {
  display: grid;
  grid-template-columns: 130px minmax(0, 1.15fr) minmax(290px, .7fr);
  align-items: start;
  gap: 48px;
  padding-block: 155px 140px;
}
.concept h2,
.search-heading h2,
.how-intro h2,
.trust-copy h2,
.owner-content h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.25vw, 4.7rem);
  line-height: 1.35;
  letter-spacing: -0.045em;
}
.concept-copy { padding-top: 34px; }
.concept-copy p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 2;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--forest);
  border-bottom: 1px solid currentColor;
  font-weight: 800;
  text-decoration: none;
}
.inline-link span { transition: transform 180ms ease; }
.inline-link:hover span { transform: translateX(-5px); }

.search-section { padding-block: 128px 142px; background: var(--sand); }
.search-heading {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(290px, .62fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 58px;
}
.search-heading > p:last-child { margin: 0 0 4px; color: var(--ink-soft); line-height: 1.9; }
.search-workspace {
  width: min(1360px, calc(100vw - 36px));
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(330px, 400px) minmax(0, 1fr);
  margin-inline: auto;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(44, 49, 43, 0.16);
}
.search-controls {
  position: relative;
  z-index: 3;
  padding: 38px 34px;
  border-left: 1px solid var(--line);
  background: var(--paper);
}
#geo-form { display: grid; gap: 28px; }
.field-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-group > label,
.field-group legend,
.field-label-row label {
  display: block;
  margin: 0 0 10px;
  font: 700 0.82rem/1.6 "Noto Kufi Arabic", sans-serif;
}
.native-address { position: relative; }
.native-address input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px 0 48px;
  border: 1px solid #bfc6c1;
  border-radius: 0;
  outline: none;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.native-address input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23,60,50,.12); }
.native-address svg {
  position: absolute;
  inset: 50% auto auto 16px;
  width: 20px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--forest);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.google-autocomplete { direction: rtl; }
.google-autocomplete gmp-place-autocomplete { width: 100%; color-scheme: light; }
.pinpoint-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  background: transparent;
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 800;
}
.pinpoint-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.pinpoint-button[aria-pressed="true"] { color: var(--terracotta); }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: 0.73rem; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.mode-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mode-switch label {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}
.mode-switch label + input + label { border-right: 1px solid var(--line); }
.mode-switch label svg,
.search-submit svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mode-switch input:checked + label { color: #fff; background: var(--forest); }
.mode-switch input:focus-visible + label { outline: 3px solid rgba(23,60,50,.2); outline-offset: -3px; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.field-label-row output { color: var(--terracotta); font-weight: 800; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--forest); cursor: pointer; direction: ltr; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.68rem; direction: ltr; }
.search-submit {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: var(--terracotta);
  cursor: pointer;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}
.search-submit:hover { background: var(--forest); transform: translateY(-2px); }
.search-submit:disabled { opacity: .62; cursor: wait; transform: none; }
.search-submit svg { transition: transform 180ms ease; }
.search-submit:hover svg { transform: translateX(-5px); }
.search-status { min-height: 26px; margin-top: 18px; color: var(--muted); font-size: 0.78rem; line-height: 1.7; }
.search-status.is-error { color: #9b362d; }
.search-status.is-loading::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-inline-end: 8px;
  border: 2px solid rgba(23,60,50,.2);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.search-result { margin-top: 6px; padding: 18px 0; border-block: 1px solid var(--line); }
.search-result p { margin: 0 0 5px; color: var(--terracotta); font-size: .69rem; font-weight: 800; }
.search-result h3 { margin: 0; font-size: 1.05rem; line-height: 1.65; }
.search-result span { color: var(--muted); font-size: .78rem; }
.map-disclaimer { margin: 24px 0 0; color: var(--muted); font-size: .71rem; line-height: 1.8; }
.map-panel { position: relative; min-width: 0; min-height: 720px; background: #d9ddd6; overflow: hidden; direction: ltr; }
#map { position: absolute; inset: 0; z-index: 1; }
.map-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(18, 40, 34, .09);
}
.pinpoint-banner {
  position: absolute;
  z-index: 500;
  inset: 20px 50% auto auto;
  transform: translateX(50%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 14px;
  direction: rtl;
  color: #fff;
  background: var(--forest-deep);
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.pinpoint-banner button { padding: 0; border: 0; border-bottom: 1px solid currentColor; color: #fff; background: transparent; cursor: pointer; }
.map-panel.is-pinpointing #map { cursor: crosshair; }
.map-caption,
.map-key {
  position: absolute;
  z-index: 450;
  bottom: 24px;
  padding: 9px 12px;
  direction: rtl;
  color: var(--ink);
  background: rgba(255,253,248,.91);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(20,32,28,.12);
  font-size: .69rem;
  font-weight: 700;
}
.map-caption { right: 24px; }
.map-key { left: 24px; display: flex; align-items: center; gap: 8px; }
.map-key i { width: 14px; height: 14px; border: 2px solid var(--forest); background: rgba(118,139,75,.3); }
.leaflet-container { font-family: "Noto Sans Arabic", sans-serif; }
.leaflet-control-attribution { font-size: 8px; }
.destination-label {
  padding: 5px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: var(--forest-deep) !important;
  box-shadow: 0 7px 16px rgba(0,0,0,.2) !important;
  direction: rtl;
}
.destination-label::before { border-top-color: var(--forest-deep) !important; }
.demo-marker {
  display: grid;
  place-items: center;
  width: 24px !important;
  height: 24px !important;
  margin: -12px 0 0 -12px !important;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--terracotta);
  box-shadow: 0 4px 14px rgba(20,32,28,.3);
  font-size: 9px;
  font-weight: 800;
}
.demo-results { padding-top: 58px; }
.demo-results-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 25px; border-bottom: 1px solid rgba(20,32,28,.2); }
.demo-results-head h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.demo-results-head > p { max-width: 350px; margin: 0; color: var(--muted); font-size: .78rem; }
.demo-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.demo-item {
  min-width: 0;
  padding: 25px 22px;
  border-bottom: 1px solid rgba(20,32,28,.18);
  border-left: 1px solid rgba(20,32,28,.18);
}
.demo-item:nth-child(3n) { border-left: 0; }
.demo-item > span { color: var(--terracotta); font-size: .68rem; font-weight: 800; }
.demo-item h4 { margin: 8px 0 5px; font: 700 1rem/1.6 "Noto Kufi Arabic", sans-serif; }
.demo-item p { margin: 0; color: var(--muted); font-size: .76rem; }
.demo-item strong { display: block; margin-top: 12px; font-size: .9rem; }
.demo-empty { grid-column: 1 / -1; margin: 0; padding: 36px 0; color: var(--muted); }

.how-section { padding-block: 150px; background: var(--paper); }
.how-section-early { position: relative; }
.how-section-early::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(20,32,28,.18), transparent);
}
.how-layout { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.15fr); gap: 10vw; align-items: start; }
.how-intro { position: sticky; top: 120px; }
.how-intro .section-number { margin-bottom: 50px; }
.how-intro > p:last-child { max-width: 470px; margin: 26px 0 0; color: var(--muted); line-height: 1.9; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { display: grid; grid-template-columns: 76px 1fr; gap: 28px; padding: 52px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step > span { color: var(--terracotta); font: 600 2.2rem/1 "Noto Kufi Arabic", sans-serif; }
.step h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.55; }
.step p { max-width: 560px; margin: 13px 0 0; color: var(--muted); line-height: 1.9; }

.trust-section { position: relative; padding-block: 145px; color: #fff; background: var(--forest-deep); overflow: hidden; }
.trust-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -270px;
  left: -190px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018);
}
.trust-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr); gap: 10vw; align-items: center; }
.section-number-light { color: rgba(255,255,255,.13); margin-bottom: 52px; }
.eyebrow-light { color: #d7a374; }
.trust-copy > p:not(.eyebrow):not(.section-number) { max-width: 610px; margin: 28px 0 0; color: rgba(255,255,255,.68); line-height: 1.95; }
.trust-note { max-width: 580px; display: flex; align-items: flex-start; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.74); font-size: .78rem; line-height: 1.8; }
.trust-note span { flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #d7a374; border-radius: 50%; color: #d7a374; font-weight: 800; }
.verification-sheet {
  position: relative;
  padding: 33px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 24px 24px 0 rgba(255,255,255,.07);
  transform: rotate(-1.5deg);
  transition: transform 300ms ease;
}
.verification-sheet:hover { transform: rotate(0); }
.verification-sheet::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(20,32,28,.08); pointer-events: none; }
.sheet-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 23px; border-bottom: 2px solid var(--ink); }
.sheet-head span { color: var(--muted); font-size: .76rem; }
.sheet-head strong { color: var(--forest); font: 800 1rem/1.4 "Noto Kufi Arabic", sans-serif; }
.verification-sheet ul { position: relative; margin: 0; padding: 8px 0; list-style: none; }
.verification-sheet li { display: grid; grid-template-columns: 35px 1fr; gap: 15px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.verification-sheet li i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--forest); font-style: normal; font-weight: 800; }
.verification-sheet li span { display: flex; justify-content: space-between; gap: 12px; }
.verification-sheet li strong { font-size: .86rem; }
.verification-sheet li small { color: var(--muted); font-size: .69rem; }
.verification-sheet > p { position: relative; margin: 17px 0 0; color: var(--muted); font-size: .69rem; }

.owner-section { position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden; }
.owner-image { position: absolute; inset: 0; background: url("hero-casablanca.webp") center 58% / cover no-repeat; filter: saturate(.78); }
.owner-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,245,239,.12), rgba(248,245,239,.88) 55%, var(--cream) 100%); }
.owner-content { position: relative; z-index: 2; }
.owner-content > * { max-width: 670px; }
.owner-content p:not(.eyebrow) { margin: 24px 0 30px; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.95; }
.button-dark { color: #fff; background: var(--forest-deep); }
.button-dark:hover { background: var(--terracotta); }
.owner-content small { display: block; margin-top: 18px; color: var(--muted); font-size: .72rem; }

.whatsapp-flow { padding-block: 130px; background: #eef1e8; }
.conversation-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(380px, 1fr); gap: 10vw; align-items: start; }
.conversation-intro { position: sticky; top: 130px; }
.conversation-intro h2 { margin-top: 12px; font-size: clamp(2.1rem, 4vw, 4rem); }
.conversation-intro > p:last-child { margin: 25px 0 0; color: var(--ink-soft); line-height: 1.95; }
.message-sequence { display: flex; flex-direction: column; gap: 26px; margin: 0; padding: 20px 0; list-style: none; }
.message { max-width: 86%; padding: 20px 22px; border-radius: 18px 18px 5px 18px; background: #fff; box-shadow: 0 14px 35px rgba(18,42,34,.07); }
.message:nth-child(even) { margin-inline-start: auto; }
.message span { display: block; margin-bottom: 8px; color: var(--terracotta); font: 800 .67rem/1.5 "Noto Kufi Arabic", sans-serif; }
.message p { margin: 0; color: var(--ink-soft); line-height: 1.8; }
.message-owner { color: #fff; background: var(--forest); border-radius: 18px 18px 18px 5px; }
.message-owner span, .message-owner p { color: #fff; }
.message-preview { max-width: 100%; border: 1px solid rgba(23,60,50,.2); }
.message-preview strong { display: block; margin-top: 16px; color: var(--forest); font-size: .78rem; }

.inventory-section { padding-block: 120px; background: var(--cream); }
.inventory-heading { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 48px; }
.inventory-heading h2 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3.8rem); }
.inventory-heading > p { max-width: 440px; margin: 0; color: var(--muted); line-height: 1.8; }
.public-listings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.listing-card { min-width: 0; background: #fff; }
.listing-image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #d9ddd5; }
.listing-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.75,.2,1); }
.listing-image:hover img { transform: scale(1.035); }
.listing-image span { position: absolute; top: 14px; right: 14px; padding: 6px 9px; color: #fff; background: #a33a2d; font-size: .62rem; }
.listing-copy { padding: 25px 26px 28px; }
.listing-copy > p { margin: 0 0 9px; color: var(--muted); font-size: .76rem; }
.listing-copy h3 { margin: 0 0 12px; font-size: 1.25rem; }
.listing-copy h3 a { color: inherit; text-decoration: none; }
.listing-copy strong { display: block; margin-top: 19px; color: var(--forest); font: 800 1.15rem/1.4 "Noto Kufi Arabic", sans-serif; }
.inventory-status { grid-column: 1 / -1; padding: 28px 0; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inventory-error { color: #8c3028; }

.listing-page { min-height: 100vh; background: var(--cream); }
.detail-header { width: min(100% - 48px, 1240px); height: 94px; display: flex; align-items: center; justify-content: space-between; margin-inline: auto; }
.detail-header .brand { color: var(--forest-deep); }
.detail-shell { width: min(100% - 48px, 1240px); margin-inline: auto; padding-bottom: 110px; }
.detail-loading, .detail-error { margin: 80px 0; padding: 35px 0; border-block: 1px solid var(--line); color: var(--muted); }
.detail-gallery { display: grid; grid-template-columns: 1.55fr .75fr; grid-template-rows: repeat(2, minmax(190px, 1fr)); gap: 8px; max-height: 670px; overflow: hidden; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery img:first-child { grid-row: 1 / 3; }
.detail-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr); gap: 8vw; align-items: start; padding-top: 70px; }
.detail-copy h1 { max-width: 800px; margin: 10px 0 18px; font-size: clamp(2.2rem, 5vw, 4.8rem); }
.detail-place { color: var(--muted); }
.detail-description { max-width: 760px; margin: 35px 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 2; }
.detail-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 28px 0; border-block: 1px solid var(--line); }
.detail-facts div { padding-inline: 16px; border-inline-start: 1px solid var(--line); }
.detail-facts div:first-child { padding-inline-start: 0; border: 0; }
.detail-facts dt { color: var(--muted); font-size: .68rem; }
.detail-facts dd { margin: 7px 0 0; font-weight: 700; }
.detail-location { display: grid; gap: 16px; margin-top: 44px; }
.detail-location h2 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.detail-map { width: 100%; min-height: 410px; overflow: hidden; background: #d9ddd6; direction: ltr; }
.detail-location .inline-link { width: max-content; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 35px; }
.detail-badges span { padding: 9px 12px; color: var(--forest); background: #e6ebe3; font-size: .69rem; font-weight: 700; }
.contact-sheet { position: sticky; top: 25px; padding: 34px; background: #fff; box-shadow: 20px 20px 0 rgba(23,60,50,.06); }
.contact-sheet > p:first-child { margin: 0 0 8px; color: var(--muted); font-size: .7rem; }
.contact-sheet > strong { display: block; color: var(--forest); font: 800 1.7rem/1.5 "Noto Kufi Arabic", sans-serif; }
.price-range { display: grid; gap: 6px; margin: 27px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.price-range span, .price-range small { color: var(--muted); font-size: .66rem; line-height: 1.6; }
.price-range b { font-size: .78rem; }
.button-whatsapp { width: 100%; color: #fff; background: #187c55; text-align: center; }
.button-whatsapp:hover { color: #fff; background: #116745; }
.public-number { margin: 14px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }

.site-footer { padding: 70px max(32px, calc((100vw - 1240px) / 2)) 30px; color: rgba(255,255,255,.76); background: var(--ink); }
.brand-footer { color: #fff; }
.site-footer > p { max-width: 520px; margin: 24px 0 62px; line-height: 1.9; }
.footer-meta { display: flex; justify-content: space-between; gap: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .69rem; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes hero-image-in { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1.035); } }
@keyframes hero-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-line { 0% { transform: scaleY(0); transform-origin: top; } 48% { transform: scaleY(1); transform-origin: top; } 52% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1040px) {
  :root { --shell: min(100% - 44px, 920px); }
  .site-header { padding-inline: 22px; }
  .desktop-nav { gap: 18px; }
  .concept,
  .search-heading { grid-template-columns: 90px 1fr; gap: 35px; }
  .concept-copy,
  .search-heading > p:last-child { grid-column: 2; padding-top: 0; }
  .search-workspace { grid-template-columns: 340px 1fr; min-height: 660px; }
  .search-controls { padding: 30px 25px; }
  .map-panel { min-height: 660px; }
  .trust-layout { gap: 7vw; }
  .verification-sheet { padding: 27px; }
}

@media (max-width: 780px) {
  :root { --header-height: 66px; --shell: calc(100vw - 36px); }
  .site-header { height: var(--header-height); padding-inline: 18px; }
  .site-header.is-scrolled, .site-header.menu-active { height: 62px; }
  .brand { font-size: .89rem; }
  .brand svg { width: 31px; height: 31px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 7px;
    margin-inline-start: auto;
    padding: 0;
    border: 1px solid currentColor;
    background: transparent;
    cursor: pointer;
  }
  .menu-button span { width: 18px; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav {
    position: absolute;
    inset: 62px 0 auto;
    z-index: 999;
    width: 100vw;
    height: calc(100svh - 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 30px;
    color: var(--ink);
    background: var(--cream);
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font: 700 1.2rem/1.6 "Noto Kufi Arabic", sans-serif; text-decoration: none; }
  .hero { min-height: 760px; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,21,17,.88), rgba(7,21,17,.18) 90%); }
  .hero-content { width: var(--shell); margin-inline: auto; padding-block: 145px 150px; align-self: end; }
  .hero h1 { font-size: clamp(4.2rem, 21vw, 6.6rem); }
  .hero h1 { white-space: normal; }
  .hero-promise { font-size: 1.18rem; margin-top: 18px; }
  .hero-copy { font-size: .9rem; line-height: 1.85; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .text-action { align-self: flex-start; }
  .hero-proof { inset: auto 18px 28px auto; gap: 12px; flex-wrap: wrap; }
  .scroll-cue { display: none; }
  .concept { grid-template-columns: 1fr; gap: 24px; padding-block: 100px; }
  .concept .section-number { margin-bottom: 28px; }
  .concept-copy { grid-column: 1; padding-top: 4px; }
  .concept h2,
  .search-heading h2,
  .how-intro h2,
  .trust-copy h2,
  .owner-content h2 { font-size: clamp(2rem, 9.8vw, 3.2rem); }
  .search-section { padding-block: 90px 100px; }
  .search-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
  .search-heading .section-number { margin-bottom: 20px; }
  .search-heading > p:last-child { grid-column: 1; }
  .search-workspace { width: 100%; min-height: 0; grid-template-columns: 1fr; }
  .search-controls { order: 1; padding: 32px 22px; border: 0; }
  .map-panel { order: 2; min-height: 56svh; }
  .map-caption { right: 12px; bottom: 12px; }
  .map-key { left: 12px; bottom: 12px; }
  .demo-results { padding-top: 43px; }
  .demo-results-head { align-items: start; flex-direction: column; }
  .demo-list { grid-template-columns: 1fr; }
  .demo-item { padding-inline: 0; border-left: 0; }
  .how-section { padding-block: 100px; }
  .how-layout { grid-template-columns: 1fr; gap: 68px; }
  .how-intro { position: static; }
  .how-intro .section-number { margin-bottom: 34px; }
  .step { grid-template-columns: 48px 1fr; gap: 18px; padding: 38px 0; }
  .step > span { font-size: 1.6rem; }
  .trust-section { padding-block: 100px; }
  .trust-layout { grid-template-columns: 1fr; gap: 68px; }
  .section-number-light { margin-bottom: 35px; }
  .verification-sheet { margin-inline: 8px; padding: 25px 22px; transform: rotate(-1deg); }
  .verification-sheet li span { flex-direction: column; gap: 3px; }
  .owner-section { min-height: 760px; align-items: end; }
  .owner-image::after { background: linear-gradient(0deg, var(--cream) 0%, rgba(248,245,239,.9) 48%, rgba(248,245,239,.2) 100%); }
  .owner-content { padding-block: 300px 80px; }
  .conversation-layout { grid-template-columns: 1fr; gap: 55px; }
  .conversation-intro { position: static; }
  .message { max-width: 92%; }
  .inventory-heading { align-items: start; flex-direction: column; gap: 20px; }
  .public-listings { grid-template-columns: 1fr; }
  .detail-header, .detail-shell { width: calc(100% - 36px); }
  .detail-header { height: 76px; }
  .detail-gallery { grid-template-columns: 1fr; grid-template-rows: auto; max-height: none; }
  .detail-gallery img { aspect-ratio: 16 / 10; }
  .detail-gallery img:first-child { grid-row: auto; }
  .detail-main { grid-template-columns: 1fr; gap: 50px; padding-top: 50px; }
  .detail-map { min-height: 52svh; }
  .detail-facts { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .detail-facts div:nth-child(3) { border: 0; padding-inline-start: 0; }
  .contact-sheet { position: static; }
  .site-footer { padding-inline: 18px; }
  .site-footer > p { margin-bottom: 45px; }
  .footer-meta { flex-direction: column; gap: 8px; }
}

@media (max-width: 430px) {
  .hero-content { padding-bottom: 155px; }
  .hero-proof { font-size: .65rem; }
  .search-controls { padding-inline: 18px; }
  .pinpoint-banner { width: calc(100% - 24px); justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
}
