/* ==========================================================================
   منازل العزيزية للخدمات العقارية — Main Stylesheet
   Azizia Homes Real Estate Services · Jeddah, KSA

   Visual direction
   - Light, high-trust corporate canvas (Stripe-inspired polish: hairline grid
     guides, two-tone headings, layered navy-tinted shadows, product-style
     mock-ups inside cards).
   - Colors are sampled from the company logo: royal navy + silver, with
     the corporate ink navy for text and dark surfaces.
   - Gold is reserved for the core USP ("العقار من المالك مباشرة") and the
     broker portal, so it always signals the same thing.
   - The logo's Kufic diamond dots are reused as bullets, step markers and
     the "direct from owner" seal.

   Contents
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Buttons & links
   6.  Badges, tags & lists
   7.  Form controls
   8.  Header, navigation & mobile drawer
   9.  Home: hero & search panel
   10. Home: USP strip
   11. Section headings
   12. Home: services bento & mock-ups
   13. Tabs
   14. Property cards & grid
   15. Home: owner/broker pitch (dark)
   16. Testimonials & trust badges
   17. FAQ accordion
   18. Inner page hero & CTA band
   19. About page
   20. Services page
   21. Properties page (filters)
   22. Request page (form)
   23. Contact page
   24. Dialogs (modals)
   25. Footer
   26. Floating WhatsApp & page guides
   27. Utilities & motion preferences
   ========================================================================== */


/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  /* — Brand (sampled from the logo) — */
  --c-brand: #1F3E7D;          /* Logo royal navy: primary actions, links   */
  --c-brand-hover: #183266;    /* Hover / pressed state of primary          */
  --c-brand-2: #3B63B5;        /* Lighter brand blue: gradients, focus ring */
  --c-brand-soft: #EEF3FB;     /* Brand-tinted surfaces                     */
  --c-brand-soft-2: #DCE6F7;   /* Stronger tint for washes                  */
  --c-silver: #BCBEC0;         /* Logo silver: line work                    */

  /* — Corporate ink navy — */
  --c-ink: #0F172A;            /* Headings, dark surfaces                   */
  --c-ink-2: #1E293B;          /* Secondary dark surface                    */
  --c-ink-3: #334155;          /* Strong secondary text                     */

  /* — Text — */
  --c-body: #475569;           /* Body copy (AA on white & #F8FAFC)         */
  --c-muted-head: #5A6B88;     /* Second tone of two-tone headings          */
  --c-caption: #64748B;        /* Captions, hints, meta                     */

  /* — Accent: gold (USP + broker portal only) — */
  --c-gold: #D97706;
  --c-gold-2: #F59E0B;
  --c-gold-ink: #B45309;       /* Gold for text on light surfaces (AA)      */
  --c-gold-soft: #FFF7E8;

  /* — Status — */
  --c-success: #047857;
  --c-success-soft: #E8F7F0;
  --c-danger: #C62828;
  --c-danger-soft: #FDF0F0;
  --c-whatsapp: #1EA952;       /* Darkened WhatsApp green: 3:1 with white   */

  /* — Surfaces & lines — */
  --c-bg: #F8FAFC;             /* Page background (off-white)               */
  --c-surface: #FFFFFF;        /* Cards, panels                             */
  --c-line: #E3E8EF;           /* Hairlines, card borders                   */
  --c-line-2: #CBD5E1;         /* Input borders, stronger dividers          */
  --c-guide: rgba(15, 23, 42, .06); /* Vertical page guides               */

  /* — Typography — one family (Cairo) whose geometric, Kufic-leaning
       forms echo the square calligraphy of the logo. — */
  --font: 'Cairo', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --fs-12: .75rem;
  --fs-13: .8125rem;
  --fs-14: .875rem;
  --fs-15: .9375rem;
  --fs-17: 1.0625rem;          /* Body: Arabic reads best a touch larger    */
  --fs-19: 1.1875rem;
  --fs-22: 1.375rem;
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  --fs-h1: clamp(1.875rem, 1.15rem + 2.4vw, 3rem);
  --fs-page-h1: clamp(1.75rem, 1.15rem + 2.1vw, 2.75rem);
  --lh-body: 1.85;
  --lh-head: 1.45;

  /* — Spacing scale — */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --section-y: clamp(4rem, 2.75rem + 4.5vw, 7rem);

  /* — Layout — */
  --container: 1200px;
  --gutter: 1rem;
  --header-h: 72px;

  /* — Radii: scale follows hierarchy (controls < cards < panels) — */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* — Shadows: layered and navy-tinted — */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --sh-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 3px 8px -2px rgba(15, 23, 42, .07);
  --sh-md: 0 2px 4px -1px rgba(15, 23, 42, .05), 0 14px 28px -10px rgba(15, 23, 42, .14);
  --sh-lg: 0 30px 60px -12px rgba(31, 62, 125, .22), 0 18px 36px -18px rgba(15, 23, 42, .28);
  --ring: 0 0 0 3px rgba(59, 99, 181, .32);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (min-width: 640px)  { :root { --gutter: 1.5rem; } }
@media (min-width: 1024px) { :root { --gutter: 2rem; --header-h: 76px; } }


/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-17);
  line-height: var(--lh-body);
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg,
video,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a { color: var(--c-brand); text-underline-offset: .2em; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--c-brand-2);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--c-brand-soft-2); color: var(--c-ink); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  padding: .6rem 1rem;
  border-radius: var(--r-sm);
  background: var(--c-ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }


/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--c-ink);
  font-weight: 700;
  line-height: var(--lh-head);
  text-wrap: balance;
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-19); }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

strong { color: var(--c-ink); font-weight: 700; }

.num {
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}

/* Two-tone heading: statement in ink, elaboration in muted slate */
.tt span { color: var(--c-muted-head); }

.lead {
  font-size: var(--fs-19);
  line-height: 1.8;
  color: var(--c-body);
  max-width: 62ch;
}


/* ==========================================================================
   4. Layout primitives
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--white {
  background: var(--c-surface);
  border-block: 1px solid var(--c-line);
}

.section--flush-top { padding-top: 0; }

.stack > * + * { margin-top: var(--s-4); }

.grid-2 {
  display: grid;
  gap: var(--s-6);
}

@media (min-width: 900px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
}


/* ==========================================================================
   5. Buttons & links
   ========================================================================== */
.btn {
  --btn-bg: var(--c-surface);
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-line-2);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .55rem 1.15rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-15);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.btn:hover { --btn-bd: var(--c-ink-3); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--primary {
  --btn-bg: var(--c-brand);
  --btn-fg: #fff;
  --btn-bd: var(--c-brand);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .12), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn--primary:hover { --btn-bg: var(--c-brand-hover); --btn-bd: var(--c-brand-hover); }

.btn--dark {
  --btn-bg: var(--c-ink);
  --btn-fg: #fff;
  --btn-bd: var(--c-ink);
}
.btn--dark:hover { --btn-bg: var(--c-ink-2); --btn-bd: var(--c-ink-2); }

.btn--gold {
  --btn-bg: var(--c-gold-2);
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-gold-2);
  box-shadow: 0 8px 24px -8px rgba(245, 158, 11, .55);
}
.btn--gold:hover { --btn-bg: #FBB23D; --btn-bd: #FBB23D; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-bd: transparent;
}
.btn--ghost:hover { --btn-bg: rgba(15, 23, 42, .05); --btn-bd: transparent; }

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, .06);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .28);
}
.btn--on-dark:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: rgba(255, 255, 255, .5); }

