/**
 * SWMO Residential — luxury-modern homepage
 * v20260716
 */

/* —— Header nav buttons (desktop white header only) —— */
@media (min-width: 961px) {
  .site-zillow .header-nav a,
  .site-zillow .header-nav-link-btn {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .site-zillow .header-nav a:hover,
  .site-zillow .header-nav-link-btn:hover {
    background: #f3f4f6;
    color: #071526;
  }
}

.site-zillow .header-nav-cta {
  padding: 0.55rem 1.1rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  white-space: nowrap;
}

.site-zillow .header-cta--mobile {
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
}

/* —— Minimal luxury hero —— */
.site-zillow .hero-cover--luxury {
  min-height: min(54vh, 520px);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.site-zillow .hero-cover__content--minimal,
.site-zillow .hero-cover__content--titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: clamp(1.25rem, 4vh, 2rem) 1rem 1.5rem;
  max-width: min(56rem, 100%);
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.site-zillow .hero-search-kicker {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 4.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f5c542;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.site-zillow .hero-cover--luxury h1,
.site-zillow .hero-cover--luxury .hero-title-main {
  max-width: none;
  font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.site-zillow .hero-cover--luxury .hero-lead {
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  max-width: 34rem;
  margin: 0 0 1.5rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.site-zillow .hero-cover__kw--center,
.site-zillow .hero-recommend-badge,
.site-zillow .hero-agent-chip,
.site-zillow .hero-compliance-brand {
  display: none !important;
}

/* Secondary filter row */
.site-zillow .hero-search-bar--simple .hero-search-filters-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: stretch;
  gap: 0.5rem;
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-zillow .hero-search-bar--simple .hero-search-filters-row select {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 21, 38, 0.5);
  color: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 520px) {
  .site-zillow .hero-search-bar--simple .hero-search-filters-row {
    flex-wrap: wrap;
  }

  .site-zillow .hero-search-bar--simple .hero-search-filters-row select {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 7rem;
  }
}

.hero-search-filters-row select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

/* Hero KW lockup on dark overlay */
.hero-compliance-brand .kw-local-lockup__local {
  color: rgba(255, 255, 255, 0.95);
}

.hero-compliance-brand .kw-local-lockup__legal {
  color: rgba(255, 255, 255, 0.68);
}

/* Intent tabs */
.hero-intent-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  width: 100%;
  max-width: 36rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: rgba(7, 21, 38, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-intent-btn {
  flex: 1 1 calc(50% - 0.35rem);
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 600px) {
  .hero-intent-btn {
    flex: 1 1 0;
    font-size: 0.88rem;
    padding: 0.65rem 1rem;
  }
}

.hero-intent-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-intent-btn.is-active {
  background: #fff;
  color: #071526;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Simple search bar — compact row (homepage + /homes list) */
.site-zillow .hero-search-bar.hero-search-bar--simple,
.site-zillow .hero-search-bar.hero-search-bar--compact {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  grid-template-columns: none !important;
  gap: 0.45rem !important;
  width: 100% !important;
  max-width: min(44rem, 96vw) !important;
  margin: 0 auto 1.15rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative !important;
}

.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple,
.site-zillow .hero-search-bar.hero-search-bar--compact .hero-search-simple {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0.45rem !important;
  width: 100% !important;
  padding: 0.45rem !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 28px rgba(7, 21, 38, 0.18) !important;
}

.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-actions,
.site-zillow .hero-search-bar.hero-search-bar--compact .hero-search-actions {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.45rem !important;
  width: 100% !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
}

/* Autocomplete wrapper must shrink in the flex row so long addresses stay scrollable */
.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple .search-suggest-wrap {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: stretch !important;
}

.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple input[type='text'],
.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple input[type='text'],
.site-zillow .hero-search-bar.hero-search-bar--simple #hero-search-input,
.site-zillow .hero-search-bar.hero-search-bar--simple #homes-page-search-input,
.site-zillow .hero-search-bar.hero-search-bar--compact .hero-search-simple input[type='text'],
.site-zillow .hero-search-bar.hero-search-bar--compact #hero-search-input,
.site-zillow .hero-search-bar.hero-search-bar--compact #homes-page-search-input {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  padding: 0.72rem 0.8rem 0.72rem 0.85rem !important;
  min-height: 50px !important;
  font-size: 1rem !important;
  font-family: inherit !important;
  background: transparent !important;
  color: #071526 !important;
  grid-column: unset !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}

.hero-search-filters-row--quick #hero-city-select,
.hero-search-filters-row--quick #homes-city-select,
.homes-page-search-filters #homes-city-select {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-search-filters-row--quick #hero-city-select option,
.hero-search-filters-row--quick #homes-city-select option {
  color: #071526;
  background: #fff;
}

.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple input::placeholder {
  color: #9ca3af;
}

/* Hero search — typewriter hint while idle */
.search-typewriter-host {
  position: relative;
}

.search-typewriter-ghost {
  position: absolute;
  left: 0.85rem;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9ca3af;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
}

.search-typewriter-host.is-typing .search-typewriter-ghost::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 2px;
  vertical-align: -0.08em;
  background: rgba(7, 21, 38, 0.35);
  animation: search-typewriter-cursor 0.9s step-end infinite;
}

@keyframes search-typewriter-cursor {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple input:focus ~ .search-typewriter-ghost,
.site-zillow .hero-search-bar.hero-search-bar--compact .hero-search-simple input:focus ~ .search-typewriter-ghost {
  opacity: 0;
}

.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple input:focus {
  outline: none;
}

.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple .btn-gold,
.site-zillow .hero-search-bar.hero-search-bar--simple #hero-search-submit,
.site-zillow .hero-search-bar.hero-search-bar--simple #homes-page-search-submit,
.site-zillow .hero-search-bar.hero-search-bar--compact .hero-search-simple .btn-gold,
.site-zillow .hero-search-bar.hero-search-bar--compact #hero-search-submit,
.site-zillow .hero-search-bar.hero-search-bar--compact #homes-page-search-submit,
.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-submit-btn,
.site-zillow .hero-search-bar.hero-search-bar--compact .hero-search-submit-btn {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0.78rem 1.35rem !important;
  border-radius: 9px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  min-height: 52px !important;
  line-height: 1.15 !important;
  letter-spacing: 0.01em !important;
  grid-column: unset !important;
  box-sizing: border-box !important;
}

.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-all-btn,
.site-zillow .hero-search-bar.hero-search-bar--compact .hero-search-all-btn {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0.72rem 1rem !important;
  min-height: 52px !important;
  border-radius: 9px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  line-height: 1.15 !important;
  border-width: 1.5px !important;
  box-sizing: border-box !important;
  background: rgba(7, 21, 38, 0.05) !important;
  color: #071526 !important;
  border-color: #071526 !important;
}

.site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-all-btn:hover,
.site-zillow .hero-search-bar.hero-search-bar--compact .hero-search-all-btn:hover {
  background: rgba(7, 21, 38, 0.1) !important;
  color: #071526 !important;
  border-color: #071526 !important;
}

/* Mobile search — same full-width stack as desktop */
@media (max-width: 640px) {
  .site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple .search-suggest-wrap {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple input[type='text'],
  .site-zillow .hero-search-bar.hero-search-bar--simple #hero-search-input,
  .site-zillow .hero-search-bar.hero-search-bar--simple #homes-page-search-input {
    min-height: 48px !important;
    padding: 0.7rem 0.75rem !important;
    font-size: 1rem !important;
  }

  .site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-simple .btn-gold,
  .site-zillow .hero-search-bar.hero-search-bar--simple #hero-search-submit,
  .site-zillow .hero-search-bar.hero-search-bar--simple #homes-page-search-submit,
  .site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-submit-btn {
    min-height: 48px !important;
    padding: 0.72rem 0.85rem !important;
    font-size: 0.95rem !important;
  }

  .site-zillow .hero-search-bar.hero-search-bar--simple .hero-search-all-btn,
  .site-zillow .hero-search-bar.hero-search-bar--compact .hero-search-all-btn {
    min-height: 48px !important;
    padding: 0.68rem 0.75rem !important;
    font-size: 0.88rem !important;
  }
}

.hero-search-filters-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* Popular areas — compact */
.hero-popular-cities--minimal {
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

.hero-popular-cities--minimal .hero-popular-cities__label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.hero-cities-row,
.hero-cities-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.hero-popular-cities--minimal .popular-chip {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hero-popular-cities--minimal .popular-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-more-areas {
  margin-top: 0.35rem;
  padding: 0.25rem 0.5rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.hero-more-areas:hover {
  color: #fff;
}

.hero-more-areas[aria-expanded="true"] {
  color: #f5c542;
}

/* —— Category browse (Realtor-style overlap + full bleed) —— */
.category-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #fff;
  border-bottom: 1px solid #e8eaed;
}

.category-band.category-band--hero-overlap {
  position: relative;
  z-index: 12;
  margin-top: clamp(-2rem, -4.5vw, -3rem);
  padding: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent clamp(3rem, 8vw, 5rem),
    #fff clamp(3rem, 8vw, 5rem),
    #fff 100%
  );
  border-bottom: 1px solid #e8eaed;
}

.category-band--hero-overlap .category-band__header {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.category-band__bleed {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: clamp(0.65rem, 2vw, 1.25rem);
  padding-right: clamp(0.65rem, 2vw, 1.25rem);
  box-sizing: border-box;
}

.site-zillow .featured-band .section-inner,
.site-zillow .search-results .section-inner {
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.site-zillow .container.section-inner {
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
}

.browse-heading {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #071526;
  letter-spacing: -0.02em;
}

.browse-sub {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: #6b7280;
}

.browse-active-label {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: #071526;
  letter-spacing: -0.02em;
}

body.has-search-session .browse-active-label:not([hidden]) + .results-count {
  margin-top: 0.15rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.category-grid--primary {
  gap: 1rem;
}

.category-band#browse-categories .category-band__bleed {
  display: flex;
  justify-content: center;
  padding-left: clamp(0.75rem, 3vw, 1.25rem);
  padding-right: clamp(0.75rem, 3vw, 1.25rem);
}

/* Homepage browse — 5 tiles row 1; estimate centered under New listings (col 3) */
/* Homepage browse row — no land tile (matches PC + mobile JS; land via search filters) */
#browse-categories-grid [data-browse='land'] {
  display: none !important;
}

.category-band#browse-categories .category-grid.category-grid--browse-stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: auto auto auto;
  gap: 0.85rem !important;
  width: 100%;
  max-width: min(1240px, 98vw);
  margin: 0 auto;
}

@media (min-width: 720px) {
  .category-band#browse-categories .category-grid.category-grid--browse-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto;
    gap: 0.85rem !important;
  }
}

@media (min-width: 900px) {
  .category-band#browse-categories #browse-categories-grid > .category-card:not(.category-card--estimate),
  .category-band#browse-categories .category-grid.category-grid--browse-stats > .category-card:not(.category-card--estimate) {
    max-height: clamp(260px, 24vw, 320px) !important;
    height: clamp(260px, 24vw, 320px) !important;
  }
}

.category-band#browse-categories .category-grid.category-grid--browse-stats > * {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.category-band#browse-categories #browse-categories-grid > .category-card,
.category-band#browse-categories .category-grid.category-grid--browse-stats > .category-card {
  grid-column: span 1 !important;
  grid-row: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: clamp(220px, 32vw, 300px) !important;
  height: clamp(220px, 32vw, 300px) !important;
  aspect-ratio: unset !important;
  flex: none !important;
  align-self: stretch !important;
  padding: 1.25rem 0.9rem 1.1rem !important;
  border-radius: 9px !important;
  gap: 0.3rem !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  text-align: left !important;
  overflow: hidden !important;
}

.category-band#browse-categories #browse-categories-grid > .category-card--browse,
.category-band#browse-categories #browse-categories-grid > .category-card--hero,
.category-band#browse-categories #browse-categories-grid > .category-card--estimate {
  min-height: 0 !important;
  aspect-ratio: unset !important;
}

.category-band#browse-categories .category-card--browse,
.category-band#browse-categories .category-card--hero {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  box-shadow: 0 2px 12px rgba(7, 21, 38, 0.12) !important;
}

