:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #10213a;
  --muted: #62708a;
  --line: #dbe4f1;
  --primary: #d89c2b;
  --primary-dark: #b97f19;
  --nav-text: #dbe6ff;
  --success: #1f7a5a;
  --danger: #b33636;
  --shadow: 0 12px 30px rgba(16, 33, 58, 0.08);
  --radius: 14px;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 26, 47, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(219, 230, 255, 0.12);
}

.nav-wrapper {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--nav-text);
  font-size: 0.96rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav-cta {
  padding: 10px 18px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}

.hero {
  position: relative;
  background: url("assests/1600585154340-be6161a56a0c.jpg") center/cover no-repeat;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(13, 26, 47, 0.88), rgba(13, 26, 47, 0.45) 52%, rgba(13, 26, 47, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 60px 0;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 750px;
  line-height: 1.12;
  margin-bottom: 14px;
}

.hero-subtext {
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin-bottom: 30px;
}

.search-box {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  max-width: 820px;
  box-shadow: var(--shadow);
}

.search-box label {
  display: grid;
  gap: 6px;
}

.search-box span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.search-box select {
  border: 1px solid var(--line);
  border-radius: 10px;
  height: 44px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
}

.hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 600px;
}

.hero-stats article {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px;
  backdrop-filter: blur(3px);
}

.hero-stats h3 {
  font-size: 1.2rem;
}

.hero-stats p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-items: center;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(13, 26, 47, 0.82), rgba(13, 26, 47, 0.42));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 56px 0;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
}

.page-hero-listing {
  background-image: url("assests/1494526585095-c41746248156.jpg");
}

.page-hero-about {
  background-image: url("assests/1486406146926-c627a92ad1ab.jpg");
}

.page-hero-agents {
  background-image: url("assests/1556157382-97eda2d62296.jpg");
}

.page-hero-contact {
  background-image: url("assests/1497366754035-f200968a6e72.jpg");
}

.page-hero-property {
  background-image: url("assests/1600607687939-ce8a6c25118c.jpg");
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #111;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #111;
}

.section {
  padding: 88px 0;
}

.section-light {
  background: linear-gradient(180deg, #fbfcff, #f3f7fd);
}

.section-header {
  margin-bottom: 36px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  box-shadow: 0 16px 32px rgba(16, 33, 58, 0.12);
}

.feature-card {
  padding: 28px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--muted);
}

.property-card img,
.property-result-card img {
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin-bottom: 4px;
}

.card-body p {
  color: var(--muted);
}

.price {
  margin-top: 10px;
  color: var(--primary-dark);
  font-weight: 700;
}

.testimonials {
  background: #0f2138;
  color: #fff;
}

.testimonials-wrap {
  text-align: center;
}

.testimonials-wrap h2 {
  margin-bottom: 14px;
}

#testimonialText {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #cfdcf2;
}

.newsletter-wrap {
  display: grid;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.newsletter-wrap p {
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1 1 260px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
}

.newsletter-message {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--success);
  min-height: 24px;
}

.newsletter-message.success {
  color: var(--success);
}

.newsletter-message.error {
  color: var(--danger);
}

.listing-shell {
  background: linear-gradient(180deg, #f7faff, #f2f7ff);
}

.listing-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.listing-filter {
  padding: 22px;
  position: sticky;
  top: 100px;
  display: grid;
  gap: 10px;
}

.listing-filter h3 {
  margin-bottom: 4px;
}

.listing-filter label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.listing-filter select,
.listing-filter input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: #fff;
}

.listing-results {
  min-width: 0;
}

.listing-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.listing-results-head h2 {
  font-size: 1.4rem;
}

#propertyCount {
  color: var(--muted);
  font-weight: 600;
}

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

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

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

.pagination {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  min-width: 38px;
  height: 38px;
  cursor: pointer;
}

.page-btn:hover {
  border-color: var(--primary);
}

.active-page {
  background: var(--primary);
  border-color: var(--primary);
  color: #111;
  font-weight: 700;
}