.btn--whatsapp {
  --btn-bg: var(--c-whatsapp);
  --btn-fg: #fff;
  --btn-bd: var(--c-whatsapp);
}
.btn--whatsapp:hover { --btn-bg: #188F45; --btn-bd: #188F45; }

.btn--sm { min-height: 38px; padding: .4rem .9rem; font-size: var(--fs-14); }
.btn--lg { min-height: 52px; padding: .75rem 1.5rem; font-size: var(--fs-17); }
.btn--block { width: 100%; }
.btn--icon { padding-inline: .7rem; }

.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn[aria-busy="true"]::before {
  content: "";
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* Stripe-style hover arrow (points left: forward in RTL) */
.harrow {
  width: 10px;
  height: 10px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.harrow__line { opacity: 0; transition: opacity .15s ease; }
.harrow__tip { transform: translateX(3px); transition: transform .15s ease; }
a:hover > .harrow .harrow__line,
button:hover > .harrow .harrow__line,
a:focus-visible > .harrow .harrow__line { opacity: 1; }
a:hover > .harrow .harrow__tip,
button:hover > .harrow .harrow__tip,
a:focus-visible > .harrow .harrow__tip { transform: translateX(0); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--c-brand);
  font-size: var(--fs-15);
  font-weight: 700;
  text-decoration: none;
}
.link-arrow:hover { color: var(--c-brand-hover); }


/* ==========================================================================
   6. Badges, tags & lists
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .15rem .55rem;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, .94);
  color: var(--c-ink);
  font-size: var(--fs-12);
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
  box-shadow: var(--sh-xs);
}

/* The "direct from owner" seal: ink navy with a gold Kufic diamond */
.badge--direct {
  background: var(--c-ink);
  color: #fff;
}
.badge--direct::before,
.diamond {
  content: "";
  display: inline-block;
  width: .5rem;
  height: .5rem;
  flex: none;
  background: var(--c-gold-2);
  border-radius: 1px;
  transform: rotate(45deg);
}

.badge--sale   { background: var(--c-brand-soft); color: var(--c-brand); }
.badge--rent   { background: var(--c-success-soft); color: var(--c-success); }
.badge--invest { background: var(--c-gold-soft); color: var(--c-gold-ink); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .1rem .5rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-12);
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}
.tag .icon { width: 1em; height: 1em; }
.tag--ok   { background: var(--c-success-soft); color: var(--c-success); }
.tag--gold { background: var(--c-gold-soft); color: var(--c-gold-ink); }
.tag--brand { background: var(--c-brand-soft); color: var(--c-brand); }

/* Diamond bullet list (logo motif) */
.dlist {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dlist li {
  position: relative;
  padding-inline-start: 1.35rem;
}
.dlist li::before {
  content: "";
  position: absolute;
  inset-inline-start: .15rem;
  top: .72em;
  width: .45rem;
  height: .45rem;
  border-radius: 1px;
  background: var(--c-brand);
  transform: rotate(45deg);
}
.dlist--gold li::before { background: var(--c-gold-2); }
.dlist--2col { gap: .55rem 2rem; }
@media (min-width: 640px) { .dlist--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Check list */
.clist {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.clist li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}
.clist .icon {
  margin-top: .3em;
  color: var(--c-success);
}

/* Status dot */
.status {
  display: inline-block;
  width: .5rem;
  height: .5rem;
  flex: none;
  border-radius: 50%;
}
.status--ok   { background: #10B981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.status--wait { background: var(--c-gold-2); box-shadow: 0 0 0 3px rgba(245, 158, 11, .2); }


/* ==========================================================================
   7. Form controls
   ========================================================================== */
.field {
  display: grid;
  gap: .4rem;
  align-content: start;
}

.field__label {
  color: var(--c-ink);
  font-size: var(--fs-14);
  font-weight: 700;
  line-height: 1.5;
}

.field__label .opt,
.field__label .req {
  font-weight: 500;
  color: var(--c-caption);
}
.field__label .req { color: var(--c-danger); }

.field__hint {
  margin: 0;
  color: var(--c-caption);
  font-size: var(--fs-13);
  line-height: 1.6;
}

.field__error {
  margin: 0;
  color: var(--c-danger);
  font-size: var(--fs-13);
  font-weight: 600;
  line-height: 1.6;
}
.field__error:empty { display: none; }

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: .6rem .9rem;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-ink);
  font-size: var(--fs-15);
  line-height: 1.5;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.input::placeholder,
.textarea::placeholder { color: #94A3B8; }

.input:hover,
.select:hover,
.textarea:hover { border-color: #A6B3C5; }

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--c-brand-2);
  box-shadow: var(--ring);
}

.input[dir="ltr"] { text-align: right; }

.textarea {
  min-height: 140px;
  resize: vertical;
}

.select,
.sfield select,
.filters select {
  appearance: none;
  padding-inline-end: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left .9rem center;
  cursor: pointer;
}

.is-invalid .input,
.is-invalid .select,
.is-invalid .textarea {
  border-color: var(--c-danger);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, .1);
}

.counter {
  justify-self: end;
  direction: ltr;
  unicode-bidi: isolate;
  color: var(--c-caption);
  font-size: var(--fs-12);
  font-variant-numeric: tabular-nums;
}

/* Choice cards (radio / checkbox as cards) */
.choice-group {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-md);
  background: var(--c-surface);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.choice:hover { border-color: #A6B3C5; }

.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* Diamond indicator (logo dot) */
.choice__mark {
  position: relative;
  width: 1rem;
  height: 1rem;
  margin-top: .3rem;
  flex: none;
  border: 2px solid var(--c-line-2);
  border-radius: 2px;
  transform: rotate(45deg);
  transition: border-color .15s ease, background-color .15s ease;
}

.choice__body { display: grid; gap: .1rem; }
.choice__title { color: var(--c-ink); font-weight: 700; line-height: 1.5; }
.choice__desc { color: var(--c-caption); font-size: var(--fs-13); line-height: 1.6; }

.choice:has(input:checked) {
  border-color: var(--c-brand);
  background: var(--c-brand-soft);
  box-shadow: 0 0 0 1px var(--c-brand);
}
.choice:has(input:checked) .choice__mark {
  border-color: var(--c-brand);
  background: var(--c-brand);
  box-shadow: inset 0 0 0 2px #fff;
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--c-brand-2);
  outline-offset: 2px;
}
.is-invalid .choice { border-color: var(--c-danger); }

.choice--icon .choice__ico {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--c-bg);
  color: var(--c-brand);
}
.choice--icon:has(input:checked) .choice__ico { background: #fff; }

/* Pills (compact radios) */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.pill {
  position: relative;
  display: inline-flex;
}
.pill input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.pill span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .95rem;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  color: var(--c-ink-3);
  font-size: var(--fs-14);
  font-weight: 700;
  transition: all .15s ease;
}
.pill input:checked + span {
  border-color: var(--c-ink);
  background: var(--c-ink);
  color: #fff;
}
.pill input:focus-visible + span { outline: 2px solid var(--c-brand-2); outline-offset: 2px; }

/* Single checkbox */
.check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  cursor: pointer;
  font-size: var(--fs-15);
  line-height: 1.7;
}
.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .3rem;
  flex: none;
  accent-color: var(--c-brand);
  cursor: pointer;
}

/* Switch */
.switch {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--c-ink);
  user-select: none;
}
.switch input {
  appearance: none;
  position: relative;
  width: 2.5rem;
  height: 1.4rem;
  margin: 0;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--c-line-2);
  cursor: pointer;
  transition: background-color .2s ease;
}
.switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: calc(1.4rem - 6px);
  height: calc(1.4rem - 6px);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--sh-xs);
  transition: transform .2s var(--ease);
}
.switch input:checked { background: var(--c-ink); }
.switch input:checked::after { transform: translateX(calc(-2.5rem + 1.4rem)); }
.switch .diamond { width: .45rem; height: .45rem; }


