/* ============================================================
   GREEN BEING — styles.css
   Playful & colourful garden shop. Light + dark themes.
   ============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS (CSS custom properties)
   Brand palette comes straight from the brief.
   ------------------------------------------------------------ */
:root {
  /* Brand palette */
  --primary:   #a8dab5;  /* soft mint   */
  --accent:    #4b8b3b;  /* leaf green  */
  --bg:        #e6d4e8;  /* soft lilac  */
  --text:      #6b4e3a;  /* warm brown  */
  --secondary: #f6e7a7;  /* butter yellow */

  /* Derived / surface colours (light theme) */
  --surface:        #fffdf8;          /* card + nav background */
  --surface-2:      #fbf4ff;          /* subtle alt surface    */
  --text-soft:      #8a6e58;          /* muted brown text      */
  --border:         #e7d8c8;          /* hairline border       */
  --hot:            #e8662d;          /* sale / fire accent    */
  --shadow:         0 10px 30px rgba(107, 78, 58, 0.12);
  --shadow-sm:      0 4px 14px rgba(107, 78, 58, 0.10);

  /* Type */
  --font-body:    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Nunito", "Helvetica Neue", Arial, sans-serif;

  /* Scale & rhythm */
  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --maxw: 1160px;
  --section-pad: 2.6rem;   /* compact spacing per brief */

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.35s;
}

/* Dark theme overrides — toggled via [data-theme="dark"] on <html> */
[data-theme="dark"] {
  --primary:   #2f6d3f;
  --accent:    #8fd49a;
  --bg:        #1d1726;   /* deep plum night sky */
  --text:      #f1e9df;
  --secondary: #c9b768;

  --surface:   #271f33;
  --surface-2: #2f2640;
  --text-soft: #c3b4cf;
  --border:    #3c3350;
  --shadow:    0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--text);
}

/* Accessibility helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--accent); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--radius-pill);
  z-index: 1100; transition: top var(--speed) var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ------------------------------------------------------------
   3. LAYOUT HELPERS
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container--narrow { max-width: 760px; }

.section { padding-block: var(--section-pad); }

/* Soft alternating section tints for rhythm */
.about      { background: var(--surface-2); }
.tools      { background: var(--surface-2); }
.testimonials { background: var(--surface-2); }
.visit      { background: var(--surface-2); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 1.8rem; }
.section__lead { color: var(--text-soft); font-size: 1.05rem; }

/* Eyebrow label above headings */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--primary);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.7rem;
}
.eyebrow--hot { color: #fff; background: var(--hot); }
.eyebrow--hot .material-icons { font-size: 1rem; vertical-align: -3px; }

.section h2 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.5rem); font-weight: 900; }

/* ------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.78rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { box-shadow: 0 12px 24px rgba(75, 139, 59, 0.35); }

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--accent);
}
.btn--ghost .material-icons { color: var(--hot); font-size: 1.1rem; }

.btn--mini {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  background: var(--secondary);
  color: var(--text);
  border-radius: var(--radius-pill);
}
.btn--mini:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* Generic round icon button */
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--text);
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.icon-btn:hover { background: var(--primary); transform: rotate(-8deg) scale(1.08); }

/* ------------------------------------------------------------
   5. NAVIGATION (fixed top bar)
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.6rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--text);
}
.brand__mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  transition: transform var(--speed) var(--ease);
}
.brand:hover .brand__mark { transform: rotate(20deg) scale(1.1); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__links a {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.nav__links a:hover { background: var(--primary); color: var(--accent); }
.nav__sale {
  color: #fff !important;
  background: var(--hot);
}
.nav__sale:hover { background: var(--hot) !important; color: #fff !important; filter: brightness(1.08); }

.nav__actions { display: flex; align-items: center; gap: 0.3rem; }
.hamburger { display: none; }   /* shown on mobile via media query */