/* Free home estimate — full-width horizontal bar under browse tiles */
.category-band#browse-categories #browse-categories-grid > .category-card--estimate {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 5.5rem !important;
  max-height: none !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.85rem 1.25rem !important;
  padding: 0.85rem 1.15rem !important;
  text-align: left !important;
  margin-top: 0.35rem !important;
  border: 2px solid rgba(245, 197, 66, 0.95) !important;
  background-color: #071526 !important;
  background-image:
    linear-gradient(105deg, rgba(7, 21, 38, 0.88) 0%, rgba(7, 21, 38, 0.55) 42%, rgba(7, 21, 38, 0.35) 100%),
    var(--category-bg, url('/images/hero/hero-home-2.jpg')) !important;
  background-size: cover !important;
  background-position: center center !important;
  box-shadow: 0 8px 28px rgba(7, 21, 38, 0.28) !important;
}

.category-band#browse-categories #browse-categories-grid > .category-card--estimate .estimate-bar__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}

.category-band#browse-categories #browse-categories-grid > .category-card--estimate .estimate-bar__copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.category-band#browse-categories #browse-categories-grid > .category-card--estimate .category-card__agent-photo {
  position: static !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
  margin: 0 !important;
  flex-shrink: 0;
}

.category-band#browse-categories #browse-categories-grid > .category-card--estimate .category-card__deal-ticker.estimate-bar__ticker {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  margin: 0 !important;
  padding: 0.4rem 0.7rem !important;
  flex-shrink: 0;
}

