:root {
  --bg: #f7f8f9;
  --panel: #ffffff;
  --ink: #222222;
  --muted: #7a7a7a;
  --line: #dce0e0;
  --accent: #ba0c2f;
  --navy: #101721;
  --navy-soft: #1a2230;
  --shadow-card: 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-panel: 0 20px 40px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 15px;
}

@media (max-width: 1024px) {
  .city-guide-summary-grid,
  .city-guide-highlights-grid,
  .city-guide-property-grid {
    grid-template-columns: 1fr 1fr;
  }

  .city-guide-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .city-guide-cta-actions {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: auto;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
  max-width: 100%;
  overflow-x: hidden;
}

html[data-broker-hydrating="about"] .page-hero-about .page-hero-content,
html[data-broker-hydrating="about"] .about-pillars-grid,
html[data-broker-hydrating="about"] .why-section,
html[data-broker-hydrating="about"] .about-cta-row {
  opacity: 0;
}

.icon-svg {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 1em;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  width: 1em;
}

.icon-svg svg {
  display: block;
  height: 100%;
  width: 100%;
}

body[data-page="property-detail"] {
  background: #e9edf2;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 48px, 1310px);
  margin: 0 auto;
}

.section {
  position: relative;
}

.home-main {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 9vw, 128px);
  padding: clamp(48px, 6vw, 80px) 0 0;
}

.home-main > .section {
  margin: 0;
}

.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: none;
  transition-delay: 0ms;
  will-change: auto;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition-delay: 0ms;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 767px) {
  .home-main {
    gap: 56px;
    padding: 36px 0 0;
  }

  .scroll-reveal,
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section-title h2 {
  color: #000;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.2;
}

.section-title p {
  color: var(--muted);
  margin-top: 8px;
}

.section-title.left {
  text-align: left;
}

.section-title.center {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto 20px;
  max-width: 860px;
  text-align: center;
}

.section-title.center p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  text-align: center;
  width: 100%;
}

.section-title-compact h2 {
  font-size: 28px;
  font-weight: 300;
}

.hero {
  position: relative;
  overflow: hidden;
  background: url("./phoenix-hero-optimized.jpg?v=20260314a") center 33% / cover no-repeat;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: url("./phoenix-hero-optimized.jpg?v=20260314a") center 45% / cover no-repeat;
}

.page-hero-about,
.page-hero-contact {
  display: flex;
  flex-direction: column;
  height: 480px;
  min-height: 480px;
}

.page-hero-contact {
  background-position: center 40%;
}

.page-hero-account,
.page-hero-results {
  display: flex;
  flex-direction: column;
  height: 260px;
  min-height: 260px;
}

.page-hero-account {
  background-position: center 44%;
  min-height: 360px;
  height: 360px;
}

body[data-page="account"] {
  background: var(--bg);
  overflow-x: hidden;
}

body[data-page="account"] .page-shell,
body[data-page="account"] .page-section.page-section-soft {
  background: var(--bg);
}

body[data-page="account"] .page-section.page-section-soft > .container {
  max-width: none;
  width: 100%;
}

body[data-page="account"] .page-hero-account .page-hero-content {
  padding: 28px 0 42px;
}

body[data-page="account"] .page-hero-account h1 {
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  max-width: 640px;
}

body[data-page="account"] .page-hero-account .page-intro {
  font-size: 16px;
  line-height: 1.65;
  max-width: 620px;
}

.page-hero-results {
  background-position: center 52%;
}

.page-hero-agent {
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 23, 33, 0.72);
  pointer-events: none;
}

.hero .hero-overlay {
  background: rgba(16, 23, 33, 0.58);
}

.page-hero .hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.76) 0%, rgba(16, 23, 33, 0.68) 46%, rgba(12, 18, 27, 0.78) 100%),
    linear-gradient(90deg, rgba(16, 23, 33, 0.12) 0%, rgba(16, 23, 33, 0.02) 46%, rgba(16, 23, 33, 0.14) 100%);
}

.nav-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 110px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: #fff;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.logo-wrap {
  display: block;
  flex: 0 0 auto;
  margin-right: 10px;
}

.logo-wrap img {
  width: 252px;
  height: auto;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: center;
}

.main-nav .nav-link {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.88;
  padding: 0 18px;
  text-transform: uppercase;
  transition: color 0.22s ease, opacity 0.22s ease;
}

.main-nav .nav-account-link {
  display: none;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible,
.main-nav .nav-link.is-current {
  color: #ffd7de;
  opacity: 1;
}

.nav-install-btn {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.nav-install-btn[data-ready="true"] {
  color: #ffd7de;
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.install-app-notice {
  display: flex;
  justify-content: center;
  left: 50%;
  pointer-events: none;
  position: fixed;
  right: auto;
  top: 96px;
  bottom: auto;
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 32px));
  z-index: 220;
}

.install-app-notice-card {
  align-items: flex-start;
  background: rgba(16, 23, 33, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  color: #fff;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  max-width: none;
  padding: 12px 14px;
  pointer-events: auto;
  width: 100%;
}

.install-app-notice-copy {
  display: grid;
  gap: 4px;
}

.install-app-notice-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.install-app-notice-message {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.install-app-notice-steps {
  color: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 5px;
  margin: 2px 0 0;
  padding-left: 18px;
}

.install-app-notice-steps li {
  font-size: 12px;
  line-height: 1.45;
}

.install-app-notice-note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.4;
  margin-top: 2px;
}

.install-app-notice-dismiss {
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 0 0;
  text-transform: uppercase;
}

.install-app-notice-dismiss:hover,
.install-app-notice-dismiss:focus-visible {
  color: #fff;
}

.page-action-notice {
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  position: fixed;
  right: 20px;
  top: 104px;
  width: min(360px, calc(100vw - 32px));
  z-index: 220;
}

.page-action-notice-card {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  color: #15212f;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 13px 14px;
  pointer-events: auto;
  width: 100%;
}

.page-action-notice-card[data-state="error"] {
  background: rgba(255, 247, 248, 0.99);
  border-color: rgba(186, 12, 47, 0.18);
  color: #7d1732;
}

.page-action-notice-card[data-state="success"] {
  background: rgba(244, 251, 247, 0.99);
  border-color: rgba(44, 106, 74, 0.16);
  color: #25553c;
}

.page-action-notice-copy {
  display: grid;
  gap: 4px;
}

.page-action-notice-title {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.page-action-notice-message {
  color: inherit;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.92;
}

.page-action-notice-dismiss {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.72;
  padding: 2px 0 0;
  text-transform: uppercase;
}

.page-action-notice-dismiss:hover,
.page-action-notice-dismiss:focus-visible {
  opacity: 1;
}

body.mobile-nav-open {
  overflow: hidden;
}

.phone-link,
.profile-link {
  color: #fff;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.phone-link :is(i, .icon-svg) {
  font-size: 15px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  font-size: 17px;
}

.profile-link .icon-svg {
  height: 18px;
  width: 18px;
}

.profile-link.is-authenticated {
  color: #ffd7de;
}

.outline-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0 16px;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  min-height: 610px;
  margin: 0 auto;
  padding: 88px 0 50px;
  text-align: center;
}

.page-hero-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  max-width: 840px;
  min-height: 0;
  padding: 104px 0 80px;
  text-align: center;
}

.page-hero-about .page-hero-content,
.page-hero-contact .page-hero-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 24px 0;
}

.page-hero-about .page-hero-content {
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.page-hero-about .page-intro {
  margin-left: auto;
  margin-right: auto;
}

.page-hero-account .page-hero-content,
.page-hero-results .page-hero-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 0;
}

.page-hero-agent .page-hero-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 24px 0 34px;
}

.page-hero-city {
  background: none;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.page-hero-city::before {
  background: var(--city-page-image, url("./phoenix-city-card-optimized.jpg?v=20260314a")) center 62% / cover no-repeat;
  content: "";
  filter: brightness(0.58) saturate(0.86);
  inset: 0;
  position: absolute;
  transform: scale(1.03);
}

.page-hero-city > :not(.hero-overlay) {
  position: relative;
  z-index: 1;
}

.page-hero-city .hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.82) 0%, rgba(16, 23, 33, 0.72) 42%, rgba(8, 13, 20, 0.88) 100%),
    linear-gradient(90deg, rgba(16, 23, 33, 0.22) 0%, rgba(16, 23, 33, 0.08) 46%, rgba(16, 23, 33, 0.24) 100%);
}

.page-hero-city .page-hero-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 24px 0 34px;
}

.city-guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

.city-guide-hero-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.city-guide-hero-outline:hover,
.city-guide-hero-outline:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.city-guide-summary-section {
  background: #f4f6f8;
}

.city-guide-summary-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
}