/* ==========================================================================
   8. Header, navigation & mobile drawer
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  border-bottom-color: var(--c-line);
  box-shadow: 0 6px 20px -16px rgba(15, 23, 42, .35);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--c-ink);
  text-decoration: none;
  flex: none;
}
.brand img { width: 38px; height: auto; }
.brand__text { display: grid; line-height: 1.25; }
.brand__text strong { font-size: 1.125rem; font-weight: 800; }
.brand__text span { font-size: var(--fs-12); font-weight: 600; color: var(--c-caption); }

.main-nav { display: none; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: block;
  padding: .45rem .8rem;
  border-radius: var(--r-sm);
  color: var(--c-ink-3);
  font-size: var(--fs-15);
  font-weight: 700;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.main-nav a:hover { color: var(--c-ink); background: rgba(15, 23, 42, .045); }
.main-nav a[aria-current="page"] { color: var(--c-brand); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--c-brand);
  border-radius: 1px;
  transform: translateX(-50%) rotate(45deg);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.header-cta { display: none; }
.header-cta .diamond { width: .45rem; height: .45rem; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-ink);
}
.nav-toggle .icon { width: 22px; height: 22px; }

.wa-label { display: none; }

@media (min-width: 480px) {
  .wa-label { display: inline; }
}

@media (min-width: 1080px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer (native <dialog>) */
.drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  inset-inline-end: auto;
  width: min(88vw, 380px);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--c-surface);
  color: var(--c-body);
  box-shadow: var(--sh-lg);
  overflow-y: auto;
}
.drawer::backdrop {
  background: rgba(15, 23, 42, .45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.drawer[open] { animation: drawer-in .3s var(--ease); }
.drawer.is-closing { animation: drawer-out .22s ease forwards; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--c-line);
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-ink);
}

.drawer__nav ul {
  margin: 0;
  padding: .75rem;
  list-style: none;
}
.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem .9rem;
  border-radius: var(--r-sm);
  color: var(--c-ink);
  font-size: var(--fs-17);
  font-weight: 700;
  text-decoration: none;
}
.drawer__nav a:hover { background: var(--c-bg); }
.drawer__nav a[aria-current="page"] { background: var(--c-brand-soft); color: var(--c-brand); }

.drawer__foot {
  display: grid;
  gap: .6rem;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--c-line);
}
.drawer__contact {
  margin: .5rem 0 0;
  color: var(--c-caption);
  font-size: var(--fs-14);
}

@keyframes drawer-in  { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawer-out { to { transform: translateX(100%); } }


/* ==========================================================================
   9. Home: hero & search panel
   ========================================================================== */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 6vw, 6.5rem));
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 520px at 8% 8%, rgba(59, 99, 181, .10), transparent 65%),
    radial-gradient(700px 420px at 2% 60%, rgba(245, 158, 11, .07), transparent 65%),
    var(--c-surface);
}

/* Building art (the logo's buildings, rising on load) */
.hero__art {
  position: absolute;
  z-index: -1;
  top: calc(var(--header-h) * -0.2);
  inset-inline-end: -6%;
  width: min(80vw, 420px);
  opacity: .16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
}

@media (min-width: 900px) {
  .hero__art {
    top: calc(var(--header-h) + 1.5rem);
    inset-inline-end: max(1rem, calc((100vw - var(--container)) / 2 - 4rem));
    width: min(38vw, 540px);
    opacity: 1;
  }
}

.bart { width: 100%; height: auto; overflow: visible; }

.hero__inner { position: relative; }

.hero__content { max-width: 720px; }

@media (min-width: 900px) {
  .hero__content { max-width: min(740px, 60%); }
}

.hero__live {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.25rem;
  color: var(--c-ink-3);
  font-size: var(--fs-14);
  font-weight: 600;
}
.hero__live strong { color: var(--c-ink); font-variant-numeric: tabular-nums; }
.hero__live .status { width: .45rem; height: .45rem; }

.hero__title {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -.005em;
}
.hero__title span { font-weight: 700; }

/* Search panel: intent switcher + fields */
.search-panel {
  margin-top: clamp(1.75rem, 1rem + 2vw, 2.5rem);
  padding: .75rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--sh-lg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.search-panel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .15rem .15rem .75rem;
}

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .2rem;
  margin: 0;
  padding: .25rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-bg);
  min-width: 0;
}
.seg label { position: relative; display: inline-flex; }
.seg input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg span {
  display: block;
  padding: .35rem .95rem;
  border-radius: var(--r-pill);
  color: var(--c-ink-3);
  font-size: var(--fs-14);
  font-weight: 700;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.seg label:hover span { color: var(--c-ink); }
.seg input:checked + span {
  background: var(--c-ink);
  color: #fff;
  box-shadow: var(--sh-sm);
}
.seg input:focus-visible + span { outline: 2px solid var(--c-brand-2); outline-offset: 2px; }

.search-panel__fields {
  display: grid;
  gap: .5rem;
}

@media (min-width: 720px) {
  .search-panel__fields { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .search-panel[data-intent="sell"] .search-panel__fields,
  .search-panel[data-intent="manage"] .search-panel__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  }
}

.sfield {
  display: grid;
  gap: 0;
  padding: .45rem .9rem .35rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sfield:hover { border-color: var(--c-line-2); }
.sfield:focus-within { border-color: var(--c-brand-2); box-shadow: var(--ring); }

.sfield label {
  color: var(--c-caption);
  font-size: var(--fs-12);
  font-weight: 700;
}
.sfield select {
  width: 100%;
  min-height: 30px;
  padding-block: 0;
  padding-inline-start: 0;
  border: 0;
  background-color: transparent;
  background-position: left 0 center;
  color: var(--c-ink);
  font-size: var(--fs-15);
  font-weight: 700;
}
.sfield select:focus { outline: none; }

.search-panel__submit { min-height: 60px; border-radius: var(--r-md); }

.search-panel__hint {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: .65rem .4rem .1rem;
  color: var(--c-caption);
  font-size: var(--fs-13);
  font-weight: 600;
}
.search-panel__hint .icon { color: var(--c-success); width: 1rem; height: 1rem; }

/* Stats strip, bounded by hairlines */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(3rem, 2rem + 4vw, 5.5rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-line);
}

.hero-stats li {
  display: grid;
  gap: .1rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-line);
}
.hero-stats li:nth-child(odd) { border-inline-end: 1px solid var(--c-line); padding-inline-start: 0; }

.hero-stats__num {
  color: var(--c-ink);
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.hero-stats__label { color: var(--c-caption); font-size: var(--fs-14); font-weight: 600; }

@media (min-width: 900px) {
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-stats li { padding: 1.75rem 1.75rem 2rem; border-bottom: 0; }
  .hero-stats li:nth-child(odd) { padding-inline-start: 1.75rem; }
  .hero-stats li + li { border-inline-start: 1px solid var(--c-line); }
  .hero-stats li:nth-child(odd) { border-inline-end: 0; }
  .hero-stats li:first-child { padding-inline-start: 0; }
}

/* Load sequence: buildings rise, windows light up, the gold window last */
.bart__b,
.bart__w { transform-box: fill-box; }

@media (prefers-reduced-motion: no-preference) {
  .bart__b {
    opacity: 0;
    animation: bart-rise 1.1s var(--ease) forwards;
  }
  .bart__b--1 { animation-delay: .05s; }
  .bart__b--2 { animation-delay: .2s; }
  .bart__b--3 { animation-delay: .35s; }

  .bart__w {
    opacity: 0;
    animation: bart-win .5s ease forwards;
    animation-delay: calc(.9s + var(--i, 0) * .08s);
  }
  .bart__w--gold {
    animation: bart-win .5s ease forwards, bart-glow 2.4s ease-in-out 1.8s 1;
    animation-delay: 1.65s, 2.1s;
  }
}

@keyframes bart-rise {
  from { opacity: 0; transform: translateY(70px); }
  to   { opacity: 1; transform: none; }
}
@keyframes bart-win {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bart-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0)); }
  50%      { filter: drop-shadow(0 0 18px rgba(245, 158, 11, .85)); }
}