/* ------------------------------------------------------------
   6. HERO (animated gradient + floating blobs)
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 8.5rem 1.25rem 4rem;   /* top room for fixed nav */
  text-align: center;
  /* Animated multi-stop gradient */
  background: linear-gradient(120deg,
              var(--primary) 0%,
              var(--secondary) 35%,
              var(--bg) 70%,
              var(--primary) 100%);
  background-size: 280% 280%;
  animation: gradientDrift 16s ease infinite;
}
[data-theme="dark"] .hero {
  background: linear-gradient(120deg, #243b29, #2f2640, #1d1726, #243b29);
  background-size: 280% 280%;
}

@keyframes gradientDrift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating decorative blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.55;
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}
.hero__blob--1 { width: 180px; height: 180px; background: var(--accent); top: 12%; left: 6%; }
.hero__blob--2 { width: 130px; height: 130px; background: var(--secondary); bottom: 14%; right: 9%; animation-delay: -3s; }
.hero__blob--3 { width: 90px;  height: 90px;  background: var(--surface);   top: 22%; right: 22%; animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-26px) translateX(14px); }
}

.hero__inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  background: var(--surface);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.4rem, 1.2rem + 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}
/* The playful "good." wiggle — our signature flourish */
.hero__wiggle {
  display: inline-block;
  color: var(--accent);
  animation: wiggle 2.6s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes wiggle {
  0%, 92%, 100% { transform: rotate(0deg); }
  94% { transform: rotate(-6deg); }
  96% { transform: rotate(5deg); }
  98% { transform: rotate(-3deg); }
}
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 0.6rem;
}
.hero__sub {
  max-width: 540px;
  margin: 0.8rem auto 1.6rem;
  color: var(--text);
  font-size: 1.08rem;
}
.hero__cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.hero__stats {
  display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2.4rem;
}
.hero__stats li {
  display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.hero__stats strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); }
.hero__stats span { font-size: 0.82rem; color: var(--text-soft); }

/* ------------------------------------------------------------
   7. ABOUT
   ------------------------------------------------------------ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.4rem;
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about__badge {
  position: absolute;
  bottom: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.about__copy h2 { font-size: clamp(1.7rem, 1rem + 2.4vw, 2.6rem); font-weight: 900; margin-bottom: 0.6rem; }
.about__copy p { color: var(--text-soft); margin-bottom: 0.9rem; }
.about__points { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }
.about__points li {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  background: var(--primary); color: var(--accent);
  padding: 0.45rem 0.9rem; border-radius: var(--radius-pill);
}
.about__points .material-icons { font-size: 1.1rem; }

/* ------------------------------------------------------------
   8. CARD GRID (Seeds / Tools / Trees / Hot Sale)
   ------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__img img { transform: scale(1.08); }

.card__tag {
  position: absolute; top: 0.7rem; left: 0.7rem;
  font-family: var(--font-display); font-weight: 800; font-size: 0.72rem;
  background: var(--secondary); color: var(--text);
  padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.card__tag--alt { background: var(--primary); color: var(--accent); }
.card__tag--hot { background: var(--hot); color: #fff; }

.card__body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__body h3 { font-size: 1.18rem; font-weight: 800; }
.card__body p { color: var(--text-soft); font-size: 0.92rem; flex: 1; }

.card__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.4rem;
}
.price { font-family: var(--font-display); font-weight: 900; color: var(--accent); font-size: 1.05rem; }
.price s { color: var(--text-soft); font-weight: 600; margin-right: 0.3rem; font-size: 0.85rem; }

.card--sale { border-color: color-mix(in srgb, var(--hot) 40%, var(--border)); }

/* ------------------------------------------------------------
   9. TESTIMONIAL CAROUSEL
   ------------------------------------------------------------ */
.carousel { position: relative; max-width: 760px; margin-inline: auto; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel__track {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.slide {
  min-width: 100%;
  padding: 2.4rem 2rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.slide__rating { color: var(--secondary); font-size: 1.3rem; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
[data-theme="dark"] .slide__rating { color: #e8c84b; }
.slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.45rem);
  font-weight: 700; line-height: 1.4;
  color: var(--text); margin-bottom: 1rem;
}
.slide__author { color: var(--text-soft); font-weight: 600; }

.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-sm); z-index: 3;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease);
}
.carousel__btn:hover { transform: translateY(-50%) scale(1.12); background: var(--text); }
.carousel__btn--prev { left: -14px; }
.carousel__btn--next { right: -14px; }

.carousel__dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.2rem; }
.carousel__dots button {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--border);
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease);
}
.carousel__dots button[aria-selected="true"] { background: var(--accent); transform: scale(1.35); }

