/* =========================================================
   VIGOR PROPERTIES SDN BHD — Design System
   ========================================================= */

:root {
  --orange: #FF6B1A;
  --orange-dark: #E55A0F;
  --orange-soft: #FFF1E7;
  --dark: #1A1A1A;
  --dark-2: #2A2A2A;
  --grey-900: #111827;
  --grey-700: #374151;
  --grey-500: #6B7280;
  --grey-300: #D1D5DB;
  --grey-200: #E5E7EB;
  --grey-100: #F3F4F6;
  --grey-50: #F8F9FA;
  --white: #FFFFFF;
  --success: #10B981;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1280px;
  --header-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Guard against any stray right-side horizontal overflow on mobile.
   `clip` (not `hidden`) doesn't create a scroll container, so sticky
   headers and the insights carousel's own x-scroll keep working. */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,h5,h6 { color: var(--grey-900); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: 1.25rem; }
p { color: var(--grey-700); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--dark); color: #d4d4d4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-grey { background: var(--grey-50); }

/* ---------- Top Utility Bar ---------- */
.topbar {
  background: var(--dark);
  color: #cfcfcf;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar a { color: #cfcfcf; }
.topbar a:hover { color: var(--orange); }
.topbar .left, .topbar .right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar .sep { opacity: .35; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--grey-200);
  z-index: 50;
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img { height: 46px; width: auto; }
.logo .brand-text { display: none; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  font-weight: 500;
  color: var(--grey-700);
  border-radius: 8px;
  position: relative;
}
.main-nav a:hover { color: var(--orange); background: var(--orange-soft); }
.main-nav a.active { color: var(--orange); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--orange);
  border-radius: 2px;
}
.nav-item { position: relative; }
.nav-item .dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
}
.nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item .dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--grey-700);
}
.nav-item .dropdown a:hover { background: var(--grey-50); color: var(--orange); }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.wa-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #25D366; color: #fff;
  flex-shrink: 0;
}
.wa-icon:hover { background: #1ebe57; }
.wa-icon svg { width: 22px; height: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,26,.35); }
.btn-outline { background: transparent; border-color: var(--grey-300); color: var(--grey-900); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { color: var(--grey-700); padding: 8px 12px; }
.btn-ghost:hover { color: var(--orange); }
.btn-lg { padding: 14px 26px; font-size: 15px; }

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  width: 42px; height: 42px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.mobile-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #fff;
  padding: 80px 0 100px;
}
.hero h1 { color: #fff; max-width: 820px; }
.hero .sub {
  color: #f0f0f0;
  font-size: 18px;
  margin-top: 14px;
  max-width: 680px;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,26,.18);
  border: 1px solid rgba(255,107,26,.4);
  color: #ffd5bb;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.search-card {
  margin-top: 36px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 920px;
}
.search-tabs {
  display: flex;
  gap: 0;
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
}
.search-tabs button,
.search-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 16px 26px;
  font-weight: 600;
  color: var(--grey-500);
  cursor: pointer;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.search-tabs button.active,
.search-tabs a.active {
  color: var(--orange);
  background: #fff;
  border-bottom-color: var(--orange);
}
.search-body { padding: 22px; }
.search-row {
  display: grid;
  grid-template-columns: 1fr 180px 180px 140px;
  gap: 12px;
}
.search-input { position: relative; display: flex; align-items: center; }
.search-input .search-icon {
  position: absolute;
  left: 14px;
  width: 18px; height: 18px;
  color: var(--grey-500);
  pointer-events: none;
}
.search-input input { width: 100%; padding-left: 42px !important; }
.search-input:focus-within .search-icon { color: var(--orange); }
.search-row input, .search-row select {
  height: 48px;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  color: var(--grey-900);
  font-size: 14px;
}
.search-row input:focus, .search-row select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,26,.15);
}
.search-row .btn { height: 48px; justify-content: center; }
.search-quick {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--grey-500);
  font-size: 13px;
}
.search-quick a {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--grey-700);
}
.search-quick a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  margin-top: -56px;
  position: relative;
  z-index: 5;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  box-shadow: var(--shadow-md);
}
.stat-item { text-align: center; padding: 8px; }
.stat-item .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-item .lbl {
  margin-top: 8px;
  font-size: 13px;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}

