:root {
  --bg: #f4f6f8;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #102236;
  --muted: #5b6673;
  --line: rgba(16, 34, 54, 0.12);
  --brand: #12355b;
  --accent: #f4b942;
  --success: #1d6b4a;
  --shadow: 0 24px 60px rgba(10, 23, 38, 0.12);
  --shadow-soft: 0 18px 34px rgba(10, 23, 38, 0.08);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1490px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #f7f8fa;
  font-family: Inter, "Poppins", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(24px);
  background: rgba(249, 251, 253, 0.88);
  border-bottom: 1px solid rgba(16, 34, 54, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  position: relative;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #21496f);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: center;
  flex: 1;
  white-space: nowrap;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.93rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(18, 53, 91, 0.08);
}

.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), #e0a72f);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 999px;
}

.main-shell {
  padding-bottom: 110px;
}

.hero {
  padding: 34px 0 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.hero__panel,
.panel,
.info-card,
.category-card,
.location-card,
.stat-card,
.dashboard-summary .stat-card,
.wizard__content,
.seller-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero__panel {
  padding: 34px;
  overflow: hidden;
  position: relative;
}

.hero__panel::after {
  content: "";
  position: absolute;
  inset: auto -160px -120px auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(244, 185, 66, 0.2), transparent 64%);
}

.marketplace-page {
  padding-top: 16px;
}

.marketplace-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.filter-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 18px;
}

.filter-sidebar form {
  display: grid;
  gap: 18px;
}

.filters__block {
  display: grid;
  gap: 14px;
}

.section-title-row--tight {
  margin: 0;
}

.section-title-row--tight h2 {
  font-size: 1rem;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.search-stack {
  display: grid;
  gap: 12px;
}

.search-stack__field {
  display: grid;
  gap: 8px;
  color: var(--brand);
  font-weight: 600;
}

.search-stack__field span,
.filter-set p,
.price-range-card__header span,
.results-breadcrumb {
  color: var(--muted);
}

.search-stack__inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-stack__button {
  min-width: 84px;
  border-radius: 12px;
}

.search-stack input,
.search-stack select,
.filter-sidebar input,
.filter-sidebar select {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(16, 34, 54, 0.12);
  background: #fff;
  padding-inline: 14px;
}

.price-range-card,
.filter-set,
.more-filters {
  padding: 14px;
  border: 1px solid rgba(16, 34, 54, 0.08);
  border-radius: 18px;
  background: #fff;
}

.price-range-card__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.price-range-card__header strong,
.filter-set p,
.more-filters summary {
  color: var(--brand);
  font-weight: 700;
}

.price-range-card__track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: #e7ebef;
  margin: 18px 8px 10px;
}

.price-range-card__track span {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.price-range-card__track span:first-child {
  left: 10%;
}

.price-range-card__track span:last-child {
  left: 82%;
}

.price-range-card__labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.filters__group--compact {
  margin: 0;
}

.filters__group--compact label {
  color: var(--muted);
  font-weight: 600;
}

.filter-set {
  display: grid;
  gap: 10px;
}

.filter-set__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-set__chips--compact .filter-chip-input span {
  min-width: 38px;
  justify-content: center;
}

.filter-chip-input {
  display: inline-flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.filter-chip-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-chip-input span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 34, 54, 0.12);
  background: #fff;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 600;
}

.filter-chip-input input:checked + span {
  background: rgba(18, 53, 91, 0.08);
  border-color: rgba(18, 53, 91, 0.2);
}

.more-filters {
  padding-top: 12px;
}

.more-filters summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.more-filters summary::after {
  content: "▾";
  float: right;
  color: var(--muted);
}

.more-filters summary::-webkit-details-marker {
  display: none;
}

.filters__actions {
  display: flex;
  gap: 10px;
}

.filters__actions .btn {
  flex: 1;
  border-radius: 12px;
}

.results-column {
  min-width: 0;
  padding-right: 2px;
}

.results-breadcrumb {
  font-size: 0.84rem;
  margin-bottom: 10px;
}

.results-breadcrumb span {
  margin: 0 4px;
}

.results-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.results-title {
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 3.4rem);
  color: var(--brand);
  letter-spacing: -0.03em;
}

.results-found {
  margin: 4px 0 0;
  font-size: 1rem;
  color: var(--muted);
}

.results-found strong {
  color: var(--accent);
  font-weight: 800;
}

