/* ============================================================
   GreenCut Co. - stylesheet
   Tokens → base → layout → components → animations → responsive
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --forest: #1a2e14;          /* primary dark */
  --forest-soft: #24411b;
  --grass: #6abf3a;           /* bright accent */
  --grass-dark: #569a2d;
  --offwhite: #f5f6f0;        /* light background */
  --white: #ffffff;
  --ink: #1c241a;             /* body text on light */
  --muted: #5d6b56;           /* secondary text */
  --line: #e3e6db;            /* hairline borders */
  --card-shadow: 0 6px 24px rgba(26, 46, 20, 0.08);
  --card-shadow-lift: 0 14px 38px rgba(26, 46, 20, 0.16);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 300ms;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--forest);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--white); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--grass-dark);
  margin-bottom: 12px;
}

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grass);
  --btn-fg: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  will-change: transform;
}
.btn:hover { transform: scale(1.03); background: var(--grass-dark); box-shadow: 0 8px 20px rgba(86,154,45,0.35); }
.btn:active { transform: scale(0.97); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.85);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); color: var(--white); box-shadow: none; }

.btn--dark { background: var(--forest); color: var(--white); }
.btn--dark:hover { background: var(--forest-soft); }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: padding var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
              background-color var(--t-med) var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
  transition: padding var(--t-med) var(--ease);
}
.nav.is-shrunk { box-shadow: 0 4px 18px rgba(26,46,20,0.08); }
.nav.is-shrunk .nav__inner { padding-top: 10px; padding-bottom: 10px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 800; font-size: 1.5rem; color: var(--forest); letter-spacing: -0.01em; }
.brand__logo { width: 38px; height: 38px; flex: none; color: var(--grass); }
.brand__co { color: var(--grass); }

