/* ==========================================================================
   Repot Refresh — Design System
   Palette drawn from the logo: charcoal, cream, terracotta, leaf green, soil.
   ========================================================================== */

:root {
  /* Colour tokens */
  --charcoal: #3a3634;
  --charcoal-deep: #2a2725;
  --cream: #f6f1e7;
  --cream-soft: #fbf8f2;
  --paper: #efe7d8;
  --terracotta: #c4683a;
  --terracotta-dark: #a9532a;
  --terracotta-soft: #f1d9c9;
  --leaf: #5e8c61;
  --leaf-dark: #44694a;
  --sage: #a9c2a0;
  --sage-soft: #e3ecdf;
  --soil: #5a3e2b;
  --bark: #8a5a3b;
  --perlite: #ffffff;
  --text: #3a3634;
  --text-muted: #6d6560;
  --error: #b3261e;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing & shape */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgb(58 54 52 / 0.06);
  --shadow: 0 10px 30px -10px rgb(58 54 52 / 0.18);
  --shadow-lg: 0 24px 60px -20px rgb(58 54 52 / 0.3);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--cream);
  /* subtle paper grain */
  background-image: radial-gradient(rgb(90 62 43 / 0.045) 1px, transparent 1px);
  background-size: 4px 4px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--terracotta-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--charcoal);
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--charcoal); color: var(--cream);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

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

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--terracotta);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgb(196 104 58 / 0.6);
  transition: translate 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.2s;
}
.btn:hover { background: var(--terracotta-dark); translate: 0 -2px; box-shadow: 0 14px 28px -10px rgb(196 104 58 / 0.7); }
.btn svg { width: 1.1em; height: 1.1em; transition: translate 0.3s var(--ease); }
.btn:hover svg { translate: 4px 0; }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--charcoal);
  border-color: rgb(58 54 52 / 0.25);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--charcoal); color: var(--cream); box-shadow: none; }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--charcoal); box-shadow: none; }
.btn--light:hover { background: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(246 241 231 / 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgb(58 54 52 / 0.08);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 96px; gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--charcoal);
}
.brand img {
  width: 75px; height: 75px; border-radius: 50%;
  object-fit: cover; box-shadow: var(--shadow-sm);
  transition: rotate 0.6s var(--ease);
}
.brand:hover img { rotate: -12deg; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }

.nav-links { display: flex; align-items: center; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  display: block; padding: 0.55rem 1rem;
  color: var(--charcoal); text-decoration: none; font-weight: 500;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}
.nav-links a:not(.btn):hover { background: rgb(58 54 52 / 0.06); }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--terracotta-dark); }
.nav-links a[aria-current="page"]:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta); translate: -50% 0;
}
.nav-links .btn { padding: 0.75rem 1.3rem; margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgb(58 54 52 / 0.15); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--charcoal); border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid rgb(58 54 52 / 0.1);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; translate: 0 -10px;
    transition: opacity 0.25s, translate 0.3s var(--ease), visibility 0.25s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; translate: 0 0; }
  .nav-links a { padding: 0.9rem 1rem; font-size: 1.1rem; }
  .nav-links .btn { margin: 0.5rem 0 0; justify-content: center; }
  .nav-links a[aria-current="page"]:not(.btn)::after { left: auto; right: 1rem; bottom: 50%; translate: 0 50%; }
}

/* ---------- Sections ---------- */
section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-head { max-width: 680px; margin-bottom: 3.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--text-muted); font-size: 1.15rem; }

