/* homes-bundle.css generated 20260617 UTC */

/* --- style.css --- */
/* SWMO Residential — luxury landing */
:root {
  --navy: #071526;
  --navy-mid: #0c1f35;
  --navy-light: #132d4a;
  --gold: #b8923f;
  --gold-bright: #c9a24d;
  --gold-glow: rgba(184, 146, 63, 0.28);
  --cream: #f4f0e8;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c6470;
  --text-on-dark: rgba(255, 255, 255, 0.88);
  --text-on-dark-muted: rgba(255, 255, 255, 0.62);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 4px 24px rgba(7, 21, 38, 0.06);
  --shadow-card: 0 12px 40px rgba(7, 21, 38, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease), opacity 0.2s; }
a:hover { color: var(--gold); }

.container { width: min(1140px, 90vw); margin: 0 auto; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s;
}
.site-header.is-solid {
  background: rgba(7, 21, 38, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo span { font-weight: 500; opacity: 0.85; }
.header-call {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}
.header-call:hover { color: var(--gold-bright); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.header-alerts-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn-xl { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-gold {
  background: linear-gradient(165deg, var(--gold-bright), var(--gold));
  color: var(--navy);
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--gold-glow);
  color: var(--navy);
}
.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

/* HERO */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    center / cover no-repeat
    url("/images/hero/hero-home.jpg"),
    center / cover no-repeat
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2400&q=88");
  transform: scale(1.03);
  animation: heroKen 18s ease-out forwards;
}
@keyframes heroKen {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 21, 38, 0.92) 0%,
    rgba(7, 21, 38, 0.78) 42%,
    rgba(7, 21, 38, 0.45) 100%
  );
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  animation: fadeUp 0.9s var(--ease) both;
}
.hero-inner .hero-sub {
  max-width: 32rem;
}
.hero-copy--portal .hero-search {
  display: flex;
  gap: 0.5rem;
  max-width: 36rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}
.hero-search input {
  flex: 1;
  min-height: 52px;
  border: none;
  padding: 0 1rem;
  font: inherit;
  font-size: 1rem;
  border-radius: 10px;
  color: var(--navy);
}
.hero-search input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
}
.hero-search .btn {
  border-radius: 10px;
  white-space: nowrap;
}
.hero-copy { animation: fadeUp 0.9s var(--ease) both; }
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--text-on-dark-muted);
  max-width: 28rem;
  margin: 0 0 1.75rem;
  line-height: 1.55;
}
.hero-trust-list {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  max-width: 28rem;
}
.hero-trust-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  line-height: 1.45;
}
.hero-trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-bright);
  font-weight: 700;
}
.form-reassurance {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-form-wrap { animation: fadeUp 0.9s 0.15s var(--ease) both; }
.hero-form-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}
.hero-form-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1.25rem;
}
.hero-form { display: flex; flex-direction: column; gap: 0.85rem; }
.field span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(7, 21, 38, 0.1);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.2);
}
.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
}
.consent input { margin-top: 0.2rem; accent-color: var(--gold); }
.form-error {
  display: none;
  font-size: 0.85rem;
  color: #b91c1c;
  margin: 0 0 0.5rem;
}
.form-error.visible { display: block; }
.hero-form-success { text-align: center; padding: 1.5rem 0; }
.success-mark {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-bright);
  font-size: 1.5rem;
  line-height: 56px;
}
.success-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.success-text { color: var(--text-muted); margin: 0; }

/* FEATURED HOMES */
.featured {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  background: var(--cream);
}
.featured-head { text-align: center; margin-bottom: 2.5rem; }
.featured-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.02em;
}
.featured-status {
  text-align: center;
  color: var(--text-muted);
  margin: -1.5rem 0 2rem;
  font-size: 0.9rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.featured-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 3 / 4;
  box-shadow: 0 20px 50px rgba(7, 21, 38, 0.15);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
  animation: fadeUp 0.7s var(--ease) both;
}
.featured-card:nth-child(2) { animation-delay: 0.08s; }
.featured-card:nth-child(3) { animation-delay: 0.16s; }
.featured-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 32px 64px rgba(7, 21, 38, 0.22);
}
.featured-card-link {
  display: block;
  height: 100%;
  color: var(--white);
}
.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.featured-card:hover img { transform: scale(1.06); }
.featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 38, 0.92) 0%, rgba(7, 21, 38, 0.15) 55%, transparent 100%);
  pointer-events: none;
}
.featured-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.35rem 1.35rem;
  z-index: 1;
}
.featured-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  color: var(--gold-bright);
}
.featured-city {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.featured-meta {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin: 0;
}
.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
}
.featured-note {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.featured-note a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.featured-skeleton {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, #e8e4dc 8%, #f0ece4 18%, #e8e4dc 33%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.optional { font-weight: 400; opacity: 0.7; }

/* HOMES BY PRICE — SLIDESHOWS */
.portal-search-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(7, 21, 38, 0.05);
}
.portal-search-main {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0;
}
.portal-mls-row {
  margin: 0.65rem 0 0;
  text-align: right;
}
.portal-mls-row .portal-mls-link {
  margin-left: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.75;
}
.portal-mls-row .portal-mls-link:hover {
  opacity: 1;
  color: var(--gold);
}
.portal-search-main input {
  flex: 1;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(7, 21, 38, 0.12);
  border-radius: 10px;
  font: inherit;
}
.portal-search-main input:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.portal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.portal-filter {
  flex: 1;
  min-width: 120px;
}
.portal-filter span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.portal-filter select {
  width: 100%;
  min-height: 40px;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(7, 21, 38, 0.12);
  border-radius: 8px;
  font: inherit;
  font-size: 0.88rem;
  background: var(--cream);
}
.portal-quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(7, 21, 38, 0.06);
}
.portal-quick-actions .btn-ghost {
  color: var(--navy);
  border-color: rgba(7, 21, 38, 0.15);
  background: var(--cream);
}
.portal-quick-actions .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--white);
}
.portal-mls-link {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
}
.lead-card {
  background: linear-gradient(165deg, var(--navy-mid), var(--navy));
  color: var(--white);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 10px 32px rgba(7, 21, 38, 0.2);
}
.lead-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--white);
}
.lead-card-lead {
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  margin: 0 0 0.85rem;
  line-height: 1.45;
}
.lead-card .field span {
  color: rgba(255, 255, 255, 0.7);
}
.lead-card input {
  background: rgba(255, 255, 255, 0.95);
  border: none;
}
.lead-card .consent {
  color: var(--text-on-dark-muted);
  font-size: 0.72rem;
}
.lead-card-call {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold-bright);
}
.lead-card-call:hover {
  color: var(--white);
}
.lead-card-success {
  text-align: center;
  padding: 0.5rem 0;
}
.homes-list-item-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(7, 21, 38, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
}
.homes-list-item-wrap .homes-list-item {
  border: none;
  border-radius: 0;
}
.homes-list-item-wrap:hover,
.homes-list-item-wrap:has(.homes-list-item.is-active) {
  border-color: rgba(184, 146, 63, 0.35);
  box-shadow: var(--shadow-card);
}
.homes-list-item-tour {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  border-top: 1px solid rgba(7, 21, 38, 0.08);
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: filter 0.2s;
}
.homes-list-item-tour:hover {
  filter: brightness(1.06);
}
.sticky-lead-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.65rem max(0.85rem, env(safe-area-inset-right)) calc(0.65rem + env(safe-area-inset-bottom)) max(0.85rem, env(safe-area-inset-left));
  background: rgba(7, 21, 38, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
}
.sticky-lead-bar .btn {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
}
.sticky-lead-bar .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.homes-showcase {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, var(--cream) 0%, #faf8f4 100%);
}
.homes-showcase-head {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 1.25rem;
}
.homes-showcase-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0.25rem 0 0;
}
.location-label {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  min-height: 1.25rem;
}
.location-label:empty {
  display: none;
}
.homes-showcase-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.location-finder {
  max-width: 640px;
  margin: 0 auto 1.75rem;
  text-align: center;
}
.location-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1rem;
}
.location-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.location-form input {
  flex: 1;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 12px;
  font: inherit;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(7, 21, 38, 0.08);
}
.location-form input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.location-use-gps {
  border: none;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.location-use-gps:hover { color: var(--navy); }
.location-mls-link {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}
.location-mls-link a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.location-mls-link a:hover { color: var(--navy); }
.area-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 1rem;
}
.area-search-actions .btn-ghost {
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(7, 21, 38, 0.12);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}
.area-search-actions .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.location-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.5rem;
}
.location-view-all {
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(7, 21, 38, 0.12);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}
.location-view-all:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.homes-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
  min-height: min(560px, 72vh);
  margin-top: 0.5rem;
}
.homes-map-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.homes-map-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.homes-map {
  flex: 1;
  height: min(560px, 68vh);
  min-height: 320px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e4e9ef;
  box-shadow: 0 8px 36px rgba(7, 21, 38, 0.1);
  border: 1px solid rgba(7, 21, 38, 0.06);
  z-index: 1;
}
.homes-list-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(7, 21, 38, 0.04);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.homes-list-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(7, 21, 38, 0.06);
}
.homes-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  -webkit-overflow-scrolling: touch;
}
.homes-list-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.75rem;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: background 0.2s;
}
.homes-list-item:hover,
.homes-list-item.is-active {
  background: rgba(201, 162, 77, 0.08);
}
.homes-list-item-photo-wrap {
  position: relative;
  min-height: 88px;
  overflow: hidden;
}
.homes-list-item img {
  width: 100%;
  height: 100%;
  min-height: 88px;
  object-fit: cover;
  display: block;
}
.homes-list-item-photos {
  position: absolute;
  left: 0.35rem;
  bottom: 0.35rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(15, 32, 58, 0.78);
  pointer-events: none;
}
.homes-list-item-body {
  padding: 0.65rem 0.75rem 0.65rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}
.homes-list-item-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}
.homes-list-item-address {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.homes-list-item-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.homes-list-item-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a7a3a;
}
.map-price-marker {
  background: none;
  border: none;
}
.map-price-label {
  display: inline-block;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(7, 21, 38, 0.35);
  border: 2px solid var(--white);
  line-height: 1.2;
}
.map-price-marker.is-active .map-price-label {
  background: var(--gold);
  color: var(--navy);
  z-index: 1000;
}
.homes-map:focus {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.map-marker { background: none; border: none; }
.map-marker-pin {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 12px rgba(7, 21, 38, 0.35);
}
.map-marker-pin::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  margin: 7px auto 0;
  background: var(--navy);
  border-radius: 50%;
  transform: rotate(45deg);
}
.map-marker-search {
  background: none;
  border: none;
}
.map-marker-search-dot {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--navy);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(7, 21, 38, 0.3);
}
.leaflet-popup.home-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(7, 21, 38, 0.18);
}
.leaflet-popup.home-popup .leaflet-popup-content {
  margin: 0;
  width: min(300px, 78vw) !important;
}
.leaflet-popup.home-popup .leaflet-popup-tip {
  background: var(--white);
}
.map-popup-card { font-family: var(--font-body); }
.map-popup-img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--cream);
}
.map-popup-body { padding: 0.85rem 1rem 1rem; }
.map-popup-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.2rem;
}
.map-popup-address {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.map-popup-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.map-popup-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.map-popup-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.map-popup-btn {
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}
.map-popup-btn:hover { filter: brightness(1.05); }
.homes-status {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
.homes-carousel-wrap { min-height: 120px; }
.homes-loading, .homes-empty, .reviews-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 1.5rem 0;
}
.reviews-empty a { color: var(--gold); font-weight: 600; }

.hero-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.hero-reviews-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--gold);
}
.hero-reviews-stars {
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* REVIEWS */
.reviews {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: var(--cream);
}
.reviews-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 0;
  max-width: 28rem;
}
.reviews-stat-card {
  flex: 1 1 9rem;
  padding: 1.1rem 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 6px 24px rgba(7, 21, 38, 0.06);
}
.reviews-stat-score {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
.reviews-stat-stars {
  display: block;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin: 0.2rem 0;
}
.reviews-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}
.reviews-head {
  text-align: center;
  margin-bottom: 2rem;
}
.reviews-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0.35rem 0 0;
}
.reviews-summary {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.reviews-stars {
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-right: 0.35rem;
}
.reviews-carousel {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.reviews-track {
  display: flex;
  gap: 1rem;
  padding: 0.25rem 0.15rem;
}
.review-card {
  flex: 0 0 min(320px, 85vw);
  padding: 1.25rem 1.35rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(7, 21, 38, 0.06);
}
.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.review-stars { color: var(--gold); font-size: 0.9rem; }
.review-author { font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.review-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}
.review-time {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.reviews-foot {
  text-align: center;
  margin: 1.5rem 0 0;
}
.reviews-foot a {
  font-weight: 600;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reviews-cta-card {
  max-width: 28rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(7, 21, 38, 0.08);
}
.reviews-cta-lead {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}
.reviews-cta-note {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.reviews-more-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.reviews-more-note a {
  color: var(--gold);
  font-weight: 600;
}
.homes-loading,
.homes-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 0;
}
.price-slideshows {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}
.price-band-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}
.price-band-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.price-band-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.slideshow {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
}
.slideshow-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.15rem 0.85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.slideshow-track::-webkit-scrollbar { height: 6px; }
.slideshow-track::-webkit-scrollbar-thumb {
  background: rgba(7, 21, 38, 0.2);
  border-radius: 999px;
}
.slideshow-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(7, 21, 38, 0.12);
  transition: background 0.2s, transform 0.2s;
}
.slideshow-btn:hover {
  background: var(--gold);
  transform: scale(1.05);
}
.slide-card {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
  animation: fadeUp 0.5s var(--ease) both;
}
.slide-card-btn {
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(7, 21, 38, 0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.slide-card-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(7, 21, 38, 0.16);
}
.slide-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}
.slide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.slide-card-btn:hover .slide-card-image img { transform: scale(1.04); }
.slide-card-price {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.slide-card-body {
  padding: 0.95rem 1rem 1.05rem;
  background: var(--white);
}
.slide-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.3rem;
  line-height: 1.25;
}
.slide-card-body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* LISTING MODAL */
body.modal-open { overflow: hidden; }
.listing-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.listing-modal[hidden] { display: none !important; }
.listing-modal.is-open {
  display: flex !important;
  pointer-events: auto;
}
.listing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 38, 0.75);
  backdrop-filter: blur(6px);
}
.listing-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  animation: fadeUp 0.35s var(--ease) both;
}
.listing-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  z-index: 2;
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(7, 21, 38, 0.65);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.listing-modal-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.listing-modal-media {
  min-height: 280px;
  background: var(--navy);
}
.listing-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.listing-gallery {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
}
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #0a1520;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.gallery-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: rgba(7, 21, 38, 0.5);
  z-index: 2;
}
.gallery-loading[hidden] { display: none !important; }
.gallery-loading-bar {
  display: block;
  width: min(220px, 72%);
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.gallery-loading-bar__fill {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: var(--gold-bright, #d4af37);
  animation: gallery-load-pulse 1.1s ease-in-out infinite;
}
@keyframes gallery-load-pulse {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
.gallery-counter {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}
.gallery-nav {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.gallery-nav:hover { background: var(--gold); }
.gallery-thumbs {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem 0.65rem;
  overflow-x: auto;
}
.gallery-thumbs button {
  flex: 0 0 56px;
  height: 42px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumbs button.is-active {
  opacity: 1;
  border-color: var(--gold);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.listing-gallery-kw {
  padding: 0.5rem 0.65rem 0.65rem;
}
.gallery-kw-note {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  text-align: center;
}
.modal-kw-iframe {
  width: 100%;
  height: min(52vh, 480px);
  min-height: 320px;
  border: none;
  border-radius: 8px;
  background: #0a1520;
}
.listing-modal-panel {
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.listing-modal-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}
.listing-modal-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.25rem;
}
.listing-modal-address {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.listing-modal-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}
.listing-modal-mls {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}
.listing-modal-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.listing-modal-form-lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.listing-modal-call {
  margin-bottom: 1rem;
  text-align: center;
  text-decoration: none;
}
.listing-modal-submit {
  margin-top: 0.25rem;
  border: 1px solid rgba(7, 21, 38, 0.15);
  color: var(--navy);
  background: var(--white);
  font-weight: 600;
}
.listing-modal-submit:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* TRUST — single section */
.trust-single {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  background: var(--white);
}
.trust-single-head {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}
.trust-single-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.15;
}
.trust-single-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.trust-single-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}
.trust-single-card {
  padding: 1.25rem 1.35rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid rgba(7, 21, 38, 0.04);
  box-shadow: var(--shadow-soft);
}
.trust-single-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.4rem;
}
.trust-single-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.reviews-compact {
  text-align: center;
}
.reviews-feature {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0 auto 1.25rem;
  padding: 1.25rem 2rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(7, 21, 38, 0.04);
  box-shadow: var(--shadow-soft);
}
.reviews-feature-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.reviews-feature-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.reviews-feature-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.reviews-google-btn {
  margin-top: 0.25rem;
}

/* PEACE OF MIND — legacy */
.peace {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  background: var(--white);
}
.peace-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.peace-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0.35rem 0 0.75rem;
}
.peace-lead {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.peace-promise {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
}
.peace-promise h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 0.65rem;
}
.peace-promise p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.peace-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.peace-card {
  padding: 1.35rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(7, 21, 38, 0.04);
}
.peace-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.peace-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.peace-quote {
  margin: 0;
  padding: 0;
  border: none;
  text-align: center;
}
.peace-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}

/* TRUST */
.trust {
  padding: clamp(4rem, 9vw, 5.5rem) 0;
  background: var(--navy);
  color: var(--text-on-dark);
}
.trust-head { text-align: center; margin-bottom: 2.75rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.trust-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin: 0.35rem 0 0.65rem;
  color: var(--white);
}
.trust-intro {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 1.75rem);
}
.trust-disclaimer {
  text-align: center;
  max-width: 40rem;
  margin: 2.5rem auto 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
  opacity: 0.85;
}
.trust-item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin: 0 0 0.65rem;
}
.trust-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
  max-width: 22rem;
}

/* ABOUT */
.about {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  background: var(--white);
}
.about-card {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(7, 21, 38, 0.12);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.about-body h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1rem;
}
.about-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.65;
  max-width: 36rem;
}
.about-kw {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.about-links a { color: var(--navy); }
.about-links a:hover { color: var(--gold); }

/* FINAL CTA */
.cta-final {
  padding: clamp(2.75rem, 7vw, 4rem) 0;
  background: linear-gradient(165deg, var(--navy-mid), var(--navy));
  text-align: center;
}
.cta-final-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.cta-lead {
  max-width: 26rem;
  margin: 0 auto 1.35rem;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.about-body-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.65;
  max-width: 36rem;
}
.cta-phone {
  display: block;
  margin-top: 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-bright);
}
.cta-phone:hover { color: var(--white); }