.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--forest);
  padding: 4px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 100%;
  background: var(--grass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
/* current page = boxed outline (brand colors) */
.nav__link.is-active {
  border: 1.5px solid var(--grass);
  border-radius: 9px;
  padding: 6px 14px;
}
.nav__link.is-active::after { display: none; }

.nav__cta { margin-left: 6px; }

/* ---- Transparent nav overlaying the hero (home page) ---- */
.nav--overlay {
  position: fixed;
  left: 0; right: 0; top: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.nav--overlay:not(.is-shrunk) .brand { color: #fff; }
.nav--overlay:not(.is-shrunk) .brand__logo { color: var(--grass); }
.nav--overlay:not(.is-shrunk) .brand__co { color: var(--grass); }
.nav--overlay:not(.is-shrunk) .nav__link { color: rgba(255,255,255,0.92); }
.nav--overlay:not(.is-shrunk) .nav__link.is-active { border-color: rgba(255,255,255,0.85); }
.nav--overlay:not(.is-shrunk) .nav__toggle span { background: #fff; }
/* once scrolled, fall back to the solid light bar */
.nav--overlay.is-shrunk {
  position: sticky;
  background: rgba(245, 246, 240, 0.95);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
}
/* keep hero content clear of the fixed bar */
body.has-overlay-nav { padding-top: 0; }

/* hamburger */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent; cursor: pointer;
  padding: 10px;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--forest);
  border-radius: 2px; margin: 5px 0;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__backdrop {
  position: fixed; inset: 0;
  background: rgba(26,46,20,0.45);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
  z-index: 99;
}
.nav__backdrop.is-open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(26,46,20,0.62), rgba(26,46,20,0.30)),
    url('/assets/hero-lawn.jpg') center 40% / cover no-repeat,
    linear-gradient(180deg, #3b6b27, #234017);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; padding: 120px 0 90px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  margin-bottom: 18px;
  text-shadow: 0 2px 22px rgba(0,0,0,0.4);
}
.hero__accent { display: block; color: var(--grass); font-style: italic; }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--grass);
  margin-bottom: 16px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  margin-bottom: 30px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* placeholder photo label (shared) */
.ph-label {
  position: absolute;
  z-index: 3;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: max-content;
  max-width: 90%;
  background: rgba(26,46,20,0.78);
  border: 2px dashed rgba(106,191,58,0.9);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  pointer-events: none;
}
.ph-label strong { display: block; font-size: 0.92rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grass); }
.ph-label span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.85); margin-top: 4px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--forest); color: var(--white); }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding: 26px 0;
}
.trust { display: flex; align-items: center; gap: 12px; justify-content: center; font-weight: 600; font-size: 0.98rem; }
.trust svg { flex: none; color: var(--grass); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--card-shadow);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-lift);
  border-color: var(--grass);
}
.card__media {
  position: relative;
  height: 150px;
  margin: -28px -26px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26,46,20,0.2), rgba(106,191,58,0.22)),
    linear-gradient(180deg, #cdd8c2, #aebfa0);
  border-bottom: 1px solid var(--line);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media .ph-label {
  padding: 8px 12px;
  border-width: 1.5px;
}
.card__media .ph-label strong { font-size: 0.72rem; }
.card__media .ph-label span { font-size: 0.66rem; }

.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(106,191,58,0.14);
  color: var(--grass-dark);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.card__desc { color: var(--muted); margin-bottom: 14px; }
.card__price { font-weight: 800; color: var(--forest); font-family: var(--sans); font-size: 1.05rem; }
.card__price span { color: var(--grass-dark); }

/* ---------- Our Work gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.gallery__item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-lift);
  border-color: var(--grass);
}
.gallery__item img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.gallery__item figcaption {
  padding: 14px 18px;
  font-weight: 600;
  color: var(--forest);
  font-size: 0.95rem;
}
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__item--wide img { height: 440px; }

/* ---------- Service packages (pricing tiers) ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-lift);
  border-color: var(--grass);
}
.tier--featured {
  border: 2px solid var(--grass);
  box-shadow: var(--card-shadow-lift);
}
@media (min-width: 721px) {
  .tier--featured { transform: scale(1.04); }
  .tier--featured:hover { transform: scale(1.04) translateY(-4px); }
}
.tier__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grass);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(106,191,58,0.35);
}
.tier__head {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.tier__head h3 { font-size: 1.4rem; margin: 0 0 8px; }
.tier__price { font-family: var(--sans); font-weight: 600; color: var(--muted); font-size: 0.92rem; margin: 0; }
.tier__price span {
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--forest);
  line-height: 1.1;
  margin-top: 2px;
}
.tier--featured .tier__price span { color: var(--grass-dark); }
.tier__tag { color: var(--muted); font-size: 0.88rem; margin: 10px 0 0; }
.tier__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.tier__list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 500;
}
.tier__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(106,191,58,0.18)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23569a2d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}
/* Not included in this package */
.tier__list li.is-off { color: var(--muted); }
.tier__list li.is-off::before {
  background: rgba(208,72,72,0.13)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d04848' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}

/* ---------- Callout banner ---------- */
.callout {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 44px;
}
.callout h3 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 8px; }
.callout .accent { color: var(--grass); }
.callout p { color: rgba(255,255,255,0.85); margin: 0; }

/* ---------- About / split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(26,46,20,0.18), rgba(106,191,58,0.18)),
    linear-gradient(180deg, #cdd8c2, #aebfa0);
  border: 1px solid var(--line);
}
.split h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px; }
.stat {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.stat__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}
.stat strong { display: block; font-family: var(--sans); color: var(--forest); font-size: 1.35rem; font-weight: 800; line-height: 1.1; }

/* green + underlined accent inside a serif headline */
.u-accent { color: var(--grass); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 3px; }

/* ---------- Team / founders ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 760px; margin: 0 auto; }
.member {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lift); }
.member__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--offwhite);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member__photo--ph {
  background:
    linear-gradient(135deg, rgba(26,46,20,0.2), rgba(106,191,58,0.22)),
    linear-gradient(180deg, #cdd8c2, #aebfa0);
  border-bottom: 1px solid var(--line);
}
.member__body { padding: 26px 28px; }
.member__body h3 { font-size: 1.7rem; margin-bottom: 4px; }
.member__role {
  color: var(--grass-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.member__body p:last-child { color: var(--muted); margin: 0; }

.promise { margin-top: 40px; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.promise li svg { flex: none; color: var(--grass-dark); margin-top: 3px; }

/* ---------- Forms ---------- */
.form { max-width: 720px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { position: relative; display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; color: var(--forest); }

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  /* Force light rendering so phones in dark mode don't show white-on-white. */
  color-scheme: light;
  border: 1.5px solid #aab59a;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  width: 100%;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }

/* Explicit colors for the native dropdown list (the options popup). */
.field select,
.field select option {
  background-color: var(--white);
  color: var(--grass-dark);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--grass);
  box-shadow: 0 4px 14px rgba(106,191,58,0.14);
}

.form-note { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 18px; }

.field-hint { font-weight: 500; color: var(--muted); font-size: 0.84rem; }

/* Selected-service tags */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips:not(:empty) { margin-top: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 14px;
  background: rgba(106, 191, 58, 0.14);
  color: var(--grass-dark);
  border: 1px solid rgba(106, 191, 58, 0.45);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
.chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(86, 154, 45, 0.18);
  color: var(--grass-dark);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chip button:hover { background: var(--grass-dark); color: #fff; }

.form-status { margin-top: 18px; border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(106,191,58,0.16); color: var(--grass-dark); border: 1px solid rgba(106,191,58,0.5); }
.form-status.is-error { background: #fdecec; color: #a32525; border: 1px solid #f3bcbc; }

/* ---------- Full-screen "thank you" overlay ---------- */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-soft) 55%, var(--grass-dark) 130%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 420ms var(--ease), visibility 0s linear 420ms;
}
.thankyou-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 420ms var(--ease);
}

.thankyou-overlay__check {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid var(--grass);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  transform: scale(0.4);
  opacity: 0;
}
.thankyou-overlay__check svg { width: 52px; height: 52px; stroke: var(--white); }
.thankyou-overlay__check svg path {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
}

.thankyou-overlay__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 800;
  color: var(--grass);
  margin: 0 0 12px;
  /* Slides across the screen on entry. */
  transform: translateX(-110%);
  opacity: 0;
}
.thankyou-overlay__text {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  transform: translateX(110%);
  opacity: 0;
}

