/* ==========================================================================
   Wise Pest Control — stylesheet
   Single file, no build step, mobile-first. Organised top-to-bottom:
   tokens → base → layout → components → header → hero → sections → footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens — brand colours sampled from the Homegrown logo
   -------------------------------------------------------------------------- */
:root {
  --pine: #12402f;         /* Pine — "ise", headings, dark sections */
  --pine-950: #0b2e21;
  --pine-800: #174a37;
  --pine-700: #1d5a43;
  --leaf: #1a8040;         /* Leaf — "PEST CONTROL", buttons (5:1 with white) */
  --leaf-700: #146b35;
  --sprout: #8ccb3f;       /* Sprout — the W gradient, accents on dark */
  --sprout-300: #b5e36a;
  --sprout-100: #e3f3d0;
  --sunshine: #ffc43d;     /* Sunshine — the front door, highlights */
  --sunshine-600: #f2a900;
  --mint: #eff7ec;         /* Mint — light sections */
  --mint-50: #f7fbf4;

  --text: #365247;
  --muted: #5b7268;
  --line: #dce9d7;
  --error: #c0392b;

  --font-display: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 8vw, 7rem);
  --header-h: 70px;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(18, 64, 47, .06), 0 3px 10px rgba(18, 64, 47, .05);
  --shadow: 0 6px 16px rgba(18, 64, 47, .07), 0 18px 40px rgba(18, 64, 47, .09);
  --shadow-lg: 0 12px 30px rgba(18, 64, 47, .12), 0 32px 70px rgba(18, 64, 47, .18);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --transition: 200ms var(--ease);
}

@media (min-width: 1080px) {
  :root { --header-h: 86px; }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--leaf); text-underline-offset: .18em; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--pine);
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--sprout); outline-offset: 3px; }

