:root {
  /* Prime Nest — navy, gold, cream */
  --ink: #0a2540;
  --ink-soft: #24344a;
  --muted: #5c6b7a;
  --subtle: #8a96a3;
  --line: #e6e1d6;
  --line-strong: #d4cdbf;
  --bg: #fffcf7;
  --bg-subtle: #f6f1e8;
  --bg-subtle-2: #eee8dc;
  --surface: #ffffff;
  --white: #ffffff;

  --navy: #0a2540;
  --navy-deep: #06182c;
  --gold: #c5a059;
  --gold-hover: #b08d4a;
  --gold-soft: #f7efdf;

  --accent: #0a2540;
  --accent-hover: #16375a;
  --accent-ink: #0a2540;
  --accent-soft: #f7efdf;
  --accent-soft-strong: #efe4cc;
  --accent-line: #e2d3b0;

  --sale: #c07a2b;
  --sale-solid: #c5a059;
  --rent-solid: #0a2540;
  --success: #2e7d32;
  --success-soft: #edf7ee;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;

  /* Tailwind-style spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Shared control heights: buttons + inputs stay aligned */
  --control-h-sm: 2rem;
  --control-h: 2.5rem;
  --control-h-lg: 2.75rem;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --leading-tight: 1.25;
  --leading-normal: 1.6;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(10, 37, 64, 0.05);
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.04), 0 1px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 20px 45px rgba(10, 37, 64, 0.14);

  --font-display: "Source Serif 4", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --container: min(1180px, calc(100% - 2.5rem));
  --header-h: 7.55rem;
  --menu-bar-h: 3.15rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ring: 0 0 0 3px rgba(197, 160, 89, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 0.55rem;
  color: var(--ink);
}
p { margin: 0 0 1rem; color: var(--muted); }
.container { width: var(--container); max-width: 100%; margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 0;
}
.header-inner {
  min-height: 4.4rem;
  min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; min-width: 0; }
