/*
 * HOME.CSS — Clean White · Bold Red · Light Green
 * Cormorant Garamond display · DM Sans body
 * Palette: white / crimson red / forest green / pale green
 */

/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {
  --c-white:      #FFFFFF;              /* page ground */
  --c-red:        #CC1520;              /* bold red — headings, accent */
  --c-red-dark:   #9B0F18;             /* darker red — hover */
  --c-red-dim:    rgba(204, 21, 32, 0.09);
  --c-green:      #1a1a1a;              /* body text — near black */
  --c-green-mid:  #5c5c5c;             /* secondary / muted text */
  --c-green-pale: #EEF7F1;             /* pale green sections */
  --c-border:     #D4EAD9;             /* green-tinted borders */
  --c-dark:       #141F19;             /* float bar */
  --c-dark-mid:   #1C2B22;            /* dark surface */
  --c-surface:    #FFFFFF;

  /* hero bg fallback */
  --c-hero-bg:    #0a0f0d;

  --ff-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --sec-v: 7rem;
  --sec-v-sm: 4rem;
}

/* =========================================================
   PAGE GROUND
   ========================================================= */

.home-page {
  background-color: var(--c-white);
  background-image: radial-gradient(circle, rgba(20, 31, 25, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  font-family: var(--ff-sans);
  color: var(--c-green);
  padding-bottom: 0;
}

/* =========================================================
   NAV — transparent over hero, solid on scroll
   ========================================================= */

.home-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  border-bottom: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 200;
}

.home-page .site-header.scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--c-border);
}

/* Logo + links white on transparent nav (over dark hero) */
.home-page .site-header:not(.scrolled) .logo-text,
.home-page .site-header:not(.scrolled) .logo-accent {
  color: #fff;
}

.home-page .site-header:not(.scrolled) .nav__brand-name {
  color: #fff;
}

.home-page .site-header:not(.scrolled) .nav__brand-ren {
  color: rgba(255, 255, 255, 0.55);
}

.home-page .site-header:not(.scrolled) .nav__dropdown-btn {
  color: rgba(255, 255, 255, 0.8);
}

.home-page .site-header:not(.scrolled) .nav__link {
  color: rgba(255, 255, 255, 0.8);
}

.home-page .site-header:not(.scrolled) .nav__link:hover,
.home-page .site-header:not(.scrolled) .nav__link.active {
  color: #fff;
}

.home-page .site-header:not(.scrolled) .nav__hamburger span {
  background: #fff;
}

/* Nav WA CTA — ghost style on transparent */
.home-page .site-header:not(.scrolled) .nav__cta {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.home-page .site-header:not(.scrolled) .nav__cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* Logo + links on scrolled (white) nav */
.home-page .site-header.scrolled .logo-text {
  color: var(--c-dark);
}

.home-page .site-header.scrolled .nav__brand-name {
  color: var(--c-dark);
}

.home-page .site-header.scrolled .nav__brand-ren {
  color: rgba(0, 0, 0, 0.5);
}

.home-page .site-header.scrolled .nav__dropdown-btn {
  color: var(--c-green);
}

.home-page .site-header.scrolled .logo-accent {
  color: var(--c-red);
}

.home-page .site-header.scrolled .nav__link {
  color: var(--c-green);
}

.home-page .site-header.scrolled .nav__link:hover,
.home-page .site-header.scrolled .nav__link.active {
  color: var(--c-red);
}

.home-page .site-header.scrolled .nav__hamburger span {
  background: var(--c-dark);
}

.home-page .site-header.scrolled .nav__cta {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
}

.home-page .site-header.scrolled .nav__cta:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  color: #fff;
}

/* =========================================================
   HERO
   ========================================================= */

/* ── Shell ── */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--c-hero-bg);
  display: flex;
  align-items: flex-start;
  padding-top: clamp(120px, 16vh, 220px); /* always clears the absolute nav */
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}

/* ── Ken Burns keyframes ── */
@keyframes kenBurns {
  0%   { transform: scale(1.08) translate(0%, 0%); }
  25%  { transform: scale(1.12) translate(-1%, 0.5%); }
  50%  { transform: scale(1.06) translate(1%, -0.5%); }
  75%  { transform: scale(1.1)  translate(-0.5%, 1%); }
  100% { transform: scale(1.08) translate(0%, 0%); }
}