/* FOOTER */
.site-footer {
  padding: 2.5rem 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
}
.footer-inner { text-align: center; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin: 0 0 0.75rem;
}
.footer-legal {
  max-width: 40rem;
  margin: 0 auto 1rem;
  line-height: 1.55;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.footer-links a { color: var(--text-on-dark); font-weight: 500; }
.footer-copy { margin: 0; opacity: 0.6; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
body.has-sticky-lead {
  padding-bottom: 5rem;
}
@media (max-width: 960px) {
  .sticky-lead-bar {
    display: grid;
  }
  body {
    padding-bottom: 5.5rem;
  }
  .hero-search {
    flex-direction: column;
  }
  .hero-search .btn {
    width: 100%;
  }
  .portal-search-main {
    flex-direction: column;
  }
  .homes-explorer {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .homes-map {
    height: min(340px, 45vh);
    min-height: 260px;
  }
  .homes-list {
    max-height: min(420px, 50vh);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-inner { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .slideshow-btn { display: none; }
  .slideshow { grid-template-columns: 1fr; }
  .location-form { flex-direction: column; }
  .listing-modal-layout { grid-template-columns: 1fr; }
  .peace-grid { grid-template-columns: 1fr; }
  .trust-single-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; text-align: center; }
  .trust-item p { margin: 0 auto; max-width: 24rem; }
  .about-card { grid-template-columns: 1fr; text-align: center; }
  .about-photo { max-width: 280px; margin: 0 auto; }
  .about-lead { margin-left: auto; margin-right: auto; }
  .about-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}

/* —— Zillow-style map explorer —— */
.browse-page {
  --header-h: 48px;
  --sidebar-w: min(480px, 50vw);
  --explorer-h: min(720px, calc(100dvh - var(--header-h) - 120px));
  --text: #141414;
  --text-muted: #4a5560;
  background: #f5f5f5;
}
.browse-page .site-header {
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.browse-page .logo {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
}
.header-inner--compact { height: var(--header-h); }
.browse-page .header-call {
  font-size: 0.82rem;
  color: var(--gold-bright);
}
.map-explorer-main {
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
}
.map-explorer {
  display: flex;
  flex-direction: column;
  width: min(1280px, 100%);
  margin: 0 auto;
}
.map-explorer-toolbar {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  padding: 0.4rem 0.75rem;
  background: var(--white);
  border-bottom: 1px solid rgba(7, 21, 38, 0.08);
}
.map-search-form {
  display: flex;
  flex: 1;
  min-width: min(100%, 280px);
  max-width: 420px;
  gap: 0.35rem;
}
.map-search-form input {
  flex: 1;
  font-size: 16px;
  min-height: 38px;
  padding: 0 0.65rem;
  border: 1px solid rgba(7, 21, 38, 0.14);
  border-radius: 8px;
  font-family: var(--font);
}
.map-search-form input:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.map-search-form .btn-search {
  padding: 0 0.85rem;
  min-height: 38px;
  font-size: 0.82rem;
  white-space: nowrap;
}
.map-mls-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.map-mls-link:hover { color: var(--gold); }
.map-toolbar-label {
  width: 100%;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  order: 3;
}
.map-toolbar-label:empty { display: none; }
.hero-compact {
  padding: 0.85rem 0 0.65rem;
  background: linear-gradient(180deg, var(--navy) 0%, #0c1f35 100%);
  color: var(--white);
}
.hero-compact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.75rem;
}
.hero-compact h1 {
  font-family: var(--font);
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}
.hero-compact-copy p {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  max-width: 36rem;
}
.hero-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.hero-compact .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.hero-reviews-badge {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--gold-bright);
}
.hero-reviews-stars {
  color: var(--gold);
  margin-right: 0.35rem;
}
.map-explorer-toolbar.portal-search-bar {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid rgba(7, 21, 38, 0.08);
  padding: 0.55rem 0.75rem 0.45rem;
}
.map-explorer-toolbar .portal-search-form {
  width: 100%;
}
.map-explorer-toolbar .portal-filters {
  margin-top: 0.45rem;
}
.map-explorer-toolbar .portal-quick-actions {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
}
.map-explorer-toolbar .quick-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-quick-city {
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
}
.reviews-section {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: var(--white);
}
.reviews-section-head {
  text-align: center;
  margin-bottom: 1.25rem;
}
.reviews-section-head h2 {
  font-family: var(--font);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0.25rem 0 0;
}
.lead-alerts-section {
  padding: clamp(2rem, 5vw, 2.75rem) 0;
  background: var(--cream);
}
.lead-alerts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 960px;
}
.lead-alerts-copy h2 {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.lead-alerts-copy p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.lead-alerts-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.lead-alerts-form input {
  font-size: 16px;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(7, 21, 38, 0.14);
  border-radius: 8px;
  font-family: var(--font);
}
@media (max-width: 720px) {
  .lead-alerts-inner {
    grid-template-columns: 1fr;
  }
}
.map-explorer-split {
  display: grid;
  grid-template-columns: minmax(0, 52%) var(--sidebar-w);
  min-height: 0;
  height: var(--explorer-h);
  max-height: var(--explorer-h);
  border: 1px solid rgba(7, 21, 38, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(7, 21, 38, 0.06);
}
.map-explorer-map-wrap {
  position: relative;
  min-height: 0;
  min-width: 0;
}
.browse-page .map-explorer-map-wrap .homes-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.map-explorer-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: var(--white);
  border-left: 1px solid rgba(7, 21, 38, 0.08);
  box-shadow: -4px 0 24px rgba(7, 21, 38, 0.04);
}
.sidebar-count {
  flex-shrink: 0;
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid rgba(7, 21, 38, 0.06);
}
.browse-page .map-explorer-sidebar .homes-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.45rem;
  gap: 0.45rem;
  max-height: none;
  -webkit-overflow-scrolling: touch;
}
.browse-page .homes-list-item-wrap {
  border: 1px solid rgba(7, 21, 38, 0.08);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.browse-page .homes-list-item-wrap:hover {
  border-color: rgba(184, 146, 63, 0.45);
  box-shadow: 0 4px 14px rgba(7, 21, 38, 0.08);
  transform: translateY(-1px);
}
.browse-page .homes-list-item-wrap:has(.homes-list-item.is-active) {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.browse-page .homes-list-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  width: 100%;
  padding: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.browse-page .homes-list-item-photo-wrap {
  width: 112px;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8eaed;
}
.browse-page .homes-list-item img {
  width: 112px;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  object-fit: cover;
  object-position: center;
}
.browse-page .homes-list-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
  padding: 0;
}
.browse-page .homes-list-item-price {
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 700;
  color: #0d1a2b;
  line-height: 1.2;
}
.browse-page .homes-list-item-city {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.browse-page .homes-list-item-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.browse-page .homes-list-item-address {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.browse-page .homes-list-item-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.25rem;
  padding: 0.22rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(7, 21, 38, 0.06);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.browse-page .homes-list-item:hover .homes-list-item-cta {
  background: var(--gold);
  color: var(--navy);
}
.browse-page .homes-empty {
  padding: 1rem 0.65rem;
  font-size: 0.82rem;
  text-align: center;
}
/* Compact map popup */
.leaflet-popup.map-popup-compact .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(7, 21, 38, 0.18);
}
.leaflet-popup.map-popup-compact .leaflet-popup-content {
  margin: 0;
  width: 232px !important;
  line-height: 1.3;
}
.leaflet-popup.map-popup-compact .leaflet-popup-tip {
  background: var(--white);
}
.map-popup-card {
  font-family: var(--font);
}
.map-popup-media {
  display: block;
  position: relative;
  background: #e8eaed;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.map-popup-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.map-popup-body {
  padding: 0.45rem 0.55rem 0.5rem;
}
.map-popup-price {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d1a2b;
}
.map-popup-meta {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.map-popup-address {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-popup-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border: none;
  border-top: 1px solid rgba(7, 21, 38, 0.08);
  background: var(--navy);
  color: var(--gold-bright);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.map-popup-btn:hover {
  background: #0a2540;
}
.site-footer--minimal {
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
  background: var(--navy);
}
.site-footer--minimal .footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}
.site-footer--minimal .footer-copy {
  margin: 0;
  font-size: 0.68rem;
  opacity: 0.75;
}
.site-footer--minimal .footer-links {
  margin: 0;
  gap: 0.85rem;
  font-size: 0.72rem;
}
.browse-page .listing-modal {
  padding: 0.75rem;
  align-items: center;
}
.browse-page .listing-modal-dialog {
  width: min(880px, 100%);
  max-height: min(88dvh, 720px);
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.browse-page .listing-modal-layout {
  grid-template-columns: 1.15fr 0.85fr;
  max-height: min(88dvh, 720px);
  overflow: hidden;
}
.browse-page .listing-modal-media {
  min-height: 0;
  max-height: none;
  background: #0a1520;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.browse-page .listing-gallery {
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.browse-page .gallery-main {
  aspect-ratio: unset;
  height: min(38vh, 300px);
  max-height: 300px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1520;
}
.browse-page .gallery-main img,
.browse-page .listing-modal-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(38vh, 300px);
  min-height: 0;
  object-fit: contain;
}
.browse-page .listing-modal-media > .listing-gallery + .gallery-thumbs {
  flex-shrink: 0;
}
.browse-page .listing-modal-panel {
  padding: 0.85rem 1rem 1rem;
  gap: 0.55rem;
  overflow-y: auto;
  max-height: min(88dvh, 720px);
}
.listing-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.modal-form-wrap {
  padding-top: 0.35rem;
  border-top: 1px solid rgba(7, 21, 38, 0.08);
}
.modal-form-hint {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.modal-success-note {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.browse-page .listing-modal-panel .btn-ghost {
  border: 1px solid rgba(7, 21, 38, 0.14);
  color: var(--navy);
  font-weight: 600;
}
.browse-page .listing-modal-price {
  font-family: var(--font);
  font-size: 1.2rem;
  margin: 0;
}
.browse-page .listing-modal-address {
  font-family: var(--font);
  font-size: 0.92rem;
  margin: 0;
}
.browse-page .listing-modal-meta {
  font-size: 0.8rem;
  margin: 0;
}
.browse-page .modal-form-compact input {
  width: 100%;
  font-size: 16px;
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(7, 21, 38, 0.14);
  border-radius: 6px;
  margin-bottom: 0.35rem;
}
.browse-page .consent--compact {
  font-size: 0.68rem;
  margin: 0.2rem 0 0.35rem;
}
.featured-skeleton,
.browse-skeleton {
  display: none !important;
}
@media (max-width: 960px) {
  .browse-page {
    --sidebar-w: 100%;
    --explorer-h: min(720px, calc(100dvh - var(--header-h) - 48px));
  }
  .map-explorer {
    width: 100%;
  }
  .map-explorer-split {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 1fr;
    border-radius: 0;
    border-left: none;
    border-right: none;
    max-height: none;
    height: var(--explorer-h);
  }
  .map-explorer-map-wrap {
    min-height: 200px;
    max-height: 200px;
  }
  .map-explorer-sidebar {
    border-left: none;
    border-top: 1px solid rgba(7, 21, 38, 0.08);
    box-shadow: none;
  }
  .browse-page .listing-modal-layout {
    grid-template-columns: 1fr;
  }
  .browse-page .gallery-main {
    height: min(34vh, 240px);
    max-height: 240px;
    min-height: 160px;
  }
  .browse-page .gallery-main img {
    max-height: min(34vh, 240px);
  }
}
@media (min-width: 961px) {
  .browse-page .listing-modal-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* --- premium.css --- */
/* SWMO Residential — premium production layout */
.site-premium {
  --navy: #071526;
  --navy-mid: #0c1f35;
  --gold: #b8923f;
  --gold-bright: #c9a24d;
  --cream: #f6f3ec;
  --white: #ffffff;
  --text: #141414;
  --text-muted: #4a5560;
  --header-h: 56px;
  --listings-col: minmax(380px, 46%);
  --zillow-border: #d1d5db;
  --zillow-bg: #f6f6f6;
  --zillow-text: #2a2a33;
  --zillow-muted: #596b82;
  background: var(--cream);
  color: var(--text);
  padding-top: var(--header-h);
}

.site-premium .eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
}
.site-premium .eyebrow-light { color: var(--gold-bright); }
.site-premium .section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
  text-align: center;
}

/* Header */
.site-premium .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--header-h);
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}
.site-premium .header-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: var(--header-h);
}
.site-premium .logo {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-right: auto;
}
.site-premium .logo span { font-weight: 500; opacity: 0.85; }
.site-premium .header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-premium .header-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.site-premium .header-nav a:hover { color: var(--gold-bright); }
.site-premium .header-phone {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-bright);
  white-space: nowrap;
}
.site-zillow .header-cta--desktop {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.site-premium .nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
}

/* Hero */
.hero-premium {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2844 55%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 0.95rem 0 1.05rem;
}
.hero-premium-grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 1.15rem;
  align-items: center;
}
.hero-premium h1 {
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.hero-lead {
  margin: 0 0 0.6rem;
  font-size: clamp(0.88rem, 1.8vw, 0.95rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.site-premium .btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
}
.hero-premium-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(201, 162, 39, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.14);
}
.hero-premium-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 21, 38, 0.25));
}
.hero-premium-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
}
.hero-reviews-badge {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--gold-bright);
}
.hero-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0.35rem;
  max-width: 36rem;
}
.hero-search-form input {
  flex: 1 1 12rem;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--zillow-text);
}
.hero-search-form input:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.35);
}
.hero-search-form .btn {
  min-height: 48px;
  padding: 0 1.35rem;
  white-space: nowrap;
}
.hero-search-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 32rem;
}

/* Trending strip */
.trending-band {
  padding: 1.25rem 0 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--zillow-border);
}
.trending-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.trending-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--zillow-text);
}
.trending-sub {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--zillow-muted);
}
.trending-see-all {
  font-size: 0.85rem;
  font-weight: 700;
  color: #006aff;
  white-space: nowrap;
}
.trending-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.trending-card {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
}
.trending-card-hit {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--zillow-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.trending-card-hit:hover {
  border-color: #9ca3af;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.trending-card-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ecf0;
}
.trending-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.trending-card-body {
  padding: 0.55rem 0.65rem 0.65rem;
}
.trending-card-price {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--zillow-text);
}
.trending-card-address {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--zillow-muted);
}
.trending-loading,
.trending-empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--zillow-muted);
}

/* City quick picks */
.city-quick-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  padding: 0 0 0.75rem;
}
.city-quick-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--zillow-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.25rem;
}
.city-quick {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--zillow-border);
  background: var(--white);
  color: var(--zillow-text);
  cursor: pointer;
}
.city-quick:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* MLS search — Zillow-style search strip */
.mls-search {
  padding: 0;
  background: var(--white);
  border-bottom: 1px solid var(--zillow-border);
}
.site-premium .section-title {
  margin: 0 0 0.75rem;
}
.mls-search-head {
  padding: 1rem 0 0.35rem;
}
.mls-search-head h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--zillow-text);
  margin: 0;
  letter-spacing: -0.02em;
}
.mls-search-label {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--zillow-muted);
}
.mls-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  padding: 0.75rem 0 1rem;
}
.mls-toolbar-form {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: min(100%, 560px);
  align-items: stretch;
}
.mls-toolbar-form input,
.mls-toolbar-form select {
  font-size: 16px;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--zillow-border);
  border-radius: 6px;
  font-family: inherit;
  background: var(--white);
  color: var(--zillow-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.mls-toolbar-form input:focus,
.mls-toolbar-form select:focus {
  outline: none;
  border-color: #006aff;
  box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.15);
}
.mls-toolbar-form input {
  flex: 2;
  min-width: 140px;
}
.mls-toolbar-form select {
  flex: 1;
  min-width: 100px;
}
.mls-toolbar-form .btn {
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}
.mls-full-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.mls-full-link:hover { color: var(--gold); }

.mls-price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 0 1rem;
}
.price-preset {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--zillow-border);
  background: var(--white);
  color: var(--zillow-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}
.price-preset:hover {
  border-color: #9ca3af;
  color: var(--zillow-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.price-preset.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 6px rgba(7, 21, 38, 0.2);
}

/* List-only (default) vs map split */
.site-premium #homes-explorer.mls-explorer.is-list-only {
  display: block !important;
  height: auto;
  min-height: 0;
  max-height: none;
}
.site-premium #homes-explorer.is-list-only .mls-listings-panel,
.site-premium #homes-explorer.is-list-only .mls-sidebar {
  border-right: none;
  max-height: none;
}
.site-premium #homes-explorer.is-list-only .homes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  flex-direction: row;
  gap: 1.25rem;
  padding: 1rem 0;
}
.site-premium #homes-explorer.is-list-only .listing-card-hit {
  height: 100%;
}
.site-premium #homes-explorer.is-map-mode.mls-explorer {
  display: grid !important;
  grid-template-columns: var(--listings-col) minmax(0, 1fr) !important;
  grid-template-rows: 1fr;
  height: min(78vh, calc(100dvh - var(--header-h) - 88px));
  min-height: 520px;
}
.site-premium #homes-explorer.is-map-mode .homes-list {
  display: flex;
  flex-direction: column;
}
.mls-sidebar-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.map-view-toggle {
  flex-shrink: 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--zillow-border);
  background: var(--white);
  color: #006aff;
  cursor: pointer;
}
.map-view-toggle:hover {
  background: #eef4ff;
}

/* Zillow-style split: scrollable list (left) + map (right) */
.site-premium #homes-explorer.mls-explorer {
  display: grid !important;
  grid-template-columns: var(--listings-col) minmax(0, 1fr) !important;
  grid-template-rows: 1fr;
  height: min(78vh, calc(100dvh - var(--header-h) - 88px));
  min-height: 520px;
  background: var(--zillow-bg);
  border-top: 1px solid var(--zillow-border);
}
.site-premium #homes-explorer .mls-listings-panel,
.site-premium #homes-explorer .mls-sidebar {
  grid-column: 1 !important;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: var(--zillow-bg);
  border-right: 1px solid var(--zillow-border);
}
.site-premium #homes-explorer .mls-map-wrap {
  grid-column: 2 !important;
  grid-row: 1;
  position: relative;
  min-height: 0;
  min-width: 0;
  background: #dfe6ed;
}
.site-premium #homes-explorer .homes-map {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: none !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
.mls-sidebar-head {
  flex-shrink: 0;
  padding: 0.85rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--zillow-border);
}
.mls-sidebar-count {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--zillow-text);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.mls-sidebar-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--zillow-muted);
  font-weight: 400;
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.active-filters[hidden] { display: none; }
.filter-chip {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--zillow-text);
  background: #eef0f3;
  border: 1px solid var(--zillow-border);
  border-radius: 4px;
}
.homes-prompt {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--zillow-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.homes-prompt strong {
  display: block;
  color: var(--zillow-text);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.list-status {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--zillow-muted);
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--zillow-border);
}
.list-status[hidden],
.list-status:empty { display: none; }
.site-premium .homes-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.75rem;
  gap: 0.75rem;
  display: flex;
  flex-direction: column;
  align-content: start;
  -webkit-overflow-scrolling: touch;
}
.site-premium .homes-list-more {
  flex-shrink: 0;
  margin: 0;
  padding: 0.85rem 1rem;
  width: 100%;
  border: none;
  border-top: 1px solid var(--zillow-border);
  border-radius: 0;
  background: var(--white);
  color: #006aff;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.site-premium .homes-list-more:hover {
  background: #eef4ff;
}
.leaflet-tooltip.map-hover-tooltip {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  white-space: normal;
}
.map-hover-card {
  padding: 0.5rem 0.65rem;
  min-width: 120px;
  max-width: 200px;
  background: #fff;
  border: 1px solid var(--zillow-border);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  text-align: left;
}
.map-hover-card strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--zillow-text);
  line-height: 1.2;
}
.map-hover-card span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--zillow-muted);
  line-height: 1.35;
}

/* Zillow-style listing cards */
.listing-card {
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--zillow-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.listing-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: #b8c0cc;
}
.listing-card.is-active {
  border-color: #006aff;
  box-shadow: 0 0 0 2px rgba(0, 106, 255, 0.25), 0 4px 16px rgba(0, 0, 0, 0.1);
}
.listing-card-hit {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
.listing-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e4e9ef;
  overflow: hidden;
}
.listing-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.listing-card:hover .listing-card-photo img {
  transform: scale(1.02);
}
.listing-card-body {
  padding: 0.75rem 0.875rem 0.875rem;
}
.listing-card-price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--zillow-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.listing-card-facts {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--zillow-text);
  line-height: 1.35;
}
.listing-card-address {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--zillow-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.homes-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--zillow-muted);
  line-height: 1.5;
}
.homes-empty a {
  color: #006aff;
  font-weight: 600;
}

/* Reviews band */
.reviews-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0c2238 100%);
  color: var(--white);
  padding: 1rem 0;
  border-top: 2px solid rgba(201, 162, 39, 0.35);
}
.reviews-headline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--white);
  line-height: 1.25;
}
.reviews-band-inner {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 1rem;
  align-items: start;
}
.reviews-score-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 0.35rem 0 0.65rem;
}
.reviews-big-score {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.reviews-big-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.06em;
}
.reviews-score-label {
  width: 100%;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.reviews-trust {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.88;
}
.reviews-band .reviews-carousel {
  min-height: 80px;
}
.reviews-band .review-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.reviews-band .review-text { color: rgba(255, 255, 255, 0.9); }
.reviews-band .review-author { color: var(--gold-bright); }
.reviews-band-footer {
  border-top: none;
  border-bottom: 2px solid rgba(201, 162, 39, 0.35);
  margin-bottom: 0;
  padding: 2rem 0 2.25rem;
}
.reviews-band-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.reviews-band-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1rem;
}
.reviews-disclaimer {
  margin: 0 auto 1.25rem;
  max-width: 42rem;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.45;
  opacity: 0.75;
  color: rgba(255, 255, 255, 0.85);
}
.reviews-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}
.reviews-band .review-card {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  min-height: 0;
}
.reviews-band .review-card--google {
  border-color: rgba(66, 133, 244, 0.45);
  background: rgba(66, 133, 244, 0.12);
}
.reviews-band .review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.reviews-band .review-source {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}
.reviews-band .review-source--google {
  background: rgba(66, 133, 244, 0.35);
  color: #fff;
}
.reviews-band .review-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.reviews-band .review-text {
  flex: 1;
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  line-height: 1.5;
}
.reviews-band .review-card-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.5rem;
  font-size: 0.75rem;
  opacity: 0.85;
}
.reviews-band .review-time {
  margin: 0;
  opacity: 0.7;
}
.reviews-more-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
  opacity: 0.9;
}
.reviews-more-note a {
  color: var(--gold-bright);
  font-weight: 600;
}