/* ---------- Section header ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { max-width: 600px; }
.section-head .lead { margin-top: 8px; color: var(--grey-500); max-width: 600px; }
.section-head .right-cta a {
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Property card (IQI-style) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.property-card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.property-card .media {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--grey-100);
}
.property-card .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.property-card:hover .media img { transform: scale(1.06); }
.property-card .badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex; gap: 6px;
  flex-wrap: wrap;
}
.badge-pill {
  display: inline-block;
  background: rgba(255,255,255,0.95);
  color: var(--grey-900);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  backdrop-filter: blur(4px);
}
.badge-pill.featured { background: var(--orange); color: #fff; }
.badge-pill.new { background: #10B981; color: #fff; }
.badge-pill.sale { background: var(--dark); color: #fff; }
.heart-btn {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  transition: all .2s;
  color: var(--grey-700);
}
.heart-btn:hover { background: var(--orange); color: #fff; transform: scale(1.08); }
.media .gallery-count {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: flex; gap: 5px; align-items: center;
}

.property-card .body { padding: 18px 20px 12px; flex: 1; display: flex; flex-direction: column; }
.property-card .price {
  font-size: 22px;
  font-weight: 800;
  color: var(--grey-900);
  letter-spacing: -.02em;
}
.property-card .price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-500);
  margin-left: 4px;
}
.property-card .title {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--grey-900);
  line-height: 1.3;
}
.property-card .location {
  margin-top: 4px;
  font-size: 13px;
  color: var(--grey-500);
  display: flex; gap: 6px; align-items: center;
}
.property-card .specs {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--grey-100);
  font-size: 13px;
  color: var(--grey-700);
}
.property-card .specs span {
  display: inline-flex; gap: 6px; align-items: center;
}
.property-card .specs strong { color: var(--grey-900); font-weight: 700; }
.property-card .agent {
  margin-top: auto;
  padding: 14px 20px;
  border-top: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--grey-50);
}
.property-card .agent img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.property-card .agent .a-name { font-size: 13px; font-weight: 600; color: var(--grey-900); }
.property-card .agent .a-role { font-size: 11px; color: var(--grey-500); }
.property-card .agent .contact-icon {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  color: var(--orange);
  border: 1px solid var(--grey-200);
}
.property-card .agent .contact-icon:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ---------- Location cards ---------- */
.location-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 8/5;
  display: block;
  cursor: pointer;
}
.location-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.location-card:hover img { transform: scale(1.08); }
.location-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.location-card .info {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  z-index: 2;
  color: #fff;
}
.location-card .info h3 { color: #fff; font-size: 22px; }
.location-card .info p { color: #e2e2e2; font-size: 13px; margin-top: 4px; }

/* ---------- Categories ---------- */
.cat-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 14px;
  padding: 28px 16px;
  transition: all .25s;
  cursor: pointer;
}
.cat-card:hover {
  border-color: var(--orange);
  background: var(--orange-soft);
  transform: translateY(-4px);
}
.cat-card .icon-wrap {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: #F1F3F7;
  color: var(--grey-900);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 12px;
  transition: background .2s ease, color .2s ease;
}
.cat-card:hover .icon-wrap { background: var(--grey-900); color: #fff; }
.cat-card .icon-wrap svg { width: 28px; height: 28px; stroke-linecap: round; stroke-linejoin: round; }
.cat-card .lbl { font-weight: 600; color: var(--grey-900); font-size: 14px; }
.cat-card .count { color: var(--grey-500); font-size: 12px; margin-top: 4px; }

/* ---------- Why-choose / Feature cards ---------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  transition: all .25s;
}
a.feature-card { display: block; color: inherit; }
.feature-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.feature-card .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--grey-100);
}
.feature-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.feature-card:hover .thumb img { transform: scale(1.04); }
.feature-card .body { padding: 24px 26px 28px; }
.feature-card .icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card .icon-wrap svg { width: 30px; height: 30px; }
.feature-card h3 { margin-bottom: 8px; }

/* ---------- Agent card ---------- */
.agent-card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: all .25s;
}
.agent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.agent-card .photo { aspect-ratio: 1/1; overflow: hidden; }
.agent-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-card .info { padding: 20px; }
.agent-card .info h3 { font-size: 17px; }
.agent-card .info .role { color: var(--orange); font-size: 13px; font-weight: 600; margin-top: 4px; }
.agent-card .info .stats {
  display: flex; justify-content: center; gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--grey-100);
  font-size: 12px;
  color: var(--grey-500);
}
.agent-card .info .stats strong { color: var(--grey-900); font-weight: 700; display: block; font-size: 16px; }
.agent-card .info .actions { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.agent-card .info .actions a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--grey-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-700);
}
.agent-card .info .actions a:hover { background: var(--orange); color: #fff; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.92); margin-top: 10px; font-size: 16px; }
.cta-banner .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cta-banner .btn-light { background: #fff; color: var(--orange); }
.cta-banner .btn-light:hover { background: var(--dark); color: #fff; }
.cta-banner .btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-banner .btn-outline-light:hover { background: #fff; color: var(--orange); }

/* ---------- Article card ---------- */
.article-card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all .25s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card .media { aspect-ratio: 16/10; overflow: hidden; }
.article-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .media img { transform: scale(1.05); }
.article-card .body { padding: 22px; }
.article-card .meta { font-size: 12px; color: var(--grey-500); display: flex; gap: 10px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.article-card .meta .tag { color: var(--orange); }
.article-card h3 { font-size: 17px; line-height: 1.4; margin-bottom: 8px; }
.article-card .read-more { color: var(--orange); font-weight: 600; font-size: 13px; display: inline-flex; gap: 5px; align-items: center; margin-top: 8px; }

/* ---------- News & Insights: swipe carousel on mobile ---------- */
.insights-dots { display: none; }
@media (max-width: 768px) {
  .insights-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -18px;            /* bleed to screen edges (container pad = 18px) */
    padding: 4px 18px;
  }
  .insights-grid::-webkit-scrollbar { display: none; }
  .insights-grid .article-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .insights-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 18px;
  }
  .insights-dots button {
    width: 7px; height: 7px;
    padding: 0; border: 0; border-radius: 50%;
    background: var(--grey-300);
    cursor: pointer;
    transition: width .25s, background .25s, border-radius .25s;
  }
  .insights-dots button.on {
    background: var(--orange);
    width: 22px;
    border-radius: 4px;
  }
}
@media (max-width: 540px) {
  .insights-grid {
    margin: 0 -16px;            /* container pad = 16px at this width */
    padding-left: 16px;
    padding-right: 16px;
  }
  .insights-grid .article-card { flex: 0 0 82%; }
}

/* ---------- App / download CTA ---------- */
.app-cta {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  color: #fff;
}
.app-cta h2 { color: #fff; }
.app-cta p { color: #cfcfcf; margin: 12px 0 22px; }
.app-cta .stores { display: flex; gap: 12px; flex-wrap: wrap; }
.app-cta .store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 18px;
  border-radius: 12px;
  color: #fff;
  transition: all .2s;
}
.app-cta .store-badge:hover { background: var(--orange); border-color: var(--orange); }
.app-cta .store-badge .small { font-size: 11px; opacity: .8; display: block; }
.app-cta .store-badge .big { font-weight: 700; font-size: 16px; }
.app-cta .preview { text-align: center; }
.app-cta .preview img { max-height: 360px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b0b0b0; padding: 64px 0 0; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand-block .logo img { height: 50px; filter: brightness(0) invert(1); }
.site-footer .brand-block p { font-size: 14px; margin: 16px 0 20px; max-width: 320px; }
.site-footer .socials { display: flex; gap: 8px; }
.site-footer .socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all .2s;
}
.site-footer .socials a:hover { background: var(--orange); }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer ul a:hover { color: var(--orange); }
.footer-contact-row { display: flex; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.footer-contact-row svg { flex-shrink: 0; color: var(--orange); margin-top: 3px; }
.footer-bottom {
  margin-top: 56px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(rgba(26,26,26,0.85), rgba(26,26,26,0.9)),
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #fff;
  padding: 80px 0 64px;
  text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero .crumbs { color: #d4d4d4; font-size: 14px; margin-top: 12px; }
.page-hero .crumbs a { color: var(--orange); }

/* ---------- Listings page ---------- */
.listings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  margin-top: 32px;
}
.filter-panel {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
}
.filter-panel h3 { font-size: 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--grey-200); display: flex; justify-content: space-between; align-items: center; }
.filter-panel h3 a { color: var(--orange); font-size: 12px; font-weight: 500; }
.filter-group { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--grey-100); }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group .lbl { display: block; font-weight: 600; color: var(--grey-900); margin-bottom: 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.filter-group .checkbox-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; font-size: 14px; }
.filter-group .checkbox-row input { accent-color: var(--orange); }
.filter-group .price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-group input[type="number"], .filter-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  font-size: 13px;
}
.btn-group {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.btn-group button {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  color: var(--grey-700);
  transition: all .15s;
}
.btn-group button.active, .btn-group button:hover {
  background: var(--orange-soft);
  border-color: var(--orange);
  color: var(--orange);
}

.listings-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 12px;
}
.listings-toolbar .results { font-size: 14px; color: var(--grey-700); }
.listings-toolbar .results strong { color: var(--grey-900); font-weight: 700; }
.listings-toolbar .right { display: flex; gap: 12px; align-items: center; }
.listings-toolbar select {
  padding: 8px 12px;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
}

/* Grid / List view toggle */
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-500);
  background: #fff;
  border: none;
  cursor: pointer;
  transition: all .15s;
}
.view-toggle button + button { border-left: 1px solid var(--grey-200); }
.view-toggle button:hover { color: var(--grey-900); background: var(--grey-50); }
.view-toggle button.active { color: #fff; background: var(--grey-900); }

/* Listings results grid — 3 across on desktop, 2 across on mobile.
   Dedicated class (NOT the shared .grid-3) so the home page is unaffected. */
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .listings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .listings-grid .property-card .body  { padding: 12px 12px 8px; }
  .listings-grid .property-card .price { font-size: 16px; }
  .listings-grid .property-card .title { font-size: 14px; }
  .listings-grid .property-card .specs { gap: 8px; font-size: 11px; flex-wrap: wrap; }
}

/* Compact address line on the listings page (grid + list views) so long
   street addresses don't dominate the card. */
.listings-grid .property-card .title,
.listings-list .property-card .title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 4px;
}
.listings-grid .property-card .location,
.listings-list .property-card .location {
  font-size: 12px;
  margin-top: 3px;
}