.brand-mark {
  width: 38px; height: 38px;
  color: var(--gold);
  flex-shrink: 0;
  display: block;
}
.brand-mark::after { content: none; }
img.brand-mark.brand-logo {
  width: auto;
  height: 40px;
  max-width: min(220px, 48vw);
  border-radius: 0;
  background: none;
  object-fit: contain;
  display: block;
}
img.brand-mark.brand-logo::after { content: none; display: none; }
.brand.has-logo { gap: .75rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.brand-sub {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.menu-bar {
  background: #fff;
  border-top: 3px solid #c0392b;
  border-bottom: 1px solid #e5e7eb;
}
.menu-bar-inner {
  display: flex;
  align-items: stretch;
  min-height: var(--menu-bar-h);
  min-width: 0;
}
.menu-bar-links {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: stretch;
}
.menu-bar-links a {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: 0;
  padding: .85rem .6rem;
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .01em;
  color: #111827;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.menu-bar-links a:hover,
.menu-bar-links a.is-active {
  color: var(--navy);
  background: #f8fafc;
}
.menu-bar-links a:last-child { border-right: 0; }
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a {
  font-weight: 500;
  font-size: .93rem;
  color: var(--muted);
  transition: color .15s;
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav-cta { color: #fff !important; }
.nav-cta-call {
  background: #1a7f4b;
  border-color: #1a7f4b;
  color: #fff !important;
}
.nav-cta-call:hover {
  background: #14663c;
  border-color: #14663c;
  color: #fff !important;
}
.nav-cta-call i,
.nav-cta-call svg {
  width: .9rem;
  height: .9rem;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}
.locale-switcher {
  position: relative;
  flex-shrink: 0;
}
.locale-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 2.4rem;
  padding: 0 .7rem 0 .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(10, 37, 64, .04);
}
.locale-trigger::-webkit-details-marker { display: none; }
.locale-trigger::marker { content: ''; }
.locale-globe {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}
.locale-trigger-flag {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.locale-flag-svg {
  display: block;
  width: 1.15rem;
  height: .86rem;
  border-radius: .16rem;
  box-shadow: 0 0 0 1px rgba(10, 37, 64, .14);
}
.locale-choice-flag {
  display: inline-flex;
  line-height: 1;
}
.locale-choice-flag .locale-flag-svg {
  width: 1.85rem;
  height: 1.35rem;
  border-radius: .22rem;
}
.locale-trigger-country {
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.locale-trigger-sep {
  width: 1px;
  height: .9rem;
  background: var(--line-strong);
  opacity: .8;
}
.locale-trigger-lang {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--navy);
  background: var(--gold-soft);
  border-radius: 999px;
  min-width: 1.7rem;
  height: 1.25rem;
  padding: 0 .35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.locale-caret {
  width: .38rem;
  height: .38rem;
  margin-left: .1rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .45;
  flex-shrink: 0;
}
.locale-switcher[open] .locale-caret { transform: rotate(225deg) translateY(-1px); }
.locale-switcher[open] .locale-trigger {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, .16);
}
.locale-panel {
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  z-index: 90;
  width: min(22.5rem, calc(100vw - 1.25rem));
  padding: .9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 22px 50px rgba(10, 37, 64, .16);
}
.locale-heading {
  margin: 0 0 .45rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.locale-grid + .locale-heading { margin-top: .85rem; }
.locale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.locale-choice {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .18rem;
  padding: .75rem .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--bg-subtle);
  color: inherit;
  position: relative;
}
.locale-choice:hover {
  border-color: var(--gold);
  background: #fff;
}
.locale-choice.is-active {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 0 0 1px var(--gold);
}
.locale-choice.is-active::after {
  content: '';
  position: absolute;
  top: .45rem;
  right: .5rem;
  width: .42rem;
  height: .7rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
}
.locale-choice-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 1.45rem;
  border-radius: .4rem;
  background: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--navy);
}
.locale-choice.is-active .locale-choice-code { background: #fff; }
.locale-choice-name {
  font-size: .88rem;
  font-weight: 800;
  color: var(--navy);
}
.locale-choice-hint {
  font-size: .68rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.25;
}
.mobile-nav-locale {
  padding: .85rem 0 .7rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .15rem;
}
.locale-switcher--mobile { display: block; width: 100%; }
.locale-switcher--mobile .locale-trigger { width: 100%; justify-content: flex-start; }
.locale-switcher--mobile .locale-caret { margin-left: auto; }
.locale-switcher--mobile .locale-panel {
  position: static;
  width: auto;
  margin-top: .65rem;
  box-shadow: none;
}
@media (max-width: 720px) {
  .locale-switcher--header .locale-trigger-country,
  .locale-switcher--header .locale-trigger-sep { display: none; }
}
html[lang="my"] {
  --font-body: "Noto Sans Myanmar", "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Noto Sans Myanmar", "Source Serif 4", serif;
}
html[lang="my"] body { line-height: 1.7; }
html[lang="my"] .brand-name {
  font-family: "Source Serif 4", "Georgia", serif;
}
html[lang="my"] .brand-sub {
  letter-spacing: .06em;
  text-transform: none;
}
html[lang="my"] .menu-bar-links a {
  white-space: normal;
  font-size: .8rem;
  font-weight: 700;
}
html[lang="my"] .btn,
html[lang="my"] .more-filters-toggle { white-space: normal; }
html[lang="my"] .eyebrow,
html[lang="my"] .why-title,
html[lang="my"] .site-footer h3,
html[lang="my"] .contact-strip-script {
  letter-spacing: .04em;
  text-transform: none;
}
.nav-toggle {
  display: none;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: .45rem;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: var(--navy);
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}
.mobile-nav {
  display: none; flex-direction: column; gap: .35rem;
  padding: 0 1.25rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  font-weight: 600; padding: .7rem 0; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; margin-top: .4rem; }

/* Buttons — fixed heights (Tailwind h-8 / h-10 / h-11), shared with inputs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--control-h);
  padding: 0 var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
  text-align: center;
  white-space: nowrap;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-hover); color: #fff; }
.btn-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-accent-soft {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: transparent;
}
.btn-accent-soft:hover { background: var(--accent-soft-strong); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm {
  height: var(--control-h-sm);
  padding: 0 var(--space-3);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}
.btn-lg {
  height: var(--control-h-lg);
  padding: 0 var(--space-6);
  font-size: var(--text-base);
  border-radius: var(--radius);
}
.btn-block { width: 100%; }
.btn i, .btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn-sm i, .btn-sm svg { width: .875rem; height: .875rem; }

/* Home banner — full-bleed image + search in one composition */
.hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(28rem, 72vh, 40rem);
  padding: clamp(4.5rem, 10vw, 6.5rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  color: #fff;
}
.hero-banner-image {
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 0;
  background: #0a2540;
  overflow: hidden;
}
.hero-banner-image .hero-banner-media {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  line-height: 0;
}
.hero-banner-image .hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  object-position: center;
  background: #0a2540;
  opacity: 0;
  transform: none;
  transition: opacity .8s var(--ease);
}
.hero-banner-image .hero-slide.is-active {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  opacity: 1;
  z-index: 1;
  transform: none;
}
.hero-banner-media {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background: var(--hero-image) center / cover no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s var(--ease), transform 8s var(--ease);
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.52) 0%, rgba(15, 23, 42, 0.42) 45%, rgba(15, 23, 42, 0.72) 100%);
  pointer-events: none;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: .45rem;
}
.hero-dots button {
  width: .55rem;
  height: .55rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.hero-dots button.is-active { background: #fff; width: 1.15rem; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero-banner-inner {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 2rem), 58rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.35rem, 2.5vw, 1.85rem);
  text-align: center;
}
.hero-banner-copy {
  max-width: 32rem;
  animation: fadeUp .8s var(--ease) both;
}
.hero-brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: .65rem;
  text-shadow: 0 1px 18px rgba(15, 23, 42, 0.35);
}
.hero-banner-copy h1 {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: .7rem;
}
.hero-banner-copy p {
  max-width: 36ch;
  margin-inline: auto;
  font-size: .95rem;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
}
.hero-search {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  animation: fadeUp .9s var(--ease) .12s both;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.home-search-inner {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}
.hero-search .search-grid-primary {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: end;
}
.hero-search .search-grid-primary > .field {
  flex: 1 1 7.75rem;
  min-width: 0;
  max-width: 100%;
}
.hero-search .search-grid-primary > .field:first-child {
  flex: 1.7 1 12rem;
}
.hero-search .search-grid-primary > .price-range-field {
  flex: 1.35 1 13.5rem;
}
.hero-search .search-grid-primary > .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 7.5rem;
}
.more-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: .85rem;
  font-weight: 650;
  cursor: pointer;
}
.more-filters-toggle i { width: 15px; height: 15px; }
.more-filters-toggle[aria-expanded="true"] { color: var(--ink); }
.search-grid-more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: var(--space-3);
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.search-grid-more[hidden] { display: none !important; }
.filters-more[hidden] { display: none !important; }
.filters-more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: var(--space-3);
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}

/* Search / filter panels */
.search-panel,
.filters-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: var(--space-3);
  align-items: end;
  min-width: 0;
}
.search-grid .btn,
.filters-actions .btn {
  width: auto;
  min-width: 0;
  max-width: 100%;
  grid-column: auto;
}

.field { min-width: 0; max-width: 100%; }
.field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
  margin-bottom: var(--space-1);
  line-height: var(--leading-tight);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  outline: none;
  font-size: var(--text-sm);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input,