/* ==========================================================================
   10. Home: USP strip
   ========================================================================== */
.usp {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.usp__grid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.usp__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.75rem 0;
}
.usp__item + .usp__item { border-top: 1px solid var(--c-line); }

.usp__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--c-brand-soft);
  color: var(--c-brand);
}
.usp__icon--gold { background: var(--c-gold-soft); color: var(--c-gold-ink); }

.usp__title {
  margin: 0 0 .15rem;
  color: var(--c-ink);
  font-size: var(--fs-17);
  font-weight: 800;
}
.usp__text { margin: 0; font-size: var(--fs-15); line-height: 1.75; }

@media (min-width: 900px) {
  .usp__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .usp__item { padding: 2.25rem 1.75rem; }
  .usp__item:first-child { padding-inline-start: 0; }
  .usp__item + .usp__item { border-top: 0; border-inline-start: 1px solid var(--c-line); }
}


/* ==========================================================================
   11. Section headings (two-tone statement)
   ========================================================================== */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.sec-head__title {
  max-width: 800px;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.5;
}

.sec-head--stack { display: block; }
.sec-head--stack .sec-head__title + * { margin-top: 1.25rem; }


/* ==========================================================================
   12. Home: services bento & mock-ups
   ========================================================================== */
.bento {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
  .bento__card { grid-column: span 6; }
}
@media (min-width: 1024px) {
  .bento__card--wide   { grid-column: span 7; }
  .bento__card--narrow { grid-column: span 5; }
}

.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .25s var(--ease);
}
.bento__card:hover,
.bento__card:focus-within {
  border-color: rgba(59, 99, 181, .35);
  box-shadow: 0 0 0 4px rgba(59, 99, 181, .06), var(--sh-md);
}

.bento__text { padding: 1.75rem 1.75rem 0; }

.bento__title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .4rem;
  font-size: var(--fs-22);
  font-weight: 800;
}
.bento__title .icon { color: var(--c-brand); width: 1.35rem; height: 1.35rem; }

.bento__title a {
  color: inherit;
  text-decoration: none;
}
/* Stretched link: whole card is clickable, one tab stop */
.bento__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.bento__title a:focus-visible { outline: none; }
.bento__card:has(.bento__title a:focus-visible) { outline: 2px solid var(--c-brand-2); outline-offset: 3px; }

.bento__desc { max-width: 46ch; margin: 0; font-size: var(--fs-15); line-height: 1.8; }

.bento__more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .85rem;
  color: var(--c-brand);
  font-size: var(--fs-14);
  font-weight: 700;
}
.bento__card:hover .harrow__line { opacity: 1; }
.bento__card:hover .harrow__tip { transform: translateX(0); }