.category-band#browse-categories #browse-categories-grid > .category-card--estimate .category-card__marketing {
  display: none !important;
}

.category-band#browse-categories #browse-categories-grid > .category-card--estimate .estimate-bar__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5d052 0%, #e8b820 55%, #c9a227 100%);
  color: #071526;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 2px solid #fff;
  box-shadow:
    0 0 0 1px rgba(7, 21, 38, 0.15),
    0 6px 18px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  position: relative;
  z-index: 2;
}

@media (min-width: 720px) {
  .category-band#browse-categories #browse-categories-grid > .category-card--estimate .estimate-bar__cta {
    min-width: 9.5rem;
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
  }
}

.category-band#browse-categories .category-card--estimate::before {
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0.15) 0%,
    rgba(7, 21, 38, 0.5) 45%,
    rgba(7, 21, 38, 0.88) 100%
  ) !important;
}

.category-band#browse-categories .category-card--hero .category-card__label,
.category-band#browse-categories .category-card__label {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.01em !important;
  max-width: 92% !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-band#browse-categories .category-card--hero .category-card__desc,
.category-band#browse-categories .category-card__desc {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  max-width: 95% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  opacity: 0.92 !important;
}

.category-band#browse-categories .category-card__count,
.category-grid--browse-stats .category-card--stat .category-card__count,
.homes-browse-band .category-card__count {
  top: 0.4rem !important;
  right: 0.4rem !important;
  padding: 0.2rem 0.4rem !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  border-radius: 8px !important;
  background: rgba(7, 21, 38, 0.72) !important;
  backdrop-filter: blur(4px);
}