.field select {
  height: var(--control-h);
  padding: 0 var(--space-3);
  line-height: 1.25rem;
}
.field select {
  padding-right: var(--space-8);
  appearance: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' 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: right .7rem center;
  background-size: 16px 16px;
}
.field textarea {
  min-height: 7.5rem;
  padding: var(--space-3);
  line-height: var(--leading-normal);
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.search-suggest { position: relative; }
.search-suggest .suggest-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + .3rem);
  z-index: 40;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: .35rem;
}
.suggest-head {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .45rem .65rem .25rem;
}
.suggest-item {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: .7rem;
  align-items: center;
  padding: .45rem;
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
}
.suggest-item:hover,
.suggest-item.is-active {
  background: var(--gold-soft);
}
.suggest-item img {
  width: 3.1rem;
  height: 2.4rem;
  object-fit: cover;
  border-radius: .4rem;
  background: var(--bg-subtle);
}
.suggest-item strong {
  display: block;
  font-size: .9rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}
.suggest-item span {
  display: block;
  font-size: .78rem;
  color: var(--muted);
}
.suggest-item em {
  display: block;
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums lining-nums;
}
.suggest-empty {
  padding: .75rem .65rem;
  color: var(--muted);
  font-size: .88rem;
}
.home-search { position: relative; z-index: 8; }

/* Properties filter bar — never stretch the action button */
.filters-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  position: sticky;
  top: calc(var(--header-h) + var(--space-2));
  z-index: 20;
}
.filters-row {
  display: grid;
  gap: var(--space-3);
  align-items: end;
  min-width: 0;
}
.filters-row-main,
.filters-row-meta {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: none;
}
.filters-row-main > .field,
.filters-row-meta > .field {
  flex: 1 1 7.75rem;
  min-width: 0;
  max-width: 100%;
}
.filters-row-main > .field:first-child {
  flex: 1.7 1 12rem;
}
.filters-row-main > .price-range-field,
.filters-row-meta > .price-range-field {
  flex: 1.35 1 13.5rem;
}
.filters-row-main > .filters-actions {
  flex: 0 0 auto;
}
.price-range-field { min-width: 0; max-width: 100%; }
.price-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .3rem;
  align-items: center;
  min-width: 0;
}
.price-range input,
.price-range select {
  min-width: 0;
  width: 100%;
}
.price-range .range-sep {
  color: var(--muted);
  font-weight: 700;
  line-height: 1;
}
.filters-actions {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: var(--space-2);
  min-width: 0;
}
.filters-actions .btn {
  height: var(--control-h);
}

/* Sections */
.section { padding: clamp(3rem, 6vw, 4.75rem) 0; }
.section-tight { padding-top: 0; }
.section-alt { background: var(--bg-subtle); }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-head h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); margin-bottom: .35rem; }
.section-head p { max-width: 42ch; margin: 0; }
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.why-title {
  display: block;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  margin-bottom: .65rem;
}

/* Property grid — light interactive tiles */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.property-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.property-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.property-card.is-active-pin {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}
.property-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-subtle-2);
  display: block;
}
.property-media-wrap { position: relative; }
.property-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.property-card:hover .property-media img { transform: scale(1.04); }
.save-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  background: rgba(255,255,255,.95);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.save-btn i, .save-btn svg, .save-btn .save-heart { width: 22px; height: 22px; display: block; fill: currentColor; }
.save-btn .save-heart path { fill: currentColor; }
.save-btn.is-saved { color: #c0392b; }
.save-btn-card {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 3;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  padding: 0;
}
.save-btn-card span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.save-btn-detail {
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}
.save-btn-detail span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.save-btn-detail .save-heart { width: 26px; height: 26px; }
.save-btn:hover { background: #fff; }
.account-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  font-size: .8rem;
  font-weight: 700;
}
.account-nav a {
  color: var(--muted);
  padding: .28rem .5rem;
  border-radius: .4rem;
  white-space: nowrap;
}
.account-nav a:hover, .account-nav a.is-active { color: var(--ink); }
.account-nav-register { color: var(--navy) !important; }
.auth-page { max-width: 28rem; margin: 0 auto; }
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.45rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.auth-card h1 { margin-bottom: .35rem; }
.auth-card .form-grid { margin-top: 1rem; }
.phone-combo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .45rem;
  align-items: stretch;
}
.dial-pick { position: relative; }
.dial-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 100%;
  min-height: 2.55rem;
  padding: 0 .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.dial-btn:hover, .dial-pick.is-open .dial-btn { border-color: var(--navy); }
.dial-flag, .dial-opt img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}
.dial-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  min-width: min(22rem, 78vw);
  max-height: 16rem;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: .25rem;
}
.dial-opt {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  padding: .45rem .5rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  border-radius: .35rem;
}
.dial-opt:hover, .dial-opt.is-active { background: var(--bg-subtle); }
.dial-opt-name { flex: 1; min-width: 0; }
.dial-opt-code { color: var(--muted); font-weight: 700; }
.property-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.property-card:hover .property-media img { transform: scale(1.04); }
.badge-row {
  position: absolute; left: .7rem; top: .7rem;
  display: flex; gap: .35rem; flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center;
  padding: .28rem .6rem;
  border-radius: var(--radius-sm);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .01em;
  background: var(--bg-subtle-2);
  color: var(--ink-soft);
}
.badge-sale { background: var(--gold); color: var(--navy); }
.badge-rent { background: var(--navy); color: #fff; }
.badge-both { background: var(--gold-soft); color: var(--navy); border: 1px solid var(--gold); }
.badge-featured { background: var(--navy); color: #fff; }
.badge-available { background: var(--success); color: #fff; }
.property-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex; flex-direction: column; gap: .3rem; flex: 1;
}
.property-price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--gold);
  letter-spacing: 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums lining-nums;
}
.property-price.is-split {
  display: flex;
  flex-direction: column;
  gap: .12rem;
}
.property-price .price-line { display: block; }
.property-price .price-line small {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .2rem;
}
.property-title { font-size: 1.02rem; margin: 0; font-weight: 600; color: var(--ink); }
.property-title a:hover { color: var(--accent); }
.property-meta {
  display: flex; flex-wrap: wrap; gap: .55rem;
  color: var(--muted); font-size: .88rem;
}
.property-meta span { display: inline-flex; align-items: center; gap: .28rem; }
.property-meta i, .property-meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.property-loc {
  font-size: .88rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: .35rem;
}

