/* =========================================================================
   Palmgrove Township — "Masterplan Green"
   Fraunces (display) + Inter (text) · forest green, leaf, cream, gold
   ========================================================================= */

:root {
  /* Palette */
  --green:        #24402E;   /* deep forest — brand */
  --green-800:    #1B3123;
  --green-700:    #2E4E38;
  --green-600:    #3A6046;
  --leaf:         #7FA653;   /* leaf accent */
  --leaf-600:     #6B9143;
  --leaf-200:     #C6D8AC;
  --gold:         #C0973F;   /* fine gold rule */
  --gold-soft:    #D8B76A;
  --cream:        #F5F0E3;   /* warm section base */
  --cream-2:      #EFE8D6;
  --paper:        #FBF9F1;   /* near-white paper */
  --ink:          #1E2A22;   /* body ink */
  --ink-soft:     #48564C;
  --line:         rgba(36, 64, 46, 0.14);
  --line-strong:  rgba(36, 64, 46, 0.24);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --pad-x: clamp(1.15rem, 5vw, 3.5rem);
  --sec-y: clamp(4rem, 9vw, 8rem);
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(27, 49, 35, .06), 0 4px 14px rgba(27, 49, 35, .06);
  --shadow-md: 0 8px 30px rgba(27, 49, 35, .12);
  --shadow-lg: 0 26px 60px -18px rgba(27, 49, 35, .38);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 460;
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  color: var(--green-800);
}

::selection { background: var(--leaf); color: #fff; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100%;
  background: var(--green); color: #fff;
  padding: .7rem 1.15rem; border-radius: var(--radius);
  z-index: 200; font-weight: 600; font-size: .9rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--sec-y); }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--leaf-600);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px;
  background: var(--gold); display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.on-dark::before { background: var(--gold-soft); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.35rem);
  margin: 1rem 0 .85rem;
}
.section-head p { color: var(--ink-soft); font-size: clamp(1.02rem, 1rem + .3vw, 1.18rem); max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.6rem;
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--leaf); color: #14210f; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--leaf-600); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--green); color: var(--cream); }
.btn--dark:hover { background: var(--green-700); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--green); background: rgba(36,64,46,.04); }
.btn--light { background: var(--cream); color: var(--green-800); }
.btn--light:hover { background: #fff; }
.btn--wide { width: 100%; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 249, 241, 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(27,49,35,.5);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: clamp(66px, 8vw, 82px);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--green-800); }
.brand .mark { flex: none; width: 40px; height: 40px; }
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word b {
  font-family: var(--serif); font-weight: 500; font-size: 1.32rem;
  letter-spacing: -.01em; color: var(--green-800);
}
.brand .word span {
  font-size: .61rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--leaf-600); font-weight: 600; margin-top: .28rem;
}

.primary-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.3rem); }
.primary-nav a {
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: .3rem 0;
  transition: color .2s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--leaf); transition: width .3s var(--ease);
}
.primary-nav a:hover { color: var(--green-800); }
.primary-nav a:hover::after { width: 100%; }

.header-cta { display: inline-flex; align-items: center; gap: 1rem; }
.header-cta .btn { padding: .7rem 1.25rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  border-radius: 10px; background: transparent; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--green-800); transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -8px); }
.nav-toggle span::after  { transform: translate(-50%, 6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); background: var(--green-800); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, 0) rotate(-45deg); background: var(--green-800); }

@media (max-width: 940px) {
  .header-cta .btn--dark, .primary-nav { display: none; }
  .nav-toggle { display: inline-block; }

  .primary-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: .6rem var(--pad-x) 1.4rem;
    box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open a { padding: .95rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .primary-nav.is-open a::after { display: none; }
  .primary-nav.is-open .btn {
    display: inline-flex; margin-top: 1rem; padding: .9rem 1.5rem;
  }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero-copy h1 {
  font-size: clamp(2.7rem, 1.6rem + 5vw, 5.1rem);
  line-height: .98; letter-spacing: -.025em; margin-bottom: 1.4rem;
}
.hero-copy h1 em {
  font-style: italic; color: var(--leaf-600); font-weight: 400;
}
.hero-copy .lede {
  font-size: clamp(1.08rem, 1rem + .5vw, 1.28rem); color: var(--ink-soft);
  max-width: 34rem; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 4vw, 2.75rem);
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
  padding-top: 1.9rem; border-top: 1px solid var(--line);
}
.hero-stats .stat b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); color: var(--green-800); line-height: 1;
}
.hero-stats .stat span { font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }

