/* =================================================================
   Maple Grove — New Homes / Community Template
   Plain CSS3. No frameworks. Works fully offline.

   ┌──────────────────────────────────────────────────────────────┐
   │  TO REBRAND: edit the CSS variables in :root below.           │
   │  Change --green / --ink to recolor the whole site instantly.  │
   └──────────────────────────────────────────────────────────────┘
   ================================================================= */

:root {
  /* ---- Brand colors (edit these to rebrand) ---- */
  --green: #3f7d5a;          /* primary brand color (warm green) */
  --green-deep: #2c5a40;     /* darker green for gradients / hover */
  --green-soft: #eaf3ee;     /* tinted background wash */
  --sun: #e8a44b;            /* warm accent (tags, highlights) */

  /* ---- Neutrals ---- */
  --white: #ffffff;
  --soft: #f6f8f5;           /* soft alternating background */
  --ink: #1f2a24;            /* main text */
  --muted: #5f6f66;          /* secondary text */
  --line: #e2e8e3;           /* borders / dividers */

  /* ---- Typography ---- */
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* ---- Effects & layout ---- */
  --radius: 18px;
  --radius-sm: 11px;
  --shadow-sm: 0 4px 14px rgba(31, 42, 36, 0.06);
  --shadow-md: 0 14px 36px rgba(31, 42, 36, 0.12);
  --shadow-lg: 0 24px 60px rgba(31, 42, 36, 0.18);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.4em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

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

ul { margin: 0; padding: 0; list-style: none; }

/* ============================= LAYOUT HELPERS ============================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-alt { background: var(--soft); }

.section-head {
  max-width: 660px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.accent { color: var(--green); }

/* ============================= BUTTONS ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(63, 125, 90, 0.32);
}
.btn-primary:hover { background: var(--green-deep); }

.btn-secondary {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); box-shadow: var(--shadow-sm); }

.btn-light { background: var(--white); color: var(--green-deep); }
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* ============================= HEADER ============================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: var(--white);
}

.logo-text { letter-spacing: -0.03em; }

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

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.98rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

/* Animated underline on nav links */
.main-nav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.28s var(--ease);
}
.main-nav ul a:hover { color: var(--green); }
.main-nav ul a:hover::after { width: 100%; }

.main-nav ul a.active { color: var(--green); font-weight: 600; }
.main-nav ul a.active::after { width: 100%; }

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

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Hamburger -> X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================= HERO ============================= */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.hero.has-photo {
  background:
    linear-gradient(155deg, rgba(31, 42, 36, 0.72) 0%, rgba(44, 90, 64, 0.66) 100%),
    var(--hero-photo) center / cover no-repeat;
}

.hero-inner { position: relative; padding: 120px 0 128px; }

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

.hero .eyebrow {
  color: #d8f0e1;
  background: rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.35em;
}
.hero h1 .accent { color: #b9e6cb; }

.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.96rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

/* ============================= INTRO ============================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.intro-media img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.intro-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.intro-text p { color: var(--muted); }
.intro-text .btn { margin-top: 10px; }

/* ============================= MODEL CARDS ============================= */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.model-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.model-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.model-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--green-soft);
}
.model-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.model-card:hover .model-media img { transform: scale(1.06); }

/* Tag pills */
.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  z-index: 2;
}
.tag-ready { background: var(--green); }
.tag-popular { background: var(--sun); color: #4a3208; }

.model-body { padding: 22px 22px 24px; }
.model-collection {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.model-title { font-size: 1.3rem; margin-bottom: 12px; }

.model-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.model-specs li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}

.model-blurb { color: var(--muted); font-size: 0.94rem; margin-bottom: 16px; }

.model-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.model-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--green-deep);
}
.model-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.model-link:hover { color: var(--green-deep); transform: translateX(3px); }

/* ============================= AMENITY TEASER (index) ============================= */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.amenity-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 24px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.amenity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green); }
.amenity-media { display: block; height: 160px; overflow: hidden; background: var(--green-soft); }
.amenity-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.amenity-card:hover .amenity-media img { transform: scale(1.06); }
.amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 1.7rem;
  border-radius: 16px;
  background: var(--green-soft);
  margin: -30px auto 14px;
  position: relative;
  border: 3px solid var(--white);
}
.amenity-card h3 { font-size: 1.15rem; margin-bottom: 4px; padding: 0 18px; }
.amenity-card p { color: var(--muted); margin: 0; font-size: 0.92rem; padding: 0 20px; }

/* ============================= STEPS / PROCESS ============================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: var(--white);
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.15rem; }
.step-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ============================= FEATURES (about) ============================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.features-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.6rem;
  border-radius: 14px;
  background: var(--green-soft);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* ============================= STATS BAND ============================= */
