:root {
  --ink: #101820;
  --muted: #63717a;
  --line: #e0e7e4;
  --bg: #f5f7f4;
  --paper: #ffffff;
  --sea: #0f6f78;
  --gold: #c59b57;
  --leaf: #486f5d;
  --deep: #0d2429;
  --danger: #b33a3a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(197, 155, 87, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbfcfa 0%, var(--bg) 35%, #eef4f1 100%);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.btn-primary {
  --bs-btn-bg: var(--sea);
  --bs-btn-border-color: var(--sea);
  --bs-btn-hover-bg: #0a6870;
  --bs-btn-hover-border-color: #0a6870;
  --bs-btn-active-bg: #084f55;
  --bs-btn-active-border-color: #084f55;
  box-shadow: 0 14px 30px rgba(15, 111, 120, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  object-fit: contain;
}

.brand-logo-header {
  width: clamp(178px, 20vw, 258px);
  height: 56px;
}

.brand-logo-footer {
  width: min(280px, 78vw);
  height: auto;
  margin-bottom: 12px;
  border-radius: 4px;
}

.nav { display: flex; gap: 18px; margin-left: auto; font-size: 15px; }
.nav a:hover, .text-link:hover { color: var(--sea); }
.header-tools { display: flex; gap: 8px; align-items: center; }

select, input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

textarea { resize: vertical; }

.language-form select, .currency-form select {
  width: auto;
  min-width: 92px;
  padding: 8px 10px;
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(8, 24, 29, 0.86), rgba(8, 24, 29, 0.46) 46%, rgba(8, 24, 29, 0.16)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(245, 247, 244, 0.96));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1, .page-hero h1 { font-size: clamp(38px, 7vw, 78px); line-height: 1.02; margin: 12px 0 18px; letter-spacing: 0; }
.lead { max-width: 720px; font-size: clamp(18px, 2vw, 23px); color: rgba(255,255,255,0.88); }

.hero-search {
  max-width: 1060px;
  margin: 30px 0 0;
  padding: 16px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.search-tabs span,
.search-tabs a,
.quick-links a {
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 800;
}

.search-tabs span.active {
  background: var(--deep);
  color: #fff;
}

.search-tabs a,
.quick-links a {
  background: #eef4f1;
  color: var(--ink);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-links a:hover {
  background: rgba(15,111,120,0.14);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

.hero .eyebrow { color: #f3c979; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.button.primary { background: var(--sea); color: #fff; }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button.ghost { border-color: var(--line); color: var(--muted); }
.button.wide { width: 100%; margin-top: 10px; }
.button:hover { transform: translateY(-1px); }

.hero-actions, .trust-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust-row { margin-top: 28px; color: rgba(255,255,255,0.8); font-size: 14px; }
.trust-row span { border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; padding: 7px 12px; }

.section, .band, .page-hero {
  padding: clamp(42px, 6vw, 88px) clamp(18px, 5vw, 72px);
}

.brand-strip {
  margin-top: -30px;
  position: relative;
  z-index: 2;
  padding: 0 clamp(18px, 5vw, 72px) 40px;
}

.brand-strip .container-fluid {
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 22px 60px rgba(13, 36, 41, 0.08);
}

.brand-strip p {
  margin: 4px 0 0;
  color: var(--muted);
}

.metric-card {
  height: 100%;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(13, 36, 41, 0.06);
}

.metric-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin: 5px 0 4px;
  color: var(--deep);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
}

.page-hero.compact { padding-bottom: 32px; }
.page-hero {
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.12), rgba(197, 155, 87, 0.1)),
    #fff;
  border-bottom: 1px solid var(--line);
}
.page-hero.center, .band.center { text-align: center; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 0; letter-spacing: 0; }
h3 { margin: 0 0 12px; font-size: 22px; }

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.property-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(13, 36, 41, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(13, 36, 41, 0.12);
}

.property-media { position: relative; aspect-ratio: 4 / 3; background: #d8e2e3; overflow: hidden; }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.property-card:hover .property-media img { transform: scale(1.035); }
.property-card-body { padding: 18px; }
.property-card h3 { min-height: 58px; line-height: 1.25; }
.price, .detail-price { font-size: 24px; font-weight: 900; color: var(--sea); }

.specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; color: var(--muted); font-size: 14px; }
.specs span { background: #eef3f2; border-radius: 999px; padding: 6px 10px; }
.specs.vertical { display: grid; grid-template-columns: 1fr; }

.favorite-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}
.favorite-button.active, [data-favorite-toggle].active { color: var(--danger); }

.verified-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(13, 36, 41, 0.82);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

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

.collection-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
  position: relative;
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,36,41,0.05), rgba(13,36,41,0.82));
}