/* List view: horizontal cards (image left, body + agent stacked on the right) */
.listings-list { display: flex; flex-direction: column; gap: 16px; }
.listings-list .property-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: 1fr auto;
  /* Fixed, uniform height for every list card regardless of the photo. */
  height: 200px;
}
.listings-list .property-card:hover { transform: none; }
/* Explicit placement for all three children — no reliance on auto-placement,
   which can render inconsistently across browsers. */
.listings-list .property-card .media {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: auto;
  /* Fill the fixed card height; the image crops to cover, so any aspect
     ratio (portrait / landscape / square) renders as a clean thumbnail. */
  height: 100%;
  min-height: 0;
}
.listings-list .property-card .media img { width: 100%; height: 100%; object-fit: cover; }
/* Compact body + agent so the row stays short; clamp the address so a long
   one wraps at most 2 lines and never pushes past the fixed height. */
.listings-list .property-card .body  { grid-column: 2; grid-row: 1; padding: 12px 18px 8px; overflow: hidden; }
.listings-list .property-card .agent { grid-column: 2; grid-row: 2; padding: 10px 18px; }
.listings-list .property-card .specs { margin-top: 10px; padding-top: 10px; }
.listings-list .property-card .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Mobile list view: stay horizontal but compact (small thumbnail left, info right)
   so a "list" reads differently from the 2-up grid. */