/* ------------------------------------------------------------
   10. FAQ ACCORDION
   ------------------------------------------------------------ */
.accordion { display: flex; flex-direction: column; gap: 0.8rem; }
.accordion__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  text-align: left; color: var(--text);
  transition: background var(--speed) var(--ease);
}
.accordion__trigger:hover { background: var(--surface-2); }
.accordion__icon { color: var(--accent); transition: transform var(--speed) var(--ease); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(180deg); }

/* Animated open/close via max-height */
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion__panel p { padding: 0 1.3rem 1.2rem; color: var(--text-soft); }

/* ------------------------------------------------------------
   11. VISIT / MAP
   ------------------------------------------------------------ */
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.2rem;
  align-items: center;
}
.visit__copy h2 { font-size: clamp(1.7rem, 1rem + 2.4vw, 2.6rem); font-weight: 900; margin-bottom: 0.6rem; }
.visit__copy > p { color: var(--text-soft); }
.visit__details { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.visit__details li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.visit__details .material-icons { color: var(--accent); }
.visit__map iframe {
  width: 100%; height: 320px; border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ------------------------------------------------------------
   12. NEWSLETTER
   ------------------------------------------------------------ */
.newsletter { background: var(--accent); color: #fff; }
.newsletter__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.6rem; flex-wrap: wrap;
}
.newsletter h2 { color: #fff; font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem); font-weight: 900; }
.newsletter p { color: rgba(255,255,255,0.9); }
.newsletter__form { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; position: relative; }
.newsletter__form input {
  font-family: var(--font-body);
  padding: 0.78rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  min-width: 240px;
  background: #fff; color: var(--text);
}
.newsletter__form input:focus-visible { outline: none; border-color: var(--secondary); }
.newsletter__form .btn--primary { background: var(--secondary); color: var(--text); }
.newsletter__msg {
  position: absolute; bottom: -1.7rem; left: 0.4rem;
  font-size: 0.85rem; color: var(--secondary); font-weight: 700;
}

/* ------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--text);
  color: #f3ece4;
  padding-top: 2.6rem;
}
[data-theme="dark"] .footer { background: #15101c; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 1.8rem;
  padding-bottom: 2rem;
}
.brand--footer { color: #fff; margin-bottom: 0.8rem; }
.brand--footer .brand__mark { background: var(--accent); color: #fff; }
.footer__about p { color: rgba(243,236,228,0.75); font-size: 0.95rem; max-width: 32ch; }

.footer__col h3 {
  font-size: 1rem; font-weight: 800; color: #fff;
  margin-bottom: 0.9rem; letter-spacing: 0.02em;
}
.footer__links li, .footer__contact li { margin-bottom: 0.55rem; }
.footer__links a { color: rgba(243,236,228,0.78); transition: color var(--speed) var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__contact li { display: flex; align-items: center; gap: 0.5rem; color: rgba(243,236,228,0.78); font-size: 0.92rem; }
.footer__contact .material-icons { color: var(--accent); font-size: 1.1rem; }

/* Socials */
.socials { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.socials a {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.socials a:hover { background: var(--accent); transform: translateY(-4px) rotate(8deg); }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.6rem;
  max-width: var(--maxw); margin-inline: auto;
  font-size: 0.88rem; color: rgba(243,236,228,0.7);
}
.footer__legal a { transition: color var(--speed) var(--ease); }
.footer__legal a:hover { color: var(--accent); }

/* ------------------------------------------------------------
   14. BACK-TO-TOP
   ------------------------------------------------------------ */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
  z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px) scale(1.08); }

/* ------------------------------------------------------------
   15. SCROLL REVEAL ANIMATION
   Elements with .reveal fade + rise in when .is-visible is added.
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------
   16. RESPONSIVE — TABLET & MOBILE
   ------------------------------------------------------------ */
@media (max-width: 880px) {
  .about__grid,
  .visit__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --section-pad: 2.1rem; }

  /* Hamburger becomes visible; links collapse into a drawer */
  .hamburger { display: grid; }

  .nav__links {
    position: fixed;
    inset: 60px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 1.25rem 1.2rem;
    box-shadow: var(--shadow);
    /* Hidden state */
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    z-index: 999;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav__sale { text-align: center; }

  .carousel__btn--prev { left: 2px; }
  .carousel__btn--next { right: 2px; }

  .newsletter__inner { flex-direction: column; align-items: flex-start; }
  .newsletter__form input { min-width: 0; flex: 1; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats li { flex: 1 1 40%; }
  .card-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .card__body { padding: 0.8rem; }
  .card__body h3 { font-size: 1rem; }
  .card__body p { font-size: 0.82rem; }
}

/* ------------------------------------------------------------
   17. REDUCED MOTION — respect user preference
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   18. MULTI-PAGE ADDITIONS
   Styles for the dedicated About / Seeds / Tools / Trees /
   Order pages plus the home "explore" hub.
   ============================================================ */

/* Active nav link (current page) */
.nav__links a.active {
  background: var(--primary);
  color: var(--accent);
}
.nav__links a.nav__order {
  color: #fff;
  background: var(--accent);
}
.nav__links a.nav__order:hover { filter: brightness(1.08); color: #fff; }

/* ------------------------------------------------------------
   18a. PAGE HERO (sub-banner used on every inner page)
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 1.25rem 3rem;
  text-align: center;
  background: linear-gradient(120deg,
              var(--primary) 0%, var(--secondary) 45%, var(--bg) 100%);
  background-size: 220% 220%;
  animation: gradientDrift 16s ease infinite;
}
[data-theme="dark"] .page-hero {
  background: linear-gradient(120deg, #243b29, #2f2640, #1d1726);
  background-size: 220% 220%;
}
.page-hero::after {
  /* soft fade into the page below */
  content: "";
  position: absolute; inset: auto 0 0 0; height: 60px;
  background: linear-gradient(transparent, var(--bg));
}
.page-hero__inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.page-hero h1 {
  font-size: clamp(2.1rem, 1.2rem + 4vw, 3.6rem);
  font-weight: 900;
}
.page-hero__intro {
  margin: 0.8rem auto 0;
  max-width: 560px;
  color: var(--text);
  font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--accent);
  background: var(--surface);
  padding: 0.35rem 0.9rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .material-icons { font-size: 1rem; }

/* ------------------------------------------------------------
   18b. SPLIT — alternating text + image rows
   ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.4rem;
  align-items: center;
}
.split + .split { margin-top: var(--section-pad); }
.split--flip .split__media { order: 2; }     /* image on the right */
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.split__copy h2 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.4rem); font-weight: 900; margin-bottom: 0.6rem; }
.split__copy p { color: var(--text-soft); margin-bottom: 0.9rem; }
.split__copy p:last-child { margin-bottom: 0; }

/* Generic prose width helper */
.prose { max-width: 70ch; }
.prose p { color: var(--text-soft); margin-bottom: 1rem; }

/* ------------------------------------------------------------
   18c. VALUES / FEATURE GRID (icon cards)
   ------------------------------------------------------------ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--primary); color: var(--accent);
  margin-bottom: 0.9rem;
}
.value__icon .material-icons { font-size: 1.7rem; }
.value h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.4rem; }
.value p { color: var(--text-soft); font-size: 0.95rem; }

/* ------------------------------------------------------------
   18d. TIMELINE (our story)
   ------------------------------------------------------------ */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 1.6rem; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(var(--accent), var(--primary));
}
.timeline__item { position: relative; padding: 0 0 1.6rem 1.6rem; }
.timeline__item::before {
  content: ""; position: absolute; left: -1.6rem; top: 4px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--surface);
  box-shadow: var(--shadow-sm);
}
.timeline__year { font-family: var(--font-display); font-weight: 900; color: var(--accent); }
.timeline__item h3 { font-size: 1.1rem; font-weight: 800; margin: 0.1rem 0 0.3rem; }
.timeline__item p { color: var(--text-soft); font-size: 0.95rem; }