/* ── Background layer: fallback image + future video ── */
.hero__bg {
  position: absolute;
  inset: -4%;          /* extra bleed so zoom never shows edges */
  z-index: 0;
  background-image: url('../images/hero/hero-bg.webp');
  background-size: cover;
  background-position: center 30%;
  animation: kenBurns 22s ease-in-out infinite;
  will-change: transform;
}

/* Video fills the bg layer — invisible until a <source> is added */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Cinematic overlay: above bg, below content ── */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,  rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.20) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.72) 100%);
}

/* ── Content ── */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* 1 — Eyebrow */
.hero__eyebrow {
  display: block;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: #7DD4AA;
  margin-bottom: 1.75rem;
}

/* 2 — Headline */
.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
}

/* 3 — Supporting copy */
.hero__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.78;
  max-width: 46ch;
  letter-spacing: 0.015em;
}

/* 4 — CTA row */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* 5 — Small info line */
.hero__tagline {
  margin-top: 1.75rem;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.26);
}

/* ── Scroll indicator — bottom right ── */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3));
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-red);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2.25rem;
  text-decoration: none;
  border: 1px solid var(--c-red);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}

.btn-solid:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-red);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2.25rem;
  text-decoration: none;
  border: 1px solid var(--c-red);
  transition: background 0.22s ease, color 0.22s ease;
}

.btn-dark:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  color: #fff;
}

/* Pill button CTA */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: var(--c-red);
  border-radius: 50px;
  padding: 0.7rem 1.4rem;
  margin-top: 0.75rem;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 3px 12px rgba(204, 21, 32, 0.25);
}

.link-cta:hover {
  background: var(--c-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(204, 21, 32, 0.35);
  color: #fff;
}

.link-cta svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.link-cta:hover svg {
  transform: translateX(3px);
}

.link-cta--light {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.link-cta--light:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* =========================================================
   SECTION SCAFFOLDING
   ========================================================= */

.section-wrap {
  padding: var(--sec-v) 0;
}

.section-wrap--dark {
  background: var(--c-dark);
  color: #fff;
}

.section-wrap--pale {
  background: var(--c-green-pale);
}

.eyebrow {
  display: block;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 1.1rem;
}

.eyebrow--light {
  color: var(--c-green-mid);
}

.heading-serif {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-red);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.heading-serif--light {
  color: #fff;
}

.heading-serif em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-green);
}

.section-rule {
  width: 40px;
  height: 2px;
  background: var(--c-red);
  margin: 1.5rem 0;
}

/* =========================================================
   LISTINGS SECTION
   ========================================================= */

.listings-section {
  background-color: var(--c-white);
  background-image: radial-gradient(circle, rgba(20, 31, 25, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: var(--sec-v) 0;
}

.listings-intro {
  margin-bottom: 4.5rem;
  max-width: 640px;
}

.listings-intro__sub {
  font-family: var(--ff-sans);
  font-size: 1rem;
  color: var(--c-green-mid);
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 54ch;
  letter-spacing: 0.01em;
}

/* =========================================================
   FEATURED LISTING CARD
   ========================================================= */

.listing-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  margin-bottom: 4.5rem;
  overflow: hidden;
}

.listing-featured__media {
  position: relative;
  min-height: 500px;
  background: var(--c-dark);
  overflow: hidden;
}

.listing-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.listing-featured:hover .listing-featured__media img {
  transform: scale(1.06);
}

.listing-featured__media-ph {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    ),
    linear-gradient(145deg, #141F19 0%, #1C2B22 50%, #141F19 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-featured__badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(10, 15, 13, 0.68);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
}

.listing-featured__body {
  padding: 3.5rem 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* flip variant — photo on right */
.listing-featured--flip {
  grid-template-columns: 0.9fr 1.1fr;
  direction: rtl;
}
.listing-featured--flip > * {
  direction: ltr;
}

/* =========================================================
   GRID LISTING CARDS
   ========================================================= */

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  margin-top: 1px;
}

/* ── Additional 4-column compact grid ── */
.listings-more-header {
  padding: 3rem 0 2.25rem;
  border-top: 1px solid var(--c-border);
  margin-top: 5rem;
}

.listings-more-header .heading-serif {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.25rem;
}

.listings-grid--4col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background: transparent;
  margin-top: 1px;
}

