/* ----------------------------------------------------------------
   haus & haus — cinematic microsite template
   Palette differentiator: cinematic graphite + warm Dubai bone
   with a single architectural marine accent (no black/gold, no
   beige/cream gradient, no purple-navy slop).
----------------------------------------------------------------- */

:root {
  /* Cinematic */
  --noir: #0E1318;
  --ink:  #161B22;
  --ink-2:#222831;
  --line-d:#2B313A;

  /* Editorial */
  --paper: #F4F0E7;
  --stone: #E8E1D2;
  --bone:  #DCD3BF;
  --line:  #D9D1BF;
  --line-soft:#E8E1D2;
  --muted: #7A715F;
  --text:  #181C20;

  /* Accent */
  --accent: #1B3A4D;       /* deep architectural marine */
  --accent-deep: #122A39;
  --accent-soft: #DDE5E9;
  --clay:   #B5694A;       /* warm Dubai sun — used sparingly */

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", "Times New Roman", serif;
  --sans:  "Hanken Grotesk", "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono:  "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Spacing rhythm */
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 11vw, 160px);
}

/* WARM palette variant (Tweaks) */
:root[data-palette="warm"] {
  --accent: #B5694A;
  --accent-deep: #8C4E36;
  --accent-soft: #F0DDD2;
  --clay: #1B3A4D;
}
/* MIDNIGHT variant — all dark */
:root[data-palette="midnight"] {
  --paper: #11161C;
  --stone: #161C24;
  --bone:  #1C232C;
  --line:  #2A313B;
  --line-soft:#1C232C;
  --muted: #8A8475;
  --text:  #ECE6D8;
  --accent: #C7A675;
  --accent-deep: #8E764F;
  --accent-soft: #2A2317;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[dir="rtl"] body { font-family: "Noto Kufi Arabic", var(--sans); }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ---------- typographic primitives ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-style: italic;
}
.display-roman {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow.on-dark { color: rgba(244, 240, 231, 0.55); }
.kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.body-lg {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 350;
  color: var(--text);
  text-wrap: pretty;
}
.body { font-size: 15px; line-height: 1.65; color: var(--text); }
.body-sm { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.wrap--narrow { max-width: 1080px; }

section { position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  background: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--paper);
}
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost-dark {
  border-color: rgba(244, 240, 231, 0.25);
  color: var(--paper);
}
.btn--ghost-dark:hover { border-color: var(--paper); }
.btn--whatsapp {
  background: #25D366; color: #0E1318;
}
.btn--whatsapp:hover { background: #1FB855; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
}
.chip--solid { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.chip--sample {
  background: rgba(181, 105, 74, 0.12);
  border-color: rgba(181, 105, 74, 0.35);
  color: var(--clay);
}

/* ---------- dot ---------- */
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ---------- hairline + dividers ---------- */
.hairline { height: 1px; background: var(--line); width: 100%; }
.hairline-d { height: 1px; background: var(--line-d); width: 100%; }
.vhairline { width: 1px; background: var(--line); align-self: stretch; }

/* logo wordmark */
.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.wordmark .amp {
  font-style: italic;
  color: var(--accent);
  padding: 0 2px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  color: var(--text);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.locale-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
}
.locale-pill:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--noir);
  color: var(--paper);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: contrast(1.05) saturate(0.95);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,19,24,0.55) 0%, rgba(14,19,24,0.15) 35%, rgba(14,19,24,0.85) 100%),
    linear-gradient(90deg, rgba(14,19,24,0.55) 0%, rgba(14,19,24,0) 60%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 48px;
  padding-bottom: 56px;
  gap: 64px;
}
.hero__topmeta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,240,231,0.65);
}
.hero__crumbs span.sep { opacity: 0.4; }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(60px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0;
}
.hero__title .roman {
  font-style: normal;
  font-weight: 400;
  display: block;
}
.hero__sub {
  display: flex;
  gap: 64px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
}
.hero__lede {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(244, 240, 231, 0.82);
  font-weight: 350;
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 240, 231, 0.15);
}
.hero__stat .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.hero__stat .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 231, 0.55);
  margin-top: 8px;
  display: block;
}