.bento__visual {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.75rem 1.5rem 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(31, 62, 125, .05) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(31, 62, 125, .05) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--wash, var(--c-brand-soft));
}
.bento__visual--sale   { --wash: linear-gradient(160deg, #FFF8EC 0%, #FDEBCB 45%, #E6EDF9 100%); }
.bento__visual--buy    { --wash: linear-gradient(165deg, #F0F4FB 0%, #DCE6F7 100%); }
.bento__visual--manage { --wash: linear-gradient(165deg, #F3F5F8 0%, #E2E8F0 100%); }
.bento__visual--invest { --wash: linear-gradient(160deg, #E9EFFA 0%, #DCE6F7 50%, #FDEBCB 100%); }

/* Mock-ups (illustrative product UI, decorative) */
.mock {
  position: relative;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 12px;
  background: var(--c-surface);
  box-shadow: var(--sh-lg);
  color: var(--c-ink);
  font-size: var(--fs-13);
  line-height: 1.6;
}
.bento__visual .mock {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.mock__label { margin: 0; color: var(--c-caption); font-size: var(--fs-12); font-weight: 700; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.mock-row strong { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }

.mock-listing { width: min(100%, 250px); overflow: hidden; }
.mock-listing__media { aspect-ratio: 16 / 10; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.mock-listing__media svg { width: 100%; height: 100%; }
.mock-listing__body { display: grid; gap: .25rem; justify-items: start; padding: .8rem .9rem 1.1rem; }
.mock-listing__price { font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.mock-listing__meta { color: var(--c-caption); font-size: var(--fs-12); }

.mock-activity {
  display: none;
  width: 200px;
  padding: .9rem 1rem 1.1rem;
  align-self: flex-end;
}
@media (min-width: 480px) { .mock-activity { display: block; } }
.mock-activity dl { display: grid; gap: .55rem; margin: .65rem 0 .5rem; }
.mock-activity dl div { display: flex; justify-content: space-between; gap: .5rem; }
.mock-activity dt { color: var(--c-body); }
.mock-activity dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.mock-activity svg { width: 100%; height: 42px; }

.mock-matches { width: min(100%, 360px); padding: 1rem 1rem .5rem; }
.mock-matches ul { display: grid; margin: .6rem 0 0; padding: 0; list-style: none; }
.mock-matches li {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem 0;
  border-top: 1px solid var(--c-line);
}
.mock-matches li:first-child { border-top: 0; }
.mock-thumb {
  width: 46px;
  height: 36px;
  flex: none;
  overflow: hidden;
  border-radius: 6px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
}
.mock-thumb svg { width: 100%; height: 100%; }
.mock-matches__txt { display: grid; flex: 1; min-width: 0; line-height: 1.45; }
.mock-matches__txt strong { font-size: var(--fs-13); }
.mock-matches__txt span { color: var(--c-caption); font-size: var(--fs-12); }

.mock-rent { width: min(100%, 360px); padding: 1.1rem 1.1rem .6rem; }
.meter {
  height: 8px;
  margin: .6rem 0 .9rem;
  border-radius: var(--r-pill);
  background: var(--c-bg);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(270deg, var(--c-brand-2), var(--c-brand));
}
.mock-tasks { display: grid; margin: 0; padding: 0; list-style: none; }
.mock-tasks li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 0;
  border-top: 1px solid var(--c-line);
}
.mock-tasks span:nth-child(2) { flex: 1; }
.mock-tasks em { color: var(--c-caption); font-size: var(--fs-12); font-style: normal; font-weight: 700; }

.mock-yield { width: min(100%, 400px); padding: 1.1rem 1.1rem .9rem; }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 110px;
  margin: .9rem 0 .75rem;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--c-line);
}
.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--c-brand), var(--c-brand-2));
  opacity: .85;
}
.bars span:last-child { background: linear-gradient(to top, var(--c-gold), var(--c-gold-2)); opacity: 1; }
.mock-row--foot { color: var(--c-caption); font-size: var(--fs-12); font-weight: 600; }


/* ==========================================================================
   13. Tabs (segmented pills)
   ========================================================================== */
.tabs {
  display: flex;
  gap: .2rem;
  width: max-content;
  max-width: 100%;
  padding: .25rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: .45rem 1.05rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--c-ink-3);
  font-size: var(--fs-14);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.tab:hover { color: var(--c-ink); background: var(--c-bg); }
.tab[aria-selected="true"] { background: var(--c-ink); color: #fff; box-shadow: var(--sh-sm); }

.tabs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}


/* ==========================================================================
   14. Property cards & grid
   ========================================================================== */
.prop-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.prop-grid.is-updating .prop-card { animation: card-in .35s var(--ease) both; }
.prop-grid.is-updating .prop-card:nth-child(2) { animation-delay: .03s; }
.prop-grid.is-updating .prop-card:nth-child(3) { animation-delay: .06s; }
.prop-grid.is-updating .prop-card:nth-child(n+4) { animation-delay: .09s; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.prop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  overflow: hidden;
  transition: box-shadow .25s var(--ease), border-color .2s ease;
}
.prop-card:hover,
.prop-card:focus-within { border-color: var(--c-line-2); box-shadow: var(--sh-md); }

.prop-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(rgba(31, 62, 125, .045) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(31, 62, 125, .045) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(180deg, #EDF2FA 0%, #F8FAFC 100%);
}
.prop-media svg,
.prop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prop-card__badges {
  position: absolute;
  inset-block-start: .75rem;
  inset-inline: .75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem;
  pointer-events: none;
}

.prop-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem 1.15rem 1.15rem;
}

.prop-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1rem .4rem;
  color: var(--c-ink);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.prop-card__price small { color: var(--c-caption); font-size: var(--fs-13); font-weight: 600; }

.prop-card__title {
  margin: 0;
  font-size: var(--fs-17);
  font-weight: 700;
  line-height: 1.55;
}

.prop-card__open {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
}
.prop-card__open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.prop-card__open:focus-visible { outline: none; }
.prop-card:has(.prop-card__open:focus-visible) { outline: 2px solid var(--c-brand-2); outline-offset: 2px; }

.prop-card__loc {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  color: var(--c-caption);
  font-size: var(--fs-14);
}
.prop-card__loc .icon { width: 1rem; height: 1rem; }

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.1rem;
  margin: .6rem 0 0;
  padding: .75rem 0 0;
  border-top: 1px solid var(--c-line);
  list-style: none;
  color: var(--c-ink-3);
  font-size: var(--fs-14);
  font-weight: 600;
}
.specs li { display: inline-flex; align-items: center; gap: .35rem; }
.specs .icon { width: 1.05rem; height: 1.05rem; color: var(--c-caption); }

.prop-card__actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1rem;
}
.prop-card__actions .btn { flex: 1; }
.prop-card__actions .btn--icon { flex: none; }

.empty {
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: 3.5rem 1.5rem;
  border: 1px dashed var(--c-line-2);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  text-align: center;
}
.empty h3 { font-size: var(--fs-19); }
.empty p { max-width: 52ch; margin: 0; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .5rem; }


/* ==========================================================================
   15. Home: owner/broker pitch (dark)
   ========================================================================== */
.section--dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(700px 400px at 15% 60%, rgba(245, 158, 11, .14), transparent 70%),
    radial-gradient(800px 500px at 90% 0%, rgba(59, 99, 181, .35), transparent 70%),
    var(--c-ink);
  color: #CBD5E1;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 30% 50%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 30% 50%, #000, transparent 75%);
}

.section--dark h2,
.section--dark h3,
.section--dark strong { color: #fff; }
.section--dark .tt span { color: #94A3B8; }

.pitch {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .pitch { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; }
}

.steps {
  display: grid;
  gap: 0;
  margin: 2rem 0 2.25rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  display: grid;
  gap: .15rem;
  padding: 0 0 1.5rem;
  padding-inline-start: 3.25rem;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: .1rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(245, 158, 11, .5);
  border-radius: var(--r-sm);
  color: var(--c-gold-2);
  font-weight: 800;
  font-size: var(--fs-15);
}
.steps li::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(1.125rem - .5px);
  top: 2.6rem;
  bottom: .35rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(245, 158, 11, .4), rgba(255, 255, 255, .06));
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps strong { font-size: var(--fs-17); }
.steps span { color: #A8B4C7; font-size: var(--fs-15); line-height: 1.75; }

.steps--light li::before {
  border-color: var(--c-line-2);
  background: var(--c-surface);
  color: var(--c-brand);
}
.steps--light li::after { background: var(--c-line); }
.steps--light strong { color: var(--c-ink); }
.steps--light span { color: var(--c-body); }

.pitch__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.pitch__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1rem 0;
}
.pitch__visual::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 158, 11, .28), rgba(59, 99, 181, .22) 55%, transparent);
  filter: blur(30px);
}

.mock-request {
  width: min(100%, 420px);
  padding: 1.35rem;
  border-radius: var(--r-lg);
  color: var(--c-ink);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotate(-1.5deg);
}
.mock-request__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-bottom: .9rem;
  margin-bottom: .35rem;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-15);
}
.mock-request__head strong { color: var(--c-ink); }
.mock-request__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--c-line);
}
.mock-request__row > span:first-child { color: var(--c-caption); font-weight: 600; }
.mock-request__row strong { color: var(--c-ink); }
.mock-request__lic { display: inline-flex; align-items: center; gap: .5rem; }
.seg-mini {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border-radius: var(--r-pill);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  font-size: var(--fs-12);
  font-weight: 700;
}
.seg-mini span { padding: .1rem .6rem; border-radius: var(--r-pill); color: var(--c-caption); }
.seg-mini .is-on { background: var(--c-ink); color: #fff; }
.mock-request__status {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  padding: .65rem .8rem;
  border-radius: var(--r-sm);
  background: var(--c-success-soft);
  color: var(--c-success);
  font-weight: 700;
}


/* ==========================================================================
   16. Testimonials & trust badges
   ========================================================================== */
.quotes {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}
.quote blockquote {
  position: relative;
  flex: 1;
  margin: 0 0 1.5rem;
  color: var(--c-ink);
  font-size: var(--fs-17);
  font-weight: 600;
  line-height: 1.9;
}
.quote blockquote::before {
  content: "”";
  display: block;
  height: 2.2rem;
  color: var(--c-silver);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.5rem;
  line-height: 1;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-14);
  line-height: 1.5;
}
.quote__avatar {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: 50%;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  font-weight: 800;
}
.quote__who { display: grid; }
.quote__who strong { font-size: var(--fs-15); }
.quote__who span { color: var(--c-caption); }

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  overflow: hidden;
}
.trust li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  margin: 0 0 -1px -1px;
  border-inline-start: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.trust .icon { width: 1.5rem; height: 1.5rem; margin-top: .2rem; color: var(--c-brand); }
.trust strong { display: block; font-size: var(--fs-15); }
.trust span { color: var(--c-caption); font-size: var(--fs-13); line-height: 1.6; }


/* ==========================================================================
   17. FAQ accordion
   ========================================================================== */