.skip-link {
  position: absolute;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .6rem 1rem;
  border-radius: 10px;
  background: var(--pine);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--transition);
}
.skip-link:focus { transform: none; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Swap short labels in on small phones */
.xs-show { display: none; }
@media (max-width: 479.98px) {
  .xs-hide { display: none; }
  .xs-show { display: inline; }
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stars { width: 100px; height: 20px; flex: none; fill: var(--sunshine-600); }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--mint { background: var(--mint); }

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.section-head p:last-child { margin: 0; font-size: 1.0625rem; color: var(--muted); }

/* Small caps label with a leaf bullet, borrowed from the logo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .9rem;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--leaf);
}
.eyebrow::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: none;
  border-radius: 100% 0;
  background: linear-gradient(135deg, var(--sprout), var(--leaf));
}
.eyebrow--light { color: var(--sprout-300); }
.eyebrow--light::before { background: linear-gradient(135deg, var(--sprout-300), var(--sprout)); }

.section h2,
.quote h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3rem); }

/* Sunshine highlighter, as in the hero headline */
.mark {
  padding-inline: .06em;
  background: linear-gradient(transparent 60%, var(--sunshine) 60%, var(--sunshine) 90%, transparent 90%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* --------------------------------------------------------------------------
   4. Components
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.2em; height: 1.2em; stroke-width: 2.2; transition: transform var(--transition); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }

.btn--primary {
  background: var(--leaf) linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(26, 128, 64, .8), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover { background-color: var(--leaf-700); }

.btn--white { background: #fff; color: var(--pine); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--white:hover { border-color: var(--sprout); color: var(--leaf); }
.btn--outline { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn--outline:hover { background: var(--pine); color: #fff; }
.btn--dark { background: var(--pine); color: #fff; }
.btn--dark:hover { background: var(--pine-700); }
.btn--sun { background: var(--sunshine); color: var(--pine); box-shadow: 0 10px 22px -12px rgba(255, 196, 61, .9); }
.btn--sun:hover { background: #ffd363; }

.btn--lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Header + navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}
.header.is-scrolled,
.nav-open .header {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(18, 64, 47, .3);
}

.header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }

.brand { flex: none; display: block; margin-right: auto; }
.brand img { width: auto; height: 46px; }

.header__actions { display: flex; align-items: center; gap: .75rem; }

.header__phone {
  display: none;
  align-items: center;
  gap: .65rem;
  color: var(--pine);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.header__phone small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.header__phone-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--leaf);
  transition: background-color var(--transition), color var(--transition);
}
.header__phone:hover .header__phone-icon { background: var(--leaf); color: #fff; }
.header__phone > span:last-child { display: none; }

.header__cta { display: none; }

.nav-toggle {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--pine);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: .5rem var(--gutter) 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.nav__list a {
  display: block;
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--pine);
  text-decoration: none;
}
.nav__cta { display: grid; gap: .75rem; margin-top: 1.25rem; }

@media (min-width: 600px) {
  .brand img { height: 50px; }
  .header__phone { display: inline-flex; }
  .header__cta { display: inline-flex; }
}

@media (min-width: 1080px) {
  .brand img { height: 58px; }
  .nav {
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; gap: 1.6rem; }
  .nav__list a {
    position: relative;
    padding: .5rem 0;
    border: 0;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
  }
  /* the active link gets a little dashed barrier underneath */
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--leaf) 0 6px, transparent 6px 10px);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
  }
  .nav__list a:hover, .nav__list a.is-active { color: var(--pine); }
  .nav__list a:hover::after, .nav__list a.is-active::after { transform: none; }
  .nav__cta, .nav-toggle { display: none; }
  .header__actions { gap: 1.25rem; }
}

@media (min-width: 1280px) {
  .header__phone > span:last-child { display: block; }
}

/* --------------------------------------------------------------------------
   6. Hero — the barrier, live
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(42% 52% at 90% 4%, rgba(255, 196, 61, .32), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(140, 203, 63, .2), transparent 70%),
    linear-gradient(180deg, var(--mint-50) 0%, #e8f4e0 100%);
}
/* a soft leaf in each corner */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 100% 0;
  background: linear-gradient(135deg, rgba(140, 203, 63, .16), rgba(26, 128, 64, .08));
  pointer-events: none;
}
.hero::before { width: 260px; height: 260px; left: -120px; top: 32%; transform: rotate(-12deg); }
.hero::after { width: 180px; height: 180px; right: -70px; bottom: -60px; transform: rotate(18deg); }

.hero__grid { position: relative; z-index: 1; display: grid; gap: 1.25rem; align-items: center; }
.hero__visual { order: -1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.1rem;
  padding: .45rem .95rem .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-sm);
  font-size: .875rem;
  color: var(--muted);
}
.hero__badge strong { color: var(--pine); }
.hero__badge .stars { width: 80px; height: 16px; }

.hero__title {
  margin-bottom: .45em;
  font-size: clamp(2.6rem, 1.5rem + 4.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}
/* the highlighter draws itself in once the fonts are ready */
.js .hero__title .mark { background-size: 0 100%; transition: background-size .9s .35s var(--ease); }
.js.is-ready .hero__title .mark { background-size: 100% 100%; }

.hero__lead { max-width: 34rem; margin-bottom: 1.4rem; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }

.hero__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: .55rem 1.5rem;
  margin: 0 0 1.9rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--pine);
}
.hero__checks li { display: flex; align-items: center; gap: .5rem; }
.hero__checks .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--sprout-100);
  color: var(--leaf);
  stroke-width: 3;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* The scene */
.scene { position: relative; max-width: 620px; margin: 0 auto; }
.scene__svg { width: 100%; height: auto; overflow: visible; touch-action: manipulation; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }

.scene__clouds path { animation: drift 26s ease-in-out infinite alternate; }
.scene__clouds path + path { animation-duration: 34s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translateX(26px); } }

.scene__ring { animation: march 2.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -30; } }