.section--dark {
  background: var(--charcoal);
  color: rgb(246 241 231 / 0.82);
  background-image:
    radial-gradient(circle at 15% 10%, rgb(196 104 58 / 0.18), transparent 40%),
    radial-gradient(circle at 90% 90%, rgb(94 140 97 / 0.2), transparent 45%);
}
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark .eyebrow { color: #e79a70; }
.section--dark .section-head p { color: rgb(246 241 231 / 0.7); }
.section--paper { background-color: var(--paper); }

/* Soil-layer divider, echoing the pot cross-section in the logo */
.soil-divider {
  height: 22px;
  background:
    linear-gradient(to bottom,
      var(--soil) 0 30%,
      var(--bark) 30% 55%,
      #e9e4da 55% 78%,
      #6f6964 78% 100%);
  position: relative;
}
.soil-divider::after {
  content: ""; position: absolute; inset: 55% 0 22% 0;
  background-image: radial-gradient(circle, #fff 1.6px, transparent 2px);
  background-size: 11px 5px;
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 em { font-style: italic; color: var(--terracotta); font-weight: 600; }
.hero-lead { font-size: 1.25rem; color: var(--text-muted); max-width: 34ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  margin-top: 2.75rem; padding: 0; list-style: none;
  font-size: 0.95rem; color: var(--text-muted);
}
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { width: 20px; height: 20px; color: var(--leaf); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -36px; bottom: 40px;
  width: 150px; height: 150px; border-radius: 50%;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--cream);
  object-fit: cover;
  animation: float 6s ease-in-out infinite;
  @media (prefers-reduced-motion: reduce) { animation: none; }
}
.hero-chip {
  position: absolute; right: -14px; top: 54px;
  background: var(--cream-soft);
  padding: 0.85rem 1.1rem; border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; line-height: 1.3;
  animation: float 7s ease-in-out -2s infinite;
  @media (prefers-reduced-motion: reduce) { animation: none; }
}
.hero-chip strong { display: block; font-size: 1rem; }
.hero-chip .chip-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage-soft); color: var(--leaf-dark);
  display: grid; place-items: center;
}
.hero-chip svg { width: 22px; height: 22px; }

@keyframes float { 50% { translate: 0 -10px; } }

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.9s var(--ease) backwards; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .hero-visual { animation: rise 1.1s var(--ease) 0.15s backwards; }
}
@keyframes rise { from { opacity: 0; translate: 0 28px; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-badge { left: -8px; width: 110px; height: 110px; }
  .hero-chip { right: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero p { max-width: 620px; margin-inline: auto; font-size: 1.2rem; color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
  .page-hero > .container > * { animation: rise 0.8s var(--ease) backwards; }
  .page-hero > .container > :nth-child(2) { animation-delay: 0.08s; }
  .page-hero > .container > :nth-child(3) { animation-delay: 0.16s; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--cream-soft);
  border: 1px solid rgb(58 54 52 / 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: translate 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.card:hover { translate: 0 -6px; box-shadow: var(--shadow); border-color: rgb(196 104 58 / 0.3); }
.card p { color: var(--text-muted); margin: 0; }

.icon-bubble {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--terracotta-soft); color: var(--terracotta-dark);
  margin-bottom: 1.25rem;
  transition: rotate 0.4s var(--ease), scale 0.4s var(--ease);
}
.icon-bubble svg { width: 28px; height: 28px; }
.card:hover .icon-bubble { rotate: -8deg; scale: 1.06; }
.icon-bubble--green { background: var(--sage-soft); color: var(--leaf-dark); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 3.25rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--terracotta);
  line-height: 1;
}
.section--dark .step p { color: rgb(246 241 231 / 0.7); }
.section--dark .card { background: rgb(255 255 255 / 0.04); border-color: rgb(255 255 255 / 0.08); box-shadow: none; }
.section--dark .card:hover { border-color: rgb(231 154 112 / 0.5); }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.split-media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border: 2px solid var(--terracotta); border-radius: var(--radius-lg); z-index: -1;
}
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--terracotta-dark); margin-top: 1.5rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media::before { inset: 16px -12px -16px 12px; } }