/* Hero visual + plan motif */
.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(27,49,35,.55) 100%);
}
.hero-tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 3;
  display: flex; align-items: center; gap: .7rem;
  background: rgba(20, 33, 15, .5); backdrop-filter: blur(8px);
  color: var(--cream); padding: .7rem 1.05rem; border-radius: 999px;
  font-size: .82rem; font-weight: 500; border: 1px solid rgba(255,255,255,.16);
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(127,166,83,.3); }

.hero-badge {
  position: absolute; top: -14px; right: -12px; z-index: 4;
  width: clamp(92px, 12vw, 128px); height: clamp(92px, 12vw, 128px);
  color: var(--green);
}
.hero-badge svg { width: 100%; height: 100%; }
.hero-badge .spin { transform-origin: 50% 50%; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-badge .spin { animation: none; } }

/* faint contour plan lines behind hero */
.plan-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  color: var(--leaf); opacity: .12;
}
.plan-lines svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-frame { aspect-ratio: 16 / 11; }
}

/* =========================================================================
   Marquee strip
   ========================================================================= */
.strip {
  background: var(--green); color: var(--cream); overflow: hidden;
  border-block: 1px solid var(--green-700);
}
.strip .track {
  display: flex; gap: 3.5rem; padding-block: 1rem; white-space: nowrap;
  width: max-content; animation: marquee 34s linear infinite;
}
.strip .track span {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--cream-2);
}
.strip .track span::before { content: "❋"; color: var(--gold-soft); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip .track { animation: none; } }

/* =========================================================================
   About / Story
   ========================================================================= */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-copy h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin: 1rem 0 1.3rem; }
.about-copy p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 38rem; }
.about-copy p strong { color: var(--green-800); font-weight: 600; }
.about-sign {
  margin-top: 1.8rem; display: flex; align-items: center; gap: 1rem;
  font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--green-700);
}
.about-sign small { display: block; font-family: var(--sans); font-style: normal; font-size: .78rem; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }

.about-visual { position: relative; }
.about-visual .fig {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 6;
}
.about-visual .fig img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .float {
  position: absolute; left: -1.4rem; bottom: -1.4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem; box-shadow: var(--shadow-md); max-width: 15rem;
}
.about-visual .float b { font-family: var(--serif); font-size: 1.9rem; color: var(--leaf-600); display: block; line-height: 1; }
.about-visual .float span { font-size: .82rem; color: var(--ink-soft); }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 26rem; }
  .about-visual .float { left: auto; right: -.5rem; }
}

/* =========================================================================
   Developments / Listings
   ========================================================================= */
.dev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.9rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--leaf-200); }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-status {
  position: absolute; top: .8rem; left: .8rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .38rem .7rem; border-radius: 999px; color: #14210f;
  background: var(--leaf); box-shadow: var(--shadow-sm);
}
.card-status.soon { background: var(--gold-soft); }
.card-status.sold { background: #C6C1B2; color: #3a3a32; }
.card-body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-locality { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--leaf-600); font-weight: 600; }
.card-body h3 { font-size: 1.4rem; margin: .35rem 0 .55rem; }
.card-desc { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.card-specs {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem;
}
.card-specs li {
  font-size: .78rem; color: var(--green-700); font-weight: 500;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  padding: .32rem .7rem;
}
.card-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.card-price b { font-family: var(--serif); font-size: 1.28rem; color: var(--green-800); display: block; line-height: 1.1; }
.card-price span { font-size: .74rem; color: var(--ink-soft); }
.card-link {
  font-size: .84rem; font-weight: 600; color: var(--leaf-600);
  display: inline-flex; align-items: center; gap: .35rem;
}
.card-link .arrow { transition: transform .3s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(4px); }

@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* =========================================================================
   Signature: The Masterplan
   ========================================================================= */
.masterplan { background: var(--green); color: var(--cream); position: relative; overflow: hidden; }
.masterplan .plan-bg {
  position: absolute; inset: 0; opacity: .1; color: var(--leaf); pointer-events: none;
}
.masterplan .plan-bg svg { width: 100%; height: 100%; }
.masterplan .wrap { position: relative; z-index: 1; }
.masterplan h2 { color: var(--cream); font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem); }
.masterplan .section-head p { color: var(--leaf-200); }

.plan-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start; margin-top: 1rem;
}