.category-band#browse-categories .category-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(7, 21, 38, 0.18) !important;
}

.category-band#browse-categories .category-card--estimate:hover {
  transform: translateY(-2px) !important;
  border-color: #f5c542 !important;
  box-shadow: 0 12px 32px rgba(245, 197, 66, 0.28) !important;
}

.category-card--spotlight {
  border-color: rgba(245, 197, 66, 0.55) !important;
}

.category-card[data-browse],
.category-card--estimate,
.hero-showcase-btn,
.hero-more-areas,
.hero-popular-cities .popular-chip,
#browse-categories-grid .category-card {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .hero-showcase-actions {
    gap: 0.65rem;
  }

  .hero-showcase-btn {
    min-height: 44px;
    padding: 0.65rem 1rem;
  }

  .hero-popular-cities .popular-chip {
    min-height: 40px;
    padding: 0.5rem 0.85rem;
  }

  .category-band#browse-categories .category-card {
    touch-action: pan-y;
  }

  .category-band#browse-categories .category-card[data-browse],
  .category-band#browse-categories .category-card--estimate {
    touch-action: manipulation;
  }
}

.category-card--spotlight .category-card__count {
  background: rgba(184, 134, 11, 0.88) !important;
}

.category-band#browse-categories .category-card__agent-photo {
  display: block !important;
  flex-shrink: 0 !important;
  width: clamp(64px, 11vw, 88px) !important;
  height: clamp(64px, 11vw, 88px) !important;
  margin: 0 0 0.35rem !important;
  border: 3px solid #fff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

