/* ==========================================================================
   Maa Barahi— Property Management Template
   Custom design layer over Bootstrap 5
   Palette: deep forest green + gold accent, warm neutrals
   Type: Fraunces (display) + Inter (body/UI)
   ========================================================================== */

:root {
  /* Brand palette */
  --forest: #123b2e;
  --forest-700: #0f3227;
  --forest-800: #0b271e;
  --forest-900: #082019;
  --forest-soft: #1c5642;
  --gold: #c69a3e;
  --gold-600: #b3862c;
  --gold-100: #f3e7c9;
  --teal: #2f7d6b;

  /* Neutrals */
  --paper: #f6f4ee;
  --paper-2: #efece2;
  --card: #ffffff;
  --ink: #17211d;
  --body: #3c4741;
  --muted: #6c7a72;
  --line: #e3e0d5;
  --line-dark: rgba(255, 255, 255, .14);

  /* System */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(18, 59, 46, .06);
  --shadow: 0 18px 44px -22px rgba(11, 39, 30, .42);
  --shadow-lg: 0 40px 80px -34px rgba(11, 39, 30, .55);
  --ring: 0 0 0 3px rgba(198, 154, 62, .45);

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1400px;
  --nav-h: 78px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--body);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

.hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  /* prevents blurred edges */
  background: url("./hero-img.jpg") center/cover no-repeat;
  filter: blur(8px);
  transform: scale(1.05);
  z-index: 0;
}

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

p {
  margin: 0 0 1rem;
}

a {
  color: var(--forest-soft);
  text-decoration: none;
  transition: color .18s ease;
}

a:hover {
  color: var(--gold-600);
}

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

ul {
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--container);
}

/* ---- Utilities ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--ff-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
  border-radius: 2px;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--light {
  color: var(--gold-100);
}

.eyebrow--light::before {
  background: var(--gold);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--tight {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--paper2 {
  background: var(--paper-2);
}

.section--forest {
  background: var(--forest);
  color: #dfeae4;
}

.section--forest h1,
.section--forest h2,
.section--forest h3 {
  color: #fff;
}

.section-head {
  max-width: 640px;
  margin: 0 0 3rem;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.section-sub {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.text-gold {
  color: var(--gold-600);
}

.text-forest {
  color: var(--forest);
}

.serif-accent {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--gold-600);
  font-weight: 500;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--forest);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --bs-btn-focus-box-shadow: none;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .005em;
  border-radius: 999px;
  padding: .8rem 1.6rem;
  border: 1.5px solid transparent;
  transition: transform .16s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

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

.btn:focus-visible {
  box-shadow: var(--ring);
  outline: none;
}

.btn-forest {
  background: var(--forest);
  color: #fff;
}

.btn-forest:hover {
  background: var(--forest-800);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-900);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-600);
  color: var(--forest-900);
  box-shadow: 0 16px 30px -14px rgba(198, 154, 62, .7);
}

.btn-outline-forest {
  background: transparent;
  color: var(--forest);
  border-color: rgba(18, 59, 46, .28);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--forest);
}

.btn-outline-forest:hover {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--forest);
  border-color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.04rem;
}

.btn-sm {
  padding: .55rem 1.1rem;
  font-size: .88rem;
}

.btn-block {
  width: 100%;
}

.link-arrow {
  font-weight: 600;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.link-arrow svg {
  transition: transform .2s ease;
}

.link-arrow:hover {
  color: var(--gold-600);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---- Reveal (progressive enhancement) ----------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .reveal-d1 {
  transition-delay: .08s;
}

.js .reveal-d2 {
  transition-delay: .16s;
}

.js .reveal-d3 {
  transition-delay: .24s;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(246, 244, 238, .86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.site-header.is-stuck {
  background: rgba(246, 244, 238, .96);
  box-shadow: 0 6px 24px -16px rgba(11, 39, 30, .5);
  border-bottom-color: var(--line);
}

.navbar {
  min-height: var(--nav-h);
  padding: .5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand__mark svg {
  width: 20px;
  height: 20px;
}

.brand small {
  display: block;
  font-family: var(--ff-sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: -2px;
}

.nav-toggle {
  border: 1.5px solid var(--line);
  background: #fff;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: background .2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.primary-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
  padding: .55rem .9rem;
  border-radius: 8px;
  position: relative;
}

.primary-nav a:hover {
  color: var(--forest);
  background: rgba(18, 59, 46, .06);
}

.primary-nav a.active {
  color: var(--forest);
}

.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .28rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.nav-login {
  font-weight: 600;
  color: var(--forest);
  padding: .55rem .3rem;
}

@media (max-width: 991.98px) {
  .nav-panel {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    z-index: 1029;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 1.25rem 1.6rem;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s ease, opacity .28s ease, visibility .28s;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-panel.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: .1rem;
  }

  .primary-nav a {
    padding: .85rem 1rem;
    font-size: 1.06rem;
    border-radius: 10px;
  }

  .primary-nav a.active::after {
    display: none;
  }

  .primary-nav a.active {
    background: rgba(18, 59, 46, .08);
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    gap: .7rem;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-login {
    padding: .85rem 1rem;
    text-align: center;
    border-radius: 10px;
    background: rgba(18, 59, 46, .06);
  }
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }

  .nav-panel {
    display: flex !important;
    align-items: center;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--forest);
  color: #e7efe9;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}

/* Background image */
.hero::after {
  content: "";
  position: absolute;
  inset: -20px;
  background: url("/img/hero-img.jpg") center / cover no-repeat;
  filter: blur(4px);
  transform: scale(1.05);
  opacity: 0.5;
  z-index: 0;
}