.results-header__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filters-toggle {
  display: none;
}

.sort-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(16, 34, 54, 0.12);
  background: #fff;
  color: var(--muted);
}

.sort-pill select {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
}

.view-toggle {
  display: inline-flex;
  border: 1px solid rgba(16, 34, 54, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.view-toggle__button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--brand);
}

.view-toggle__button.is-active {
  background: rgba(18, 53, 91, 0.08);
}

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs__tab {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(16, 34, 54, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--brand);
  font-weight: 600;
}

.category-tabs__tab.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.properties-grid {
  align-items: start;
}

.properties-grid.is-list-view {
  grid-template-columns: 1fr;
}

.properties-grid.is-list-view .property-card {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.properties-grid.is-list-view .property-card__image {
  aspect-ratio: auto;
  min-height: 100%;
}

.property-card {
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(16, 34, 54, 0.1);
  box-shadow: 0 10px 26px rgba(10, 23, 38, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.property-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(10, 23, 38, 0.12);
}

.property-card__image {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.property-card:hover .property-card__image img {
  transform: scale(1.03);
}

.property-card__overlay {
  position: absolute;
  inset: 12px 12px auto 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.property-card__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.property-card__save-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  box-shadow: 0 8px 18px rgba(10, 23, 38, 0.16);
}

.property-card__media-footnote {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.property-card__count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(18, 22, 30, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.property-card__content {
  display: grid;
  gap: 8px;
  padding: 14px 14px 16px;
}

.property-card__title {
  margin: 0;
  color: var(--brand);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.28;
}

.property-card__title a {
  color: inherit;
}

.property-card__location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.property-card__location::before {
  content: "📍";
  font-size: 0.9rem;
}

.property-card__price {
  margin: 0;
  color: var(--accent);
  font-size: 1.06rem;
  font-weight: 800;
}

.property-card__summary--tight {
  margin: 0;
  color: var(--brand);
  font-size: 0.9rem;
}

.property-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-card__meta .chip {
  padding: 6px 10px;
  border-radius: 10px;
  background: #f4f6f8;
  border-color: rgba(16, 34, 54, 0.08);
  color: var(--brand);
  font-size: 0.74rem;
}

.property-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.property-card__footer .btn {
  border-radius: 12px;
  min-height: 42px;
}

.property-card__footer--secondary {
  display: none;
}

.property-card__save-text {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
}

.property-card__footer .btn-primary {
  flex: 1;
}

.property-card__footer .js-save-property {
  white-space: nowrap;
}

.compare-panel[hidden] {
  display: none;
}

.details-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
}

.gallery__main {
  position: relative;
}

.gallery__controls,
.gallery__counter {
  position: absolute;
  z-index: 2;
}

.gallery__counter {
  left: 14px;
  bottom: 14px;
}

.gallery__controls {
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}

.gallery__main img {
  border-radius: 24px;
}

.details-sidebar {
  position: sticky;
  top: 92px;
}

.details-sidebar .btn-primary {
  border-radius: 12px;
}

.sticky-callbar {
  display: none;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero h1,
.panel h1,
.panel h2,
.panel h3 {
  line-height: 1.05;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5.6rem);
  max-width: 10ch;
  margin-top: 4px;
}

.page-title {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3.4rem);
}

.hero p,
.body-copy,
.property-card__summary,
.info-card p,
.category-card p,
.location-card span,
.site-footer__copy {
  color: var(--muted);
}

.hero__actions,
.button-row,
.chip-row,
.property-card__actions,
.details-sidebar__actions,
.upload-actions,
.inline-actions,
.hero-search__actions,
.filter-chip-row,
.drawer-links,
.mobile-nav__links,
.bottom-nav__list,
.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #173f68);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 33, 47, 0.12);
}

.btn-accent {
  color: var(--brand);
  background: linear-gradient(135deg, var(--accent), #ffd97a);
  border-color: rgba(244, 185, 66, 0.5);
}

.btn-link {
  padding-inline: 0;
  min-height: auto;
  color: var(--brand);
  background: transparent;
}

.btn-block {
  width: 100%;
}

.hero__visual {
  overflow: hidden;
  position: relative;
  min-height: 100%;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.hero__search {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.7fr auto;
  gap: 12px;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero__search--stacked {
  grid-template-columns: 1fr;
  border-radius: 26px;
}

.hero__search input,
.hero__search select,
.filters input,
.filters select,
.stacked-field textarea,
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(16, 34, 54, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  min-height: 50px;
  padding: 0 16px;
  color: var(--text);
}

.hero__search input:focus,
.hero__search select:focus,
.filters input:focus,
.filters select:focus,
.stacked-field textarea:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.nav-toggle:focus,
.btn:focus,
.wizard__step:focus,
.choice-card:focus,
.chip:focus,
.gallery__thumb:focus,
.property-card__image:focus,
.site-nav a:focus,
.search-submit:focus {
  outline: 3px solid rgba(31, 111, 139, 0.35);
  outline-offset: 2px;
}

.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;
}

.hero__search button {
  padding-inline: 26px;
}

.hero-search__field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.hero-search__field span {
  font-size: 0.85rem;
}

.home-section {
  margin-top: 28px;
}

.card-surface {
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(16, 34, 54, 0.08);
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(10, 23, 38, 0.08);
}

.home-mixed-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
  gap: 18px;
}

.home-categories,
.home-properties {
  display: grid;
  gap: 18px;
}

.home-properties .card-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-heading--compact {
  margin: 0;
}

.home-about {
  display: grid;
  align-content: start;
  gap: 16px;
}

.home-about h2,
.home-cta h2 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.home-about p,
.home-cta p {
  margin: 0;
  color: var(--muted);
}

.home-cta {
  display: grid;
  gap: 16px;
}

.home-cta .hero__actions {
  margin-top: 4px;
}

.card-grid--compact .category-card {
  padding: 18px;
}

.card-grid--compact .property-card__content {
  padding: 12px 12px 14px;
}

.toolbar,
.panel-head,
.filters-head,
.compare-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.toolbar,
.filters,
.panel,
.hero__panel,
.info-card,
.dashboard-summary,
.wizard__content,
.seller-card {
  padding: 24px;
}

.toolbar {
  margin: 18px 0;
}

.toolbar__meta {
  color: var(--muted);
  font-weight: 600;
}

.property-layout,
.details-layout,
.wizard {
  display: grid;
  gap: 22px;
}

.property-layout {
  grid-template-columns: 310px minmax(0, 1fr) 320px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 94px;
  align-self: start;
}

.results-column {
  min-width: 0;
}

.map-panel {
  position: sticky;
  top: 94px;
  align-self: start;
}

.filters__group {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 34, 54, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-weight: 600;
}

.filter-chip.is-active {
  background: rgba(18, 53, 91, 0.08);
  color: var(--brand);
  border-color: rgba(18, 53, 91, 0.2);
}

.filters label,
.form-grid label,
.stacked-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.filters fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}

.filters legend {
  font-weight: 800;
  margin-bottom: 12px;
}

.filters__dynamic {
  display: grid;
  gap: 12px;
}

.section-grid,
.card-grid,
.choice-grid,
.upload-grid,
.dashboard-summary,
.comparison-grid,
.form-grid,
.detail-grid,
.wizard__rail,
.footer-grid,
.hero__metrics,
.categories-grid,
.location-grid,
.activity-list {
  display: grid;
  gap: 16px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-card {
  overflow: hidden;
  background: var(--surface-strong);
  border-radius: 28px;
  border: 1px solid rgba(16, 34, 54, 0.08);
  box-shadow: var(--shadow);
}

.property-card__image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card__overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.property-card__content {
  padding: 18px;
}

.property-card__topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.property-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.property-card__meta .chip {
  background: rgba(18, 53, 91, 0.05);
}

.property-card__title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
}

.property-card__price,
.price-large {
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 900;
}

.property-card__location,
.location-line,
.site-footer__brand {
  font-weight: 700;
}

.badge,
.chip,
.category-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 33, 47, 0.1);
}

