/* =========================================================
   Haset Properties — Luxury Real Estate, Addis Ababa
   Main stylesheet (plain CSS, no build step)
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy-950: #08101d;
  --navy-900: #0f1b2d;
  --navy-800: #16253b;
  --navy-700: #22344f;
  --gold-300: #e6cf94;
  --gold-400: #d9b968;
  --gold-500: #c9a24b;
  --gold-600: #b08a35;
  --gold-text: #8a6a22;          /* gold that passes contrast on white */
  --ivory: #f8f6f1;
  --sand: #efe9de;
  --white: #ffffff;
  --ink: #1b2331;
  --muted: #5b6474;
  --muted-light: #b9c1cd;
  --line: #e7e1d5;
  --wa: #25d366;
  --wa-dark: #1ebe5b;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 10px rgba(15, 27, 45, .06);
  --shadow-md: 0 18px 40px -16px rgba(15, 27, 45, .22);
  --shadow-lg: 0 30px 70px -24px rgba(15, 27, 45, .38);

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 84px;
  --container: 1240px;
  --gutter: 24px;
  --section-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 .5em;
  color: var(--navy-900);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
em.gold, .gold-text { color: var(--gold-400); font-style: italic; }
::selection { background: var(--gold-400); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--gold-500); color: var(--navy-900); padding: 10px 18px; border-radius: var(--radius);
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; scroll-margin-top: var(--header-h); }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy-900); color: #d5dbe4; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- 3. Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--gold-400); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section--navy .section-head p { color: var(--muted-light); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-head--split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-sans); font-weight: 600; font-size: .9rem; letter-spacing: .04em;
  line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease),
              transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); box-shadow: 0 12px 26px -10px rgba(201, 162, 75, .7); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn--whatsapp { background: var(--wa); color: #06341a; }
.btn--whatsapp:hover { background: var(--wa-dark); box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .6); }
.btn--sm { padding: 10px 18px; font-size: .82rem; }
.btn--lg { padding: 17px 34px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem;
  color: var(--navy-900); border-bottom: 1px solid var(--gold-500); padding-bottom: 3px;
}
.text-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.on-dark .text-link, .section--navy .text-link { color: var(--white); }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 16, 29, .55), rgba(8, 16, 29, 0));
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled, body.header-solid .site-header {
  background: rgba(12, 22, 37, .97);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-scrolled, body.header-solid .site-header {
    background: rgba(12, 22, 37, .9); backdrop-filter: blur(12px);
  }
}
.site-header.is-scrolled::before, body.header-solid .site-header::before { opacity: 0; }
.site-header.is-scrolled { --header-h: 72px; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); flex-shrink: 0; }
.brand__mark { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; }
.brand__tag { font-size: .6rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-400); margin-top: 6px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  position: relative; display: block; padding: 10px 14px;
  font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .86);
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav__extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-call .icon { width: 16px; height: 16px; }

/* Currency toggle */
.currency-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06);
}
.currency-toggle button {
  border: 0; background: transparent; color: rgba(255, 255, 255, .78);
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.currency-toggle button[aria-pressed="true"] { background: var(--gold-500); color: var(--navy-900); }
.currency-toggle button:not([aria-pressed="true"]):hover { color: var(--white); }

/* Burger */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius); background: transparent; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 1.5px; background: var(--white);
  transform: translateX(-50%); transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; transform: none; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(5, 10, 20, .6); z-index: 90;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* ---------- 6. Hero (home) ---------- */
.hero {
  position: relative; min-height: max(660px, min(100svh, 940px));
  display: flex; align-items: center; color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 72px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 16, 29, .82) 0%, rgba(8, 16, 29, .55) 45%, rgba(8, 16, 29, .15) 100%),
    linear-gradient(180deg, rgba(8, 16, 29, .1) 55%, rgba(8, 16, 29, .65) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold-400); white-space: nowrap; }
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 40px; font-weight: 300; }
.hero .eyebrow { color: var(--gold-400); }