.scene__rim { transition: stroke .35s var(--ease), stroke-width .35s var(--ease); }
.scene.is-hit .scene__rim { stroke: #d5f59c; stroke-width: 6; transition-duration: .08s; }

.scene.is-live .scene__still { display: none; }

.scene__count {
  position: absolute;
  top: 2%;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: .45rem .9rem .45rem .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.scene__count .icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  stroke-width: 2.2;
}
.scene__count strong {
  display: inline-block;
  min-width: 1.4em;
  font: 900 1.05rem/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--pine);
  transition: transform .15s var(--ease);
}
.scene__count strong.bump { transform: scale(1.25); color: var(--leaf); }

.scene__hint {
  display: flex;
  justify-content: center;
  gap: .3em;
  margin: .35rem 0 0;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
  transition: opacity .6s var(--ease);
}
.scene__hint::before {
  content: "";
  width: 10px;
  height: 10px;
  align-self: center;
  margin-right: .25rem;
  border-radius: 100% 0;
  background: var(--sprout);
}
.scene.is-played .scene__hint { opacity: 0; }
.hint-touch { display: none; }
@media (hover: none) {
  .hint-touch { display: inline; }
  .hint-mouse { display: none; }
}

@media (max-width: 479.98px) {
  .hero__checks { gap: .5rem 1rem; font-size: .875rem; }
  .hero__checks .icon { width: 20px; height: 20px; }
}
@media (max-width: 599.98px) {
  .scene__count { font-size: .75rem; padding-right: .75rem; }
  .scene__count .icon { width: 24px; height: 24px; padding: 4px; }
}
@media (max-width: 359.98px) {
  .hero__checks { grid-template-columns: 1fr; }
}

@media (min-width: 1000px) {
  .hero { padding-top: clamp(2rem, 4vw, 3.5rem); }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 2.5rem; }
  .hero__visual { order: 0; }
  .scene { max-width: none; }
  .scene__count { top: 4%; }
}

/* --------------------------------------------------------------------------
   7. Trust strip
   -------------------------------------------------------------------------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: 1.6rem .75rem;
  text-align: center;
}
.trust__item:nth-child(odd) { border-right: 1px solid var(--line); }
.trust__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.trust__item strong {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font: 900 clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem)/1.1 var(--font-display);
  letter-spacing: -.02em;
  color: var(--pine);
}
.trust__item span { font-size: .9rem; color: var(--muted); }
.icon--star { width: .8em; height: .8em; fill: var(--sunshine-600); stroke: none; }

@media (min-width: 900px) {
  .trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust__item { padding-block: 2rem; }
  .trust__item:nth-child(-n + 2) { border-bottom: 0; }
  .trust__item:not(:last-child) { border-right: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   8. Services
   -------------------------------------------------------------------------- */
.services { display: grid; gap: 1.25rem; }
.service {
  position: relative;
  padding: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--sprout), var(--leaf));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service:hover { transform: translateY(-4px); border-color: #c6ddbf; box-shadow: var(--shadow); }
.service:hover::before { transform: none; }
.service h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.service p { margin: 0; }
.service__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.15rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sprout), var(--leaf));
  color: #fff;
  box-shadow: 0 12px 22px -12px rgba(26, 128, 64, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.service__icon .icon { width: 28px; height: 28px; }

.pests {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border: 1px dashed #b9d8a6;
  border-radius: var(--radius-lg);
  background: var(--mint-50);
}
.pests__label { margin: 0; font: 800 1.05rem/1.3 var(--font-display); color: var(--pine); }
.pests__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.pests__list li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .875rem;
  font-weight: 600;
  color: var(--pine);
}
.pests__list li::before { content: ""; width: 7px; height: 7px; border-radius: 100% 0; background: var(--sprout); }

@media (min-width: 640px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .pests { grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; padding: 1.25rem 1.75rem; }
}

/* --------------------------------------------------------------------------
   9. Process — dark section with a bird's-eye view of the barrier
   -------------------------------------------------------------------------- */