/* Split / services */
.split {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: 2.75rem;
  align-items: center;
}
.split-visual {
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-subtle-2);
  box-shadow: var(--shadow-sm);
}
.split-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.service-list { display: grid; gap: .5rem; margin-top: 1.2rem; }
.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  align-items: start;
  padding: .9rem .9rem;
  border-radius: var(--radius);
  transition: background .2s var(--ease);
}
.service-item:hover { background: var(--bg-subtle); }
.service-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.service-icon i, .service-icon svg { width: 20px; height: 20px; }
.service-item h3 { font-size: 1rem; margin-bottom: .15rem; }
.service-item p { margin: 0; font-size: .92rem; }

/* Feature points — no heavy cards */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: .5rem;
}
.feature-point h3 {
  font-size: 1.02rem;
  margin: .65rem 0 .35rem;
}
.feature-point p { margin: 0; font-size: .93rem; }
.feature-point .service-icon { margin-bottom: .15rem; }

/* Map */
.map-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-subtle-2);
  min-height: 420px;
}
#properties-map, #property-map, #contact-map { width: 100%; height: 100%; min-height: 420px; }
.map-note { margin-top: .7rem; font-size: .88rem; color: var(--muted); }

/* Inner pages */
.page-hero {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); }
.page-hero p { max-width: 48ch; }
.page-hero .back-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600; font-size: .9rem; color: var(--accent); margin-bottom: .85rem;
}
.layout-map {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.15rem;
  align-items: start;
}
.layout-map .map-shell {
  position: sticky;
  top: calc(var(--header-h) + 100px);
  min-height: 560px;
}

html:has(.page-properties) {
  height: 100dvh;
  overflow: hidden;
}
.page-properties {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.page-properties .site-header { flex-shrink: 0; }
.page-properties .site-footer { display: none; }
.page-properties #main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.properties-filters {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  position: relative;
  top: auto;
  z-index: 25;
  padding: .85rem 1.25rem .95rem;
  background: #fff;
  flex-shrink: 0;
}
.properties-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 1.15fr);
  gap: 0 1.25rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: .75rem 0 0 1.25rem;
  align-items: stretch;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}
.properties-list-col {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: auto;
  padding: .15rem 0 1.5rem;
}
.properties-map-col {
  min-width: 0;
  min-height: 0;
  position: relative;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.properties-map-shell {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  border-radius: var(--radius-lg) 0 0 0;
  border-right: 0;
  border-bottom: 0;
}
.properties-map-shell #properties-map {
  min-height: 0;
  height: 100%;
}
.properties-map-shell .map-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: .45rem .75rem;
  background: rgba(255,255,255,.92);
  border-top: 1px solid var(--line);
  font-size: .78rem;
}
.map-expand-btn {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 2.2rem;
  padding: 0 .8rem;
  border: 0;
  border-radius: .45rem;
  background: rgba(255,255,255,.95);
  color: var(--navy);
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.map-expand-btn i, .map-expand-btn svg { width: 15px; height: 15px; }
.map-expand-btn:hover { background: #fff; }
.properties-workspace.is-expand {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  grid-template-columns: 40% 60%;
}
.properties-workspace.is-expand .properties-list-col {
  padding: .85rem 1.1rem 1.5rem;
  background: var(--bg);
}
.properties-workspace.is-expand .properties-map-shell,
.properties-workspace.is-expand .properties-map-shell #properties-map {
  height: 100%;
  min-height: 0;
  border-radius: 0;
}
.properties-workspace.is-expand .map-note { display: none; }
.properties-workspace .properties-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.results-meta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  height: var(--control-h-sm);
}
.view-toggle button {
  border: 0;
  background: transparent;
  padding: 0 var(--space-3);
  height: 100%;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1;
}
.view-toggle button.is-active {
  background: var(--ink);
  color: #fff;
}