/* Trust */
.trust-band:not(.trust-band--photo) {
  padding: 1rem 0;
  background: var(--white);
}

.trust-band--photo {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: transparent;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.trust-card {
  padding: 0.85rem 0.9rem;
  background: linear-gradient(180deg, #f0ebe0 0%, var(--cream) 100%);
  border-radius: 10px;
  border: 1px solid rgba(7, 21, 38, 0.07);
  box-shadow: 0 4px 14px rgba(7, 21, 38, 0.06);
}
.trust-icon {
  display: flex;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.trust-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.trust-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* About */
.about-agent {
  padding: 1rem 0;
  background: var(--cream);
}
.about-agent-grid {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 1.25rem;
  align-items: start;
}
.about-agent-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(7, 21, 38, 0.14), 0 0 24px rgba(201, 162, 39, 0.12);
  border: 3px solid var(--white);
}
.about-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.25rem;
}
.about-areas {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
  line-height: 1.45;
}
.about-license {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.about-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0.65rem;
}
.about-social-link {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(7, 21, 38, 0.12);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
}
.about-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.about-agent-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}
.about-agent-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.25rem;
}
.about-kw {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
}
.about-bio {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.65rem;
  max-width: 36rem;
}
.about-contact a {
  font-weight: 700;
  color: var(--navy);
}
.about-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Keller Williams credibility */
#kw-credibility.compliance-band {
  padding: 2rem 0;
  background: linear-gradient(180deg, #f8f9fb 0%, var(--white) 100%);
  border-top: 1px solid var(--zillow-border);
}
.kw-band-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.25rem;
}
.kw-band-head .kw-logo {
  margin-bottom: 0.65rem;
}
.kw-band-head p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.kw-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 960px;
  margin: 0 auto;
}
.kw-stat {
  text-align: center;
  padding: 1rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--zillow-border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.kw-stat strong {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.kw-stat span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--zillow-muted);
  line-height: 1.35;
}
.kw-stats-source {
  margin: 1rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Compliance / brokerage */
.compliance-band {
  padding: 0.85rem 0;
  background: var(--white);
  border-top: 1px solid rgba(7, 21, 38, 0.06);
}
.compliance-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.compliance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}
.compliance-list li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 0.85rem;
  position: relative;
}
.compliance-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Lead form */
.lead-band {
  padding: 1rem 0 1.15rem;
  background: linear-gradient(180deg, var(--navy) 0%, #0a1e33 100%);
  color: var(--white);
}
.lead-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  max-width: 900px;
}
.lead-band-copy h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.lead-band-lead {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.45;
}
.lead-band-sub {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.82;
  line-height: 1.45;
}
.lead-form-card {
  padding: 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.lead-band-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.lead-band-form .btn-gold {
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.35);
}
.lead-band-form input {
  font-size: 16px;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
}
.lead-band .consent {
  font-size: 0.72rem;
  opacity: 0.85;
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}
.lead-success {
  padding: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

/* Footer */
.site-premium .site-footer {
  padding: 0.65rem 0 0.85rem;
  background: #050d16;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  text-align: center;
}
.site-premium .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-kw-logo { opacity: 0.92; }
.footer-eho { opacity: 0.85; }
.footer-tagline { margin: 0; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.footer-legal { margin: 0; opacity: 0.65; max-width: 36rem; line-height: 1.4; }
.footer-fair { margin: 0; opacity: 0.55; max-width: 40rem; line-height: 1.4; font-size: 0.65rem; }
.site-premium .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin: 0;
}
.site-premium .footer-links a { color: var(--gold-bright); font-weight: 600; }

/* Modal — premium (Zillow-style detail) */
.site-premium .listing-modal-dialog {
  width: min(900px, 96vw);
  max-height: min(90dvh, 800px);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.site-premium .listing-modal-dialog--detail {
  width: min(1080px, 98vw);
  max-height: min(92dvh, 900px);
}
.site-premium .listing-modal-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  max-height: min(92dvh, 900px);
  overflow: hidden;
}
.site-premium .listing-modal-layout--property {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}
.site-premium .listing-modal-main {
  overflow-y: auto;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}
.site-premium .listing-modal-aside {
  background: linear-gradient(180deg, #f9fafc 0%, #f3f5f8 100%);
  border-left: 1px solid rgba(7, 21, 38, 0.08);
  padding: 1rem 1.1rem 1.25rem;
  overflow-y: auto;
}
.site-premium .listing-contact-card {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(7, 21, 38, 0.08);
}
.site-premium .listing-contact-title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--navy);
}
.site-premium .listing-contact-sub {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.site-premium .listing-contact-phone {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--navy);
  border: 1px solid var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.site-premium .listing-detail-map {
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #e8ecf0;
}
.site-premium .listing-map-empty {
  margin: 0;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.site-premium .listing-detail-compliance {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(7, 21, 38, 0.08);
}
.site-premium .modal-eho-icon {
  vertical-align: middle;
  margin-right: 0.35rem;
}
.site-premium .listing-sticky-cta {
  display: none;
}
.site-premium .gallery-main {
  position: relative;
}
.site-premium .listing-modal-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.site-premium .listing-detail-header {
  margin-bottom: 0.35rem;
}
.site-premium .listing-modal-badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: rgba(201, 162, 39, 0.2);
  border-radius: 4px;
}
.site-premium .listing-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.5rem 0 0.35rem;
}
.site-premium .listing-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 3.5rem;
}
.site-premium .listing-stat-n {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}
.site-premium .listing-stat-l {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: lowercase;
}
.site-premium .listing-detail-estimate {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.site-premium .listing-detail-estimate strong {
  color: var(--navy);
  font-size: 1rem;
}
.site-premium .listing-est-note {
  display: block;
  font-size: 0.72rem;
  margin-top: 0.15rem;
  opacity: 0.85;
}
.site-premium .listing-modal-mls {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.site-premium .listing-detail-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0 0.65rem;
}
.site-premium .listing-highlight-chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(7, 21, 38, 0.06);
  color: var(--navy);
  font-weight: 600;
}
.site-premium .listing-detail-section {
  margin: 0.65rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(7, 21, 38, 0.08);
}
.site-premium .listing-detail-heading {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}
.site-premium .listing-detail-description {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
}
.site-premium .listing-detail-description.is-collapsed {
  max-height: 6.5em;
  overflow: hidden;
  position: relative;
}
.site-premium .listing-detail-description.is-collapsed::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2em;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
}
.site-premium .listing-detail-toggle {
  margin: 0.35rem 0 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--gold-dark, #9a7b1a);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.site-premium .listing-facts-group {
  margin-bottom: 0.65rem;
}
.site-premium .listing-facts-group-title {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.9;
}
.site-premium .listing-facts-dl {
  margin: 0;
}
.site-premium .listing-facts-row {
  display: grid;
  grid-template-columns: minmax(7rem, 42%) 1fr;
  gap: 0.35rem 0.75rem;
  padding: 0.28rem 0;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(7, 21, 38, 0.05);
}
.site-premium .listing-facts-row dt {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}
.site-premium .listing-facts-row dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}
.site-premium .listing-detail-market {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.site-premium .listing-detail-market li {
  padding: 0.2rem 0;
}
.site-premium .gallery-caption {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  line-height: 1.3;
  padding: 0 0.5rem;
}
.site-premium .gallery-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(10, 21, 32, 0.55);
  z-index: 2;
}
.site-premium .listing-modal-meta-line {
  margin: 0.2rem 0 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.site-premium .listing-modal-media {
  background: #0a1520;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}
.site-premium .listing-gallery {
  flex: 1;
  min-height: 0;
  padding: 0.5rem;
  overflow: hidden;
}
.site-premium .gallery-main {
  aspect-ratio: unset;
  height: min(42vh, 360px);
  max-height: 360px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1520;
  overflow: hidden;
}
/* Override style.css .listing-modal-media img { width/height 100%; min-height 280px } */
.site-premium .listing-modal-media img,
.site-premium .gallery-main img,
.site-premium #modal-image {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: center center;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: min(42vh, 360px) !important;
  object-fit: contain !important;
  object-position: center;
  display: block;
}
.site-premium .gallery-thumbs {
  flex-shrink: 0;
  padding: 0.35rem 0.5rem 0.5rem;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.site-premium .gallery-thumbs button.is-active {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.site-premium .listing-modal-panel {
  padding: 1rem 1.15rem 1.25rem;
  gap: 0.55rem;
}
.site-premium .listing-modal-price {
  font-size: 1.35rem;
  font-weight: 700;
}
.site-premium .listing-modal-address {
  font-size: 1rem;
  font-weight: 600;
}
.site-premium .listing-modal-meta {
  font-size: 0.85rem;
}
.site-premium .modal-lead {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(7, 21, 38, 0.08);
}
.site-premium .modal-lead-title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}
.site-premium .modal-lead-sub {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.site-premium .modal-form-compact input[type='text'],
.site-premium .modal-form-compact input[type='tel'],
.site-premium .modal-form-compact input[type='email'] {
  width: 100%;
  font-size: 16px;
  min-height: 42px;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(7, 21, 38, 0.14);
  border-radius: 6px;
  margin-bottom: 0.4rem;
}
.site-premium .modal-form-compact .consent--compact {
  font-size: 0.72rem;
  margin: 0.15rem 0 0.5rem;
}
.site-premium .modal-success {
  text-align: center;
  padding: 0.75rem 0 0.25rem;
}
.site-premium .modal-success .success-mark {
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0;
}
.site-premium .modal-success .success-title {
  margin: 0.35rem 0 0;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Sticky bar */
.site-premium {
  padding-bottom: 0;
}

/* Mobile */
@media (max-width: 960px) {
  .site-premium .header-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.65rem;
  }
  .site-premium .header-nav.is-open { display: flex; }
  .site-premium .nav-toggle { display: block; }
  .site-premium .header-phone { display: none; }
  .hero-premium-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-premium-photo {
    max-width: 200px;
    margin: 0 auto;
    order: -1;
  }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .kw-stats { grid-template-columns: 1fr 1fr; }
  .hero-search-form { max-width: none; }
  .site-premium #homes-explorer.is-map-mode.mls-explorer {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(280px, 52vh) minmax(200px, 28vh) !important;
    height: auto;
    min-height: 0;
  }
  .site-premium #homes-explorer.is-map-mode .mls-listings-panel,
  .site-premium #homes-explorer.is-map-mode .mls-sidebar {
    grid-column: 1 !important;
    grid-row: 1 !important;
    border-right: none;
    max-height: 52vh;
  }
  .site-premium #homes-explorer.is-map-mode .mls-map-wrap {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 200px;
  }
  .site-premium #homes-explorer.is-list-only .homes-list,
  .site-premium .homes-list--premium {
    grid-template-columns: 1fr;
  }
  .trust-grid { grid-template-columns: 1fr; }
  .reviews-band-inner { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .about-agent-grid { grid-template-columns: 1fr; text-align: center; }
  .about-agent-photo { max-width: 200px; margin: 0 auto; }
  .about-btns { justify-content: center; }
  .compliance-band-inner { flex-direction: column; align-items: flex-start; }
  .compliance-list { flex-direction: column; gap: 0.35rem; }
  .lead-band-inner { grid-template-columns: 1fr; }
  .site-premium .listing-modal-layout,
  .site-premium .listing-modal-layout--property { grid-template-columns: 1fr; }
  .site-premium .listing-modal-aside {
    border-left: none;
    border-top: 1px solid rgba(7, 21, 38, 0.08);
    max-height: none;
  }
  .site-premium .listing-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1300;
    border-radius: 0;
    margin: 0;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
  .site-premium .listing-modal-dialog--detail {
    width: 100%;
    max-width: 100%;
  }
  .site-premium .listing-modal-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }
  .site-premium .gallery-main {
    height: min(36vh, 280px);
    max-height: 280px;
    min-height: 140px;
  }
  .site-premium .listing-modal-media img,
  .site-premium .gallery-main img,
  .site-premium #modal-image {
    max-height: min(36vh, 280px) !important;
  }
}

/* —— Clean homepage (Zillow-style, conversion-focused) —— */
.site-clean .logo-lg {
  font-size: 1.2rem;
}
.site-clean .header-cta {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(184, 146, 63, 0.35);
}
.site-clean .header-wrap {
  gap: 0.75rem;
}
.hero-clean {
  padding: 1.35rem 0 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.btn-ghost-light {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.featured-band {
  padding: 2rem 0 1.5rem;
  background: var(--white);
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.section-head-row h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.section-sub {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}
.text-link-btn {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #006aff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}
.text-link-btn:hover { text-decoration: underline; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.featured-loading,
.featured-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.premium-card {
  min-width: 0;
}
.premium-card.is-active .premium-card-hit {
  box-shadow: 0 0 0 2px #006aff, 0 8px 28px rgba(7, 21, 38, 0.14);
}
.premium-card-hit {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 2px 12px rgba(7, 21, 38, 0.08);
  transition: box-shadow 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.premium-card-hit:hover {
  box-shadow: 0 8px 28px rgba(7, 21, 38, 0.14);
}
@media (hover: hover) and (pointer: fine) {
  .premium-card-hit:hover {
    transform: translateY(-2px);
  }
}
.premium-card-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ecf0;
}
.premium-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.premium-card-body {
  padding: 0.85rem 1rem 1rem;
}
.premium-card-price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.premium-card-address {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.premium-card-meta {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

.neighborhood-band {
  padding: 0.5rem 0 2rem;
  background: var(--white);
  border-bottom: 1px solid rgba(7, 21, 38, 0.06);
}
.neighborhood-label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.city-quick-picks--inline {
  padding: 0;
}

.trust-band--clean {
  padding: 2.5rem 0;
  background: var(--cream);
}
.section-title--left {
  text-align: left;
  margin-bottom: 1.25rem;
}
.trust-grid--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.trust-agent-line {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.mls-search--collapsed {
  padding: 2rem 0;
  background: var(--zillow-bg);
}
.site-premium .homes-list--premium {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  padding: 1rem 0;
}

.reviews-wall--compact .reviews-wall-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.reviews-wall--compact .review-card {
  padding: 0.85rem;
}

.lead-band-form .btn-block {
  width: 100%;
  margin-top: 0.35rem;
}
.lead-band-form .btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.idx-search-disclaimer {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--text-muted);
}
.listing-modal-courtesy,
.listing-modal-mls,
.listing-modal-idx-note {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-muted);
}
.site-footer--compliant {
  padding: 1rem 0 1.25rem;
  background: #050d16;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  text-align: center;
}
.site-footer--compliant .footer-inner {
  gap: 0.45rem;
}
.site-footer--compliant a {
  color: var(--gold-bright);
}
.site-footer--minimal {
  padding: 1.25rem 0;
}

@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .trust-grid--three {
    grid-template-columns: 1fr;
  }
  .reviews-wall--compact .reviews-wall-grid {
    grid-template-columns: 1fr;
  }
  .site-clean .header-cta {
    display: none;
  }
}
@media (max-width: 560px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Map search band */
.map-search-band {
  padding: 2rem 0 3rem;
  background: var(--zillow-bg);
}
.map-search-intro {
  margin: -0.5rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.mls-explorer--compact {
  display: grid !important;
  grid-template-columns: 1fr minmax(280px, 42%);
  gap: 0;
  min-height: 420px;
  border: 1px solid var(--zillow-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.homes-map--compact {
  min-height: 420px;
}
.homes-count-line {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.25rem;
}
.homes-sub-line {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.featured-grid--large .premium-card-photo {
  aspect-ratio: 5 / 4;
}
.featured-grid--large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .featured-grid--large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mls-explorer--compact {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, 40vh) auto;
  }
}

.city-quick--link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-phone-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-bright);
  white-space: nowrap;
}

/* Floating CTAs */
.float-cta {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 180;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.float-cta-btn {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(7, 21, 38, 0.15);
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(7, 21, 38, 0.18);
  cursor: pointer;
  text-decoration: none;
}
.float-cta-btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy);
  border-color: transparent;
}
.lead-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.lead-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 38, 0.55);
}
.lead-drawer-panel {
  position: relative;
  width: min(420px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
}
.lead-drawer-close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}
.lead-drawer-form input {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
body.drawer-open {
  overflow: hidden;
}

.sell-cta-band {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2844 100%);
  color: var(--white);
}
.sell-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.sell-cta-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}
.sell-cta-copy h2 {
  margin: 0.35rem 0 0.5rem;
}

.sell-hero {
  padding: 2rem 0;
  background: var(--cream);
}
.sell-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 320px);
  gap: 2rem;
  align-items: center;
}
.sell-hero-photo {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.sell-points {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  line-height: 1.6;
}
.sell-form-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}
.sell-form-photo {
  border-radius: 12px;
  width: 180px;
  height: 180px;
  object-fit: cover;
}
.sell-lead-form input {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--zillow-border);
}

.city-hero {
  padding: 1.5rem 0 0.5rem;
  background: var(--cream);
}
.city-blurb {
  max-width: 40rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.city-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-similar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.btn-ghost-dark {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--zillow-border);
  background: var(--white);
  cursor: pointer;
  width: 100%;
}
.mortgage-estimate {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.mortgage-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

/* —— Zillow-style homepage —— */
.site-zillow .hero-zillow {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2844 100%);
  color: var(--white);
  padding: 1.5rem 0;
}
.site-zillow .hero-zillow h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.site-zillow .hero-zillow .hero-lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
  margin: 0 0 1rem;
}
.hero-search-bar {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(100px, 0.6fr)) auto;
  gap: 0.5rem;
  max-width: 52rem;
  margin-bottom: 0.75rem;
}
.hero-search-bar input,
.hero-search-bar select {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.95);
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.btn-outline-navy {
  font-family: inherit;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.hero-rating {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--gold-bright);
}

.search-results {
  padding: 1rem 0 2rem;
  background: var(--zillow-bg);
}
.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.results-count {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.results-area {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.results-toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.results-toolbar-filters select,
.results-toolbar-filters .toolbar-select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  height: 2.125rem;
  min-height: 2.125rem;
  max-height: 2.125rem;
  padding: 0 1.75rem 0 0.55rem;
  margin: 0;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  color: #1f2937;
  border-radius: 8px;
  border: 1px solid var(--zillow-border, #d1d5db);
  background-color: var(--white, #fff);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 0.65rem;
  cursor: pointer;
  flex: 0 1 auto;
  min-width: 5.5rem;
  max-width: 10.5rem;
}
.results-toolbar-filters select:focus,
.results-toolbar-filters .toolbar-select:focus {
  outline: none;
  border-color: #071526;
  box-shadow: 0 0 0 2px rgba(7, 21, 38, 0.12);
}

/* Map ~38% width — listings get most of the row (Zillow-style) */
.site-premium #homes-explorer.zillow-explorer {
  height: auto;
  min-height: min(48vh, 440px);
  max-height: min(56vh, 500px);
}
.zillow-explorer.is-map-mode {
  display: grid !important;
  grid-template-columns: minmax(260px, 36%) minmax(0, 1fr);
  min-height: min(48vh, 440px);
  max-height: min(56vh, 500px);
  border: 1px solid var(--zillow-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(7, 21, 38, 0.08);
}

.zillow-explorer.is-list-only,
.zillow-explorer:not(.is-map-mode) {
  display: block !important;
  grid-template-columns: none !important;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
}

.zillow-explorer.is-list-only .zillow-map-col,
.zillow-explorer:not(.is-map-mode) .zillow-map-col {
  display: none !important;
}

.zillow-explorer.is-list-only .zillow-list-col,
.zillow-explorer:not(.is-map-mode) .zillow-list-col {
  width: 100% !important;
  max-width: 100% !important;
  border-left: none !important;
}
.zillow-explorer.is-map-mode .zillow-map-col {
  order: 1;
}
.zillow-explorer.is-map-mode .zillow-list-col {
  order: 2;
}
.zillow-map-col {
  min-height: 240px;
  max-height: min(50vh, 460px);
  position: relative;
}
.zillow-map-col .homes-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.zillow-list-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--zillow-border);
  background: var(--zillow-bg);
}
.homes-list--zillow {
  flex: 1;
  overflow-y: auto;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: min(50vh, 460px);
}

.explorer-view-tabs {
  display: none;
}

.zillow-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.65rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--zillow-border);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.zillow-card-photo-btn {
  padding: 0;
  border: none;
  cursor: pointer;
  background: #e8ecf0;
  min-height: 100px;
}
.zillow-card-photo-btn img {
  width: 100%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
  display: block;
}
.zillow-card-body {
  padding: 0.5rem 0.5rem 0.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.zillow-card-info {
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.zillow-card-price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.zillow-card-dist {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.zillow-card-address,
.zillow-card-meta {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.zillow-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}
.zillow-card-idx {
  margin: 0.2rem 0 0;
  font-size: 0.65rem;
  line-height: 1.3;
  color: var(--text-muted);
  opacity: 0.9;
}
.homes-list--zillow.is-loading .zillow-card--skeleton {
  display: grid;
}
.homes-list--zillow:not(.is-loading) .zillow-card--skeleton {
  display: none !important;
}
.homes-list--zillow .zillow-card:not(.zillow-card--skeleton) {
  display: grid;
  visibility: visible;
  opacity: 1;
}
.btn-sm {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}
.btn-gold-outline {
  border: 1px solid var(--gold);
  background: rgba(184, 146, 63, 0.12);
  color: var(--navy);
}

.featured-band--sub {
  padding: 2rem 0;
  background: var(--white);
  border-top: 1px solid var(--zillow-border);
}
.featured-band--sub h2 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.brandon-band {
  padding: 2.5rem 0;
  background: var(--cream);
}
.brandon-band-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}
.brandon-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}
.brandon-meta {
  margin: 0.15rem 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.brandon-bio {
  margin: 0 0 0.75rem;
  max-width: 36rem;
  line-height: 1.5;
}

.reviews-compact {
  text-align: center;
}
.reviews-compact-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.reviews-wall--three .reviews-wall-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin: 0 auto;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lead-modal[hidden] {
  display: none !important;
}
.lead-modal.is-open {
  display: flex !important;
}
.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(7, 21, 38, 0.55);
  cursor: pointer;
}
.lead-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  max-height: min(90dvh, 560px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}
.lead-modal-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: rgba(7, 21, 38, 0.06);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lead-modal-close:hover {
  background: rgba(7, 21, 38, 0.12);
}
.lead-modal-form input {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.55rem;
  border: 1px solid var(--zillow-border);
  border-radius: 8px;
  font-family: inherit;
}

.mobile-map-toggle {
  display: none;
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--zillow-border);
  background: var(--white);
}