/* Mobile estimate tile — small photo in corner */
@media (max-width: 719px) {
  .category-band#browse-categories .category-card--estimate .category-card__agent-photo {
    position: absolute !important;
    top: 0.4rem !important;
    right: 0.4rem !important;
    margin: 0 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-width: 2px !important;
  }
}

.category-band#browse-categories .category-card--estimate .category-card__marketing {
  display: none !important;
}

.category-band#browse-categories #browse-categories-grid > .category-card:nth-child(5) {
  grid-row: 1 !important;
  grid-column: 2 !important;
}

@media (max-width: 719px) {
  .category-band#browse-categories #browse-categories-grid > .category-card--estimate {
    grid-row: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 1rem 0.95rem !important;
    gap: 0.75rem !important;
  }

  .category-band#browse-categories #browse-categories-grid > .category-card--estimate .estimate-bar__main {
    width: 100%;
  }

  .category-band#browse-categories #browse-categories-grid > .category-card--estimate .estimate-bar__cta {
    align-self: stretch;
    width: 100%;
    text-align: center;
    min-height: 3.15rem;
    font-size: 1rem;
    order: 3;
  }

  .category-band#browse-categories #browse-categories-grid > .category-card--estimate .estimate-bar__ticker {
    order: 2;
    align-self: flex-start;
  }
}

.category-band#browse-categories .category-card--estimate .category-card__deal-ticker {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  margin-top: auto !important;
  margin-bottom: 0.2rem !important;
  padding: 0.35rem 0.55rem !important;
  border-radius: 8px !important;
  background: rgba(245, 197, 66, 0.95) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.category-band#browse-categories .category-card--estimate .category-card__deal-label {
  color: #071526 !important;
}

.category-band#browse-categories .category-card--estimate .category-card__deal-value {
  font-size: clamp(0.85rem, 1.6vw, 1rem) !important;
  font-weight: 800 !important;
  color: #071526 !important;
  letter-spacing: -0.02em;
}

.category-band#browse-categories .category-card--estimate {
  position: relative !important;
}

.category-band#browse-categories .category-card__deal-ticker {
  margin-bottom: 0.12rem !important;
  padding: 0.18rem 0.35rem !important;
}

.category-band#browse-categories .category-card__deal-label {
  font-size: 0.55rem !important;
}

.category-band#browse-categories .category-card__deal-value {
  font-size: clamp(0.75rem, 1.4vw, 0.85rem) !important;
}

.category-band#browse-categories .category-card--estimate .category-card__label {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  max-width: calc(100% - 3rem) !important;
}

.category-band#browse-categories .category-card--estimate .category-card__desc {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

@media (min-width: 720px) {
  .category-band#browse-categories #browse-categories-grid > .category-card:nth-child(5) {
    grid-row: 1 !important;
    grid-column: 5 !important;
  }

  .category-band#browse-categories #browse-categories-grid > .category-card--estimate {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
}

@media (min-width: 768px) {
  .category-band#browse-categories #browse-categories-grid > .category-card,
  .category-band#browse-categories .category-grid.category-grid--browse-stats > .category-card {
    height: 272px !important;
    max-height: 272px !important;
  }

  .category-band#browse-categories .category-card__label {
    font-size: 0.94rem !important;
  }
}