/* ---------- search bar (hero) ---------- */
.searchbar {
  background: var(--paper);
  color: var(--text);
  border-radius: 6px;
  padding: 8px;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  box-shadow: 0 24px 80px -20px rgba(0,0,0,0.4);
}
.searchbar__tabs {
  display: flex;
  gap: 0;
  padding: 0 8px;
}
.searchbar__tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
  color: var(--muted);
  border: none;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.searchbar__tab.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.searchbar__field {
  display: flex;
  flex-direction: column;
  padding: 8px 14px;
  border-left: 1px solid var(--line-soft);
}
.searchbar__field:first-of-type { border-left: none; }
.searchbar__field .lbl {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.searchbar__field .val {
  font-size: 14px;
  margin-top: 2px;
  color: var(--text);
}

/* ---------- trust strip ---------- */
.trust {
  background: var(--paper);
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  align-items: center;
  justify-content: space-between;
}
.trust__item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust__item .accent { color: var(--accent); font-weight: 600; }

/* ---------- editorial section ---------- */
.editorial {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.editorial--tight { padding-top: 80px; padding-bottom: 80px; }
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  margin-bottom: 72px;
  align-items: end;
}
.section-head__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head__title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}

/* ---------- listings grid ---------- */
.listings {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  row-gap: 64px;
}
.listing {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  position: relative;
}
.listing--feature {
  grid-column: span 6;
}
.listing__img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bone);
  position: relative;
}
.listing--feature .listing__img { aspect-ratio: 4/3; }
.listing__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.listing:hover .listing__img img { transform: scale(1.04); }
.listing__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
  pointer-events: none;
}
.listing__sample {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(14,19,24,0.65);
  color: var(--paper);
  padding: 6px 10px;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}
.listing__status {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 2px;
}
.listing__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.listing__title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.listing__specs {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.listing__specs span { display: flex; align-items: center; gap: 6px; }
.listing__price {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ---------- spec slab ---------- */
.spec-slab {
  background: var(--ink);
  color: var(--paper);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.spec-slab .section-head__num { color: rgba(244, 240, 231, 0.45); }
.spec-slab .section-head__title { color: var(--paper); }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-d);
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
}
.spec-cell {
  background: var(--ink);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 180px;
}
.spec-cell__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(244,240,231,0.45);
}
.spec-cell__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  color: var(--paper);
  margin: 0;
}
.spec-cell__body {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(244,240,231,0.72);
  margin-top: auto;
}

/* ---------- map block ---------- */
.map-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.map-block__copy { padding: 64px; background: var(--paper); }
.map-block__map {
  position: relative;
  background: var(--ink);
  min-height: 600px;
  overflow: hidden;
}
.map-svg { width: 100%; height: 100%; display: block; }

/* ---------- agents ---------- */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.agent {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.agent__img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bone);
}
.agent__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); }
.agent__name {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  margin: 0;
}
.agent__role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.agent__contact {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.agent__contact button {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--text);
}
.agent__contact button:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--accent);
  color: var(--paper);
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.cta-banner__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-banner__title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
  text-wrap: balance;
}
.cta-banner__form {
  background: rgba(244, 240, 231, 0.06);
  border: 1px solid rgba(244, 240, 231, 0.15);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-banner__form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta-banner__form input,
.cta-banner__form select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(244, 240, 231, 0.3);
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--paper);
  outline: none;
}
.cta-banner__form input::placeholder { color: rgba(244, 240, 231, 0.45); }
.cta-banner__form input:focus,
.cta-banner__form select:focus { border-bottom-color: var(--paper); }
.cta-banner__form select option { color: var(--text); }