.process {
  background:
    radial-gradient(55% 60% at 0% 0%, rgba(140, 203, 63, .18), transparent 70%),
    radial-gradient(45% 50% at 100% 100%, rgba(255, 196, 61, .1), transparent 70%),
    var(--pine);
  color: rgba(255, 255, 255, .76);
}
.process h2 { color: #fff; }
.process h2 span { color: var(--sprout-300); }
.process__inner { display: grid; gap: 3rem; align-items: center; }
.process__copy header { margin-bottom: 2rem; }
.process__copy header p { font-size: 1.0625rem; margin: 0; }

.plot { width: 100%; max-width: 540px; height: auto; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3)); }
.plot__pins circle { fill: var(--sunshine); stroke: var(--pine); stroke-width: 3; }
.plot__pins text { fill: var(--pine); }
.plot__legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin: 1.25rem 0 0;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
}
.plot__swatch { width: 34px; height: 12px; border: 2px dashed var(--sprout); border-radius: 4px; background: rgba(140, 203, 63, .2); }

.steps { display: grid; gap: .9rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .04);
}
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sunshine);
  font: 900 1.1rem/1 var(--font-display);
  color: var(--pine);
}
.step h3 { margin: .35rem 0 .3rem; font-size: 1.25rem; color: #fff; }
.step p { margin: 0; font-size: .95rem; }

@media (min-width: 1000px) {
  .process__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
}

/* --------------------------------------------------------------------------
   10. Plans
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: 1.25rem; max-width: 420px; margin: 0 auto; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.plan h3 { margin-bottom: .3rem; font-size: 1.5rem; }
.plan__desc { margin-bottom: 1.25rem; font-size: .95rem; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: .3rem; margin: 0; font: 900 3rem/1 var(--font-display); letter-spacing: -.03em; color: var(--pine); }
.plan__price small { font: 600 .875rem/1 var(--font-sans); letter-spacing: 0; color: var(--muted); }
.plan__price span { font: 700 1rem/1 var(--font-sans); letter-spacing: 0; color: var(--muted); }
.plan__billing { margin: .4rem 0 1.4rem; font-size: .8125rem; color: var(--muted); }
.plan__list { display: grid; gap: .65rem; margin-bottom: 1.75rem; padding-top: 1.4rem; border-top: 1px dashed var(--line); }
.plan__list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--pine); }
.plan__list .icon { width: 20px; height: 20px; margin-top: .1rem; padding: 3px; border-radius: 50%; background: var(--sprout-100); color: var(--leaf); stroke-width: 3; }
.plan .btn { margin-top: auto; }

.plan--featured {
  border-color: transparent;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(140, 203, 63, .28), transparent 70%),
    var(--pine);
  box-shadow: var(--shadow-lg);
  color: rgba(255, 255, 255, .78);
}
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__billing,
.plan--featured .plan__price small, .plan--featured .plan__price span { color: rgba(255, 255, 255, .7); }
.plan--featured .plan__list { border-top-color: rgba(255, 255, 255, .16); }
.plan--featured .plan__list li { color: #fff; }
.plan--featured .plan__list .icon { background: rgba(140, 203, 63, .22); color: var(--sprout-300); }
.plan__tag {
  position: absolute;
  top: -.85rem;
  left: 1.75rem;
  margin: 0;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--sunshine);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pine);
}

.plans__note { margin: 2rem auto 0; max-width: 40rem; text-align: center; font-size: .875rem; color: var(--muted); }

@media (min-width: 1000px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; max-width: none; align-items: stretch; }
  .plan--featured { margin: -14px 0 14px; }
}

/* --------------------------------------------------------------------------
   11. About — why Wise, with a sample visit report
   -------------------------------------------------------------------------- */
.about { display: grid; gap: 3rem; align-items: center; }
.about__copy > p { font-size: 1.0625rem; margin-bottom: 2rem; }
.features { display: grid; gap: 1.25rem; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.feature h3 { font-size: 1.15rem; margin: .2rem 0 .25rem; }
.feature p { margin: 0; font-size: .95rem; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--mint);
  color: var(--leaf);
  box-shadow: inset 0 0 0 1px var(--line);
}
.feature__icon .icon { width: 23px; height: 23px; }

.report { position: relative; margin: 0 auto; padding: 1.5rem 1.25rem; width: 100%; max-width: 420px; }
.report::before {
  content: "";
  position: absolute;
  inset: 8% -4% 4%;
  z-index: -1;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  background: linear-gradient(135deg, var(--sprout-100), rgba(255, 196, 61, .28));
}
.report__phone {
  overflow: hidden;
  max-width: 320px;
  margin: 0 auto;
  border: 8px solid var(--pine);
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.report__bar {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 1rem 1rem .8rem;
  font: 800 1rem/1 var(--font-display);
  color: var(--pine);
}
.report__bar time { margin-left: auto; font: 600 .75rem/1 var(--font-sans); color: var(--muted); }
.report__photo { position: relative; margin: 0 .75rem; overflow: hidden; border-radius: 16px; }
.report__photo svg { width: 100%; height: auto; }
.report__stamp {
  position: absolute;
  top: .6rem;
  right: .6rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .6rem .25rem .4rem;
  border-radius: 999px;
  background: var(--leaf);
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
}
.report__stamp .icon { width: 14px; height: 14px; stroke-width: 3; }
.report__caption {
  position: absolute;
  right: .6rem;
  bottom: .5rem;
  padding: .15rem .5rem;
  border-radius: 6px;
  background: rgba(18, 64, 47, .75);
  font-size: .6875rem;
  font-weight: 600;
  color: #fff;
}
.report__list { display: grid; gap: .55rem; padding: 1rem 1rem .9rem; }
.report__list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .8125rem; font-weight: 600; line-height: 1.35; color: var(--pine); }
.report__list small { display: block; font-weight: 500; color: var(--muted); }
.report__list .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--leaf); color: #fff; stroke-width: 3.2; }
.report__tech { display: flex; align-items: center; gap: .6rem; margin: 0 1rem; padding: .75rem 0; border-top: 1px dashed var(--line); font-size: .75rem; color: var(--muted); }
.report__tech strong { display: block; font-size: .8125rem; color: var(--pine); }
.report__tech .avatar { width: 34px; height: 34px; font-size: .75rem; }
.report__next { display: flex; align-items: center; gap: .45rem; margin: 0; padding: .8rem 1rem 1rem; background: var(--mint); font-size: .8125rem; color: var(--muted); }
.report__next strong { margin-left: auto; color: var(--pine); }
.report__next .icon { color: var(--leaf); }