@media (max-width: 900px) and (min-width: 769px) {
  .hero-search-bar {
    grid-template-columns: 1fr 1fr;
  }
  .hero-search-bar input {
    grid-column: 1 / -1;
  }
  .zillow-explorer {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(160px, 26vh) auto;
    min-height: 0;
    max-height: none;
  }
  .site-premium #homes-explorer.zillow-explorer {
    max-height: none;
  }
  .zillow-map-col {
    min-height: 160px;
    max-height: 26vh;
  }
  .zillow-list-col {
    border-left: none;
    border-top: 1px solid var(--zillow-border);
  }
  .homes-list--zillow {
    max-height: none;
  }
  .mobile-map-toggle {
    display: inline-block;
  }
  .zillow-explorer:not(.show-map-mobile):not(.is-map-mode) .zillow-map-col {
    display: none;
  }
  .reviews-wall--three .reviews-wall-grid {
    grid-template-columns: 1fr;
  }
  .brandon-band-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brandon-photo {
    margin: 0 auto;
  }
}

/* --- mobile-fixes.css --- */
/* Mobile + layout fixes — v20260564 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.site-zillow {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 768px) {
  img,
  video,
  iframe,
  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }
}

/* —— Header: thin Zillow-style —— */
@media (max-width: 768px) {
  .site-zillow.site-premium {
    --header-h: 44px;
    padding-top: 0;
    background: #fff;
  }
  .site-zillow .site-header {
    position: sticky;
    top: 0;
    z-index: 900;
  }
  .site-zillow .header-wrap {
    min-height: var(--header-h);
    max-height: var(--header-h);
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.5rem;
  }
  .site-zillow .logo,
  .site-zillow .logo-lg {
    font-size: 0.82rem;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .site-zillow .header-cta.header-cta--mobile,
  .site-zillow .nav-toggle {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    padding: 0 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .site-zillow .nav-toggle {
    margin-left: 0.15rem;
  }

  /* Mobile menu panel: light text on navy (fixes invisible Homes / Sell / Contact) */
  .site-zillow .site-header.is-solid .nav-toggle {
    color: #071526 !important;
    border: 1.5px solid #071526 !important;
    background: #fff !important;
  }

  .site-premium .header-nav.is-open,
  .site-zillow .header-nav.is-open {
    z-index: 220;
    box-shadow: 0 14px 36px rgba(7, 21, 38, 0.22);
  }

  .site-premium .header-nav.is-open a,
  .site-premium .header-nav.is-open .header-nav-link-btn,
  .site-zillow .header-nav.is-open a,
  .site-zillow .header-nav.is-open .header-nav-link-btn {
    color: rgba(255, 255, 255, 0.96) !important;
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.55rem !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    background: transparent !important;
  }

  .site-premium .header-nav.is-open a:hover,
  .site-premium .header-nav.is-open .header-nav-link-btn:hover,
  .site-zillow .header-nav.is-open a:hover,
  .site-zillow .header-nav.is-open .header-nav-link-btn:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
  }

  .site-premium .header-nav.is-open .header-nav-cta,
  .site-zillow .header-nav.is-open .header-nav-cta {
    display: block !important;
    width: 100%;
    margin-top: 0.35rem;
    text-align: center;
    color: #071526 !important;
  }
}

/* Tablet / mobile menu (premium.css hides nav below 960px) */
@media (max-width: 960px) {
  .site-premium .header-nav.is-open a,
  .site-premium .header-nav.is-open .header-nav-link-btn,
  .site-zillow .header-nav.is-open a,
  .site-zillow .header-nav.is-open .header-nav-link-btn {
    color: rgba(255, 255, 255, 0.96) !important;
    background: transparent !important;
  }

  .site-zillow .site-header.is-solid .nav-toggle {
    color: #071526 !important;
    border: 1.5px solid #071526 !important;
    background: #fff !important;
  }
}

/* —— Hero: shorter —— */
.site-zillow .hero-cover {
  min-height: clamp(280px, 38vh, 420px);
}
.site-zillow .hero-cover__inner {
  padding: 0.75rem 0.85rem 0.85rem;
}
.site-zillow .hero-cover__kw {
  width: 84px;
  margin-bottom: 0.35rem;
}
.site-zillow .hero-cover h1 {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  margin-bottom: 0.2rem;
}
.site-zillow .hero-cover .hero-lead {
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}
.site-zillow .hero-search-bar {
  margin-bottom: 0.4rem;
}
.site-zillow .hero-search-bar .btn.btn-gold {
  font-weight: 700;
}
.site-zillow .hero-cta-row--cover {
  margin-bottom: 0.35rem;
}
.site-zillow .hero-cta-row--cover .btn {
  font-size: 0.8rem;
  padding: 0.45rem 0.65rem;
}
.site-zillow .hero-cta-row--cover .btn-secondary-hero {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero-trust-bar .hero-rating {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.hero-trust-bar .hero-trust-sep {
  opacity: 0.5;
}
@media (max-width: 768px) {
  .site-zillow .hero-cover {
    min-height: auto;
  }
  .site-zillow .hero-cover__inner {
    padding: 0.55rem 0.75rem 0.65rem;
  }
  .site-zillow .hero-cover h1 {
    font-size: 1.2rem;
  }
  .site-zillow .hero-cover .hero-lead {
    font-size: 0.76rem;
    margin-bottom: 0.35rem;
  }
  .site-zillow .hero-trust-chips {
    display: none;
  }
  .hero-search-bar {
    gap: 0.3rem;
    margin-bottom: 0.3rem;
  }
  .hero-search-bar input,
  .hero-search-bar select {
    min-height: 40px;
    font-size: 16px;
  }
  .hero-search-bar .btn {
    min-height: 40px;
    font-size: 0.85rem;
  }
  .site-zillow .hero-cta-row--cover {
    margin-bottom: 0.25rem;
  }
  .site-zillow .hero-cta-row--cover .btn-secondary-hero {
    width: 100%;
    text-align: center;
  }
  .hero-trust-bar {
    font-size: 0.68rem;
    gap: 0.25rem 0.45rem;
  }
}

/* —— List / Map pill tabs —— */
.explorer-view-tabs {
  display: flex !important;
  position: sticky;
  top: var(--header-h, 48px);
  z-index: 50;
  margin-bottom: 0.5rem;
  padding: 0.2rem;
  gap: 0.25rem;
  border-radius: 999px;
  background: var(--zillow-bg, #f0f2f5);
  border: 1px solid var(--zillow-border, #e2e6ea);
  box-shadow: 0 2px 8px rgba(7, 21, 38, 0.06);
}
.explorer-view-tabs .view-tab {
  flex: 1;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
.explorer-view-tabs .view-tab.is-active {
  background: var(--navy, #071526);
  color: #fff;
  box-shadow: 0 2px 6px rgba(7, 21, 38, 0.2);
}
@media (min-width: 769px) {
  .explorer-view-tabs {
    display: none !important;
  }
}

/* —— Cards: mobile stacked layout —— */
@media (max-width: 768px) {
  .zillow-card {
    min-height: 0;
    grid-template-columns: 1fr !important;
  }
  .zillow-card-photo-btn {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e8ecf0;
    min-height: 0;
  }
  .zillow-card-photo-btn img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }
  .zillow-card-body {
    padding: 0.65rem 0.75rem 0.75rem !important;
  }
  .premium-card-photo {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8ecf0;
  }
  .premium-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* —— Consent / forms overflow —— */
.consent,
.consent--compact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  font-size: 0.72rem;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.consent input[type='checkbox'] {
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.lead-modal-dialog,
.home-lead-form,
.lead-modal-form {
  max-width: 100%;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  .consent,
  .consent--compact {
    flex-direction: column;
    align-items: stretch;
    font-size: 0.68rem;
    padding-right: 0.25rem;
  }
  .consent input[type='checkbox'] {
    align-self: flex-start;
  }
  .lead-modal-dialog {
    width: 92vw;
    max-width: 92vw;
    max-height: min(92dvh, 92svh);
    overflow-x: hidden;
    overflow-y: auto;
  }
}

/* —— Bottom expert bar: compact —— */
body.has-expert-cta {
  padding-bottom: calc(3.6rem + env(safe-area-inset-bottom, 0px));
}
.expert-cta-bar {
  padding: 0.38rem 0.55rem calc(0.38rem + env(safe-area-inset-bottom, 0px));
  gap: 0.35rem;
}
.expert-cta-bar__primary {
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  border-radius: 8px;
}
.expert-cta-bar__icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 10px;
}
.expert-cta-bar__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

/* —— Zillow vs portals section —— */
.zillow-diff-band {
  padding: 1.25rem 0;
  background: #fff;
  border-top: 1px solid var(--zillow-border, #e2e6ea);
  border-bottom: 1px solid var(--zillow-border, #e2e6ea);
}
.zillow-diff-band h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--navy);
}
.zillow-diff-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.zillow-diff-list li {
  font-size: 0.88rem;
  padding-left: 1.35rem;
  position: relative;
  color: var(--navy);
  line-height: 1.4;
}
.zillow-diff-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-dark, #9a7b1a);
  font-weight: 700;
}

/* —— Search by area —— */
.search-by-area {
  padding: 0.85rem 0;
  background: var(--zillow-bg, #f7f8fa);
}
.search-by-area h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

/* —— Lead steps —— */
.lead-form-steps .lead-step-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.lead-form-steps .lead-step-actions .btn {
  flex: 1;
}
.lead-step-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.lead-capture-band--promo {
  padding: 1.75rem 0 2rem;
}

/* Mobile explorer heights — see layout-fixes.css */

/* --- desktop-fixes.css --- */
/* Desktop layout fixes — MLS alerts sizing + listing cards (769px+) */

@media (min-width: 769px) {
  /* Hero: compact secondary CTA (not full-width pill) */
  .site-zillow .hero-cta-row--cover {
    margin-top: 0.15rem;
  }
  .site-zillow .hero-cta-row--cover .btn-secondary-hero {
    display: inline-flex;
    width: auto;
    max-width: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    line-height: 1.25;
  }

  /* Explorer map list: horizontal Zillow-style cards (not /homes grid) */
  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card {
    display: grid;
    grid-template-columns: 172px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
    min-height: 0;
  }
  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card-photo-btn,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card .zillow-card-photo-btn {
    position: relative;
    overflow: hidden;
    aspect-ratio: auto;
    height: auto;
    min-height: 118px;
    align-self: stretch;
    border-radius: 8px 0 0 8px;
  }
  .homes-list--zillow .zillow-card-photo-btn img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 118px;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card-body,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card .zillow-card-body {
    padding: 0.6rem 0.65rem 0.6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card-price,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card .zillow-card-price {
    font-size: 1rem;
  }
  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card-address,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card .zillow-card-address {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card-actions .btn-sm,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card .zillow-card-actions .btn-sm {
    font-size: 0.7rem;
    padding: 0.28rem 0.45rem;
  }

  /* Featured row: vertical cards, correct photo ratio */
  .featured-grid .premium-card-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
  .featured-grid .premium-card-photo img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .featured-grid .premium-card-body {
    padding: 0.75rem 0.85rem 0.9rem;
  }
  .featured-grid .premium-card-price {
    font-size: 1.05rem;
  }
}

/* --- zillow-experience.css --- */
/**
 * Zillow-style browsing experience — SWMO branding (navy + gold)
 * v20260602
 */

/* Homepage: hide full search/map until user searches */
.site-zillow:not(.has-search-session) #search-results.search-results--idle {
  display: none !important;
}

.site-zillow.has-search-session #search-results {
  display: block;
}

.search-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.35rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--navy, #071526);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-zillow.has-search-session .search-new-btn {
  display: inline-flex;
}

.site-zillow.has-search-session #hero,
.site-zillow.has-search-session #your-local-agent,
.site-zillow.has-search-session #featured-homes,
.site-zillow.has-search-session #luxury-homes {
  display: none;
}

@media (max-width: 768px) {
  .site-zillow.has-search-session #seller-cta {
    display: none;
  }
}

:root {
  --zx-map-width: minmax(380px, 46%);
  --zx-feed-radius: 16px;
  --zx-card-radius: 14px;
  --zx-sticky-top: 58px;
  --zx-explorer-height: calc(100vh - var(--zx-sticky-top) - 24px);
}

/* —— Hero: search-first —— */
.site-zillow .hero-cover h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.site-zillow .hero-lead--search {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 32rem;
  margin-bottom: 1.1rem;
}

.site-zillow .hero-search-bar--zillow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0.65rem;
  max-width: 52rem;
}

@media (min-width: 640px) {
  .site-zillow .hero-search-bar--zillow {
    grid-template-columns: 1.2fr repeat(3, minmax(6.5rem, auto));
    align-items: center;
  }
}

@media (min-width: 900px) {
  .site-zillow .hero-search-bar--zillow {
    grid-template-columns: minmax(200px, 1.35fr) repeat(3, minmax(7rem, 1fr)) auto auto;
  }
}

.site-zillow .hero-search-bar--zillow select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.site-zillow .results-toolbar-filters #filter-property-kind {
  min-width: 7.5rem;
}

.site-zillow .hero-search-bar--zillow input[type='text'] {
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  min-height: 48px;
}

.site-zillow .hero-search-bar--zillow select {
  min-height: 48px;
  border-radius: 10px;
}

.site-zillow .hero-search-bar--zillow .btn-gold {
  min-height: 48px;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
  font-size: 1rem;
}

/* —— Explorer: map left sticky, feed right —— */
@media (min-width: 769px) {
  .search-results .section-inner {
    max-width: min(100%, 1600px);
  }

  .zillow-explorer.is-map-mode .zillow-map-col.map-view,
  .zillow-explorer.is-map-mode #homes-map-wrap {
    display: flex !important;
  }

  .zillow-explorer.is-map-mode {
    display: grid !important;
    grid-template-columns: var(--zx-map-width) minmax(0, 1fr) !important;
    grid-template-areas: 'map feed';
    align-items: start;
    gap: 0 !important;
    min-height: var(--zx-explorer-height);
    max-height: var(--zx-explorer-height);
    height: var(--zx-explorer-height);
    border-radius: var(--zx-feed-radius) !important;
    overflow: hidden;
  }

  .zillow-explorer.is-map-mode .zillow-map-col {
    grid-area: map;
    position: sticky;
    top: var(--zx-sticky-top);
    height: var(--zx-explorer-height);
    max-height: var(--zx-explorer-height);
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e2e6ea;
  }

  .zillow-explorer.is-map-mode .homes-map-shell {
    flex: 1 1 auto;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
  }

  .zillow-explorer.is-map-mode .homes-map-shell .homes-map {
    border-radius: 0;
  }

  .zillow-explorer.is-map-mode .map-listing-rail {
    flex: 0 0 auto;
    max-height: 140px;
  }

  .zillow-explorer.is-map-mode .zillow-list-col {
    grid-area: feed;
    max-height: var(--zx-explorer-height) !important;
    height: var(--zx-explorer-height);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-left: none;
  }

  .zillow-explorer.is-map-mode .homes-list--zillow {
    flex: 1 1 auto;
    max-height: none !important;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 0.75rem 0.85rem 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .zillow-explorer.is-map-mode .homes-pagination {
    flex-shrink: 0;
    padding: 0.65rem 0.85rem;
    background: #fff;
    border-top: 1px solid #e2e6ea;
  }
}

/* —— Listing feed: large premium cards —— */
.homes-list--zillow {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.homes-list--zillow .zillow-card {
  border-radius: var(--zx-card-radius);
  border: 1px solid rgba(7, 21, 38, 0.08);
  box-shadow: 0 2px 14px rgba(7, 21, 38, 0.06);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.homes-list--zillow .zillow-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(7, 21, 38, 0.12);
  border-color: rgba(201, 162, 77, 0.35);
}

.homes-list--zillow .zillow-card.is-active {
  border-color: var(--gold, #c9a24d);
  box-shadow: 0 0 0 2px rgba(201, 162, 77, 0.35), 0 12px 28px rgba(7, 21, 38, 0.1);
}

.homes-list--zillow .zillow-card-photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: #e8ecf0;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.homes-list--zillow .zillow-card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.homes-list--zillow .zillow-card:hover .zillow-card-photo-wrap img {
  transform: scale(1.03);
}

.zillow-card-save {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease;
}

.zillow-card-save:hover {
  transform: scale(1.08);
}

.zillow-card-save.is-saved {
  color: #c41e3a;
}

.zillow-card-tags {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  bottom: auto;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: calc(100% - 3.25rem);
  pointer-events: none;
}

.premium-card--overlay-list .zillow-card-tags {
  top: 0.45rem;
  left: 0.45rem;
  max-width: calc(100% - 2.75rem);
}

.zillow-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(7, 21, 38, 0.82);
  color: #fff;
}

.zillow-card-tag--new {
  background: #1a6b3c;
}

.zillow-card-tag--drop {
  background: #8b2942;
}

.zillow-card-tag--acreage {
  background: #2d5a3d;
}

.zillow-card-tag--luxury {
  background: linear-gradient(135deg, #8b6914, #c9a24d);
  color: #071526;
}

.zillow-card-tag--open {
  background: #1c4a7a;
}

.zillow-card-photo-dots {
  position: absolute;
  bottom: 0.5rem;
  right: 0.65rem;
  z-index: 2;
  display: flex;
  gap: 4px;
  pointer-events: none;
}

.zillow-card-photo-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.zillow-card-photo-dots span.is-active {
  background: #fff;
  width: 8px;
}

.homes-list--zillow .zillow-card-body {
  padding: 0.85rem 1rem 1rem;
}

.homes-list--zillow .zillow-card-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy, #071526);
  margin: 0 0 0.2rem;
}

.homes-list--zillow .zillow-card-address {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.homes-list--zillow .zillow-card-meta {
  font-size: 0.88rem;
  color: var(--text-muted, #5c6570);
}

.homes-list--zillow .zillow-card-actions {
  margin-top: 0.65rem;
  gap: 0.5rem;
}

/* —— Price map markers —— */
.leaflet-div-icon.map-price-marker {
  background: transparent !important;
  border: none !important;
}

.map-price-marker .map-price-label {
  display: inline-block;
  background: var(--navy, #071526);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.map-price-marker.is-active {
  background: var(--gold, #c9a24d);
  color: #071526;
  transform: scale(1.08);
  z-index: 1000 !important;
}

.map-hover-tooltip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Listing detail modal layout — listing-detail-desktop.css + listing-detail-mobile.css */

.listing-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0.75rem 0;
}

.listing-stat {
  text-align: left;
}

.listing-stat-n {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.listing-stat-l {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.listing-save-btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* Discovery carousels in detail */
.listing-discovery-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8ecf0;
}

.listing-discovery-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.listing-discovery-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.listing-discovery-track .premium-card {
  flex: 0 0 min(78vw, 260px);
  scroll-snap-align: start;
}

/* Mobile: bottom sheet feel */
@media (max-width: 768px) {
  .site-zillow.has-search-results .search-results {
    padding-bottom: 0.5rem;
  }

  .zillow-explorer.show-map-mobile {
    position: relative;
  }

  .zillow-explorer.show-map-mobile .zillow-list-col {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    max-height: 52vh;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(7, 21, 38, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .zillow-explorer.show-map-mobile .homes-list--zillow {
    overflow-y: auto;
    flex: 1;
    padding: 0.65rem;
  }

  /* List tab — full-height scrollable results (not a 2-card bottom sheet) */
  .zillow-explorer:not(.show-map-mobile):not(.is-map-mode) .zillow-list-col {
    position: static !important;
    max-height: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .zillow-explorer:not(.show-map-mobile):not(.is-map-mode) .homes-list--zillow {
    max-height: none !important;
    overflow: visible !important;
    padding: 0.65rem 0 1rem !important;
  }

  .homes-list--zillow .zillow-card-photo-wrap {
    aspect-ratio: 4 / 3;
  }

  .explorer-view-tabs {
    position: sticky;
    top: var(--zx-sticky-top);
    z-index: 35;
    background: #fff;
    box-shadow: 0 1px 0 #e2e6ea;
  }
}

/* Skeleton */
.zillow-card--skeleton .zillow-card-photo-wrap {
  background: linear-gradient(90deg, #eceff3 25%, #f5f7f9 50%, #eceff3 75%);
  background-size: 200% 100%;
  animation: zx-shimmer 1.2s ease-in-out infinite;
}

@keyframes zx-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Top progress bar while loading next/prev page or search */
.homes-list-loading-bar {
  display: block;
  width: 100%;
  height: 3px;
  margin: 0 0 0.35rem;
  border-radius: 999px;
  background: rgba(7, 21, 38, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}
.homes-list-loading-bar[hidden] {
  display: none !important;
}
.homes-list-loading-bar__fill {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227 0%, #f5c542 50%, #c9a227 100%);
  animation: homes-list-load-bar 1.1s ease-in-out infinite;
}
@keyframes homes-list-load-bar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}
.zillow-list-col.is-list-loading .homes-pagination {
  opacity: 0.85;
}

.zillow-list-col.is-list-loading .homes-pagination .homes-page-btn:disabled {
  pointer-events: none;
}

/* Listings loading panel */
.homes-loading-panel {
  width: 100%;
  max-width: min(42rem, 100%);
  margin: 0 auto;
  padding: 0.25rem 0 1rem;
  justify-self: center;
}

.homes-list.is-loading > .homes-loading-panel {
  grid-column: 1 / -1;
}

.homes-loading-panel__banner,
.homes-loading-panel .swmo-house-loader--panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #071526 0%, #0f2844 55%, #1a3a5c 100%);
  box-shadow: 0 10px 32px rgba(7, 21, 38, 0.12);
  text-align: center;
}

.homes-loading-panel__spinner {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #f5c542;
  border-radius: 50%;
  animation: homes-load-spin 0.85s linear infinite;
}

@keyframes homes-load-spin {
  to {
    transform: rotate(360deg);
  }
}

.homes-loading-panel__copy {
  min-width: 0;
  text-align: center;
}

.homes-loading-panel__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.homes-loading-panel__sub {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.homes-loading-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .homes-loading-panel__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .homes-loading-panel__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.homes-list.is-loading:empty {
  min-height: 12rem;
}

/* Reduce corporate blocks during active search session */
.site-zillow.has-search-session #trust,
.site-zillow.has-search-session #buying-help,
.site-zillow.has-search-session #reviews,
.site-zillow.has-search-session #lead-capture {
  display: none;
}

/* Marker clusters */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: rgba(7, 21, 38, 0.25);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background: var(--navy, #071526);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
}

/* --- listing-card-pro.css --- */
/**
 * Listing cards — pro CTA row + save heart (all surfaces)
 * v20260704
 */

.premium-card,
.zillow-card.listing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.premium-card-body,
.zillow-card.listing-card > .zillow-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.premium-card-body .zillow-card-info,
.zillow-card-body > .zillow-card-info {
  flex: 1 1 auto;
  min-height: 0;
}

/* Save heart — top right */
.listing-card-save,
.zillow-card-save {
  position: absolute !important;
  top: 0.5rem !important;
  right: 0.5rem !important;
  z-index: 4 !important;
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #6b7280 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(7, 21, 38, 0.12) !important;
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease !important;
}

.listing-card-save:hover,
.zillow-card-save:hover {
  transform: scale(1.08) !important;
  color: #c9a227 !important;
  background: #fff !important;
}

.listing-card-save.is-saved,
.zillow-card-save.is-saved {
  color: #dc2626 !important;
}

/* CTA row */
.listing-card-actions,
.zillow-card-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 0.5rem !important;
  margin-top: auto !important;
  padding-top: 0.75rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.listing-card-btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 0.65rem 0.75rem !important;
  border-radius: 8px !important;
  font-family: inherit !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
  white-space: nowrap !important;
}

.listing-card-btn--outline,
.listing-card-actions .btn-view-details {
  border: 2px solid #071526 !important;
  background: #fff !important;
  color: #071526 !important;
}

.listing-card-btn--outline:hover,
.listing-card-actions .btn-view-details:hover {
  background: #f8fafc !important;
  border-color: #0f2744 !important;
  box-shadow: 0 4px 14px rgba(7, 21, 38, 0.1) !important;
  transform: translateY(-1px) !important;
  color: #071526 !important;
}

.listing-card-btn--primary,
.listing-card-actions .btn-schedule-tour,
.listing-card-actions .btn-gold-outline[data-schedule-showing] {
  border: 2px solid #c9a227 !important;
  background: linear-gradient(180deg, #d4af37 0%, #c9a227 100%) !important;
  color: #071526 !important;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35) !important;
}

.listing-card-btn--primary:hover,
.listing-card-actions .btn-schedule-tour:hover,
.listing-card-actions .btn-gold-outline[data-schedule-showing]:hover {
  background: linear-gradient(180deg, #e0bc42 0%, #d4af37 100%) !important;
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.45) !important;
  transform: translateY(-1px) !important;
  color: #071526 !important;
}

/* Ensure CTAs stay clickable above card overlays */
.listing-card-actions {
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}

.listing-card-actions a,
.listing-card-actions button,
.listing-card-actions .listing-card-btn,
.listing-card-actions .btn-sm {
  position: relative !important;
  z-index: 6 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

a.listing-card-btn--outline,
a.btn-view-details {
  text-decoration: none !important;
}

/* Similar / carousel cards */
.featured-carousel .listing-card-actions,
.lp-similar-track .listing-card-actions,
.homes-list--zillow .listing-card-actions {
  gap: 10px !important;
}

.lp-similar-track > .premium-card .premium-card-meta,
.lp-similar-track > .premium-card .zillow-card-meta {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Mobile: stack View details + Schedule tour; desktop stays side-by-side */
@media (max-width: 768px) {
  .site-zillow .listing-card-actions,
  .site-zillow .zillow-card-actions,
  .site-premium .listing-card-actions,
  .site-premium .zillow-card-actions {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0.4rem !important;
    padding-top: 0.5rem !important;
  }

  .site-zillow .listing-card-btn,
  .site-zillow .listing-card-actions .btn-view-details,
  .site-zillow .listing-card-actions .btn-schedule-tour,
  .site-premium .listing-card-btn,
  .site-premium .listing-card-actions .btn-view-details,
  .site-premium .listing-card-actions .btn-schedule-tour {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 42px !important;
    padding: 0.55rem 0.65rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  .site-zillow .featured-carousel--luxury .zillow-card-actions,
  .site-zillow .featured-carousel .listing-card-actions {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    gap: 0.4rem !important;
  }
}

@media (min-width: 769px) {
  body:not(.homes-search-page) .site-zillow .listing-card-actions,
  body:not(.homes-search-page) .site-zillow .zillow-card-actions {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }
}

/* --- listing-cards-touch.css --- */
/**
 * Listing cards — reliable taps on touch + click on desktop (all viewports).
 */

.featured-carousel,
.map-listing-rail,
.listing-discovery-track {
  -webkit-overflow-scrolling: touch;
}

.featured-carousel .premium-card,
.featured-carousel > *,
.homes-list--zillow .zillow-card,
.map-listing-rail .premium-card,
.listing-discovery-track .premium-card {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(7, 21, 38, 0.06);
}

a.premium-card-hit,
a.zillow-card-photo-btn,
a.zillow-card-info,
a.btn-view-details {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  a.premium-card-hit:hover,
  a.zillow-card-photo-btn:hover,
  a.zillow-card-info:hover {
    opacity: 0.96;
  }
}

/* --- listing-cards-mobile.css --- */
/**
 * Mobile property cards — Zillow-style compact layout, carousel peek, CTA clearance.
 * Load after layout-fixes / swmo-refine. v20260518
 */
@media (max-width: 768px) {
  :root {
    --swmo-mobile-card-w: min(78vw, 288px);
    --swmo-mobile-card-gap: 0.85rem;
    --swmo-mobile-cta-clear: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  /* Sticky expert bar — room for last card + safe area */
  body.has-expert-cta {
    padding-bottom: var(--swmo-mobile-cta-clear);
  }

  body.has-expert-cta main {
    padding-bottom: 0.35rem;
  }

  /* —— Horizontal carousels (featured, luxury, map rail) —— */
  .featured-band--carousel .section-inner,
  .featured-band--carousel > .container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    overflow: visible;
  }

  .featured-carousel,
  .map-listing-rail,
  .listing-discovery-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--swmo-mobile-card-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.65rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 0.25rem 0.65rem 0.55rem;
    margin-inline: -0.65rem;
    scrollbar-width: none;
  }

  .featured-carousel::-webkit-scrollbar,
  .map-listing-rail::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .featured-carousel > *,
  .featured-carousel .premium-card,
  .map-listing-rail .premium-card,
  .listing-discovery-track .premium-card {
    flex: 0 0 var(--swmo-mobile-card-w);
    width: var(--swmo-mobile-card-w);
    max-width: var(--swmo-mobile-card-w);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .featured-carousel .premium-card-photo,
  .map-listing-rail .premium-card-photo {
    aspect-ratio: 4 / 3;
    max-height: 168px;
  }

  .featured-carousel .premium-card-body,
  .map-listing-rail .premium-card-body {
    padding: 0.48rem 0.58rem 0.52rem;
  }

  .featured-carousel .premium-card-price,
  .map-listing-rail .premium-card-price {
    font-size: 0.96rem;
    line-height: 1.25;
    margin: 0;
  }

  .featured-carousel .premium-card-address,
  .map-listing-rail .premium-card-address {
    font-size: 0.76rem;
    line-height: 1.35;
    margin: 0.12rem 0 0;
  }

  .featured-carousel .premium-card-meta,
  .map-listing-rail .premium-card-meta {
    font-size: 0.7rem;
    margin: 0.1rem 0 0;
  }

  /* —— Search results: vertical list, inset narrower cards —— */
  .search-results > .container,
  .zillow-list-col.list-view {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .site-premium .homes-list--zillow:not(.homes-list--grid),
  .homes-list--zillow:not(.homes-list--grid) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--swmo-mobile-card-gap);
    width: 100%;
    max-width: 100%;
    padding: 0.35rem 0 var(--swmo-mobile-cta-clear);
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
  }

  body.homes-search-page #homes-list.homes-list--zillow.homes-list--grid {
    display: grid !important;
    align-items: stretch !important;
    padding: 0 0.35rem var(--swmo-mobile-cta-clear) !important;
  }

  #homepage-preview-grid.homepage-preview-grid.homes-list--zillow,
  .homepage-preview-grid.homes-list--grid,
  body.homes-search-page #homes-list.homes-list--zillow.homes-list--grid {
    display: grid !important;
    flex-direction: unset !important;
    align-items: stretch !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  body.homes-search-page #homes-list.homes-list--zillow.homes-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    padding: 0 0.35rem !important;
  }

  body.homes-search-page .homes-list--zillow .zillow-card:not(.zillow-card--skeleton) {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .homes-list--zillow .zillow-card:not(.zillow-card--skeleton) {
    width: 100%;
    max-width: min(100%, 336px);
    margin-inline: auto;
    box-sizing: border-box;
    border-radius: 11px;
    box-shadow: 0 1px 5px rgba(7, 21, 38, 0.07);
  }

  body.homes-search-page .homes-list--zillow .zillow-card-photo-wrap,
  body.homes-search-page .homes-list--zillow .zillow-card-photo-btn {
    aspect-ratio: 4 / 3;
    max-height: 118px;
    min-height: 0;
  }

  body.homes-search-page .homes-list--zillow .zillow-card-photo-btn img {
    aspect-ratio: 4 / 3;
    max-height: 118px;
    object-fit: cover;
  }

  .homes-list--zillow .zillow-card-photo-wrap,
  .homes-list--zillow .zillow-card-photo-btn {
    aspect-ratio: 16 / 9;
    max-height: 188px;
    min-height: 0;
  }

  .homes-list--zillow .zillow-card-photo-btn img {
    aspect-ratio: 16 / 9;
    max-height: 188px;
    object-fit: cover;
  }

  .homes-list--zillow .zillow-card-body {
    padding: 0.48rem 0.62rem 0.58rem;
  }

  .homes-list--zillow .zillow-card-price {
    font-size: 1rem;
    line-height: 1.25;
    margin: 0;
  }

  .homes-list--zillow .zillow-card-address {
    font-size: 0.8rem;
    line-height: 1.35;
    margin: 0.1rem 0 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .homes-list--zillow .zillow-card-meta {
    font-size: 0.74rem;
    margin: 0.08rem 0 0;
  }

  .homes-list--zillow .zillow-card-idx,
  .homes-list--zillow .zillow-card-courtesy {
    font-size: 0.66rem;
    margin-top: 0.15rem;
  }

  .homes-list--zillow .zillow-card-actions {
    margin-top: 0.38rem;
    gap: 0.32rem;
  }

  .homes-list--zillow .zillow-card-actions .btn-sm {
    font-size: 0.68rem;
    padding: 0.3rem 0.48rem;
  }

  .homes-list--zillow .zillow-card--skeleton {
    max-width: min(100%, 336px);
    margin-inline: auto;
    width: 100%;
  }

  .homes-list--zillow .zillow-card--skeleton .card-skel-thumb {
    aspect-ratio: 16 / 9;
    max-height: 188px;
  }

  .site-premium .homes-list-more,
  .homes-list-more,
  .homes-pagination {
    max-width: min(100%, 336px);
    width: calc(100% - 0.5rem);
    margin-inline: auto;
  }

  /* Results panel — extra clearance above sticky CTA */
  #search-results.search-results,
  .search-results.results-wrapper {
    padding-bottom: 0.35rem;
  }

  .search-results .zillow-explorer {
    margin-bottom: 0.15rem;
  }

  .zillow-list-col {
    padding-bottom: 0.25rem;
  }

  .list-scroll-sentinel {
    min-height: calc(var(--swmo-mobile-cta-clear) * 0.35);
  }
}

@media (max-width: 400px) {
  :root {
    --swmo-mobile-card-w: min(82vw, 268px);
  }

  .homes-list--zillow .zillow-card:not(.zillow-card--skeleton) {
    max-width: min(100%, 320px);
  }
}

/* --- listing-cards-responsive.css --- */
/**
 * Unified listing card photos — desktop list + mobile stack (same image URL, consistent sizing).
 * Load after zillow-explorer-refine.css and listing-cards-mobile.css.
 */

:root {
  --swmo-card-img-w: 220px;
  --swmo-card-img-h: 160px;
  --swmo-card-mobile-photo-h: 240px;
}

/* —— Desktop map list: fixed photo column (not /homes photo-on-top grid) —— */
@media (min-width: 769px) {
  .zillow-explorer.is-map-mode {
    --zx-card-img-w: var(--swmo-card-img-w);
    --zx-card-h: var(--swmo-card-img-h);
    --zx-list-col: 54%;
    --zx-map-col: 46%;
  }

  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card:not(.zillow-card--skeleton),
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card:not(.zillow-card--skeleton) {
    grid-template-columns: var(--swmo-card-img-w) minmax(0, 1fr) !important;
    max-height: var(--swmo-card-img-h) !important;
  }

  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card-photo-wrap.listing-card-photo-wrap,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card .zillow-card-photo-wrap.listing-card-photo-wrap {
    position: relative !important;
    width: var(--swmo-card-img-w) !important;
    min-width: var(--swmo-card-img-w) !important;
    max-width: var(--swmo-card-img-w) !important;
    height: var(--swmo-card-img-h) !important;
    min-height: var(--swmo-card-img-h) !important;
    max-height: var(--swmo-card-img-h) !important;
    aspect-ratio: unset !important;
    flex-shrink: 0 !important;
    background: #e8ecf0 !important;
    overflow: hidden !important;
  }

  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card-photo-btn.listing-card-photo-btn,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card .zillow-card-photo-btn.listing-card-photo-btn {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: var(--swmo-card-img-h) !important;
    aspect-ratio: unset !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .zillow-explorer.is-map-mode .homes-list--zillow .listing-card-photo-img,
  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card-photo-btn img,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card .listing-card-photo-img,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card .zillow-card-photo-btn img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card--skeleton,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card--skeleton {
    grid-template-columns: var(--swmo-card-img-w) minmax(0, 1fr) !important;
    max-height: var(--swmo-card-img-h) !important;
    min-height: var(--swmo-card-img-h) !important;
  }

  .zillow-explorer.is-map-mode .homes-list--zillow .zillow-card--skeleton .card-skel-thumb,
  .homes-list--zillow:not(.homes-list--grid) > .zillow-card--skeleton .card-skel-thumb {
    min-height: var(--swmo-card-img-h) !important;
    max-height: var(--swmo-card-img-h) !important;
    aspect-ratio: unset !important;
  }
}

/* —— Mobile: full-width photo on top, explicit height —— */
@media (max-width: 768px) {
  .homes-list--zillow .zillow-card:not(.zillow-card--skeleton) {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    max-height: none !important;
    width: 100% !important;
    max-width: min(100%, 380px) !important;
  }

  .homes-list--zillow .zillow-card-photo-wrap.listing-card-photo-wrap,
  .premium-card--rich .premium-card-photo-wrap.listing-card-photo-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: var(--swmo-card-mobile-photo-h) !important;
    min-height: 220px !important;
    max-height: 260px !important;
    aspect-ratio: unset !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #e8ecf0 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  .homes-list--zillow .zillow-card-photo-btn.listing-card-photo-btn,
  .premium-card--rich .zillow-card-photo-btn.listing-card-photo-btn {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 220px !important;
    max-height: 260px !important;
    aspect-ratio: unset !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8ecf0 !important;
  }

  .homes-list--zillow .listing-card-photo-img,
  .homes-list--zillow .zillow-card-photo-btn img,
  .premium-card--rich .listing-card-photo-img,
  .premium-card--rich .zillow-card-photo-btn img {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 220px !important;
    max-height: 260px !important;
    aspect-ratio: unset !important;
    object-fit: cover !important;
    object-position: center center !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .featured-carousel .premium-card-photo-wrap.listing-card-photo-wrap,
  .map-listing-rail .premium-card-photo-wrap.listing-card-photo-wrap {
    height: 168px !important;
    min-height: 140px !important;
    max-height: 188px !important;
    aspect-ratio: unset !important;
  }

  .featured-carousel .listing-card-photo-img,
  .map-listing-rail .listing-card-photo-img {
    min-height: 140px !important;
    max-height: 188px !important;
  }

  /* Listing modal — Similar homes & discovery rows (index + homes) */
  body.listing-modal-open #listing-modal .lp-similar-track .premium-card-photo-wrap.listing-card-photo-wrap,
  body.listing-modal-open #listing-modal .ld-similar-track .premium-card-photo-wrap.listing-card-photo-wrap,
  body.listing-modal-open #listing-modal .modal-similar-grid .premium-card-photo-wrap.listing-card-photo-wrap,
  body.listing-modal-open #listing-modal .listing-discovery-track .premium-card-photo-wrap.listing-card-photo-wrap {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 220px !important;
    aspect-ratio: unset !important;
  }

  body.listing-modal-open #listing-modal .lp-similar-track .listing-card-photo-img,
  body.listing-modal-open #listing-modal .ld-similar-track .listing-card-photo-img,
  body.listing-modal-open #listing-modal .modal-similar-grid .listing-card-photo-img,
  body.listing-modal-open #listing-modal .listing-discovery-track .listing-card-photo-img,
  body.listing-modal-open #listing-modal .lp-similar-track .zillow-card-photo-btn img,
  body.listing-modal-open #listing-modal .ld-similar-track .zillow-card-photo-btn img,
  body.listing-modal-open #listing-modal .modal-similar-grid .zillow-card-photo-btn img,
  body.listing-modal-open #listing-modal .listing-discovery-track .zillow-card-photo-btn img {
    position: relative !important;
    display: block !important;
    min-height: 200px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Neutral placeholder when image missing */
.listing-card-photo-wrap.is-placeholder {
  background: #e8ecf0 url('/images/og-image.svg') center / 42% auto no-repeat !important;
}

.listing-card-photo-img.is-fallback {
  object-fit: contain !important;
  object-position: center !important;
  padding: 12px;
  background: #eef1f4;
}

/* --- house-loader.css --- */
/* Animated house loader — browse tiles & listing grid */
.swmo-house-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  color: #fff;
}

.swmo-house-loader__icon {
  width: 2.75rem;
  height: 2.75rem;
  color: #f5c542;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  animation: swmo-house-bob 1.4s ease-in-out infinite;
}

.swmo-house-loader__roof {
  animation: swmo-house-roof 1.4s ease-in-out infinite;
  transform-origin: 24px 22px;
}

.swmo-house-loader__pin {
  animation: swmo-house-pin 1.4s ease-in-out infinite;
}

@keyframes swmo-house-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes swmo-house-roof {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes swmo-house-pin {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-3px);
    opacity: 0.7;
  }
}

.swmo-house-loader__text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.swmo-house-loader__label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.swmo-house-loader--card {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1rem;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0.45) 0%,
    rgba(7, 21, 38, 0.78) 100%
  );
}

.category-card--loading {
  position: relative;
  pointer-events: none;
  overflow: hidden;
}

.category-card--loading::before {
  opacity: 0.35;
}

.category-card--loading .swmo-house-loader__icon {
  width: 3rem;
  height: 3rem;
}

.category-card--loading.is-active {
  outline: 3px solid #f5c542 !important;
  outline-offset: 2px !important;
}

.category-card--loading-text::before {
  opacity: 0.55 !important;
}

.category-card--loading-text .category-card__label,
.category-card--loading-text .category-card__desc {
  position: relative;
  z-index: 3;
}

.category-card--loading-text .category-card__label {
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  animation: swmo-browse-label-pulse 1.4s ease-in-out infinite;
}

.category-card--loading-text .category-card__desc {
  opacity: 0.95 !important;
  font-weight: 600 !important;
}

.category-card__loading-label {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.85rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  animation: swmo-browse-label-pulse 1.4s ease-in-out infinite;
}

@keyframes swmo-browse-label-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

@media (max-width: 768px) {
  .category-card--loading-text .category-card__label,
  .category-card__loading-label {
    font-size: 0.86rem;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

.popular-chip--loading {
  pointer-events: none;
  opacity: 0.92;
}

.popular-chip--loading::before {
  content: '';
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.35rem;
  vertical-align: -0.1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: swmo-chip-spin 0.65s linear infinite;
}

@keyframes swmo-chip-spin {
  to {
    transform: rotate(360deg);
  }
}

.swmo-house-loader--panel {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.swmo-house-loader--panel .swmo-house-loader__icon {
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
}

.swmo-house-loader--panel .swmo-house-loader__copy {
  min-width: 0;
}

.swmo-house-loader--panel .swmo-house-loader__title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.swmo-house-loader--panel .swmo-house-loader__sub {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.browse-loading-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.browse-loading-hint .swmo-house-loader__icon {
  width: 1.35rem;
  height: 1.35rem;
  vertical-align: middle;
}

.browse-loading-hint.is-loading {
  color: #3c4043;
}

/* Submit buttons — house icon + label while sending */
button.is-btn-loading,
.btn.is-btn-loading {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  pointer-events: none;
}

button.is-btn-loading .swmo-house-loader__icon--btn,
.btn.is-btn-loading .swmo-house-loader__icon--btn {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  animation: swmo-house-bob 1.1s ease-in-out infinite;
}

button.is-btn-loading .btn-loading-label,
.btn.is-btn-loading .btn-loading-label {
  line-height: 1.2;
}

/* Listing grid / homepage cards — house icon until cover photo is ready */
.listing-card-photo-wrap.is-loading-photo,
.premium-card-photo-wrap.is-loading-photo,
.zillow-card-photo-wrap.is-loading-photo {
  position: relative;
  background: linear-gradient(145deg, #e8ecf1 0%, #dfe5ec 100%);
}

.listing-card-photo-wrap.is-loading-photo .listing-card-photo-img,
.premium-card-photo-wrap.is-loading-photo .listing-card-photo-img,
.zillow-card-photo-wrap.is-loading-photo img {
  opacity: 0.35;
  transition: opacity 0.25s ease;
}

.listing-card-photo-wrap.is-photo-ready .listing-card-photo-img,
.premium-card-photo-wrap.is-photo-ready .listing-card-photo-img {
  opacity: 1;
}

.premium-card--overlay-list .listing-card-photo-wrap .listing-card-photo-img,
.premium-card--overlay-list .listing-card-photo-hit .listing-card-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
}

.listing-card-photo-wrap.is-photo-ready .listing-card-photo-img,
.premium-card-photo-wrap.is-photo-ready .listing-card-photo-img,
.zillow-card-photo-wrap.is-photo-ready img {
  opacity: 1;
}

.listing-card-photo-loading {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: linear-gradient(145deg, #e8ecf1 0%, #dfe5ec 100%);
}

.listing-card-photo-loading .swmo-house-loader__icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--kw-navy, #1a365d);
  opacity: 0.88;
  filter: none;
  animation: swmo-house-bob 1.4s ease-in-out infinite;
}

/* Price/address on photo shows after load; house icon while loading */
.listing-card-photo-wrap.is-loading-photo .listing-card-photo-overlay {
  opacity: 0;
  visibility: hidden;
}

/* Newest homes — keep price/address visible while photo loads (mobile networks) */
.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-wrap.is-loading-photo .listing-card-photo-overlay {
  opacity: 1;
  visibility: visible;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-loading {
  z-index: 6 !important;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0.35) 0%,
    rgba(7, 21, 38, 0.55) 100%
  ) !important;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-loading .swmo-house-loader__icon {
  color: #f5c542 !important;
  opacity: 1 !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.listing-card-photo-wrap.is-photo-ready .listing-card-photo-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease;
}

/* Desktop + mobile — house icon on every grid card while cover loads */
@media (min-width: 769px) {
  .listing-card-photo-loading {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .listing-card-photo-loading .swmo-house-loader__icon {
    width: 2.75rem;
    height: 2.75rem;
    color: #f5c542;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  }
}

@media (max-width: 768px) {
  .listing-card-photo-loading .swmo-house-loader__icon {
    width: 3rem;
    height: 3rem;
  }

  .listing-photo-loading .swmo-house-loader__icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* Cover visible underneath while rest of gallery preloads */
.listing-modal-media--hero.has-hero-photo.is-loading-photos .listing-photo-loading,
#listing-modal-gallery-wrap.has-hero-photo.is-loading-photos .listing-photo-loading {
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0.28) 0%,
    rgba(7, 21, 38, 0.55) 100%
  );
}

/* Listing detail — progressive photo load overlay */
/* Listing detail hero — house icon on main gallery while photos load */
.gallery-skeleton-house {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gallery-skeleton-house .swmo-house-loader__icon--gallery,
.gallery-skeleton-house .swmo-house-loader__icon {
  width: 3.25rem;
  height: 3.25rem;
  color: #f5c542;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  animation: swmo-house-bob 1.4s ease-in-out infinite;
}

.listing-card-price-drop,
.zillow-card-price-drop {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: #b45309;
}

.listing-card-photo-overlay .listing-card-price-drop {
  color: #fde68a;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

body.listing-modal-open #listing-modal .lp-headline__price-stack {
  flex: 1 1 auto;
  min-width: 0;
}

body.listing-modal-open #listing-modal .lp-price-reduced {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #b45309;
}

@media (min-width: 769px) {
  body.listing-modal-open #listing-modal .lp-price-reduced {
    font-size: 1.15rem;
  }
}

.listing-photo-loading {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0.55) 0%,
    rgba(7, 21, 38, 0.82) 100%
  );
  pointer-events: none;
}

.listing-photo-loading__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.listing-photo-loading__sub {
  margin: 0;
  max-width: 18rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.listing-photo-loading .swmo-house-loader__icon,
.listing-photo-loading .swmo-house-loader__icon--gallery {
  width: 3.25rem;
  height: 3.25rem;
  color: #f5c542;
  animation: swmo-house-bob 1.4s ease-in-out infinite;
}

/* Compact bar — visible over cover photo while rest of gallery preloads (Zillow-style) */
.listing-photo-loading--compact {
  inset: auto 0 0 0;
  top: auto;
  height: auto;
  min-height: 3.25rem;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem 0.75rem;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0) 0%,
    rgba(7, 21, 38, 0.72) 28%,
    rgba(7, 21, 38, 0.92) 100%
  );
  pointer-events: none;
  z-index: 12;
}

.listing-photo-loading--compact .swmo-house-loader__icon,
.listing-photo-loading--compact .swmo-house-loader__icon--gallery {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}

.listing-photo-loading--compact .listing-photo-loading__copy {
  text-align: left;
  min-width: 0;
}

.listing-photo-loading--compact .listing-photo-loading__title {
  font-size: 0.92rem;
  font-weight: 800;
}

.listing-photo-loading--compact .listing-photo-loading__sub {
  font-size: 0.8rem;
  max-width: none;
}

#listing-modal-gallery-wrap.is-gallery-preloading .gallery-main,
.listing-modal-media--hero.is-gallery-preloading .gallery-main {
  position: relative;
}

.lp-gallery-badge.is-loading {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  background: rgba(7, 21, 38, 0.88) !important;
  color: #f5c542 !important;
  font-weight: 800;
  animation: swmo-gallery-badge-pulse 1.2s ease-in-out infinite;
}

@keyframes swmo-gallery-badge-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

.listing-modal-media--hero.is-loading-photos {
  position: relative;
  min-height: 220px;
}

/* Full-screen overlay only when hero has no photo yet — never hide a loaded image */
.listing-modal-media--hero.is-loading-photos:not(.has-hero-photo) img#modal-image,
.listing-modal-media--hero.is-loading-photos:not(.has-hero-photo) .gallery-photo,
.listing-modal-media--hero.is-loading-photos .gallery-main:not(.is-photo-loaded) img#modal-image,
#listing-modal-gallery-wrap.is-loading-photos:not(.has-hero-photo) img#modal-image,
#listing-modal-gallery-wrap.is-loading-photos:not(.has-hero-photo) .gallery-photo,
#listing-modal-gallery-wrap.is-loading-photos .gallery-main:not(.is-photo-loaded) img#modal-image {
  opacity: 0 !important;
  visibility: visible !important;
  display: block !important;
  pointer-events: none;
}

.listing-modal-media--hero.has-hero-photo.is-loading-photos .gallery-main.is-photo-loaded img#modal-image,
#listing-modal-gallery-wrap.has-hero-photo.is-loading-photos .gallery-main.is-photo-loaded img#modal-image,
.listing-modal-media--hero.has-hero-photo:not(.is-loading-photos) .gallery-main.is-photo-loaded img#modal-image,
#listing-modal-gallery-wrap.has-hero-photo:not(.is-loading-photos) .gallery-main.is-photo-loaded img#modal-image {
  opacity: 1 !important;
  visibility: visible !important;
}

#listing-modal-gallery-wrap.is-loading-photos:not(.has-hero-photo) #gallery-thumbs,
#listing-modal-gallery-wrap.is-loading-photos:not(.has-hero-photo) #gallery-thumbs-side,
.listing-modal-media--hero.is-loading-photos:not(.has-hero-photo) #gallery-thumbs,
.listing-modal-media--hero.is-loading-photos:not(.has-hero-photo) #gallery-thumbs-side {
  display: none !important;
  visibility: hidden !important;
}

#listing-modal-gallery-wrap.is-loading-photos.has-hero-photo #gallery-thumbs,
#listing-modal-gallery-wrap.is-loading-photos.has-hero-photo #gallery-thumbs-side,
.listing-modal-media--hero.is-loading-photos.has-hero-photo #gallery-thumbs,
.listing-modal-media--hero.is-loading-photos.has-hero-photo #gallery-thumbs-side,
#listing-modal-gallery-wrap.has-hero-photo #gallery-thumbs:not([hidden]),
#listing-modal-gallery-wrap.has-hero-photo #gallery-thumbs-side:not([hidden]) {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#listing-modal-gallery-wrap.has-hero-photo .gallery-main,
.listing-modal-media--hero.has-hero-photo .gallery-main,
#listing-modal-gallery-wrap.has-hero-photo #gallery-main {
  pointer-events: auto !important;
  cursor: zoom-in;
}

#listing-modal-gallery-wrap.has-hero-photo #gallery-thumbs button,
#listing-modal-gallery-wrap.has-hero-photo #gallery-thumbs-side button {
  pointer-events: auto !important;
  cursor: pointer;
}

#listing-modal-gallery-wrap.is-loading-photos:not(.is-gallery-preloading) .listing-photo-loading,
.listing-modal-media--hero.is-loading-photos:not(.is-gallery-preloading) .listing-photo-loading {
  inset: 0 !important;
  top: 0 !important;
  height: auto !important;
  min-height: 100% !important;
  z-index: 14 !important;
}

#listing-modal-gallery-wrap.is-gallery-preloading .listing-photo-loading,
.listing-modal-media--hero.is-gallery-preloading .listing-photo-loading {
  inset: auto 0 0 0 !important;
  top: auto !important;
  height: auto !important;
  min-height: 3.25rem !important;
  z-index: 14 !important;
}

.listing-modal-media--hero.is-loading-photos .listing-photo-loading,
#listing-modal-gallery-wrap.is-loading-photos .listing-photo-loading {
  opacity: 1 !important;
  visibility: visible !important;
}

.listing-modal-media--hero.is-loading-photos .gallery-main:not(.is-photo-loaded) .gallery-skeleton-house,
#listing-modal-gallery-wrap.is-loading-photos .gallery-main:not(.is-photo-loaded) .gallery-skeleton-house {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Detail headline — house loader instead of fake "Contact for price" */
.listing-detail-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0 1.25rem;
  text-align: center;
  min-height: 4.5rem;
}

.listing-detail-loading__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--kw-navy, #1a365d);
}

.listing-detail-loading__sub {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.listing-detail-loading .swmo-house-loader__icon--detail,
.listing-detail-loading .swmo-house-loader__icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--kw-navy, #1a365d);
  animation: swmo-house-bob 1.4s ease-in-out infinite;
}

body.listing-modal-open #listing-modal.is-detail-loading .lp-headline > :not(#listing-detail-loading) {
  display: none !important;
}

