/* ==========================================================================
   Namdar Realty Group - public site styles
   Navy + warm brass, data-first, minimal motion.
   ========================================================================== */

:root {
  --navy: #14274c;
  --navy-700: #1d3563;
  --navy-900: #0d1a33;
  --ink: #1b2330;
  --muted: #67718a;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --bg-deep: #0f1d3a;
  --brass: #b98a4b;
  --brass-600: #a1743a;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 26, 51, 0.06), 0 1px 3px rgba(16, 26, 51, 0.05);
  --shadow-md: 0 6px 24px rgba(16, 26, 51, 0.10);
  --wrap: 1180px;
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--brass-600); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--navy); margin: 0 0 0.4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brass-600);
  margin: 0 0 0.9rem;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.72em 1.4em; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--block { width: 100%; }
.btn--sm { padding: 0.5em 0.9em; font-size: 0.85rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.tag { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2em 0.6em; border-radius: 999px; }
.tag--sold { background: #ecdfce; color: var(--brass-600); margin-left: 0.5rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; line-height: 1; color: var(--navy); }
.brand__logo { display: block; height: 40px; width: auto; }
.brand__logo--light { height: 36px; }
.brand__mark { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.14em; }
.brand__sub { font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand__mark--light { color: var(--white); }
.brand--footer { margin-bottom: 0.85rem; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav__link { font-size: 0.92rem; font-weight: 500; color: var(--ink); padding: 0.4rem 0; position: relative; }
.site-nav__link:hover { color: var(--navy); }
.site-nav__link.is-active { color: var(--navy); }
.site-nav__link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brass);
}
.site-nav__cta { background: var(--navy); color: var(--white); padding: 0.55rem 1rem; border-radius: var(--radius); font-size: 0.88rem; font-weight: 600; }
.site-nav__cta:hover { background: var(--brass-600); color: var(--white); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(9, 18, 38, 0.35) 0%, rgba(9, 18, 38, 0.82) 92%),
    radial-gradient(120% 90% at 70% 10%, #21406f 0%, var(--bg-deep) 60%);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img,
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(9,18,38,0.30), rgba(9,18,38,0.85)); }
.hero__inner { position: relative; z-index: 2; padding-block: 4rem 4.5rem; }
.hero__brand { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em; font-size: clamp(2.8rem, 8vw, 6rem); line-height: 0.98; margin: 0; color: #fff; }
.hero__brand span { color: var(--brass); }
.hero h1 { color: #fff; }
.hero__headline { font-family: var(--font-sans); font-weight: 400; font-size: clamp(1.05rem, 2vw, 1.4rem); max-width: 46ch; color: rgba(255,255,255,0.9); margin: 1.2rem 0 0; }
.hero .cta-row .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero .cta-row .btn--ghost:hover { border-color: #fff; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

.animate-rise { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.7,.3,1) forwards; }
.animate-rise--2 { animation-delay: .1s; }
.animate-rise--3 { animation-delay: .2s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .animate-rise { animation: none; opacity: 1; transform: none; } }

/* ---------- Home sections ---------- */
.section { padding-block: clamp(2.2rem, 4.5vw, 4rem); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 60ch; margin-bottom: 2.2rem; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--white); padding: 1.6rem 1.4rem; }
.stat__value { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy); line-height: 1; }
.stat__label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 0.5rem; }

.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.class-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.35rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: border-color .15s ease, transform .15s ease; min-height: 160px; overflow: hidden; color: var(--ink); }
.class-tile--photo { color: #fff; border-color: transparent; min-height: 180px; }
.class-tile__photo { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); transition: transform .35s ease; }
.class-tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,26,51,0.15) 0%, rgba(13,26,51,0.78) 100%); }
.class-tile__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.class-tile:hover { border-color: var(--navy); transform: translateY(-2px); }
.class-tile--photo:hover { border-color: transparent; }
.class-tile--photo:hover .class-tile__photo { transform: scale(1.06); }
.class-tile__name { font-family: var(--font-display); font-size: 1.15rem; color: inherit; }
.class-tile__meta { font-size: 0.85rem; color: inherit; opacity: 0.85; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding-block: clamp(1.8rem, 3.5vw, 2.8rem); }
.page-hero--slim { padding-block: clamp(1.4rem, 3vw, 2.2rem); }
.page-hero h1 { margin-bottom: 0.3rem; }