/* Trigger the inner animations once the overlay is open. */
.thankyou-overlay.is-open .thankyou-overlay__check {
  animation: ty-pop 520ms var(--ease) 120ms forwards;
}
.thankyou-overlay.is-open .thankyou-overlay__check svg path {
  animation: ty-draw 460ms var(--ease) 480ms forwards;
}
.thankyou-overlay.is-open .thankyou-overlay__title {
  animation: ty-slide-in 620ms var(--ease) 220ms forwards;
}
.thankyou-overlay.is-open .thankyou-overlay__text {
  animation: ty-slide-in 620ms var(--ease) 360ms forwards;
}

@keyframes ty-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes ty-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes ty-slide-in {
  to { transform: translateX(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .thankyou-overlay,
  .thankyou-overlay.is-open .thankyou-overlay__check,
  .thankyou-overlay.is-open .thankyou-overlay__check svg path,
  .thankyou-overlay.is-open .thankyou-overlay__title,
  .thankyou-overlay.is-open .thankyou-overlay__text {
    animation: none;
    transition: opacity 200ms linear;
    transform: none;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

/* quick quote */
.quickquote {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 56px;
  text-align: center;
}
.quickquote h3 { color: var(--white); }
.quickquote p { color: rgba(255,255,255,0.82); }
.quickquote .form-grid { max-width: 560px; margin: 22px auto 0; }
.quickquote .field label { color: rgba(255,255,255,0.9); }
.quickquote .field input { background: rgba(255,255,255,0.95); border-color: transparent; }

/* ---------- Reviews ---------- */
.review {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lift); }
.review__qmark {
  position: absolute;
  top: 18px; right: 26px;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: rgba(26,46,20,0.08);
  pointer-events: none;
}
.stars { color: var(--grass); letter-spacing: 3px; margin-bottom: 18px; font-size: 1.1rem; }
.review blockquote {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--forest);
}
.review__who { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--forest);
  color: var(--grass);
  display: grid; place-items: center;
  font-weight: 800; font-family: var(--sans); font-size: 0.95rem;
}
.review__who strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--forest); }
.review__who .hood { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

.reviews-cta { text-align: center; margin-top: 48px; max-width: 620px; margin-left: auto; margin-right: auto; }
.reviews-cta h3 { font-size: 1.5rem; }

/* reviews background panel */
.reviews-bg { position: relative; }
.reviews-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(245,246,240,0) 0%, rgba(106,191,58,0.06) 100%);
  pointer-events: none;
}

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lift); }
.contact-card__icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(106,191,58,0.14); color: var(--grass-dark);
  display: grid; place-items: center; margin: 0 auto 16px;
}
.contact-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.contact-card a, .contact-card p { color: var(--muted); margin: 0; }
.contact-card a:hover { color: var(--grass-dark); }
.contact-card .tag { display: block; font-size: 0.85rem; color: var(--grass-dark); font-weight: 600; margin-top: 6px; }