.founder-editorial-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.8rem, 3.5vw, 3rem);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.founder-avatar-wrap {
  position: relative;
}

.founder-photo {
  width: 210px;
  height: 210px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(18, 59, 46, 0.15);
  border: 4px solid #fff;
}

.founder-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--forest);
  color: var(--gold);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 2px solid #fff;
}

.founder-quote {
  font-family: var(--ff-display);
  font-size: 1.12rem;
  color: var(--forest);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(198, 154, 62, 0.14);
  color: var(--forest);
  border: 1px solid rgba(198, 154, 62, 0.35);
  margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
  .founder-editorial-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-photo {
    margin: 0 auto;
    width: 170px;
    height: 170px;
  }

  .founder-badge {
    right: calc(50% - 70px);
  }
}

/* Your existing gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(1100px 520px at 85% -10%,
      rgba(198, 154, 62, .22),
      transparent 60%),
    radial-gradient(760px 500px at 0% 110%,
      rgba(47, 125, 107, .35),
      transparent 55%);

  pointer-events: none;
  z-index: 1;
}

.hero__grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  line-height: 1.02;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero__lead {
  font-size: 1.2rem;
  color: #cfe0d7;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2.2rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  align-items: center;
  color: #b9cdc2;
  font-size: .92rem;
}

.hero__trust b {
  color: #fff;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: .4rem;
}

.hero__trust-item {
  display: flex;
  align-items: baseline;
}

/* rental analysis mini form */
.analysis-card {
  background: #fff;
  color: var(--body);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.analysis-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(198, 154, 62, .6), transparent 45%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.analysis-card h2 {
  font-size: 1.45rem;
  margin-bottom: .3rem;
}

.analysis-card__sub {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1.3rem;
}

.form-field {
  margin-bottom: .95rem;
}

.form-field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .35rem;
}