body.listing-modal-open #listing-modal.is-detail-loading #listing-detail-loading {
  display: flex !important;
}

/* Hide all listing detail content until photos + MLS data are ready */
body.listing-modal-open #listing-modal.is-listing-settling .lp-headline > :not(#listing-detail-loading),
body.listing-modal-open #listing-modal.is-listing-settling .lp-sections,
body.listing-modal-open #listing-modal.is-listing-settling .lp-aside,
body.listing-modal-open #listing-modal.is-listing-settling .listing-modal-panel,
body.listing-modal-open #listing-modal.is-listing-settling #listing-mobile-footer,
body.listing-modal-open #listing-modal.is-listing-settling #listing-detail-sticky-bar {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding-block: 0 !important;
  border: 0 !important;
}

body.listing-modal-open #listing-modal.is-listing-settling .lp-headline {
  min-height: 4.5rem;
}

body.listing-modal-open #listing-modal.is-listing-settling #listing-detail-loading {
  display: flex !important;
}

.gallery-skeleton-house__label {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f5c542;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.gallery-main.is-photo-loaded .gallery-skeleton-house,
#listing-modal-gallery-wrap:not(.is-loading-photos) .gallery-skeleton-house,
.listing-modal-media--hero:not(.is-loading-photos) .gallery-skeleton-house {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

@media (max-width: 768px) {
  body.listing-modal-open #listing-modal .lp-gallery-controls,
  body.listing-modal-open #listing-modal #gallery-controls {
    z-index: 28 !important;
  }

  body.listing-modal-open #listing-modal .lp-gallery-nav,
  body.listing-modal-open #listing-modal .gallery-nav {
    z-index: 29 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  .gallery-skeleton-house {
    z-index: 4 !important;
  }

  #listing-modal-gallery-wrap.is-loading-photos .gallery-main:not(.is-photo-loaded) .gallery-skeleton-house,
  .listing-modal-media--hero.is-loading-photos .gallery-main:not(.is-photo-loaded) .gallery-skeleton-house {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .listing-detail-loading .swmo-house-loader__icon--detail,
  .listing-detail-loading .swmo-house-loader__icon {
    width: 3rem;
    height: 3rem;
  }
}

#listing-modal-gallery-wrap.is-loading-photos img#modal-image[src*='listing-placeholder'],
.listing-modal-media--hero.is-loading-photos img#modal-image[src*='listing-placeholder'] {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Featured / carousel skeleton cards */
.swmo-house-loader--featured {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: linear-gradient(145deg, #e8ecf1 0%, #dfe5ec 100%);
}

.swmo-house-loader--featured .swmo-house-loader__icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--kw-navy, #1a365d);
  opacity: 0.55;
}

/* --- homes-search-page.css --- */
/**
 * Dedicated /homes search results — mobile + desktop
 */

body.homes-search-page {
  background: #f4f5f7;
}

/* /homes uses the same bottom expert bar as the homepage (Talk + call + text) */
@media (max-width: 768px) {
  body.homes-search-page.has-expert-cta {
    padding-bottom: calc(3.6rem + env(safe-area-inset-bottom, 0px));
  }

  body.homes-search-page .homes-list--zillow.homes-list--grid {
    padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
  }

  body.homes-search-page.listing-modal-open .expert-cta-bar,
  body.homes-search-page.lead-modal-open .expert-cta-bar {
    display: none !important;
  }
}

.homes-page-hero {
  padding: 1rem 0 0.75rem;
  background: linear-gradient(180deg, #071526 0%, #0f2844 100%);
  color: #fff;
}

.homes-page-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  text-align: center;
}

.homes-page-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.homes-page-hero__top .homes-back-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.homes-page-hero__top .homes-back-link:hover {
  color: #fff;
  text-decoration: underline;
}

.homes-page-hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.homes-page-hero__sub {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

body.homes-search-page .homes-page-search.hero-search-bar--simple {
  max-width: min(44rem, 96vw);
  margin: 0 auto;
}

body.homes-search-page .homes-page-hero__top {
  justify-content: center;
}

body.homes-search-page .homes-browse-band {
  display: none !important;
}

body.homes-search-page .explorer-view-tabs--toolbar,
body.homes-search-page #explorer-view-tabs {
  display: none !important;
}

/* Results fill page */
body.homes-search-page #search-results {
  display: block !important;
  padding: 1rem 0 2.5rem;
  background: #f4f5f7;
}

body.homes-search-page #search-results .section-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(0.75rem, 2vw, 1.25rem);
  box-sizing: border-box;
}