/* plan key + big stats */
.plan-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--green-700); border: 1px solid var(--green-700); border-radius: var(--radius-lg); overflow: hidden; }
.plan-stats .cell { background: var(--green-800); padding: 1.5rem 1.4rem; }
.plan-stats .cell b {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
  color: #fff; display: block; line-height: 1;
}
.plan-stats .cell b .unit { font-size: .9rem; color: var(--gold-soft); font-family: var(--sans); font-weight: 600; margin-left: .2rem; }
.plan-stats .cell span { font-size: .82rem; color: var(--leaf-200); }

/* land-use bars */
.landuse { margin-top: 1.6rem; }
.landuse h3 { color: var(--cream); font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; margin-bottom: 1rem; }
.landuse-row { margin-bottom: 1rem; }
.landuse-row .lu-top { display: flex; justify-content: space-between; font-size: .86rem; margin-bottom: .4rem; color: var(--cream-2); }
.landuse-row .lu-top b { color: #fff; font-weight: 600; }
.lu-bar { height: 8px; background: var(--green-700); border-radius: 999px; overflow: hidden; }
.lu-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.3s var(--ease); }
.lu-fill.villas { background: var(--leaf); }
.lu-fill.plots  { background: var(--gold-soft); }
.lu-fill.apts   { background: #8FB4C9; }
.lu-fill.open   { background: var(--leaf-200); }

/* phases + amenities */
.plan-side { display: flex; flex-direction: column; gap: 1.6rem; }
.phases { border: 1px solid var(--green-700); border-radius: var(--radius-lg); overflow: hidden; }
.phase {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  padding: 1.05rem 1.3rem; border-bottom: 1px solid var(--green-700);
}
.phase:last-child { border-bottom: 0; }
.phase .ph-no { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-soft); width: 2.4rem; }
.phase .ph-body b { display: block; color: #fff; font-weight: 600; font-size: 1rem; }
.phase .ph-body span { font-size: .82rem; color: var(--leaf-200); }
.phase .ph-state {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .32rem .65rem; border-radius: 999px; white-space: nowrap;
}
.phase .ph-state.done { background: var(--leaf); color: #14210f; }
.phase .ph-state.live { background: var(--gold-soft); color: #3a2c05; }
.phase .ph-state.next { background: transparent; color: var(--leaf-200); border: 1px solid var(--green-600); }

.amenities h3 { color: var(--cream); font-size: 1.1rem; font-family: var(--sans); font-weight: 600; margin-bottom: 1rem; }
.amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.amenity {
  display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--cream-2);
}
.amenity svg { flex: none; width: 22px; height: 22px; color: var(--leaf); }

.plan-cta {
  margin-top: clamp(2.2rem, 5vw, 3.2rem); padding-top: 2rem; border-top: 1px solid var(--green-700);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.plan-cta p { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.7rem); color: var(--cream); max-width: 30rem; }

@media (max-width: 860px) { .plan-layout { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .amenity-grid, .plan-stats { grid-template-columns: 1fr; } }

/* =========================================================================
   Gallery
   ========================================================================= */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; gap: clamp(.7rem, 1.5vw, 1.1rem); margin-top: clamp(2rem, 4vw, 3rem);
}
.gallery-grid figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream-2); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figcaption {
  position: absolute; left: .9rem; bottom: .9rem; z-index: 2;
  color: #fff; font-size: .82rem; font-weight: 500;
  background: rgba(20,33,15,.5); backdrop-filter: blur(6px);
  padding: .4rem .8rem; border-radius: 999px; opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }
.g-a { grid-column: span 2; grid-row: span 2; }
.g-b { grid-column: span 2; }
.g-e { grid-column: span 2; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-a { grid-column: span 2; grid-row: span 2; }
  .g-b, .g-e { grid-column: span 2; }
}

/* =========================================================================
   Why us / credibility
   ========================================================================= */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.9rem); margin-top: clamp(2rem, 4vw, 3rem); }
.why-card {
  padding: 1.9rem 1.7rem; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-card .ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream); color: var(--leaf-600); margin-bottom: 1.2rem; border: 1px solid var(--line);
}
.why-card .ico svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.28rem; margin-bottom: .55rem; }
.why-card p { font-size: .94rem; color: var(--ink-soft); }