.badge-verified {
  background: rgba(18, 53, 91, 0.08);
  color: var(--brand);
}

.badge-emphasis {
  background: rgba(244, 185, 66, 0.18);
  color: var(--brand);
}

.badge-pending {
  background: rgba(244, 185, 66, 0.16);
  color: var(--brand);
}

.badge-sold {
  background: rgba(18, 53, 91, 0.12);
  color: var(--brand);
}

.property-card__summary {
  margin: 14px 0 18px;
}

.empty-state,
.compare-empty {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(16, 33, 47, 0.16);
  color: var(--muted);
}

.hero__metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.hero-quick-links {
  margin-top: 18px;
}

.metric-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.metric-card strong {
  display: block;
  font-size: 1.35rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 18px;
}

.category-card,
.location-card,
.info-card {
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.location-card:hover,
.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(7, 20, 33, 0.14);
}

.category-card h3,
.location-card strong,
.info-card h3 {
  margin: 0 0 8px;
}

.compare-panel {
  margin-top: 20px;
}

.compare-panel--compact {
  margin-top: 0;
}

.compare-table-wrap,
.table-wrap {
  overflow: auto;
}

.compare-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td,
.data-table th,
.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(16, 33, 47, 0.08);
  vertical-align: top;
  text-align: left;
}