body.homes-search-page #search-results > .container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.homes-search-page .results-toolbar {
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8eaed;
  box-shadow: 0 2px 12px rgba(7, 21, 38, 0.06);
}

/* Compact filter dropdowns — professional toolbar chips */
body.homes-search-page .results-toolbar-filters .toolbar-select,
body.homes-search-page .results-toolbar-filters select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  height: 2.125rem;
  min-height: 2.125rem;
  max-height: 2.125rem;
  padding: 0 1.75rem 0 0.55rem;
  margin: 0;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  color: #1f2937;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 0.65rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(7, 21, 38, 0.05);
  cursor: pointer;
  flex: 0 1 auto;
  min-width: 5.5rem;
  max-width: 10.5rem;
  width: auto;
}

body.homes-search-page .results-toolbar-filters .toolbar-select:hover,
body.homes-search-page .results-toolbar-filters select:hover {
  border-color: #9ca3af;
}

body.homes-search-page .results-toolbar-filters .toolbar-select:focus,
body.homes-search-page .results-toolbar-filters select:focus {
  outline: none;
  border-color: #071526;
  box-shadow: 0 0 0 2px rgba(7, 21, 38, 0.12);
}

body.homes-search-page .results-toolbar-filters .toolbar-price {
  min-width: 6.75rem;
  max-width: 9.5rem;
}