/* ---------- footer ---------- */
.footer {
  background: var(--noir);
  color: rgba(244, 240, 231, 0.78);
  padding-top: 80px;
  padding-bottom: 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(244, 240, 231, 0.1);
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 240, 231, 0.5);
  margin: 0 0 18px 0;
  font-weight: 500;
}
.footer__col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: rgba(244, 240, 231, 0.78);
}
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 231, 0.4);
}

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  background: #25D366;
  color: #0E1318;
  border-radius: 999px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform .25s, background .25s;
  border: none;
}
.wa-fab:hover { background: #1FB855; transform: translateY(-2px); }
html[dir="rtl"] .wa-fab { right: auto; left: 24px; }

/* ---------- PROPERTY DETAIL ---------- */
.pd-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  min-height: 80vh;
  background: var(--ink);
}
.pd-hero__media { position: relative; overflow: hidden; }
.pd-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero__sample {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(14,19,24,0.75);
  color: var(--paper);
  padding: 8px 12px;
}
.pd-hero__copy {
  padding: 64px;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.pd-hero__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
  text-wrap: balance;
}
.pd-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244,240,231,0.15);
}
.pd-spec {
  padding: 20px 0;
  border-bottom: 1px solid rgba(244,240,231,0.15);
}
.pd-spec:nth-child(odd) { padding-right: 16px; border-right: 1px solid rgba(244,240,231,0.15); }
.pd-spec:nth-child(even) { padding-left: 16px; }
.pd-spec .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,240,231,0.5);
}
.pd-spec .val {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.1;
  color: var(--paper);
  margin-top: 6px;
}

.pd-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.pd-gallery > div {
  background: var(--bone);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.pd-gallery > div:nth-child(1) { grid-column: span 8; aspect-ratio: 16/9; }
.pd-gallery > div:nth-child(2) { grid-column: span 4; aspect-ratio: 4/5; }
.pd-gallery > div:nth-child(3) { grid-column: span 4; }
.pd-gallery > div:nth-child(4) { grid-column: span 4; }
.pd-gallery > div:nth-child(5) { grid-column: span 4; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* agent card on PD */
.pd-agent {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 32px;
}
.pd-agent__avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--bone); }
.pd-agent__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- VALUATION ---------- */
.val-hero {
  background: var(--paper);
  padding-top: 100px;
  padding-bottom: 100px;
  border-bottom: 1px solid var(--line);
}
.val-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.val-hero__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.val-form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px;
}
.val-form__step {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.val-form__step .dot-step {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bone);
}
.val-form__step .dot-step.active { background: var(--accent); }
.val-form__field { margin-bottom: 20px; }
.val-form__field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.val-form__field input,
.val-form__field select,
.val-form__field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  outline: none;
}
.val-form__field input:focus,
.val-form__field select:focus { border-bottom-color: var(--accent); }
.val-form__pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.val-form__pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--text);
}
.val-form__pill.is-active { background: var(--accent); color: var(--paper); border-color: var(--accent); }

/* ---------- RTL adjustments ---------- */
html[dir="rtl"] .listing__overlay,
html[dir="rtl"] .hero__sub { direction: rtl; }
html[dir="rtl"] .section-head { direction: rtl; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .searchbar { grid-template-columns: 1fr; }
  .searchbar__field { border-left: none; border-top: 1px solid var(--line-soft); }
  .searchbar__field:first-of-type { border-top: none; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .listing, .listing--feature { grid-column: span 6; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .map-block { grid-template-columns: 1fr; }
  .pd-hero { grid-template-columns: 1fr; }
  .cta-banner__inner { grid-template-columns: 1fr; gap: 40px; }
  .val-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-gallery > div:nth-child(n) { grid-column: span 6; aspect-ratio: 4/3 !important; }
}
@media (max-width: 640px) {
  .listing, .listing--feature { grid-column: span 12; }
  .spec-grid { grid-template-columns: 1fr; }
  .agent-grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .pd-gallery > div:nth-child(n) { grid-column: span 12; }
  .map-block__copy { padding: 40px 24px; }
  .pd-hero__copy { padding: 40px 24px; }
}

/* ---------- subtle reveal anim (disabled for screenshot stability) ---------- */
.fade-up { /* no-op — kept for class compatibility */ }
.fade-up.delay-1, .fade-up.delay-2, .fade-up.delay-3, .fade-up.delay-4 { }