.report__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: .5rem .85rem .5rem .55rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--pine);
  white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.report__chip .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--sunshine); color: var(--pine); stroke-width: 2.2; }
.report__chip--a { top: 21%; left: -.25rem; }
.report__chip--b { bottom: 17%; right: -.25rem; animation-delay: -2.5s; }
.report__chip--b .icon { background: var(--sprout-100); color: var(--leaf); }
@keyframes bob { 50% { transform: translateY(-8px); } }

@media (min-width: 1000px) {
  .about { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 4.5rem; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
  .report__chip--a { left: -1.5rem; }
  .report__chip--b { right: -1rem; }
}

/* --------------------------------------------------------------------------
   12. Reviews
   -------------------------------------------------------------------------- */
.reviews { display: grid; gap: 1.25rem; }
.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.review blockquote { margin: 0; font-size: 1.0625rem; color: var(--pine); }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; font-size: .875rem; color: var(--muted); }
.review figcaption strong { display: block; font-size: .95rem; color: var(--pine); }
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sprout), var(--leaf));
  font-weight: 700;
  font-size: .875rem;
  color: #fff;
}

@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

/* --------------------------------------------------------------------------
   13. Service area
   -------------------------------------------------------------------------- */
.areas__inner { display: grid; gap: 2.5rem; align-items: center; }
.areas__copy p { font-size: 1.0625rem; margin-bottom: 1.75rem; }
.areas__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.areas__list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mint-50);
  font-weight: 600;
  color: var(--pine);
}
.areas__list .icon { color: var(--leaf); }

@media (min-width: 640px) { .areas__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .areas__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; } }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow var(--transition); }
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--pine);
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--transition);
}
.faq__item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__item p { margin: 0; padding: 0 1.35rem 1.25rem; }