.stats-band {
  background:
    radial-gradient(800px 300px at 50% -40%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(160deg, var(--green), var(--green-deep));
  color: var(--white);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--white);
  line-height: 1;
}
.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  margin-top: 6px;
  display: block;
}

/* ============================= TESTIMONIALS ============================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { color: var(--sun); letter-spacing: 2px; margin-bottom: 14px; font-size: 1.05rem; }
.testimonial-card blockquote {
  margin: 0 0 22px;
  font-size: 1.04rem;
  color: var(--ink);
  line-height: 1.7;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.t-meta { display: flex; flex-direction: column; line-height: 1.3; }
.t-meta strong { color: var(--ink); font-family: var(--font-head); }
.t-meta small { color: var(--muted); }

/* ============================= CTA BAND ============================= */
.cta-band {
  background:
    radial-gradient(700px 360px at 80% 120%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(135deg, var(--green-deep), var(--green) 75%);
  color: var(--white);
  padding: 84px 0;
}
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); }
.cta-inner p { color: rgba(255, 255, 255, 0.9); font-size: 1.12rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================= FOOTER ============================= */
.site-footer { background: #1a241e; color: rgba(255, 255, 255, 0.7); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 68px 24px 48px;
}
.logo-footer { color: var(--white); margin-bottom: 16px; }
.logo-footer .logo-text { color: var(--white); }
.footer-tagline { font-size: 0.95rem; max-width: 320px; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.1rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.social a:hover { background: var(--green); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: #b9e6cb; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 24px;
  font-size: 0.88rem;
}
.footer-bottom-inner p { margin: 0; }

/* ============================= PAGE BANNER ============================= */
.page-banner {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(900px 460px at 88% -20%, rgba(255, 255, 255, 0.1), transparent 60%),
    linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  overflow: hidden;
  padding: 86px 0 72px;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-banner .container { position: relative; }
.page-banner .eyebrow {
  color: #d8f0e1;
  background: rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: 999px;
}
.page-banner h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 14px 0 0.3em; }
.page-banner-sub { color: rgba(255, 255, 255, 0.88); font-size: 1.12rem; max-width: 620px; margin: 0; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-family: var(--font-head);
  color: rgba(255, 255, 255, 0.72);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.8); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: #d8f0e1; }
.breadcrumb span[aria-hidden] { color: rgba(255, 255, 255, 0.4); }

/* ============================= FILTER BAR (homes) ============================= */
.filter-bar {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr auto;
  gap: 14px;
  background: var(--white);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  align-items: end;
  margin-top: -56px;
  position: relative;
  z-index: 5;
  margin-bottom: 32px;
}
.filter-field { display: flex; flex-direction: column; text-align: left; }
.filter-field label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 4px 12px;
}
.filter-field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.filter-field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 125, 90, 0.18);
}
.filter-reset { height: 48px; align-self: end; }

.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.listings-count { margin: 0; color: var(--muted); }
.listings-count strong { color: var(--green-deep); font-family: var(--font-head); font-size: 1.15rem; }
.filter-empty { margin: 0; color: var(--muted); font-weight: 500; }

/* ============================= FLOOR PLAN HIGHLIGHT ============================= */
.floorplan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.floorplan-media img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.floorplan-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.floorplan-text p { color: var(--muted); }
.floorplan-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 18px 0 24px;
}
.floorplan-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.floorplan-list span { color: var(--green); font-weight: 700; }