.listing-card--compact {
  position: relative;
  box-shadow: 0 2px 16px rgba(45, 106, 79, 0.07);
  border: 1px solid var(--c-border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.listing-card--compact:hover {
  border-color: var(--c-green-mid);
  box-shadow: 0 6px 32px rgba(45, 106, 79, 0.13);
}

.listing-card--compact .listing-card__body {
  padding: 1.4rem 1.5rem 1.75rem;
}

.listing-card--compact .listing-name {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.listing-card--compact .listing-price {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.listing-card--compact .listing-specs {
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  color: var(--c-green);
  line-height: 1.62;
  margin: 0.75rem 0 0.9rem;
  padding: 0;
  list-style: none;
}

.listing-card--compact .listing-specs li {
  padding: 0.28rem 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-green);
}

.listing-card--compact .listing-specs li:last-child {
  border-bottom: none;
}

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

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

.listing-card {
  background: var(--c-surface);
  overflow: hidden;
  transition: box-shadow 0.35s ease;
}

.listing-card:hover {
  box-shadow: 0 8px 48px rgba(45, 106, 79, 0.15);
  position: relative;
  z-index: 1;
}

.listing-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-dark);
  overflow: hidden;
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.listing-card:hover .listing-card__media img {
  transform: scale(1.06);
}

.listing-card__media-ph {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 30px,
      rgba(255,255,255,0.012) 30px,
      rgba(255,255,255,0.012) 31px
    ),
    linear-gradient(135deg, #141F19 0%, #1C2B22 60%, #141F19 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.listing-card__media-ph span {
  font-family: var(--ff-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

.listing-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

.listing-card__badge--brass {
  background: var(--c-red);
  color: #fff;
}

.listing-card__badge--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.listing-card__body {
  padding: 1.75rem 1.75rem 2rem;
}

/* =========================================================
   SHARED LISTING TYPOGRAPHY
   ========================================================= */

.listing-location {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-green-mid);
  margin-bottom: 0.5rem;
}

.listing-name {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.listing-name--lg {
  font-size: 2rem;
}

.listing-eyebrow {
  display: block;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-green-mid);
  margin-bottom: 0.5rem;
}

.listing-developer {
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  color: rgba(74, 139, 111, 0.55);
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-bottom: 0;
}

.listing-rule {
  height: 1px;
  background: var(--c-border);
  margin: 1.25rem 0;
}

.listing-rule--brass {
  width: 32px;
  height: 2px;
  background: var(--c-red);
  margin: 1.25rem 0;
}

.listing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.listing-features li {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  color: var(--c-green);
  padding: 0.4rem 0 0.4rem 1.35rem;
  position: relative;
  line-height: 1.45;
  border-bottom: 1px solid var(--c-border);
}

.listing-features li:last-child {
  border-bottom: none;
}

.listing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 2px;
  background: var(--c-red);
}

.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.listing-tag {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-green);
  background: var(--c-green-pale);
  padding: 0.3rem 0.65rem;
}

.listing-tag--accent {
  color: var(--c-red);
  background: var(--c-red-dim);
}

.listing-price-label {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-green-mid);
  margin-bottom: 0.2rem;
}

.listing-price {
  font-family: var(--ff-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.3rem;
}

.listing-monthly {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-green-mid);
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}

.listings-monthly-note {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  color: var(--c-green-mid);
  margin-top: 1.5rem;
  opacity: 0.75;
}

/* =========================================================
   LOCATIONS SECTION
   ========================================================= */

.locations-section {
  background: var(--c-green-pale);
  padding: var(--sec-v) 0;
}

.locations-intro {
  margin-bottom: 3.5rem;
  max-width: 560px;
}