body.homes-search-page .results-toolbar-filters #filter-beds {
  min-width: 6.25rem;
  max-width: 8.5rem;
}

body.homes-search-page .results-toolbar-filters #filter-property-kind {
  min-width: 6.5rem;
  max-width: 9rem;
}

body.homes-search-page .results-toolbar-filters #filter-per-page {
  min-width: 5.75rem;
  max-width: 7.5rem;
}

body.homes-search-page .browse-active-label {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  margin: 0 0 0.2rem;
}

body.homes-search-page .results-count {
  font-size: 0.95rem;
  color: #374151;
}

/* List / Map toggle — top right of results toolbar */
body.homes-search-page .results-toolbar--with-view {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Google-style cards: stacked full-width CTAs on mobile AND desktop */
body.homes-search-page .homes-list--grid .listing-card-actions,
body.homes-search-page .homes-list--grid .zillow-card-actions,
body.homes-search-page .premium-card--overlay-list .listing-card-actions {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 0.4rem !important;
  align-items: stretch !important;
}

body.homes-search-page .homes-list--grid .listing-card-btn,
body.homes-search-page .premium-card--overlay-list .listing-card-btn,
body.homes-search-page .premium-card--overlay-list .btn-view-details,
body.homes-search-page .premium-card--overlay-list .btn-schedule-tour {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  min-height: 42px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 0.55rem 0.65rem !important;
  border-radius: 8px !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.homes-search-page .homes-list--grid .listing-card-btn--outline {
  border-width: 1.5px !important;
  box-shadow: none !important;
}

body.homes-search-page .homes-list--grid .listing-card-btn--primary {
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.28) !important;
}

body.homes-search-page .results-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

body.homes-search-page .results-toolbar-row .results-toolbar-left {
  flex: 1 1 200px;
  min-width: 0;
}

body.homes-search-page .explorer-view-tabs--toolbar {
  display: flex !important;
  flex: 0 0 auto;
  margin-left: auto;
  position: static;
  top: auto;
  z-index: 2;
  padding: 0.2rem;
  gap: 0.2rem;
  border-radius: 999px;
  background: #f0f2f5;
  border: 1px solid #e8eaed;
  box-shadow: 0 2px 8px rgba(7, 21, 38, 0.06);
}

body.homes-search-page .explorer-view-tabs--toolbar .view-tab {
  min-width: 4.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #374151;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

body.homes-search-page .explorer-view-tabs--toolbar .view-tab.is-active {
  background: #071526;
  color: #fff;
}

body.homes-search-page #homes-map-wrap[hidden] {
  display: none !important;
}

body.homes-search-page .zillow-explorer.is-list-only,
body.homes-search-page #homes-explorer.zillow-explorer.is-list-only {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.homes-search-page .zillow-explorer.is-list-only .zillow-list-col {
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
}

body.homes-search-page .zillow-explorer.is-list-only .homes-list-carousel {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.homes-search-page .zillow-explorer.is-list-only .homes-list-scroll-viewport {
  width: 100%;
  overflow: visible !important;
  scroll-snap-type: none;
}

body.homes-search-page .zillow-explorer.is-list-only .homes-list-scroll-btn {
  display: none !important;
}

/* Horizontal carousel shell — scroll buttons on sides (desktop) */
.homes-list-carousel {
  position: relative;
  width: 100%;
}

.homes-list-scroll-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #c9a227 #e8eaed;
}

.homes-list-scroll-viewport::-webkit-scrollbar {
  height: 8px;
}

.homes-list-scroll-viewport::-webkit-scrollbar-thumb {
  background: #c9a227;
  border-radius: 4px;
}

.homes-list-scroll-btn {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #071526;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(7, 21, 38, 0.18);
  transition: background 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.homes-list-scroll-btn:hover:not(:disabled) {
  background: #071526;
  color: #fff;
}

.homes-list-scroll-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.homes-list-scroll-btn--prev {
  left: 0.35rem;
}

.homes-list-scroll-btn--next {
  right: 0.35rem;
}

/* Listing grid — mobile: 2 columns (6+ homes above fold); desktop: 2+ cols */
body.homes-search-page .homes-list--grid,
body.homes-search-page .homes-list--grid.homes-list--carousel {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.65rem !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 0.35rem !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  align-items: stretch !important;
}

@media (min-width: 769px) {
  body.homes-search-page .homes-list--grid,
  body.homes-search-page .homes-list--grid.homes-list--carousel,
  body.homes-search-page #homes-list.homes-list--grid,
  body.homes-search-page #homes-list.homes-list--zillow.homes-list--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.1rem !important;
    padding: 0 !important;
  }

  body.homes-search-page .site-premium #homes-explorer.is-list-only .homes-list.homes-list--grid,
  body.homes-search-page .site-premium #homes-explorer.is-list-only #homes-list.homes-list--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 900px) {
  body.homes-search-page .results-toolbar,
  body.homes-search-page .idx-search-disclaimer,
  body.homes-search-page .homes-pagination {
    max-width: min(1400px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  body.homes-search-page .results-toolbar {
    margin-bottom: 1rem;
  }

  body.homes-search-page .homes-list--grid,
  body.homes-search-page .homes-list--grid.homes-list--carousel,
  body.homes-search-page #homes-list.homes-list--grid,
  body.homes-search-page #homes-list.homes-list--zillow.homes-list--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.35rem !important;
    padding: 0 clamp(0.5rem, 1.5vw, 1rem) !important;
  }

  body.homes-search-page .homes-list--carousel .premium-card--rich,
  body.homes-search-page .homes-list--carousel .premium-card--search {
    width: 100% !important;
    max-width: none !important;
    flex: unset !important;
  }
}

@media (min-width: 1200px) {
  body.homes-search-page .homes-list--grid,
  body.homes-search-page .homes-list--grid.homes-list--carousel,
  body.homes-search-page #homes-list.homes-list--grid,
  body.homes-search-page #homes-list.homes-list--zillow.homes-list--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.15rem !important;
  }
}

body.homes-search-page .homes-list--grid .premium-card--rich {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eaed;
  box-shadow: 0 2px 14px rgba(7, 21, 38, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.homes-search-page .homes-list--grid .premium-card--rich:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(7, 21, 38, 0.12);
}

body.homes-search-page .homes-list--grid .premium-card-photo-wrap,
body.homes-search-page .homes-list--grid .listing-card-photo-wrap,
body.homes-search-page .homes-list--carousel .premium-card-photo-wrap,
body.homes-search-page .homes-list--carousel .listing-card-photo-wrap {
  position: relative !important;
  display: block !important;
  aspect-ratio: 4 / 3 !important;
  width: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  border-radius: 0 !important;
  background: #e8ecf0 !important;
  overflow: hidden !important;
}

body.homes-search-page .homes-list--grid .zillow-card-photo-btn,
body.homes-search-page .homes-list--grid .premium-card-photo,
body.homes-search-page .homes-list--carousel .zillow-card-photo-btn,
body.homes-search-page .homes-list--carousel .premium-card-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.homes-search-page .homes-list--grid .listing-card-photo-img,
body.homes-search-page .homes-list--grid .zillow-card-photo-btn img,
body.homes-search-page .homes-list--carousel .listing-card-photo-img,
body.homes-search-page .homes-list--carousel .zillow-card-photo-btn img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  visibility: visible !important;
}

body.homes-search-page .homes-list--grid .listing-card-photo-wrap.is-loading-photo .listing-card-photo-img,
body.homes-search-page .homes-list--grid .listing-card-photo-wrap.is-loading-photo .zillow-card-photo-btn img,
body.homes-search-page .homes-list--carousel .listing-card-photo-wrap.is-loading-photo .listing-card-photo-img {
  opacity: 0.35 !important;
}

body.homes-search-page .homes-list--grid .listing-card-photo-wrap.is-photo-ready .listing-card-photo-img,
body.homes-search-page .homes-list--grid .listing-card-photo-wrap.is-photo-ready .zillow-card-photo-btn img,
body.homes-search-page .homes-list--carousel .listing-card-photo-wrap.is-photo-ready .listing-card-photo-img {
  opacity: 1 !important;
}

body.homes-search-page .homes-list--grid .listing-card-photo-loading,
body.homes-search-page .homes-list--carousel .listing-card-photo-loading {
  display: flex !important;
  visibility: visible !important;
  z-index: 6 !important;
}

/* Overlay price + address on photo; CTAs directly below */
body.homes-search-page .premium-card--overlay-list {
  display: flex !important;
  flex-direction: column !important;
}

body.homes-search-page .premium-card--overlay-list .listing-card-photo-hit {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
}

body.homes-search-page .premium-card--overlay-list .listing-card-photo-overlay {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 2 !important;
  padding: 2.25rem 0.7rem 0.6rem !important;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0) 0%,
    rgba(7, 21, 38, 0.55) 42%,
    rgba(7, 21, 38, 0.92) 100%
  ) !important;
  pointer-events: none !important;
}

body.homes-search-page .premium-card--overlay-list .listing-card-photo-overlay__price {
  margin: 0 !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35) !important;
}

body.homes-search-page .premium-card--overlay-list .listing-card-photo-overlay__address {
  margin: 0.2rem 0 0 !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.94) !important;
  line-height: 1.25 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35) !important;
}

body.homes-search-page .premium-card--overlay-list .listing-card-actions {
  flex-shrink: 0 !important;
  margin-top: 0 !important;
  padding: 0.5rem 0.55rem 0.6rem !important;
  gap: 0.4rem !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}

body.homes-search-page .premium-card--overlay-list .listing-card-save {
  z-index: 5 !important;
}

body.homes-search-page .homes-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(7, 21, 38, 0.06);
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

body.homes-search-page .homes-pagination.is-page-loading .homes-page-btn:not(:disabled) {
  pointer-events: auto;
}

@media (max-width: 768px) {
  body.homes-search-page .homes-pagination {
    position: relative;
    z-index: 24;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  body.homes-search-page .homes-pagination .homes-page-btn,
  body.homes-search-page .homes-pagination .homes-page-btn * {
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  body.homes-search-page .zillow-list-col.is-list-loading .homes-pagination {
    pointer-events: auto !important;
  }
}

body.homes-search-page .homes-list.is-page-loading {
  opacity: 0.92;
  transition: opacity 0.12s ease;
}

body.homes-search-page .homes-page-loading-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: rgba(7, 21, 38, 0.06);
  color: #071526;
  font-weight: 700;
}

body.homes-search-page .homes-page-loading-panel .swmo-house-loader__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #c9a24d;
  animation: swmo-house-bob 1.4s ease-in-out infinite;
}

.listing-card-price-drop,
.zillow-card-price-drop {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: #b45309;
}

.listing-card-photo-overlay .listing-card-price-drop {
  color: #fde68a;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

body.listing-modal-open #listing-modal .lp-price-reduced {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #b45309;
}

body.homes-search-page .homes-pagination .homes-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  margin: 0;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid #c5cad1;
  background: #fff;
  color: #071526;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

body.homes-search-page .homes-pagination .homes-page-btn__icon {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.85;
}

body.homes-search-page .homes-pagination .homes-page-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #c9a24d;
  background: #fafbfc;
  box-shadow: 0 4px 14px rgba(7, 21, 38, 0.1);
  color: #071526;
}

body.homes-search-page .homes-pagination .homes-page-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #9ca3af;
}

body.homes-search-page .homes-page-status {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  padding: 0 0.5rem;
}

body.homes-search-page .homes-page-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  line-height: 1.3;
}

body.homes-search-page .homes-page-info__pages {
  font-size: 0.875rem;
  font-weight: 700;
  color: #071526;
}

body.homes-search-page .homes-page-info__range {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
}

@media (max-width: 520px) {
  body.homes-search-page .homes-pagination {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  body.homes-search-page .homes-pagination .homes-page-btn {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 7.5rem;
  }

  body.homes-search-page .homes-page-status {
    flex: 1 1 100%;
    order: -1;
  }
}

body.homes-search-page .search-new-btn {
  display: inline-flex !important;
}

/* Mobile + tablet: scrollable filters, touch-friendly controls */
@media (max-width: 899px) {
  body.homes-search-page .homes-page-hero {
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }

  body.homes-search-page .results-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
  }

  body.homes-search-page .results-toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.1rem;
    margin: 0;
    width: 100%;
  }

  body.homes-search-page .results-toolbar-filters .toolbar-select,
  body.homes-search-page .results-toolbar-filters select {
    flex: 0 0 auto;
    height: 2.25rem;
    min-height: 2.25rem;
    max-height: 2.25rem;
    min-width: 5.25rem;
    max-width: 9.5rem;
  }

  body.homes-search-page .homes-pagination .homes-page-btn {
    min-height: 44px;
  }

}

@media (min-width: 900px) {
  body.homes-search-page .results-toolbar {
    align-items: center;
  }

  body.homes-search-page .results-toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 auto;
    max-width: 100%;
  }
}

