/* SWFL Paradise — gold accents + high-contrast neutrals */
:root {
  --gold-light: #bfad6d;
  --gold-dark: #8d804a;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --border: #e3e0d6;
  --surface: #ffffff;
  --bg-subtle: #f7f6f2;
  --footer-bar: #8d804a;
  --max-width: 1200px;
  --header-height: 64px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --hero-overlay-top: rgba(0, 0, 0, 0.38);
  --hero-overlay-bottom: rgba(0, 0, 0, 0.52);
  --feature-overlay: rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ——— Top header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 16px;
  flex-wrap: nowrap;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(220px, 38vw);
  object-fit: contain;
  object-position: left center;
}

.logo:hover img {
  opacity: 0.9;
}

.logo:hover {
  text-decoration: none;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

/* Desktop: [primary nav] — spacer — [utility + Sign up], Realtor-style bar */
.header-nav-spacer {
  display: none;
}

@media (min-width: 1025px) {
  .nav-panel {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
  }

  .header-nav-spacer {
    display: none;
  }
}

.nav-panel-header {
  display: none;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (min-width: 1025px) {
  .nav-primary {
    flex-wrap: nowrap;
    gap: 22px;
  }
}

.nav-primary a {
  color: #1a1a1a;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.nav-primary a:hover {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-primary a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 0 #1a1a1a;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-actions a {
  color: #1a1a1a;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.nav-actions a:not(.btn-signup):hover {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-actions form {
  display: inline;
}

.nav-actions .nav-logout-btn {
  font: inherit;
  color: #1a1a1a;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-actions .nav-logout-btn:hover {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-actions .nav-user-email {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: #1a1a1a;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-signup:hover {
  background: #333;
  color: #fff !important;
  text-decoration: none !important;
}

/* Mobile header: Register (desktop uses Sign up in nav) */
.header-register {
  display: none;
}

.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: var(--gold-dark);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none !important;
  border: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-register:hover {
  background: var(--gold-light);
  color: var(--gold-dark) !important;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a center/cover no-repeat;
  background-image: linear-gradient(
      var(--hero-overlay-top),
      var(--hero-overlay-bottom)
    ),
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=80");
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  padding: 48px 24px 64px;
  text-align: center;
}

.hero-tagline {
  margin: 0 0 28px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  line-height: 1.2;
}

/* Hero search: tabs on image, pill bar below (Realtor-style) */
.hero-search-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 8px 20px;
  width: 100%;
  padding: 0 8px;
}

.search-tab {
  position: relative;
  padding: 0 4px 12px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.search-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: calc(100% + 10px);
  max-width: calc(100% + 14px);
  height: 4px;
  background: #fff;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
}

.search-tab:hover {
  color: #fff;
}

.search-tab.is-active {
  color: #fff;
}

.search-tab.is-active::after {
  opacity: 1;
}

.search-pill {
  width: 100%;
  max-width: 800px;
  background: #fff;
  border: none;
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  padding: 6px 7px 6px 22px;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
}

.search-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 8px 12px 4px;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 400;
  font-family: inherit;
  background: transparent;
  color: var(--text);
}

.search-row input::placeholder {
  color: #7a7268;
  opacity: 1;
}

.search-row input:focus {
  outline: none;
}

.search-pill:focus-within {
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--gold-light);
}

.btn-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px 22px 14px 24px;
  background: var(--gold-dark);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1;
}

.btn-search-icon {
  flex-shrink: 0;
}

.btn-search:hover {
  background: var(--gold-light);
  color: var(--gold-dark);
}

@media (max-width: 600px) {
  .hero-search-stack {
    gap: 16px;
  }

  .search-tabs {
    gap: 6px 12px;
  }

  .search-tab {
    font-size: 0.8125rem;
    padding-bottom: 10px;
  }

  .search-pill {
    padding: 5px 5px 5px 16px;
    border-radius: 50px;
  }

  .search-row {
    min-height: 48px;
  }

  .btn-search {
    padding: 12px 16px;
    gap: 6px;
    font-size: 0.9375rem;
  }
}

/* ——— Category grid ——— */
.section {
  padding: 56px 0;
}

.section-title {
  margin: 0 0 28px;
  font-size: 1.5rem;
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.96);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 4px;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border-left: 3px solid var(--gold-dark);
}