@media (min-width: 1024px) {
  .category-band#browse-categories #browse-categories-grid > .category-card,
  .category-band#browse-categories .category-grid.category-grid--browse-stats > .category-card {
    height: 288px !important;
    max-height: 288px !important;
  }
}

#browse-location-hint {
  display: none !important;
}

.category-band--browse {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.browse-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .category-grid:not(.category-grid--browse-stats) {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-grid--primary {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}

@media (min-width: 900px) {
  .category-grid--primary {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .category-grid:not(.category-grid--primary):not(.category-grid--browse-stats) {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.2rem;
  min-height: 140px;
  padding: 1.1rem 1.15rem;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  background-color: #071526;
  background-image: var(--category-bg, none);
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 24px rgba(7, 21, 38, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card--browse {
  min-height: clamp(160px, 28vw, 220px);
  aspect-ratio: 4 / 5;
  position: relative;
  width: 100%;
}

@media (min-width: 900px) {
  .category-card--browse {
    min-height: 200px;
    aspect-ratio: 3 / 4;
  }
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 38, 0.15) 0%, rgba(7, 21, 38, 0.82) 100%);
  transition: background 0.25s ease;
  pointer-events: none;
}

.category-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(7, 21, 38, 0.22);
}

.category-card:hover::before {
  background: linear-gradient(180deg, rgba(7, 21, 38, 0.05) 0%, rgba(7, 21, 38, 0.75) 100%);
}

.category-card__label {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.category-card__desc {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.category-card--hero {
  min-height: clamp(200px, 38vw, 280px);
  aspect-ratio: 4 / 5;
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(7, 21, 38, 0.2);
}

.category-card--hero:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 48px rgba(7, 21, 38, 0.28);
}

.category-card--hero .category-card__label {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.category-card--hero .category-card__desc {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  font-weight: 700;
}

.category-card--stat {
  min-height: clamp(200px, 38vw, 280px);
}

.category-card__count {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #071526;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  line-height: 1;
}

.category-card--skeleton {
  pointer-events: none;
  animation: browse-card-pulse 1.2s ease-in-out infinite;
}

.category-card--skeleton::before {
  background: linear-gradient(180deg, rgba(7, 21, 38, 0.35) 0%, rgba(7, 21, 38, 0.65) 100%);
}

/* Home value estimate tile — agent photo + animated deal ticker */
.category-card--estimate {
  text-decoration: none;
  color: inherit;
  border: 2px solid rgba(245, 197, 66, 0.55);
  background-image:
    linear-gradient(145deg, rgba(7, 21, 38, 0.55) 0%, rgba(7, 21, 38, 0.88) 55%),
    var(--category-bg, none);
  background-size: cover;
  background-position: center top;
}

.category-card--estimate::before {
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0.25) 0%,
    rgba(7, 21, 38, 0.72) 55%,
    rgba(120, 53, 15, 0.85) 100%
  );
}

.category-card--estimate:hover {
  border-color: #f5c542;
  box-shadow: 0 20px 52px rgba(245, 197, 66, 0.28);
}

.category-card__agent-photo {
  position: relative;
  z-index: 2;
  width: clamp(64px, 14vw, 88px);
  height: clamp(64px, 14vw, 88px);
  margin-bottom: 0.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f5c542;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.category-card__deal-ticker {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  margin-bottom: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 10px;
  background: rgba(245, 197, 66, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.category-card__deal-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #071526;
  line-height: 1;
}

.category-card__deal-value {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  color: #071526;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.category-card--estimate .category-card__label {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.category-card__marketing {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 0.4rem;
  font-size: clamp(0.68rem, 1.5vw, 0.78rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.category-card--estimate .category-card__marketing {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(7, 21, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sell-cma-results__followup {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(245, 197, 66, 0.12);
  border: 1px solid rgba(245, 197, 66, 0.35);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: #071526;
}

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

/* Search results live on /homes only — never inline on homepage */
body.site-zillow:not(.homes-search-page) #search-results {
  display: none !important;
}

/* Search results: list grid only (map is on listing detail) */
body.homes-search-page.has-search-session #search-results {
  padding-top: 0.25rem;
}

/* /homes keeps toolbar list/map tabs; map column toggles via JS */
body.homes-search-page.has-search-session #homes-map-wrap[hidden] {
  display: none !important;
}

body.homes-search-page.has-search-session .zillow-explorer.is-list-only {
  display: block !important;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
}

body.has-search-session .zillow-explorer.is-list-only .zillow-list-col {
  max-height: none !important;
  overflow: visible !important;
}

body.has-search-session .zillow-explorer.is-list-only .homes-list--zillow {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  padding: 0.5rem 0 1.25rem !important;
  max-height: none !important;
  overflow: visible !important;
}

body.has-search-session .zillow-explorer.is-list-only .homes-list--zillow .zillow-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  margin: 0 !important;
}

body.has-search-session .zillow-explorer.is-list-only .homes-list--zillow .zillow-card-photo-wrap {
  aspect-ratio: 4 / 3 !important;
  width: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
}

body.has-search-session .zillow-explorer.is-list-only .homes-list--zillow .zillow-card-photo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.has-search-session .zillow-explorer.is-list-only .homes-pagination {
  margin-top: 0.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid #e8eaed;
}

@media (min-width: 769px) {
  body.has-search-session .zillow-explorer.is-list-only .homes-list--zillow {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.15rem !important;
  }
}

@media (max-width: 768px) {
  body.has-search-session #homes-explorer.zillow-explorer {
    display: block !important;
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
  }

  body.has-search-session #homes-explorer .zillow-list-col {
    max-height: none !important;
  }
}

/* Active browse tile matches selected category */
.category-band#browse-categories .category-card--browse.is-active,
.category-band#browse-categories .category-card--stat.is-active {
  outline: 3px solid #f5c542 !important;
  outline-offset: 2px !important;
  box-shadow: 0 10px 32px rgba(7, 21, 38, 0.22) !important;
}

@media (min-width: 768px) {
  .category-grid--browse-stats:not(#browse-categories-grid) .category-card--hero {
    min-height: 260px;
    aspect-ratio: 3 / 4;
  }
}

.category-card--sell::before {
  background: linear-gradient(180deg, rgba(7, 21, 38, 0.1) 0%, rgba(120, 53, 15, 0.88) 100%);
}

@media (min-width: 1024px) {
  .category-card {
    min-height: 160px;
  }
}

/* —— Featured listings — grid + arrows, no scrollbar —— */
.featured-band--luxury {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: #f8f9fb;
}

.featured-band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.featured-band__head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #071526;
}

.featured-band__head .section-sub {
  margin: 0.25rem 0 0;
  flex: 1 1 100%;
  max-width: 36rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.featured-carousel-shell {
  position: relative;
}

.featured-carousel-viewport {
  overflow: hidden;
  border-radius: 4px;
}

.featured-carousel.featured-carousel--luxury {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0 0.5rem;
}

.featured-carousel.featured-carousel--luxury::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.featured-carousel--luxury > .premium-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eaed;
  box-shadow: 0 4px 20px rgba(7, 21, 38, 0.06);
}

@media (min-width: 769px) {
  .featured-carousel--luxury > .premium-card {
    flex: 0 0 calc((100% - 3 * 1.15rem) / 4);
  }
}

/* Uniform photo ratio — no stretch */
.featured-carousel--luxury .premium-card-photo-wrap,
.featured-carousel--luxury .listing-card-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: #e8eaed;
}