.empty-state {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.empty-state p {
  color: var(--muted);
}

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

.about-panel {
  padding: 28px;
}

.about-panel h2 {
  margin-bottom: 10px;
}

.about-panel p + p {
  margin-top: 12px;
}

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

.about-metrics div {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}

.about-metrics h3 {
  color: var(--primary-dark);
}

.about-metrics p {
  font-size: 0.82rem;
  color: var(--muted);
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.agent-card img {
  height: 280px;
  object-fit: cover;
}

.agent-role {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.agent-contact {
  display: inline-block;
  margin-top: 12px;
  color: var(--text);
  font-weight: 600;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.contact-info,
.contact-form-wrap {
  padding: 24px;
}

.contact-info h2,
.contact-form-wrap h2 {
  margin-bottom: 12px;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.info-card h3 {
  margin-bottom: 4px;
}

.info-card p {
  color: var(--muted);
}

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

.contact-form label {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
}

.contact-form textarea {
  resize: vertical;
}

.form-response {
  min-height: 24px;
  font-weight: 600;
}

.form-response.success {
  color: var(--success);
}

.form-response.error {
  color: var(--danger);
}

.map-frame {
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
}

.property-details {
  padding: 26px;
}

.property-details h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.property-hero-image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 420px;
  margin-bottom: 14px;
}

.property-meta {
  margin-top: 12px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.property-meta li {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

.footer {
  background: #0d1a2f;
  color: #dbe6ff;
  padding: 24px 0;
}

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

.footer a {
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #0f2138;
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

@media (max-width: 960px) {
  .search-box {
    grid-template-columns: 1fr;
  }

  .search-box .btn {
    width: 100%;
  }

  .row-between {
    flex-direction: column;
    align-items: flex-start;
  }

  .listing-layout,
  .about-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .listing-filter {
    position: static;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 78px;
    right: 4%;
    width: min(260px, 90vw);
    background: #132443;
    border: 1px solid rgba(219, 230, 255, 0.15);
    border-radius: 12px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 8px;
    border-radius: 8px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 44px 0 54px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .section {
    padding: 68px 0;
  }

  .listing-results-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Visual refresh overrides ===== */
:root {
  --bg: #eef3fb;
  --surface: #ffffff;
  --surface-soft: #f6f9ff;
  --text: #10233d;
  --muted: #5a6a87;
  --line: #d6deec;
  --primary: #d4a338;
  --primary-dark: #ab7a1d;
  --accent: #1f6aa5;
  --success: #1c7e5e;
  --danger: #b33a3a;
  --shadow: 0 18px 38px rgba(10, 22, 40, 0.14);
  --radius: 16px;
}

body {
  font-family: "Avenir Next", "Century Gothic", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 10% 5%, rgba(31, 106, 165, 0.12), transparent 32%),
    radial-gradient(circle at 90% 0%, rgba(212, 163, 56, 0.2), transparent 30%),
    linear-gradient(160deg, #edf3fc 0%, #f8faff 45%, #eef4fe 100%);
  color: var(--text);
}

h1,
h2,
h3,
.logo {
  font-family: "Bodoni MT", "Didot", "Times New Roman", serif;
  letter-spacing: 0.2px;
}

.header {
  background: rgba(9, 20, 38, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.logo {
  font-size: 1.5rem;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7d27a, #9ad2ff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.hero {
  overflow: hidden;
}

.hero-overlay {
  background:
    linear-gradient(118deg, rgba(8, 18, 34, 0.9), rgba(10, 24, 45, 0.74) 45%, rgba(9, 25, 48, 0.35)),
    radial-gradient(circle at 80% 18%, rgba(255, 218, 133, 0.24), transparent 45%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-orb-one {
  width: 260px;
  height: 260px;
  right: 14%;
  top: 14%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 225, 165, 0.75), rgba(255, 225, 165, 0.08));
  animation: orbFloatOne 9s ease-in-out infinite;
}

.hero-orb-two {
  width: 180px;
  height: 180px;
  right: 30%;
  bottom: 12%;
  background: radial-gradient(circle at 40% 40%, rgba(157, 214, 255, 0.6), rgba(157, 214, 255, 0.08));
  animation: orbFloatTwo 11s ease-in-out infinite;
}

.hero-subtext {
  font-size: 1.06rem;
}

.search-box {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
}

.hero-stats article {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn {
  border-radius: 12px;
}

.btn-primary {
  background: linear-gradient(120deg, #f1c96b, #d39a2f);
  color: #1e1809;
  box-shadow: 0 10px 22px rgba(212, 163, 56, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(120deg, #f6d98b, #d8a947);
}

.btn-outline {
  border-color: #c2902d;
  color: #9f6d12;
}

.card {
  border: 1px solid rgba(182, 197, 222, 0.55);
  box-shadow: 0 18px 34px rgba(13, 27, 49, 0.08);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px rgba(13, 27, 49, 0.16);
}

.section {
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 45%);
}

.trust-strip {
  border-top: 1px solid rgba(174, 188, 211, 0.45);
  border-bottom: 1px solid rgba(174, 188, 211, 0.45);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
}

.trust-strip-inner {
  display: grid;
  gap: 12px;
  padding: 20px 0;
}

.trust-label {
  font-size: 0.85rem;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  font-weight: 700;
  color: #486080;
}

.trust-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.trust-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marqueeMove 26s linear infinite;
}

.trust-marquee-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d0dbef;
  background: #fff;
  color: #2a3f63;
  font-weight: 700;
  padding: 8px 15px;
  white-space: nowrap;
}

.concierge-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.concierge-copy {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(247, 209, 118, 0.2), transparent 40%),
    linear-gradient(160deg, #0f2240, #122b52);
  color: #edf3ff;
  box-shadow: var(--shadow);
}

.concierge-copy .eyebrow {
  border-color: rgba(255, 255, 255, 0.35);
  color: #eef4ff;
}

.concierge-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 12px;
}

.concierge-copy p {
  color: rgba(236, 244, 255, 0.9);
  margin-bottom: 18px;
}

.concierge-steps {
  display: grid;
  gap: 14px;
}

.concierge-step {
  padding: 22px;
  border-left: 5px solid #d9ab4a;
}

.concierge-step h3 {
  margin-bottom: 7px;
}

.concierge-step p {
  color: var(--muted);
}

.testimonials {
  background:
    radial-gradient(circle at top, rgba(217, 172, 74, 0.22), transparent 40%),
    linear-gradient(150deg, #0c1c34, #143662);
}

.newsletter-wrap {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(244, 249, 255, 0.95)),
    radial-gradient(circle at top right, rgba(166, 214, 255, 0.22), transparent 40%);
  border: 1px solid #d7e0f1;
}

.newsletter-form input,
.contact-form input,
.contact-form textarea,
.listing-filter select,
.listing-filter input,
.search-box select {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.newsletter-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.listing-filter select:focus,
.listing-filter input:focus,
.search-box select:focus {
  outline: none;
  border-color: #7bb6ea;
  box-shadow: 0 0 0 4px rgba(123, 182, 234, 0.18);
  transform: translateY(-1px);
}

.footer {
  background: linear-gradient(120deg, #0b1b31, #13335a);
}

.back-to-top {
  background: linear-gradient(120deg, #193a61, #0e2541);
  border: 1px solid rgba(214, 227, 248, 0.25);
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes orbFloatOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, 16px, 0);
  }
}

@keyframes orbFloatTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -18px, 0);
  }
}

@media (max-width: 960px) {
  .concierge-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .trust-strip-inner {
    padding: 16px 0;
  }

  .trust-marquee-track {
    animation-duration: 20s;
  }

  .concierge-copy {
    padding: 24px;
  }
}

/* Listing detail enhancements */
.listing-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.insight-card {
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92));
}

.insight-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.insight-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.property-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.listing-badge,
.listing-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.listing-badge {
  color: #15324f;
  background: linear-gradient(120deg, #fde8b8, #f4cf74);
}

.listing-type {
  color: #345079;
  background: #edf3ff;
  border: 1px solid #d7e3fb;
}

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

.property-highlights span {
  font-size: 0.82rem;
  color: #38506f;
  border: 1px solid #d9e3f4;
  border-radius: 8px;
  padding: 6px 8px;
  background: #f7faff;
}

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

.property-detail-grid article {
  border: 1px solid #d9e3f4;
  border-radius: 10px;
  padding: 12px;
  background: #f7faff;
}

.property-detail-grid h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.property-detail-grid p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 18px;
  align-items: start;
}

.footer-brand h3 {
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand p,
.footer-cta p {
  color: #c6d5ef;
}

.footer-links h4,
.footer-cta h4 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links a {
  color: #e4eeff;
  width: fit-content;
}

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

.footer-cta .btn {
  margin-top: 10px;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(225, 238, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #bfd0ec;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .listing-insights {
    grid-template-columns: 1fr;
  }

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

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

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

/* Disable motion + stabilize listing layout on mobile */
*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
}

@media (max-width: 768px) {
  .listing-shell .container {
    width: 94%;
  }

  .listing-filter {
    padding: 16px;
  }

  .listing-filter .btn,
  .listing-filter select,
  .listing-filter input {
    width: 100%;
  }

  .listing-results,
  .property-grid,
  .property-result-card,
  .card-body {
    min-width: 0;
  }

  .property-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .property-result-card img {
    height: 200px;
  }
}

/* Mobile menu icon morph (hamburger <-> close) */
.menu-icon {
  position: relative;
  width: 22px;
  height: 18px;
  display: inline-block;
}

.menu-line {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transform-origin: center;
  transition: transform 220ms ease, opacity 180ms ease !important;
}

.menu-line:nth-child(1) {
  top: 0;
}

.menu-line:nth-child(2) {
  top: 8px;
}

.menu-line:nth-child(3) {
  top: 16px;
}

.menu-toggle.open .menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