/* Pill count badge — top-right (Realtor-style) */
.category-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-width: 2.25rem;
  padding: 6px 11px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  text-align: center;
  border-radius: 100px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
  font-variant-numeric: tabular-nums;
}

.category-card:hover .category-card-badge {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* ——— Agent CTA ——— */
.agent-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .agent-row {
    grid-template-columns: 1fr;
  }
}

.agent-copy h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.agent-copy p {
  margin: 0 0 20px;
  color: var(--text-muted);
  max-width: 420px;
}

.btn-dark {
  display: inline-flex;
  padding: 12px 24px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9375rem;
}

.btn-dark:hover {
  background: var(--gold-dark);
  text-decoration: none;
  color: #fff;
}

.agent-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 700px) {
  .agent-cards {
    grid-template-columns: 1fr;
  }
}

.agent-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  background: var(--surface);
}

.agent-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
}

.agent-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.agent-card .rating {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.agent-card a {
  font-size: 0.875rem;
  font-weight: 700;
}

/* ——— Discover / tabs ——— */
.discover {
  background: var(--bg-subtle);
}

.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.pill-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
}

.pill-tab:hover:not(.is-active) {
  border-color: var(--gold-light);
  color: var(--gold-dark);
}

.pill-tab.is-active {
  background: var(--gold-dark);
  color: #fff;
  border-color: var(--gold-dark);
}

.discover-panels {
  display: none;
}

.discover-panels.is-active {
  display: block;
}

.discover-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .discover-columns {
    grid-template-columns: 1fr;
  }
}

.discover-col .icon {
  width: 40px;
  height: 40px;
  background: color-mix(in srgb, var(--gold-light) 35%, var(--surface));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.25rem;
  margin-bottom: 12px;
  border: 1px solid color-mix(in srgb, var(--gold-light) 50%, var(--border));
}

.discover-col h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.discover-col p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ——— Neighborhoods ——— */
.neighborhood-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 992px) {
  .neighborhood-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .neighborhood-row {
    grid-template-columns: 1fr;
  }
}

.nh-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.nh-map {
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='%238d804a'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E")
      center no-repeat,
    #e8eaed;
  background-size: 40px, auto;
}

.nh-body {
  padding: 14px 16px;
}

.nh-body strong {
  display: block;
  margin-bottom: 8px;
}

/* ——— Featured article band ——— */
.feature-band {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(var(--feature-overlay), var(--feature-overlay)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80")
      center/cover;
  color: #fff;
}

.feature-band h2 {
  margin: 0 auto 24px;
  max-width: 640px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
}

.btn-outline-light {
  display: inline-flex;
  padding: 12px 28px;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--text);
  text-decoration: none;
}

/* ——— News grid ——— */
.news-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .news-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .news-row {
    grid-template-columns: 1fr;
  }
}

.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.news-card-image-link {
  display: block;
  line-height: 0;
  color: inherit;
  text-decoration: none;
}

.news-card-image-link:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-body {
  padding: 16px;
}

.news-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.news-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.35;
}

.news-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--gold-dark);
  text-decoration: none;
}

/* ——— Split sections ——— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-image {
  min-height: 280px;
  background: #ddd center/cover;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  background: var(--surface);
}

.split.reverse .split-image {
  order: 2;
}

.split.reverse .split-content {
  order: 1;
}

@media (max-width: 900px) {
  .split.reverse .split-image,
  .split.reverse .split-content {
    order: unset;
  }
}

.split-content h2 {
  margin: 0 0 12px;
  font-size: 1.65rem;
}

.split-content p {
  margin: 0 0 20px;
  color: var(--text-muted);
  max-width: 420px;
}

.location-select {
  width: 100%;
  max-width: 360px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--gold-dark);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: inline-block;
  line-height: 0;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-brand img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand:hover img {
  opacity: 0.9;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
  opacity: 1;
}

.footer-bottom {
  background: var(--footer-bar);
  color: rgba(255, 255, 255, 0.92);
  padding: 32px 0;
  font-size: 0.8125rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.social-row a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  margin: 16px 0 0;
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
}

/* Mobile: left drawer + chevron toggle */
.nav-backdrop {
  display: none;
}