@media (max-width: 768px) {
  .listings-list .property-card {
    grid-template-columns: 120px 1fr;
    grid-template-rows: 1fr auto;
    height: auto;
  }
  .listings-list .property-card .media { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; height: 100%; min-height: 0; }
  .listings-list .property-card .body  { grid-column: 2; grid-row: 1; padding: 12px 14px 6px; }
  .listings-list .property-card .agent { grid-column: 2; grid-row: 2; padding: 10px 14px; }
  .listings-list .property-card .specs { gap: 8px; font-size: 11.5px; flex-wrap: wrap; }
  .view-toggle button span { display: none; }
}
@media (max-width: 420px) {
  .listings-list .property-card { grid-template-columns: 96px 1fr; }
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--grey-700);
  background: #fff;
}
.pagination a:hover, .pagination .active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-grid img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story-grid .text .eyebrow { color: var(--orange); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; display: block; }
.story-grid .text h2 { margin-bottom: 18px; }
.story-grid .text p { margin-bottom: 14px; }

.value-card {
  text-align: center;
  padding: 36px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
}
.value-card .icon-wrap {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.value-card .icon-wrap svg { width: 32px; height: 32px; }

.timeline {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 32px;
  border-left: 2px solid var(--grey-200);
  position: relative;
}
.timeline-item {
  padding-bottom: 32px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px; top: 4px;
  width: 16px; height: 16px;
  background: var(--orange);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--orange);
  border-radius: 50%;
}
.timeline-item .yr { color: var(--orange); font-weight: 700; font-size: 14px; }
.timeline-item h3 { margin-top: 4px; margin-bottom: 6px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form h2 { margin-bottom: 8px; }
.contact-form p.sub { margin-bottom: 24px; color: var(--grey-500); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--grey-900); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,26,.15);
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 24px;
  display: flex; gap: 16px;
  align-items: flex-start;
}
.contact-info-card .icon-wrap {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-card h3 { font-size: 15px; margin-bottom: 6px; }
.contact-info-card p { font-size: 14px; color: var(--grey-500); }

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--grey-100);
}