.collection-card.ocean { background: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=80") center/cover; }
.collection-card.city { background: url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=900&q=80") center/cover; }
.collection-card.investment { background: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80") center/cover; }

.collection-card span,
.collection-card strong {
  position: relative;
  z-index: 1;
}

.collection-card span {
  color: #f3d399;
  font-weight: 900;
}

.collection-card strong {
  max-width: 340px;
  font-size: 24px;
  line-height: 1.15;
}

.catalog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rent-widget-panel {
  min-height: 520px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 18px 46px rgba(13, 36, 41, 0.07);
}

.catalog-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
}

.filters-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(13, 36, 41, 0.07);
}

.filters-heading,
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filters-heading {
  margin-bottom: 14px;
}

.filters-heading span {
  color: var(--muted);
  font-size: 13px;
}

.filters-help {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #eef4f1;
}

.filters-help p {
  margin: 5px 0 7px;
  color: var(--muted);
  font-size: 14px;
}

.filters-help a {
  color: var(--sea);
  font-weight: 900;
}

.results-bar {
  margin-bottom: 18px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.result-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.result-badges span {
  background: #eef4f1;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.band {
  background:
    linear-gradient(135deg, rgba(15,111,120,0.13), rgba(197,155,87,0.11)),
    #e8f2ef;
}
.benefit-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.cta-panel, .filters, .empty-state {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 18px 46px rgba(13, 36, 41, 0.07);
}

.cta-panel {
  border-top: 4px solid var(--gold);
}

.filters {
  margin-bottom: 24px;
}

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

.lead-form { display: grid; gap: 14px; text-align: left; }
.lead-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.consent { grid-template-columns: 18px 1fr; align-items: start; font-weight: 500 !important; color: var(--muted); }
.microcopy { margin: -4px 0 0; color: var(--muted); font-size: 14px; }

.check-list { padding-left: 20px; }
.check-list li { margin-bottom: 10px; }
.faq { display: grid; gap: 10px; max-width: 920px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.faq summary { cursor: pointer; font-weight: 800; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  padding: clamp(28px, 5vw, 72px);
}
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery img, .media-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #d9e4e5; }
.gallery img:first-child { grid-column: span 2; }
.detail-sidebar { position: sticky; top: 92px; align-self: start; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.detail-sidebar h1 { font-size: 34px; line-height: 1.1; margin: 0 0 14px; }
.rich-text { color: #2b383f; font-size: 17px; }

.messages { position: fixed; top: 76px; right: 18px; z-index: 30; display: grid; gap: 10px; max-width: 420px; }
.message { padding: 14px 16px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.message.success { border-color: var(--leaf); }
.message.error, .message.warning { border-color: var(--danger); }
.alert-error { --bs-alert-color: #842029; --bs-alert-bg: #f8d7da; --bs-alert-border-color: #f5c2c7; }

.pagination { display: flex; justify-content: center; gap: 18px; margin-top: 28px; }
.favorites-list { display: grid; gap: 12px; margin-bottom: 24px; }
.favorite-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.favorite-row img { width: 96px; height: 74px; object-fit: cover; border-radius: 6px; background: #d9e4e5; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--deep);
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: rgba(255,255,255,0.72);
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-contacts a {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; margin-left: 0; }
  .property-grid, .benefit-grid, .split, .detail-layout, .catalog-shell, .collection-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-sidebar { position: static; }
  .filters-panel { position: static; }
}

/* Mobile experience */
.mobile-bottom-nav {
  display: none;
}

.mobile-filter-shortcut {
  display: none;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 92px;
  }

  body {
    padding-bottom: 78px;
    background: #f7f4ef;
  }

  .site-header {
    padding: 10px 14px;
  }

  .navbar-brand {
    margin-right: 0;
  }

  .brand-logo-header {
    width: min(210px, 58vw);
    height: 46px;
  }

  .navbar-toggler {
    padding: 6px 8px;
    border-color: rgba(13,36,41,0.16);
  }

  .navbar-collapse {
    padding-top: 12px;
  }

  .navbar-nav {
    display: grid;
    gap: 4px;
    padding: 8px 0;
  }

  .navbar-nav .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid rgba(13,36,41,0.08);
  }

  .header-tools,
  .navbar-collapse .d-flex {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .navbar-collapse .btn-gold {
    grid-column: 1 / -1;
    min-height: 42px;
  }

  .header-contact-link {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
    padding: 42px 16px 34px;
    background:
      linear-gradient(180deg, rgba(12, 21, 25, 0.88), rgba(12, 21, 25, 0.74)),
      url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1100&q=78") center/cover;
  }

  .catalog-promo {
    grid-template-columns: 1fr;
  }

  .catalog-promo-card {
    min-height: 220px;
  }

  .hero h1,
  .catalog-top h1,
  .page-hero h1 {
    font-size: 36px;
    line-height: 1.06;
  }

  .lead {
    font-size: 17px;
  }

  .hero-search {
    margin-top: 22px;
    padding: 12px;
  }

  .search-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-tabs span,
  .search-tabs a,
  .quick-links a {
    text-align: center;
  }

  .quick-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .quick-links a {
    white-space: nowrap;
  }

  .trust-row {
    gap: 8px;
    margin-top: 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .trust-row span {
    white-space: nowrap;
    font-size: 12px;
  }

  .brand-strip {
    margin-top: 0;
    padding: 16px;
  }

  .brand-strip .container-fluid {
    padding: 18px;
  }

  .section,
  .band,
  .page-hero {
    padding: 32px 16px;
  }

  .catalog-top {
    padding: 32px 16px 18px;
  }

  .catalog-top-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 14px;
  }

  .catalog-top-card strong {
    font-size: 42px;
    margin: 0;
  }

  .catalog-top-card span,
  .catalog-top-card p {
    grid-column: 2;
  }

  .catalog-search-band {
    padding: 12px 16px 14px;
  }

  .catalog-hero-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 12px;
    padding-bottom: 4px;
  }

  .catalog-hero-actions .btn {
    white-space: nowrap;
  }

  .mobile-filter-shortcut {
    display: inline-flex;
  }

  .desktop-service-section,
  .market-dashboard,
  .desktop-catalog-strip {
    display: none;
  }

  .catalog-shell {
    gap: 18px;
  }

  .filters-panel {
    padding: 16px;
  }

  .filters {
    margin-bottom: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .filters-help {
    display: none;
  }

  .results-bar {
    display: grid;
    gap: 12px;
    padding: 14px;
  }

  .result-badges {
    justify-content: start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .result-badges span {
    white-space: nowrap;
  }

  .property-card {
    border-radius: 10px;
  }

  .property-media {
    aspect-ratio: 16 / 11;
  }

  .property-card-body {
    padding: 15px;
  }

  .property-card h3 {
    min-height: auto;
    font-size: 18px;
  }

  .price {
    font-size: 22px;
  }

  .specs {
    gap: 6px;
    margin: 12px 0;
  }

  .specs span {
    font-size: 12px;
    padding: 5px 8px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .collection-grid {
    gap: 12px;
  }

  .collection-card {
    min-height: 180px;
  }

  .benefit-grid {
    gap: 16px;
  }

  .cta-panel {
    padding: 18px;
  }

  .lead-form .row > label {
    width: 100%;
  }

  .detail-layout {
    padding: 18px 16px 32px;
    gap: 18px;
  }

  .detail-sidebar {
    padding: 18px;
  }

  .detail-sidebar h1 {
    font-size: 28px;
  }

  .gallery {
    gap: 8px;
  }

  .gallery img,
  .media-placeholder {
    border-radius: 8px;
  }

  .site-footer {
    padding: 26px 16px 90px;
  }

  .messages {
    left: 12px;
    right: 12px;
    top: 70px;
    max-width: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    background: rgba(17, 28, 32, 0.94);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(0,0,0,0.22);
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav a {
    display: grid;
    place-items: center;
    gap: 2px;
    min-height: 52px;
    color: rgba(255,255,255,0.78);
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-bottom-nav .mobile-nav-cta {
    color: #15130f;
    background: var(--gold);
    border-radius: 10px;
  }

  .mobile-nav-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    color: currentColor;
  }

  .mobile-nav-icon i {
    font-size: 15px;
    line-height: 1;
  }

  .mobile-nav-cta .mobile-nav-icon {
    background: rgba(0,0,0,0.12);
  }
}

/* Final buyer-facing polish: marketplace layout inspired by Thai property portals */
:root {
  --ink: #17191c;
  --muted: #6d747b;
  --line: #e7e9ed;
  --bg: #f7f8fa;
  --paper: #ffffff;
  --sea: #12666f;
  --gold: #c79a43;
  --deep: #101820;
  --soft: #eef7f6;
}

body {
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

.site-header {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(16, 24, 32, 0.06);
}

.brand-logo-header {
  width: clamp(176px, 18vw, 236px);
  height: 50px;
}

.brand-logo-footer {
  width: min(250px, 76vw);
  border-radius: 0;
}

.navbar-nav .nav-link {
  font-weight: 750;
  color: #252b31;
}

.navbar-nav .nav-link:hover {
  color: var(--sea);
}

.hero {
  min-height: 76vh;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.88), rgba(16, 24, 32, 0.58) 50%, rgba(16, 24, 32, 0.24)),
    url("https://images.unsplash.com/photo-1559599746-8823b38544c6?auto=format&fit=crop&w=1900&q=82") center/cover;
}

.hero h1,
.catalog-top h1,
.about-hero h1 {
  max-width: 980px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.hero-search {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.hero-search .form-control,
.hero-search .form-select,
.catalog-search-band .form-control,
.catalog-search-band .form-select {
  border-radius: 7px;
  border-color: #dfe4e8;
  background-color: #fff;
}

.trust-row span,
.search-tabs span,
.search-tabs a,
.quick-links a,
.result-badges span,
.specs span {
  border-radius: 6px;
}

.brand-strip .container-fluid,
.desktop-catalog-strip,
.filters-panel,
.results-bar,
.property-card,
.cta-panel,
.metric-card,
.about-principles,
.contact-grid,
.rent-widget-panel,
.catalog-promo,
.property-map-card {
  border-radius: 10px;
  border-color: var(--line);
  box-shadow: 0 10px 26px rgba(16, 24, 32, 0.06);
}

.desktop-catalog-strip {
  grid-template-columns: 1.1fr 1fr 1fr;
}

.desktop-catalog-strip div {
  min-height: 132px;
}

.desktop-catalog-strip span,
.verified-badge,
.eyebrow {
  letter-spacing: 0.02em;
}

.catalog-top {
  background:
    linear-gradient(180deg, #fff, #fbfcfd);
}

.catalog-search-band {
  top: 69px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.06);
}

.catalog-shell {
  grid-template-columns: 306px minmax(0, 1fr);
  align-items: start;
}

.filters-panel {
  top: 158px;
  padding: 20px;
}

.filters-help {
  background: var(--soft);
}

.property-card {
  border: 1px solid #e3e7eb;
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.06);
}

.property-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.13);
}

.property-media {
  aspect-ratio: 4 / 3;
  background: #e7ecef;
}

.verified-badge {
  background: rgba(18, 102, 111, 0.92);
}

.favorite-button {
  box-shadow: 0 8px 20px rgba(16, 24, 32, 0.13);
}

.property-card-body {
  padding: 16px;
}

.property-card h3 {
  min-height: 52px;
  font-size: 18px;
}

.price,
.detail-price {
  color: #bc8730;
}

.card-actions .btn {
  min-height: 40px;
  font-weight: 800;
}

.btn-primary {
  --bs-btn-bg: #12666f;
  --bs-btn-border-color: #12666f;
  --bs-btn-hover-bg: #0d5861;
  --bs-btn-hover-border-color: #0d5861;
}

.btn-outline-primary {
  --bs-btn-color: #12666f;
  --bs-btn-border-color: #12666f;
  --bs-btn-hover-bg: #12666f;
  --bs-btn-hover-border-color: #12666f;
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  gap: 24px;
  background: #fff;
}

.gallery {
  gap: 8px;
}

.gallery img,
.media-placeholder {
  border-radius: 10px;
}

.detail-sidebar {
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.09);
}

.rich-text {
  max-width: 920px;
  color: #2e3a42;
}

.property-map-card {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 430px;
  overflow: hidden;
  background: #fff;
}

.detail-map-card {
  grid-column: 1 / -1;
  min-height: 360px;
}

.property-map-copy {
  padding: clamp(22px, 4vw, 36px);
}

.property-map-copy p {
  color: var(--muted);
}

.property-map {
  display: block;
  height: 430px;
  min-height: 430px;
  width: 100%;
  border: 0;
  background: #e4eceb;
}

.leaflet-container {
  font-family: inherit;
}

.site-footer {
  background: #101820;
}

.about-logo-panel {
  background:
    linear-gradient(135deg, rgba(18, 102, 111, 0.12), rgba(199, 154, 67, 0.12)),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 52px rgba(16, 24, 32, 0.11);
}

.about-logo-panel img {
  border-radius: 0;
}

@media (max-width: 980px) {
  .hero {
    display: block;
    min-height: auto;
    padding: 42px 16px 30px;
    background:
      linear-gradient(180deg, rgba(16, 24, 32, 0.86), rgba(16, 24, 32, 0.68)),
      url("https://images.unsplash.com/photo-1559599746-8823b38544c6?auto=format&fit=crop&w=1100&q=80") center/cover;
  }

  .hero-content {
    max-width: 100%;
    min-width: 0;
  }

  .hero h1,
  .catalog-top h1,
  .about-hero h1,
  .page-hero h1 {
    font-size: clamp(30px, 4vw, 38px);
    overflow-wrap: break-word;
  }

  .hero-search {
    width: 100%;
    max-width: 100%;
  }

  .catalog-shell,
  .detail-layout,
  .property-map-card {
    grid-template-columns: 1fr;
  }

  .filters-panel,
  .detail-sidebar {
    position: static;
  }

  .property-map {
    height: 320px;
    min-height: 320px;
  }

  .catalog-search-band {
    position: static;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 8px 14px;
  }

  .brand-logo-header {
    width: min(190px, 56vw);
    height: 43px;
  }

  .hero h1,
  .catalog-top h1,
  .about-hero h1,
  .page-hero h1 {
    font-size: 30px;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-search {
    padding: 10px;
  }

  .brand-strip {
    padding: 12px 16px 20px;
  }

  .catalog-top {
    padding: 30px 16px 16px;
  }

  .section,
  .band,
  .page-hero {
    padding: 30px 16px;
  }

  .property-card {
    border-radius: 10px;
  }

  .property-card h3 {
    min-height: auto;
  }

  .detail-layout {
    padding: 14px 12px 28px;
  }

  .detail-sidebar {
    order: -1;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img:first-child {
    grid-column: auto;
  }

  .property-map-card {
    min-height: 0;
  }

  .property-map {
    height: 280px;
    min-height: 280px;
  }

  .mobile-bottom-nav {
    border-radius: 12px;
  }
}

@media (max-width: 620px) {
  .hero { min-height: 72vh; }
  .section-heading, .site-footer, .favorite-row { grid-template-columns: 1fr; display: grid; align-items: start; }
  .form-grid, .filters, .gallery { grid-template-columns: 1fr; }
  .gallery img:first-child { grid-column: auto; }
  .nav { gap: 12px; font-size: 14px; }
  .header-tools { width: 100%; }
  .language-form, .currency-form { flex: 1; }
  .language-form select, .currency-form select { width: 100%; }
}

/* Design refresh: calmer luxury marketplace system */
:root {
  --ink: #121417;
  --muted: #677179;
  --line: #e4e7e3;
  --bg: #f6f3ee;
  --paper: #ffffff;
  --sea: #0c5d66;
  --gold: #caa15a;
  --deep: #111c20;
}

body {
  background: var(--bg);
}

.btn-gold {
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-color: #15130f;
  --bs-btn-hover-bg: #d4ad6a;
  --bs-btn-hover-border-color: #d4ad6a;
  font-weight: 800;
}

.site-header {
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid rgba(13,36,41,0.1);
  backdrop-filter: blur(18px);
}

.nav a:hover,
.text-link:hover {
  color: var(--gold);
}

.language-form select,
.currency-form select {
  background-color: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.language-form option,
.currency-form option {
  color: var(--ink);
}

.hero {
  min-height: 82vh;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(70px, 8vw, 118px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(12, 21, 25, 0.92), rgba(12, 21, 25, 0.66) 52%, rgba(12, 21, 25, 0.34)),
    url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1900&q=82") center/cover;
}

.hero::after {
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-content {
  max-width: 1050px;
}

.hero h1,
.page-hero h1,
.catalog-top h1 {
  font-size: clamp(40px, 6vw, 78px);
}

.hero-side {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(18px);
}

.hero-side span {
  color: #f3d399;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

.hero-side strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  margin: 10px 0;
}

.hero-side p {
  margin: 0;
  color: rgba(255,255,255,0.76);
}

.hero-side-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.hero-side-list div {
  display: grid;
  gap: 2px;
}

.hero-side-list b {
  color: #fff;
  font-size: 15px;
}

.hero-side-list small {
  color: rgba(255,255,255,0.64);
  font-size: 13px;
}

.surface-section {
  background: #fff;
}

.company-catalog-section {
  background: #fff;
}

.catalog-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(238,244,241,0.92)),
    radial-gradient(circle at top right, rgba(197,155,87,0.18), transparent 22rem);
  box-shadow: 0 24px 64px rgba(13,36,41,0.08);
}

.catalog-promo-copy {
  display: grid;
  align-content: center;
}

.catalog-promo-copy h2 {
  max-width: 860px;
  margin-bottom: 12px;
}

.catalog-promo-copy p {
  max-width: 820px;
  color: var(--muted);
}

.catalog-promo-card {
  display: grid;
  align-content: end;
  min-height: 290px;
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.2), rgba(5,5,5,0.82)),
    url("/static/img/brand/golden-sands-logo-horizontal-dark.jpg") center 36% / 92% auto no-repeat,
    #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.catalog-promo-card span {
  color: #f3d399;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-promo-card strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  line-height: 1.05;
}

.catalog-promo-card small {
  margin-top: 6px;
  color: rgba(255,255,255,0.72);
  font-weight: 700;
}

.desktop-service-section {
  padding: 34px clamp(18px, 5vw, 72px) clamp(42px, 5vw, 70px);
  background: #fff;
}

.desktop-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.desktop-service-grid article {
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.desktop-service-grid article:last-child {
  border-right: 0;
}

.desktop-service-grid span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold);
  font-weight: 900;
}

.desktop-service-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.desktop-service-grid p {
  margin: 0;
  color: var(--muted);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(255,255,255,0.96), rgba(238,244,241,0.9)),
    radial-gradient(circle at top right, rgba(15,111,120,0.13), transparent 30rem);
}

.about-hero h1 {
  max-width: 920px;
  margin: 12px 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
}

.about-hero-copy p:not(.eyebrow) {
  max-width: 780px;
  color: #33464d;
  font-size: clamp(18px, 2vw, 22px);
}

.about-logo-panel {
  padding: 18px;
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 30px 70px rgba(13,36,41,0.18);
}

.about-logo-panel img {
  width: 100%;
  border-radius: 6px;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.about-principles article {
  min-height: 260px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.about-principles article:last-child {
  border-right: 0;
}

.about-principles span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
}

.about-principles h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.about-principles p,
.about-story p {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.contact-grid article {
  min-height: 220px;
  padding: 24px;
  background: #fff;
}

.contact-grid span {
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}

.contact-grid p {
  margin: 0;
  color: var(--muted);
}

.market-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 28px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(42px, 5vw, 76px);
}

.market-dashboard-main {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
}

.market-dashboard-main p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.72);
  font-size: 17px;
}

.market-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.market-dashboard-grid div {
  display: grid;
  align-content: center;
  min-height: 145px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-dashboard-grid div:nth-child(2n) {
  border-right: 0;
}

.market-dashboard-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.market-dashboard-grid strong {
  font-size: 20px;
}

.market-dashboard-grid span {
  margin-top: 6px;
  color: var(--muted);
}

.brand-strip .container-fluid,
.metric-card,
.results-bar,
.filters-panel,
.property-card,
.cta-panel,
.rent-widget-panel {
  box-shadow: 0 12px 32px rgba(13, 36, 41, 0.06);
}

.brand-strip-item {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.catalog-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: end;
  padding: clamp(48px, 6vw, 82px) clamp(18px, 5vw, 72px) 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.catalog-top p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.catalog-top-card {
  padding: 22px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
}

.catalog-top-card span {
  color: #f3d399;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

.catalog-top-card strong {
  display: block;
  font-size: 54px;
  line-height: 1;
  margin: 8px 0;
}

.catalog-top-card p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.catalog-search-band {
  position: sticky;
  top: 73px;
  z-index: 15;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(246, 243, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.catalog-shell {
  grid-template-columns: 292px minmax(0, 1fr);
}

.desktop-catalog-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.desktop-catalog-strip div {
  padding: 20px;
  background: #fff;
}

.desktop-catalog-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.desktop-catalog-strip strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.desktop-catalog-strip p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.filters-panel {
  top: 170px;
}

.property-card {
  box-shadow: 0 10px 30px rgba(13, 36, 41, 0.055);
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(13, 36, 41, 0.1);
}

.property-card h3 {
  font-weight: 850;
}

.band {
  background:
    linear-gradient(135deg, rgba(12,93,102,0.10), rgba(202,161,90,0.12)),
    #f3eee5;
}

@media (max-width: 980px) {
  .hero,
  .catalog-top,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .hero-side {
    display: none;
  }

  .catalog-search-band {
    position: static;
  }

  .brand-strip-item {
    border-left: 0;
    padding-left: 0;
  }

  .desktop-service-grid,
  .market-dashboard,
  .desktop-catalog-strip,
  .about-principles,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .desktop-service-grid article,
  .about-principles article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .desktop-service-grid article:last-child,
  .about-principles article:last-child {
    border-bottom: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Last-mile overrides after earlier theme layers */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero h1,
.catalog-top h1,
.about-hero h1,
.page-hero h1 {
  overflow-wrap: break-word;
}

.brand-logo-header,
.brand-logo-footer,
.about-logo-panel img {
  border-radius: 0;
}

.property-map-card {
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(16, 24, 32, 0.06);
}

@media (max-width: 1100px) {
  .hero {
    display: block;
    min-height: auto;
    padding: 42px 16px 30px;
  }

  .hero-content,
  .hero-search {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  .hero-side {
    display: none;
  }

  .hero h1,
  .catalog-top h1,
  .about-hero h1,
  .page-hero h1 {
    font-size: clamp(28px, 3.6vw, 38px);
    line-height: 1.08;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .catalog-shell,
  .property-map-card {
    grid-template-columns: 1fr;
  }

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

  .filters-panel,
  .detail-sidebar,
  .catalog-search-band {
    position: static;
  }

  .property-map {
    height: 320px;
    min-height: 320px;
  }

  .detail-sidebar {
    order: 0;
  }

  .detail-map-card {
    order: 1;
  }

  .gallery {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero h1,
  .catalog-top h1,
  .about-hero h1,
  .page-hero h1 {
    font-size: 29px;
  }

  .detail-sidebar { order: 0; }
  .detail-map-card { order: 1; }
  .gallery { order: 2; }
}

/* GSR Estate platform refresh */
:root {
  --ink: #1F2933;
  --muted: #65727f;
  --line: #dfe7ea;
  --bg: #F6F8FA;
  --paper: #FFFFFF;
  --sea: #15B3B8;
  --sea-dark: #0F7F83;
  --gold: #C9A45C;
  --deep: #123438;
  --shadow-soft: 0 18px 50px rgba(31, 41, 51, 0.08);
  --shadow-card: 0 14px 34px rgba(31, 41, 51, 0.1);
}

body {
  font-family: Inter, "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3,
.navbar-brand,
.price,
.detail-price {
  font-family: Manrope, Inter, "Noto Sans Thai", sans-serif;
  letter-spacing: 0;
}

.btn {
  border-radius: 12px;
  font-weight: 800;
}

.btn-primary {
  --bs-btn-bg: var(--sea);
  --bs-btn-border-color: var(--sea);
  --bs-btn-hover-bg: var(--sea-dark);
  --bs-btn-hover-border-color: var(--sea-dark);
  --bs-btn-active-bg: var(--sea-dark);
  --bs-btn-active-border-color: var(--sea-dark);
  box-shadow: 0 14px 30px rgba(21, 179, 184, 0.2);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #182024;
  box-shadow: 0 12px 28px rgba(201, 164, 92, 0.22);
}

.btn-gold:hover {
  background: #b89145;
  border-color: #b89145;
  color: #111;
}

.site-header {
  min-height: 74px;
  padding: 10px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
}

.brand-logo-header {
  width: clamp(170px, 17vw, 238px);
  height: 52px;
}

.navbar-nav {
  gap: 2px;
  align-items: center;
}

.navbar-nav .nav-link {
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 800;
  color: #26333d;
}

.navbar-nav .nav-link:hover {
  background: rgba(21, 179, 184, 0.09);
  color: var(--sea-dark);
}

.site-header .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
}

.site-header .dropdown-item {
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 800;
}

.site-header .dropdown-item:hover {
  background: rgba(21, 179, 184, 0.09);
  color: var(--sea-dark);
}

.shortlist-link .badge {
  background: rgba(21, 179, 184, 0.12) !important;
  color: var(--sea-dark) !important;
}

.header-contact-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.gsr-hero {
  min-height: 78vh;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
  background:
    linear-gradient(90deg, rgba(12, 38, 44, 0.88), rgba(12, 38, 44, 0.58) 45%, rgba(12, 38, 44, 0.22)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1900&q=82") center/cover;
}

.gsr-hero h1 {
  max-width: 980px;
  font-size: clamp(40px, 6.2vw, 82px);
}

.gsr-hero .lead {
  max-width: 860px;
}

.platform-search {
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.platform-search .form-select,
.platform-search .form-control,
.catalog-search-band .form-select,
.catalog-search-band .form-control {
  border-radius: 12px;
}

.hero-market-card {
  min-height: 410px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-market-card strong {
  font-size: 76px;
  line-height: 0.95;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 860px;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.06;
}

.section-copy {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.quick-category-grid,
.district-grid,
.process-grid,
.testimonial-grid,
.guide-grid,
.investment-cards,
.cta-mini-grid {
  display: grid;
  gap: 16px;
}

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

.quick-category-grid a,
.process-grid article,
.testimonial-grid article,
.guide-grid article,
.investment-cards article,
.metric-card,
.filters-panel,
.detail-table-card,
.investment-detail-card,
.complex-card,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.quick-category-grid a {
  min-height: 170px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quick-category-grid .ui-icon,
.investment-cards .ui-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #eefafb;
  color: var(--sea-dark);
  border: 1px solid rgba(15, 127, 131, 0.12);
  box-shadow: inset 0 -10px 20px rgba(21, 179, 184, 0.08);
}

.quick-category-grid .ui-icon i,
.investment-cards .ui-icon i {
  font-size: 23px;
  line-height: 1;
}

.quick-category-grid strong,
.process-grid strong,
.investment-cards strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.quick-category-grid span,
.investment-cards span,
.guide-grid p,
.testimonial-grid p,
.process-grid p {
  color: var(--muted);
}

.district-grid {
  grid-template-columns: repeat(7, minmax(210px, 1fr));
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}

.district-card {
  min-height: 360px;
  padding: 22px;
  border-radius: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  background:
    linear-gradient(180deg, rgba(15, 38, 43, 0.3), rgba(15, 38, 43, 0.86)),
    url("https://images.unsplash.com/photo-1525625293386-3f8f99389edd?auto=format&fit=crop&w=900&q=78") center/cover;
  box-shadow: var(--shadow-card);
}

.district-card-2,
.district-card-5 {
  background:
    linear-gradient(180deg, rgba(15, 38, 43, 0.28), rgba(15, 38, 43, 0.86)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=900&q=78") center/cover;
}

.district-card-3,
.district-card-6 {
  background:
    linear-gradient(180deg, rgba(15, 38, 43, 0.28), rgba(15, 38, 43, 0.86)),
    url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=900&q=78") center/cover;
}

.district-card h3 {
  font-size: 30px;
}

.district-card p,
.district-card span {
  color: rgba(255, 255, 255, 0.86);
}

.district-meta {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  font-size: 13px;
}

.listing-tabs,
.filter-chip-list,
.catalog-hero-actions,
.catalog-cta-actions,
.detail-utility-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-tabs {
  margin: -10px 0 24px;
}

.listing-tabs a,
.filter-chip-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.new-dev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.new-dev-card {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

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

.new-dev-card > div {
  padding: 22px;
}

.new-dev-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.new-dev-placeholder {
  grid-column: 1 / -1;
}

.why-section {
  background: linear-gradient(135deg, rgba(21, 179, 184, 0.12), rgba(201, 164, 92, 0.14)), #fff;
}

.process-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.process-grid article {
  min-height: 210px;
  padding: 20px;
}

.process-grid span,
.guide-grid span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.investment-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #123438, #0F7F83);
  box-shadow: var(--shadow-card);
}

.investment-panel p {
  color: rgba(255, 255, 255, 0.78);
}

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

.investment-cards article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.cta-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.cta-mini-grid span {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}

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

.testimonial-grid article,
.guide-grid article {
  padding: 22px;
}

.catalog-top {
  padding-top: clamp(42px, 6vw, 76px);
  background: #fff;
}

.catalog-top h1 {
  font-size: clamp(38px, 6vw, 70px);
}

.catalog-search-band {
  top: 74px;
  background: rgba(246, 248, 250, 0.94);
}

.catalog-shell {
  display: grid;
  grid-template-columns: 306px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filters-panel {
  padding: 20px;
  position: sticky;
  top: 164px;
}

.filters-heading {
  margin-bottom: 18px;
}

.mobile-filter-close {
  display: none;
}

.filters-heading strong {
  display: block;
  font-size: 22px;
}

.filters-heading span,
.small-filter-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.platform-results-bar {
  gap: 16px;
}

.catalog-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
}

.catalog-toolbar select {
  min-width: 220px;
}

.view-switcher {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.view-switcher button {
  width: 38px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
}

.view-switcher button.active {
  background: rgba(21, 179, 184, 0.12);
  color: var(--sea-dark);
}

.property-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-media img {
  transform: scale(1.04);
}

.favorite-button {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.property-badges {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.property-badges span {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(18, 52, 56, 0.86);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.property-card-body {
  gap: 10px;
  min-width: 0;
}

.property-card .price {
  color: var(--sea-dark);
  font-size: 23px;
  font-weight: 900;
}

.property-card-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  min-height: 60px;
  margin: 0 0 8px;
}

.specs {
  gap: 8px;
}

.specs span {
  border-radius: 999px;
  background: #f3f7f8;
  padding: 7px 10px;
  color: #42515d;
  font-weight: 800;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.card-actions .btn-primary {
  grid-column: 1 / -1;
}

.property-card .card-actions .btn {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 9px 8px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.15;
  font-size: 13px;
}

.catalog-list-mode > .col-12 .property-card,
.catalog-list-mode .property-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
}

.catalog-list-mode .property-media {
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: 100%;
  max-height: 260px;
}

.catalog-list-mode .property-media img,
.catalog-map-layout .property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-map-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1fr);
  gap: 22px;
}

.catalog-map-card {
  position: sticky;
  top: 164px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.catalog-map-card .property-map {
  height: 560px;
}

.catalog-map-card p {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
}

.property-detail-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.48fr);
  gap: 22px;
  padding-top: clamp(28px, 4vw, 52px);
}

.property-gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 10px;
  position: relative;
}

.property-gallery img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 18px;
}

.property-gallery img:first-child {
  grid-row: 1 / span 2;
}

.gallery-more {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  font-weight: 900;
}

.detail-sidebar {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: #fff;
  position: sticky;
  top: 96px;
}

.detail-price {
  margin: 12px 0 4px;
  color: var(--sea-dark);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
}

.detail-ref {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-specs {
  margin-top: 18px;
}

.detail-specs span {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
}

.spec-icon {
  min-width: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(21, 179, 184, 0.12);
  color: var(--sea-dark);
  font-size: 10px;
  font-weight: 900;
}

.detail-actions {
  display: grid;
  margin-top: 18px;
}

.detail-utility-actions {
  margin-top: 12px;
}

.detail-map-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
}

.property-map-copy {
  padding: 10px;
}

.property-map {
  border: 0;
  border-radius: 18px;
  min-height: 420px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 22px;
}

.detail-table-card,
.investment-detail-card,
.complex-card {
  padding: 24px;
}

.feature-table {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.feature-table div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.feature-table dt {
  color: var(--muted);
  font-weight: 800;
}

.feature-table dd {
  margin: 0;
  font-weight: 800;
}

.investment-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.investment-metrics article {
  padding: 14px;
  border-radius: 16px;
  background: #f4fafb;
}

.investment-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.investment-metrics strong {
  display: block;
  margin-top: 6px;
}

.complex-card {
  height: 100%;
}

.complex-card.dark {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

.complex-card.dark p {
  color: rgba(255, 255, 255, 0.74);
}

.location-distance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.location-distance-grid span {
  border-radius: 14px;
  background: #f4fafb;
  padding: 12px;
  font-weight: 800;
}

.property-sticky-cta {
  display: none;
}

.band.center .lead-form {
  max-width: 820px;
  margin: 20px auto 0;
}

.mobile-nav-icon { display: grid; place-items: center; line-height: 1; }

.mobile-nav-icon i { font-size: 17px; line-height: 1; }

@media (max-width: 1280px) {
  .quick-category-grid,
  .testimonial-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .new-dev-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .gsr-hero {
    display: block;
  }

  .catalog-shell,
  .catalog-map-layout,
  .detail-info-grid,
  .investment-panel,
  .detail-map-card,
  .property-detail-hero {
    grid-template-columns: 1fr;
  }

  .filters-panel,
  .detail-sidebar,
  .catalog-map-card {
    position: static;
  }

  .platform-results-bar,
  .catalog-toolbar,
  .section-heading {
    align-items: stretch;
  }

  .platform-results-bar,
  .catalog-toolbar {
    flex-direction: column;
  }

  .catalog-toolbar select {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 8px 14px;
  }

  .brand-logo-header {
    width: 164px;
    height: 46px;
  }

  .gsr-hero {
    padding: 36px 14px 28px;
    min-height: auto;
  }

  .gsr-hero h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .gsr-hero .lead {
    font-size: 17px;
  }

  .platform-search {
    border-radius: 18px;
    padding: 14px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section,
  .band,
  .page-hero,
  .catalog-top {
    padding-left: 14px;
    padding-right: 14px;
  }

  .quick-category-grid,
  .testimonial-grid,
  .guide-grid,
  .process-grid,
  .investment-cards,
  .cta-mini-grid,
  .investment-metrics,
  .location-distance-grid {
    grid-template-columns: 1fr;
  }

  .quick-category-grid a {
    min-height: 142px;
  }

  .catalog-search-band {
    padding: 12px 14px;
  }

  .filters-panel {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    max-height: 82vh;
    overflow: auto;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 44px rgba(31, 41, 51, 0.22);
  }

  .filters-panel:target {
    display: block;
  }

  .mobile-filter-close {
    display: inline-flex;
    margin-top: 6px;
    color: var(--sea-dark);
    font-weight: 900;
  }

  .results-bar {
    gap: 14px;
  }

  .catalog-list-mode > .col-12 .property-card,
  .catalog-list-mode .property-card {
    display: block;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .property-gallery {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
  }

  .property-gallery img,
  .property-gallery .media-placeholder {
    min-width: 88%;
    height: 300px;
    scroll-snap-align: start;
  }

  .detail-sidebar {
    padding: 20px;
  }

  .detail-map-card {
    padding: 14px;
  }

  .property-map {
    min-height: 320px;
  }

  .feature-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .property-sticky-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 76px;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 40px rgba(31, 41, 51, 0.16);
    backdrop-filter: blur(14px);
  }

  .property-sticky-cta a {
    min-height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    background: #f3f7f8;
    font-size: 13px;
    font-weight: 900;
  }

  .property-sticky-cta .primary {
    background: var(--sea);
    color: #fff;
  }

  .mobile-bottom-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body:has(.property-detail-hero) .mobile-bottom-nav {
    display: none;
  }

  body:has(.property-detail-hero) .property-sticky-cta {
    bottom: 10px;
  }
}

@media (max-width: 1100px) {
  .catalog-shell .filters-panel {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    max-height: 82vh;
    overflow: auto;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 44px rgba(31, 41, 51, 0.22);
  }

  .catalog-shell .filters-panel:target {
    display: block;
  }

  .mobile-filter-close {
    display: inline-flex;
    margin-top: 6px;
    color: var(--sea-dark);
    font-weight: 900;
  }

  .property-detail-hero .property-gallery {
    order: 0;
  }

  .property-detail-hero .detail-sidebar {
    order: 1;
  }

  .property-detail-hero .detail-map-card {
    order: 2;
  }
}

@media (min-width: 1101px) {
  .catalog-map-layout .catalog-list-mode .property-card,
  .catalog-list-mode > .col-12 .property-card,
  .catalog-list-mode .property-card {
    align-items: stretch;
  }

  .catalog-map-layout .catalog-list-mode .property-media,
  .catalog-list-mode > .col-12 .property-media,
  .catalog-list-mode .property-media {
    height: 240px;
    min-height: 0;
    max-height: 240px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  main {
    overflow-x: hidden;
  }

  .mobile-bottom-nav {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 4px;
    min-height: 66px;
    padding: 7px;
    border-radius: 18px;
  }

  .mobile-bottom-nav a {
    min-width: 0;
    min-height: 50px;
    display: grid;
    grid-template-rows: 24px auto;
    justify-items: center;
    align-content: center;
    gap: 4px;
    padding: 4px 2px;
    border-radius: 12px;
    line-height: 1.05;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    font-size: 10px;
  }

  .mobile-nav-icon {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    line-height: 1;
  }

  .mobile-nav-icon i {
    display: block;
    font-size: 14px;
    line-height: 1;
  }

  .mobile-bottom-nav .mobile-nav-cta {
    border-radius: 12px;
  }

  .catalog-top {
    display: block;
    padding: 24px 14px 14px;
  }

  .catalog-top h1 {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  .catalog-top p {
    max-width: 100%;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.45;
  }

  .catalog-top-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: center;
    margin-top: 16px;
    padding: 16px;
  }

  .catalog-top-card span {
    grid-column: 1;
    grid-row: 1;
  }

  .catalog-top-card strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    font-size: 40px;
  }

  .catalog-top-card p {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
  }

  .catalog-search-band {
    position: static;
  }

  .platform-results-bar {
    display: block;
  }

  .platform-results-bar h2 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.2;
  }

  .catalog-toolbar {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .catalog-toolbar .btn-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-toolbar .btn-group .btn {
    min-width: 0;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .mobile-bottom-nav {
    left: 8px;
    right: 8px;
    padding: 6px;
  }

  .mobile-bottom-nav a {
    font-size: 9.5px;
  }

  .catalog-top h1 {
    font-size: 26px;
  }

  .catalog-top-card strong {
    font-size: 36px;
  }
}

.catalog-search-field {
  position: relative;
}

.catalog-suggestions {
  position: absolute;
  left: calc(var(--bs-gutter-x) * 0.5);
  right: calc(var(--bs-gutter-x) * 0.5);
  top: calc(100% + 8px);
  z-index: 50;
  display: none;
  max-height: 360px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 38, 43, 0.18);
}

.catalog-suggestions.is-open {
  display: grid;
  gap: 6px;
}

.catalog-suggestion {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.catalog-suggestion:hover,
.catalog-suggestion:focus,
.catalog-suggestion.is-active {
  outline: none;
  background: #f3f7f8;
}

.catalog-suggestion-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(21, 179, 184, 0.12);
  color: var(--sea-dark);
  font-size: 15px;
}

.catalog-suggestion strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-suggestion span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .catalog-suggestions {
    left: 0;
    right: 0;
    max-height: 300px;
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  .company-catalog-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .catalog-promo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    overflow: hidden;
  }

  .catalog-promo-copy {
    display: block;
    min-width: 0;
  }

  .catalog-promo-copy h2 {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1.12;
  }

  .catalog-promo-copy p {
    font-size: 15px;
    line-height: 1.48;
  }

  .catalog-promo-copy .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .catalog-promo-copy .btn {
    width: 100%;
    white-space: normal;
  }

  .catalog-promo-card {
    min-height: 190px;
    padding: 18px;
    align-content: end;
    background:
      linear-gradient(180deg, rgba(5,5,5,0.1), rgba(5,5,5,0.86)),
      url("/static/img/brand/golden-sands-logo-horizontal-dark.jpg") center 28% / 88% auto no-repeat,
      #050505;
  }

  .catalog-promo-card strong {
    max-width: 220px;
    font-size: 24px;
    line-height: 1.08;
  }
}

@media (max-width: 420px) {
  .catalog-promo {
    padding: 16px;
    border-radius: 16px;
  }

  .catalog-promo-copy h2 {
    font-size: 23px;
  }

  .catalog-promo-card {
    min-height: 170px;
    background-size: 92% auto;
  }
}

/* Premium homepage refresh: GSR Estate concierge positioning */
:root {
  --premium-ink: #10201f;
  --premium-deep: #062826;
  --premium-primary: #0f766e;
  --premium-accent: #0369a1;
  --premium-gold: #d6a84b;
  --premium-paper: #fffdf8;
  --premium-mist: #e4f3ef;
  --premium-card-shadow: 0 18px 50px rgba(6, 40, 38, 0.12);
  --premium-shadow: 0 28px 90px rgba(6, 40, 38, 0.16);
}

body {
  color: var(--premium-ink);
  background: linear-gradient(180deg, #f8fbf7 0%, #eef7f3 48%, #f8fbf7 100%);
}

.site-header {
  min-height: 82px;
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(16, 32, 31, 0.08);
  backdrop-filter: blur(22px) saturate(1.25);
}

.brand-logo-header {
  max-width: 188px;
}

.btn-primary,
.btn-gold,
.mobile-nav-cta,
.hero-search .btn-primary {
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, var(--premium-primary), #075985);
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover,
.btn-gold:hover,
.mobile-nav-cta:hover {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.34);
}

.gsr-hero {
  position: relative;
  min-height: calc(100dvh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: center;
  overflow: clip;
  padding: 86px max(20px, calc((100vw - 1180px) / 2)) 134px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 22, 21, 0.96), rgba(3, 22, 21, 0.72) 43%, rgba(3, 22, 21, 0.26)),
    linear-gradient(180deg, rgba(3, 22, 21, 0.18), rgba(3, 22, 21, 0.92)),
    url("/static/img/brand/golden-sands-logo-horizontal-dark.jpg") right 17% top 32% / 520px auto no-repeat,
    #082826;
}

.gsr-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 45%;
  background: linear-gradient(180deg, rgba(3, 22, 21, 0), rgba(3, 22, 21, 0.92));
  pointer-events: none;
}

.gsr-hero > * {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 820px;
}

.gsr-hero .eyebrow,
.investment-panel .eyebrow {
  color: #f4c96d;
}

.gsr-hero h1,
.section-heading h2,
.investment-panel h2,
.catalog-promo h2,
.page-hero h1 {
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0;
}

.gsr-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 1;
  text-wrap: balance;
}

.gsr-hero .lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-search {
  width: min(100%, 1100px);
  margin-top: 34px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px) saturate(1.2);
}

.search-tabs span,
.search-tabs a {
  min-height: 40px;
  border-radius: 8px;
}

.search-tabs .active {
  color: var(--premium-deep);
  background: #fff;
}

.hero-search .form-select {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.96);
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-market-card {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px) saturate(1.2);
}

.hero-market-card span {
  color: #f4c96d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-market-card strong {
  display: block;
  margin-top: 10px;
  font-family: Cinzel, Georgia, serif;
  font-size: 62px;
  line-height: 0.9;
}

.hero-side-list div {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.editorial-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 1180px;
  margin: 42px auto 0;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(16, 32, 31, 0.12);
  border-bottom: 1px solid rgba(16, 32, 31, 0.12);
}

.editorial-strip p {
  max-width: 840px;
  margin: 0;
  color: var(--premium-deep);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.18;
}

.editorial-strip a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid var(--premium-gold);
  color: var(--premium-primary);
  font-weight: 900;
}

.section,
.band,
.page-hero {
  background-color: transparent;
}

.section-heading h2 {
  color: var(--premium-deep);
  line-height: 1.08;
}

.quick-category-grid a,
.district-card,
.property-card,
.new-dev-card,
.process-grid article,
.testimonial-grid article,
.guide-grid article,
.cta-panel,
.accordion-item {
  border-radius: 8px;
  background: var(--premium-paper);
  box-shadow: 0 12px 34px rgba(6, 40, 38, 0.08);
}

.quick-category-grid a:hover,
.district-card:hover,
.property-card:hover,
.new-dev-card:hover,
.process-grid article:hover,
.testimonial-grid article:hover,
.guide-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: var(--premium-card-shadow);
}

.surface-section,
.new-dev-section {
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(3, 105, 161, 0.08)),
    linear-gradient(180deg, #e8f6f2, #d8eee9);
}

.surface-section .row {
  align-items: stretch;
}

.surface-section .row > div:first-child .property-card {
  min-height: 100%;
}

.surface-section .row > div:first-child .property-media {
  aspect-ratio: 5 / 4;
}

.surface-section .row > div:first-child .property-card h3 {
  font-size: 28px;
}

.property-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.property-media img,
.new-dev-card img {
  transition: transform 240ms ease;
}

.property-card:hover .property-media img,
.new-dev-card:hover img {
  transform: scale(1.035);
}

.investment-panel {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 40, 38, 0.96), rgba(3, 105, 161, 0.92)),
    #073735;
  box-shadow: var(--premium-shadow);
}

.investment-panel h2 {
  color: #fff;
}

.investment-panel p,
.investment-cards span {
  color: rgba(255, 255, 255, 0.78);
}

.why-section {
  background: transparent;
}

.why-section .container-fluid {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(232, 246, 242, 0.94)),
    var(--premium-paper);
  box-shadow: var(--premium-card-shadow);
}

.testimonials-section .testimonial-grid article strong {
  color: var(--premium-primary);
}

.lead-form,
.catalog-promo,
.company-catalog-section .catalog-promo {
  border-radius: 8px;
}

.site-footer {
  background: linear-gradient(180deg, #062826, #041615);
}

.privacy-footer-link {
  color: #10201f !important;
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
}

.legal-section {
  padding-top: 54px;
  padding-bottom: 96px;
}

.legal-content {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid rgba(16, 32, 31, 0.12);
  border-radius: 8px;
  background: var(--premium-paper);
  box-shadow: var(--premium-card-shadow);
}

.privacy-hero p {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.55;
}

.legal-updated {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--premium-deep) !important;
  background: rgba(15, 118, 110, 0.1);
  font-weight: 800;
}

.legal-content h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  color: var(--premium-deep);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
}

.legal-content p {
  color: rgba(16, 32, 31, 0.72);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.8;
}

.legal-content a {
  color: var(--premium-primary);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .gsr-hero {
    grid-template-columns: 1fr;
  }

  .hero-market-card {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 0;
  }

  .brand-logo-header {
    max-width: 150px;
  }

  .gsr-hero {
    min-height: auto;
    padding: 52px 14px 156px;
  }

  .gsr-hero h1 {
    font-size: clamp(39px, 12vw, 56px);
  }

  .hero-market-card {
    display: none;
  }

  .hero-search {
    margin-top: 28px;
    padding: 14px;
  }

  .editorial-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  .surface-section .row > div:first-child .property-card h3 {
    font-size: 22px;
  }
}

/* Live visual hardening: avoid weak/blocked external decorative backgrounds. */
.gsr-hero {
  background:
    linear-gradient(90deg, rgba(3, 22, 21, 0.96), rgba(3, 22, 21, 0.72) 43%, rgba(3, 22, 21, 0.24)),
    linear-gradient(180deg, rgba(3, 22, 21, 0.18), rgba(3, 22, 21, 0.92)),
    url("https://goldensandsreal.intrumnet.com/files/crm/product/08/ff/69e348f40f9a8.png") center / cover no-repeat,
    #082826 !important;
}

.district-card,
.district-card-2,
.district-card-3,
.district-card-5,
.district-card-6 {
  min-height: 280px;
  color: #fff !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(244, 201, 109, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(6, 40, 38, 0.98), rgba(15, 118, 110, 0.88) 52%, rgba(3, 105, 161, 0.9)),
    #062826 !important;
}

.district-card p,
.district-card span,
.district-meta span {
  color: rgba(255, 255, 255, 0.86) !important;
}

.district-card .btn {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.property-media {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(3, 105, 161, 0.12)),
    #dfe9e6;
}

/* Fix hero search layout on production Bootstrap grid. */
.gsr-hero .hero-search {
  width: 100%;
  max-width: 820px;
  padding: 14px;
  border-radius: 10px;
}

.gsr-hero .hero-search > .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.gsr-hero .hero-search > .row > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
}

.gsr-hero .hero-search .form-select,
.gsr-hero .hero-search .btn {
  width: 100%;
  min-height: 46px;
  height: 46px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.2;
}

.gsr-hero .hero-search .form-select {
  padding: 0 36px 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gsr-hero .hero-search .btn {
  white-space: nowrap;
  padding-left: 12px;
  padding-right: 12px;
}

.gsr-hero .search-tabs {
  gap: 8px;
  margin-bottom: 12px;
}

.gsr-hero .search-tabs span,
.gsr-hero .search-tabs a {
  min-height: 38px;
  padding: 9px 12px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .gsr-hero .hero-search > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gsr-hero {
    padding-bottom: 44px;
  }

  .gsr-hero .hero-search > .row {
    grid-template-columns: 1fr;
  }

  .gsr-hero .hero-search > .row > [class*="col-"]:last-child {
    grid-column: 1 / -1;
  }

  .gsr-hero .hero-search .form-select,
  .gsr-hero .hero-search .btn {
    min-height: 48px;
    height: 48px;
  }

  .gsr-hero .search-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gsr-hero .search-tabs span,
  .gsr-hero .search-tabs a {
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
}