/* Search panel */
.search-panel { max-width: 920px; }
.search-tabs { display: inline-flex; gap: 2px; }
.search-tab { position: relative; }
.search-tab input { position: absolute; opacity: 0; pointer-events: none; }
.search-tab span {
  display: block; padding: 12px 30px; cursor: pointer;
  background: rgba(15, 27, 45, .55); color: rgba(255, 255, 255, .85);
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--radius) var(--radius) 0 0; transition: background-color .25s, color .25s;
  backdrop-filter: blur(6px);
}
.search-tab input:checked + span { background: var(--white); color: var(--navy-900); }
.search-tab input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.search-fields {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 0;
  background: var(--white); border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 12px; box-shadow: var(--shadow-lg);
}
.search-fields .field { padding: 6px 18px; border-right: 1px solid var(--line); }
.search-fields .field:nth-child(2) { border-right: 0; }
.search-fields label {
  display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 2px;
}
.search-fields select {
  width: 100%; border: 0; background: transparent; padding: 4px 24px 4px 0; font-size: 1rem; color: var(--ink);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230f1b2d' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.search-fields select:focus { outline: none; }
.search-fields .field:focus-within label { color: var(--navy-900); }
.search-submit { padding: 0 38px; min-height: 60px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 20px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--gold-400); border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 7. Inner page hero ---------- */
.page-hero {
  position: relative; color: var(--white); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(56px, 8vw, 96px);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8, 16, 29, .9) 0%, rgba(8, 16, 29, .62) 55%, rgba(8, 16, 29, .35) 100%);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 620px; font-size: 1.08rem; margin: 0; }
.page-hero .eyebrow { color: var(--gold-400); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb [aria-current] { color: var(--white); }
.breadcrumb--dark { color: var(--muted); }
.breadcrumb--dark [aria-current] { color: var(--navy-900); }
.breadcrumb--dark a:hover { color: var(--gold-text); }

/* ---------- 8. Property cards ---------- */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.property-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.property-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.property-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.property-card:hover .property-card__media img { transform: scale(1.07); }
.property-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 29, 0) 55%, rgba(8, 16, 29, .65) 100%);
}
.badge {
  position: absolute; z-index: 1; top: 16px; left: 16px;
  padding: 6px 12px; border-radius: 4px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--navy-900); color: var(--white);
}
.badge--rent { background: var(--white); color: var(--navy-900); }
.badge--type { left: auto; right: 16px; background: rgba(8, 16, 29, .5); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); }
.price-badge {
  position: absolute; z-index: 1; left: 16px; bottom: 16px;
  padding: 8px 14px; border-radius: var(--radius); background: var(--gold-500); color: var(--navy-900);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5);
}
.price-badge small { font-weight: 500; font-size: .75rem; opacity: .8; }
.property-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.property-card__title { font-size: 1.32rem; margin: 0 0 8px; }
.property-card__title a:hover { color: var(--gold-text); }
.location { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.location .icon { width: 16px; height: 16px; color: var(--gold-600); }
.facts {
  display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 0; margin-bottom: 20px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: .86rem; color: var(--ink);
}
.facts li { display: flex; align-items: center; gap: 7px; }
.facts .icon { width: 18px; height: 18px; color: var(--gold-600); }
.property-card .btn { margin-top: auto; }

/* ---------- 9. Areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 22px; }
.area-tile {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius-lg);
  color: var(--white); isolation: isolate; padding: 26px;
}
.area-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.area-tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 16, 29, .05) 30%, rgba(8, 16, 29, .82) 100%);
  transition: background-color .4s;
}
.area-tile:hover img { transform: scale(1.08); }
.area-tile:hover::after { background-color: rgba(8, 16, 29, .18); }
.area-tile__name { font-family: var(--font-serif); font-size: 1.7rem; line-height: 1.1; margin: 0 0 6px; color: var(--white); }
.area-tile__meta { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: rgba(255, 255, 255, .82); }
.area-tile__arrow {
  margin-left: auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900); transform: translateX(-8px); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.area-tile__arrow .icon { width: 18px; height: 18px; }
.area-tile:hover .area-tile__arrow, .area-tile:focus-visible .area-tile__arrow { transform: none; opacity: 1; }
.area-tile__info { flex: 1; display: flex; align-items: flex-end; gap: 12px; }

/* ---------- 10. Features (why choose us) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature {
  background: var(--white); padding: 38px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature__icon {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px;
  border: 1px solid var(--gold-500); color: var(--gold-600); background: rgba(201, 162, 75, .07);
  transition: background-color .35s, color .35s;
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature:hover .feature__icon { background: var(--gold-500); color: var(--navy-900); }
.feature h3 { font-size: 1.28rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- 11. Sell banner ---------- */
.sell-banner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.sell-banner__media { position: relative; }
.sell-banner__media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.sell-banner__media::before {
  content: ""; position: absolute; inset: 28px -22px -22px 28px; border: 1px solid var(--gold-500);
  border-radius: var(--radius-lg); z-index: 0;
}
.sell-banner__media img { position: relative; z-index: 1; }
.sell-banner__tag {
  position: absolute; z-index: 2; left: -18px; bottom: 40px; background: var(--gold-500); color: var(--navy-900);
  padding: 16px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 230px;
  font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.3;
}
.check-list { display: grid; gap: 20px; margin: 30px 0 38px; }
.check-list li { display: flex; gap: 18px; align-items: flex-start; }
.check-list__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(201, 162, 75, .14); color: var(--gold-400);
}
.check-list__icon .icon { width: 22px; height: 22px; }
.check-list h3 { font-size: 1.12rem; margin: 2px 0 4px; }
.check-list p { margin: 0; font-size: .95rem; color: var(--muted-light); }