.form-control,
.form-select {
  border-radius: 11px;
  border: 1.5px solid var(--line);
  padding: .72rem .9rem;
  font-size: .98rem;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.form-control::placeholder {
  color: #9aa79f;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: var(--ring);
  outline: none;
}

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

.field-error {
  color: #b23b3b;
  font-size: .78rem;
  margin-top: .3rem;
  display: none;
}

.form-field.invalid .form-control,
.form-field.invalid .form-select {
  border-color: #cf5b5b;
}

.form-field.invalid .field-error {
  display: block;
}

.form-note {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .9rem;
  margin-bottom: 0;
  text-align: center;
}

.form-success {
  display: none;
  background: rgba(47, 125, 107, .12);
  border: 1px solid rgba(47, 125, 107, .35);
  color: var(--forest);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-size: .95rem;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
}

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band {
  background: var(--forest-800);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: .5rem;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

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

.stat__num {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.02em;
}

.stat__num .suffix {
  color: #fff;
}

.stat__label {
  margin-top: .5rem;
  font-size: .92rem;
  color: #b9cdc2;
  font-weight: 500;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  transition: width .3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card:hover::after {
  width: 100%;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(18, 59, 46, .07);
  color: var(--forest);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}

.service-card:hover .service-card__icon {
  background: var(--forest);
  color: var(--gold);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.28rem;
  margin-bottom: .5rem;
}

.service-card p {
  font-size: .96rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ==========================================================================
   For owners / renters split
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.split-card {
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 2.8rem);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.split-card--owners {
  background: var(--forest);
  color: #dfeae4;
}

.split-card--owners h3,
.split-card--owners .split-card__num {
  color: #fff;
}

.split-card--renters {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.split-card__tag {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.split-card--owners .split-card__tag {
  color: var(--gold);
}

.split-card--renters .split-card__tag {
  color: var(--gold-600);
}

.split-card h3 {
  font-size: 1.9rem;
  margin-bottom: .6rem;
}

.split-card>p {
  margin-bottom: 1.4rem;
}

.split-card--owners>p {
  color: #c4d5cc;
}

.split-card--renters>p {
  color: var(--muted);
}

.bene-list {
  list-style: none;
  margin-bottom: 1.8rem;
  display: grid;
  gap: .85rem;
}

.bene-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: 1rem;
}

.bene-list li svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.split-card--owners .bene-list svg {
  color: var(--gold);
}

.split-card--renters .bene-list svg {
  color: var(--teal);
}

.split-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.split-card__img {
  border-radius: var(--radius);
  margin-bottom: 1.6rem;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

/* ==========================================================================
   Property cards
   ========================================================================== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.property-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}

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

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

.status-badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
  z-index: 2;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .34rem .7rem;
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(4px);
}

.status-badge--available {
  background: rgba(47, 125, 107, .92);
}

.status-badge--rented {
  background: rgba(23, 33, 29, .82);
}

.status-badge--pending {
  background: rgba(198, 154, 62, .95);
  color: var(--forest-900);
}

.property-card__rent {
  position: absolute;
  bottom: .85rem;
  right: .85rem;
  z-index: 2;
  background: rgba(8, 32, 25, .86);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .4rem .8rem;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.property-card__rent span {
  font-weight: 400;
  font-size: .78rem;
  color: #c4d5cc;
}

.property-card__body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-card__type {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .4rem;
}

.property-card__title {
  font-size: 1.22rem;
  margin-bottom: .25rem;
}

.property-card__addr {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.property-specs {
  list-style: none;
  display: flex;
  gap: 1.1rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--body);
}

.property-specs li {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 500;
}

.property-specs svg {
  width: 17px;
  height: 17px;
  color: var(--forest-soft);
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  position: relative;
}

.step__num {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--forest);
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 2;
}

.section--forest .step__num {
  background: var(--forest-800);
  color: var(--gold);
}

.step:not(:last-child) .step__num::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: calc(100% + 1.4rem - 52px);
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
  opacity: .5;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: .45rem;
  color: #fff;
}

.step p {
  font-size: .95rem;
  color: #b9cdc2;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .step:not(:last-child) .step__num::after {
    display: none;
  }
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.team-card {
  text-align: center;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 3px solid #fff;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: .1rem;
}

.team-card__role {
  color: var(--gold-600);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .5rem;
}

.team-card p {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.testi-card__stars {
  color: var(--gold);
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testi-card__stars svg {
  width: 18px;
  height: 18px;
}

.testi-card blockquote {
  font-family: var(--ff-display);
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.testi-card__person {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
}

.testi-card__person img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-card__person b {
  display: block;
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: .98rem;
}

.testi-card__person span {
  font-size: .84rem;
  color: var(--muted);
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: .8rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
  border-color: rgba(198, 154, 62, .5);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 1.4rem;
  font-family: var(--ff-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  line-height: 1.3;
}

.faq-q:hover {
  color: var(--forest);
}

.faq-q__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(18, 59, 46, .07);
  display: grid;
  place-items: center;
  transition: background .2s, transform .3s;
}

.faq-q__icon::before,
.faq-q__icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform .3s ease;
}

.faq-q__icon {
  position: relative;
}

.faq-q__icon::after {
  transform: rotate(90deg);
}

.faq-item.open .faq-q__icon {
  background: var(--gold);
}

.faq-item.open .faq-q__icon::after {
  transform: rotate(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}

.faq-a__inner {
  padding: 0 1.4rem 1.35rem;
  color: var(--body);
  font-size: 1rem;
}

.faq-a__inner p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--forest-800);
  color: #fff;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 90% 20%, rgba(198, 154, 62, .28), transparent 60%);
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}

.cta-inner p {
  color: #cfe0d7;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--forest-900);
  color: #a9beb3;
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand .brand small {
  color: var(--gold);
}

.footer-brand p {
  color: #93a89d;
  max-width: 30ch;
  margin-bottom: 1.3rem;
}

.footer-contact {
  list-style: none;
  display: grid;
  gap: .55rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  flex: 0 0 auto;
}

.footer-contact a {
  color: #cddbd2;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--ff-sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: .6rem;
}

.footer-col a {
  color: #a9beb3;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-maint {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.footer-maint h4 {
  color: #fff;
  margin-bottom: .4rem;
}

.footer-maint p {
  color: #93a89d;
  font-size: .88rem;
  margin-bottom: 1rem;
}

.areas-served {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.areas-served span {
  font-size: .8rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: .3rem .7rem;
  border-radius: 999px;
  color: #cddbd2;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 0;
  color: #7f9589;
  font-size: .86rem;
}

.footer-bottom a {
  color: #a9beb3;
}

.footer-social {
  display: flex;
  gap: .6rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
  color: #cddbd2;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--forest-900);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Properties page — hero + filters
   ========================================================================== */
.page-hero {
  background: var(--forest);
  color: #dfeae4;
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 80% -20%, rgba(198, 154, 62, .2), transparent 60%);
}

.page-hero__inner {
  position: relative;
  max-width: 700px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin-bottom: .8rem;
}

.page-hero p {
  color: #cfe0d7;
  font-size: 1.15rem;
  margin-bottom: 0;
}

.page-hero--sale {
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.eyebrow {
  color: var(--gold);
  font-size: .75rem !important;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .7rem !important;
}

.sale-intro {
  padding-top: clamp(3rem, 6vw, 5.5rem);
}

.sale-intro__top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.sale-intro__top h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0;
}

.sale-intro__top>p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
}

.property-grid--sale {
  grid-template-columns: repeat(4, 1fr);
}

.sale-card__link {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  color: var(--forest);
  font-weight: 700;
  margin-top: 1.25rem;
}

.sale-card__link span {
  font-size: 1.2rem;
  transition: transform .2s ease;
}

.sale-card__link:hover span {
  transform: translateX(4px);
}

.sale-card--featured {
  border-color: rgba(198, 154, 62, .7);
}

.sale-intro .property-grid--sale {
  display: none;
}

.site-showcases {
  padding: 0 0 clamp(4rem, 7vw, 7rem);
}

.site-showcase {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
}

.site-showcase__heading {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.site-number {
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  font-family: var(--ff-display);
  font-size: 1.15rem;
}

.site-showcase__heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
}

.site-showcase__price {
  color: var(--forest);
  font-weight: 700;
  margin: .3rem 0 0;
}

.site-showcase__price small {
  color: var(--muted);
  font-weight: 500;
}

.site-showcase__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr .8fr;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  align-items: start;
}

.site-showcase__photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}

.site-showcase__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-showcase__photo span {
  position: absolute;
  left: .8rem;
  bottom: .8rem;
  background: rgba(8, 32, 25, .86);
  border-radius: 8px;
  color: #fff;
  padding: .45rem .7rem;
  font-size: .83rem;
  font-weight: 600;
}

.site-showcase__content {
  display: grid;
  gap: 1.4rem;
}

.site-showcase__content h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

.site-showcase__content p {
  color: var(--muted);
  margin: 0;
}

.site-benefits {
  list-style: none;
  display: grid;
  gap: .55rem;
  padding: 0;
  margin: 0;
  color: var(--body);
}

.site-benefits li {
  position: relative;
  padding-left: 1.25rem;
}

.site-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48rem;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--gold);
}