/* ============================= LIFESTYLE (community amenities) ============================= */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.lifestyle-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.lifestyle-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.lifestyle-media { height: 220px; overflow: hidden; background: var(--green-soft); }
.lifestyle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.lifestyle-card:hover .lifestyle-media img { transform: scale(1.06); }
.lifestyle-body { padding: 24px 24px 26px; position: relative; }
.lifestyle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.6rem;
  border-radius: 16px;
  background: var(--green-soft);
  border: 3px solid var(--white);
  margin-top: -52px;
  margin-bottom: 12px;
}
.lifestyle-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.lifestyle-body p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ============================= SITE PLAN ============================= */
.siteplan-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.siteplan-map {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(45deg, #eef3ec, #eef3ec 22px, #e6efe6 22px, #e6efe6 44px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: 18px;
}
.siteplan-zone, .siteplan-core, .siteplan-green {
  position: absolute;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.zone-a { top: 8%; left: 6%; background: #5a9e76; }
.zone-b { top: 8%; right: 6%; background: #4f8e69; }
.zone-c { bottom: 10%; left: 6%; background: #3f7d5a; }
.siteplan-core {
  top: 42%; left: 50%; transform: translate(-50%, -50%);
  background: var(--green-deep);
  font-size: 0.95rem;
}
.siteplan-green { background: rgba(63, 125, 90, 0.85); }
.green-1 { bottom: 12%; right: 8%; }
.green-2 { top: 38%; left: 8%; }

.siteplan-legend h3 { font-size: 1.3rem; }
.siteplan-list { margin-bottom: 18px; }
.siteplan-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.96rem;
}
.siteplan-list strong { font-family: var(--font-head); }
.dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }
.dot-a { background: #5a9e76; }
.dot-b { background: #4f8e69; }
.dot-c { background: #3f7d5a; }
.dot-core { background: var(--green-deep); }
.dot-green { background: rgba(63, 125, 90, 0.85); }
.siteplan-note { color: var(--muted); font-size: 0.88rem; }

/* ============================= NEARBY ============================= */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.nearby-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nearby-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.nearby-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 1.7rem;
  border-radius: 16px;
  background: var(--green-soft);
  margin-bottom: 12px;
}
.nearby-card h3 { font-size: 1.4rem; color: var(--green-deep); margin-bottom: 4px; }
.nearby-card p { color: var(--muted); margin: 0; font-size: 0.92rem; }

/* ============================= ABOUT ============================= */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.about-text p { color: var(--muted); }
.about-text .btn { margin-top: 10px; }
.about-visual img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--green-soft);
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-role { color: var(--green); font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; }
.team-bio { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ============================= FORMS (contact) ============================= */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h2 { font-size: 1.6rem; margin-bottom: 4px; }

.form-field { display: flex; flex-direction: column; text-align: left; margin-bottom: 16px; }
.form-field label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 6px 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 125, 90, 0.18);
}
.form-field input.invalid,
.form-field textarea.invalid { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.14); }
.field-error { color: #d9534f; font-size: 0.82rem; margin-top: 5px; min-height: 1em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-submit { margin-top: 4px; }
.form-status { margin: 16px 0 0; font-weight: 500; min-height: 1.4em; }
.form-status.success { color: var(--green-deep); }
.form-status.error { color: #d9534f; }

/* ---- Contact info ---- */
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  border-radius: 14px;
  background: var(--green-soft);
  margin-bottom: 12px;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.info-card p { margin: 0 0 4px; color: var(--ink); }
.info-card a { color: var(--green-deep); font-weight: 600; }
.info-card a:hover { text-decoration: underline; }
.info-note { color: var(--muted); font-size: 0.88rem; }

/* ---- Map placeholder ---- */
.map-placeholder {
  background:
    repeating-linear-gradient(45deg, var(--soft), var(--soft) 18px, #eef3ec 18px, #eef3ec 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}
.map-pin { font-size: 2.4rem; margin-bottom: 8px; }
.map-placeholder p { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--green-deep); }
.map-note { color: var(--muted) !important; font-size: 0.88rem; margin-top: 4px !important; font-weight: 500 !important; }

/* ============================= SCROLL REVEAL ============================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

.models-grid .reveal.is-visible,
.amenity-grid .reveal.is-visible,
.steps-grid .reveal.is-visible,
.features-grid .reveal.is-visible,
.team-grid .reveal.is-visible,
.lifestyle-grid .reveal.is-visible,
.nearby-grid .reveal.is-visible,
.testimonials-grid .reveal.is-visible { transition-delay: var(--reveal-delay, 0s); }

/* Fallback: no JS / no IntersectionObserver */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .model-card:hover, .amenity-card:hover, .step-card:hover,
  .feature-card:hover, .team-card:hover, .lifestyle-card:hover,
  .nearby-card:hover, .testimonial-card:hover { transform: none; }
}

/* ============================= RESPONSIVE ============================= */
@media (max-width: 992px) {
  .models-grid,
  .lifestyle-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid,
  .steps-grid,
  .features-grid,
  .features-grid-3,
  .team-grid,
  .nearby-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .intro-grid,
  .floorplan-grid,
  .about-split,
  .siteplan-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .filter-bar { grid-template-columns: 1fr 1fr; margin-top: -48px; }
  .filter-reset { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav ul li { border-bottom: 1px solid var(--line); }
  .main-nav ul a { display: block; padding: 14px 4px; }
  .main-nav ul a::after { display: none; }
  .main-nav ul a.active { color: var(--green); }
  .nav-cta { margin-top: 14px; width: 100%; }

  .section { padding: 70px 0; }
  .hero-inner { padding: 90px 0 96px; }
  .page-banner { padding: 64px 0 56px; }
  .footer-bottom-inner { flex-direction: column; }
}

@media (max-width: 560px) {
  .models-grid,
  .lifestyle-grid,
  .testimonials-grid,
  .amenity-grid,
  .steps-grid,
  .features-grid,
  .features-grid-3,
  .team-grid,
  .nearby-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; margin-top: -40px; }
  .floorplan-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .container { padding: 0 18px; }
  .contact-form-wrap { padding: 24px; }
  .siteplan-map { min-height: 320px; }
}