.faq {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.faq__head .sec-head__title { margin-bottom: 1.5rem; }

.acc { border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__item h3 { margin: 0; font-size: inherit; }

.acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.3rem 0;
  border: 0;
  background: none;
  color: var(--c-ink);
  font-size: var(--fs-17);
  font-weight: 700;
  line-height: 1.6;
  text-align: start;
}
.acc__trigger:hover { color: var(--c-brand); }

.acc__icon {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  border: 1px solid var(--c-line-2);
  border-radius: 50%;
  transition: background-color .2s ease, border-color .2s ease;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .7rem;
  height: 1.6px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease);
}
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__trigger[aria-expanded="true"] .acc__icon { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.acc__trigger[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.js .acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.js .acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.js .acc__inner { overflow: hidden; visibility: hidden; transition: visibility .3s; }
.js .acc__item.is-open .acc__inner { visibility: visible; }
.acc__inner p { max-width: 64ch; padding-bottom: 1.35rem; margin: 0; font-size: var(--fs-15); }


/* ==========================================================================
   18. Inner page hero & CTA band
   ========================================================================== */
.page-hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 3vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--c-line);
  background:
    radial-gradient(700px 380px at 6% 0%, rgba(59, 99, 181, .10), transparent 65%),
    var(--c-surface);
}

.page-hero__art {
  position: absolute;
  z-index: -1;
  top: calc(var(--header-h) + .5rem);
  inset-inline-end: -10%;
  width: min(60vw, 300px);
  opacity: .1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
}
@media (min-width: 900px) {
  .page-hero__art {
    top: calc(var(--header-h) + 1.25rem);
    inset-inline-end: max(1rem, calc((100vw - var(--container)) / 2));
    width: min(26vw, 320px);
    opacity: .95;
  }
}

.page-hero__inner { max-width: 760px; margin-inline-start: 0; }
.page-hero .container > * { max-width: 760px; }
@media (min-width: 900px) { .page-hero .container > * { max-width: min(760px, 64%); } }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--c-caption);
  font-size: var(--fs-14);
  font-weight: 600;
}
.breadcrumb li + li::before {
  content: "";
  display: inline-block;
  width: .35rem;
  height: .35rem;
  margin-inline-end: .5rem;
  border-radius: 1px;
  background: var(--c-silver);
  transform: rotate(45deg) translateY(-2px);
}
.breadcrumb a { color: var(--c-ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-brand); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-brand); }

.page-hero__title {
  font-size: var(--fs-page-h1);
  font-weight: 800;
  line-height: 1.45;
}
.page-hero__title span { font-weight: 700; }

.page-hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.75rem; }

.cta-band { padding-block: 0 var(--section-y); }

.cta-band__box {
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(2rem, 1.25rem + 3vw, 3.5rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(600px 300px at 0% 100%, rgba(245, 158, 11, .2), transparent 70%),
    radial-gradient(700px 400px at 100% 0%, rgba(59, 99, 181, .45), transparent 70%),
    var(--c-ink);
  color: #CBD5E1;
}
.cta-band__box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px;
}
.cta-band__box h2 { max-width: 30ch; color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.5; }
.cta-band__box h2 span { color: #94A3B8; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (min-width: 900px) {
  .cta-band__box { grid-template-columns: minmax(0, 1fr) auto; }
}


/* ==========================================================================
   19. About page
   ========================================================================== */
.story { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .story { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 4rem; } }

.story__text h2 { margin-bottom: 1.25rem; }
.story__text p { max-width: 64ch; }

.facts {
  align-self: start;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.facts__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg);
}
.facts__head img { width: 44px; }
.facts__head strong { display: block; font-size: var(--fs-17); }
.facts__head span { color: var(--c-caption); font-size: var(--fs-13); }
.facts dl { margin: 0; padding: .5rem 1.5rem 1rem; }
.facts dl div { padding: .85rem 0; border-bottom: 1px solid var(--c-line); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { color: var(--c-caption); font-size: var(--fs-13); font-weight: 700; }
.facts dd { margin: 0; color: var(--c-ink); font-weight: 700; line-height: 1.7; }

.vm { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .vm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.vm__card {
  position: relative;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  overflow: hidden;
}
.vm__card--dark {
  border-color: transparent;
  background:
    radial-gradient(500px 260px at 0% 100%, rgba(59, 99, 181, .45), transparent 70%),
    var(--c-ink);
  color: #CBD5E1;
}
.vm__card--dark h2 { color: #fff; }
.vm__ico {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: var(--r-md);
  background: var(--c-brand-soft);
  color: var(--c-brand);
}
.vm__card--dark .vm__ico { background: rgba(255, 255, 255, .08); color: var(--c-gold-2); }
.vm__card h2 { margin-bottom: .75rem; font-size: var(--fs-h3); }
.vm__card p { font-size: var(--fs-19); line-height: 1.85; }

.values { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.value {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}
.value__ico {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: var(--r-sm);
  background: var(--c-brand-soft);
  color: var(--c-brand);
}
.value--gold .value__ico { background: var(--c-gold-soft); color: var(--c-gold-ink); }
.value h3 { margin-bottom: .5rem; }
.value > p { font-size: var(--fs-15); }
.value .dlist {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-14);
}
.value--gold .dlist li::before { background: var(--c-gold-2); }

/* Comparison table */
.compare-wrap {
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  overflow: hidden;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-15);
}
.compare caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.compare th,
.compare td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--c-line);
  text-align: start;
  vertical-align: top;
  line-height: 1.7;
}
.compare thead th {
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: var(--fs-14);
  font-weight: 800;
}
.compare thead th.is-us { background: var(--c-ink); color: #fff; }
.compare thead th.is-us .diamond { margin-inline-end: .45rem; }
.compare tbody th { width: 22%; color: var(--c-ink); font-weight: 800; }
.compare td.is-us { color: var(--c-ink); font-weight: 700; background: rgba(238, 243, 251, .5); }
.compare td.is-us .icon { display: inline-block; margin-inline-end: .35rem; vertical-align: -.2em; color: var(--c-success); }
.compare tr:last-child th,
.compare tr:last-child td { border-bottom: 0; }

@media (max-width: 719px) {
  .compare thead { display: none; }
  .compare tr { display: grid; padding: 1rem 1.25rem; border-bottom: 1px solid var(--c-line); }
  .compare tr:last-child { border-bottom: 0; }
  .compare th,
  .compare td { display: block; width: auto; padding: .25rem 0; border: 0; }
  .compare tbody th { width: auto; margin-bottom: .25rem; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    color: var(--c-caption);
    font-size: var(--fs-12);
    font-weight: 700;
  }
  .compare td.is-us { margin-bottom: .35rem; padding: .5rem .75rem; border-radius: var(--r-sm); }
}


/* ==========================================================================
   20. Services page
   ========================================================================== */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(248, 250, 252, .88);
  border-bottom: 1px solid var(--c-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.subnav ul {
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: .6rem 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem 1rem;
  border-radius: var(--r-pill);
  color: var(--c-ink-3);
  font-size: var(--fs-14);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.subnav a:hover { background: rgba(15, 23, 42, .05); color: var(--c-ink); }
.subnav a[aria-current="true"] { background: var(--c-ink); color: #fff; }
.subnav .icon { width: 1.05rem; height: 1.05rem; }

.service {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  border-bottom: 1px solid var(--c-line);
  scroll-margin-top: calc(var(--header-h) + 64px);
}
.service:last-of-type { border-bottom: 0; }

@media (min-width: 1024px) {
  .service { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 4rem; }
  .service__aside { position: sticky; top: calc(var(--header-h) + 88px); align-self: start; }
}

.service__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
}
.service__ico {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: var(--r-md);
  background: var(--c-brand-soft);
  color: var(--c-brand);
}
.service__ico .icon { width: 1.5rem; height: 1.5rem; }
.service h2 { font-size: var(--fs-h2); }
.service .lead { margin-bottom: 2rem; }

.service__block + .service__block { margin-top: 2.25rem; }
.service__block h3 {
  margin-bottom: 1rem;
  font-size: var(--fs-19);
  font-weight: 800;
}

.aside-card {
  padding: 1.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: var(--sh-sm);
}
.aside-card + .aside-card { margin-top: 1rem; }
.aside-card h3 { margin-bottom: .75rem; font-size: var(--fs-17); font-weight: 800; }
.aside-card__group + .aside-card__group {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--c-line);
}
.aside-card__label { margin: 0 0 .5rem; color: var(--c-caption); font-size: var(--fs-13); font-weight: 700; }
.aside-card .dlist { font-size: var(--fs-14); gap: .4rem; }
.aside-card__actions { display: grid; gap: .6rem; margin-top: 1.35rem; }


/* ==========================================================================
   21. Properties page (filters)
   ========================================================================== */
.filters {
  position: relative;
  z-index: 5;
  margin-top: -1.75rem;
  padding: .85rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: var(--sh-md);
}

.filters__top {
  display: flex;
  gap: .5rem;
}

.filters__search {
  position: relative;
  flex: 1;
}
.filters__search .icon {
  position: absolute;
  inset-inline-start: .9rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--c-caption);
  transform: translateY(-50%);
  pointer-events: none;
}
.filters__search .input { padding-inline-start: 2.6rem; }

.filters__toggle { flex: none; }
.filters__toggle .count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding-inline: .3rem;
  border-radius: var(--r-pill);
  background: var(--c-brand);
  color: #fff;
  font-size: var(--fs-12);
}