.faq-item {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--grey-900);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--orange);
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .a { padding: 0 22px 20px; color: var(--grey-700); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .listings-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .story-grid, .grid-2, .contact-grid, .app-cta, .cta-banner { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .search-row { grid-template-columns: 1fr 1fr; }

  /* Filter panel becomes a collapsible block at tablet/phone */
  .filter-toggle { display: flex; }
  .filter-panel { display: none; margin-bottom: 18px; }
  .filter-panel.open { display: block; }
}
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .main-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .cat-row { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 480px; padding: 48px 0 64px; }
  .section { padding: 48px 0; }
  .section-tight { padding: 32px 0; }
  .cta-banner { padding: 32px 22px; text-align: center; }
  .cta-banner .actions { justify-content: center; flex-wrap: wrap; }
  .app-cta { padding: 28px 20px; }

  /* Page hero (listings / article header) */
  .page-hero { padding: 40px 0 28px; }
  .page-hero h1 { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Search card */
  .search-body { padding: 16px; }
  .search-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  /* Grid items default to min-width:auto; native <select> then refuses to shrink
     below its content width (worst on iOS Safari) and overflows the card, which
     clips it (overflow:hidden). Forcing them to fit the cell stops that. */
  .search-row input, .search-row select { width: 100%; min-width: 0; }
  .search-tabs button, .search-tabs a { padding: 14px 18px; font-size: 13px; }
  .search-quick { font-size: 12px; gap: 6px 8px; }
  .search-quick a { padding: 5px 10px; }

  /* Listings toolbar — let sort + results stack neatly */
  .listings-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .listings-toolbar .right { width: 100%; }
  .listings-toolbar select { width: 100%; }

  /* Property card — keep specs readable */
  .property-card .specs { gap: 12px; font-size: 12.5px; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom .legal { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  /* "Property Buying Made Effortless" — keep a 3 × 2 grid on mobile */
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .feature-grid .feature-card { border-radius: 12px; }
  .feature-grid .feature-card .body { padding: 12px 10px 14px; }
  .feature-grid .feature-card h3 { font-size: 13px; margin-bottom: 5px; line-height: 1.25; }
  .feature-grid .feature-card .body p { font-size: 11px; line-height: 1.45; }
  /* "Find What Suits Your Lifestyle" — keep a 3 × 2 grid on mobile */
  .cat-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-card { padding: 16px 8px; border-radius: 12px; }
  .cat-card .icon-wrap { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 8px; }
  .cat-card .icon-wrap svg { width: 22px; height: 22px; }
  .cat-card .lbl { font-size: 12px; line-height: 1.25; }
  .cat-card .count { font-size: 10.5px; margin-top: 3px; }
  /* Footer — 4-column link grid on mobile (brand spans full width) */
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 20px 8px; }
  .footer-grid .brand-block { grid-column: 1 / -1; }
  .site-footer { padding-top: 44px; }
  .site-footer h4 { margin-bottom: 10px; font-size: 9.5px; letter-spacing: .03em; }
  .site-footer ul li { margin-bottom: 6px; font-size: 10.5px; line-height: 1.35; }
  .site-footer .brand-block p { font-size: 12.5px; }
  .footer-contact-row { font-size: 12.5px; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 18px; gap: 10px; }
  .stat-item .num { font-size: 24px; }
  .stat-item .lbl { font-size: 11px; }
  .form-row { grid-template-columns: 1fr; }

  /* Hero text */
  .hero { min-height: 420px; padding: 40px 0 56px; }
  .hero .sub { font-size: 15px; margin-top: 10px; }
  .hero .badge { font-size: 11.5px; padding: 5px 11px; margin-bottom: 14px; }

  /* Search card: input on its own row, selects share a row, button full-width */
  .search-card { margin-top: 20px; border-radius: 14px; }
  .search-body { padding: 14px; }
  .search-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .search-row .search-input,
  .search-row > button[type="submit"] {
    grid-column: 1 / -1;
  }
  /* Keep the type/price selects inside their half-width cell (no overflow/clip). */
  .search-row input, .search-row select { width: 100%; min-width: 0; }
  .search-row input, .search-row select, .search-row .btn { height: 46px; }
  .search-row .btn { width: 100%; }
  .search-tabs button, .search-tabs a { padding: 12px 12px; font-size: 12.5px; flex: 1; }
  .search-quick { margin-top: 12px; }

  /* Section heads */
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head .btn { align-self: stretch; justify-content: center; }
  .section { padding: 40px 0; }

  /* Property card image height */
  .property-card .media { aspect-ratio: 16 / 11; }
  .property-card .price { font-size: 17px; }

  /* Article body padding */
  .article-hero { padding: 28px 0 18px; }
  .article-body { padding: 28px 0 40px; }
  .article-body p, .article-body li { font-size: 15.5px; }

  /* CTA banner */
  .cta-banner h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .cta-banner .actions .btn { width: 100%; }

  /* Forms — 16px stops iOS Safari auto-zoom; bump touch targets */
  input, select, textarea, .btn { font-size: 16px; }
  .btn { min-height: 44px; }
}
@media (max-width: 380px) {
  h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero h1 { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }
  .stats-strip { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: 1fr; }
  .search-tabs button, .search-tabs a { padding: 11px 8px; font-size: 12px; }
}

/* ---------- Google Reviews (Google-style cards) ---------- */
.g-rating-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.g-rating-num {
  font-size: 28px;
  font-weight: 700;
  color: #202124;
  line-height: 1;
  font-family: 'Roboto', 'Figtree', system-ui, sans-serif;
}
.g-stars { display: inline-flex; gap: 2px; }
.g-stars .g-star { width: 22px; height: 22px; fill: #DADCE0; }
.g-stars-sm { display: inline-flex; gap: 1px; }
.g-stars-sm .g-star { width: 14px; height: 14px; fill: #DADCE0; }
.g-star.full { fill: #FBBC04; }
.g-rating-meta { font-size: 14px; color: #5f6368; }
.g-rating-meta strong { color: #202124; font-weight: 600; }

.g-review-grid { margin-top: 32px; gap: 16px; }
.g-review-card {
  background: #fff;
  border: 1px solid #DADCE0;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Roboto', 'Figtree', system-ui, sans-serif;
  transition: box-shadow .2s ease;
}
.g-review-card:hover {
  box-shadow: 0 1px 3px rgba(60,64,67,.15), 0 4px 8px rgba(60,64,67,.08);
}
.g-review-head { display: flex; align-items: center; gap: 12px; }
.g-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: #1A73E8;
}
.g-avatar-initial {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0;
}
.g-author { min-width: 0; flex: 1; }
.g-author-name {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  line-height: 1.3;
}
.g-author-meta {
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.g-when { font-size: 12px; color: #70757a; }
.g-review-body {
  font-size: 14px;
  line-height: 1.55;
  color: #3c4043;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-review-foot {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #70757a;
  margin-top: auto;
  padding-top: 4px;
}
.g-review-link {
  color: #1A73E8;
  text-decoration: none;
  font-weight: 500;
}
.g-review-link:hover { text-decoration: underline; }
.g-mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: conic-gradient(from -45deg, #EA4335 0 25%, #FBBC04 0 50%, #34A853 0 75%, #4285F4 0);
  position: relative;
}
.g-mark::after {
  content: '';
  position: absolute; inset: 3px;
  background: #fff;
  border-radius: 50%;
}
.g-mark .g-b {
  position: relative; z-index: 1;
  font-size: 11px; font-weight: 700;
  color: #4285F4;
  font-family: 'Roboto', system-ui, sans-serif;
  line-height: 1;
}

@media (max-width: 540px) {
  .g-rating-num { font-size: 24px; }
  .g-stars .g-star { width: 18px; height: 18px; }
  .g-review-card { padding: 16px; }
  .g-review-body { -webkit-line-clamp: 8; }
}

/* Filter toggle button — hidden on desktop, shown by media query above */
.filter-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--grey-900);
  cursor: pointer;
}
.filter-toggle:hover { border-color: var(--grey-300); }
.filter-toggle svg { width: 18px; height: 18px; }

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .panel {
  position: absolute;
  top: 0; right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: #fff;
  padding: 20px 22px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -12px 0 30px rgba(0,0,0,.18);
}
.mobile-drawer .panel a {
  display: block;
  padding: 14px 2px;
  border-bottom: 1px solid var(--grey-100);
  font-weight: 500;
  color: var(--grey-900);
  font-size: 15px;
}
.mobile-drawer .panel a.active { color: var(--orange); }
.mobile-drawer .panel .close {
  background: transparent; border: none;
  font-size: 28px; line-height: 1; cursor: pointer;
  color: var(--grey-500);
  margin: 0 -6px 10px auto;
  display: flex; height: 36px; width: 36px;
  align-items: center; justify-content: center;
  border-radius: 8px;
}
.mobile-drawer .panel .close:hover { background: var(--grey-50); }
body.no-scroll { overflow: hidden; }