.site-showcase__content .btn {
  justify-self: start;
}

.site-map {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem;
}

.site-map>p {
  display: flex;
  justify-content: space-between;
  color: var(--forest);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 .8rem;
}

.site-map>p span {
  color: var(--muted);
}

.site-map__road {
  background: #b8aa92;
  color: #fff;
  text-align: center;
  padding: .45rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.site-map__plots {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.site-map__plots span {
  min-height: 5.6rem;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid #fff;
  background: #dfe7da;
  color: var(--forest);
  font-size: .82rem;
  font-weight: 700;
}

.site-map__plots span:nth-child(4) {
  background: #c7d9be;
}

.site-map__plots .is-selected {
  background: var(--gold);
  color: var(--forest-900);
  box-shadow: inset 0 0 0 2px var(--forest);
}

.site-map__plots small {
  font-size: .66rem;
  font-weight: 500;
}

.site-map__caption {
  display: block;
  color: var(--muted);
  font-size: .74rem;
  margin-top: .8rem;
}

.breadcrumb-nav {
  font-size: .85rem;
  color: #a9c1b4;
  margin-bottom: 1.2rem;
}

.breadcrumb-nav a {
  color: #cfe0d7;
}

.breadcrumb-nav span {
  color: var(--gold);
}

.filter-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  margin-top: -3.2rem;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.filter-field label {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}

.filter-reset {
  background: none;
  border: none;
  color: var(--forest);
  font-weight: 600;
  cursor: pointer;
  padding: .72rem .4rem;
  white-space: nowrap;
}

.filter-reset:hover {
  color: var(--gold-600);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.8rem;
}

.chip {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--body);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
  font-family: inherit;
}

.chip:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.chip.active {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.results-count {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1.6rem;
}

.results-count b {
  color: var(--ink);
}

.no-results {
  display: none;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
}

.no-results.show {
  display: block;
}

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

.property-card.hide {
  display: none;
}

.cta-strip {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.cta-strip h2 {
  font-size: 1.9rem;
  margin-bottom: .6rem;
}

.cta-strip p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 1.6rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .analysis-card {
    max-width: 520px;
  }

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

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

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

  .site-showcase__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-map {
    grid-column: 1 / -1;
    max-width: 420px;
  }

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

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.4rem;
  }

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

  .footer-maint {
    grid-column: 1 / -1;
  }

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

@media (max-width: 575.98px) {
  body {
    font-size: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  .stat {
    border-right: none;
  }

  .stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .1);
  }

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

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

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

  .sale-intro__top {
    display: block;
  }

  .sale-intro__top>p {
    margin-top: 1rem;
  }

  .site-showcase__grid {
    grid-template-columns: 1fr;
  }

  .site-map {
    grid-column: auto;
    max-width: none;
  }

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

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

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

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

  .filter-bar {
    grid-template-columns: 1fr;
    margin-top: -1.5rem;
  }

  .hero__trust b {
    font-size: 1.25rem;
  }
}


#spwOverlay {
  --spw-ink: #2B2620;
  --spw-ink-soft: #6B6357;
  --spw-gold: #C08A2E;
  --spw-gold-deep: #A5721F;
  --spw-available: #E7F3DE;
  --spw-available-t: #4B7A2E;
  --spw-reserved: #EDEAE2;
  --spw-reserved-t: #6B6357;
  --spw-sold: #F7E2DD;
  --spw-sold-t: #B24A38;
  --spw-line: #DCD3BE;
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 12, .55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  font-family: inherit;
}