.menu-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  margin-right: 4px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  line-height: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
  position: relative;
  z-index: 102;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
  background: var(--bg-subtle);
  border-color: var(--gold-light);
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 20px;
  pointer-events: none;
}

.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

body.nav-drawer-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-drawer-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-drawer-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel-close {
  display: none;
}

@media (max-width: 1024px) {
  .nav-backdrop {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    pointer-events: none;
  }

  body.nav-drawer-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
    order: 1;
    margin-right: 0;
    margin-left: 8px;
  }

  .logo {
    order: 0;
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
  }

  .header-register {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    width: min(20rem, 88vw);
    max-width: 100%;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    margin: 0;
    background: var(--surface);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  body.nav-drawer-open .nav-panel {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav-panel {
      transition-duration: 0.01ms;
    }

    .nav-backdrop {
      transition-duration: 0.01ms;
    }

    .menu-toggle-bar {
      transition-duration: 0.01ms;
    }
  }

  .nav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .nav-panel-title {
    font-weight: 800;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .nav-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .nav-panel-close:hover {
    background: var(--bg-subtle);
  }

  .nav-primary {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .nav-primary a {
    padding: 14px 20px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-primary a:last-child {
    border-bottom: none;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 24px;
    margin-top: auto;
    border-top: 1px solid var(--border);
  }

  .nav-extra {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-extra a {
    padding: 12px 4px;
    font-size: 0.9375rem;
  }

  .nav-actions .btn-signup {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
    width: 100%;
  }
}

/* ——— Listings / search results page ——— */
.page-listings-main {
  padding-bottom: 48px;
}

.listings-toolbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0 18px;
}

.listings-controls-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.listings-search-shell {
  position: relative;
  flex: 1;
  min-width: min(100%, 220px);
}

.listings-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 52px 14px 22px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
}

.listings-search-input::placeholder {
  color: #767676;
}

.listings-search-input:focus {
  outline: none;
  border-color: #a3a3a3;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.listings-search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text);
  opacity: 0.55;
  pointer-events: none;
  display: flex;
}

.btn-save-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 20px;
  border: none;
  border-radius: 100px;
  background: #262626;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-save-search:hover {
  background: #404040;
}

.btn-save-search svg {
  flex-shrink: 0;
}

.listings-view-toggle {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 100px;
  background: #ebebeb;
  gap: 2px;
}

.listings-view-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.listings-view-btn.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.listings-view-btn:not(.is-active) {
  color: #5c5c5c;
}

.listings-view-btn:not(.is-active):hover {
  color: var(--text);
}

/* Listings map (Leaflet) */
.listings-map-wrap {
  margin-top: 0.5rem;
}

.listings-map-bounds-info {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.listings-map-empty {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f5f2eb;
  color: #5c5c5c;
  font-size: 0.9375rem;
}

.listings-leaflet-map {
  width: 100%;
  height: min(560px, 72vh);
  min-height: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.listings-map-popup a {
  color: inherit;
}

/* Realtor-style applied filters row */
.applied-filters-section {
  margin-top: 4px;
}

.filter-tray {
  position: relative;
}

.filter-tray__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
}

.filter-tray__filter-container {
  flex-shrink: 0;
}

.filter-item-inline {
  display: inline-flex;
  align-items: center;
}

.filter-badge {
  display: inline-flex;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid #d0d0d0;
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.filter-btn:hover {
  border-color: #a3a3a3;
  background: #fafafa;
}

.filter-btn--all .filter-icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.filter-btn--dropdown {
  padding-right: 12px;
}

.filter-btn__icon--chevron {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
}

.filter-chevron-svg--up {
  display: none;
}

.filter-dropdown.is-open .filter-chevron-svg--down {
  display: none;
}

.filter-dropdown.is-open .filter-chevron-svg--up {
  display: block;
}

.filter-dropdown.is-open .filter-btn--dropdown {
  border-color: #262626;
  box-shadow: 0 0 0 1px #262626;
  background: var(--surface);
}

.filter-btn--all.is-active {
  border-color: #262626;
  box-shadow: 0 0 0 1px #262626;
}

.applied-chips {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.applied-chips.is-collapsed {
  display: none;
}

.applied-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid #d0d0d0;
  background: #fafafa;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
}

.applied-chip:hover {
  border-color: #262626;
  background: #fff;
  color: var(--text);
}

.applied-chip-x {
  font-weight: 800;
  opacity: 0.55;
}

.btn-save-search.is-saved-feedback {
  background: #1a5c3a;
  color: #fff;
}

.filter-static-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  flex: 1 1 100%;
}

@media (min-width: 900px) {
  .filter-static-filters {
    flex: 0 1 auto;
  }
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 70;
  min-width: min(320px, calc(100vw - 48px));
  padding: 16px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.filter-dropdown__panel--price {
  min-width: min(380px, calc(100vw - 48px));
}

.filter-dropdown__panel--rooms {
  min-width: min(340px, calc(100vw - 48px));
}

.filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -4px 0 14px;
  padding-bottom: 2px;
}

.filter-panel__head-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.filter-panel__done {
  padding: 4px 2px;
  border: none;
  background: none;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  color: #0063c3;
  cursor: pointer;
  text-decoration: none;
}

.filter-panel__done:hover {
  text-decoration: underline;
}

.price-mode-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
  padding: 3px;
  background: #f0f0f0;
  border-radius: 8px;
}

.price-mode-btn {
  flex: 1;
  padding: 8px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.price-mode-btn.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.filter-buying-power {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0063c3;
  text-decoration: none;
}

.filter-buying-power:hover {
  text-decoration: underline;
}

.filter-buying-power__icon {
  display: flex;
  color: #0063c3;
}

.price-histogram {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3px;
  height: 56px;
  margin-bottom: 6px;
  padding: 0 2px;
}

.price-histogram__bar {
  flex: 1;
  min-width: 4px;
  max-width: 14px;
  margin: 0 auto;
  background: linear-gradient(180deg, #b8d4f0 0%, #7eb3e8 100%);
  border-radius: 2px 2px 0 0;
}

.price-dual-range {
  position: relative;
  height: 32px;
  margin: 0 0 16px;
}

.price-dual-range__track {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #e8e8e8;
  border-radius: 2px;
}

.price-dual-range__input {
  position: absolute;
  left: 0;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.price-dual-range__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #262626;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.price-dual-range__input::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #262626;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.price-dual-range__input--min {
  z-index: 1;
}

.price-dual-range__input--max {
  z-index: 3;
}

.price-dual-range__input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.price-dual-range__input::-moz-range-track {
  height: 4px;
  background: transparent;
}

.price-select-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-panel__select--wide {
  flex: 1;
  min-width: 0;
}

.filter-more-price__title {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text);
}

.filter-more-price {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-more-price__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.filter-more-price__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-info-i {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  font-size: 0.6875rem;
  font-weight: 800;
  font-style: italic;
  font-family: Georgia, serif;
  line-height: 1;
  color: var(--text-muted);
  cursor: help;
}

.filter-pill-group {
  margin-bottom: 16px;
}

.filter-pill-group:last-child {
  margin-bottom: 0;
}

.filter-pill-group__label {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
}

.filter-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-num-pill {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.filter-num-pill:hover {
  border-color: #a3a3a3;
  background: #fafafa;
}

.filter-num-pill.is-selected {
  border-color: #262626;
  background: #f0f0f0;
  box-shadow: 0 0 0 1px #262626;
}

.filter-panel__title {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.filter-panel__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.filter-panel__fields--row {
  flex-direction: row;
  flex-wrap: wrap;
}

.filter-panel__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.filter-panel__input,
.filter-panel__select {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: inherit;
  min-width: 0;
}

.filter-panel__input--full {
  width: 100%;
}

.filter-panel__checks {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-panel__checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.filter-panel__apply {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #262626;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
}

.filter-panel__apply:hover {
  background: #404040;
}

.filter-all-panel {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-subtle);
}

.filter-all-panel__hint {
  margin: 0 0 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.filter-all-panel__grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-recommended {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #ebebeb;
}

.filter-rec-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  margin: 0;
  border-radius: 100px;
  border: 1px solid #d0d0d0;
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.filter-rec-chip:hover {
  border-color: #a3a3a3;
  background: #fafafa;
}

.filter-rec-chip[aria-pressed="true"] {
  border-color: #262626;
  background: #f0f0f0;
  box-shadow: inset 0 0 0 1px #262626;
}

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

.filter-rec-chip:has(.filter-rec-chip__input:checked) {
  border-color: #262626;
  background: #f0f0f0;
  box-shadow: inset 0 0 0 1px #262626;
}

.filter-rec-chip:has(.filter-rec-chip__input:focus-visible) {
  outline: 2px solid rgba(191, 173, 109, 0.65);
  outline-offset: 2px;
}

.filter-all-panel__footer {
  margin-top: 1rem;
}

.filter-buying-power--muted {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: default;
}

.listings-results-head {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.listings-heading {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

.listings-results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.listings-results-meta-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.listings-count {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.listings-count strong {
  color: var(--text);
  font-weight: 700;
}

.listings-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.listings-sort label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.listings-sort-select {
  padding: 6px 28px 6px 4px;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%235c5c5c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.listings-sort-select:focus {
  outline: 2px solid rgba(191, 173, 109, 0.5);
  outline-offset: 2px;
}

.listings-afford-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0063c3;
  text-decoration: none;
}

.listings-afford-link:hover {
  text-decoration: underline;
}

.listings-afford-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #0063c3;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  color: #0063c3;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (min-width: 1200px) {
  .listings-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .listings-controls-top {
    flex-direction: column;
    align-items: stretch;
  }

  .listings-view-toggle {
    align-self: flex-start;
  }

  .btn-save-search {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .listings-grid {
    grid-template-columns: 1fr;
  }

  .listings-results-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .listings-results-meta-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.listing-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease;
}

.listing-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.listing-card-media {
  position: relative;
}

.listing-card-image-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8eaed;
}

.listing-card-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.listing-card:hover .listing-card-image-link img {
  transform: scale(1.03);
}

.listing-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  max-width: calc(100% - 88px);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 100px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
  background: var(--gold-light);
  color: var(--gold-dark);
}

.listing-card-tag--new {
  background: #0063c3;
  color: #fff;
}

.listing-card-tag--open {
  background: #004a94;
  color: #fff;
}

.listing-card-badge-num {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-width: 2rem;
  padding: 5px 10px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
  text-align: center;
  border-radius: 100px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
  font-variant-numeric: tabular-nums;
}

.listing-card-tour {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.listing-card-tour:hover {
  transform: scale(1.05);
  background: #fff;
}

.listing-card-tour__inner {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.listing-card-save {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: color 0.15s ease, transform 0.15s ease;
}

.listing-card-save:hover {
  color: var(--gold-dark);
  transform: scale(1.05);
}

.listing-card-save.is-saved {
  color: var(--gold-dark);
}

.listing-card-save.is-saved svg {
  fill: var(--gold-light);
  stroke: var(--gold-dark);
}

.listing-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.listing-card-broker {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.listing-card-status {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.listing-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ea043;
  flex-shrink: 0;
}

.listing-card-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.listing-card-price {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.listing-card-price-drop {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a7f37;
}

.listing-card-specs {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.listing-card-address {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.listing-card-city {
  margin: 2px 0 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.listing-card-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.btn-email-agent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-email-agent:hover {
  border-color: var(--gold-dark);
  background: var(--gold-light);
  color: var(--gold-dark);
}

/* ——— About page ——— */
.page-about {
  padding-bottom: 48px;
}

.page-about-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}

.page-about-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-about-lead,
.page-about-feature p,
.page-about-prose p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}

.page-about-prose p:last-child {
  margin-bottom: 0;
}

.page-about-brand {
  max-width: 200px;
}

.page-about-img {
  width: 100%;
  max-width: 400px;
}

.page-about-feature-title {
  font-weight: 700;
  color: var(--text);
}

.page-about-thumb {
  max-width: 280px;
}

@media (min-width: 992px) {
  .page-about-thumb {
    max-width: 320px;
  }
}

/* ——— What You Should Know ——— */
.page-know {
  padding-bottom: 48px;
}

.page-know-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}

.page-know-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-know-section-heading {
  font-weight: 700;
  color: var(--text);
}

.page-know-prose p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}

.page-know-prose p:last-child {
  margin-bottom: 0;
}

.page-know-embed {
  background: #0d0d0d;
}

.page-know-accordion .accordion-button {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.page-know-accordion .accordion-button:not(.collapsed) {
  background: var(--gold-light);
  color: var(--gold-dark);
}

.page-know-service-btn:hover {
  border-color: var(--gold);
  color: var(--text);
}

/* ——— Sellers page ——— */
.page-sellers-hero {
  position: relative;
  min-height: clamp(220px, 38vw, 340px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a2e26;
  background-image: linear-gradient(120deg, rgba(20, 34, 28, 0.82) 0%, rgba(26, 46, 38, 0.75) 100%),
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=80");
  background-size: cover;
  background-position: center;
}

.page-sellers-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.page-sellers-hero__inner {
  position: relative;
  z-index: 1;
  padding: 3rem 24px;
  text-align: center;
}

.page-sellers-hero__title {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.page-sellers-lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.5;
  color: var(--text);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.page-sellers-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.page-sellers-hints-label {
  letter-spacing: 0.08em;
}

.page-sellers-list {
  max-width: 52rem;
}

.page-sellers-list__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.page-sellers-list__item:last-child {
  border-bottom: none;
}

.page-sellers-list__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(191, 173, 109, 0.35) 0%, rgba(141, 128, 74, 0.2) 100%);
  color: var(--gold-dark);
  border: 1px solid rgba(141, 128, 74, 0.35);
}

.page-sellers-list__heading {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: capitalize;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.page-sellers-list__body p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.page-sellers-area-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.page-sellers-area-btn:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  transform: translateY(-2px);
}

.page-sellers-area-btn__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  color: var(--gold-dark);
}

.page-sellers-area-btn__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.page-sellers-area-btn__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.page-sellers-area-btn__place {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

/* ——— Contact page ——— */
.page-contact-hero {
  position: relative;
  min-height: clamp(220px, 38vw, 340px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a2e26;
  background-image: linear-gradient(120deg, rgba(20, 34, 28, 0.82) 0%, rgba(26, 46, 38, 0.75) 100%),
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=80");
  background-size: cover;
  background-position: center;
}

.page-contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.page-contact-hero__inner {
  position: relative;
  z-index: 1;
  padding: 3rem 24px;
  text-align: center;
}

.page-contact-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.page-contact-hero__subtitle {
  margin: 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.page-contact-alert {
  border-radius: 10px;
  border: none;
}

.page-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-contact-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.page-contact-card__icon {
  flex-shrink: 0;
  line-height: 0;
}

.page-contact-card__icon img {
  display: block;
  width: 72px;
  height: auto;
  border-radius: 8px;
}

.page-contact-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.page-contact-card__text {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
}

.page-contact-card__text a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.page-contact-card__text a:hover {
  color: var(--gold-dark);
}

.page-contact-form-wrap {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
  .page-contact-form-wrap {
    padding: 2rem 1.75rem;
  }
}

.page-contact-form__heading {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.page-contact-form .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.page-contact-form .form-control {
  border-radius: 6px;
  border-color: #9b9b9b;
  padding: 0.65rem 0.85rem;
}

.page-contact-form .form-control:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 0.2rem rgba(141, 128, 74, 0.2);
}

.page-contact-submit {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border-radius: 6px;
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.page-contact-submit:hover,
.page-contact-submit:focus {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--text);
}

.page-contact-map__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.page-contact-map__frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.page-contact-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* —— Home financing —— */
.page-financing-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-financing-hero {
    min-height: 380px;
    padding: 5rem 0 4rem;
  }
}

.page-financing-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--financing-hero-img);
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.02);
}

.page-financing-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 42, 28, 0.88) 0%,
    rgba(26, 58, 42, 0.75) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.page-financing-hero__inner {
  position: relative;
  z-index: 1;
}

.page-financing-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.page-financing-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.page-financing-hero__subtitle {
  margin: 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.page-financing-intro {
  background: var(--surface-alt, #f8f9f8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-financing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.page-financing-card__logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.page-financing-card__logo {
  max-width: 100%;
  height: auto;
}

.page-financing-card__photo {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-financing-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
}

.page-financing-card__role,
.page-financing-card__contact,
.page-financing-card__address {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
}

.page-financing-card__contact a,
.page-financing-card__address a {
  color: var(--gold-dark);
  font-weight: 600;
}

.page-financing-card__contact a:hover,
.page-financing-card__address a:hover {
  color: var(--text);
}

.page-financing-prose p {
  margin: 0 0 1.1rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
}

.page-financing-prose p:last-child {
  margin-bottom: 0;
}

.page-financing-programs {
  background: #fff;
}

.page-financing-program__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  text-align: center;
  color: var(--text);
  position: relative;
  padding-bottom: 0.75rem;
}

.page-financing-program__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
}

.page-financing-program--spaced {
  margin-top: 3rem;
}

.page-financing-program__figure {
  margin: 0;
  text-align: center;
}

.page-financing-program__img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.page-financing-program__img--narrow {
  max-width: 420px;
}

.page-financing-program__img--values {
  max-width: 100%;
}

.page-financing-program__figure--wide .page-financing-program__img--values {
  max-width: min(100%, 760px);
}

.page-financing-ctas {
  text-align: center;
}

.page-financing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 200px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-financing-btn--primary {
  background: var(--gold-dark);
  border: 2px solid var(--gold-dark);
  color: #fff;
}

.page-financing-btn--primary:hover,
.page-financing-btn--primary:focus {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--text);
}

.page-financing-btn--outline {
  background: #fff;
  border: 2px solid var(--border);
  color: var(--text);
}

.page-financing-btn--outline:hover,
.page-financing-btn--outline:focus {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
  background: #fff;
}

.page-financing-btn__icon {
  flex-shrink: 0;
}

.page-financing-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ——— Let’s meet page ——— */
.page-meet-hero {
  position: relative;
  min-height: clamp(200px, 34vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2a2418;
  background-image: linear-gradient(115deg, rgba(40, 34, 22, 0.88) 0%, rgba(26, 58, 47, 0.78) 100%),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1920&q=80");
  background-size: cover;
  background-position: center;
}

.page-meet-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.38) 100%);
  pointer-events: none;
}

.page-meet-hero__inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 24px;
  text-align: center;
}

.page-meet-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.page-meet-hero__subtitle {
  margin: 0;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

/* ——— Let’s meet form — datetime & timezone shells ——— */
.meet-form .meet-field-hint {
  color: #5c6c64;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.meet-field-shell {
  position: relative;
  border-radius: 16px;
  border: 2px solid #e2ddd4;
  background: linear-gradient(165deg, #fffefb 0%, #f4f1ea 55%, #ebe6dc 100%);
  box-shadow: 0 4px 18px rgba(26, 58, 47, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

.meet-field-shell:hover {
  border-color: #cfc6b8;
  box-shadow: 0 6px 22px rgba(26, 58, 47, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.meet-field-shell:focus-within {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(141, 128, 74, 0.2), 0 8px 28px rgba(26, 58, 47, 0.12);
}

.meet-field-shell.is-invalid-shell {
  border-color: #c86f6f;
  box-shadow: 0 0 0 4px rgba(200, 111, 111, 0.18);
}

.meet-field-shell__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--gold-dark);
  opacity: 0.92;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meet-field-shell--datetime .meet-datetime-input,
.meet-field-shell--datetime .flatpickr-alt-input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 15px 16px 15px 50px !important;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 14px;
  min-height: 54px;
}

.meet-field-shell--datetime .flatpickr-input.flatpickr-mobile {
  padding-left: 50px !important;
}

.meet-field-shell--select .meet-select-input {
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 15px 44px 15px 50px !important;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 14px;
  min-height: 54px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%235c5244' stroke-width='2' stroke-linecap='round' d='M1 2l6 5 6-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 14px 9px !important;
}

.meet-field-shell--select .meet-select-input:focus {
  outline: none;
}

/* Flatpickr calendar — brand styling (loaded only on meet page) */
.flatpickr-calendar {
  border-radius: 16px !important;
  border: 1px solid #e0dcd4 !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
  font-family: "Source Sans 3", system-ui, sans-serif !important;
}

.flatpickr-months .flatpickr-month {
  background: #1a3a2f !important;
  color: #fff !important;
  border-radius: 14px 14px 0 0 !important;
  fill: #fff !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month .numInputWrapper span {
  color: #fff !important;
}

.flatpickr-weekdays {
  background: #f4f1ea !important;
}

.flatpickr-weekday {
  color: #5c5c5c !important;
  font-weight: 700 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--gold-dark) !important;
  border-color: var(--gold-dark) !important;
  color: #fff !important;
}

.flatpickr-day:hover {
  background: rgba(141, 128, 74, 0.2) !important;
  border-color: transparent !important;
}

.flatpickr-time {
  border-top: 1px solid #e8e4dc !important;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover {
  background: #f4f1ea !important;
}

.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
  background: rgba(141, 128, 74, 0.15) !important;
}

.meet-flatpickr--no-anim.flatpickr-calendar,
.meet-flatpickr--no-anim.flatpickr-calendar * {
  animation: none !important;
  transition: none !important;
}

/* Sticky “Let’s meet” blob button (frontend) */
.meet-float {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1080;
  pointer-events: none;
}

.meet-float__btn {
  pointer-events: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 108px;
  min-height: 108px;
  padding: 14px 18px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.15;
  text-align: center;
  background: linear-gradient(145deg, #6b5a2e 0%, #3d3518 45%, #1a3a2f 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.meet-float__btn:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.meet-float__icon {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.meet-float__label {
  max-width: 7.5rem;
}

.meet-float__blob {
  animation: meet-float-blob 7s ease-in-out infinite;
}

@keyframes meet-float-blob {
  0%,
  100% {
    border-radius: 58% 42% 38% 62% / 48% 38% 62% 52%;
  }
  33% {
    border-radius: 42% 58% 62% 38% / 55% 48% 52% 45%;
  }
  66% {
    border-radius: 48% 52% 42% 58% / 42% 55% 45% 58%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meet-float__blob {
    animation: none;
    border-radius: 28px;
  }
}



/* Compare CSS */

.compare-btn{
    border:1px solid #c8b273;
    background:#fff;
    color:#b79b54;
    padding:8px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.compare-btn:hover{
    background:#b79b54;
    color:#fff;
}

.compare-bar{
    position:fixed;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    width:90%;
    max-width:900px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
    border-radius:18px;
    padding:15px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    z-index:9999;
}

.compare-items{
    display:flex;
    gap:10px;
}

.compare-pill{
    background:#f5f5f5;
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
}

.compare-now-btn{
    background:#b79b54;
    color:#fff;
    padding:12px 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
}

.compare-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    padding-bottom:20px;
}

.compare-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.compare-card h3,
.compare-card h2,
.compare-card ul{
    padding:0 20px;
}

.compare-btn{
    border:1px solid #c8b273;
    background:#fff;
    color:#b79b54;
    padding:10px 18px;
    border-radius:12px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s ease;
}

.compare-btn:hover{
    background:#b79b54;
    color:#fff;
}

.compare-btn.added{
    background:#b79b54;
    color:#fff;
}

.compare-page{
    padding-top:60px;
    padding-bottom:80px;
}

.compare-page-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:50px;
    padding:25px 30px;
    background:rgba(255,255,255,0.7);
    backdrop-filter:blur(10px);
    border-radius:22px;
}

.compare-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(380px,1fr));
    gap:30px;
    align-items:start;
}

.compare-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.compare-image-wrap img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.compare-content{
    padding:25px;
}

.compare-content h3{
    font-size:22px;
    margin-bottom:10px;
}

.compare-content h2{
    color:#b79b54;
    margin-bottom:25px;
}

.compare-specs{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.spec-item{
    display:flex;
    justify-content:space-between;
    padding-bottom:12px;
    border-bottom:1px solid #eee;
}

.remove-compare-btn,
.clear-compare-btn{
    margin-top:25px;
    background:#111;
    color:#fff;
    border:none;
    padding:12px 20px;
    border-radius:12px;
    cursor:pointer;
}

.empty-compare-wrap{
    text-align:center;
    padding:80px 20px;
}

.compare-image-wrap{
    overflow:hidden;
}

.compare-image-wrap img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:transform 0.6s ease;
}

.compare-card:hover .compare-image-wrap img{
    transform:scale(1.06);
}

.compare-badge{
    position:absolute;
    top:20px;
    left:20px;
    background:#b79b54;
    color:#fff;
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    z-index:5;
}

.compare-page{
    animation:fadeIn 0.6s ease;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.compare-page{
    background:
        linear-gradient(
            to bottom,
            #f8f6f1,
            #ffffff
        );
}

.compare-content h3{
    font-size:24px;
    font-weight:700;
    line-height:1.3;
}

.compare-price{
    font-size:40px;
    font-weight:800;
    color:#b79b54;
}