:root {
  /* Neutral ink scale */
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --subtle: #94a3b8;
  --line: #e7eaf0;
  --line-strong: #d3d9e2;
  --bg: #ffffff;
  --bg-subtle: #f7f9fb;
  --bg-subtle-2: #eef2f6;
  --surface: #ffffff;
  --white: #ffffff;

  /* Single accent — sky blue */
  --accent: #0284c7;
  --accent-hover: #036ba3;
  --accent-ink: #0c4a6e;
  --accent-soft: #f0f9ff;
  --accent-soft-strong: #e0f2fe;
  --accent-line: #bae6fd;

  --sale: #b45309;
  --sale-solid: #d97706;
  --rent-solid: #0284c7;
  --success: #15803d;
  --success-soft: #f0fdf4;
  --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;    /* h-8  = 32px */
  --control-h: 2.5rem;     /* h-10 = 40px — default */
  --control-h-lg: 2.75rem; /* h-11 = 44px */

  /* 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(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.14);

  --font-display: "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --container: min(1152px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ring: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

*, *::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;
}
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.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  color: var(--ink);
}
p { margin: 0 0 1rem; color: var(--muted); }
.container { width: var(--container); 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: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(155deg, #38bdf8 0%, var(--accent) 60%, var(--accent-ink) 100%);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px; right: 7px; top: 10px; height: 9px;
  border-radius: 999px 999px 3px 3px;
  background: rgba(255,255,255,.92);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
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: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-sub {
  font-size: .68rem;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--accent);
  font-weight: 600;
}
.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-toggle {
  display: none;
  width: var(--control-h);
  height: var(--control-h);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); }
.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(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.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-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: 40rem;
  animation: fadeUp .8s var(--ease) both;
}
.hero-brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.6vw, 2.1rem);
  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: 58rem;
  animation: fadeUp .9s var(--ease) .12s both;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.hero-search .search-grid-primary {
  display: grid;
  /* Keyword needs most room; Listing/Type need ~9–10rem for labels; Search stays compact */
  grid-template-columns:
    minmax(14rem, 1.8fr)
    minmax(9.5rem, 0.9fr)
    minmax(9rem, 0.9fr)
    minmax(7.5rem, auto);
  gap: var(--space-3);
  align-items: end;
}
.hero-search .search-grid-primary .btn {
  width: 100%;
  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;
  /* Station labels are longest; beds is shortest; prices mid-width */
  grid-template-columns:
    minmax(10rem, 1fr)
    minmax(13rem, 1.35fr)
    minmax(6.5rem, 0.7fr)
    minmax(10rem, 1fr)
    minmax(8rem, 0.85fr)
    minmax(8rem, 0.85fr);
  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(3, minmax(0, 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: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)) auto;
  gap: var(--space-3);
  align-items: end;
}
.search-grid .btn,
.filters-actions .btn {
  width: auto;
  min-width: 6.5rem;
  grid-column: auto;
}

.field { min-width: 0; }
.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%;
  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;
  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;
}
.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);
}

/* 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;
}
.filters-row-main {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}
.filters-row-meta {
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
}
.filters-actions {
  display: flex;
  align-items: end;
  gap: var(--space-2);
}
.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;
}

/* 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);
}
.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(--sale-solid); color: #fff; }
.badge-rent { background: var(--rent-solid); color: #fff; }
.badge-featured { background: var(--ink); 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-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.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 { width: 14px; height: 14px; }
.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: url("https://images.unsplash.com/photo-1552465011-b4e21bf6e79a?auto=format&fit=crop&w=1400&q=80") center/cover;
  box-shadow: var(--shadow-sm);
}
.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 { 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;
}
.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 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: .65rem;
  margin-bottom: 1.5rem;
}
.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); }
.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: flex; flex-wrap: wrap; 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(4, minmax(0, 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(5, minmax(0, 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; }
.form-grid.two { grid-template-columns: 1fr 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: 1rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 3.25rem 0 1.35rem;
}
.site-footer .brand-name { color: var(--ink); }
.site-footer .brand-sub { color: var(--accent); }
.site-footer p { color: var(--muted); }
.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: .1em;
  text-transform: uppercase;
  color: var(--ink);
  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: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 600;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-social i { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: .86rem;
  color: var(--subtle);
}

/* 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) {
  .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
  .search-grid .field:first-child { grid-column: 1 / -1; }
  .filters-row-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters-row-main .field:first-child { grid-column: 1 / -1; }
  .filters-row-meta { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
  .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; }
  .detail-grid, .split, .gallery, .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 {
    grid-template-columns:
      minmax(12rem, 1.5fr)
      minmax(9rem, 1fr)
      minmax(8.5rem, 1fr)
      minmax(7rem, auto);
  }
  .search-grid-more {
    grid-template-columns: repeat(3, minmax(9rem, 1fr));
  }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 1.35rem, 1120px); --header-h: 4rem; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: flex; }
  .filters-bar { position: static; }
  .filters-row-main,
  .filters-row-meta { grid-template-columns: 1fr 1fr; }
  .filters-actions { grid-column: 1 / -1; }
  .form-grid.two, .feature-row, .split, .services-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .split-visual { min-height: 280px; }
  .hero-banner {
    min-height: auto;
    padding: calc(var(--header-h) + 1.5rem) 0 1.5rem;
  }
  .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 {
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
  }
  .hero-search .search-grid-primary .field:first-child,
  .hero-search .search-grid-primary .btn {
    grid-column: 1 / -1;
  }
  .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 { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .more-filters-toggle { font-size: .8rem; margin-top: .55rem; }
  .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,
  .filters-row-main,
  .filters-row-meta { grid-template-columns: 1fr; }
  .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); }
  .search-grid-more,
  .filters-more { grid-template-columns: 1fr; }
}

@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;
  }
}