.filters__panel {
  display: grid;
  gap: .75rem;
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid var(--c-line);
}
.js .filters__panel:not(.is-open) { display: none; }

.filters__grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.filters__grid .field__label { font-size: var(--fs-12); color: var(--c-caption); }
.filters__grid .select { min-height: 44px; font-weight: 600; }

.filters__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

@media (min-width: 1024px) {
  .filters__toggle { display: none; }
  .js .filters__panel:not(.is-open),
  .filters__panel { display: grid; }
  .filters__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 2rem 0 1.25rem;
}
.results-bar__count { margin: 0; color: var(--c-ink); font-weight: 700; }
.results-bar__count .num { font-weight: 800; }
.results-bar__note {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  color: var(--c-caption);
  font-size: var(--fs-14);
}


/* ==========================================================================
   22. Request page (form)
   ========================================================================== */
.form-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .form-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; }
  .form-layout__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.form-card {
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: var(--sh-md);
}

.form-step {
  min-width: 0;
  margin: 0;
  padding: clamp(1.25rem, .9rem + 1.5vw, 2rem);
  border: 0;
  border-bottom: 1px solid var(--c-line);
}

/* Floated so the legend renders inside the padding box, not on the border */
.form-step__legend {
  float: right;
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  margin-bottom: 1.35rem;
  padding: 0;
  color: var(--c-ink);
  font-size: var(--fs-19);
  font-weight: 800;
}

/* Step number set inside a Kufic diamond */
.form-step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  margin-inline: .2rem;
  color: #fff;
  font-size: var(--fs-14);
  font-weight: 800;
}
.form-step__num::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: 0;
  border-radius: 3px;
  background: var(--c-brand);
  transform: rotate(45deg);
}
.form-step__num span { position: relative; }

.form-step__legend + * { clear: both; }

.form-step__sub {
  margin: -.85rem 0 1.25rem;
  color: var(--c-caption);
  font-size: var(--fs-14);
}

.form-grid {
  display: grid;
  gap: 1.15rem 1.25rem;
}
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}

.choice-grid { display: grid; gap: .75rem; }
.choice-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .choice-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) { .choice-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.choice-grid--4 .choice { flex-direction: column; gap: .6rem; }
.choice-grid--4 .choice__mark { position: absolute; top: 1rem; inset-inline-end: 1rem; margin: 0; }

.broker-box {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(217, 119, 6, .35);
  border-radius: var(--r-md);
  background: var(--c-gold-soft);
}
.broker-box__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  color: var(--c-gold-ink);
  font-size: var(--fs-15);
  font-weight: 800;
}

/* Dropzone */
.dropzone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: 2rem 1.25rem;
  border: 1.5px dashed var(--c-line-2);
  border-radius: var(--r-md);
  background: var(--c-bg);
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.dropzone:hover,
.dropzone.is-drag { border-color: var(--c-brand-2); background: var(--c-brand-soft); }
.dropzone:focus-within { outline: 2px solid var(--c-brand-2); outline-offset: 2px; }
.dropzone__ico {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: .35rem;
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-brand);
  box-shadow: var(--sh-sm);
}
.dropzone strong { font-size: var(--fs-15); }
.dropzone span { color: var(--c-caption); font-size: var(--fs-13); }
.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-list {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.file-list:empty { display: none; }
.file-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem .65rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  font-size: var(--fs-14);
}
.file-item__thumb {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  overflow: hidden;
  border-radius: 6px;
  background: var(--c-bg);
  color: var(--c-brand);
}
.file-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-item__info { display: grid; flex: 1; min-width: 0; line-height: 1.45; }
.file-item__name { overflow: hidden; color: var(--c-ink); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.file-item__size { color: var(--c-caption); font-size: var(--fs-12); }
.file-item__remove {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--c-caption);
}
.file-item__remove:hover { background: var(--c-danger-soft); color: var(--c-danger); }

.form-submit {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, .9rem + 1.5vw, 2rem);
}
.form-submit__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.form-submit__note {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  color: var(--c-caption);
  font-size: var(--fs-13);
}

.form-alert {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .85rem 1rem;
  border-radius: var(--r-sm);
  background: var(--c-danger-soft);
  color: var(--c-danger);
  font-size: var(--fs-14);
  font-weight: 700;
}
.form-alert .icon { margin-top: .2em; }

.form-inline-success {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: .65rem 0 0;
  color: var(--c-success);
  font-size: var(--fs-14);
  font-weight: 700;
}


/* ==========================================================================
   23. Contact page
   ========================================================================== */
.channels {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-top: -1.75rem;
  position: relative;
  z-index: 5;
}

.channel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: var(--sh-sm);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
a.channel:hover { border-color: rgba(59, 99, 181, .35); box-shadow: 0 0 0 4px rgba(59, 99, 181, .06), var(--sh-md); }
.channel__ico {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: .75rem;
  border-radius: var(--r-sm);
  background: var(--c-brand-soft);
  color: var(--c-brand);
}
.channel--wa .channel__ico { background: var(--c-success-soft); color: var(--c-whatsapp); }
.channel__title { color: var(--c-ink); font-weight: 800; }
.channel__value { color: var(--c-ink-3); font-size: var(--fs-15); font-weight: 600; }
.channel__meta { color: var(--c-caption); font-size: var(--fs-13); }

.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 2.5rem; } }

.form-card__head {
  padding: clamp(1.25rem, .9rem + 1.5vw, 2rem) clamp(1.25rem, .9rem + 1.5vw, 2rem) 0;
}
.form-card__head h2 { font-size: var(--fs-h3); margin-bottom: .35rem; }
.form-card__head p { color: var(--c-caption); font-size: var(--fs-15); }
.form-card__body { padding: 1.5rem clamp(1.25rem, .9rem + 1.5vw, 2rem) 0; }