/* ---------- Properties: search tool ---------- */
.properties-head { background: var(--bg-deep); color: #fff; padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.properties-head h1 { color: #fff; margin: 0; }
.properties-head .eyebrow { color: var(--brass); }
.properties-head .lede { color: rgba(255,255,255,0.82); }

.properties-tool { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; padding-block: 1rem; }
.filters__search { flex: 1 1 260px; }
.filters__search input {
  width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.95rem; font-family: inherit;
}
.filters__selects { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.select { display: flex; flex-direction: column; gap: 4px; }
.select__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.select select { padding: 0.6rem 0.7rem; border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit; font-size: 0.9rem; background: #fff; min-width: 140px; }
.filters__meta { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
[data-result-count] { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy-700); outline-offset: 1px; }

.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.view-toggle__btn { background: #fff; border: 0; padding: 0.45rem 0.8rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.view-toggle__btn.is-active { background: var(--navy); color: #fff; }

/* ---------- Properties: results ---------- */
.properties-results { padding-block: 1.4rem 3rem; }
.property-grid[data-view="grid"] { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.property-grid[data-view="list"] { display: flex; flex-direction: column; gap: 0.6rem; }

.property-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; color: var(--ink); height: 100%; }
.property-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.property-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; }
.property-card__badge { position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.25em 0.6em; border-radius: 4px; }
.property-card__body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.property-card__name { font-size: 1.02rem; margin: 0 0 0.2rem; color: var(--navy); }
.property-card__loc { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.6rem; }
.property-card__meta { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.6rem; margin-top: auto; }

/* List view layout */
.property-grid[data-view="list"] .property-card { display: grid; grid-template-columns: 120px 1fr; align-items: stretch; }
.property-grid[data-view="list"] .property-card__media { aspect-ratio: auto; }
.property-grid[data-view="list"] .property-card__meta { border-top: 0; padding-top: 0; }

.results-skeleton { display: contents; }
.skeleton-card { aspect-ratio: 4/3; border-radius: var(--radius-lg); background: linear-gradient(100deg, #eef1f6 30%, #e4e8f0 50%, #eef1f6 70%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.load-error { color: #b3341f; }

/* ---------- Property detail ---------- */
.breadcrumb { padding-top: 1.4rem; font-size: 0.9rem; }
.property-detail { padding-block: 1rem 4rem; }
.property-detail__head { margin-bottom: 1.6rem; }
.property-detail__loc { font-size: 1.35rem; font-weight: 600; color: var(--navy); margin: 0.35rem 0 0; }

.prop-links { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.25rem; }
.prop-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.prop-link:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.prop-link svg { width: 1.15rem; height: 1.15rem; display: block; }
.property-detail__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }

.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; aspect-ratio: 3 / 2; }
.slider__track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.slider__slide { min-width: 100%; margin: 0; height: 100%; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); border: 0; width: 42px; height: 42px; border-radius: 999px; font-size: 1.4rem; line-height: 1; color: var(--navy); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.slider__nav--prev { left: 12px; }
.slider__nav--next { right: 12px; }
.slider__nav:hover { background: #fff; }
.slider__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider__dot { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; }
.slider__dot.is-active { background: #fff; width: 22px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .slider__track { transition: none; } }

.gallery-placeholder { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); }

.facts { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.facts__row { display: grid; grid-template-columns: 110px 1fr; gap: 0.5rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); }
.facts__row:last-child { border-bottom: 0; }
.facts__row dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }
.facts__row dd { margin: 0; font-weight: 500; }
.facts__tenants { margin-top: 1.4rem; }
.facts__tenants h2 { font-size: 1.05rem; }
.facts__tenants ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.facts__tenants li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 0.3em 0.85em; font-size: 0.85rem; }

.property-detail__map { margin-top: 3rem; }
.map-image { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.map-image--placeholder { aspect-ratio: 16 / 6; display: grid; place-items: center; background:
  repeating-linear-gradient(45deg, #eef1f6, #eef1f6 12px, #e7ebf3 12px, #e7ebf3 24px); color: var(--muted); text-align: center; }
.map-image--placeholder strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.2rem; }
.property-detail__desc { margin-top: 3rem; max-width: 70ch; }
.prose { line-height: 1.75; }

/* ---------- Generic content page ---------- */
.content-page { padding-block: clamp(2rem, 4vw, 3.4rem) 4rem; }
.content-page .prose { max-width: 72ch; font-size: 1.05rem; }
.content-page .prose h2 { margin-top: 2rem; }
.content-page .prose img { border-radius: var(--radius); margin: 1.2rem 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.6rem; }
.team-member__photo { aspect-ratio: 3/4; border-radius: var(--radius-lg); object-fit: cover; background: var(--bg-alt); width: 100%; }
.team-member__photo--empty { display: grid; place-items: center; color: var(--muted); font-family: var(--font-display); font-size: 2rem; }
.team-member__name { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin: 0.8rem 0 0.15rem; }
.team-member__title { color: var(--brass-600); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.team-member__bio { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; }
.team-member__contact { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 0.65rem; font-size: 0.88rem; }
.team-member__contact a { color: var(--navy-700); }
.team-member__contact a:hover { color: var(--brass-600); }

/* ---------- Investments ---------- */
.investment-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.4rem; max-width: 720px; }
.investment-item { border-bottom: 1px solid var(--line); padding-bottom: 1.3rem; }
.investment-item:last-child { border-bottom: 0; padding-bottom: 0; }
.investment-item__name { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin: 0 0 0.35rem; }
.investment-item__name a { color: inherit; }
.investment-item__name a:hover { color: var(--brass-600); }
.investment-item__desc { color: var(--muted); margin: 0; line-height: 1.65; }

/* ---------- Tenants ---------- */
.tenant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tenant-cell { background: #fff; aspect-ratio: 3/2; display: grid; place-items: center; padding: 1.2rem; }
.tenant-cell img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter .2s, opacity .2s; }
.tenant-cell:hover img { filter: none; opacity: 1; }
.tenant-cell__name { font-weight: 600; color: var(--navy); text-align: center; }

/* ---------- News ---------- */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.news-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.news-card__media { aspect-ratio: 16/9; object-fit: cover; background: var(--bg-alt); }
.news-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; }
.news-card__date { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brass-600); font-weight: 700; }
.news-card__title { font-size: 1.15rem; margin: 0; }
.news-card__excerpt { color: var(--muted); font-size: 0.92rem; }

.article { max-width: 72ch; margin: 0 auto; padding-block: 2.5rem 4rem; }
.article__meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.article__media { border-radius: var(--radius-lg); margin-bottom: 1.6rem; }

/* ---------- Careers ---------- */
.careers-blurb { max-width: 60ch; margin-bottom: 1.2rem; }
.careers-cta { margin: 0 0 0.5rem; }
.job-list { display: flex; flex-direction: column; gap: 1rem; max-width: 820px; }
.job { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; background: #fff; }
.job__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin: 0 0 0.3rem; }
.job__meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; margin-bottom: 0.7rem; }
.job__desc { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-grid--info { grid-template-columns: minmax(0, 36rem); }
.contact-info dl { display: grid; gap: 1.1rem; }
.contact-info dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.contact-info dd { margin: 0.2rem 0 0; font-size: 1.05rem; }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form input, .form textarea { padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.form-note { padding: 1rem 1.1rem; border-radius: var(--radius); font-size: 0.95rem; }
.form-note--ok { background: #e8f3ec; color: #1e6b3f; }
.form-note--err { background: #fbe9e6; color: #a4331e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); margin-top: 4rem; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 3rem 24px 2rem; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; }
.site-footer__brand p { max-width: 40ch; margin: 0.8rem 0 0; }
.site-footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem 1rem; align-content: start; }
.site-footer__links a { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.site-footer__links a:hover { color: #fff; }
.site-footer__legal { max-width: var(--wrap); margin: 0 auto; padding: 1.2rem 24px 2.4rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; }
.site-footer__legal a { color: rgba(255,255,255,0.8); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .property-detail__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 24px 1rem;
    display: none; box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__link { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .site-nav__link.is-active::after { display: none; }
  .site-nav__cta { margin-top: 0.6rem; text-align: center; }
  .brand__logo { height: 34px; }
  .filters__meta { margin-left: 0; width: 100%; }
  .properties-tool { position: static; }
}

@media (max-width: 520px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .property-grid[data-view="list"] .property-card { grid-template-columns: 96px 1fr; }
  .site-footer__links { grid-template-columns: repeat(2, 1fr); }
}