.locations-intro__sub {
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  color: var(--c-green-mid);
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 52ch;
}

/* ── Grid ── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
}

/* ── Base card ── */
.location-card {
  background: var(--c-white);
  padding: 2.5rem 2.25rem 2.75rem;
  transition: background 0.22s ease;
}

.location-card:hover {
  background: #f6fbf8;
}

/* ── Featured card: Iskandar Puteri ── */
.location-card--featured {
  grid-column: span 2;
  background: var(--c-dark-mid);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem;
}

.location-card--featured:hover {
  background: #1e2e25;
}

/* ── Type label ── */
.location-type {
  display: block;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-green-mid);
  margin-bottom: 0.85rem;
}

.location-card--featured .location-type {
  color: #7DD4AA;
}

/* ── Area name ── */
.location-name {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: var(--c-red);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.location-card--featured .location-name {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #fff;
}

/* ── Description ── */
.location-desc {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  color: var(--c-green);
  line-height: 1.72;
  margin-bottom: 1.25rem;
}

.location-card--featured .location-desc {
  color: rgba(255, 255, 255, 0.52);
}

/* ── Projects list ── */
.location-projects {
  margin-bottom: 1.5rem;
}

.location-projects__label {
  display: block;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-green-mid);
  margin-bottom: 0.4rem;
}

.location-card--featured .location-projects__label {
  color: rgba(255, 255, 255, 0.32);
}

.location-projects__list {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  color: var(--c-green);
  line-height: 1.6;
}

.location-card--featured .location-projects__list {
  color: rgba(255, 255, 255, 0.62);
}

/* ── CTA link ── */
.location-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}

.location-cta:hover {
  border-color: var(--c-red);
}

.location-card--featured .location-cta {
  color: #7DD4AA;
}

.location-card--featured .location-cta:hover {
  border-color: #7DD4AA;
}

/* ── Stat column within featured card ── */
.location-card__stat-col {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 2.5rem;
}

.location-stat__value {
  display: block;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 0.2rem;
}

.location-stat__num {
  display: block;
  font-family: var(--ff-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.location-stat__label {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .locations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-card--featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .location-card__stat-col {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }
}

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

  .location-card--featured {
    grid-column: span 1;
    padding: 2.25rem;
  }

  .location-card {
    padding: 2rem 1.75rem 2.25rem;
  }
}

/* ── Completion date highlight ── */
.listing-completion,
.specs-completion {
  font-weight: 700;
  color: var(--c-red) !important;
}

/* =========================================================
   CONSULTANT SECTION
   ========================================================= */

.consultant-section {
  background: var(--c-green-pale);
  padding: var(--sec-v) 0;
}

.consultant-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 7rem;
  align-items: center;
}

.consultant-photo-wrap {
  position: relative;
  align-self: start;
}

.consultant-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.consultant-photo-ph {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}

/* Decorative red border offset behind photo */
.consultant-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 65%;
  height: 65%;
  border: 2px solid var(--c-red);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

.consultant-photo,
.consultant-photo-ph {
  position: relative;
  z-index: 1;
}

.consultant-content .eyebrow {
  margin-top: 0;
}

.consultant-name {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #000;
  line-height: 1.12;
  margin-bottom: 0.35rem;
}

.consultant-title {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  color: var(--c-green-mid);
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
}

.consultant-bio {
  font-family: var(--ff-sans);
  font-size: 1rem;
  color: var(--c-green);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.consultant-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--c-border);
  margin-bottom: 2rem;
  background: var(--c-white);
}

.stat-item {
  padding: 1.25rem 1.25rem;
  border-right: 1px solid var(--c-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
  margin-bottom: 0.3rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-green-mid);
}

.consultant-trust {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.consultant-trust li {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  color: var(--c-green);
  padding: 0.65rem 0 0.65rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  line-height: 1.45;
}

.consultant-trust li:last-child {
  border-bottom: none;
}

.consultant-trust li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: var(--c-red);
}

.consultant-disclosure {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-rule);
}

/* =========================================================
   FLOATING CONTACT BAR
   ========================================================= */