/* --------------------------------------------------------------------------
   15. Quote — dark band with the request form
   -------------------------------------------------------------------------- */
.quote {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(255, 196, 61, .14), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(140, 203, 63, .22), transparent 70%),
    linear-gradient(165deg, var(--pine-800), var(--pine) 60%);
  color: rgba(255, 255, 255, .78);
}
.quote__inner { display: grid; gap: 2.5rem; align-items: center; }
.quote h2 { color: #fff; }
.quote h2 span { color: var(--sunshine); }
.quote__copy > p { font-size: 1.0625rem; max-width: 34rem; }
.quote__list { display: grid; gap: .7rem; margin: 1.75rem 0 2rem; }
.quote__list li { display: flex; align-items: center; gap: .7rem; color: #fff; font-weight: 500; }
.quote__list .icon { color: var(--sprout-300); }
.quote__phone {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font: 900 1.6rem/1.15 var(--font-display);
  color: #fff;
  text-decoration: none;
}
.quote__phone small { display: block; font: 500 .8125rem/1.3 var(--font-sans); color: rgba(255, 255, 255, .6); }
.quote__phone .icon {
  width: 52px;
  height: 52px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(140, 203, 63, .16);
  color: var(--sprout-300);
}

.quote__card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.quote__title { font-size: 1.65rem; margin-bottom: 1.25rem; }

.field { position: relative; margin: 0 0 .9rem; }
.field label, .chips legend { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 600; color: var(--pine); }
.field input, .field select {
  width: 100%;
  min-height: 50px;
  padding: .7rem .95rem;
  border: 1.5px solid #c9dcc3;
  border-radius: 14px;
  background: #fff;
  font: 500 1rem/1.3 var(--font-sans);
  color: var(--pine);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231a8040' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center;
}
.field input::placeholder { color: #93a89d; }
.field input:focus, .field select:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(140, 203, 63, .25); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field__error { display: block; min-height: 1.15em; margin-top: .25rem; font-size: .8125rem; color: var(--error); }
.field__error:empty { min-height: 0; margin: 0; }
.field-row { display: grid; gap: 0 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; padding: 0; border: 0; }
.chips legend { width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips label span {
  display: block;
  padding: .55rem 1rem;
  border: 1.5px solid #c9dcc3;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--pine);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}
.chips label:hover span { border-color: var(--leaf); }
.chips input:checked + span { border-color: var(--leaf); background: var(--leaf); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--sprout); outline-offset: 2px; }
.chips .field__error { width: 100%; }

.quote-form__note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .9rem 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }
.quote-form__note .icon { width: 15px; height: 15px; }

.quote-success { text-align: center; padding: 1.5rem 0; }
.quote-success__icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sprout), var(--leaf));
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(26, 128, 64, .8);
}
.quote-success__icon .icon { width: 30px; height: 30px; stroke-width: 2.6; }

@media (min-width: 480px) { .field-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
@media (min-width: 1000px) {
  .quote__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 4rem; }
}

/* --------------------------------------------------------------------------
   16. Footer + mobile call bar
   -------------------------------------------------------------------------- */
.footer { padding: 4rem 0 2rem; background: var(--pine-950); color: rgba(255, 255, 255, .68); font-size: .9375rem; }
.footer__grid { display: grid; gap: 2.25rem; }
.footer__brand img { width: 150px; height: auto; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 24rem; }
.footer h3 { margin-bottom: 1rem; font: 700 .8125rem/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer ul { display: grid; gap: .6rem; }
.footer a { color: inherit; text-decoration: none; transition: color var(--transition); }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer__contact .icon { margin-top: .15rem; color: var(--sprout); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
}
.footer__bottom p { margin: 0; }

@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem; } }

.mobile-bar {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -14px rgba(18, 64, 47, .35);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 50px; }

@media (max-width: 767.98px) {
  body { padding-bottom: 72px; }
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

/* --------------------------------------------------------------------------
   17. Scroll reveal + reduced motion
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