.hours { display: grid; gap: 0; margin: 0; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-14);
}
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--c-body); }
.hours dd { margin: 0; color: var(--c-ink); font-weight: 700; }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.socials a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-ink-3);
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.socials a:hover { border-color: var(--c-ink); background: var(--c-ink); color: #fff; }
.socials .icon { width: 1.1rem; height: 1.1rem; }

.map {
  position: relative;
  min-height: 340px;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: var(--c-brand-soft);
  overflow: hidden;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map__card {
  position: absolute;
  inset-block-end: 1rem;
  inset-inline-start: 1rem;
  display: flex;
  gap: .75rem;
  align-items: center;
  max-width: calc(100% - 2rem);
  padding: .85rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--sh-md);
  font-size: var(--fs-14);
  line-height: 1.6;
}
.map__card img { width: 34px; }
.map__card strong { display: block; }


/* ==========================================================================
   24. Dialogs (modals)
   ========================================================================== */
.modal {
  width: min(100% - 2rem, 560px);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  color: var(--c-body);
  box-shadow: var(--sh-lg);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal--wide { width: min(100% - 2rem, 920px); }

.modal::backdrop {
  background: rgba(15, 23, 42, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.modal[open] { animation: modal-in .26s var(--ease); }
.modal.is-closing { animation: modal-out .18s ease forwards; }

@keyframes modal-in  { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to   { opacity: 0; transform: translateY(8px) scale(.98); } }

.modal__close {
  position: absolute;
  top: .85rem;
  inset-inline-end: .85rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--c-ink);
  box-shadow: var(--sh-xs);
}
.modal__close:hover { background: #fff; border-color: var(--c-line-2); }

.modal__body { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.modal__body h2 { margin-bottom: .5rem; font-size: var(--fs-h3); padding-inline-end: 2.5rem; }
.modal__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

/* Success dialog */
.success { text-align: center; }
.success__ico {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: .5rem auto 1.25rem;
  border-radius: 50%;
  background: var(--c-success-soft);
  color: var(--c-success);
  box-shadow: 0 0 0 8px rgba(4, 120, 87, .06);
}
.success__ico .icon { width: 2rem; height: 2rem; }
.success h2 { padding-inline-end: 0; }
.success .modal__actions { justify-content: center; }
.success__ref {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .5rem .9rem;
  border: 1px dashed var(--c-line-2);
  border-radius: var(--r-sm);
  background: var(--c-bg);
  color: var(--c-ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.success__ref span { color: var(--c-caption); font-weight: 600; }

/* Property dialog */
.pm { display: grid; }
@media (min-width: 820px) { .pm { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }

.pm__media { position: relative; min-height: 240px; }
.pm__media .prop-media { height: 100%; aspect-ratio: auto; min-height: 240px; }
.pm__badges {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.pm__body { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.pm__ref { margin: 0 0 .35rem; color: var(--c-caption); font-size: var(--fs-13); font-weight: 700; }
.pm__title { margin-bottom: .35rem; font-size: var(--fs-h3); padding-inline-end: 2.5rem; }
.pm__price {
  margin: .75rem 0 0;
  color: var(--c-ink);
  font-size: 1.6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.pm__price small { color: var(--c-caption); font-size: var(--fs-14); font-weight: 600; }

.pm__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1.25rem 0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-line);
  overflow: hidden;
}
.pm__specs div { padding: .7rem .85rem; background: var(--c-surface); }
.pm__specs dt { color: var(--c-caption); font-size: var(--fs-12); font-weight: 700; }
.pm__specs dd { margin: 0; color: var(--c-ink); font-weight: 800; font-variant-numeric: tabular-nums; }

.pm__desc { font-size: var(--fs-15); }
.pm h3 { margin: 1.25rem 0 .75rem; font-size: var(--fs-15); font-weight: 800; }
.pm .dlist { font-size: var(--fs-14); }
.pm__actions { display: grid; gap: .5rem; margin-top: 1.5rem; }
@media (min-width: 480px) { .pm__actions { grid-template-columns: 1fr 1fr; } .pm__actions .btn--whatsapp { grid-column: 1 / -1; } }


/* ==========================================================================
   25. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem);
  border-top: 1px solid var(--c-line);
  background: var(--c-surface);
  font-size: var(--fs-15);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 720px)  { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; } }

.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { max-width: 40ch; color: var(--c-body); font-size: var(--fs-14); }

.footer-title {
  margin-bottom: 1rem;
  color: var(--c-ink);
  font-size: var(--fs-15);
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: var(--c-body);
  font-size: var(--fs-14);
  font-weight: 600;
  text-decoration: none;
}
.footer-links a:hover { color: var(--c-brand); text-decoration: underline; }

.footer-contact {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-14);
}
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { width: 1.05rem; height: 1.05rem; margin-top: .3em; color: var(--c-brand); }
.footer-contact a { color: var(--c-ink-3); font-weight: 600; text-decoration: none; }
.footer-contact a:hover { color: var(--c-brand); }

.newsletter { margin-top: 1.5rem; }
.newsletter__label { display: block; margin-bottom: .5rem; color: var(--c-ink); font-size: var(--fs-14); font-weight: 800; }
.newsletter__row { display: flex; gap: .5rem; }
.newsletter__row .input { min-height: 44px; }
.newsletter .field__error { margin-top: .4rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 3rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--c-line);
  color: var(--c-caption);
  font-size: var(--fs-13);
}
.footer-bottom p { margin: 0; }
.footer-bottom .socials a { width: 2.25rem; height: 2.25rem; }


/* ==========================================================================
   26. Floating WhatsApp & page guides
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--c-whatsapp);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(30, 169, 82, .6), 0 4px 10px rgba(15, 23, 42, .15);
  transition: transform .2s var(--ease), box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float:focus-visible { outline-offset: 4px; border-radius: 50%; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float__tip {
  position: absolute;
  right: calc(100% + 12px);
  padding: .4rem .75rem;
  border-radius: var(--r-sm);
  background: var(--c-ink);
  color: #fff;
  font-size: var(--fs-13);
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.wa-float:hover .wa-float__tip,
.wa-float:focus-visible .wa-float__tip { opacity: 1; transform: none; }

/* Hairline vertical guides at the content edges (Stripe-like grid) */
.page-guides { display: none; }

@media (min-width: 1100px) {
  .page-guides {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: block;
    pointer-events: none;
  }
  .page-guides::before {
    content: "";
    position: absolute;
    inset-block: 0;
    left: 50%;
    width: calc(var(--container) + 3rem);
    max-width: calc(100% - 2rem);
    border-inline: 1px solid var(--c-guide);
    transform: translateX(-50%);
  }
}


/* ==========================================================================
   27. Utilities & motion preferences
   ========================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mt-0 { margin-top: 0 !important; }
.text-gold { color: var(--c-gold-ink); }

/* Scroll lock while a dialog is open */
html.is-locked { overflow: hidden; }

.faq__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Steps inside light cards */
.service__block .steps,
.aside-card .steps { margin: 0; }
.aside-card .steps li { padding-bottom: 1.1rem; }
.aside-card .steps strong { font-size: var(--fs-15); }
.aside-card .steps span { font-size: var(--fs-14); line-height: 1.7; }

.aside-card h2 { margin-bottom: .75rem; font-size: var(--fs-17); font-weight: 800; }
.aside-card > p { font-size: var(--fs-15); }
.aside-card--gold { border-color: rgba(217, 119, 6, .3); background: var(--c-gold-soft); }
.aside-card__addr { display: flex; gap: .5rem; align-items: flex-start; }
.aside-card__addr .icon { margin-top: .35em; color: var(--c-brand); }

.pill-group legend {
  width: 100%;
  margin-bottom: .55rem;
  padding: 0;
}

.contact-grid { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.form-card__body + .form-submit { padding-top: 1.5rem; }

.modal__lead { margin-bottom: 1.5rem; color: var(--c-caption); font-size: var(--fs-15); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .wa-float,
  .page-guides,
  .hero__art,
  .page-hero__art { display: none !important; }
  body { background: #fff; }
}