/* ---------- 12. Video tours ---------- */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.video-card { display: block; text-align: left; border: 0; padding: 0; background: none; width: 100%; }
.video-card__frame {
  position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy-800); box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.video-card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.video-card__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 29, .05) 40%, rgba(8, 16, 29, .85) 100%);
}
.video-card:hover .video-card__frame { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.video-card:hover .video-card__frame img { transform: scale(1.05); }
.video-card__play {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px;
  border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy-900);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .18); transition: transform .35s var(--ease), background-color .35s;
}
.video-card__play .icon { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.video-card:hover .video-card__play { transform: scale(1.1); background: var(--gold-500); }
.video-card__caption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; color: var(--white); }
.video-card__caption strong { display: block; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500; line-height: 1.25; }
.video-card__caption span { font-size: .8rem; color: rgba(255, 255, 255, .78); }
.video-note { margin-top: 26px; font-size: .88rem; color: var(--muted); text-align: center; }
.section--navy .video-note { color: var(--muted-light); }

.video-modal {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 10, 20, .9); }
.video-modal__dialog { position: relative; width: min(440px, 100%); }
.video-modal video {
  width: 100%; max-height: calc(100svh - 120px); aspect-ratio: 9 / 16; object-fit: contain; background: #000;
  border-radius: var(--radius-lg); margin: 0 auto;
}
.video-modal__title { color: var(--white); text-align: center; margin: 14px 0 0; font-family: var(--font-serif); font-size: 1.1rem; }
.video-modal__close {
  position: fixed; top: 18px; right: 18px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: var(--white); display: grid; place-items: center;
}
.video-modal__close:hover { background: var(--white); color: var(--navy-900); }