/* Detail */
.gallery-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 4px;
  height: min(380px, 52vh);
  margin-bottom: 1.35rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  position: relative;
}
.gallery-mosaic.is-single { grid-template-columns: 1fr; }
.gallery-mosaic.is-duo {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.gallery-mosaic.is-duo .gallery-mosaic-thumbs {
  grid-template-rows: 1fr;
}
.gallery-mosaic-main,
.gallery-tile {
  position: relative;
  overflow: hidden;
  background: var(--bg-subtle-2);
  min-height: 0;
}
.gallery-mosaic-main > .gallery-tile {
  position: absolute;
  inset: 0;
  height: auto;
}
.gallery-mosaic-main #property-map,
.gallery-mosaic-main img,
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-orientation: from-image;
}
.property-card img,
.lightbox img {
  image-orientation: from-image;
}
.gallery-mosaic-main #property-map { min-height: 0; height: 100%; }
.gallery-mosaic-thumbs {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  min-height: 0;
}
.gallery-tile {
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.gallery-tile:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, .48);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
}
.gallery-nav i, .gallery-nav svg { width: 20px; height: 20px; }
.gallery-nav:hover { background: rgba(15, 23, 42, .7); }
.gallery-nav-prev { left: .75rem; }
.gallery-nav-next { right: .75rem; }
.gallery-more-btn {
  position: absolute;
  right: 3.4rem;
  bottom: .75rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 2.2rem;
  padding: 0 .8rem;
  border: 0;
  border-radius: .45rem;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.gallery-more-btn i, .gallery-more-btn svg { width: 15px; height: 15px; }
.gallery-more-btn:hover { background: rgba(15, 23, 42, .88); }
.gallery-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .55);
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
}
.gallery-badge {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  z-index: 2;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 15, 25, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  object-fit: contain;
  border-radius: .4rem;
}
.lightbox-btn {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-btn i, .lightbox-btn svg { width: 20px; height: 20px; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-top: .65rem;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
  margin-bottom: 1.5rem;
}
.gallery.has-side {
  grid-template-columns: 2fr 1fr;
}
.gallery-main, .gallery-side img, .gallery-main img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.gallery-main { min-height: 420px; overflow: hidden; background: var(--bg-subtle-2); position: relative; }
.gallery-side { display: grid; gap: .65rem; }
.gallery-side img { min-height: 130px; height: 100%; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1.5rem;
  align-items: start;
}
.spec-row {
  display: flex; flex-wrap: wrap; gap: .55rem;
  margin: 1rem 0 1.4rem;
}
.spec-chip {
  padding: .55rem .8rem;
  border-radius: var(--radius);
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: .35rem;
}
.spec-chip i { width: 16px; height: 16px; color: var(--accent); }
.amenity-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .4rem;
}
.amenity-cloud span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .86rem;
  font-weight: 600;
}
.amenity-cloud i { width: 14px; height: 14px; flex-shrink: 0; }
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f172a;
  border: 1px solid var(--line);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: .75rem;
  margin: 1.25rem 0 0;
}
.project-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
}
.project-stat strong { display: block; font-size: 1.15rem; color: var(--ink); }
.project-stat span { font-size: .8rem; color: var(--muted); }
.project-units-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}
.project-units-tabs a {
  padding: .45rem .85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-weight: 650;
  font-size: .88rem;
  color: var(--muted);
}
.project-section-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: .85rem;
  margin: 1.5rem 0 0;
}
.project-section-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.project-section-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.project-section-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--mist);
  overflow: hidden;
}
.project-section-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-section-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.28);
}
.project-section-play i {
  width: 2.4rem;
  height: 2.4rem;
  color: #fff;
  fill: #e11d48;
  stroke: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
.project-section-label {
  display: block;
  padding: .85rem .75rem;
  text-align: center;
  font-weight: 750;
  font-size: .92rem;
  line-height: 1.25;
}
.project-block {
  margin-top: 2rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .85rem;
}
.plan-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.plan-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f8fafc;
  display: block;
}
@media (max-width: 1100px) {
  .project-section-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .project-section-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .project-section-nav { grid-template-columns: 1fr; }
}
.side-panel {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.side-panel h2 { font-size: 1.2rem; }
.side-panel > p { font-size: .95rem; }

/* Forms */
.form-grid { display: grid; gap: .85rem; min-width: 0; }
.form-grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.alert {
  padding: .85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: .92rem;
}
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--accent-soft); color: var(--accent-ink); }
.empty-state {
  text-align: center;
  padding: 3rem 1.25rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}
.empty-state h3 { color: var(--ink); }
.panel-surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

/* Services page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-card {
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}
.service-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.service-card .service-icon { margin-bottom: .85rem; }
.service-card h2 { font-size: 1.25rem; }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}
.page-hero-grid > div:first-child p { margin-bottom: 0; }
.service-trust { display: grid; gap: .65rem; }
.service-trust-item {
  display: flex; align-items: center; gap: .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: .85rem 1.05rem;
  box-shadow: var(--shadow-sm);
}
.service-trust-item i { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.service-trust-item strong { display: block; font-size: .98rem; color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.service-trust-item span { display: block; font-size: .8rem; color: var(--muted); }

.service-quicknav {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: 1.5rem 0 0;
}
.service-quicknav a {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: .5rem .95rem;
  font-size: .85rem; font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  transition: border-color .15s, color .15s, background .15s;
}
.service-quicknav a i { width: 15px; height: 15px; color: var(--accent); }
.service-quicknav a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.service-detail-list { display: grid; gap: 1.1rem; }
.service-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  transition: border-color .2s, box-shadow .2s;
}
.service-detail:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.service-detail-icon-col { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.service-detail-icon {
  width: 58px; height: 58px;
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.service-detail-icon i { width: 27px; height: 27px; }
.service-detail-index { font-size: .72rem; font-weight: 700; color: var(--subtle); letter-spacing: .04em; }
.service-detail-body h2 { font-size: 1.4rem; margin-bottom: .3rem; }
.service-detail-lead { font-weight: 600; color: var(--ink-soft); font-size: 1.02rem; margin-bottom: .55rem; }
.service-detail-text { white-space: pre-wrap; color: var(--muted); line-height: 1.75; margin-bottom: 1.2rem; }
.service-detail-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

.cta-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: linear-gradient(120deg, var(--accent-soft) 0%, var(--surface) 65%);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
}
.cta-banner h2 { font-size: 1.4rem; margin-bottom: .3rem; }
.cta-banner p { margin: 0; max-width: 46ch; }

/* Footer — light, consistent with the rest of the site */
.site-footer {
  margin-top: 0;
  background: var(--navy-deep);
  border-top: 0;
  color: rgba(255,255,255,.72);
  padding: 3.25rem 0 0;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--gold); }