.featured-carousel--luxury .listing-card-photo-img,
.featured-carousel--luxury .premium-card-photo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-carousel--luxury .premium-card-body,
.featured-carousel--luxury .zillow-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0.85rem 1rem 1rem;
  gap: 0.35rem;
}

.featured-carousel--luxury .zillow-card-actions {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.45rem;
}

@media (max-width: 768px) {
  .featured-carousel--luxury .zillow-card-actions {
    flex-direction: column;
    gap: 0.4rem;
  }
}

.featured-carousel--luxury .zillow-card-actions .btn-sm {
  width: 100%;
  text-align: center;
  padding: 0.45rem 0.5rem;
  font-size: 0.78rem;
}

.featured-carousel-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #071526;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(7, 21, 38, 0.12);
  transition: background 0.15s ease, transform 0.15s ease;
}

.featured-carousel-arrow:hover {
  background: #071526;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.featured-carousel-arrow--prev {
  left: -0.5rem;
}

.featured-carousel-arrow--next {
  right: -0.5rem;
}

@media (max-width: 768px) {
  .featured-carousel-arrow--prev {
    left: 0.25rem;
  }
  .featured-carousel-arrow--next {
    right: 0.25rem;
  }
}

.featured-carousel-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Skeleton loaders */
.featured-skeleton {
  flex: 0 0 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eaed;
}