/* people row */
.team-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.9rem); margin-top: 2.4rem; }
.member { display: flex; align-items: center; gap: 1rem; padding: 1.1rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.member .avatar {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem;
  color: #fff; background: var(--green-700); box-shadow: inset 0 0 0 2px var(--leaf);
}
.member b { font-size: 1.02rem; color: var(--green-800); display: block; }
.member span { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 900px) { .why-grid, .team-row { grid-template-columns: 1fr; } }

/* =========================================================================
   Testimonials
   ========================================================================= */
.testi { background: var(--green-800); color: var(--cream); }
.testi h2 { color: var(--cream); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.8rem); margin-top: clamp(2rem, 4vw, 3rem); }
.quote {
  background: var(--green-700); border: 1px solid var(--green-600);
  border-radius: var(--radius-lg); padding: 1.8rem 1.7rem; display: flex; flex-direction: column;
}
.quote .stars { color: var(--gold-soft); letter-spacing: .12em; font-size: .95rem; margin-bottom: 1rem; }
.quote blockquote { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: #fff; margin-bottom: 1.4rem; }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--green-600); display: grid; place-items: center; font-family: var(--serif); color: var(--gold-soft); }
.quote .who b { color: #fff; display: block; font-size: .95rem; }
.quote .who span { color: var(--leaf-200); font-size: .8rem; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Contact / Visit
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-aside h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); margin: 1rem 0 1rem; }
.contact-aside p { color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.8rem; }

.info-list { display: flex; flex-direction: column; gap: 1.15rem; margin-bottom: 2rem; }
.info-item { display: flex; gap: .95rem; align-items: flex-start; }
.info-item .ico { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; color: var(--leaf-600); }
.info-item .ico svg { width: 21px; height: 21px; }
.info-item b { display: block; font-size: .95rem; color: var(--green-800); }
.info-item span, .info-item a { font-size: .92rem; color: var(--ink-soft); }
.info-item a:hover { color: var(--leaf-600); }

.quick-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.qa {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 600;
  padding: .8rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line-strong); color: var(--green-800);
  transition: transform .3s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.qa:hover { transform: translateY(-2px); }
.qa.wa { background: #1FA855; border-color: #1FA855; color: #fff; }
.qa.wa:hover { background: #178c46; }
.qa svg { width: 18px; height: 18px; }

/* Form */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.form-card .form-sub { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--green-800); margin-bottom: .45rem; }
.field label .req { color: var(--leaf-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  padding: .82rem .95rem; border: 1.5px solid var(--line-strong); border-radius: 8px;
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa196; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(127,166,83,.2);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-reassure { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; display: flex; align-items: center; gap: .5rem; }
.form-reassure svg { width: 16px; height: 16px; color: var(--leaf-600); flex: none; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--green-800); color: var(--cream-2); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); padding-bottom: 2.6rem; border-bottom: 1px solid var(--green-700); }
.footer-brand .brand .word b { color: #fff; }
.footer-brand p { margin-top: 1.1rem; max-width: 24rem; font-size: .92rem; color: var(--leaf-200); }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; }
.footer-col a, .footer-col address { display: block; font-size: .92rem; color: var(--cream-2); margin-bottom: .7rem; font-style: normal; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: .7rem; margin-top: 1.3rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--green-600);
  display: grid; place-items: center; color: var(--cream-2);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: var(--leaf); color: #14210f; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.8rem; font-size: .84rem; color: var(--leaf-200);
}
.footer-bottom a { color: var(--gold-soft); font-weight: 600; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 780px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* =========================================================================
   Reveal animation
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card, .btn, .why-card, .gallery-grid img, .card-media img { transition: none !important; }
}

/* =========================================================================
   Contact page hero + thank you
   ========================================================================= */
.page-hero { background: var(--green); color: var(--cream); padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero .plan-bg { position: absolute; inset: 0; opacity: .1; color: var(--leaf); }
.page-hero .plan-bg svg { width: 100%; height: 100%; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4rem); margin: 1.1rem 0 1rem; letter-spacing: -.02em; }
.page-hero p { color: var(--leaf-200); max-width: 40rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem); }
.breadcrumb { font-size: .82rem; color: var(--leaf-200); margin-bottom: .4rem; }
.breadcrumb a:hover { color: #fff; }

.thanks { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.thanks-inner { max-width: 40rem; }
.thanks .check {
  width: 84px; height: 84px; margin: 0 auto 1.8rem; border-radius: 50%;
  background: var(--leaf); display: grid; place-items: center; color: #14210f;
  box-shadow: 0 0 0 10px rgba(127,166,83,.16);
}
.thanks .check svg { width: 42px; height: 42px; }
.thanks h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.5rem); margin-bottom: 1rem; }
.thanks p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 2rem; max-width: 34rem; margin-inline: auto; }
.thanks .actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