.city-guide-overview-card,
.city-guide-stats-card,
.city-guide-highlight-card,
.city-guide-cta-card {
  background: #fff;
  border: 1px solid rgba(16, 23, 33, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(16, 23, 33, 0.08);
}

.city-guide-overview-card,
.city-guide-stats-card,
.city-guide-cta-card {
  padding: 28px;
}

.city-guide-section-kicker {
  color: #a82d34;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.city-guide-overview-card h2,
.city-guide-cta-card h2 {
  color: #101721;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.12;
  margin: 0;
}

.city-guide-overview-copy {
  color: #4b5665;
  display: grid;
  gap: 14px;
  line-height: 1.75;
  margin-top: 18px;
}

.city-guide-stats-card {
  display: grid;
  gap: 18px;
}

.city-guide-stat {
  border-bottom: 1px solid rgba(16, 23, 33, 0.08);
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
}

.city-guide-stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.city-guide-stat-label {
  color: #5c6570;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.city-guide-stat strong {
  color: #101721;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.city-guide-highlights-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.city-guide-highlight-card {
  padding: 24px;
}

.city-guide-highlight-card h3 {
  color: #101721;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.city-guide-highlight-card p {
  color: #4b5665;
  line-height: 1.7;
  margin: 0;
}

.city-guide-property-grid {
  grid-auto-columns: unset;
  grid-auto-flow: row;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

.city-guide-property-card {
  scroll-snap-align: unset;
}

.city-guide-property-card .property-card-copy,
.city-guide-property-card .meta {
  justify-content: flex-start;
  text-align: left;
}

.city-guide-property-card h3 {
  margin-top: 0;
}

.city-guide-listings-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.city-guide-cta-section {
  background: linear-gradient(180deg, #f4f6f8 0%, #ffffff 100%);
}

.city-guide-cta-card {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.city-guide-cta-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 14px;
}

.page-intro {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
  margin-top: 14px;
  max-width: 720px;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
  max-width: min(16ch, 100%);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-hero-account h1,
.page-hero-results h1 {
  font-size: clamp(30px, 3.1vw, 40px);
}

.page-hero-about h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04;
  max-width: min(22ch, 100%);
  text-wrap: pretty;
}

.page-hero .trust {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  text-align: center;
}

.trust {
  color: #fff;
  line-height: 1.7;
}

.trust strong {
  color: #cc5b60;
  font-weight: 700;
}

.hero h1 {
  color: #fff;
  font-size: clamp(40px, 4.8vw, 53px);
  font-weight: 500;
  line-height: 1.14;
  margin-top: 8px;
}

.search-panel {
  width: min(100%, 920px);
  margin-top: 38px;
}

.status-tabs {
  display: flex;
  justify-content: center;
  gap: 1px;
}

.tab-btn {
  background: rgba(16, 23, 33, 0.61);
  border: 0;
  border-radius: 4px 4px 0 0;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  margin: 0 1px;
  padding: 10px 25px;
}

.tab-btn.active {
  background: #fff;
  color: #222;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-panel);
  margin-top: 0;
  padding: 28px 24px;
}

.search-grid > * {
  min-width: 0;
}

.field label {
  display: block;
  color: #000;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
}

.field select,
.form-field input,
.form-field textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  color: #a1a7a8;
  font-size: 15px;
  height: 42px;
  min-height: 42px;
  line-height: 40px;
  padding: 0 32px 0 14px;
  text-align: center;
  text-align-last: center;
}

.search-btn,
.contact-form button {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  height: 42px;
  min-height: 42px;
  line-height: 42px;
  padding: 0 16px;
  width: 100%;
}

.cta-line {
  color: #fff;
  font-size: 18px;
  margin-top: auto;
  margin-bottom: auto;
}

.cta-line a {
  color: #cc5b60;
  font-weight: 700;
}

.cta-line a strong {
  font-weight: 700;
}

.featured {
  background: #fff;
  padding: 48px 0 56px;
}

.property-grid {
  display: grid;
  gap: 24px;
  grid-auto-columns: minmax(300px, calc((100% - 48px) / 3));
  grid-auto-flow: column;
  margin-top: 12px;
  overflow-x: auto;
  overscroll-behavior-x: auto;
  padding-bottom: 6px;
  scroll-behavior: auto;
  scrollbar-width: none;
  scroll-snap-type: none;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.featured .property-grid {
  align-items: stretch;
  grid-auto-columns: unset;
  grid-auto-flow: row;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  overscroll-behavior: auto;
  padding-bottom: 0;
  touch-action: auto;
}

.property-grid::-webkit-scrollbar {
  display: none;
}

.featured-empty-state {
  color: #5c6570;
  font-size: 15px;
  grid-column: 1 / -1;
  line-height: 1.7;
  margin-top: 12px;
}

.featured-empty-state a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.featured-empty-state a:hover,
.featured-empty-state a:focus-visible {
  text-decoration: underline;
}

.property-card {
  cursor: pointer;
  position: relative;
  text-align: center;
  scroll-snap-align: start;
}

.featured .property-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-image {
  position: relative;
  border-radius: var(--radius-sm);
  background-position: center 38%;
  background-size: cover;
  background-color: #e9edf2;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.property-card-cover-image {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.property-card-cover-image.is-unavailable,
.property-search-image.is-unavailable,
.property-detail-main-image-shell img.is-unavailable,
.property-detail-thumbnail img.is-unavailable {
  opacity: 0;
}

.property-image.is-empty::after {
  opacity: 0;
}

.property-image::before {
  content: "";
  display: block;
  padding-top: 56%;
}

.property-image::after,
.city-card::after,
.res-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 23, 33, 0.56), rgba(16, 23, 33, 0.14));
  opacity: 1;
  transition: opacity 0.28s ease;
}

.tag,
.actions {
  position: absolute;
  z-index: 2;
}

.property-card-link-overlay {
  inset: 0;
  position: absolute;
  z-index: 1;
}

.tag {
  top: 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  min-height: 30px;
  padding: 0 10px;
  text-transform: uppercase;
}

.tag.feature {
  left: 16px;
  background: #79a833;
}

.tag.status {
  right: 16px;
  background: rgba(16, 23, 33, 0.76);
}

.actions {
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.property-brokerage-badge {
  background: rgba(16, 23, 33, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  bottom: 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  left: 16px;
  line-height: 1.35;
  max-width: calc(100% - 108px);
  padding: 8px 12px;
  position: absolute;
  text-align: left;
  z-index: 3;
}

.property-card-copy {
  margin-top: 12px;
}

.featured .property-card-copy {
  align-content: start;
  display: grid;
  flex: 1 1 auto;
  gap: 6px;
  grid-template-rows: minmax(68px, auto) auto auto;
  justify-items: center;
}

.property-title-link {
  color: inherit;
  text-decoration: none;
}

.property-title-link:hover,
.property-title-link:focus-visible {
  color: var(--accent);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  position: relative;
  background: rgba(0, 0, 0, 0.15);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.action-btn:hover,
.action-btn:focus-visible {
  background: rgba(0, 0, 0, 0.42);
  transform: translateY(-1px);
}

.action-btn.is-saved {
  background: rgba(186, 12, 47, 0.9);
}

.action-btn.is-saved:hover,
.action-btn.is-saved:focus-visible {
  background: rgba(186, 12, 47, 1);
}

.action-btn.is-compared {
  background: rgba(16, 23, 33, 0.88);
}

.action-btn.is-compared:hover,
.action-btn.is-compared:focus-visible {
  background: #101721;
}

.action-btn:disabled {
  cursor: wait;
  opacity: 0.82;
}

.action-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.action-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  background: rgba(16, 23, 33, 0.88);
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  opacity: 0;
  padding: 7px 9px;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

.action-btn:hover::after,
.action-btn:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.property-card h3 {
  color: #222;
  font-size: 22px;
  font-weight: 500;
  line-height: 34px;
  margin-top: 12px;
}

.featured .property-card h3 {
  align-items: flex-start;
  display: flex;
  justify-content: center;
  margin: 0;
  width: 100%;
}

.price {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.featured .price,
.featured .type {
  margin: 0;
}

.type {
  font-size: 12px;
  margin-top: 2px;
  text-transform: uppercase;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 12px;
}

.featured .meta {
  align-content: flex-start;
  min-height: 44px;
}

.meta span {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  gap: 6px;
}

.meta i {
  color: #4b5665;
}

.property-detail-breadcrumbs {
  align-items: center;
  color: #5c6570;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
  gap: 10px;
  margin-bottom: 28px;
}

.property-detail-breadcrumbs a {
  color: #5c6570;
}

.property-detail-breadcrumbs a:hover,
.property-detail-breadcrumbs a:focus-visible {
  color: var(--accent);
}

.property-detail-loading,
.property-detail-empty {
  background: #e9edf2;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  padding: 32px;
}

.property-detail-loading p,
.property-detail-empty p {
  color: #5c6570;
  margin-top: 10px;
}

.property-detail-back-link {
  display: inline-flex;
  margin-top: 18px;
}

.property-detail-header {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.property-detail-header-copy h1 {
  color: #101721;
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1.04;
  margin-top: 16px;
}

.property-detail-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-detail-chip {
  align-items: center;
  background: #dbe4ee;
  border: 0;
  border-radius: 999px;
  color: #101721;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-height: 36px;
  padding: 0 16px;
  text-transform: uppercase;
}

.property-detail-chip-status {
  background: rgba(186, 12, 47, 0.1);
  color: var(--accent);
}

.property-detail-address {
  align-items: center;
  color: #5c6570;
  display: flex;
  font-size: 16px;
  gap: 10px;
  margin-top: 16px;
}

.property-detail-price {
  min-width: 220px;
  text-align: right;
}

.property-detail-price-label {
  color: #5c6570;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-detail-price-amount {
  color: #101721;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 10px;
}

.property-detail-price-meta {
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  margin-top: 10px;
}

.property-detail-band {
  padding: 44px 0;
}

.property-detail-band:first-of-type {
  padding-top: 34px;
}

.property-detail-band + .property-detail-band {
  border-top: 0;
}

.property-detail-band-warm {
  background: #e9edf2;
  padding-left: 32px;
  padding-right: 32px;
}

.property-detail-band-full-bleed {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 24px;
  padding-right: 24px;
}

.property-detail-band-full-bleed > .property-detail-section {
  margin-left: auto;
  margin-right: auto;
  max-width: 1310px;
}

.property-detail-top {
  align-items: start;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.5fr);
}

.property-detail-gallery-card,
.property-detail-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.property-detail-gallery-card {
  display: grid;
  gap: 16px;
}

.property-detail-main-image-shell {
  background: #e9edf2;
  border-radius: 8px;
  overflow: hidden;
  overscroll-behavior: contain;
  position: relative;
}

.property-detail-main-image-shell.is-empty {
  min-height: 560px;
}

.property-detail-main-image-shell.is-gallery-clickable {
  cursor: ew-resize;
}

.property-detail-main-image-shell img {
  display: block;
  height: 560px;
  object-fit: cover;
  width: 100%;
}

.property-brokerage-badge-detail {
  bottom: 20px;
  left: 20px;
  max-width: calc(100% - 40px);
}

.property-detail-photo-count {
  align-items: center;
  background: rgba(16, 23, 33, 0.8);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-height: 36px;
  padding: 0 16px;
  position: absolute;
  right: 18px;
  text-transform: uppercase;
  top: 18px;
  z-index: 3;
}

.property-detail-gallery-arrow {
  align-items: center;
  background: rgba(16, 23, 33, 0.78);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  top: calc(50% - 21px);
  transition: background 0.2s ease, transform 0.2s ease;
  width: 42px;
  z-index: 3;
}

.property-detail-gallery-arrow:hover,
.property-detail-gallery-arrow:focus-visible {
  background: rgba(186, 12, 47, 0.92);
  transform: translateY(-1px);
}

.property-detail-gallery-arrow-prev {
  left: 18px;
}

.property-detail-gallery-arrow-next {
  right: 18px;
}

.property-detail-image-caption {
  color: #5c6570;
  font-size: 13px;
}

.property-detail-thumbnails {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.property-detail-thumbnail {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.property-detail-thumbnail:hover,
.property-detail-thumbnail:focus-visible {
  border-color: rgba(186, 12, 47, 0.34);
  transform: translateY(-1px);
}

.property-detail-thumbnail.is-active {
  border-color: var(--accent);
}

.property-detail-thumbnail img {
  display: block;
  height: 88px;
  object-fit: cover;
  width: 100%;
}

.property-detail-contact-card {
  align-self: start;
  background: transparent;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 6px 0 6px 30px;
  position: sticky;
  top: 24px;
}

.property-detail-contact-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-detail-contact-card h2 {
  color: #101721;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
  margin-top: 12px;
}

.property-detail-contact-copy {
  color: #5c6570;
  line-height: 1.72;
  margin-top: 14px;
}

.property-detail-contact-meta {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.property-detail-contact-meta div {
  border-top: 0;
  padding: 14px 0;
}

.property-detail-contact-meta div:first-child {
  padding-top: 0;
  border-top: 0;
}

.property-detail-contact-meta span {
  color: #6c7480;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-detail-contact-meta strong {
  color: #101721;
  display: block;
  font-size: 16px;
  margin-top: 8px;
}

.property-detail-contact-actions {
  align-items: start;
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.property-detail-primary {
  justify-self: start;
}

.property-detail-secondary {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #101721;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.property-detail-secondary::after,
.property-detail-inline-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.property-detail-secondary:hover,
.property-detail-secondary:focus-visible,
.property-detail-inline-link:hover,
.property-detail-inline-link:focus-visible {
  color: var(--accent);
}

.property-detail-secondary:hover::after,
.property-detail-secondary:focus-visible::after,
.property-detail-inline-link:hover::after,
.property-detail-inline-link:focus-visible::after {
  transform: translateX(3px);
}

.property-detail-disclaimer {
  color: #6c7480;
  font-size: 13px;
  line-height: 1.65;
  margin-top: 18px;
}

.property-detail-section-head {
  align-items: end;
  border-bottom: 0;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
}

.property-detail-section-head h2 {
  margin-bottom: 0;
}

.property-detail-section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.property-detail-section-meta {
  color: #5c6570;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 360px;
  text-align: right;
}

.property-detail-section h2 {
  color: #101721;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 0;
}

.property-detail-highlight-grid {
  display: grid;
  gap: 18px 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.property-detail-highlight-row {
  border-top: 0;
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.property-detail-highlight-label {
  color: #6c7480;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.property-detail-highlight-value {
  color: #101721;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.property-detail-paragraphs {
  color: #4f5865;
  display: grid;
  gap: 18px;
  line-height: 1.85;
  margin: 0;
  max-width: 900px;
}

.property-detail-definition-list {
  display: grid;
  gap: 0;
}

.property-detail-definition-list-grid {
  gap: 0 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-detail-definition-row {
  border-top: 0;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px 0;
}

.property-detail-definition-row dt {
  color: #6c7480;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-detail-definition-row dd {
  color: #101721;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.property-detail-context-grid {
  display: grid;
  gap: 42px 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-detail-section-wide {
  grid-column: 1 / -1;
}

.property-detail-school-grid,
.property-detail-nearby-grid,
.property-detail-neighborhood-grid,
.property-detail-skeleton-grid {
  display: grid;
  gap: 24px 28px;
}

.property-detail-school-grid,
.property-detail-nearby-grid,
.property-detail-skeleton-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.property-detail-neighborhood-grid,
.property-detail-skeleton-grid.is-wide {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.property-detail-school-card,
.property-detail-map-card,
.property-detail-nearby-card,
.property-detail-neighborhood-card,
.property-detail-skeleton-card,
.property-detail-context-empty-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 0;
  box-shadow: none;
  padding: 18px 0 0;
}

.property-detail-school-card-top {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.property-detail-school-distance {
  color: #5c6570;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-detail-nearby-card {
  color: #101721;
  display: grid;
  gap: 10px;
  min-height: 0;
}

.property-detail-context-chip {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-detail-nearby-card-head {
  align-items: center;
  display: flex;
  gap: 12px;
}

.property-detail-school-card h3,
.property-detail-map-card h3 {
  color: #101721;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.24;
  margin-top: 12px;
}

.property-detail-context-copy {
  color: #4f5865;
  line-height: 1.7;
  margin-top: 10px;
}

.property-detail-context-subcopy {
  color: #6c7480;
  font-size: 14px;
  line-height: 1.55;
  margin-top: 10px;
}

.property-detail-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.property-detail-inline-link {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--accent);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  min-height: 0;
  padding: 0;
  text-decoration: none;
}

.property-detail-map-label,
.property-detail-neighborhood-label {
  color: #6c7480;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-detail-nearby-icon {
  align-items: center;
  background: rgba(16, 23, 33, 0.08);
  border-radius: 999px;
  color: #101721;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.property-detail-nearby-label {
  color: #101721;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.property-detail-nearby-copy {
  color: #5c6570;
  font-size: 14px;
  line-height: 1.6;
}

.property-detail-nearby-example-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.property-detail-nearby-example {
  background: transparent;
  border: 0;
  border-top: 0;
  border-radius: 0;
  color: #101721;
  display: grid;
  gap: 4px;
  padding: 10px 0 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.property-detail-nearby-example:hover,
.property-detail-nearby-example:focus-visible {
  color: var(--accent);
}

.property-detail-nearby-example-name {
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.property-detail-nearby-example-meta {
  color: #5c6570;
  font-size: 12px;
  line-height: 1.45;
}

.property-detail-neighborhood-intro {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.property-detail-neighborhood-intro p {
  color: #4f5865;
  line-height: 1.7;
  margin: 0;
}

.property-detail-neighborhood-card {
  display: grid;
  gap: 10px;
  min-height: 0;
}

.property-detail-neighborhood-value {
  color: #101721;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
}

.property-detail-source-note {
  color: #6c7480;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
}

.property-detail-context-empty {
  color: #5c6570;
  line-height: 1.7;
}

.property-detail-context-empty h3 {
  color: #101721;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.property-detail-context-empty p {
  margin-top: 10px;
}

.property-detail-skeleton-card {
  overflow: hidden;
  position: relative;
}

.property-detail-skeleton-card::after {
  animation: property-detail-skeleton 1.4s ease-in-out infinite;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.68) 50%, transparent 100%);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
}

.property-detail-skeleton-line {
  background: #e8ecef;
  border-radius: 999px;
  display: block;
  height: 12px;
  margin-top: 12px;
  width: 100%;
}

.property-detail-skeleton-line:first-child {
  margin-top: 0;
}

.property-detail-skeleton-line.is-short {
  width: 38%;
}

.property-detail-skeleton-line.is-medium {
  width: 72%;
}

@keyframes property-detail-skeleton {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1100px) {
  .property-detail-header {
    align-items: start;
    flex-direction: column;
  }

  .property-detail-price {
    min-width: 0;
    text-align: left;
  }

  .property-detail-band-warm {
    padding-left: 24px;
    padding-right: 24px;
  }

  .property-detail-top,
  .property-detail-context-grid {
    grid-template-columns: 1fr;
  }

  .property-detail-contact-card {
    border-left: 0;
    border-top: 0;
    position: static;
    padding: 28px 0 0;
  }

  .property-detail-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-detail-definition-list-grid {
    grid-template-columns: 1fr;
  }

  .property-detail-section-head {
    align-items: start;
    flex-direction: column;
  }

  .property-detail-section-meta {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .property-detail-band {
    padding: 34px 0;
  }

  .property-detail-band-warm {
    padding-left: 18px;
    padding-right: 18px;
  }

  .property-detail-band-full-bleed {
    padding-left: 18px;
    padding-right: 18px;
  }

  .property-brokerage-badge {
    max-width: calc(100% - 32px);
  }

  .property-detail-photo-count {
    right: 14px;
    top: 14px;
  }

  .property-detail-gallery-arrow {
    display: none;
  }

  .property-detail-main-image-shell img {
    height: 340px;
  }

  .property-detail-contact-card {
    padding: 24px 0 0;
  }

  .property-detail-highlight-grid {
    grid-template-columns: 1fr;
  }

  .property-detail-definition-row {
    align-items: start;
    flex-direction: column;
  }

  .property-detail-definition-row dd {
    text-align: left;
  }
}

.cities {
  --city-card-width: 220px;
  background: #fff;
  padding: 28px 0 36px;
  position: relative;
}

.city-stage {
  display: block;
  min-height: 0;
  position: static;
}

.city-layout {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.city-copy {
  padding-left: 24px;
}

.city-copy .section-title {
  max-width: 164px;
}

.city-copy .section-title h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.16;
  margin-bottom: 10px;
}

.city-copy .section-title p {
  font-size: 14px;
  line-height: 1.65;
  margin-top: 0;
  max-width: 164px;
}

.city-viewport {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: none;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.city-cards {
  display: grid;
  grid-auto-columns: minmax(0, var(--city-card-width));
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 30px;
  transform: none !important;
  width: max-content;
  will-change: auto;
}

.city-card,
.res-card {
  position: relative;
  background-color: #d6dee6;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.city-card {
  opacity: 1;
  box-shadow: none;
  transform: none;
  transform-origin: center bottom;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  will-change: auto;
}

.property-card:hover .property-image,
.res-card:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
  transform: translateY(-4px);
}

.city-card:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
  transform: translateY(-4px);
}

.property-card:hover .property-image::after,
.city-card:hover::after,
.res-card:hover::after {
  opacity: 0.12;
}

.city-card {
  flex: none;
}

.city-card::before {
  content: "";
  display: block;
  padding-top: 167%;
}

.city-card-link,
.res-card-link {
  position: absolute;
  inset: 0;
  display: block;
}

.city-card-link::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 14px 0 18px -18px rgba(16, 23, 33, 0.08);
  opacity: 0.9;
  pointer-events: none;
  transition: box-shadow 0.28s ease, opacity 0.28s ease;
  z-index: 1;
}

.city-card:hover .city-card-link::before {
  box-shadow: inset 18px 0 22px -20px rgba(16, 23, 33, 0.1);
  opacity: 1;
}

.city-card-copy,
.res-card-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 14px;
}

.city-card-subtitle,
.res-card-subtitle {
  color: #fff;
  font-size: 12px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 6px;
}

.city-card h3,
.res-card h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.15;
  margin: 0;
}

.city-card-cta,
.res-card-cta {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  gap: 8px;
  margin-top: auto;
  width: 100%;
  text-transform: uppercase;
}

.city-card-cta i,
.res-card-cta i {
  display: none;
}

.city-card-cta::after,
.res-card-cta::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 9px solid rgba(255, 255, 255, 0.96);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  flex: 0 0 auto;
}

.residential {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(224, 232, 241, 0.38) 0, rgba(224, 232, 241, 0.18) 8%, rgba(255, 255, 255, 0) 18%),
    #fff;
  padding: 18px 0 62px;
}

.residential::before {
  content: "@";
  position: absolute;
  left: max(-540px, calc(50% - 1240px));
  top: -150px;
  color: rgba(77, 144, 210, 0.14);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(720px, 84vw, 1260px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.82;
  pointer-events: none;
  z-index: 0;
}

.residential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 920px;
  margin: 0 auto;
  align-items: end;
  position: relative;
  z-index: 1;
}

.res-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: flex-end;
}

.res-copy-column {
  padding-top: 18px;
}

.res-copy-column .section-title {
  max-width: 305px;
}

.res-copy-column .section-title h2 {
  line-height: 1.16;
}

.res-copy-column .section-title p {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 300px;
}

.divider-line {
  width: 30%;
  border-top: 1px solid #000;
  margin-top: 8px;
}

.res-card-square::before {
  content: "";
  display: block;
  padding-top: 101%;
}

.res-card-tall::before {
  display: none;
}

.res-card-tall {
  min-height: 555px;
}

.res-stack .res-card-square::before {
  display: none;
}

.res-stack .res-card-square {
  min-height: calc((555px - 30px) / 2);
}

.team {
  background: #f7f5f0;
  padding: 90px 0;
}

.team .container {
  max-width: none;
  width: 100%;
}

.team-heading {
  margin: 0 auto;
  max-width: 1020px;
  padding: 0 24px;
}

.team-heading p {
  color: #626b75;
  font-size: 15px;
  line-height: 1.75;
  margin: 16px auto 0;
  max-width: 760px;
}

.carousel-head {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 20px 0;
}

.ghost-btn {
  border-color: #dce0e0;
  color: #222;
  min-height: 38px;
}

.carousel-track {
  display: grid;
  grid-auto-columns: calc((100% - 60px) / 3);
  grid-auto-flow: column;
  gap: 30px;
  overflow-x: auto;
  overscroll-behavior-x: auto;
  padding-bottom: 6px;
  scroll-behavior: auto;
  scrollbar-width: none;
  scroll-snap-type: none;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track > * {
  scroll-snap-align: start;
}

.team-track {
  background: transparent;
  border: 0;
  box-sizing: border-box;
  gap: 24px;
  grid-auto-columns: calc((100% - 48px) / 3);
  grid-auto-flow: column;
  grid-template-columns: none;
  margin-top: 34px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: auto;
  padding: 0 0 16px;
  scroll-snap-type: none;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.team-track,
.testimonials-track {
  overscroll-behavior-x: auto;
}

.team-grid-page {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.team-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
  padding: 38px 32px 30px;
  position: relative;
  text-align: center;
  transition: transform 0.25s ease;
}

.team-card::after {
  background: #ece6de;
  content: "";
  height: 65%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

.team-card:last-child::after {
  display: none;
}

.team-track .team-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 34px 24px 30px;
}

.team-track .team-card::after {
  display: none;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  object-fit: cover;
  margin-bottom: 14px;
}

img[src*="marta-s-loza.jpeg"] {
  object-position: center center;
}

@media (min-width: 1200px) {
  .team-card img {
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
  }

  .team-card img.is-drag-origin {
    cursor: grabbing;
    opacity: 0;
  }
}

.team-photo-drag-ghost {
  position: fixed;
  left: var(--team-photo-left, 0);
  top: var(--team-photo-top, 0);
  width: var(--team-photo-width, 150px);
  height: var(--team-photo-height, 150px);
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(16, 23, 33, 0.22);
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
  transform: rotate(var(--team-photo-rotate, 0deg));
  transition: none;
  user-select: none;
  will-change: left, top, transform, opacity;
  z-index: 9999;
}

.team-photo-drag-ghost.is-fading-out {
  opacity: 0;
  transition: opacity 0.24s ease;
}

.team-card h3 {
  color: #101721;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.28;
  margin: 0;
}

.team-card h4 {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  margin-top: 5px;
  text-transform: none;
}

.team-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  max-width: 320px;
}

.team-badge {
  background: #f7f5f0;
  border: 0;
  border-radius: 999px;
  color: #7a6541;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  text-transform: uppercase;
}

.team-card p {
  color: #5f6974;
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.68;
  margin-top: 16px;
  max-width: 300px;
  overflow: hidden;
  padding-top: 16px;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.team-card p::before {
  background: #e5e7eb;
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 46px;
}

.team-card a {
  align-items: center;
  color: var(--accent);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.01em;
  margin-top: auto;
  padding-top: 20px;
  transition: color 0.2s ease;
}

.team-card a::after {
  content: "\2192";
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.team-card a:hover::after,
.team-card a:focus-visible::after {
  transform: translateX(3px);
}

.team-card a:hover,
.team-card a:focus-visible {
  color: #c1121f;
}

@media (hover: hover) and (pointer: fine) {
  .team-card:hover,
  .team-card:focus-within {
    transform: translateY(-4px);
  }
}

.agent-profile-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  align-items: start;
}

.agent-profile-main {
  display: grid;
  gap: 24px;
}

.agent-profile-card,
.agent-highlights-card,
.agent-about-card,
.agent-contact-card {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(16, 23, 33, 0.08);
}

.agent-profile-card {
  display: grid;
  gap: 24px;
  grid-template-columns: 240px minmax(0, 1fr);
  padding: 28px;
}

.agent-profile-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  object-fit: cover;
}

.agent-profile-role,
.agent-section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-profile-summary h2 {
  color: #101721;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  margin-top: 10px;
}

.agent-profile-description {
  color: #4f5865;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 16px;
}

.agent-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.agent-profile-btn,
.agent-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.agent-profile-btn-primary {
  background: var(--accent);
  color: #fff;
}

.agent-profile-btn-secondary,
.agent-back-link {
  border: 1px solid rgba(16, 23, 33, 0.14);
  color: #101721;
}

.agent-highlights-card,
.agent-about-card,
.agent-contact-card {
  padding: 28px;
}

.agent-section-head h3,
.agent-contact-card h3 {
  color: #101721;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 10px;
}

.agent-highlights-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.agent-highlight-card {
  background: #f7f8f9;
  border-radius: 18px;
  padding: 18px;
}

.agent-highlight-card h4 {
  color: #101721;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.agent-highlight-card p,
.agent-about-copy p,
.agent-contact-list a {
  color: #4f5865;
  font-size: 15px;
  line-height: 1.8;
}

.agent-highlight-card p,
.agent-about-copy p {
  margin-top: 10px;
}

.agent-about-copy {
  margin-top: 22px;
}

.agent-about-copy p + p {
  margin-top: 14px;
}

.agent-profile-sidebar {
  position: sticky;
  top: 110px;
}

.agent-contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.agent-contact-list li {
  display: grid;
  gap: 6px;
}

.agent-contact-list strong {
  color: #101721;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-back-link {
  margin-top: 24px;
}

.testimonials {
  background: #fff;
  padding: 45px 0 35px;
}

.carousel-head-right {
  margin-top: 0;
}

.testimonials-rail {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 20px;
  overflow: hidden;
  padding: 0 40px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  width: 100vw;
  touch-action: pan-y pinch-zoom;
}

.testimonials-track {
  align-items: stretch;
  display: flex;
  gap: 30px;
  padding-bottom: 8px;
  scrollbar-width: none;
  width: max-content;
  will-change: transform;
}

.testimonials-track.is-animated {
  animation: testimonials-marquee var(--testimonials-loop-duration, 40s) linear infinite;
}

.testimonials-track.is-paused {
  animation-play-state: paused;
}

.testimonial-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  flex: 0 0 clamp(280px, 31vw, 360px);
  min-height: 0;
  padding: 0;
  scroll-snap-align: start;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

@keyframes testimonials-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--testimonials-loop-distance, 0px)), 0, 0);
  }
}

.testimonial-card i {
  color: #000;
  font-size: 28px;
}

.testimonial-card p {
  color: #222;
  margin-top: 18px;
  min-height: 178px;
}

.testimonial-card h4 {
  font-size: 18px;
  font-weight: 700;
}

.connect {
  background: var(--navy-soft);
  padding: 50px 0;
}

.connect-grid {
  display: grid;
  grid-template-columns: 30% 30% 39.666%;
  gap: 0.334%;
  align-items: stretch;
  max-width: 1280px;
  min-height: 760px;
}

.benefits-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: span 2;
  align-content: center;
  gap: 26px 46px;
  padding: 30px 20px 30px 0;
}

.benefits-title {
  align-self: center;
}

.benefits-title::after {
  content: "";
  display: block;
  width: 30%;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  margin-top: 42px;
}

.benefits-title h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
}

.benefit-block {
  align-self: center;
}

.benefit-line {
  width: 30%;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  margin-top: 42px;
}

.benefit-number {
  color: #e66a72;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.benefit-block h3 {
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 15px;
}

.benefit-block p {
  color: rgba(255, 255, 255, 0.63);
  margin-top: 15px;
}

.contact-panel {
  align-self: start;
  background: #fff;
  padding: 50px 50px 40px;
}

.contact-title h2 {
  font-size: 35px;
  font-weight: 500;
}

.contact-title p {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 10px;
}

.contact-form {
  margin-top: 20px;
}

.row.two {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  margin-bottom: 10px;
}

.form-field label {
  color: #222;
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-form .form-field label::after {
  color: #e11b22;
  content: " *";
  font-weight: 700;
}

.contact-form .form-field input,
.contact-form .form-field textarea {
  border-color: #c7cccf;
  color: #555b61;
}

.contact-form .form-field input::placeholder,
.contact-form .form-field textarea::placeholder {
  color: #6c7278;
  opacity: 1;
}

.form-field textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form button {
  margin-top: 6px;
  width: 100%;
}

.form-response {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 10px;
  min-height: 20px;
}

.form-consent {
  color: #6c7278;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 12px;
}

.form-consent a {
  color: #101721;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-response[data-state="error"] {
  color: #ba0c2f;
}

.form-response[data-state="success"] {
  color: #2c6a4a;
}

.form-response[data-state="warning"] {
  color: #9a6a08;
}

.broker-page {
  background:
    linear-gradient(180deg, #f5f0e9 0, #fbf9f5 200px, #fff 420px);
  color: #101721;
  min-height: 100vh;
}

.broker-topbar {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 310px;
  background-position: center 52%;
}

.broker-topbar-bar {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 110px;
  position: relative;
  z-index: 2;
}

.broker-logo-wrap {
  margin-right: 0;
}

.broker-hero-content {
  max-width: 760px;
  padding-bottom: 56px;
}

.broker-hero-content h2 {
  color: #fff;
  max-width: 720px;
}

.broker-hero-content .page-intro {
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
}

.broker-brand {
  align-items: center;
  display: flex;
  gap: 18px;
}

.broker-brand img {
  height: 46px;
  width: auto;
}

.broker-brand h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.broker-kicker,
.broker-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.broker-kicker {
  color: #ffd7de;
  margin-bottom: 10px;
}

.broker-topbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.broker-site-link,
.broker-ghost-btn,
.broker-primary-btn,
.broker-inline-btn {
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.broker-site-link,
.broker-ghost-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e5ddd3;
  color: #101721;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  min-height: 42px;
  padding: 0 18px;
  text-transform: none;
}

.broker-topbar .broker-site-link,
.broker-topbar .broker-ghost-btn {
  background: rgba(9, 18, 35, 0.24);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.broker-primary-btn {
  align-items: center;
  background: var(--accent);
  border: 0;
  box-shadow: 0 18px 30px rgba(16, 23, 33, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  min-height: 44px;
  padding: 0 20px;
  text-transform: none;
}

.broker-inline-btn {
  align-items: center;
  background: #fffdf9;
  border: 1px solid #e5ddd3;
  color: #101721;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  min-height: 34px;
  padding: 0 12px;
  text-transform: none;
}

.broker-inline-btn:disabled {
  cursor: default;
  opacity: 0.45;
}

.broker-inline-btn.danger {
  background: #fdf1f4;
  border-color: rgba(186, 12, 47, 0.18);
  color: var(--accent);
}

.broker-shell {
  margin: -72px 0 0;
  max-width: none;
  padding: 0;
  position: relative;
  z-index: 3;
}

.broker-auth-panel {
  display: grid;
  place-items: center;
  min-height: min(720px, calc(100vh - 250px));
}

.broker-page.broker-authenticated .broker-auth-panel {
  display: none;
}

.broker-page.broker-authenticated .broker-dashboard {
  display: grid;
}

.broker-auth-panel .broker-panel {
  padding: 40px 42px;
  width: min(100%, 620px);
}

.broker-auth-panel .broker-copy {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: none;
}

.broker-auth-panel .broker-form {
  gap: 16px;
  margin-top: 24px;
}

.broker-auth-panel .broker-field label {
  font-weight: 700;
  margin-bottom: 8px;
}

.broker-auth-panel .broker-field input {
  border-color: #ccd3d8;
  border-radius: var(--radius-sm);
  color: #46515c;
  min-height: 46px;
  padding: 12px 14px;
}

.broker-auth-panel .broker-primary-btn {
  min-height: 48px;
  width: 100%;
}

.broker-dashboard {
  display: grid;
  gap: 28px;
}

.broker-workspace-bar {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
}

.broker-panel {
  background: linear-gradient(180deg, #fffdf9 0, #fff 100%);
  border: 1px solid #ebe2d7;
  border-radius: 5px;
  box-shadow: 0 24px 60px rgba(16, 23, 33, 0.06);
  padding: 30px 32px;
}

.broker-panel-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.broker-panel-tools {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.broker-sort-control {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.broker-sort-control span {
  color: #6a7380;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.broker-panel h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.broker-copy {
  color: #5c6570;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 520px;
}

.broker-notice {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  min-height: 20px;
}

.broker-notice[data-state="error"] {
  color: #ba0c2f;
}

.broker-notice[data-state="success"] {
  color: #2c6a4a;
}

.broker-inline-notice {
  color: #5c6570;
  margin: 14px 0 0;
}

.broker-inline-notice.is-error {
  color: var(--accent);
}

.broker-inline-field {
  align-items: center;
  display: flex;
  gap: 12px;
}

.broker-inline-field input {
  flex: 1 1 auto;
}

.broker-inline-field .broker-ghost-btn {
  flex: 0 0 auto;
  min-width: 88px;
}

.broker-summary-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(300px, 1.3fr) repeat(3, minmax(0, 1fr));
}

.broker-summary-card {
  background: linear-gradient(135deg, #fffdf9 0, #f9f3eb 100%);
  border: 1px solid #ebe2d7;
  border-radius: 5px;
  box-shadow: 0 24px 50px rgba(16, 23, 33, 0.06);
  padding: 24px 26px;
}

.broker-summary-card span {
  color: #66707a;
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.broker-summary-card strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: normal;
}

.broker-summary-card:first-child strong {
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.broker-summary-card-compact {
  align-content: start;
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 22px 24px;
}

.broker-summary-card-compact strong {
  font-size: 19px;
  line-height: 1.3;
}

.broker-summary-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.broker-summary-mini-stats span {
  align-items: baseline;
  color: #5e6872;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  margin: 0;
}

.broker-summary-mini-stats strong {
  color: #101721;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.broker-tab-nav {
  align-items: center;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid #ebe2d7;
  border-radius: 5px;
  box-shadow: 0 24px 50px rgba(16, 23, 33, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

.broker-tab {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #56616c;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
  min-height: 44px;
  padding: 0 18px;
  text-transform: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.broker-tab:hover,
.broker-tab:focus-visible {
  background: #f5f0e9;
  color: #101721;
}

.broker-tab.is-active {
  background: #101721;
  box-shadow: 0 12px 24px rgba(16, 23, 33, 0.18);
  color: #fff;
}

.broker-tab-badge {
  align-items: center;
  background: rgba(16, 23, 33, 0.08);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  min-width: 26px;
  padding: 4px 8px;
}

.broker-tab.is-active .broker-tab-badge {
  background: rgba(255, 255, 255, 0.18);
}

.broker-tab-panel {
  display: grid;
  gap: 24px;
}

.broker-tab-panel[hidden] {
  display: none !important;
}

.broker-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.broker-grid-content {
  align-items: stretch;
}

.broker-panel-stack {
  align-content: start;
  display: grid;
  gap: 24px;
}

.broker-panel-stack-secondary {
  align-self: stretch;
  gap: 20px;
  grid-template-rows: auto minmax(0, 1fr);
}

.broker-grid-settings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.broker-panel-wide {
  margin-top: 0;
}

.broker-form {
  display: grid;
  gap: 18px;
}

.broker-field label {
  color: #6a7380;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: none;
}

.broker-field input,
.broker-field select,
.broker-field textarea {
  background: #fff;
  border: 1px solid #dfd5ca;
  border-radius: 10px;
  color: #46515c;
  font-size: 15px;
  min-height: 48px;
  padding: 13px 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
}

.broker-field textarea {
  min-height: 120px;
  resize: vertical;
}

.broker-field input:focus,
.broker-field select:focus,
.broker-field textarea:focus {
  background: #fffdfa;
  border-color: rgba(186, 12, 47, 0.42);
  box-shadow: 0 0 0 4px rgba(186, 12, 47, 0.08);
  outline: none;
}

.broker-upload-shell {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.broker-upload-input {
  display: none;
}

.broker-upload-dropzone {
  align-items: center;
  background: #fffaf3;
  border: 1px dashed #d7cabc;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 120px;
  padding: 18px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.broker-upload-dropzone.is-dragover {
  background: #f8eee8;
  border-color: rgba(186, 12, 47, 0.5);
  box-shadow: none;
}

.broker-upload-dropzone.is-uploading {
  cursor: progress;
  opacity: 0.72;
  pointer-events: none;
}

.broker-upload-copy {
  display: grid;
  gap: 6px;
}

.broker-upload-copy strong {
  color: #222;
  font-size: 15px;
  font-weight: 600;
}

.broker-upload-copy span,
.broker-upload-notice,
.broker-upload-preview span {
  color: #65707b;
  font-size: 13px;
  line-height: 1.5;
}

.broker-upload-notice {
  margin: 0;
}

.broker-upload-notice.is-error {
  color: var(--accent);
}

.broker-upload-preview {
  align-items: center;
  display: flex;
  gap: 12px;
}

.broker-upload-preview[hidden] {
  display: none;
}

.broker-upload-preview img {
  background: #fff;
  border-radius: 12px;
  box-shadow: none;
  height: 66px;
  object-fit: cover;
  width: 66px;
}

.broker-upload-preview span {
  overflow-wrap: anywhere;
}

.broker-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.broker-helper {
  color: #65707b;
  font-size: 13px;
  line-height: 1.5;
  margin-top: -4px;
}

.broker-about-form {
  gap: 22px;
}

.broker-subsection {
  display: grid;
  gap: 14px;
}

.broker-subsection h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.broker-subcard {
  background: #fffdfa;
  border: 1px solid #ece3d7;
  border-radius: 5px;
  box-shadow: none;
  padding: 20px 22px;
}

.broker-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.broker-list-viewport {
  border-top: 1px solid #efe7dc;
  margin-top: 26px;
  padding-top: 24px;
}

.broker-list-viewport .broker-list {
  margin-top: 0;
}

.broker-messages {
  border-top: 1px solid #efe7dc;
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 24px;
}

.broker-client-list {
  border-top: 1px solid #efe7dc;
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 24px;
}

.broker-list.is-scrollable {
  overscroll-behavior: contain;
}

.broker-list.is-scrollable::-webkit-scrollbar {
  width: 8px;
}

.broker-list.is-scrollable::-webkit-scrollbar-thumb {
  background: rgba(16, 23, 33, 0.18);
  border-radius: 999px;
}

.broker-list.is-scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.broker-list-viewport-agents,
.broker-list-viewport-testimonials {
  max-height: 692px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scroll-snap-type: y proximity;
  scrollbar-gutter: stable;
}

.broker-list-viewport-agents::-webkit-scrollbar,
.broker-list-viewport-testimonials::-webkit-scrollbar {
  width: 8px;
}

.broker-list-viewport-agents::-webkit-scrollbar-thumb,
.broker-list-viewport-testimonials::-webkit-scrollbar-thumb {
  background: rgba(16, 23, 33, 0.18);
  border-radius: 999px;
}

.broker-list-viewport-agents::-webkit-scrollbar-track,
.broker-list-viewport-testimonials::-webkit-scrollbar-track {
  background: transparent;
}

#agentList,
#testimonialList {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  scroll-snap-type: none;
}

.broker-daily-note {
  display: block;
  margin: 0;
  min-height: 0;
  padding: 0;
  width: 100%;
}

.broker-daily-note-stack {
  display: grid;
  gap: 16px;
  width: 100%;
}

.broker-daily-note-copy {
  color: #101721;
  font-size: 30px;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 540px;
  text-align: center;
}

.broker-status-note {
  background: #fffdfa;
  border: 1px solid #ece3d7;
  border-radius: 5px;
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  text-align: left;
  width: 100%;
}

.broker-status-note-neutral {
  gap: 18px;
}

.broker-status-note-quote {
  justify-items: center;
  text-align: center;
}

.broker-status-note-alert {
  text-align: left;
}

.broker-status-note-label {
  color: #c8102e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.broker-status-item {
  display: grid;
  gap: 4px;
}

.broker-status-item strong {
  color: #101721;
  font-size: 15px;
  font-weight: 700;
}

.broker-status-item span {
  color: #5e6673;
  font-size: 14px;
  line-height: 1.5;
}

.broker-status-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.broker-status-action-text {
  color: #5e6673;
  font-size: 13px;
  line-height: 1.5;
}

.broker-status-action-note {
  color: #3b4250;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.broker-status-action-note.is-error {
  color: #c8102e;
}

.broker-list-card,
.broker-message-card {
  background: #fffdfa;
  border: 1px solid #ece3d7;
  border-radius: 5px;
  box-shadow: none;
  padding: 22px 24px;
}

.broker-client-card {
  background: #fffdfa;
  border: 1px solid #ece3d7;
  border-radius: 5px;
  box-shadow: none;
  display: grid;
  gap: 16px;
  padding: 22px 24px;
}

.broker-list-card {
  align-items: start;
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  justify-content: space-between;
}

.broker-row-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.broker-row-head {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-width: 0;
}

.broker-collapsible-card {
  display: grid;
  gap: 16px;
}

.broker-list-topline {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.broker-list-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  min-width: 0;
}

.broker-list-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.broker-list-copy strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.broker-list-title-row strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.broker-row-head strong,
.broker-message-head strong,
.broker-client-head strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.broker-meta-pill {
  align-items: center;
  background: #f5eee6;
  border-radius: 999px;
  color: #6b5b4f;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  min-height: 28px;
  padding: 0 12px;
  white-space: nowrap;
}

.broker-list-copy span {
  color: #65707b;
  display: block;
  font-size: 14px;
  margin-top: 6px;
}

.broker-row-preview,
.broker-list-copy p {
  color: #56616c;
  line-height: 1.65;
  margin: 0;
  max-width: 70ch;
}

#agentList .broker-list-card,
#testimonialList .broker-list-card {
  min-height: 0;
  padding: 18px 20px;
  scroll-snap-align: start;
}

#testimonialList .broker-testimonial-row {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e6ddd1;
  border-radius: 0;
  padding: 18px 0;
}

#testimonialList .broker-testimonial-row:first-child {
  padding-top: 4px;
}

#testimonialList .broker-testimonial-row:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

#agentList .broker-list-copy p {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  overflow: hidden;
}

#testimonialList .broker-list-copy p {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  overflow: hidden;
}

.broker-item-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.broker-agent-card {
  cursor: default;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.broker-agent-card.is-dragging {
  box-shadow: none;
  opacity: 0.42;
}

.broker-agent-card.is-drop-before {
  border-top-color: var(--accent);
  box-shadow: inset 0 3px 0 var(--accent);
}

.broker-agent-card.is-drop-after {
  border-bottom-color: var(--accent);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.broker-drag-handle {
  align-items: center;
  appearance: none;
  background: #f7f1e9;
  border: 1px solid #dfd5ca;
  border-radius: 10px;
  color: #46515c;
  cursor: grab;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  min-width: 64px;
  letter-spacing: 0;
  padding: 0 14px;
  text-transform: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.broker-drag-handle:hover,
.broker-drag-handle:focus-visible {
  background: #f2e9df;
  border-color: #c9baaa;
  color: #101721;
}

.broker-drag-handle:active {
  cursor: grabbing;
}

.broker-list-details {
  border-top: 1px solid #eef1f4;
  display: grid;
  gap: 14px;
  padding-top: 16px;
}

.broker-detail-row {
  display: grid;
  gap: 6px;
}

.broker-detail-label {
  color: #65707b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.broker-detail-value {
  color: #2f353b;
  line-height: 1.65;
  margin: 0;
  word-break: break-word;
}

.broker-message-head {
  margin-bottom: 10px;
}

.broker-client-head {
  margin-bottom: 6px;
}

.broker-message-head span,
.broker-message-source {
  color: #65707b;
  display: block;
  font-size: 14px;
  margin-top: 6px;
}

.broker-client-head span {
  color: #65707b;
  display: block;
  font-size: 14px;
  margin-top: 6px;
}

.broker-client-status {
  align-items: center;
  background: rgba(186, 12, 47, 0.08);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  margin-top: 0;
  min-height: 30px;
  padding: 0 12px;
  white-space: nowrap;
}

.broker-client-status.is-verified {
  background: rgba(44, 106, 74, 0.12);
  color: #2c6a4a;
}

.broker-client-meta {
  color: #55606b;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
}

.broker-client-meta span {
  background: #f7f2eb;
  border-radius: 999px;
  padding: 6px 10px;
}

.broker-page-footer {
  border-top: 1px solid #eee4d9;
  margin-top: 44px;
  padding: 28px 0 40px;
}

.broker-page-footer-inner {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
}

.broker-page-footer-title {
  color: #101721;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.broker-page-footer-copy p:last-child {
  color: #5f6973;
  margin: 0;
  max-width: 560px;
}

.broker-page-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.broker-page-footer-link {
  background: #101721;
  border-color: #101721;
  color: #fff;
}

.broker-message-meta {
  text-align: right;
}

.broker-message-side {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.broker-message-actions {
  justify-content: flex-end;
}

.broker-message-confirm {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.broker-message-confirm-copy {
  color: #ba0c2f;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.broker-message-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.broker-message-card[aria-busy="true"] {
  opacity: 0.6;
}

.broker-message-body {
  color: #2c343c;
  margin-top: 16px;
  white-space: pre-wrap;
}

.broker-empty {
  color: #65707b;
}

main.page-shell.broker-page-shell,
main.page-shell.broker-page-shell > .page-section.broker-page-section {
  background: var(--bg);
}

main.page-shell.broker-page-shell > .page-section.broker-page-section {
  padding: 44px 0 72px;
}

.page-shell {
  background: #fff;
}

.page-section {
  background: #fff;
  padding: 72px 0;
}

.compact-cards-section {
  margin-top: -64px;
  padding: 28px 0 22px;
  z-index: 3;
}

.about-pillars-section {
  padding-bottom: 4px;
}

.page-section-soft {
  background: #f7f8f9;
}

.account-shell {
  display: grid;
  gap: 30px;
}

body[data-page="account"] #brokerAuthPanel {
  display: none !important;
}

body[data-page="account"] .account-broker-dashboard {
  gap: 24px;
}

body[data-page="account"] .broker-summary-logout {
  justify-self: start;
  margin-top: 4px;
}

body[data-page="account"].broker-authenticated #clientAuthPanel,
body[data-page="account"].broker-authenticated #clientDashboard,
body[data-page="account"].broker-authenticated .account-global-notice {
  display: none !important;
}

.account-global-notice {
  border: 1px solid #d6dee4;
  border-radius: var(--radius-sm);
  color: #2e3945;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  padding: 16px 18px;
}

.account-global-notice[data-state="error"] {
  background: #fff4f6;
  border-color: rgba(186, 12, 47, 0.16);
  color: #8f1532;
}

.account-global-notice[data-state="success"] {
  background: #f4fbf7;
  border-color: rgba(44, 106, 74, 0.14);
  color: #2c6a4a;
}

.account-auth-grid,
.account-summary-grid {
  display: grid;
  gap: 28px;
}

.account-auth-grid {
  align-items: start;
  background: #fff;
  border-radius: 0;
  gap: 0;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  justify-items: center;
  margin: 0 auto;
  max-width: 1160px;
  position: relative;
  width: 100%;
}

.account-auth-grid::before {
  background: #e1e6ea;
  bottom: 0;
  content: "";
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-0.5px);
  width: 1px;
}

.account-auth {
  background: #fff;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  position: relative;
  z-index: 3;
  width: 100%;
}

.account-auth-inner {
  padding: 0 48px;
  margin: 0 auto;
  width: 100%;
}

.account-panel {
  background: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: none;
  padding: 30px 32px;
}

.account-auth .account-panel {
  align-items: center;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  min-height: 100%;
  max-width: 500px;
  padding: 44px 0;
  text-align: center;
  width: 100%;
}

.account-auth .account-panel:first-child {
  justify-self: stretch;
  width: 100%;
}

.account-auth .account-panel:last-child {
  border-left: 0;
}

.account-auth .account-form {
  align-self: center;
  margin-top: 26px;
  text-align: left;
  width: min(100%, 500px);
}

.account-auth .account-panel:last-child .account-form {
  margin-top: 22px;
}

.account-auth .account-copy {
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
  text-align: center;
}

.account-auth .account-helper-panel,
.account-auth .account-forgot-password,
.account-auth #clientLoginSection,
.account-auth #clientPasswordResetPanel,
.account-auth #clientResendVerificationPanel {
  align-self: center;
  width: min(100%, 500px);
}

.account-auth .account-helper-panel h3,
.account-auth .account-helper-copy,
.account-auth .account-notice,
.account-auth .account-forgot-password {
  text-align: center;
}

.account-auth .account-field label {
  text-align: center;
}

.account-auth .account-text-button {
  display: inline-flex;
  justify-self: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.account-auth .account-panel:last-child .account-copy {
  font-size: 15px;
  line-height: 1.65;
}

.account-panel-wide {
  min-width: 0;
}

.account-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-panel h2 {
  color: #101721;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 8px;
}

.account-copy {
  color: #5d6570;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 12px;
}

.account-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.account-form-compact {
  margin-top: 16px;
}

.account-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-field label {
  color: #5c6570;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.account-field input,
.account-field textarea {
  background: #fff;
  border: 1px solid #c7cccf;
  border-radius: var(--radius-sm);
  color: #46515c;
  min-height: 42px;
  padding: 12px 14px;
  width: 100%;
}

.account-field textarea {
  min-height: 150px;
  resize: vertical;
}

.account-field input::placeholder,
.account-field textarea::placeholder {
  color: #6c7278;
  opacity: 1;
}

.account-helper-panel {
  border-top: 1px solid #e8ecef;
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
}

.account-helper-panel[hidden] {
  display: none;
}

.account-helper-panel-plain {
  gap: 12px;
}

.account-forgot-password {
  margin-top: 18px;
}

.account-forgot-password .account-form {
  margin-top: 12px;
}

.account-helper-panel h3 {
  color: #101721;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.account-helper-copy {
  color: #5d6570;
  font-size: 14px;
  line-height: 1.65;
}

.account-text-button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  justify-self: start;
  padding: 0;
}

.account-text-button:hover,
.account-text-button:focus-visible {
  color: #a20a2a;
}

.account-primary-btn {
  min-height: 42px;
  width: 100%;
}

.account-ghost-btn {
  color: #101721;
  margin-top: 12px;
  width: 100%;
}

.account-notice {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  min-height: 20px;
}

.account-consent {
  color: #6c7278;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 12px;
}

.account-consent a {
  color: #101721;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-persist-toggle {
  align-items: center;
  color: #46515c;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.auth-persist-toggle input {
  accent-color: #ba0c2f;
  flex: 0 0 auto;
  height: 16px;
  margin: 0;
  width: 16px;
}

.auth-persist-toggle span {
  color: inherit;
}

.account-notice[data-state="error"] {
  color: #ba0c2f;
}

.account-notice[data-state="success"] {
  color: #2c6a4a;
}

.account-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-summary-card {
  background: linear-gradient(135deg, #101721, #1a2230);
  border-radius: var(--radius-sm);
  color: #fff;
  display: grid;
  gap: 10px;
  min-height: 128px;
  padding: 28px;
}

.account-summary-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-summary-card strong,
.account-summary-link {
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.account-summary-link {
  align-self: end;
  display: inline-flex;
}

.account-dashboard-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
  align-items: start;
}

.account-sidebar {
  display: grid;
  gap: 28px;
}

.account-panel-head {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 4px;
}

.account-link-btn {
  color: #101721;
}

.account-saved-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.account-empty {
  align-items: flex-start;
  background: #f6f7f9;
  border: 1px solid #e2e6ea;
  border-radius: var(--radius-sm);
  color: #5c6570;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.account-empty a {
  color: var(--accent);
  font-weight: 500;
}

.saved-home-card {
  background: #fff;
  border: 1px solid #dde3e8;
  border-radius: var(--radius-sm);
  content-visibility: auto;
  contain-intrinsic-size: 0 420px;
  box-shadow: none;
  overflow: hidden;
}

.saved-home-image {
  background: linear-gradient(135deg, rgba(16, 23, 33, 0.1), rgba(186, 12, 47, 0.12));
  position: relative;
}

.saved-home-image::before {
  content: "";
  display: block;
  padding-top: 61%;
}

.saved-home-photo,
.saved-home-photo-fallback {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.saved-home-photo {
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.saved-home-image.is-loaded .saved-home-photo {
  opacity: 1;
}

.saved-home-photo-fallback {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 34%),
    linear-gradient(135deg, rgba(16, 23, 33, 0.12), rgba(186, 12, 47, 0.18));
}

.saved-home-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 23, 33, 0.56), rgba(16, 23, 33, 0.12));
}

.saved-home-status {
  left: 16px;
  position: absolute;
  top: 16px;
  z-index: 2;
}

.saved-home-remove {
  align-items: center;
  background: rgba(186, 12, 47, 0.92);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 8px;
  padding: 10px 14px;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
}

.saved-home-remove:hover,
.saved-home-remove:focus-visible {
  background: #ba0c2f;
}

.saved-home-body {
  padding: 22px;
}

.saved-home-body h3 {
  color: #101721;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.saved-home-price {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
}

.saved-home-type,
.saved-home-location {
  color: #58616c;
  font-size: 14px;
  line-height: 1.6;
}

.saved-home-type {
  margin-top: 4px;
  text-transform: uppercase;
}

.saved-home-location {
  margin-top: 8px;
}

.saved-home-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}

.saved-home-meta span {
  align-items: center;
  color: #46515c;
  display: inline-flex;
  font-size: 14px;
  gap: 6px;
}

.saved-home-meta i {
  color: #4b5665;
}

.saved-home-link {
  color: var(--accent);
  display: inline-flex;
  font-weight: 500;
  margin-top: 18px;
}

.account-detail-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.account-detail-row {
  border-bottom: 1px solid #e5e8eb;
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
}

.account-detail-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.account-detail-row span {
  color: #7a838e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-detail-row strong {
  color: #101721;
  font-size: 18px;
  font-weight: 500;
}

.why-section {
  background: #fff;
  border-top: 1px solid #eceff2;
  padding-top: 26px;
}

.why-choose-title {
  margin: 0 auto 12px;
  max-width: 1140px;
  width: 100%;
}

.about-story-copy .section-title {
  max-width: 520px;
}

.about-story-copy .section-title h2 {
  font-size: clamp(40px, 4vw, 54px);
  line-height: 1.08;
}

.about-story-copy .section-title p {
  font-size: 17px;
  line-height: 1.7;
  margin-top: 14px;
}

.about-story-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(540px, 640px);
  align-items: start;
}

.detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
}

.detail-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-card,
.contact-info-panel {
  background: #f7f8f9;
  border: 1px solid #e4e8ea;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(16, 23, 33, 0.05);
}

.detail-card {
  min-height: 128px;
  padding: 16px 18px;
}

.compact-cards-section .detail-card {
  background: #fff;
  border: 0;
  box-shadow: 0 6px 18px rgba(16, 23, 33, 0.06);
}

.about-pillars-grid {
  align-items: stretch;
  gap: 0;
}

.about-pillar-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  min-height: 0;
  padding: 24px 28px;
  position: relative;
  transition: opacity 0.25s ease;
}

.about-pillar-card::after {
  background: #ece6de;
  content: "";
  height: 68%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

.about-pillars-grid .about-pillar-card:last-child::after {
  display: none;
}

.about-pillar-head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  width: 100%;
}

.about-pillar-head > div {
  display: grid;
  gap: 6px;
}

.about-pillar-head > div::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.about-pillar-icon {
  align-items: center;
  background: #f4e9ea;
  border-radius: 999px;
  color: #c1121f;
  display: inline-flex;
  flex: 0 0 44px;
  font-size: 16px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.about-pillar-icon .icon-svg {
  color: inherit;
  height: 18px;
  width: 18px;
}

.about-pillar-card h3 {
  color: #111821;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.about-pillar-card p {
  color: #5e6670;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 260px;
}

.detail-card h3 {
  color: #111821;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.detail-card p {
  color: #5e6670;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}

.about-two-column {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 1140px;
}

.about-story-layout {
  align-items: start;
  gap: 40px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.about-text-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-story-copy {
  display: grid;
  gap: 24px;
}

.about-text-block h3 {
  color: #4c535d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 18px;
}

.about-text-block p {
  color: #5c636d;
  font-size: 17px;
  line-height: 1.7;
}

.about-text-block p + p {
  margin-top: 22px;
}

.about-story-intro p {
  color: #4e5763;
  font-size: 18px;
  line-height: 1.72;
}

.about-trust-block {
  display: grid;
  gap: 14px;
}

.about-trust-block h3,
.about-mission-card h3 {
  color: #101721;
  font-size: 19px;
  font-weight: 700;
  margin: 0;
}

.about-trust-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-trust-list li {
  color: #4e5763;
  font-size: 16px;
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.about-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.about-mission-card {
  background: #f7f8f9;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 24px 26px;
}

.about-mission-card p {
  color: #55606b;
  font-size: 16px;
  line-height: 1.68;
}

.about-visual-column {
  align-self: stretch;
}

.about-visual-panel {
  display: grid;
  gap: 14px;
}

.about-visual-image {
  background: linear-gradient(rgba(16, 23, 33, 0.18), rgba(16, 23, 33, 0.08)),
    url("./phoenix-hero-optimized.jpg?v=20260314a") center 45% / cover no-repeat;
  border-radius: var(--radius-sm);
  min-height: 420px;
}

.about-visual-caption {
  background: #fff;
  border: 1px solid #eceff2;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.about-visual-caption strong {
  color: #101721;
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.about-visual-caption p {
  color: #59636f;
  font-size: 15px;
  line-height: 1.65;
  margin-top: 8px;
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-page-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1.16fr);
  align-items: stretch;
  padding: 24px 28px 0;
}

.contact-primary-column {
  display: grid;
  gap: 28px;
  justify-self: stretch;
  width: 100%;
}

.contact-lead {
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.contact-lead-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.contact-lead h2 {
  color: #101721;
  font-size: clamp(34px, 4.2vw, 46px);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

.contact-lead-copy {
  color: #55606b;
  font-size: 21px;
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
}

.contact-lead-trust {
  color: #7a6541;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  margin: 4px 0 0;
  max-width: 460px;
}

.contact-advisor-card,
.contact-info-panel,
.contact-sidebar-card {
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
}

.contact-advisor-card {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 124px minmax(0, 1fr);
  padding: 6px 0 4px;
}

.contact-advisor-photo {
  border-radius: 999px;
  display: block;
  height: 124px;
  object-fit: cover;
  width: 124px;
}

.contact-advisor-copy {
  display: grid;
  gap: 8px;
}

.contact-advisor-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.contact-advisor-copy h3 {
  color: #101721;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
}

.contact-advisor-role {
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

.contact-advisor-facts {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.contact-advisor-facts span {
  align-items: center;
  color: #5d6771;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  gap: 8px;
  line-height: 1.5;
}

.contact-advisor-facts :is(i, .icon-svg) {
  color: #7a6541;
  font-size: 12px;
}

.contact-advisor-text {
  color: #55606b;
  font-size: 16px;
  line-height: 1.65;
  margin: 6px 0 0;
  max-width: 360px;
}

.contact-advisor-cta {
  justify-content: center;
  margin-top: 8px;
  max-width: max-content;
  min-height: 52px;
  padding: 0 22px;
}

.contact-info-panel {
  padding: 12px 0 0;
}

.contact-info-title h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
}

.contact-info-title p {
  color: #5a6671;
  margin-top: 12px;
  max-width: 560px;
}

.contact-points {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.contact-point {
  align-items: center;
  background: transparent;
  border: 0;
  color: #222;
  display: grid;
  gap: 14px;
  grid-template-columns: 20px minmax(0, 1fr);
  padding: 8px 0;
}

.contact-point :is(i, .icon-svg) {
  color: var(--accent);
  font-size: 15px;
  margin-top: 0;
  width: 20px;
}

.contact-point > span:not(.icon-svg) {
  color: #101721;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
}

.contact-point[href^="tel:"] > span:not(.icon-svg) {
  white-space: nowrap;
}

.contact-note-card,
.contact-sidebar-card {
  border-radius: 20px;
}

.contact-note-card {
  padding: 48px 50px;
}

.contact-note-card p {
  color: #2f353b;
  font-size: 20px;
  line-height: 1.55;
  max-width: 640px;
}

.contact-daily-quote-panel {
  padding: 8px 6px 0 0;
}

.contact-sidebar-quote {
  align-items: center;
  align-self: stretch;
  display: flex;
  justify-content: center;
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
  min-height: 280px;
  padding: 0;
  width: min(100%, 420px);
}

.contact-daily-quote-body {
  display: grid;
  gap: 10px;
  max-width: 540px;
}

.contact-sidebar-quote .contact-daily-quote-body,
.contact-sidebar-quote .contact-daily-quote-text {
  max-width: 420px;
}

.contact-sidebar-quote .contact-daily-quote-body {
  width: 100%;
}

.contact-sidebar-quote .contact-daily-quote-text {
  font-size: clamp(36px, 3.4vw, 48px);
}

.contact-daily-quote-body > :is(i, .icon-svg) {
  color: var(--accent);
  display: block;
  font-size: 28px;
  height: 28px;
  justify-self: start;
  line-height: 1;
  width: 28px;
}

.contact-daily-quote-text {
  color: #101721;
  font-size: clamp(30px, 2.7vw, 40px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  margin: 0;
  max-width: 520px;
}

.contact-daily-quote-attribution {
  color: #7a6541;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 6px 0 0;
  text-transform: uppercase;
}

.contact-sidebar {
  align-self: stretch;
  display: grid;
  gap: 28px;
  grid-template-rows: auto minmax(0, 1fr);
  position: sticky;
  top: 118px;
}

.contact-sidebar-card {
  padding: 36px;
}

.contact-hours-card {
  padding: 28px 34px 30px;
}

.contact-message-card {
  background: #17263b;
  border-radius: 5px;
  padding: 40px;
}

.contact-message-head h3 {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

.contact-message-head p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
  margin-top: 12px;
  max-width: 440px;
}

.contact-message-card .form-field label {
  color: #fff;
}

.contact-message-card .form-response {
  color: rgba(255, 255, 255, 0.82);
}

.contact-sidebar-title {
  color: #222;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-sidebar-line {
  color: #2f353b;
  font-size: 16px;
  line-height: 1.55;
  margin-top: 28px;
}

.contact-sidebar-line strong {
  font-weight: 700;
}

.contact-sidebar-line a {
  color: var(--accent);
}

.contact-hours {
  margin-top: 24px;
}

.contact-hours-card .contact-hours {
  margin-top: 0;
}

.contact-hours-inline {
  border-top: 1px solid #f0ece5;
  margin-top: 18px;
  padding-top: 24px;
}

.contact-hours-title {
  color: #7a6541;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hours-card .contact-hours-title {
  margin: 0;
}

.contact-hours-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-hours-card .contact-hours-list {
  margin-top: 18px;
}

.contact-hours-row {
  align-items: baseline;
  color: #2f353b;
  display: flex;
  font-size: 15px;
  gap: 24px;
  justify-content: space-between;
  line-height: 1.45;
}

.contact-hours-row span:first-child {
  color: #222;
  font-weight: 700;
}

.contact-sidebar-form {
  margin-top: 22px;
}

.contact-sidebar-form .row.two {
  gap: 14px;
}

.contact-sidebar-form .form-field {
  margin-bottom: 14px;
}

.contact-sidebar-form .form-field label {
  font-size: 13px;
  margin-bottom: 6px;
}

.contact-sidebar-form .form-field input {
  border-radius: 8px;
  border-color: #d8d3ca;
  min-height: 46px;
  padding: 0 14px;
}

.contact-sidebar-form .form-field textarea {
  border-radius: 8px;
  border-color: #d8d3ca;
  min-height: 146px;
  padding: 14px;
}

.contact-sidebar-form button {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  min-height: 52px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-sidebar-form button::after {
  content: "\2192";
  font-size: 16px;
  line-height: 1;
}

.contact-sidebar-form button:hover,
.contact-sidebar-form button:focus-visible {
  background: #9d0a28;
  transform: translateY(-2px);
}

.contact-info-panel .socials-left {
  gap: 16px;
  margin-top: 28px;
}

.contact-info-panel .socials-left a {
  color: #101721;
  font-size: 19px;
  opacity: 0.75;
}

.contact-info-panel .socials-left a:hover,
.contact-info-panel .socials-left a:focus-visible {
  color: var(--accent);
  opacity: 1;
}

.contact-sidebar-kicker {
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.contact-sidebar-kicker span {
  color: var(--accent);
}

.office-card h3 {
  color: #222;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.office-card p {
  color: #434a54;
  font-size: 16px;
  line-height: 1.65;
  max-width: 240px;
}

.office-address-link {
  color: #434a54;
  display: inline-flex;
  font-size: 16px;
  line-height: 1.65;
  max-width: 240px;
}

.office-address-link:hover,
.office-address-link:focus-visible {
  color: var(--accent);
}

.directions-link {
  color: var(--accent);
  display: inline-flex;
  font-size: 16px;
  font-weight: 500;
  margin-top: 18px;
}

.results-toolbar {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 4px;
}

.results-toolbar-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.results-toolbar h2 {
  color: #101721;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.08;
}

.results-toolbar p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 0;
  white-space: nowrap;
}

.filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-chip {
  background: #f3e7ea;
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 6px 10px;
}

.results-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-section {
  background: #f7f8f9;
  border: 1px solid #e2e6ea;
  border-radius: 20px;
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 20px;
}

.compare-section-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.compare-section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-section h3 {
  color: #101721;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0;
}

.compare-section-copy {
  color: #5c6570;
  margin-top: 12px;
  max-width: 700px;
}

.compare-section.is-empty {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.compare-section.is-empty .compare-section-head {
  flex: 0 0 auto;
}

.compare-section.is-empty .compare-empty {
  flex: 1 1 auto;
}

.compare-section-clear,
.compare-dock-secondary,
.compare-remove-btn {
  background: transparent;
  border: 1px solid #d7dde3;
  border-radius: 999px;
  color: #101721;
  cursor: pointer;
  font-weight: 600;
  min-height: 42px;
  padding: 0 18px;
}

.compare-empty {
  background: #fff;
  border-radius: 12px;
  color: #4f5865;
  line-height: 1.5;
  padding: 12px 14px;
}

.compare-table-shell {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 23, 33, 0.06);
  overflow-x: auto;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid #edf0f3;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: #fff;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-feature-heading,
.compare-table tbody th {
  color: #101721;
  font-size: 13px;
  font-weight: 700;
  min-width: 132px;
  width: 132px;
}

.compare-home-card {
  display: grid;
  gap: 10px;
  min-width: 180px;
}

.compare-home-image {
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  min-height: 92px;
}

.compare-home-copy h3 {
  font-size: 16px;
  line-height: 1.25;
  margin-top: 6px;
}

.compare-home-copy p {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}

.compare-home-status {
  color: #5c6570;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.compare-view-link,
.compare-dock-primary {
  align-items: center;
  background: #ba0c2f;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
}

.compare-dock {
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(215, 221, 227, 0.92);
  border-radius: 18px;
  bottom: 20px;
  box-shadow: 0 16px 40px rgba(16, 23, 33, 0.14);
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr;
  left: auto;
  padding: 12px 14px;
  position: fixed;
  right: 24px;
  transform: none;
  width: min(calc(100% - 32px), 224px);
  z-index: 140;
}

.compare-dock[hidden] {
  display: none;
}

.compare-dock.is-compact {
  cursor: pointer;
  align-items: flex-start;
}

.compare-dock.is-compact:hover {
  border-color: rgba(186, 12, 47, 0.2);
  box-shadow: 0 18px 42px rgba(16, 23, 33, 0.16);
}

.compare-dock.is-compact:focus-visible {
  border-color: rgba(186, 12, 47, 0.32);
  box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.08), 0 18px 42px rgba(16, 23, 33, 0.16);
  outline: 0;
}

.compare-dock-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-dock.is-compact .compare-dock-kicker {
  display: none;
}

.compare-dock-copy strong {
  color: #101721;
  display: block;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 0;
}

.compare-dock.is-compact .compare-dock-copy strong {
  font-size: 16px;
}

.compare-dock-message {
  color: #5c6570;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.compare-dock.is-compact .compare-dock-message {
  display: block;
}

.compare-dock-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.compare-dock-chip {
  align-items: center;
  background: #f4f6f8;
  border-radius: 999px;
  display: inline-flex;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
}

.compare-dock-chip span {
  color: #28303a;
  font-size: 13px;
  font-weight: 500;
}

.compare-dock-chip button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #5c6570;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 0;
}

.compare-dock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.property-card-result {
  text-align: left;
}

.property-card-result h3,
.property-card-result .price,
.property-card-result .type {
  text-align: left;
}

.results-meta {
  color: var(--muted);
  margin-top: 6px;
}

.results-empty {
  background: #f7f8f9;
  border: 1px solid #e3e6ea;
  border-radius: var(--radius-sm);
  color: #4f5865;
  margin-top: 28px;
  padding: 24px;
  text-align: center;
}

.results-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.results-pagination-copy {
  color: #5c6570;
  margin: 0;
}

.search-results-main {
  min-width: 0;
}

.search-results-shell {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(300px, 330px) minmax(0, 1fr);
  position: relative;
}

.search-results-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.search-results-track::-webkit-scrollbar {
  display: none;
}

.search-results-panel {
  flex: 0 0 100%;
  max-width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.search-results-listings-panel,
.search-results-compare-panel {
  padding-bottom: 8px;
}

.search-results-compare-panel .compare-section {
  margin-top: 0;
}

.search-results-backdrop {
  background: rgba(16, 23, 33, 0.38);
  inset: 0;
  position: fixed;
  z-index: 118;
}

.search-results-sidebar {
  position: sticky;
  top: 24px;
}

.search-filter-panel,
.results-summary-card {
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(16, 23, 33, 0.06);
}

.search-filter-panel {
  background: #fbfaf8;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 32px;
}

.search-filter-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.search-filter-kicker,
.results-toolbar-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-filter-header h2 {
  color: #101721;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
}

.search-filter-copy {
  color: #5c6570;
  font-size: 15px;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 280px;
}

.search-filter-close {
  align-items: center;
  background: rgba(16, 23, 33, 0.04);
  border: 1px solid #ebe4dd;
  border-radius: 5px;
  color: #101721;
  cursor: pointer;
  display: none;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.search-filter-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.search-filter-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-filter-group {
  display: grid;
  gap: 8px;
}

.search-filter-group label,
.search-filter-fieldset legend,
.results-toolbar-sort label {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-filter-group input,
.search-filter-group select,
.results-toolbar-sort select {
  background: #fff;
  border: 1px solid #e7e0d8;
  border-radius: 5px;
  box-sizing: border-box;
  color: #1f2937;
  font-size: 16px;
  min-height: 52px;
  height: 52px;
  line-height: 50px;
  padding: 0 16px;
  width: 100%;
}

.search-filter-group input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.search-filter-group input[type="number"]::-webkit-outer-spin-button,
.search-filter-group input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.search-filter-group select,
.results-toolbar-sort select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.25 5.25L7 9L10.75 5.25' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  padding-right: 42px;
}

.search-filter-group input:focus,
.search-filter-group select:focus,
.results-toolbar-sort select:focus {
  background: #fff;
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.08);
  outline: 0;
}

.search-filter-group input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.search-filter-fieldset {
  border: 0;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.search-filter-more-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  justify-content: flex-start;
  letter-spacing: 0.01em;
  min-height: 0;
  padding: 2px 0;
  width: fit-content;
  text-transform: none;
  transition: color 0.2s ease;
}

.search-filter-more-toggle:hover,
.search-filter-more-toggle:focus-visible,
.search-filter-more-toggle.is-open {
  color: #101721;
  outline: 0;
}

.search-filter-more-toggle i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.search-filter-more-toggle.is-open i {
  transform: rotate(180deg);
}

.search-filter-extra {
  border-top: 1px solid #ebe4dd;
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.search-filter-extra[hidden] {
  display: none !important;
}

.search-checkbox-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-checkbox-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.search-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.search-type-tab {
  align-items: center;
  background: #f8f4ee;
  border: 1px solid #e7e0d8;
  border-radius: 999px;
  color: #5b6470;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.search-type-tab:hover,
.search-type-tab:focus-visible {
  border-color: #cdbcb1;
  color: #101721;
  outline: 0;
}

.search-type-tab.is-active {
  background: #101721;
  border-color: #101721;
  color: #fff;
}

.search-type-panels {
  display: grid;
}

.search-type-panel[hidden] {
  display: none !important;
}

.search-checkbox {
  align-items: center;
  background: #fff;
  border: 1px solid #e7e0d8;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-checkbox:hover,
.search-checkbox:focus-within {
  background: #fff;
  border-color: #d7c6bb;
  box-shadow: 0 0 0 3px rgba(16, 23, 33, 0.03);
}

.search-checkbox input {
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.search-checkbox:has(input:checked) {
  background: #f9f3f4;
  border-color: rgba(185, 28, 28, 0.28);
  box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.08);
}

.search-checkbox input:checked + span {
  color: #2f353b;
  font-weight: 400;
}

.search-checkbox span {
  color: #2f353b;
  font-size: 13px;
  font-weight: 400;
}

.search-filter-actions {
  align-items: center;
  display: flex;
  gap: 16px;
}

.search-filter-submit {
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 5px;
  box-shadow: 0 12px 24px rgba(16, 23, 33, 0.12);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 52px;
  padding: 0 20px;
  text-transform: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.search-filter-submit:hover,
.search-filter-submit:focus-visible {
  background: #991027;
  border-color: #991027;
  box-shadow: 0 16px 30px rgba(16, 23, 33, 0.16);
  transform: translateY(-2px);
}

.search-filter-reset {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #6b7280;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 0;
  min-width: 0;
  padding: 0;
  text-transform: none;
  transition: color 0.2s ease;
}

.search-filter-reset:hover,
.search-filter-reset:focus-visible {
  color: #101721;
  outline: 0;
}

.search-results-main {
  min-width: 0;
}

.results-summary-card {
  background: #17263b;
  box-shadow: none;
  margin-bottom: 28px;
  padding: 14px 22px;
}

.results-summary-card .results-toolbar {
  align-items: center;
  margin-bottom: 6px;
}

.results-summary-card .results-toolbar h2,
.results-summary-card .results-toolbar p,
.results-summary-card .results-toolbar-sort label {
  color: #fff;
  margin: 0;
}

.results-summary-card .results-toolbar p {
  color: rgba(255, 255, 255, 0.74);
}

.results-summary-card .results-toolbar-kicker {
  color: #ff708e;
}

.results-summary-card .results-toolbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.results-toolbar-sort {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
  white-space: nowrap;
}

.results-summary-card .results-toolbar-sort label {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 1;
  margin: 0;
}

.search-filters-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: none;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
}

.search-filters-toggle:hover,
.search-filters-toggle:focus-visible {
  background: rgba(186, 12, 47, 0.22);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.results-summary-card .results-toolbar-sort select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  height: 40px;
  line-height: 1.2;
  min-height: 40px;
  min-width: 164px;
  padding-block: 0;
  width: 164px;
  padding: 0 12px;
}

.results-summary-card .results-toolbar-sort select:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 112, 142, 0.82);
  box-shadow: 0 0 0 3px rgba(255, 112, 142, 0.14);
}

.search-filters-toggle i {
  font-size: 13px;
}

.filter-chip-list {
  gap: 6px;
  justify-content: flex-start;
}

.filter-chip {
  background: rgba(255, 112, 142, 0.14);
  color: #fff;
}

.results-summary-card .results-toolbar-sort label {
  font-size: 11px;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.results-grid.results-stack {
  gap: 18px;
  grid-template-columns: 1fr;
}

.property-search-card {
  background: linear-gradient(180deg, #ffffff 0%, #faf3f5 100%);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
  overflow: hidden;
}

.property-search-media {
  display: flex;
  min-width: 0;
}

.property-card-result .property-search-image-wrap {
  background: #e9edf2;
  border-radius: 0;
  height: 100%;
  min-height: 100%;
  width: 100%;
}

.property-card-result .property-search-image-wrap::before,
.property-card-result .property-search-image-wrap::after {
  display: none;
}

.property-search-image {
  display: block;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  width: 100%;
}

.property-search-card .actions {
  bottom: 18px;
  right: 18px;
}

.property-search-card .property-brokerage-badge {
  background: rgba(16, 23, 33, 0.88);
  bottom: 18px;
  left: 18px;
  max-width: calc(100% - 126px);
}

.property-search-body {
  display: grid;
  gap: 16px;
  padding: 32px 34px;
}

.property-search-topline {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.property-search-price-stack {
  display: grid;
  gap: 6px;
}

.property-search-subprice {
  color: #5c6570;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-search-detail-link {
  align-items: center;
  background: #101721;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 40px;
  padding: 0 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.property-search-detail-link:hover,
.property-search-detail-link:focus-visible {
  background: var(--accent);
  color: #fff;
}

.property-search-card .property-card-copy {
  margin-top: 0;
}

.property-search-card .type {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 0;
}

.property-search-card h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.14;
  margin-top: 8px;
}

.property-search-address {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  line-height: 1.65;
  margin-top: 0;
}

.property-search-address i {
  color: var(--accent);
  margin-top: 4px;
}

.property-search-meta {
  gap: 10px 12px;
  justify-content: flex-start;
  margin-top: 0;
}

.property-search-meta span {
  align-items: center;
  background: rgba(16, 23, 33, 0.06);
  border-radius: 999px;
  color: #101721;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  padding: 8px 12px;
}

.property-search-description {
  color: #4f5865;
  line-height: 1.72;
  margin: 0;
}

.property-search-footer {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: flex-start;
}

.property-search-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-search-chip {
  align-items: center;
  background: rgba(16, 23, 33, 0.9);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(16, 23, 33, 0.12);
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  min-height: 34px;
  padding: 0 12px;
}

.property-search-chip-feature {
  background: rgba(186, 12, 47, 0.92);
  color: #fff;
  box-shadow: none;
}

.property-search-listing-id {
  color: #101721;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.search-filters-open {
  overflow: hidden;
}

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

.ai-chat-shell {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
}

.ai-chat-panel {
  width: min(380px, calc(100vw - 32px));
  height: min(500px, calc(100vh - 124px));
  max-height: min(560px, calc(100vh - 124px));
  background: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(16, 23, 33, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: auto;
}

.ai-chat-panel[hidden] {
  display: none;
}

.ai-chat-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #eef1f4;
  color: #222;
  display: flex;
  padding: 16px 28px 12px;
}

.ai-chat-kicker {
  color: #222;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.ai-chat-log {
  background: #fff;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  overflow-y: auto;
  padding: 20px 28px 12px;
}

.ai-chat-message {
  display: flex;
}

.ai-chat-message.is-user {
  justify-content: flex-end;
}

.ai-chat-bubble {
  max-width: 88%;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(16, 23, 33, 0.05);
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.ai-chat-message.is-assistant .ai-chat-bubble {
  background: #fff;
  color: #2f353b;
}

.ai-chat-message.is-user .ai-chat-bubble {
  background: #fff;
  border-left: 3px solid var(--accent);
  color: #2f353b;
}

.ai-chat-note,
.ai-chat-status {
  font-size: 13px;
  line-height: 1.55;
}

.ai-chat-note {
  color: #6c7278;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  line-height: 1.35;
  margin: 0;
}

.ai-chat-status {
  color: #ba0c2f;
  font-weight: 600;
  margin-top: 8px;
  padding: 0 28px;
}

.ai-chat-status.is-thinking,
.ai-chat-send.is-thinking {
  align-items: center;
  gap: 0;
}

.ai-chat-status[hidden] {
  display: none;
}

.ai-chat-thinking-label {
  display: inline-block;
}

.ai-chat-thinking-dots {
  display: inline-flex;
  margin-left: 1px;
}

.ai-chat-thinking-dots span {
  animation: ai-chat-thinking-dot 1.05s ease-in-out infinite;
  display: inline-block;
  opacity: 0.28;
  transform: translateY(0);
}

.ai-chat-thinking-dots span:nth-child(2) {
  animation-delay: 0.14s;
}

.ai-chat-thinking-dots span:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes ai-chat-thinking-dot {
  0%,
  80%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.ai-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px 28px 22px;
}

.ai-chat-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-chat-input {
  width: 100%;
  min-height: 72px;
  max-height: 180px;
  border: 1px solid #c7cccf;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
  color: #555b61;
  resize: vertical;
}

.ai-chat-input::placeholder {
  color: #6c7278;
  opacity: 1;
}

.ai-chat-input:focus {
  border-color: rgba(186, 12, 47, 0.52);
  box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.12);
  outline: none;
}

.ai-chat-launcher,
.ai-chat-send {
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
}

.ai-chat-launcher {
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 23, 33, 0.06);
  color: #222;
  min-height: 50px;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  pointer-events: auto;
}

.ai-chat-launcher i {
  color: var(--accent);
}

.ai-chat-send {
  align-self: start;
  background: #ba0c2f;
  color: #fff;
  min-width: 53px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  padding: 0 12px;
}

.ai-chat-launcher:hover,
.ai-chat-launcher:focus-visible,
.ai-chat-send:hover,
.ai-chat-send:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.ai-chat-send:disabled,
.ai-chat-input:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

body.has-compare-dock .ai-chat-shell {
  bottom: 114px;
}

body.has-compare-dock-compact .ai-chat-shell {
  bottom: 92px;
}

.footer {
  background: #101721;
  color: #fff;
}

.footer-top {
  padding: 100px 0 70px;
}

.footer-grid {
  display: grid;
  gap: 30px;
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-column-wide {
  display: block;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a,
.footer-column li {
  color: rgba(255, 255, 255, 0.86);
}

.footer-column :is(i, .icon-svg) {
  margin-right: 8px;
}

.footer-newsletter-copy {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 320px;
}

.footer-newsletter-link {
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 16px;
  text-decoration: none;
}

.footer-newsletter-link:hover,
.footer-newsletter-link:focus-visible {
  color: #ffd7de;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-list :is(i, .icon-svg) {
  margin-right: 0;
  margin-top: 5px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 40px;
  padding: 24px 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
  justify-self: start;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-decoration: none;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: #fff;
}

.footer-brand {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-self: end;
  text-align: right;
}

.footer-logo {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-logo .footer-primary-logo {
  width: 168px;
  height: auto;
}

.footer-logo .footer-compliance-lockup {
  display: block;
  filter: brightness(0) invert(1);
  height: auto;
  width: 124px;
}

.socials {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.footer-socials {
  justify-content: flex-end;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: color 0.22s ease, transform 0.22s ease;
  width: auto;
  height: auto;
}

.socials a:hover,
.socials a:focus-visible {
  color: #ffd7de;
  transform: translateY(-1px);
}

.socials-left {
  justify-content: flex-start;
  margin-top: 24px;
}

.socials-left a {
  color: #101721;
}

.socials-left a:hover,
.socials-left a:focus-visible {
  color: var(--accent);
}

.legal-page {
  background: #fbfaf8;
}

.legal-page .page-hero {
  min-height: 320px;
}

.legal-content {
  padding: 72px 0 96px;
}

.legal-shell {
  background: #fff;
  border: 1px solid rgba(16, 23, 33, 0.08);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16, 23, 33, 0.06);
  padding: 36px 34px;
}

.legal-stack {
  display: grid;
  gap: 28px;
}

.legal-section {
  display: grid;
  gap: 12px;
}

.legal-section h2 {
  color: #101721;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  margin: 0;
}

.legal-section h3 {
  color: #101721;
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}

.legal-section p,
.legal-section li {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.legal-meta {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.back-top {
  position: fixed;
  left: 30px;
  bottom: 30px;
  z-index: 180;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(186, 12, 47, 0.8);
  border: 0;
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.back-top:hover {
  background: rgba(186, 12, 47, 0.92);
  transform: translateY(-1px);
}

.back-top svg {
  width: 12px;
  height: 12px;
  display: block;
}

.back-top path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

body.has-compare-dock .back-top {
  bottom: 112px;
}

body.has-compare-dock-compact .back-top {
  bottom: 92px;
}

@media (max-width: 1199px) {
  .city-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .city-copy {
    padding-left: 0;
  }

  .city-copy .section-title,
  .city-copy .section-title p {
    max-width: none;
  }

  .city-cards {
    grid-auto-columns: minmax(0, var(--city-card-width));
    grid-auto-flow: column;
    grid-template-columns: none;
  }

  .page-hero-about,
  .page-hero-contact {
    height: 435px;
    min-height: 435px;
  }

  .page-hero-account,
  .page-hero-results {
    height: 220px;
    min-height: 220px;
  }

  .page-hero-about .page-hero-content,
  .page-hero-contact .page-hero-content {
    padding: 20px 0;
  }

  .page-hero-account .page-hero-content,
  .page-hero-results .page-hero-content {
    padding: 0;
  }

  .page-hero-agent .page-hero-content {
    padding: 18px 0 28px;
  }

  .compact-cards-section {
    margin-top: -48px;
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .main-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: center;
    min-width: 0;
    order: 0;
    padding-bottom: 0;
    width: auto;
  }

  .nav-wrap {
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: space-between;
    min-height: 96px;
    padding-top: 0;
  }

  .logo-wrap {
    margin-right: 0;
  }

  .logo-wrap img {
    width: 220px;
  }

  .main-nav .nav-link {
    font-size: 12px;
    letter-spacing: 0.03em;
    padding: 0 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .phone-link {
    font-size: 10px;
    gap: 6px;
  }

  .phone-link :is(i, .icon-svg) {
    font-size: 13px;
  }

  .outline-btn {
    min-height: 36px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero-content {
    min-height: 0;
    padding-top: 72px;
  }

  .page-hero-content {
    padding: 80px 0 64px;
  }

  .search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-btn {
    grid-column: span 2;
  }

  .property-grid {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .featured .property-grid {
    grid-auto-columns: unset;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .carousel-track {
    grid-auto-columns: calc((100% - 30px) / 2);
  }

  .team-track {
    background: transparent;
    border: 0;
    grid-auto-columns: calc((100% - 24px) / 2);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 16px;
    scroll-snap-type: none;
  }

  .team-track {
    gap: 24px;
  }

  .team-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 34px 24px 30px;
  }

  .team-card::after {
    display: none;
  }

  .team-grid-page,
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-profile-layout,
  .agent-profile-card {
    grid-template-columns: 1fr;
  }

  .agent-profile-sidebar {
    position: static;
  }

  .about-two-column {
    grid-template-columns: 1fr;
  }

  .about-story-layout {
    gap: 28px;
  }

  .detail-grid-wide.about-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid-wide.about-pillars-grid .about-pillar-card:nth-child(2n)::after {
    display: none;
  }

  .about-visual-image {
    min-height: 320px;
  }

  .connect-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
  }

  .benefits-panel {
    grid-column: auto;
    padding-right: 0;
  }

  .res-card-tall {
    min-height: 421px;
  }

  .res-stack .res-card-square {
    min-height: calc((421px - 30px) / 2);
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    gap: 22px;
    justify-items: center;
  }

  .footer-meta {
    align-items: center;
    justify-self: center;
    max-width: none;
    order: 2;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    gap: 18px;
    justify-self: center;
    order: 1;
    text-align: center;
    width: 100%;
  }

  .footer-legal-links {
    gap: 8px 14px;
    justify-content: center;
  }

  .about-story-grid,
  .contact-page-grid,
  .results-toolbar {
    grid-template-columns: 1fr;
  }

  .contact-page-grid {
    gap: 28px;
  }

  .contact-sidebar {
    position: static;
    top: auto;
  }

  .contact-advisor-card {
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 6px 0 4px;
  }

  .contact-advisor-photo {
    height: 120px;
    width: 120px;
  }

  .account-auth-grid,
  .account-summary-grid,
  .account-dashboard-grid,
  .account-saved-grid {
    grid-template-columns: 1fr;
  }

  .account-auth-grid::before {
    display: none;
  }

  .account-auth .account-panel:last-child {
    border-left: 0;
    border-top: 1px solid #e1e6ea;
  }

  .account-auth {
    margin-top: 0;
  }

  .detail-grid {
    max-width: 760px;
  }

  .detail-grid-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }

  .results-toolbar {
    display: grid;
  }

  .search-results-shell {
    grid-template-columns: 1fr;
  }

  .search-results-sidebar {
    bottom: 0;
    left: 0;
    max-width: min(92vw, 380px);
    opacity: 0;
    padding: 20px 20px 20px 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: translateX(calc(-100% - 24px));
    transition: transform 0.24s ease, opacity 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
    width: min(92vw, 380px);
    z-index: 120;
  }

  body.search-filters-open .search-results-sidebar {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  .search-filter-panel {
    border-radius: 0 5px 5px 0;
    height: 100%;
    overflow-y: auto;
    padding: 26px 22px 28px;
  }

  .search-filter-close,
  .search-filters-toggle {
    display: inline-flex;
  }

  .results-toolbar-actions {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
  }

  .results-toolbar-sort {
    align-items: stretch;
    display: grid;
    gap: 6px;
    justify-content: stretch;
    width: 100%;
  }

  .results-summary-card .results-toolbar-sort label {
    justify-content: flex-start;
  }

  .results-summary-card .results-toolbar-sort select {
    min-width: 0;
    width: 100%;
  }

  .search-filters-toggle {
    justify-content: center;
    width: 100%;
  }

  .socials,
  .footer-logo {
    justify-content: center;
  }

  .footer-logo {
    flex-direction: column;
    gap: 12px;
  }

  .footer-logo .footer-primary-logo {
    width: min(168px, 58vw);
  }

  .footer-logo .footer-compliance-lockup {
    width: min(132px, 44vw);
  }

  .legal-content {
    padding: 56px 0 72px;
  }

  .legal-shell {
    padding: 28px 22px;
  }

  .compare-dock {
    right: 18px;
  }

  .compare-dock.is-compact {
    width: min(calc(100% - 36px), 224px);
  }

  .ai-chat-shell {
    right: 18px;
    bottom: 18px;
  }

  body.has-compare-dock .ai-chat-shell {
    bottom: 126px;
  }

  body.has-compare-dock-compact .ai-chat-shell {
    bottom: 104px;
  }
}

@media (max-width: 920px) {
  .page-hero-city {
    min-height: 440px;
  }

  .page-hero-city .page-hero-content {
    padding: 22px 0 30px;
  }

  .city-guide-hero-actions,
  .city-guide-cta-actions {
    flex-direction: column;
  }

  .city-guide-hero-actions > a,
  .city-guide-cta-actions > a {
    width: 100%;
  }

  .city-guide-summary-grid,
  .city-guide-highlights-grid,
  .city-guide-property-grid {
    grid-template-columns: 1fr;
  }

  .city-guide-highlights-section .section-title,
  .city-guide-listings-section .section-title {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
    text-align: center;
  }

  .city-guide-highlights-section .section-title p,
  .city-guide-listings-section .section-title p {
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
  }

  .city-guide-overview-card,
  .city-guide-stats-card,
  .city-guide-highlight-card,
  .city-guide-cta-card {
    padding: 22px;
  }

  .city-guide-cta-card {
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 1040px) and (min-width: 768px) {
  .logo-wrap img {
    width: 198px;
  }

  .main-nav .nav-link {
    font-size: 11px;
    padding: 0 9px;
  }

  .phone-link {
    display: none;
  }

  .header-actions {
    gap: 4px;
  }

  .outline-btn {
    min-height: 34px;
    padding: 0 11px;
    font-size: 10px;
  }

  .profile-link {
    width: 30px;
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .residential::before {
    left: -240px;
    top: -72px;
    font-size: min(138vw, 660px);
  }

  .testimonials-rail {
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }

  .property-detail-band-full-bleed {
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 620px;
  }

  .page-hero-about,
  .page-hero-contact {
    height: 375px;
    min-height: 375px;
  }

  .page-hero-account,
  .page-hero-results {
    height: 180px;
    min-height: 180px;
  }

  body[data-page="account"] .page-hero-account {
    height: 220px;
    min-height: 220px;
  }

  .page-hero-agent {
    min-height: 260px;
  }

  .page-hero-about .page-hero-content,
  .page-hero-contact .page-hero-content {
    padding: 16px 0;
  }

  .page-hero-account .page-hero-content,
  .page-hero-results .page-hero-content {
    padding: 0;
  }

  body[data-page="account"] .page-hero-account .page-hero-content {
    padding: 18px 0 24px;
  }

  .page-hero-agent .page-hero-content {
    padding: 16px 0 26px;
  }

  .compact-cards-section {
    margin-top: -24px;
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .container {
    width: min(100% - 30px, 1310px);
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 10px 12px;
    justify-content: initial;
    padding: 12px 0 10px;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    z-index: 6;
  }

  .logo-wrap {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    margin-right: 0;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 6;
  }

  .logo-wrap img {
    width: 184px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82vw, 300px);
    padding: 88px 24px 28px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    background: rgba(16, 23, 33, 0.98);
    box-shadow: 18px 0 36px rgba(0, 0, 0, 0.24);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(calc(-100% - 24px));
    transition: transform 0.24s ease;
    z-index: 30;
  }

  .main-nav .nav-link {
    width: 100%;
    padding: 10px 0;
    font-size: 13px;
    text-align: left;
  }

  .main-nav .nav-install-btn {
    text-align: left;
    width: 100%;
  }

  .main-nav .nav-account-link {
    display: block;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: center;
    gap: 10px;
    z-index: 6;
  }

  .phone-link,
  .profile-link {
    display: none;
  }

  .outline-btn {
    min-width: 0;
    min-height: 36px;
    padding: 0 14px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  body.mobile-nav-open .nav-wrap::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 14, 0.46);
    z-index: 24;
  }

  body.mobile-nav-open .nav-wrap {
    isolation: isolate;
    z-index: 10040;
  }

  body.mobile-nav-open .hero,
  body.mobile-nav-open .page-hero {
    overflow: visible;
    position: relative;
    z-index: 10030;
  }

  body.mobile-nav-open .main-nav {
    z-index: 10050;
  }

  body.mobile-nav-open .nav-wrap::after {
    z-index: 10045;
  }

  body.mobile-nav-open .main-nav {
    transform: translateX(0);
  }

  body.mobile-nav-open .nav-toggle {
    z-index: 10060;
  }

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

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

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

  .hero-content {
    flex: 1 1 auto;
    padding: 56px 0 54px;
  }

  .page-hero-content {
    padding: 72px 0 56px;
  }

  .page-hero h1 {
    font-size: clamp(30px, 8.6vw, 44px);
    max-width: min(15ch, 100%);
  }

  .page-hero-account h1,
  .page-hero-results h1 {
    font-size: clamp(24px, 6vw, 34px);
    line-height: 1.14;
  }

  .page-hero-about h1 {
    font-size: clamp(26px, 6vw, 34px);
    line-height: 1.06;
    max-width: min(18ch, 100%);
  }

  .page-hero-results h1 {
    font-size: clamp(22px, 5.8vw, 30px);
    line-height: 1.1;
    max-width: min(12ch, 100%);
  }

  body[data-page="account"] .page-hero-account h1 {
    font-size: clamp(22px, 5.8vw, 30px);
    line-height: 1.08;
    max-width: min(12ch, 100%);
  }

  .page-hero-agent h1 {
    font-size: clamp(26px, 6.8vw, 38px);
  }

  .page-hero-account .page-intro,
  .page-hero-results .page-intro {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 10px;
  }

  body[data-page="account"] .page-hero-account .page-intro {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 12px;
  }

  .status-tabs {
    width: 100%;
  }

  .detail-grid-wide.about-pillars-grid {
    grid-template-columns: 1fr;
  }

  .about-pillar-card {
    padding: 22px 24px;
  }

  .about-pillar-card::after {
    display: none;
  }

  .about-pillar-head {
    gap: 14px;
  }

  .about-pillar-icon {
    font-size: 15px;
    flex-basis: 40px;
    height: 40px;
    width: 40px;
  }

  .about-pillar-card p {
    max-width: none;
  }

  .about-story-intro p,
  .about-trust-list li,
  .about-mission-card p {
    font-size: 15px;
  }

  .about-visual-image {
    min-height: 240px;
  }

  .about-cta-row {
    display: grid;
  }

  .about-cta-row .agent-profile-btn {
    width: 100%;
  }

  .tab-btn {
    flex: 1 1 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  .search-grid,
  .property-grid,
  .residential-grid,
  .row.two,
  .benefits-panel,
  .detail-grid,
  .team-grid-page,
  .results-grid,
  .about-two-column {
    grid-template-columns: 1fr;
  }

  .agent-highlights-grid {
    grid-template-columns: 1fr;
  }

  .compare-section {
    padding: 24px 20px;
  }

  .compare-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .compare-section.is-empty {
    align-items: stretch;
    flex-direction: column;
  }

  .compare-section h3 {
    font-size: 20px;
  }

  .detail-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-results-sidebar {
    max-width: 100vw;
    padding-right: 0;
    width: 100vw;
  }

  .search-filter-panel {
    border-radius: 0;
  }

  .search-filter-grid,
  .search-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .search-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .results-summary-card {
    padding: 22px 20px;
  }

  .search-results-track {
    gap: 20px;
  }

  .results-toolbar {
    gap: 16px;
  }

  .testimonials-track {
    padding-bottom: 6px;
  }

  .testimonials-rail {
    padding-left: 24px;
    padding-right: 24px;
  }

  .results-summary-card .results-toolbar-actions {
    display: grid;
    align-items: end;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-summary-card .results-toolbar-sort {
    align-content: end;
    align-items: stretch;
    display: grid;
    gap: 6px;
    min-width: 0;
    justify-content: flex-start;
  }

  .results-summary-card .results-toolbar-sort label {
    justify-content: flex-start;
  }

  .results-summary-card .results-toolbar-sort select,
  .results-summary-card .search-filters-toggle {
    min-height: 48px;
    width: 100%;
  }

  .results-summary-card .search-filters-toggle {
    align-self: end;
    justify-content: center;
  }

  .search-filters-toggle {
    width: 100%;
  }

  .property-search-card {
    grid-template-columns: 1fr;
  }

  .property-search-media {
    min-height: 240px;
  }

  .property-search-body {
    padding: 22px 20px 20px;
  }

  .property-search-topline,
  .property-search-footer {
    flex-direction: column;
  }

  .property-search-card h3 {
    font-size: 24px;
  }

  .property-grid {
    grid-template-columns: none;
    grid-auto-columns: 100%;
  }

  .featured .property-grid {
    grid-auto-columns: unset;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .cities {
    padding: 35px 0;
  }

  .city-stage {
    min-height: 0;
    position: static;
    top: auto;
  }

  .city-layout {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .city-copy {
    padding-left: 0;
  }

  .city-copy .section-title,
  .city-copy .section-title p {
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    text-align: center;
  }

  .city-viewport {
    overflow: visible;
    padding-bottom: 0;
  }

  .city-cards {
    display: grid;
    gap: 14px;
    transform: none !important;
    width: 100%;
    grid-auto-columns: unset;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }

  .city-card {
    flex: none;
    opacity: 1;
    transform: none;
  }

  .city-card::before {
    padding-top: 72%;
  }

  .res-stack .res-card-square::before {
    content: "";
    display: block;
    padding-top: 100%;
  }

  .res-stack .res-card-square {
    min-height: 0;
  }

  .res-card-tall::before {
    content: "";
    display: block;
    padding-top: 100%;
  }

  .res-card-tall {
    min-height: 0;
  }

  .carousel-track {
    grid-auto-columns: 100%;
  }

  .team-track {
    grid-auto-columns: minmax(260px, 82vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 16px;
  }

  .contact-info-panel,
  .contact-note-card,
  .contact-sidebar-card,
  .detail-card,
  .account-panel {
    padding: 24px;
  }

  .compare-dock {
    bottom: 16px;
    right: 12px;
    width: min(calc(100% - 24px), 220px);
  }

  .compare-dock.is-compact {
    bottom: 12px;
    right: 12px;
    width: min(calc(100% - 24px), 220px);
  }

  .compare-dock-copy strong {
    font-size: 15px;
  }

  .compare-dock.is-compact .compare-dock-copy strong {
    font-size: 15px;
  }

  .account-auth {
    margin-top: 0;
  }

  .contact-page-grid {
    gap: 20px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-lead-copy,
  .contact-note-card p {
    font-size: 18px;
  }

  .contact-lead h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .contact-advisor-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .contact-advisor-copy {
    justify-items: center;
  }

  .contact-info-panel,
  .contact-message-card {
    padding: 26px 24px;
  }

  .contact-sidebar-form .row.two {
    grid-template-columns: 1fr;
  }

  .contact-daily-quote-panel {
    min-height: 0;
    padding: 0;
  }

  .contact-daily-quote-text {
    font-size: 24px;
  }

  .account-form-grid {
    grid-template-columns: 1fr;
  }

  .account-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-hours-row {
    font-size: 15px;
    gap: 16px;
  }

  .detail-card {
    min-height: 0;
  }

  .footer-top {
    padding: 50px 0 30px;
  }

  .footer-bottom {
    gap: 18px;
    padding: 22px 0;
  }

  .footer-grid,
  .footer-column,
  .footer-column h3,
  .footer-column ul,
  .footer-column li {
    text-align: left;
  }

  .contact-list li {
    justify-content: flex-start;
  }

  .footer-meta p {
    max-width: 28ch;
  }

  .back-top {
    left: 15px;
    bottom: 15px;
  }

  body.has-compare-dock .back-top {
    bottom: 128px;
  }

  body.has-compare-dock-compact .back-top {
    bottom: 104px;
  }

  .ai-chat-shell {
    right: 12px;
    left: 12px;
    bottom: 12px;
    align-items: stretch;
  }

  .ai-chat-panel {
    width: 100%;
    height: min(500px, 72vh);
    max-height: min(72vh, 560px);
  }

  .ai-chat-form {
    grid-template-columns: 1fr;
  }

  .ai-chat-send {
    min-height: 44px;
    width: 100%;
  }

  .ai-chat-launcher {
    align-self: flex-end;
  }

  body.has-compare-dock .ai-chat-shell {
    bottom: 138px;
  }

  body.has-compare-dock-compact .ai-chat-shell {
    bottom: 104px;
  }

  .install-app-notice {
    left: 12px;
    right: 12px;
    top: 84px;
    bottom: auto;
    transform: none;
    width: auto;
  }

  .install-app-notice-card {
    gap: 10px;
    padding: 12px 13px;
  }

  .page-action-notice {
    left: 12px;
    right: 12px;
    top: 84px;
    width: auto;
  }
}

@media (max-width: 1199px) {
  .broker-summary-grid,
  .broker-grid,
  .broker-grid-settings {
    grid-template-columns: 1fr 1fr;
  }

  .broker-workspace-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .broker-topbar {
    min-height: 236px;
  }

  .broker-topbar-bar,
  .broker-panel-head,
  .broker-message-head,
  .broker-client-head {
    align-items: start;
    flex-direction: column;
  }

  .broker-topbar-bar {
    justify-content: flex-start;
    min-height: 0;
    padding: 16px 0 14px;
  }

  .broker-topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .broker-page-section {
    padding: 28px 0 52px;
  }

  .broker-shell {
    margin-top: -36px;
  }

  .broker-panel {
    padding: 22px 18px;
  }

  .broker-workspace-bar,
  .broker-summary-grid,
  .broker-grid,
  .broker-grid-settings {
    grid-template-columns: 1fr;
  }

  .broker-tab-nav {
    padding: 10px;
  }

  .broker-tab {
    justify-content: center;
    width: 100%;
  }

  .broker-page-footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .broker-page-footer-actions {
    width: 100%;
  }

  .broker-page-footer-actions .broker-ghost-btn,
  .broker-page-footer-actions .broker-site-link {
    flex: 1 1 auto;
    justify-content: center;
  }

  .broker-item-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .broker-panel-tools,
  .broker-sort-control,
  .broker-message-side {
    justify-content: flex-start;
    justify-items: start;
    width: 100%;
  }

  .broker-message-meta {
    text-align: left;
  }

  .broker-inline-btn {
    flex: 1 1 auto;
  }

  .broker-inline-field {
    align-items: stretch;
    flex-direction: column;
  }

  .broker-inline-field .broker-ghost-btn {
    width: 100%;
  }

  .broker-list-topline,
  .broker-list-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .broker-client-meta {
    flex-direction: column;
    gap: 6px;
  }

  .broker-upload-preview {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1310px);
  }

  .logo-wrap img {
    width: min(168px, 46vw);
  }

  .header-actions {
    justify-content: center;
    width: 100%;
  }

  .header-actions .outline-btn {
    min-height: 34px;
    padding: 0 12px;
  }

  .hero-content {
    padding: 36px 0 40px;
  }

  .page-hero-content,
  .page-hero-about .page-hero-content,
  .page-hero-contact .page-hero-content {
    padding: 32px 0;
  }

  .page-hero-about,
  .page-hero-contact {
    height: auto;
    min-height: 400px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(28px, 8.2vw, 38px);
    line-height: 1.06;
    max-width: min(14ch, 100%);
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero-account h1,
  .page-hero-results h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .page-hero-about h1 {
    font-size: clamp(22px, 6.6vw, 30px);
    line-height: 1.04;
    max-width: min(15ch, 100%);
  }

  .page-hero-results h1 {
    font-size: clamp(20px, 6.2vw, 28px);
    line-height: 1.08;
    max-width: min(11ch, 100%);
  }

  body[data-page="account"] .page-hero-account h1 {
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.06;
    max-width: min(11ch, 100%);
  }

  .trust,
  .page-intro,
  .page-hero-account .page-intro,
  .page-hero-results .page-intro,
  body[data-page="account"] .page-hero-account .page-intro {
    font-size: 14px;
    line-height: 1.55;
    max-width: 100%;
  }

  .page-hero .page-intro {
    max-width: 32ch;
    overflow-wrap: anywhere;
  }

  .page-hero-about .page-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-line {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 18px;
  }

  .search-panel {
    margin-top: 24px;
  }

  .status-tabs {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tab-btn {
    min-width: 0;
    margin: 0;
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.2;
  }

  .search-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 16px 16px;
  }

  .search-grid > * {
    width: 100%;
  }

  .search-btn {
    grid-column: auto;
  }

  .field label {
    margin-bottom: 6px;
    text-align: left;
  }

  .field select {
    padding-left: 14px;
    padding-right: 14px;
    text-align: left;
    text-align-last: left;
  }

  .results-summary-card {
    padding: 18px 16px;
  }

  .results-summary-card .results-toolbar {
    gap: 14px;
  }

  .results-summary-card .results-toolbar-heading {
    gap: 6px 8px;
  }

  .results-summary-card .results-toolbar-actions {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-summary-card .results-toolbar-sort label {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .results-summary-card .results-toolbar-sort select,
  .results-summary-card .search-filters-toggle {
    min-height: 44px;
  }

  .results-toolbar h2 {
    font-size: clamp(18px, 7vw, 26px);
  }

  .results-toolbar p {
    font-size: 13px;
    line-height: 1.45;
  }

  .contact-advisor-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-advisor-photo {
    margin: 0 auto;
  }
}