@media (min-width: 769px) {
  .featured-skeleton {
    flex: 0 0 calc((100% - 3 * 1.15rem) / 4);
  }
}

.featured-skeleton__photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(110deg, #e8eaed 8%, #f3f4f6 18%, #e8eaed 33%);
  background-size: 200% 100%;
  animation: featured-shimmer 1.2s ease-in-out infinite;
}

.featured-skeleton__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.featured-skeleton__line {
  height: 0.75rem;
  border-radius: 6px;
  background: #e8eaed;
}

.featured-skeleton__line--short {
  width: 55%;
}

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

/* Homepage: no featured/luxury listing carousels (search + browse only) */
#featured-homes,
#luxury-homes {
  display: none !important;
}

/* —— Why work with Brandon — photo + blend —— */
.trust-band--photo {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: transparent;
}

.trust-band--photo .trust-band__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.trust-band--photo .trust-band__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.trust-band--photo .trust-band__backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0.62) 0%,
    rgba(7, 21, 38, 0.74) 42%,
    rgba(7, 21, 38, 0.82) 100%
  );
}

.trust-band--photo .trust-band__inner {
  position: relative;
  z-index: 1;
}

.trust-band--photo .section-title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.trust-band--photo .trust-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(7, 21, 38, 0.08);
  box-shadow: 0 8px 28px rgba(7, 21, 38, 0.08);
}

.trust-band--photo .trust-card--highlight {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 10px 32px rgba(201, 162, 39, 0.14);
}

.trust-band--photo .trust-response {
  color: rgba(255, 255, 255, 0.9);
}

/* —— Why work with Brandon — luxury —— */
.trust-band--luxury {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, #fff 0%, #f4f6f8 100%);
}

.trust-band--luxury .section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #071526;
}

.trust-band--luxury .trust-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.55;
}

.trust-band--luxury .trust-grid--luxury {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 769px) {
  .trust-band--luxury .trust-grid--luxury {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.trust-band--luxury .trust-card {
  padding: 1.35rem 1.4rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
  box-shadow: 0 6px 24px rgba(7, 21, 38, 0.05);
}

.trust-band--luxury .trust-card--highlight {
  border-color: #c9a227;
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.12);
}

.trust-band--luxury .trust-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #071526;
}

.trust-band--luxury .trust-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4b5563;
}

.trust-band--luxury .trust-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.trust-band--luxury .trust-brand-row img {
  height: 22px;
  width: auto;
}

/* —— Mobile sticky bar: Call · Text · Search —— */
@media (max-width: 768px) {
  .expert-cta-bar--luxury {
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 0.45rem;
    padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  }

  .expert-cta-bar--luxury .expert-cta-bar__primary {
    display: none;
  }

  .expert-cta-bar--luxury .expert-cta-bar__mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #071526;
    cursor: pointer;
  }

  .expert-cta-bar--luxury .expert-cta-bar__mobile-btn--gold {
    background: linear-gradient(145deg, #c9a24d, #d4af37);
    border-color: transparent;
    color: #071526;
  }
}

@media (min-width: 769px) {
  .expert-cta-bar--luxury .expert-cta-bar__mobile-btn {
    display: none;
  }
}

/* Prevent nested scroll on homepage */
.site-zillow main {
  overflow-x: hidden;
}

.site-zillow .featured-band--luxury .container,
.site-zillow .category-band .container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