#spwOverlay.spw-open {
  display: flex;
}

#spwModal {
  background: #FFFFFF;
  border-radius: 18px;
  max-width: 380px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(16px, 2.5vw, 24px);
  position: relative;
  color: var(--spw-ink);
  text-align: left;
  animation: spwPop .18s ease;
}

@keyframes spwPop {
  from {
    transform: scale(.96);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

#spwOverlay .spw-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #F5F1E7;
  color: var(--spw-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#spwOverlay .spw-close:hover {
  background: #EFE8D6;
}

#spwModal .spw-thumb {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #DCEBD2 0%, #C7DEB9 55%, #B7D19E 56%, #9CBB80 100%);
}

#spwModal .spw-thumb svg,
#spwModal .spw-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#spwModal .spw-d-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
  padding-right: 24px;
}

#spwModal .spw-d-title h4 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
}

#spwModal .spw-status-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

#spwModal .spw-status-pill.spw-available {
  background: var(--spw-available);
  color: var(--spw-available-t);
}

#spwModal .spw-status-pill.spw-reserved {
  background: var(--spw-reserved);
  color: var(--spw-reserved-t);
}

#spwModal .spw-status-pill.spw-sold {
  background: var(--spw-sold);
  color: var(--spw-sold-t);
}

#spwModal .spw-d-size {
  color: var(--spw-ink-soft);
  font-size: 13px;
  margin: 2px 0 12px;
  font-weight: 400;
}