/* Root-bound signs list */
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.check-list li::before {
  content: ""; flex-shrink: 0; margin-top: 0.3em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Soil layers explainer */
.layers { display: grid; gap: 0.75rem; }
.layer {
  display: grid; grid-template-columns: 74px 1fr; gap: 1.25rem; align-items: center;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.08);
  transition: background-color 0.3s, translate 0.4s var(--ease);
}
.layer:hover { background: rgb(255 255 255 / 0.09); translate: 6px 0; }
.layer-swatch { height: 52px; border-radius: 12px; }
.layer h3 { font-size: 1.1rem; margin: 0 0 0.15rem; }
.layer p { margin: 0; font-size: 0.95rem; color: rgb(246 241 231 / 0.68); }
.swatch-top { background: radial-gradient(circle at 30% 40%, #6b4a33 2px, transparent 3px) 0 0/10px 10px, #2f2018; }
.swatch-bark { background: repeating-linear-gradient(35deg, #b0643a 0 8px, #7a4426 8px 11px, #9b5532 11px 18px); }
.swatch-perlite { background: radial-gradient(circle, #fff 3px, transparent 3.5px) 0 0/11px 11px, #cfc8bd; }
.swatch-drain { background: radial-gradient(circle at 40% 40%, #8a8580 3px, transparent 4px) 0 0/12px 12px, #4c4845; }

/* Guarantee banner */
.guarantee {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--leaf-dark), var(--leaf));
  color: #f1f6ee;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.guarantee::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgb(255 255 255 / 0.07);
}
.guarantee h2, .guarantee h3 { color: #fff; margin-bottom: 0.3em; }
.guarantee p { margin: 0; opacity: 0.9; }
.guarantee-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgb(255 255 255 / 0.14); display: grid; place-items: center;
}
.guarantee-icon svg { width: 42px; height: 42px; }
@media (max-width: 760px) { .guarantee { grid-template-columns: 1fr; text-align: left; } }

/* Testimonials */
.quote { position: relative; }
.quote blockquote { margin: 0 0 1.25rem; font-size: 1.08rem; color: var(--text); }
.quote figcaption { font-weight: 600; font-size: 0.95rem; }
.quote figcaption span { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.88rem; }
.stars { color: var(--terracotta); letter-spacing: 0.15em; margin-bottom: 0.75rem; }

/* CTA band */
.cta-band {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: var(--terracotta);
  background-image:
    radial-gradient(circle at 10% 20%, rgb(255 255 255 / 0.14), transparent 35%),
    radial-gradient(circle at 90% 80%, rgb(58 54 52 / 0.25), transparent 40%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 540px; margin: 0 auto 2rem; opacity: 0.92; font-size: 1.15rem; }

/* ---------- Pricing ---------- */
.subnav {
  position: sticky; top: 96px; z-index: 50;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgb(246 241 231 / 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid rgb(58 54 52 / 0.08);
}
.subnav a {
  padding: 0.5rem 1rem; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--charcoal);
  border: 1px solid rgb(58 54 52 / 0.14);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.subnav a:hover, .subnav a.is-active { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
[id] { scroll-margin-top: 170px; }

.tier {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  overflow: hidden;
}
.tier-size {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--leaf-dark);
}
.tier h3 { margin: 0.35rem 0 1rem; }
.price {
  font-family: var(--font-display); font-weight: 800;
  font-size: 3rem; line-height: 1; color: var(--charcoal);
  display: flex; align-items: flex-start; gap: 0.15rem;
  margin-bottom: 1.25rem;
}
.price sup { font-size: 1.2rem; margin-top: 0.4rem; color: var(--terracotta); }
.price small { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--text-muted); align-self: flex-end; margin: 0 0 0.35rem 0.35rem; }
.tier-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.tier p { font-size: 0.97rem; }
.tier-pot {
  position: absolute; right: -18px; top: -18px;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--terracotta-soft);
  display: grid; place-items: center;
  transition: scale 0.5s var(--ease);
}
.tier:hover .tier-pot { scale: 1.12; }
.tier-pot svg { color: var(--terracotta); translate: -6px 6px; }

.note {
  margin-top: 2rem; padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--terracotta);
  background: var(--terracotta-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.97rem;
}

/* Packages */
.package {
  display: flex; flex-direction: column;
  padding: 2.5rem;
  background: var(--cream-soft);
}
.package--featured {
  background: var(--charcoal); color: rgb(246 241 231 / 0.8);
  border-color: transparent;
}
.package--featured h3, .package--featured .price { color: var(--cream); }
.package--featured .feature-list li { border-color: rgb(255 255 255 / 0.1); }
.package--featured p { color: rgb(246 241 231 / 0.7); }
.package-tag {
  align-self: flex-start;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: var(--sage-soft); color: var(--leaf-dark);
  margin-bottom: 1.25rem;
}
.package--featured .package-tag { background: var(--terracotta); color: #fff; }
.package h3 { font-size: 1.75rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.feature-list li {
  display: flex; gap: 0.75rem; padding: 0.8rem 0;
  border-bottom: 1px dashed rgb(58 54 52 / 0.15);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--leaf); margin-top: 0.15rem; }
.package--featured .feature-list svg { color: var(--sage); }
.package .btn { align-self: flex-start; }

/* Add-ons */
.addon { display: flex; flex-direction: column; }
.addon-price {
  display: inline-block; align-self: flex-start;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: var(--charcoal); color: var(--cream);
  font-weight: 600; font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Policies */
.policy { display: flex; gap: 1.25rem; align-items: flex-start; }
.policy .icon-bubble { flex-shrink: 0; margin: 0; }
.policy h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.zone-tags span { font-size: 0.82rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); color: var(--cream); }

/* ---------- Estimator ---------- */
.estimator {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start;
}
.estimator-panel { padding: 2rem; }
.estimator-panel:hover { translate: none; }
.est-group + .est-group { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px dashed rgb(58 54 52 / 0.15); }
.est-group > h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.est-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0;
}
.est-row label { font-weight: 500; }
.est-row label small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.85rem; }
.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid rgb(58 54 52 / 0.18); border-radius: 999px; background: #fff;
}
.stepper button {
  width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer;
  font-size: 1.2rem; color: var(--charcoal); border-radius: 50%;
  transition: background-color 0.2s;
}
.stepper button:hover { background: var(--terracotta-soft); }
.stepper input {
  width: 42px; border: 0; text-align: center; font: 600 1rem var(--font-body); background: transparent;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.segmented label {
  position: relative; cursor: pointer;
  padding: 0.85rem 0.75rem; border-radius: var(--radius-sm);
  border: 1.5px solid rgb(58 54 52 / 0.15); background: #fff;
  font-size: 0.92rem; font-weight: 500; text-align: center; line-height: 1.3;
  transition: border-color 0.2s, background-color 0.2s;
}
.segmented label small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented label:has(input:checked) { border-color: var(--terracotta); background: var(--terracotta-soft); }
.segmented label:has(input:focus-visible) { outline: 3px solid var(--terracotta); outline-offset: 2px; }
@media (max-width: 560px) { .segmented { grid-template-columns: 1fr; } }

.estimate-total {
  position: sticky; top: 180px;
  padding: 2rem; border-radius: var(--radius-lg);
  background: var(--charcoal); color: rgb(246 241 231 / 0.8);
  box-shadow: var(--shadow-lg);
}
.estimate-total h3 { color: var(--cream); font-size: 1.2rem; }
.estimate-lines { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 0.95rem; min-height: 2rem; }
.estimate-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.07); }
.estimate-lines li.muted { color: rgb(246 241 231 / 0.5); border: 0; }
.estimate-sum {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 1rem; border-top: 2px solid rgb(255 255 255 / 0.15);
}
.estimate-sum strong {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--cream); line-height: 1;
}
.estimate-flag { font-size: 0.85rem; color: #e79a70; margin-top: 0.75rem; min-height: 1.2em; }
.estimate-total .btn { width: 100%; justify-content: center; margin-top: 1.25rem; }
.estimate-fine { font-size: 0.8rem; color: rgb(246 241 231 / 0.5); margin: 1rem 0 0; }
@media (max-width: 900px) { .estimator { grid-template-columns: 1fr; } .estimate-total { position: static; } }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-card:hover { translate: none; }
fieldset { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
legend {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--charcoal);
  padding: 0; margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
legend .num {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--terracotta); color: #fff; font: 700 0.95rem var(--font-body);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field > label, .field-label { font-weight: 600; font-size: 0.95rem; }
.req { color: var(--terracotta-dark); }
.hint { font-size: 0.85rem; color: var(--text-muted); }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: 400 1rem var(--font-body); color: var(--text);
  background: #fff;
  border: 1.5px solid rgb(58 54 52 / 0.16);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 130px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: rgb(58 54 52 / 0.32); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgb(196 104 58 / 0.15);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3634' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px;
  padding-right: 2.5rem;
}

/* Validation: only after user interaction (:user-invalid) */
.error-msg { display: none; font-size: 0.86rem; color: var(--error); font-weight: 500; }
:is(input, select, textarea):user-invalid,
:is(input, select, textarea).user-invalid-fallback {
  border-color: var(--error);
  background-color: #fdf1f0;
}
:is(input, select, textarea):user-invalid ~ .error-msg,
:is(input, select, textarea).user-invalid-fallback ~ .error-msg { display: block; }
:is(input, select, textarea):required:user-valid { border-color: var(--leaf); }

/* Choice tiles (radio / checkbox) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.choice {
  position: relative; display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 1rem 1.1rem; border-radius: var(--radius);
  border: 1.5px solid rgb(58 54 52 / 0.15); background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, translate 0.3s var(--ease);
}
.choice:hover { border-color: rgb(196 104 58 / 0.5); translate: 0 -2px; }
.choice input { accent-color: var(--terracotta); width: 18px; height: 18px; margin-top: 0.2rem; flex-shrink: 0; }
.choice strong { display: block; font-size: 0.97rem; }
.choice small { color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; display: block; }
.choice:has(input:checked) { border-color: var(--terracotta); background: var(--terracotta-soft); }

.plant-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; }
.plant-count {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.75rem 0.9rem 0.75rem 1.1rem; border-radius: var(--radius);
  border: 1.5px solid rgb(58 54 52 / 0.12); background: #fff;
}
.plant-count label { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.plant-count label small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.82rem; }

.file-drop {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem; border-radius: var(--radius);
  border: 2px dashed rgb(58 54 52 / 0.2); background: var(--cream-soft);
  cursor: pointer; transition: border-color 0.2s, background-color 0.2s;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--terracotta); background: var(--terracotta-soft); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop:has(input:focus-visible) { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.file-drop svg { width: 32px; height: 32px; color: var(--terracotta); flex-shrink: 0; }
.file-list { font-size: 0.88rem; color: var(--leaf-dark); margin-top: 0.5rem; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; border-top: 1px dashed rgb(58 54 52 / 0.15); padding-top: 1.75rem; }
.form-actions p { margin: 0; font-size: 0.88rem; color: var(--text-muted); flex: 1; min-width: 220px; }
.btn[disabled] { opacity: 0.65; pointer-events: none; }

.form-success {
  text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}
.form-success[hidden] { display: none; }
.form-success .success-icon {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1.5rem;
  background: var(--sage-soft); color: var(--leaf-dark);
  display: grid; place-items: center;
}
.form-success svg { width: 48px; height: 48px; }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) .success-icon { animation: pop 0.7s var(--ease); }
}
@keyframes pop { from { scale: 0.4; opacity: 0; } 60% { scale: 1.08; } }

.form-error-banner {
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  background: #fdf1f0; color: var(--error); border: 1px solid rgb(179 38 30 / 0.2);
  margin-bottom: 1.5rem; font-weight: 500;
}

.aside-stack { display: grid; gap: 1.25rem; position: sticky; top: 120px; }
.aside-card { padding: 1.75rem; }
.aside-card:hover { translate: none; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card ul { padding-left: 1.1rem; margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.aside-card li + li { margin-top: 0.5rem; }
.aside-card--dark { background: var(--charcoal); color: rgb(246 241 231 / 0.78); border: 0; }
.aside-card--dark h3 { color: var(--cream); }
.aside-card--dark a { color: #f0b08d; }
.contact-line { display: flex; align-items: center; gap: 0.65rem; margin-top: 0.75rem; }
.contact-line svg { width: 18px; height: 18px; color: #e79a70; }
@media (max-width: 960px) { .aside-stack { position: static; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-deep); color: rgb(246 241 231 / 0.7);
  padding-block: 4rem 2rem; font-size: 0.95rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--cream); font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: rgb(246 241 231 / 0.75); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #f0b08d; }
.footer-brand { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.footer-brand img { width: 60px; height: 60px; border-radius: 50%; }
.footer-brand span { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--cream); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem;
  color: rgb(246 241 231 / 0.5);
}

/* ---------- Scroll reveal ----------
   Native scroll-driven animations where supported (progressive enhancement);
   IntersectionObserver fallback adds .is-visible (see main.js). */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
  @supports not ((animation-timeline: view()) and (animation-range: entry)) {
    .js .reveal { opacity: 0; translate: 0 30px; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); }
    .js .reveal.is-visible { opacity: 1; translate: 0 0; }
  }
}
@keyframes reveal-in { from { opacity: 0; translate: 0 40px; } }