.compare-table thead th,
.data-table thead th {
  color: var(--muted);
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.details-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  align-items: start;
}

.gallery {
  margin-bottom: 18px;
}

.gallery__main {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.gallery__main img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.gallery__thumb {
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 20px;
  opacity: 0.8;
  box-shadow: var(--shadow);
}

.gallery__thumb.is-active {
  opacity: 1;
  outline: 3px solid rgba(18, 53, 91, 0.28);
}

.gallery__thumb img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 33, 47, 0.08);
}

.detail-item span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: 24px;
  background:
    radial-gradient(circle at center, rgba(18, 53, 91, 0.14), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(230, 239, 243, 0.96));
  border: 1px dashed rgba(16, 33, 47, 0.14);
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.map-placeholder--tall {
  min-height: 420px;
}

.details-sidebar {
  position: sticky;
  top: 94px;
}

.seller-card {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.wizard {
  grid-template-columns: 300px 1fr;
  align-items: start;
}

.wizard__rail {
  position: sticky;
  top: 94px;
}

.wizard__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(16, 33, 47, 0.08);
  background: var(--surface);
  border-radius: 20px;
  padding: 14px 16px;
  text-align: left;
}

.wizard__step span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(16, 33, 47, 0.06);
}

.wizard__step.is-active {
  border-color: rgba(18, 53, 91, 0.24);
  box-shadow: var(--shadow);
}

.wizard__step.is-complete span {
  background: rgba(244, 185, 66, 0.18);
  color: var(--brand);
}

.wizard__content {
  display: grid;
  gap: 18px;
}

.choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid--types {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
  text-align: left;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(16, 33, 47, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.choice-card.is-selected,
.chip.is-selected {
  border-color: rgba(18, 53, 91, 0.2);
  background: rgba(18, 53, 91, 0.06);
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(16, 33, 47, 0.08);
}

.file-input {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px dashed rgba(16, 33, 47, 0.16);
}

.upload-card {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 33, 47, 0.08);
}

.upload-card.is-cover {
  outline: 3px solid rgba(31, 111, 139, 0.35);
}

.upload-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.upload-card figcaption {
  padding: 14px;
}

.dashboard-summary {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.stat-card {
  padding: 18px;
  text-align: center;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-card strong {
  display: block;
  font-size: 1.6rem;
  margin-top: 6px;
}

.site-footer {
  margin-top: 40px;
  padding: 28px 0 46px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 33, 47, 0.1);
}

.site-footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.sticky-callbar {
  display: none;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 18, 29, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  width: min(92vw, 380px);
  transform: translateX(-102%);
  transition: transform 0.24s ease;
  background: #fff;
  box-shadow: 24px 0 60px rgba(10, 18, 29, 0.24);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.menu-drawer.is-open {
  transform: translateX(0);
}

.menu-drawer__header,
.menu-drawer__footer {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(16, 34, 54, 0.08);
}

.menu-drawer__footer {
  border-bottom: 0;
  border-top: 1px solid rgba(16, 34, 54, 0.08);
}

.menu-drawer__body {
  overflow: auto;
  padding: 18px 20px 24px;
}

.mobile-nav__section {
  margin-bottom: 14px;
}

.mobile-nav__toggle {
  width: 100%;
  justify-content: space-between;
  border: 1px solid rgba(16, 34, 54, 0.1);
  background: rgba(18, 53, 91, 0.04);
  padding: 14px 16px;
  border-radius: 18px;
}

.mobile-nav__panel {
  display: grid;
  gap: 8px;
  padding: 12px 0 0;
}

.mobile-nav__link,
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(18, 53, 91, 0.04);
  font-weight: 600;
}

.mobile-nav__link:hover,
.drawer-link:hover {
  background: rgba(244, 185, 66, 0.16);
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  padding: 10px 12px 12px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(16, 34, 54, 0.08);
  backdrop-filter: blur(18px);
}

.bottom-nav__list {
  justify-content: space-between;
}

.bottom-nav__item {
  flex: 1 1 0;
}

.bottom-nav__link {
  display: grid;
  place-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: 16px;
}

.bottom-nav__link.is-active {
  color: var(--brand);
  background: rgba(18, 53, 91, 0.06);
}

.bottom-nav__icon {
  font-size: 1.05rem;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1020px, calc(100vw - 32px));
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(16, 34, 54, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mega-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mega-menu__group {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(18, 53, 91, 0.03);
  border: 1px solid rgba(16, 34, 54, 0.06);
}

.mega-menu__group h4 {
  margin: 0;
}

.mega-menu__item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 34, 54, 0.08);
}

.mega-menu__item:hover {
  border-color: rgba(244, 185, 66, 0.5);
  box-shadow: var(--shadow-soft);
}

.mega-menu__item strong {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-menu__item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-header__menu-wrap {
  position: relative;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(16, 34, 54, 0.1);
  background: rgba(255, 255, 255, 0.84);
}

.site-header__mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.section-shell {
  padding: 18px 0 0;
}

.hero-banner {
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 18, 29, 0.2), rgba(10, 18, 29, 0.6)),
    radial-gradient(circle at top right, rgba(244, 185, 66, 0.26), transparent 24%),
    linear-gradient(135deg, #16385f, #0f2944 55%, #23496d);
}

.hero-banner__content {
  position: relative;
  z-index: 1;
  padding: 36px;
  color: #fff;
}

.hero-banner__content .section-kicker,
.hero-banner__content p,
.hero-banner__content h1,
.hero-banner__content h2 {
  color: #fff;
}

.hero-banner__content .section-kicker {
  opacity: 0.92;
}

.hero-banner__content p {
  max-width: 64ch;
}

.hero-banner__panel {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 28px;
  padding: 22px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}

.hero-banner__image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 53, 91, 0.2), rgba(244, 185, 66, 0.18));
}