#spwModal .spw-facts {
  border-top: 1px solid var(--spw-line);
  padding-top: 12px;
  margin-bottom: 16px;
}

#spwModal .spw-fact-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--spw-line);
}

#spwModal .spw-fact-row:last-child {
  border-bottom: none;
}

#spwModal .spw-fact-row span:first-child {
  color: var(--spw-ink-soft);
}

#spwModal .spw-fact-row span:last-child {
  font-weight: 600;
}

#spwModal .spw-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 14px;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 9px;
}

#spwModal .spw-btn.spw-primary {
  background: var(--spw-gold);
  color: #fff;
}

#spwModal .spw-btn.spw-primary:hover {
  background: var(--spw-gold-deep);
}

#spwModal .spw-btn.spw-ghost {
  background: transparent;
  border: 1px solid var(--spw-line);
  color: var(--spw-ink);
}

#spwModal .spw-btn.spw-ghost:hover {
  background: #F5F1E7;
}

.spw-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
  align-items: center;
  justify-content: center;
}

.spw-modal-overlay.active {
  display: flex;
}

/* Booking confirmation shown after the enquiry is sent without leaving the page. */
.booking-toast[hidden] { display: none; }
.booking-toast { position: fixed; right: 20px; bottom: 20px; z-index: 4000; max-width: min(360px, calc(100vw - 40px)); padding: 14px 18px; border-radius: 10px; background: var(--forest); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); font-weight: 600; }
.booking-toast.is-error { background: #9f2f2f; }

/* Site-layout information card */
.site-layout-card {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fffdf8, var(--card));
  box-shadow: var(--shadow-sm);
}

.site-layout-card__eyebrow {
  display: inline-block;
  margin-bottom: .6rem;
  color: var(--gold-600);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-layout-card h3 { margin: 0 0 .65rem; font-size: clamp(1.65rem, 2.8vw, 2.15rem); }
.site-layout-card__intro { margin: 0; color: var(--muted); line-height: 1.6; }

.site-layout-card__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
}

.site-layout-card__facts div { min-width: 0; }
.site-layout-card__facts strong { display: block; color: var(--forest); font-family: var(--ff-display); font-size: 1.18rem; }
.site-layout-card__facts span { display: block; margin-top: .15rem; color: var(--muted); font-size: .72rem; line-height: 1.3; }

.site-layout-card__points { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; color: var(--body); font-size: .9rem; }
.site-layout-card__points li { position: relative; padding-left: 1.45rem; line-height: 1.45; }
.site-layout-card__points li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 800; }

.site-layout-card__link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--forest);
  font-weight: 700;
}

.site-layout-card__link svg { width: 1.1rem; height: 1.1rem; transition: transform .2s ease; }
.site-layout-card__link:hover { color: var(--gold-600); }
.site-layout-card__link:hover svg { transform: translateX(4px); }

/* Index page: keep the hero, enquiry form and site layout comfortable on smaller screens. */
@media (max-width: 767.98px) {
  .brand { font-size: 1.15rem; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__mark img { width: 48px !important; height: auto; }

  .hero { padding: 3rem 0 3.5rem; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.1rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { display: grid; grid-template-columns: 1fr; gap: .7rem; }
  .analysis-card { width: 100%; max-width: none; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }

  #site-plan { min-height: auto !important; padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  #site-plan h2 { font-size: clamp(2rem, 9vw, 2.7rem); line-height: 1.15; }
  #site-plan img { min-height: 0 !important; }
  #site-plan .site-layout-card { padding: 1.5rem; }
  .site-layout-card__facts { gap: .4rem; }

  .booking-toast { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); }
}

@media (max-width: 374.98px) {
  .brand small { font-size: .48rem; letter-spacing: .14em; }
  .nav-toggle { width: 42px; height: 42px; }
  .analysis-card { padding: 1.2rem; }
}


/* Must match the background color of your webpage/section */