.follow h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.follow p { color: var(--muted); font-size: 1.1rem; }
.socials { display: flex; flex-wrap: wrap; gap: 18px; margin: 26px 0 36px; }
.social {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest); color: #fff;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.social:hover { transform: translateY(-3px); background: var(--grass); color: var(--forest); }

.closing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
}
.closing-card p { font-style: italic; color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: rgba(255,255,255,0.85); padding: 46px 0 26px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { color: var(--white); }
.footer__brandname { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 800; font-size: 1.5rem; }
.footer__brandname .brand__logo { width: 36px; height: 36px; color: var(--grass); }
.footer__brand small { display: block; margin-top: 12px; font-family: var(--sans); font-style: italic; font-weight: 400; font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.75); }
.footer__socials { display: flex; gap: 14px; }
.footer__socials a { color: rgba(255,255,255,0.85); transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.footer__socials a:hover { color: var(--grass); transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 28px; padding-top: 18px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ---------- Scroll reveal + page transition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

main { animation: pageIn var(--t-med) var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.is-leaving main { opacity: 0; transform: translateY(-8px); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .cards, .contact-cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .media { min-height: 320px; }
  .trustbar__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav__toggle { display: block; }

  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: var(--offwhite);
    padding: 92px 28px 28px;
    box-shadow: -12px 0 40px rgba(26,46,20,0.2);
    transform: translateX(105%);
    transition: transform var(--t-med) ease-in;
    z-index: 100;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.15rem; padding: 8px 0; }

  /* The slide-in menu panel is light, so force readable black text/icons
     even when the home-page nav is in its white overlay state. */
  .nav__links.is-open .nav__link,
  .nav--overlay:not(.is-shrunk) .nav__links.is-open .nav__link { color: #000; }
  .nav__links.is-open .nav__link.is-active { border-color: #000; }
  .nav--overlay .nav__toggle.is-open span { background: #000; }
  .nav__cta { margin: 12px 0 0; width: 100%; }
  .nav__cta .btn { width: 100%; }

  .cards, .contact-cards, .stats, .trustbar__grid, .team, .tiers, .gallery { grid-template-columns: 1fr; }
  .gallery__item img, .gallery__item--wide img { height: 240px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .hero__cta .btn { flex: 1 1 auto; }
  .callout, .quickquote, .contact-card { padding: 28px 22px; }
  .footer__top { flex-direction: column; text-align: center; align-items: center; }
}