/* ---------- 13. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 46px; left: 16%; right: 16%; height: 1px;
  background-image: linear-gradient(90deg, var(--gold-500) 50%, transparent 0); background-size: 12px 1px;
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step__icon {
  position: relative; width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--navy-900);
  box-shadow: var(--shadow-sm); transition: background-color .35s, color .35s, transform .35s var(--ease);
}
.step__icon .icon { width: 32px; height: 32px; }
.step__num {
  position: absolute; top: -4px; right: -4px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900); font-size: .78rem; font-weight: 700; display: grid; place-items: center;
}
.step:hover .step__icon { background: var(--navy-900); color: var(--gold-400); transform: translateY(-4px); }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }

/* ---------- 14. Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
  position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 38px 32px 32px;
  border: 1px dashed #cfc5b2; display: flex; flex-direction: column;
}
.testimonial__quote { display: block; color: var(--gold-500); margin-bottom: 18px; }
.testimonial__quote .icon { width: 40px; height: 40px; }
.testimonial blockquote { margin: 0 0 26px; font-family: var(--font-serif); font-size: 1.18rem; font-style: italic; color: var(--muted); line-height: 1.6; flex: 1; }
.testimonial__person { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--gold-600); }
.testimonial__avatar .icon { width: 22px; height: 22px; }
.testimonial__name { font-weight: 600; color: var(--navy-900); line-height: 1.3; }
.testimonial__role { font-size: .82rem; color: var(--muted); }
.placeholder-tag {
  position: absolute; top: 16px; right: 16px; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); background: rgba(201, 162, 75, .12); padding: 4px 10px; border-radius: 999px;
}

/* ---------- 15. CTA ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white); text-align: center;
  padding: clamp(80px, 11vw, 140px) 0;
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 16, 29, .78); }
.cta h2 { color: var(--white); max-width: 760px; margin: 0 auto 18px; }
.cta p { color: rgba(255, 255, 255, .82); max-width: 560px; margin: 0 auto 36px; font-size: 1.08rem; }
.cta .btn-row { justify-content: center; }
.cta .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.cta__phone { display: block; margin-top: 26px; color: rgba(255, 255, 255, .7); font-size: .92rem; }
.cta__phone a { color: var(--gold-400); font-weight: 600; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9b3c2; padding-top: clamp(64px, 8vw, 96px); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-brand p { margin: 22px 0 26px; max-width: 340px; line-height: 1.75; }
.footer-title {
  font-family: var(--font-sans); font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--white); margin-bottom: 22px;
}
.footer-links li + li { margin-top: 10px; }
.footer-links--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.footer-links--cols li + li { margin-top: 0; }
.footer-cta { margin-top: 24px; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold-400); margin-top: 4px; }
.footer-contact a:hover { color: var(--gold-400); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .16); color: var(--white);
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.socials .icon { width: 17px; height: 17px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem;
}
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- 17. Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(18, 140, 64, .7); transition: transform .3s var(--ease), background-color .3s;
}
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1;
  animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); background: var(--wa-dark); }
.nav-open .wa-float { opacity: 0; visibility: hidden; }
.wa-float__label {
  position: absolute; right: 74px; top: 50%; transform: translate(8px, -50%); white-space: nowrap;
  background: var(--white); color: var(--navy-900); padding: 8px 14px; border-radius: var(--radius);
  font-size: .82rem; font-weight: 600; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: translate(0, -50%); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- 18. Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.form-card h2, .form-card h3 { margin-bottom: 8px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 26px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--navy-900); margin-bottom: 8px; }
.form-field label .req { color: #b4432f; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #d9d3c7; border-radius: var(--radius);
  background: var(--white); font-size: .96rem; transition: border-color .25s, box-shadow .25s;
}
.form-field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230f1b2d' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201, 162, 75, .16);
}
.form-field input:user-invalid, .form-field select:user-invalid, .form-field textarea:user-invalid { border-color: #c2553f; }
.form-hint { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin: 0; }
.form-note .icon { width: 16px; height: 16px; color: var(--wa-dark); }
.form-status {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--radius);
  background: #ecf9f1; border: 1px solid #b9e8cb; color: #145c32; font-size: .9rem;
}
.form-status.is-visible { display: block; }
.form-status a { font-weight: 600; text-decoration: underline; }

/* ---------- 19. Properties page ---------- */
.filters-wrap { position: relative; z-index: 5; margin-top: -54px; }
.filters {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line);
  padding: 22px 24px; display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)) auto; gap: 16px 18px; align-items: end;
}
.filters .form-field label, .filters .field-label {
  display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px;
}
.filters .form-field select { padding-top: 12px; padding-bottom: 12px; }
.filters .form-field select:disabled { background-color: #f4f2ee; color: #8d94a0; cursor: not-allowed; }
.segmented {
  display: inline-flex; padding: 4px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line);
}
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: block; padding: 9px 16px; border-radius: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background-color .25s, color .25s;
}
.segmented input:checked + span { background: var(--navy-900); color: var(--white); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 1px; }
.filters__reset { height: 48px; }
.filters-toggle { display: none; }
.section-spacer { height: var(--section-y); }