.float-bar {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.float-bar__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 50px;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-bar__btn--call {
  background: var(--c-dark-mid);
}

.float-bar__btn--wa {
  background: #25D366;
}

.float-bar__btn:hover,
.float-bar__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  outline: none;
}

.float-bar__btn--wa:hover,
.float-bar__btn--wa:focus-visible {
  background: #1ebe5d;
}

.float-bar__btn svg {
  flex-shrink: 0;
}

/* =========================================================
   DISCLOSURE BOX (hero) — override main.css brass colors
   ========================================================= */

.home-page .disclosure {
  border-left-color: rgba(204, 21, 32, 0.5);
  background: rgba(204, 21, 32, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-page .disclosure__avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

/* ── NAV BRAND ── */
.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  margin-right: auto;
}

.nav__brand-name {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: 0.01em;
}

.nav__brand-ren {
  font-family: var(--ff-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .nav__brand-name { font-size: 0.9rem; }
}

/* =========================================================
   FAQ SECTION
   ========================================================= */

.faq-section {
  padding: var(--sec-v) 0;
  background: var(--c-bg);
}

.faq-header {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--c-border);
}

.faq-question {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  padding: 1.15rem 2rem 1.15rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.45;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--c-red);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 0 1.25rem;
}

.faq-answer p {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-up.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Stagger siblings */
  .listings-grid .listing-card:nth-child(2) { transition-delay: 0.08s; }
  .listings-grid .listing-card:nth-child(3) { transition-delay: 0.16s; }
  .listings-grid .listing-card:nth-child(4) { transition-delay: 0.08s; }
  .listings-grid .listing-card:nth-child(5) { transition-delay: 0.16s; }
}

/* =========================================================
   ENQUIRY FORM SECTION
   ========================================================= */

.enquiry-section {
  background-color: var(--c-white);
  background-image: radial-gradient(circle, rgba(20, 31, 25, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  border-top: 3px solid var(--c-red);
  padding: var(--sec-v) 0;
  position: relative;
}

/* Subtle green grid texture */
.enquiry-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 79px,
    rgba(45, 106, 79, 0.03) 80px
  );
  pointer-events: none;
}

.enquiry-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: start;
}

.enquiry-lede {
  padding-top: 0.5rem;
}

.enquiry-lede .eyebrow {
  margin-top: 0;
}

.enquiry-heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--c-red);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.enquiry-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-green);
}

.enquiry-body {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  color: var(--c-green);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.enquiry-promise {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.enquiry-promise-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  color: var(--c-green-mid);
  letter-spacing: 0.01em;
}

.enquiry-promise-item::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 2px;
  background: var(--c-red);
}

/* Form card */
.enquiry-form-wrap {
  background: var(--c-green-pale);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-red);
  padding: 2.5rem;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-green-mid);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  color: var(--c-green);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-green-mid);
  opacity: 0.5;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-red);
  background: #fff;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A8B6F' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: var(--c-white);
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--c-white);
  color: var(--c-green);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-red);
  border: none;
  padding: 0.95rem 2rem;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.form-submit-btn:hover {
  background: var(--c-red-dark);
}