.site-footer p { color: rgba(255,255,255,.7); }
.site-footer .brand-mark { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p { max-width: 30ch; }
.site-footer h3 {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: .55rem; flex-wrap: wrap; }
.footer-social a {
  min-width: 40px; height: 40px;
  padding: 0 .75rem;
  border-radius: var(--radius);
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid transparent;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  transition: transform .15s ease, filter .15s ease;
}
.footer-social a:hover { transform: translateY(-1px); filter: brightness(1.08); }
.footer-social i, .footer-social .social-icon { width: 18px; height: 18px; display: block; }
.footer-social .social-wa,
.share-btn.social-wa {
  background: transparent;
  border-color: transparent;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}
.footer-social .social-wa .social-icon-img,
.share-btn.social-wa .social-icon-img {
  width: 40px;
  height: 40px;
  display: block;
}
.footer-social .social-viber,
.share-btn.social-viber {
  background: transparent;
  border-color: transparent;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}
.footer-social .social-viber .social-icon-img,
.share-btn.social-viber .social-icon-img {
  width: 40px;
  height: 40px;
  display: block;
}
.footer-social .social-line,
.share-btn.social-line {
  background: transparent;
  border-color: transparent;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}
.footer-social .social-line .social-icon-img,
.share-btn.social-line .social-icon-img {
  width: 40px;
  height: 40px;
  display: block;
}
.footer-social .social-fb,
.share-btn.social-fb {
  background: transparent;
  border-color: transparent;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}
.footer-social .social-fb .social-icon-img,
.share-btn.social-fb .social-icon-img {
  width: 40px;
  height: 40px;
  display: block;
}
.footer-social .social-ig,
.share-btn.social-ig {
  background: linear-gradient(45deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
  border-color: transparent;
  color: #fff;
}
.share-btn.social-wa:hover,
.share-btn.social-viber:hover,
.share-btn.social-line:hover,
.share-btn.social-fb:hover,
.share-btn.social-ig:hover {
  color: #fff;
  filter: brightness(1.08);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0 1.35rem;
  font-size: .86rem;
  color: rgba(255,255,255,.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .35rem 1.25rem;
}
.footer-bottom p { margin: 0; }
.footer-credit { color: rgba(255,255,255,.62); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  :root { --header-h: 4.4rem; }
  .menu-bar { display: none; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: flex; }
  .search-grid,
  .filters-row-main,
  .filters-row-meta,
  .search-grid-more,
  .filters-more {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  }
  .filters-actions { grid-column: auto; justify-content: start; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-map { grid-template-columns: 1fr; }
  .layout-map .map-shell { position: relative; top: 0; min-height: 340px; }
  html:has(.page-properties) {
    height: auto;
    overflow: auto;
  }
  .page-properties {
    height: auto;
    overflow: visible;
    display: block;
  }
  .page-properties .site-footer { display: block; }
  .page-properties #main {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .properties-filters {
    position: sticky;
    top: var(--header-h);
  }
  .properties-workspace {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    flex: none;
    padding: 1rem 1.25rem 2rem;
    gap: 1.25rem;
  }
  .properties-list-col {
    height: auto;
    overflow: visible;
    padding: 0;
  }
  .properties-map-col { position: relative; top: 0; height: auto; }
  .properties-map-shell {
    height: 52vh;
    min-height: 280px;
    flex: none;
    border-radius: var(--radius-lg);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  html:has(.page-properties.is-map-expand) {
    height: 100dvh;
    overflow: hidden;
  }
  .page-properties.is-map-expand {
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .page-properties.is-map-expand .site-footer { display: none; }
  .page-properties.is-map-expand #main {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }
  .properties-workspace.is-expand {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 60% 40%;
  }
  .properties-workspace.is-expand .properties-map-col { order: -1; height: 100%; }
  .properties-workspace.is-expand .properties-list-col {
    height: 100%;
    overflow: auto;
  }
  .detail-grid, .split, .gallery.has-side, .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row { gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .service-trust { grid-template-columns: repeat(3, 1fr); display: grid; }
  .hero-banner-inner { width: min(calc(100% - 2rem), 48rem); }
  .hero-search .search-grid-primary > .field:first-child,
  .hero-search .search-grid-primary > .price-range-field,
  .hero-search .search-grid-primary > .btn {
    flex: 1 1 100%;
  }
  .filters-row-main > .field:first-child,
  .filters-row-main > .price-range-field,
  .filters-row-main > .filters-actions {
    flex: 1 1 100%;
  }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 1.35rem, 1120px); --header-h: 4rem; }
  .menu-bar { display: none; }
  .nav { display: none; }
  .account-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: flex; }
  .filters-bar { position: static; }
  .filters-actions { grid-column: 1 / -1; }
  .form-grid.two, .split, .services-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr 1fr; gap: 1rem .85rem; }
  .side-panel { position: static; }
  .split-visual,
  .split-visual img { min-height: 280px; }
  .hero-banner {
    min-height: auto;
    padding: calc(var(--header-h) + 1.5rem) 0 1.5rem;
  }
  .hero-banner-image {
    min-height: 0;
    padding: 0;
    height: auto;
  }
  .hero-banner-inner { width: min(100%, 36rem); }
  .hero-brand { font-size: clamp(1.45rem, 7vw, 1.95rem); }
  .hero-banner-copy h1 { font-size: 1.05rem; }
  .hero-banner-copy p { font-size: .9rem; }
  .hero-search { padding: .75rem; }
  .hero-search .search-grid-primary {
    gap: .55rem;
  }
  .hero-search .search-grid-primary > .field:first-child,
  .hero-search .search-grid-primary > .price-range-field,
  .hero-search .search-grid-primary > .btn {
    flex: 1 1 100%;
  }
  .hero-search .field label { font-size: .68rem; margin-bottom: .2rem; }
  .hero-search .field input,
  .hero-search .field select {
    height: 2.15rem;
    font-size: .85rem;
    padding: 0 .55rem;
  }
  .hero-search .btn { height: 2.15rem; font-size: .85rem; }
  .search-grid-more,
  .filters-more {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
    gap: .55rem;
  }
  .more-filters-toggle { font-size: .8rem; margin-top: .55rem; }
  .properties-workspace .properties-grid { grid-template-columns: 1fr; }
  .hero-search .search-grid { grid-template-columns: 1fr; }
  .service-trust { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail-icon-col { flex-direction: row; justify-content: flex-start; gap: .75rem; }
  .cta-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .cta-banner .btn { width: 100%; }
}

@media (max-width: 560px) {
  .property-grid { grid-template-columns: 1fr; }
  .search-grid,
  .search-grid-more,
  .filters-more,
  .form-grid.two { grid-template-columns: 1fr; }
  .hero-search .search-grid-primary > .field,
  .hero-search .search-grid-primary > .btn,
  .filters-row-main > .field,
  .filters-row-main > .filters-actions,
  .filters-row-meta > .field {
    flex: 1 1 100%;
  }
  .search-grid .btn,
  .filters-actions .btn { width: 100%; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery, .gallery-side { grid-template-columns: 1fr; }
  .gallery-main { min-height: 240px; }
  .hero-search { padding: var(--space-3); }
  .feature-row { grid-template-columns: 1fr 1fr; gap: .75rem .55rem; }
  .feature-point h3 { font-size: .78rem; margin: .35rem 0 .2rem; }
  .feature-point p { font-size: .72rem; line-height: 1.4; }
  .feature-point .service-icon { width: 28px; height: 28px; }
  .feature-point .service-icon i,
  .feature-point .service-icon svg { width: 14px; height: 14px; }
  .amenity-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.property-grid-home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.property-grid-home .property-body {
  padding: .7rem .75rem .8rem;
  gap: .2rem;
}
.property-grid-home .property-title {
  font-size: .86rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.property-grid-home .property-price { font-size: .92rem; }
.property-grid-home .property-loc,
.property-grid-home .property-meta,
.property-grid-home .property-id { font-size: .72rem; }
.property-grid-home .property-meta { gap: .35rem; }
.property-grid-home .badge {
  font-size: .62rem;
  padding: .18rem .4rem;
}
.property-grid-home .badge-row { left: .45rem; top: .45rem; gap: .25rem; }

@media (max-width: 820px) {
  .property-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
  }
  .property-grid-home .property-body { padding: .45rem .45rem .55rem; }
  .property-grid-home .property-title { font-size: .72rem; }
  .property-grid-home .property-price { font-size: .78rem; }
  .property-grid-home .property-loc,
  .property-grid-home .property-meta,
  .property-grid-home .property-id { font-size: .62rem; }
  .property-grid-home .property-meta i,
  .property-grid-home .property-meta svg { width: 11px; height: 11px; }
}

@media (max-width: 560px) {
  .property-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
  }
  .property-grid-home .property-body { padding: .4rem .4rem .5rem; gap: .12rem; }
  .property-grid-home .property-title { font-size: .68rem; }
  .property-grid-home .property-price { font-size: .72rem; }
  .property-grid-home .property-loc,
  .property-grid-home .property-meta,
  .property-grid-home .property-id { font-size: .58rem; }
  .property-grid-home .property-meta { gap: .22rem .35rem; }
  .property-grid-home .property-meta i,
  .property-grid-home .property-meta svg { width: 10px; height: 10px; }
  .property-grid-home .save-btn-card { width: 1.7rem; height: 1.7rem; }
  .property-grid-home .save-btn-card .save-heart { width: 14px; height: 14px; }
  .property-grid-home .badge { font-size: .55rem; padding: .12rem .28rem; }
}

@media (min-width: 1440px) {
  :root { --container: min(1220px, calc(100% - 4rem)); }
}
@media (min-width: 1800px) {
  :root { --container: min(1340px, calc(100% - 6rem)); }
}

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

/* Prime Nest brand surfaces */
.site-header {
  background: #fff;
  border-bottom: 0;
}
.menu-bar-links a:hover, .menu-bar-links a.is-active { color: var(--navy); font-weight: 800; }
.footer-links a, .footer-links li { color: rgba(255,255,255,.78); }
.footer-links a:hover { color: var(--gold); }
.footer-brand .brand-mark { color: var(--gold); }

.brand-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.25fr;
  min-height: clamp(28rem, 68vh, 38rem);
  background: var(--bg-subtle);
  overflow: hidden;
}
.brand-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  background:
    linear-gradient(135deg, rgba(255,252,247,.92), rgba(246,241,232,.96)),
    repeating-linear-gradient(135deg, transparent, transparent 18px, rgba(197,160,89,.06) 18px, rgba(197,160,89,.06) 19px);
}
.brand-hero-logo { width: 64px; height: 64px; color: var(--gold); margin-bottom: .85rem; }
.brand-hero-copy .brand-hero-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  letter-spacing: .02em;
  text-transform: none;
  color: var(--navy);
  margin: 0 0 .4rem;
}
.brand-hero-tag {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}
.brand-hero-rule {
  width: 7.5rem;
  height: 1px;
  background: var(--gold);
  position: relative;
  margin: 0 0 1.15rem;
}
.brand-hero-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}
.brand-hero-copy h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}
.brand-hero-services {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: .78rem;
  margin: 0 0 1.4rem;
}
.brand-hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr));
  gap: .75rem;
  width: min(100%, 28rem);
}
.brand-hero-features div {
  display: grid;
  justify-items: center;
  gap: .35rem;
  color: var(--navy);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.brand-hero-features i { width: 22px; height: 22px; color: var(--gold); }
.brand-hero-media {
  position: relative;
  min-height: 22rem;
  background: center/cover no-repeat var(--hero-image, #0a2540);
}
.brand-hero-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, var(--bg-subtle), transparent);
}
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  padding: .85rem 1.25rem;
  text-align: center;
}
.contact-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.contact-strip a, .contact-strip span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #fff;
  font-size: .86rem;
  font-weight: 500;
}
.contact-strip i { width: 15px; height: 15px; color: var(--gold); }
.contact-strip-script {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.property-id {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.property-card .property-id { margin-top: .2rem; }
.property-card .property-price { order: 3; }
.property-card .property-title { order: 1; }
.property-card .property-loc { order: 2; padding-top: 0; margin-top: 0; }
.property-card .property-meta { order: 4; }
.property-card .property-id { order: 5; }

.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, auto) minmax(0, auto);
  gap: 1.25rem;
  align-items: start;
  margin: 1.1rem 0 1.25rem;
}
.detail-top h1 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); margin-bottom: .35rem; }
.detail-loc { display: flex; gap: .4rem; align-items: start; margin: 0; color: var(--muted); }
.detail-loc i { width: 16px; height: 16px; color: var(--gold); margin-top: .15rem; flex-shrink: 0; }
.detail-price-block { text-align: right; }
.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
}
.detail-price-block .property-price { font-size: 1.7rem; margin: 0; }
.detail-meta-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  min-width: 0;
  max-width: 100%;
}
.detail-meta-box strong { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.detail-meta-box span { display: block; color: var(--navy); font-weight: 700; margin: .15rem 0 .55rem; }
.detail-meta-box span:last-child { margin-bottom: 0; }

.spec-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
  gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: .85rem .6rem;
  margin-bottom: 1.5rem;
}
.spec-bar div { text-align: center; padding: .35rem .4rem; }
.spec-bar i { width: 18px; height: 18px; color: var(--gold); display: block; margin: 0 auto .3rem; }
.spec-bar strong { display: block; font-size: .92rem; color: var(--navy); }
.spec-bar span { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.facts-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem;
}
.facts-card h2 { font-size: 1.05rem; margin-bottom: .85rem; }
.facts-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.facts-list li {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.facts-list li:last-child { border-bottom: 0; }
.facts-list span { color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.facts-list strong { color: var(--navy); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.agent-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.3rem;
}
.agent-card h2, .agent-card p { color: #fff; }
.agent-card p { opacity: .82; }
.agent-card .btn-gold { margin-top: .35rem; }
.agent-card a.agent-line { color: #fff; display: flex; gap: .5rem; align-items: center; margin: .35rem 0; }
.agent-card a.agent-line i { width: 16px; height: 16px; color: var(--gold); }

.gallery { position: relative; }
.gallery-badge {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  z-index: 2;
}

@media (max-width: 1100px) {
  .brand-hero { grid-template-columns: 1fr; min-height: 0; }
  .brand-hero-media { min-height: 18rem; }
  .brand-hero-media::before { display: none; }
  .spec-bar, .facts-grid, .detail-top { grid-template-columns: 1fr 1fr; }
  .detail-price-block { text-align: left; }
  .gallery-mosaic {
    grid-template-columns: 1fr;
    height: auto;
  }
  .gallery-mosaic.is-duo { grid-template-columns: 1fr; }
  .gallery-mosaic-main { height: 220px; }
  .gallery-mosaic-thumbs {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px;
  }
  .gallery-mosaic.is-duo .gallery-mosaic-thumbs { grid-template-columns: 1fr; grid-template-rows: 140px; }
}
@media (max-width: 820px) {
  .brand-hero-features { grid-template-columns: repeat(2, 1fr); }
  .spec-bar, .facts-grid, .detail-top { grid-template-columns: 1fr; }
  .contact-strip { justify-content: center; text-align: center; }
}

body.has-country-gate {
  overflow: hidden;
}
.country-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(10, 37, 64, .72);
  backdrop-filter: blur(10px);
}
.country-gate-card {
  width: min(40rem, 100%);
  background: #fff;
  border-radius: 1.15rem;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 60px rgba(10, 37, 64, .28);
  text-align: center;
}
.country-gate-card h1 { margin: .25rem 0 .55rem; }
.country-gate-card > p { color: var(--muted); margin: 0 0 1.35rem; }
.country-gate-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.country-gate-choice {
  display: grid;
  gap: .4rem;
  padding: 1.15rem 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  text-align: left;
  color: inherit;
  background: var(--bg-subtle, #f7f9fb);
}
.country-gate-choice:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(10, 37, 64, .08);
}
.country-gate-choice strong { font-size: 1.15rem; }
.country-gate-choice span { font-size: .86rem; color: var(--muted); }
.country-switch { margin-right: .15rem; }
.detail-gallery-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  position: relative;
  z-index: 6;
}
.share-menu { position: relative; }
.share-menu > summary {
  list-style: none;
  cursor: pointer;
}
.share-menu > summary::-webkit-details-marker { display: none; }
.share-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + .4rem);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.share-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}
.share-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .15rem;
}
.share-btn {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: .55rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold); }
.share-btn i, .share-btn svg, .share-btn .social-icon { width: 15px; height: 15px; display: block; }
.footer-social svg, .footer-social .social-icon { width: 18px; height: 18px; display: block; }
.contact-reach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
  color: var(--ink);
}
.contact-reach-list a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-reach-list a:hover { color: var(--gold); }
.related-block { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .country-gate-choices { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .skip-link, .share-bar, .detail-actions, .detail-gallery-tools,
  .side-panel, .agent-card, .gallery-nav, .gallery-more-btn, .related-block, .lightbox {
    display: none !important;
  }
  .gallery-mosaic {
    break-inside: avoid;
    height: 52mm;
    max-height: 52mm;
    overflow: hidden;
    margin-bottom: 8mm;
  }
  .detail-top, .detail-grid, .facts, h1 {
    position: relative;
    z-index: 1;
    background: #fff;
    break-inside: avoid;
  }
  img { max-width: 100%; }
}