.results-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin: 44px 0 28px;
}
.results-count { margin: 0; color: var(--muted); }
.results-count strong { color: var(--navy-900); font-family: var(--font-serif); font-size: 1.3rem; }
.sort { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); }
.sort label { white-space: nowrap; }
.sort .form-field select { width: auto; padding: 10px 40px 10px 14px; font-size: .9rem; }
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 1px dashed #cfc5b2; border-radius: var(--radius-lg); background: var(--ivory);
}
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* ---------- 20. Property details ---------- */
.details-top { padding: calc(var(--header-h) + 36px) 0 0; }
.details-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin: 18px 0 30px; }
.details-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 10px; }
.details-head .location { margin: 0; font-size: 1rem; }
.details-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 4px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--navy-900); color: var(--white);
}
.tag--light { background: var(--sand); color: var(--navy-900); }
.details-price { text-align: right; }
.details-price__label { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.details-price__value { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy-900); line-height: 1.2; }

.gallery { display: grid; gap: 14px; }
.gallery__main { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
.gallery__main img.is-fading { opacity: 0; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--navy-900); display: grid; place-items: center; box-shadow: var(--shadow-md);
  transition: background-color .25s, transform .25s var(--ease);
}
.gallery__nav:hover { background: var(--gold-500); }
.gallery__nav--prev { left: 18px; }
.gallery__nav--next { right: 18px; }
.gallery__nav--prev .icon { transform: rotate(180deg); }
.gallery__count {
  position: absolute; right: 18px; bottom: 18px; background: rgba(8, 16, 29, .75); color: var(--white);
  font-size: .8rem; padding: 6px 12px; border-radius: 999px; letter-spacing: .06em;
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery__thumb {
  padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand);
  opacity: .65; transition: opacity .25s, border-color .25s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-current="true"] { opacity: 1; border-color: var(--gold-500); }
.gallery--single .gallery__thumbs, .gallery--single .gallery__nav { display: none; }