.form-note {
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  color: var(--c-green-mid);
  line-height: 1.5;
  opacity: 0.7;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .consultant-grid {
    grid-template-columns: 300px 1fr;
    gap: 4rem;
  }

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

@media (max-width: 900px) {
  .listing-featured,
  .listing-featured--flip {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .listing-featured__media {
    min-height: 300px;
  }

  .listing-featured__media-ph {
    min-height: 300px;
  }

  .listing-featured__body {
    padding: 2.25rem 2rem;
  }

  .listings-intro {
    margin-bottom: 3rem;
  }

  .listing-featured {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --sec-v: var(--sec-v-sm);
  }

  .hero {
    min-height: 92vh;
    padding-bottom: 3.5rem;
  }

  .hero__title {
    font-size: 2.6rem;
  }

  .hero__scroll {
    display: none;
  }

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

  .consultant-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .enquiry-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .consultant-photo-wrap {
    max-width: 280px;
  }

  .consultant-photo-wrap::after {
    display: none;
  }

  .consultant-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.1rem;
  }

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

  .btn-solid,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .listing-featured__body {
    padding: 1.75rem 1.25rem;
  }

  .consultant-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:last-child {
    border-top: 1px solid var(--c-border);
    grid-column: span 2;
  }

  .listing-name--lg {
    font-size: 1.6rem;
  }

  .enquiry-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .enquiry-form-wrap {
    padding: 1.75rem 1.25rem;
  }

  .form-submit-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   MOBILE EXPERIENCE — targeted improvements
   ========================================================= */

@media (max-width: 768px) {

  /* Tighten container gutter on small screens */
  .container {
    padding-inline: 1.25rem;
  }

  /* Section intro text — shorter max-width */
  .locations-intro,
  .listings-intro {
    max-width: 100%;
  }

  /* Hero sub-text readable size */
  .hero__sub {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* Hero tagline hidden on mobile — too small */
  .hero__tagline {
    display: none;
  }

  /* Section headings scale down cleanly */
  .heading-serif {
    font-size: clamp(1.55rem, 6.5vw, 2.4rem);
  }

  /* Enquiry heading */
  .enquiry-heading {
    font-size: clamp(1.55rem, 6.5vw, 2.2rem);
  }

  /* Listing featured body — more room on stacked layout */
  .listing-featured__body {
    padding: 2rem 1.5rem 2.25rem;
  }

  /* Compact listing card name */
  .listing-card--compact .listing-name {
    font-size: 1.1rem;
  }

  /* Compact listing price */
  .listing-card--compact .listing-price {
    font-size: 1.3rem;
  }

  /* Location card featured — full padding reduction */
  .location-card--featured {
    padding: 2.5rem 1.5rem;
  }

  /* Locations intro sub line */
  .locations-intro__sub {
    font-size: 0.95rem;
  }

  /* Consultant photo — cap width on medium screens */
  .consultant-photo-wrap {
    max-width: 260px;
  }

  /* Float bar — tuck closer to corner */
  .float-bar {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.5rem;
  }

  .float-bar__btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.75rem;
  }

  /* Link-cta — ensure adequate tap target */
  .link-cta {
    min-height: 44px;
    padding: 0.75rem 1.4rem;
  }

  /* Location CTA tap target */
  .location-cta {
    padding: 0.5rem 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Form submit button full width on mobile */
  .form-submit-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  /* Very small phones — tightest gutter */
  .container {
    padding-inline: 1rem;
  }

  .hero__title {
    font-size: 1.9rem;
  }

  .listing-featured__body {
    padding: 1.5rem 1rem;
  }

  .float-bar__btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.72rem;
  }

  /* Stack float bar horizontally on tiny screens */
  .float-bar {
    flex-direction: row-reverse;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    align-items: center;
    justify-content: flex-end;
  }
}

/* =========================================================
   NAV DROPDOWN — Properties menu
   ========================================================= */

.nav__dropdown {
  position: relative;
}

.nav__dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  font: inherit;
}

.nav__dropdown-caret {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav__dropdown.is-open .nav__dropdown-caret {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  min-width: 190px;
  padding: 0.4rem 0;
  list-style: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 200;
}

.nav__dropdown.is-open .nav__dropdown-menu {
  display: block;
}

.nav__dropdown-item {
  display: block;
  padding: 0.6rem 1.1rem;
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav__dropdown-item:hover {
  color: var(--c-white);
  background: rgba(255,255,255,0.07);
}

/* =========================================================
   PROPERTY SEARCH BAR
   ========================================================= */

.listing-search {
  margin: 2.5rem auto 0;
  max-width: 760px;
}

.listing-search__wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: 8px;
  padding: 0 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.06);
}

.listing-search__wrap:focus-within {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(204, 21, 32, 0.1);
}

.listing-search__icon {
  color: var(--c-green-mid);
  flex-shrink: 0;
  pointer-events: none;
}

.listing-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  color: var(--c-green);
  padding: 0.9rem 0.75rem;
  min-width: 0;
}

.listing-search__input::placeholder {
  color: rgba(92, 92, 92, 0.55);
}