/* ------------------------------------------------------------
   18e. NUMBERED GUIDE STEPS (sowing / planting = real sequence)
   ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.3rem 1.3rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--secondary); color: var(--text);
  font-family: var(--font-display); font-weight: 900;
  margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.35rem; }
.step p { color: var(--text-soft); font-size: 0.93rem; }

/* ------------------------------------------------------------
   18f. CATEGORY PILLS (quick jump within a shop page)
   ------------------------------------------------------------ */
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.pills a {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  padding: 0.5rem 1.1rem; border-radius: var(--radius-pill);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.pills a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

/* Sub-heading for grouped sections within a page */
.group-head { margin: 0 0 1.2rem; }
.group-head h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); font-weight: 900; }
.group-head p { color: var(--text-soft); }

/* ------------------------------------------------------------
   18g. CALLOUT BAND
   ------------------------------------------------------------ */
.callout {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.4rem; flex-wrap: wrap;
}
.callout h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); font-weight: 900; }
.callout p { color: var(--text); max-width: 46ch; }
[data-theme="dark"] .callout { background: #3a3320; }

/* ------------------------------------------------------------
   18h. ORDER PAGE
   ------------------------------------------------------------ */
.order-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Selectable product rows */
.order-list { display: flex; flex-direction: column; gap: 0.9rem; }
.order-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.order-item:focus-within { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.order-item img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.order-item__info { flex: 1; min-width: 0; }
.order-item__info h3 { font-size: 1.02rem; font-weight: 800; }
.order-item__info p { color: var(--text-soft); font-size: 0.84rem; }
.order-item__price { font-family: var(--font-display); font-weight: 900; color: var(--accent); }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; gap: 0.4rem; }
.qty button {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: var(--accent);
  font-weight: 900; display: grid; place-items: center;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.qty button:hover { background: var(--accent); color: #fff; transform: scale(1.1); }
.qty input {
  width: 44px; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.3rem; background: var(--surface-2); color: var(--text);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Customer details form */
.order-form { margin-top: 1.6rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.9rem; margin-bottom: 0.35rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 0.98rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text);
  transition: border-color var(--speed) var(--ease);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Sticky order summary */
.order-summary {
  position: sticky; top: 84px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.order-summary h2 { font-size: 1.3rem; font-weight: 900; margin-bottom: 1rem; }
.summary-lines { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; min-height: 40px; }
.summary-line { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.92rem; }
.summary-line span:first-child { color: var(--text-soft); }
.summary-empty { color: var(--text-soft); font-size: 0.92rem; font-style: italic; }
.summary-row {
  display: flex; justify-content: space-between;
  padding-top: 0.7rem; border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 0.5rem; padding-top: 0.7rem;
  border-top: 2px solid var(--accent);
  font-family: var(--font-display); font-weight: 900;
}
.summary-total strong { font-size: 1.5rem; color: var(--accent); }
.order-summary .btn { width: 100%; justify-content: center; margin-top: 1.2rem; }
.order-note { font-size: 0.82rem; color: var(--text-soft); margin-top: 0.8rem; text-align: center; }
.order-success {
  background: var(--primary); color: var(--accent);
  border-radius: var(--radius); padding: 1rem;
  font-family: var(--font-display); font-weight: 800;
  text-align: center; margin-top: 1rem;
}

/* ------------------------------------------------------------
   18i. EXPLORE CARDS (home hub) — link cards to each page
   ------------------------------------------------------------ */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.explore {
  position: relative; display: block;
  border-radius: var(--radius-lg); overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.explore:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.explore img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.explore:hover img { transform: scale(1.08); }
.explore__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 30%, rgba(43,30,20,0.82));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.2rem; color: #fff;
}
.explore__overlay h3 { color: #fff; font-size: 1.35rem; font-weight: 900; }
.explore__overlay p { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.explore__overlay .more {
  display: inline-flex; align-items: center; gap: 0.2rem;
  font-family: var(--font-display); font-weight: 800; font-size: 0.88rem;
  margin-top: 0.4rem; color: var(--secondary);
}
.explore:hover .more .material-icons { transform: translateX(4px); }
.explore .more .material-icons { font-size: 1.1rem; transition: transform var(--speed) var(--ease); }

/* ------------------------------------------------------------
   18j. RESPONSIVE for new components
   ------------------------------------------------------------ */
@media (max-width: 880px) {
  .split,
  .order-grid { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }   /* normal stacking on mobile */
  .split__media { max-width: 520px; margin-inline: auto; }
  .order-summary { position: static; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .order-item { flex-wrap: wrap; }
  .order-item img { width: 56px; height: 56px; }
}