.section-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.property-card__mobile-actions {
  display: none;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: #e9eef2;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: shimmer 1.35s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.empty-state__actions {
  margin-top: 16px;
}

.hero-search__helper,
.property-card__location,
.location-line,
.site-footer__copy {
  color: var(--muted);
}

.results-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.results-head__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18, 53, 91, 0.08);
  color: var(--brand);
  font-weight: 700;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title-row h2,
.section-title-row h1 {
  margin: 0;
}

.panel--flat {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

.sticky-callbar a {
  box-shadow: var(--shadow);
}

/* Keep listing imagery clean: labels belong in the card content, not over the photo. */
.property-card__overlay > .property-card__verified { display: none; }
.property-card__title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.property-card__title .property-card__verified { padding: 4px 7px; border-radius: 5px; background: #f4b942; color: #12355b; font-size: .62rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.property-card__image img { object-position: center; }
.results-header { display: none; }

/* Estate Hub homepage */
.estate-hero { position: relative; min-height: 500px; display: grid; align-items: center; overflow: hidden; color: #fff; }
.estate-hero__backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,31,57,.9) 0%, rgba(18,53,91,.72) 42%, rgba(18,53,91,.18) 75%), url("../images/estate-hub-hero.png") center/cover no-repeat; }
.estate-hero__content { position: relative; z-index: 1; padding: 58px 32px; }
.estate-hero .section-kicker { color: #f4b942; margin: 0 0 10px; font-size: .78rem; letter-spacing: .1em; }
.estate-hero h1 { margin: 0; max-width: 600px; color: #fff; font-size: clamp(2.7rem, 5vw, 4rem); line-height: 1.07; }
.estate-hero__copy { max-width: 480px; margin: 17px 0 24px; color: rgba(255,255,255,.9); font-size: 1.02rem; line-height: 1.6; }
.estate-search { display: grid; grid-template-columns: 1.65fr .86fr .72fr auto; gap: 9px; max-width: 970px; padding: 9px; background: rgba(255,255,255,.97); box-shadow: 0 16px 34px rgba(0,0,0,.24); border-radius: 9px; }
.estate-search input, .estate-search select { height: 48px; width: 100%; border: 1px solid #e5e9ee; border-radius: 6px; padding: 0 14px; color: #334155; background: #fff; font: inherit; }
.estate-search__button { border: 0; border-radius: 6px; background: #f4b942; color: #fff; padding: 0 18px; font-size: .82rem; white-space: nowrap; }
.estate-search--category { grid-template-columns: 1.15fr .8fr auto; max-width: 690px; }
.estate-search__button:hover, .estate-sell__button:hover { background: #dfa32d; }
.estate-popular { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; font-size: .72rem; }
.estate-popular a { padding: 5px 9px; color: #fff; background: rgba(3,20,37,.58); border: 1px solid rgba(255,255,255,.17); border-radius: 999px; }
.estate-section { margin-top: 52px; }
.estate-section__center { text-align: center; }
.estate-section h2, .estate-trust h2, .estate-sell h2 { margin: 0; color: #12355b; font-size: clamp(1.4rem, 2.1vw, 2rem); }
.estate-category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 20px; }
.estate-category-grid .category-card { min-height: 150px; display: grid; place-content: center; text-align: center; padding: 18px 12px; border-radius: 8px; box-shadow: 0 4px 13px rgba(12,40,70,.08); }
.estate-category-grid .category-card::before { content: "⌂"; display: grid; place-items: center; width: 35px; height: 35px; margin: 0 auto 9px; border: 1px solid #f4b942; border-radius: 50%; color: #12355b; font-size: 1.25rem; }
.estate-category-grid .category-card__eyebrow { display: none; }
.estate-category-grid .category-card h3 { color: #12355b; font-size: .9rem; }
.estate-category-grid .category-card p { margin: 0; font-size: .69rem; line-height: 1.45; }
.estate-text-link { color: #12355b; font-size: .78rem; font-weight: 800; }
.estate-text-link:hover { color: #c48a17; }
.estate-heading-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.estate-featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.estate-featured-grid .property-card { border-radius: 8px; box-shadow: 0 3px 12px rgba(12,40,70,.1); }
.estate-featured-grid .property-card:nth-child(n+5) { display: none; }
.estate-featured-grid .property-card__content { padding: 13px; }
.estate-featured-grid .property-card__title { font-size: .88rem; }
.estate-featured-grid .property-card__summary { margin: 10px 0; font-size: .74rem; }
.estate-featured-grid .property-card__footer--secondary { display: none; }
.estate-featured-grid .property-card__price { color: #e4a20b; font-size: 1rem; }
.estate-featured-grid .btn { min-height: 36px; padding: 8px 10px; font-size: .72rem; }
.estate-trust { margin-top: 56px; padding: 27px 0; background: #eef5fa; text-align: center; }
.estate-trust__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 17px; margin-top: 22px; }
.estate-trust article { display: flex; gap: 9px; text-align: left; align-items: flex-start; }
.estate-trust article > span { color: #12355b; font-size: 1.6rem; line-height: 1; }
.estate-trust h3 { margin: 0 0 3px; color: #12355b; font-size: .77rem; }
.estate-trust p { margin: 0; color: #526274; font-size: .64rem; line-height: 1.35; }
.estate-locations-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.estate-locations-grid .location-card { position: relative; min-height: 116px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 14px; border-radius: 8px; color: #fff; background: linear-gradient(145deg, #7398b2, #12355b); }
.estate-locations-grid .location-card:only-child { grid-column: span 2; min-height: 140px; }
.estate-locations-grid .location-card:nth-child(2n) { background: linear-gradient(145deg, #b3a58c, #12355b); }.estate-locations-grid .location-card:nth-child(3n) { background: linear-gradient(145deg, #6b92a7, #345c70); }
.estate-locations-grid .location-card:hover { transform: translateY(-3px) scale(1.015); }.estate-locations-grid .location-card strong { color: #fff; font-size: .88rem; }.estate-locations-grid .location-card span { color: #f7dc96; font-size: .66rem; }
.estate-sell { display: flex; justify-content: space-between; align-items: center; margin-top: 52px; padding: 28px 38px; overflow: hidden; border-radius: 8px; background: linear-gradient(115deg, #082c50, #12355b); color: #fff; }
.estate-sell h2 { color: #fff; }.estate-sell p { margin: 8px 0 18px; color: rgba(255,255,255,.84); font-size: .85rem; }.estate-sell__button { border: 0; background: #f4b942; color: #fff; }.estate-sell__home { color: rgba(244,185,66,.9); font-size: 6.5rem; line-height: 1; transform: rotate(-4deg); }