.listing-search__clear {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-green-mid);
  font-size: 1.3rem;
  line-height: 1;
  padding: 0 0.25rem;
  flex-shrink: 0;
  transition: color 0.15s;
}

.listing-search__clear:hover {
  color: var(--c-red);
}

.listing-search__status {
  margin-top: 0.6rem;
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  color: var(--c-green-mid);
  min-height: 1.2em;
  text-align: center;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .listing-search__input {
    font-size: 0.875rem;
  }
}

/* ── View Details toggle ── */
.listing-details {
  margin: 0.55rem 0 0.7rem;
}
.listing-details[open] {
  margin-bottom: 0.85rem;
}
.listing-details__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-red);
  cursor: pointer;
  list-style: none;
  user-select: none;
  padding: 0;
  border: none;
  background: none;
}
.listing-details__toggle::-webkit-details-marker { display: none; }
.listing-details__toggle::marker { display: none; }
.listing-details__chevron {
  display: inline-block;
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  line-height: 1;
  /* chevron via border trick */
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--c-red);
  border-bottom: 2px solid var(--c-red);
  transform: rotate(-45deg);
  margin-left: 0.1rem;
  margin-bottom: 0.08rem;
  flex-shrink: 0;
}
.listing-details[open] .listing-details__chevron {
  transform: rotate(45deg);
}

/* ── SEO description paragraph inside listing cards ── */
.listing-seo-desc {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--c-green-mid);
  margin: 0.55rem 0 0;
}
.listing-card--compact .listing-seo-desc {
  font-size: 0.75rem;
  margin: 0.4rem 0 0;
}

/* ── Search tag chips ── */
.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin-top: 0.75rem;
  align-items: center;
}
.search-tags__label {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  color: var(--c-green-mid);
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.search-tag {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  color: var(--c-green);
  background: rgba(26,26,26,0.05);
  border: 1px solid rgba(26,26,26,0.12);
  border-radius: 20px;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.search-tag:hover,
.search-tag:focus-visible {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
  outline: none;
}

/* =========================================================
   PROPERTY MAP
   ========================================================= */

.map-section {
  padding: 5rem 0 0;
  background: var(--c-green-pale);
}
.map-header {
  text-align: center;
  margin-bottom: 2rem;
}
.map-subhead {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  color: var(--c-green-mid);
  margin-top: 0.5rem;
}
#property-map {
  width: 100%;
  height: 520px;
  display: block;
}
.map-note {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  color: var(--c-green-mid);
  text-align: center;
  padding: 0.6rem 1rem;
  background: var(--c-green-pale);
}
.map-note a { color: var(--c-red); text-decoration: none; }
.map-note a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  #property-map { height: 380px; }
  .map-section { padding-top: 3.5rem; }
}

/* ── Custom map pin ── */
.map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none !important;
  border: none !important;
}
.map-pin__dot {
  width: 14px;
  height: 14px;
  background: var(--c-red);
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.45);
  transition: transform 0.15s;
}
.map-pin:hover .map-pin__dot {
  transform: scale(1.3);
}

/* ── Map popup card ── */
.leaflet-popup-content-wrapper {
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
  padding: 0 !important;
  overflow: hidden;
}
.leaflet-popup-content {
  margin: 0 !important;
  width: auto !important;
}
.map-popup {
  display: flex;
  flex-direction: column;
  min-width: 210px;
}
.map-popup__img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.map-popup__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.9rem 0.8rem;
}
.map-popup__name {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-red);
  display: block;
  line-height: 1.2;
}
.map-popup__type {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  color: var(--c-green-mid);
  display: block;
}
.map-popup__loc {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  color: var(--c-green-mid);
  display: block;
}
.map-popup__price {
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-green);
  display: block;
  margin-top: 0.15rem;
}
.map-popup__badge {
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: #1a7a3c;
  background: #e6f4ec;
  border-radius: 20px;
  padding: 0.12rem 0.5rem;
  display: inline-block;
  width: fit-content;
}
.map-popup__wa {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #25D366;
  border-radius: 5px;
  padding: 0.3rem 0.65rem;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.4rem;
  width: fit-content;
}
.map-popup__wa:hover { background: #1aad53; color: #fff; }