.details-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding-top: 48px; padding-bottom: var(--section-y); }
.details-block { padding: 34px 0; border-bottom: 1px solid var(--line); }
.details-block:first-child { padding-top: 0; }
.details-block:last-child { border-bottom: 0; }
.details-block h2 { font-size: 1.6rem; margin-bottom: 20px; }
.details-block p { color: var(--muted); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact {
  background: var(--ivory); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px;
}
.fact .icon { width: 22px; height: 22px; color: var(--gold-600); }
.fact__label { font-size: .74rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.fact__value { font-weight: 600; color: var(--navy-900); font-size: 1.05rem; }
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amenities li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .93rem;
}
.amenities .icon { width: 20px; height: 20px; color: var(--gold-600); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand); line-height: 0; }
.map-embed iframe { width: 100%; height: 380px; border: 0; }
.map-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.contact-box { background: var(--navy-900); color: #d5dbe4; border-radius: var(--radius-lg); padding: 32px 28px; }
.contact-box h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 6px; }
.contact-box > p { color: var(--muted-light); font-size: .93rem; }
.contact-box .btn { width: 100%; margin-top: 12px; }
.contact-box hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 26px 0 22px; }
.contact-box h3 { color: var(--white); font-family: var(--font-sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.contact-box .form-field { margin-bottom: 12px; }
.contact-box .form-field label { color: #d5dbe4; font-weight: 500; }
.contact-box .form-field input, .contact-box .form-field textarea {
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--white);
}
.contact-box .form-field input::placeholder, .contact-box .form-field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.contact-box .form-field textarea { min-height: 96px; }
.contact-box .form-status { background: rgba(37, 211, 102, .12); border-color: rgba(37, 211, 102, .35); color: #c9f5da; }
.agent-mini { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.agent-mini img { width: 54px; height: 54px; border-radius: 50%; }
.agent-mini strong { color: var(--white); display: block; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; }
.agent-mini span { font-size: .82rem; color: var(--muted-light); }
.not-found { text-align: center; padding: calc(var(--header-h) + 100px) 0 120px; }
.not-found p { color: var(--muted); margin-bottom: 28px; }

/* ---------- 21. Generic split / info blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split__media--stack img:last-child {
  position: absolute; width: 46%; right: -6%; bottom: -10%; aspect-ratio: 1; border: 8px solid var(--white); box-shadow: var(--shadow-lg);
}
.split p { color: var(--muted); }
.tick-list { display: grid; gap: 12px; margin: 24px 0 32px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.tick-list .icon { color: var(--gold-600); margin-top: 4px; width: 18px; height: 18px; }
.lead { font-size: 1.12rem; color: var(--ink) !important; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-card .feature__icon { margin-bottom: 20px; }
.info-card p { color: var(--muted); font-size: .95rem; }
.info-card .text-link { margin-top: 6px; }

.timeline { display: grid; gap: 0; max-width: 860px; margin: 0 auto; counter-reset: tl; }
.timeline li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 26px; padding-bottom: 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 37px; top: 76px; bottom: 0; width: 1px; background: linear-gradient(var(--gold-500), rgba(201, 162, 75, .1));
}
.timeline li:last-child::before { display: none; }
.timeline__num {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-400);
  font-family: var(--font-serif); font-size: 1.6rem;
}
.timeline h3 { margin: 10px 0 8px; }
.timeline p { color: var(--muted); margin: 0; }
.section--navy .timeline p { color: var(--muted-light); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 30px 28px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
a.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .feature__icon { margin: 0; flex-shrink: 0; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-card strong { color: var(--navy-900); font-weight: 600; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: stretch; }
.contact-layout .map-embed iframe { height: 100%; min-height: 460px; }
.aside-card { background: var(--navy-900); color: #d5dbe4; border-radius: var(--radius-lg); padding: 36px 32px; }
.aside-card h3 { color: var(--white); }
.aside-card ul { display: grid; gap: 14px; margin: 20px 0 28px; }
.aside-card li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.aside-card li .icon { color: var(--gold-400); margin-top: 3px; width: 18px; height: 18px; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.sell-form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }

/* ---------- 22. Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-fade { opacity: 0; transition: opacity 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-fade.is-visible { opacity: 1; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1180px) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters .filter-status { grid-column: 1 / -1; }
  .filters__reset { grid-column: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  /* no backdrop-filter here: it would trap the fixed mobile menu inside the header */
  .site-header.is-scrolled, body.header-solid .site-header { backdrop-filter: none; background: rgba(12, 22, 37, .98); }
  .nav-toggle { display: inline-block; }
  .header-call span { display: none; }
  .header-call { padding: 0; width: 44px; height: 44px; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 86vw); z-index: 110;
    background: var(--navy-900); padding: 100px 32px 36px; display: flex; flex-direction: column;
    transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
    overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav a:not(.btn) { font-family: var(--font-serif); font-size: 1.45rem; padding: 16px 0; }
  .main-nav a:not(.btn)::after { left: 0; right: auto; width: 40px; bottom: 10px; }
  .main-nav__extra { display: grid; gap: 12px; margin-top: 32px; }
  .main-nav__extra p { color: var(--muted-light); font-size: .85rem; margin: 10px 0 0; }
  .header-actions { margin-left: auto; position: relative; z-index: 120; }
  .main-nav { margin-left: 0; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin: 0 auto; }
  .details-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 900px) {
  .hero { padding-bottom: 96px; }
  .search-fields { grid-template-columns: 1fr 1fr; border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg); }
  .search-fields .field { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .search-fields .field:first-child { border-right: 1px solid var(--line); }
  .search-submit { grid-column: 1 / -1; margin-top: 10px; min-height: 54px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .sell-banner, .split, .contact-layout, .sell-form-layout { grid-template-columns: 1fr; }
  .sell-banner__media { max-width: 520px; }
  .sell-banner__media img { aspect-ratio: 4 / 3; }
  .split__media--stack img:last-child { right: 4%; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { display: none; }
  .testimonial-grid, .card-grid, .contact-cards { grid-template-columns: 1fr; }
  .testimonial-grid { max-width: 560px; margin: 0 auto; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .contact-layout .map-embed iframe { min-height: 340px; }

  .filters-toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 20px;
    box-shadow: var(--shadow-md); font-weight: 600; color: var(--navy-900);
  }
  .filters-toggle .icon { transition: transform .3s var(--ease); }
  .filters-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .filters-toggle__count {
    margin-left: 10px; background: var(--gold-500); color: var(--navy-900); border-radius: 999px; font-size: .74rem; padding: 2px 9px;
  }
  .filters { display: none; grid-template-columns: 1fr 1fr; margin-top: 12px; }
  .filters.is-open { display: grid; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.3rem; }
  .brand__tag { font-size: .52rem; letter-spacing: .3em; }
  .brand { gap: 10px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .currency-toggle button { padding: 5px 8px; font-size: .66rem; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); }
  .hero__scroll { display: none; }
  .search-tab span { padding: 11px 22px; }
  .search-fields { grid-template-columns: 1fr; padding: 8px; }
  .search-fields .field:first-child { border-right: 0; }
  .property-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; gap: 16px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature { display: grid; grid-template-columns: 52px 1fr; gap: 4px 18px; padding: 24px 22px; }
  .feature__icon { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .feature__icon .icon { width: 22px; height: 22px; }
  .feature h3 { margin: 4px 0 2px; }
  .video-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; max-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; scrollbar-width: none;
    scroll-padding-inline: var(--gutter);
  }
  .js .video-grid .reveal { opacity: 1; transform: none; }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-grid > * { flex: 0 0 68%; scroll-snap-align: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .segmented { display: flex; }
  .segmented label { flex: 1; text-align: center; }
  .details-price { text-align: left; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .gallery__thumbs > :nth-child(n+5) { display: none; }
  .gallery__nav { width: 40px; height: 40px; }
  .gallery__nav--prev { left: 10px; }
  .gallery__nav--next { right: 10px; }
  .fact-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amenities { grid-template-columns: 1fr; }
  .map-embed iframe { height: 300px; }
  .sell-banner__tag { left: 12px; bottom: 16px; }
  .sell-banner__media::before { inset: 16px -10px -12px 16px; }
  .split__media--stack img:last-child { display: none; }
  .timeline li { grid-template-columns: 56px 1fr; gap: 18px; }
  .timeline__num { width: 56px; height: 56px; font-size: 1.25rem; }
  .timeline li::before { left: 27px; top: 56px; }
  .btn-row .btn { flex: 1 1 auto; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .wa-float__label { display: none; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 380px) {
  .brand__text { display: none; }
}

/* ---------- 24. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-fade { opacity: 1; transform: none; }
}