body.homes-search-page .site-header .header-wrap {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

body.homes-search-page .homes-page-main {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Map view: listings left, map right (desktop) */
@media (min-width: 900px) {
  body.homes-search-page .zillow-explorer.is-map-mode {
    display: grid !important;
    grid-template-columns: minmax(380px, 44%) minmax(0, 1fr) !important;
    grid-template-areas: 'list map' !important;
    gap: 0 !important;
    min-height: calc(100vh - 220px) !important;
    max-height: calc(100vh - 180px) !important;
    height: calc(100vh - 200px) !important;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8eaed;
    background: #fff;
    box-shadow: 0 4px 20px rgba(7, 21, 38, 0.08);
  }

  body.homes-search-page .zillow-explorer.is-map-mode .zillow-list-col {
    grid-area: list;
    display: flex !important;
    flex-direction: column;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    border-right: 1px solid #e8eaed;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .zillow-map-col,
  body.homes-search-page .zillow-explorer.is-map-mode #homes-map-wrap {
    grid-area: map;
    display: flex !important;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    max-height: 100%;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .homes-map-shell {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .homes-map-shell .homes-map {
    height: 100% !important;
    min-height: 320px;
    border-radius: 0;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .homes-list-carousel {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .homes-list-scroll-viewport {
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: none;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .homes-list-scroll-btn {
    display: none !important;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .homes-list--carousel {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 0.85rem !important;
    padding: 0.75rem !important;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .homes-list--carousel .premium-card--rich,
  body.homes-search-page .zillow-explorer.is-map-mode .homes-list--carousel .premium-card--search {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: none;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .homes-list--carousel .premium-card-price,
  body.homes-search-page .zillow-explorer.is-map-mode .homes-list--carousel .zillow-card-price {
    font-size: 1.35rem !important;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .homes-list--carousel .premium-card-address,
  body.homes-search-page .zillow-explorer.is-map-mode .homes-list--carousel .zillow-card-address {
    font-size: 1rem !important;
  }

  body.homes-search-page .zillow-explorer.is-map-mode .homes-pagination {
    flex-shrink: 0;
    border-top: 1px solid #e8eaed;
    margin-top: 0;
  }
}

/* Mobile map: stack map above list when Map tab selected */
@media (max-width: 899px) {
  body.homes-search-page .zillow-explorer.show-map-mobile.is-map-mode {
    display: flex !important;
    flex-direction: column !important;
  }

  body.homes-search-page .zillow-explorer.show-map-mobile.is-map-mode #homes-map-wrap {
    order: 1;
    min-height: min(42vh, 320px);
  }

  body.homes-search-page .zillow-explorer.show-map-mobile.is-map-mode .zillow-list-col {
    order: 2;
    max-height: none;
  }

  body.homes-search-page .explorer-view-tabs--toolbar {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

/* Beat global explorer fixed height + mobile narrow centered cards */
@media (min-width: 769px) {
  body.homes-search-page .site-premium #homes-explorer.zillow-explorer,
  body.homes-search-page #homes-explorer.zillow-explorer.results-panel,
  body.homes-search-page .zillow-explorer.results-panel {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  body.homes-search-page .zillow-list-col.list-view,
  body.homes-search-page .search-results > .container {
    padding-left: clamp(0.5rem, 2vw, 0.75rem) !important;
    padding-right: clamp(0.5rem, 2vw, 0.75rem) !important;
  }

  body.homes-search-page .homes-list--zillow,
  body.homes-search-page .homes-list--grid {
    display: grid !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.homes-search-page .premium-card--search,
  body.homes-search-page .premium-card--rich {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
}

/* Ensure list results are always visible (beat fixed-height explorer rules) */
body.homes-search-page #search-results,
body.homes-search-page #homes-explorer,
body.homes-search-page #homes-explorer.zillow-explorer.results-panel {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body.homes-search-page .zillow-list-col.list-view {
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
  min-height: 0 !important;
  max-height: none !important;
}

body.homes-search-page #homes-list.homes-list--grid,
body.homes-search-page #homes-list.homes-list--zillow {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 8rem;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  flex: none !important;
}

body.homes-search-page #homes-list.is-loading > .homes-loading-panel {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: min(42rem, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-self: center !important;
}

body.homes-search-page #homes-status.list-status {
  text-align: center !important;
  width: 100%;
}

body.homes-search-page #homes-list .premium-card--search,
body.homes-search-page #homes-list .premium-card--rich {
  display: flex !important;
  flex-direction: column !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Loading / empty / no-match: full-width centered — never squeezed into map grid column */
body.homes-search-page .zillow-explorer.is-list-only,
body.homes-search-page .zillow-explorer:not(.is-map-mode),
body.homes-search-page .zillow-explorer.has-empty-results {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

body.homes-search-page .zillow-explorer.is-list-only .zillow-map-col,
body.homes-search-page .zillow-explorer:not(.is-map-mode) .zillow-map-col,
body.homes-search-page .zillow-explorer.has-empty-results .zillow-map-col,
body.homes-search-page #homes-map-wrap[hidden] {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
  border: none !important;
}

body.homes-search-page .zillow-explorer.is-list-only .zillow-list-col,
body.homes-search-page .zillow-explorer:not(.is-map-mode) .zillow-list-col,
body.homes-search-page .zillow-explorer.has-empty-results .zillow-list-col {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  border-left: none !important;
}

body.homes-search-page #homes-list.homes-list--state-empty,
body.homes-search-page #homes-list.homes-list--state-empty.homes-list--grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-inline: clamp(0.5rem, 2vw, 1rem) !important;
  box-sizing: border-box !important;
}

body.homes-search-page #homes-list.homes-list--state-empty > .homes-loading-panel,
body.homes-search-page #homes-list.homes-list--state-empty > .homes-empty,
body.homes-search-page #homes-list.homes-list--state-empty > .homes-empty--pro,
body.homes-search-page #homes-list.homes-list--state-empty > .homes-prompt,
body.homes-search-page #homes-list.homes-list--state-empty > p {
  width: 100% !important;
  max-width: min(40rem, 100%) !important;
  margin-inline: auto !important;
  text-align: center !important;
  justify-self: center !important;
}

body.homes-search-page .results-toolbar,
body.homes-search-page .results-toolbar-row,
body.homes-search-page .results-toolbar-left {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

body.homes-search-page .results-area,
body.homes-search-page .results-count,
body.homes-search-page #location-label {
  text-align: center !important;
  width: 100% !important;
}

/* Homepage search session — same centering when map hidden or no results */
body.site-zillow.has-search-session .zillow-explorer.is-list-only,
body.site-zillow.has-search-session .zillow-explorer:not(.is-map-mode),
body.site-zillow.has-search-session .zillow-explorer.has-empty-results {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
}

body.site-zillow.has-search-session .zillow-explorer.is-list-only .zillow-map-col,
body.site-zillow.has-search-session .zillow-explorer:not(.is-map-mode) .zillow-map-col,
body.site-zillow.has-search-session .zillow-explorer.has-empty-results .zillow-map-col {
  display: none !important;
}

body.site-zillow.has-search-session .zillow-explorer.is-list-only .zillow-list-col,
body.site-zillow.has-search-session .zillow-explorer:not(.is-map-mode) .zillow-list-col,
body.site-zillow.has-search-session .zillow-explorer.has-empty-results .zillow-list-col {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  border-left: none !important;
}

body.site-zillow.has-search-session #homes-list.homes-list--state-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

body.site-zillow.has-search-session #homes-list.homes-list--state-empty > * {
  max-width: min(40rem, 100%) !important;
  margin-inline: auto !important;
  text-align: center !important;
}

/* --- kw-local-brand.css --- */
/**
 * Keller Williams KW Local compliant branding
 * v20260711
 */

:root {
  --kw-red: #b40101;
  --kw-charcoal: #2d2d2d;
  --kw-gray: #6b6b6b;
}

/* —— KW Local lockup (text) —— */
.kw-local-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  line-height: 1;
  text-align: left;
}

.kw-local-lockup__row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.kw-local-lockup__kw {
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--kw-red);
  text-transform: lowercase;
}

.kw-local-lockup__local {
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--kw-charcoal);
  text-transform: uppercase;
}

.kw-local-lockup__legal {
  margin: 0;
  font-size: clamp(0.62rem, 1.4vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--kw-gray);
  text-transform: uppercase;
}

.kw-local-lockup__legal sup {
  font-size: 0.65em;
  vertical-align: super;
}

.kw-local-lockup--img img {
  display: block;
  height: auto;
  width: clamp(140px, 28vw, 200px);
}

/* Header */
.site-zillow .logo-kw-local {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* KW logo stays in header corner; large KW Local wordmark is footer-only */

.site-zillow .site-header.is-solid {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  box-shadow: none;
}

.site-zillow .site-header .header-wrap {
  gap: 1rem;
}

/* Hero brand band */
.hero-compliance-brand {
  margin-top: clamp(1.75rem, 4vh, 2.5rem);
  padding-top: clamp(1.25rem, 3vh, 1.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.hero-compliance-brand .kw-local-lockup {
  align-items: center;
}

.hero-compliance-brand .kw-local-lockup__row {
  justify-content: center;
}

.hero-agent-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero-agent-identity__name {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.01em;
}

.hero-agent-identity__broker {
  margin: 0;
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero-agent-identity__broker .kw-local-lockup__kw {
  font-size: 1.05em;
  font-weight: 800;
  color: var(--kw-red);
  text-transform: lowercase;
}

.hero-agent-identity__sep {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0.2rem;
}

.hero-agent-identity__license {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

/* Footer KW Local wordmark (official image on dark footer) */
.site-footer .footer-kw-local {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 0.85rem;
}

.footer-kw-local-link {
  display: inline-block;
  background: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  line-height: 0;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-kw-local-link:focus-visible {
  outline: 2px solid var(--gold-bright, #c9a227);
  outline-offset: 3px;
}

.footer-kw-local-wordmark {
  display: block;
  width: min(220px, 78vw);
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.site-footer .footer-brokerage-note {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.02em;
}

.site-zillow .header-cta--mobile {
  display: none;
}

@media (max-width: 899px) {
  .site-zillow .header-cta--desktop {
    display: none;
  }

  .site-zillow .header-nav .header-nav-cta {
    display: none;
  }
}

/* --- perf-speed.css --- */
/* Mobile-first speed: transitions, homepage preview, lazy image shimmer */

.swmo-page-transition {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(7, 21, 38, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.swmo-page-transition.is-active {
  opacity: 1;
  pointer-events: auto;
}

.swmo-page-transition__card {
  width: min(100%, 22rem);
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(160deg, #071526 0%, #0f2844 55%, #1a3a5c 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.swmo-page-transition__house-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  min-height: 3.5rem;
}

.swmo-page-transition__house-icon {
  width: 3.25rem;
  height: 3.25rem;
  color: #f5c542;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
  animation: swmo-house-bob 1.4s ease-in-out infinite;
}

.swmo-page-transition__spinner {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 0.85rem;
  border: 3px solid rgba(184, 146, 63, 0.25);
  border-top-color: #b8923f;
  border-radius: 50%;
  animation: swmo-spin 0.75s linear infinite;
}

.swmo-page-transition__title {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.swmo-page-transition__sub {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

@keyframes swmo-house-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Hero search — house loader while MLS search runs */
.hero-search-bar {
  position: relative;
}

.hero-search-bar.is-searching .hero-search-simple {
  opacity: 0.45;
  pointer-events: none;
}

.hero-search-bar.is-searching .hero-search-filters-row {
  opacity: 0.55;
  pointer-events: none;
}

.hero-search-loader {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(
    160deg,
    rgba(7, 21, 38, 0.92) 0%,
    rgba(15, 40, 68, 0.94) 100%
  );
  box-shadow: 0 12px 36px rgba(7, 21, 38, 0.28);
  text-align: center;
  pointer-events: none;
}

.hero-search-loader__icon {
  width: 2.75rem;
  height: 2.75rem;
  color: #f5c542;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  animation: swmo-house-bob 1.4s ease-in-out infinite;
}

.hero-search-loader__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-search-loader__sub {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  max-width: 16rem;
}

.premium-card--skeleton .swmo-house-loader--featured {
  min-height: 9rem;
  background: linear-gradient(145deg, #e8ecf1 0%, #dfe5ec 100%);
}

.premium-card--skeleton .swmo-house-loader--featured .swmo-house-loader__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--kw-navy, #1a365d);
  opacity: 0.7;
  animation: swmo-house-bob 1.4s ease-in-out infinite;
}

.homes-loading-panel .swmo-house-loader--panel .swmo-house-loader__icon {
  width: 3rem;
  height: 3rem;
  color: #f5c542;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

body.swmo-transition-active {
  overflow: hidden;
}

@keyframes swmo-spin {
  to {
    transform: rotate(360deg);
  }
}

/* “Why work with Brandon” — closing band at bottom of homepage (before footer) */
.homepage-brandon-strip {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0 clamp(1.5rem, 3.5vw, 2rem);
  background: #f3f5f8;
  border-top: 1px solid rgba(7, 21, 38, 0.06);
}

.homepage-brandon-strip .section-inner {
  max-width: min(920px, 100%);
  margin: 0 auto;
}

.homepage-brandon-strip__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.1rem, 2.5vw, 1.35rem) clamp(1.15rem, 3vw, 1.5rem);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(7, 21, 38, 0.04),
    0 12px 32px rgba(7, 21, 38, 0.08);
}

.homepage-brandon-strip__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e8c547;
  flex-shrink: 0;
}

.homepage-brandon-strip__body {
  min-width: 0;
}

.homepage-brandon-strip h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #071526;
}

.homepage-brandon-strip__lead {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4a5d73;
  max-width: 42rem;
}

.homepage-brandon-strip__areas {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #5a6d82;
  max-width: 42rem;
}

.homepage-brandon-strip__points {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.homepage-brandon-strip__points li {
  font-size: 0.8rem;
  font-weight: 600;
  color: #071526;
  padding: 0.28rem 0.55rem;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 999px;
}

.homepage-brandon-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .homepage-brandon-strip__card {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .homepage-brandon-strip__photo {
    width: 80px;
    height: 80px;
  }
}

/* Homepage uses compact strip at bottom — hide duplicate full trust band */
body.site-zillow:has(.homepage-brandon-strip) #trust {
  display: none;
}

/* Homepage live preview band — dark house backdrop (matches browse tiles) */
.homepage-preview-band--dark {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(165deg, #0a1f35 0%, #071526 48%, #0d2842 100%);
  color: #fff;
  overflow: hidden;
}

.homepage-preview-band--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Cpath d='M24 6L8 22h4v16h24V22h4L24 6z' stroke='%23f5c542' stroke-width='1.5' stroke-linejoin='round' opacity='0.35'/%3E%3Ccircle cx='24' cy='4' r='2' fill='%23f5c542' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 88px 88px;
  opacity: 0.14;
  pointer-events: none;
}

.homepage-preview-band--dark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(380px, 72vw);
  height: min(380px, 72vw);
  transform: translate(-50%, -50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Cpath d='M24 6L8 22h4v16h24V22h4L24 6z' stroke='%23f5c542' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M20 30h8v8H20z' stroke='%23f5c542' stroke-width='1.5'/%3E%3Cpath d='M28 24h6v6h-6z' stroke='%23f5c542' stroke-width='1.25'/%3E%3Ccircle cx='24' cy='4' r='2.5' fill='%23f5c542'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
}

.homepage-preview-band {
  padding: 2rem 0 2.5rem;
}

.homepage-preview-band .section-inner {
  max-width: min(1400px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.homepage-preview-band--dark .section-inner {
  position: relative;
  z-index: 1;
}

.homepage-preview-band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.homepage-preview-band h2 {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.homepage-preview-band--dark h2 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.homepage-preview-status {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #4a5d73;
}

.homepage-preview-band--dark .homepage-preview-status {
  color: rgba(255, 255, 255, 0.88);
}

.homepage-preview-status.is-loading:not(:has(.homepage-preview-status__row)) {
  background: linear-gradient(90deg, #e8edf3 0%, #f5f7fa 45%, #e8edf3 90%);
  background-size: 200% 100%;
  animation: swmo-shimmer 1.2s ease-in-out infinite;
  border-radius: 6px;
  color: transparent;
  min-height: 1.1em;
  max-width: 20rem;
}

.homepage-preview-status__row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.homepage-preview-status__icon .swmo-house-loader__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #f5c542;
  animation: swmo-house-bob 1.4s ease-in-out infinite;
}

.homepage-preview-band--dark .homepage-preview-status.is-loading .homepage-preview-status__text {
  color: rgba(255, 255, 255, 0.92);
}

.homepage-preview-band--dark .homepage-preview-status.is-loading {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.14) 45%,
    rgba(255, 255, 255, 0.06) 90%
  );
  background-size: 200% 100%;
}

.homepage-preview-band--dark .homepage-preview-more--top {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}

.homepage-preview-band--dark .homepage-preview-more--top:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.homepage-preview-band--dark .homes-page-btn {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(7, 21, 38, 0.35);
}

.homepage-preview-band--dark .homes-page-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.homepage-preview-band--dark .homes-page-info {
  color: rgba(255, 255, 255, 0.9);
}

/* Card photo loaders on dark band */
.homepage-preview-band--dark .premium-card--skeleton .listing-card-photo-wrap.is-placeholder,
.homepage-preview-band--dark .listing-card-photo-wrap.is-loading-photo,
.homepage-preview-band--dark .swmo-house-loader--featured {
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0.5) 0%,
    rgba(7, 21, 38, 0.82) 100%
  ) !important;
}

.homepage-preview-band--dark .listing-card-photo-loading,
.homepage-preview-band--dark .listing-card-photo-loading .swmo-house-loader__icon,
.homepage-preview-band--dark .premium-card--skeleton .swmo-house-loader__icon {
  color: #f5c542 !important;
  opacity: 1 !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* Homepage newest homes — 4 per row (2 rows × 4 = 8), compact tiles */
.homepage-preview-grid.homes-list--grid,
#homepage-preview-grid.homepage-preview-grid.homes-list--zillow {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.55rem !important;
  width: 100% !important;
  max-width: min(1180px, 98vw) !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  flex: none !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  scroll-snap-type: none !important;
}

@media (min-width: 640px) {
  .homepage-preview-grid.homes-list--grid,
  #homepage-preview-grid.homepage-preview-grid.homes-list--zillow {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
  }
}

.homepage-preview-grid.homes-list--grid .premium-card--rich:not(.premium-card--homepage-preview),
.homepage-preview-grid.homes-list--grid .premium-card--overlay-list:not(.premium-card--homepage-preview) {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 140px !important;
  border-radius: 9px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(7, 21, 38, 0.12) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.homepage-preview-grid.homes-list--grid .premium-card--rich:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(7, 21, 38, 0.18) !important;
}

.homepage-preview-grid.homes-list--grid .premium-card--homepage-preview .listing-card-photo-wrap,
.homepage-preview-grid.homes-list--grid .premium-card--homepage-preview .premium-card-photo-wrap {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  flex: none !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  aspect-ratio: unset !important;
  border-radius: 0 !important;
  background: #e8ecf0 !important;
  overflow: hidden !important;
}

.homepage-preview-grid.homes-list--grid .listing-card-photo-hit {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.homepage-preview-grid.homes-list--grid .premium-card--homepage-preview .listing-card-photo-img,
.homepage-preview-grid.homes-list--grid .premium-card--homepage-preview .homepage-preview-card-hit img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.homepage-preview-grid.homes-list--grid .premium-card:not(.premium-card--homepage-preview) .listing-card-photo-img,
.homepage-preview-grid.homes-list--grid .premium-card:not(.premium-card--homepage-preview) .listing-card-photo-hit img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.homepage-preview-pagination {
  margin-top: 1.1rem;
}

.homepage-preview-grid .premium-card--overlay-list .listing-card-photo-overlay {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 2 !important;
  padding: 1.35rem 0.5rem 0.45rem !important;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0) 0%,
    rgba(7, 21, 38, 0.55) 42%,
    rgba(7, 21, 38, 0.92) 100%
  ) !important;
  pointer-events: none !important;
}

.homepage-preview-grid .premium-card--overlay-list .listing-card-photo-overlay__price {
  margin: 0 !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.12 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35) !important;
}

.homepage-preview-grid .premium-card--overlay-list .listing-card-photo-overlay__address {
  margin: 0.12rem 0 0 !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.94) !important;
  line-height: 1.2 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
}

/* Homepage preview — photo fills entire card (no white gap beside image) */
.homepage-preview-grid .premium-card--homepage-preview.premium-card--overlay-list,
.homepage-preview-grid .premium-card--homepage-preview.premium-card--rich {
  display: block !important;
  max-height: none !important;
  height: auto !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

.homepage-preview-grid .premium-card--homepage-preview .homepage-preview-card-hit {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  min-height: clamp(72px, 22vw, 120px) !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #e8ecf0 !important;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 100% !important;
  aspect-ratio: unset !important;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-overlay {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  opacity: 1 !important;
  visibility: visible !important;
  padding: 1.1rem 0.4rem 0.4rem !important;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0) 0%,
    rgba(7, 21, 38, 0.62) 40%,
    rgba(7, 21, 38, 0.96) 100%
  ) !important;
  pointer-events: none !important;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-overlay__price {
  font-size: 0.78rem !important;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-overlay__address {
  font-size: 0.6rem !important;
  -webkit-line-clamp: 1;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-wrap.is-loading-photo .listing-card-photo-overlay {
  opacity: 1 !important;
  visibility: visible !important;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-img {
  z-index: 1 !important;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-loading {
  z-index: 6 !important;
  display: flex !important;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-overlay__price,
.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-overlay__address {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .homepage-preview-grid.homes-list--grid .premium-card--homepage-preview {
    max-height: none !important;
  }

  .homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-overlay {
    padding: 2rem 0.5rem 0.5rem !important;
    min-height: 3.25rem !important;
  }

  .homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-overlay__price {
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55) !important;
  }

  .homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-overlay__address {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5) !important;
  }

  .homepage-preview-grid .premium-card--homepage-preview .homepage-preview-tap-hint {
    margin: 0.2rem 0 0 !important;
    font-size: 0.62rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45) !important;
  }
}

.homepage-preview-grid .premium-card--overlay-list .listing-card-actions,
.homepage-preview-grid.homes-list--grid .listing-card-actions {
  flex-shrink: 0 !important;
  margin-top: auto !important;
  padding: 0.4rem 0.45rem 0.5rem !important;
  gap: 0.35rem !important;
  display: flex !important;
  flex-direction: column !important;
}

.homepage-preview-grid.homes-list--grid .listing-card-btn {
  width: 100% !important;
  min-height: 36px !important;
  padding: 0.4rem 0.5rem !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  border-radius: 8px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

@media (min-width: 769px) {
  /* Newest homes grid — photo must fill full tile (not top half) on desktop */
  .homepage-preview-grid.homes-list--zillow .premium-card--homepage-preview.premium-card--overlay-list,
  .homepage-preview-grid.homes-list--zillow .premium-card--homepage-preview.premium-card--rich {
    display: block !important;
    max-height: none !important;
    height: auto !important;
    width: 100% !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .homepage-preview-grid.homes-list--zillow .premium-card--homepage-preview .homepage-preview-card-hit,
  .homepage-preview-grid.homes-list--zillow .premium-card--homepage-preview a.zillow-card-photo-btn.premium-card-photo {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: clamp(88px, 9vw, 132px) !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
    background: #e8ecf0 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
  }

  .homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-overlay__price {
    font-size: 0.82rem !important;
  }

  .homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-overlay__address {
    font-size: 0.62rem !important;
    -webkit-line-clamp: 1;
  }

  .homepage-preview-grid.homes-list--zillow .premium-card--homepage-preview .listing-card-photo-wrap,
  .homepage-preview-grid.homes-list--zillow .premium-card--homepage-preview .zillow-card-photo-wrap {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    aspect-ratio: unset !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .homepage-preview-grid.homes-list--zillow .premium-card--homepage-preview .listing-card-photo-img,
  .homepage-preview-grid.homes-list--zillow .premium-card--homepage-preview .homepage-preview-card-hit img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .homepage-preview-grid.homes-list--zillow .premium-card--homepage-preview .listing-card-photo-loading {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .homepage-preview-grid .premium-card--homepage-preview .homepage-preview-tap-hint {
    display: none;
  }
}

.homepage-preview-grid.homes-list--grid .listing-card-btn--outline {
  border-width: 1.5px !important;
  box-shadow: none !important;
}

.homepage-preview-grid.homes-list--grid .listing-card-btn--primary {
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.25) !important;
}

.homepage-preview-grid .premium-card--skeleton {
  min-height: 0;
  max-height: 132px;
  width: 100%;
}

.homepage-preview-more-wrap {
  margin-top: 1.35rem;
  text-align: center;
}

.homepage-preview-view-all-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.75rem auto 0;
  font-size: 0.88rem;
  color: #4a5d73;
}

.homepage-preview-band--dark .homepage-preview-view-all-loading {
  color: rgba(255, 255, 255, 0.88);
}

.homepage-preview-view-all-loading .swmo-house-loader__icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.homepage-preview-more {
  min-width: min(100%, 20rem);
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
}

.homepage-preview-band__head .homepage-preview-more--top {
  display: none;
}

@media (min-width: 640px) {
  .homepage-preview-band__head .homepage-preview-more--top {
    display: inline-flex;
    font-size: 0.88rem;
    padding: 0.45rem 0.85rem;
  }
}

/* Homepage listing cards — same photo framing as /homes overlay-list cards */
.homepage-preview-grid .premium-card--overlay-list .listing-card-photo-hit img,
.spotlight-home-card-slot .premium-card--overlay-list .listing-card-photo-hit img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.homepage-preview-grid .premium-card--homepage-preview .listing-card-photo-loading {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.hero-search-filters-row--quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (min-width: 520px) {
  .hero-search-filters-row--quick {
    grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
  }
}

.hero-search-filters-row--quick .hero-filter-city {
  grid-column: 1 / -1;
}

@media (min-width: 520px) {
  .hero-search-filters-row--quick .hero-filter-city {
    grid-column: auto;
  }
}

/* Lazy listing images */
.listing-card-photo-img.is-lazy-pending {
  background: linear-gradient(110deg, #e6ebf1 8%, #f4f6f9 18%, #e6ebf1 33%);
  background-size: 200% 100%;
  animation: swmo-shimmer 1.1s ease-in-out infinite;
  object-fit: cover;
}

@keyframes swmo-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.homes-infinite-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
}

.homes-loading-panel__sub--mls::before {
  content: '';
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #2ecc71;
  vertical-align: 0.05em;
  animation: swmo-pulse-dot 1.4s ease-in-out infinite;
}

@keyframes swmo-pulse-dot {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .homes-pagination.is-infinite-mode {
    display: none;
  }
}

/* Mobile hamburger menu — always visible below 960px */
@media (max-width: 960px) {
  .site-premium .nav-toggle,
  .site-zillow .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    margin-left: auto;
    border: 1.5px solid #071526 !important;
    border-radius: 8px;
    background: #fff !important;
    color: #071526 !important;
    cursor: pointer;
    z-index: 210;
  }

  .nav-toggle__bars {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 18px;
  }

  .nav-toggle__bars span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle.is-open .nav-toggle__bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle__bars span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle__bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-zillow .header-wrap {
    position: relative;
  }

  .site-premium .header-nav,
  .site-zillow .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: #071526;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    gap: 0.15rem;
    z-index: 205;
    box-shadow: 0 12px 32px rgba(7, 21, 38, 0.28);
  }

  .site-premium .header-nav.is-open,
  .site-zillow .header-nav.is-open {
    display: flex !important;
  }

  .site-premium .header-nav.is-open a,
  .site-premium .header-nav.is-open .header-nav-link-btn,
  .site-zillow .header-nav.is-open a,
  .site-zillow .header-nav.is-open .header-nav-link-btn {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 0.5rem !important;
    border-radius: 8px;
    text-align: left;
    width: 100%;
    background: transparent !important;
    border: none;
  }

  .site-premium .header-nav.is-open .header-nav-cta,
  .site-zillow .header-nav.is-open .header-nav-cta {
    display: block !important;
    width: 100%;
    margin-top: 0.35rem;
    text-align: center;
  }

  .site-zillow .header-kw-link,
  .site-zillow .header-cta.header-cta--mobile {
    display: none !important;
  }

  .site-zillow .header-phone-link {
    display: none;
  }
}

@media (min-width: 961px) {
  .nav-toggle {
    display: none !important;
  }
}
