/* ==========================================================================
   The Garden Crew — Design System
   Brand: Bringing Coastal Gardens to Life
   Fonts: Cormorant Garamond (display) + Open Sans (body)
   ========================================================================== */

:root {
  /* Brand colours */
  --green:      #0C3A2D;  /* primary deep green */
  --green-800:  #0f4735;
  --green-700:  #155a44;
  --cream:      #FEF4CD;  /* warm cream */
  --sage:       #DAE6CE;  /* soft sage */
  --lime:       #B9E88F;  /* accent lime */
  --lime-600:   #9ed86a;

  /* Neutrals */
  --ink:        #12241d;  /* body text on light */
  --muted:      #4c5f57;  /* secondary text */
  --line:       rgba(12,58,45,.14);
  --white:      #ffffff;

  /* Semantic */
  --bg:         var(--cream);
  --surface:    #fffdf3;

  /* Type */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale */
  --sp-1: .5rem;  --sp-2: 1rem;  --sp-3: 1.5rem; --sp-4: 2rem;
  --sp-5: 3rem;   --sp-6: 4rem;  --sp-7: 6rem;   --sp-8: 8rem;

  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -24px rgba(12,58,45,.45);
  --shadow-sm: 0 8px 24px -16px rgba(12,58,45,.5);
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; color: var(--green); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p  { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); line-height: 1.6; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-700);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--lime-600); display: inline-block; }
.eyebrow.center::after { content: ""; width: 26px; height: 2px; background: var(--lime-600); display: inline-block; }
.eyebrow.center { justify-content: center; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--sp-3); }
.grid { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .cols-3,.cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px){ .cols-2,.cols-3,.cols-4 { grid-template-columns: 1fr; } }

.bg-green { background: var(--green); color: var(--cream); }
.bg-green h1,.bg-green h2,.bg-green h3,.bg-green h4 { color: var(--cream); }
.bg-green p { color: rgba(254,244,205,.82); }
.bg-sage { background: var(--sage); }
.bg-surface { background: var(--surface); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--body); font-weight: 700; font-size: .98rem;
  padding: .95rem 1.7rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  min-height: 48px; line-height: 1; text-align: center;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.btn--primary { background: var(--green); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-700); }
.btn--lime { background: var(--lime); color: var(--green); }
.btn--lime:hover { background: var(--lime-600); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--cream); }
.btn--on-green { background: var(--cream); color: var(--green); }
.btn--on-green:hover { background: var(--lime); }
.btn--outline-cream { background: transparent; color: var(--cream); border-color: rgba(254,244,205,.5); }
.btn--outline-cream:hover { background: rgba(254,244,205,.12); border-color: var(--cream); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }

.whatsapp-ico { width: 1.2em; height: 1.2em; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--cream);
  transition: background .3s var(--ease);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand img { width: 46px; height: auto; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--green); line-height: 1; letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-weight: 600; font-size: .95rem; color: var(--green); padding: .55rem .85rem; border-radius: 999px;
  position: relative; transition: background .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px;
  background: var(--lime-600); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--green); position: relative; transition: .25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px){
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: .75rem 1.1rem 1.4rem;
    transform: translateY(-120%); transition: transform .35s var(--ease);
  }
  body.nav-open .nav-links { transform: translateY(0); }
  .nav-links a { padding: .9rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a::after { display: none; }
  .nav-cta .btn.hide-mobile { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; background: var(--green); color: var(--cream);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
  overflow: hidden; text-align: center;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(185,232,143,.18), transparent 70%);
}
.hero::before { width: 640px; height: 640px; top: -220px; right: -160px; }
.hero::after  { width: 520px; height: 520px; bottom: -240px; left: -160px; background: radial-gradient(circle, rgba(218,230,206,.14), transparent 70%); }
.hero .wrap { position: relative; z-index: 2; }

/* Decorative coastal foliage framing the hero (behind the logo/text) */
.hero-foliage { position: absolute; z-index: 1; pointer-events: none; user-select: none; height: auto; }
.hero-foliage--left  { left: 0;  top: 28%; bottom: auto; width: clamp(160px, 26vw, 460px); }
.hero-foliage--right { right: 0; top: 0;    width: clamp(160px, 24vw, 420px); }
.hero-foliage--right-m { display: none; }  /* mobile-only variant (shown below) */

.arch-lockup { display: flex; flex-direction: column; align-items: center; }
.arch-svg { width: min(680px, 92vw); height: auto; display: block; }
.arch-svg text { font-family: var(--display); fill: var(--cream); font-weight: 600; letter-spacing: .02em; }
.hero-wheelbarrow {
  width: min(340px, 62vw); margin-top: -.5rem;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.28));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
@media (prefers-reduced-motion: reduce){ .hero-wheelbarrow { animation: none; } }

.hero-tagline { font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 2.6rem); color: var(--cream); margin-top: 1.4rem; font-weight: 500; }
.hero-sub { color: rgba(254,244,205,.82); max-width: 620px; margin: 1rem auto 0; font-size: 1.1rem; }
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-strip { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid rgba(254,244,205,.18); }
.hero-strip div { text-align: center; }
.hero-strip b { font-family: var(--display); font-size: 2rem; color: var(--lime); display: block; line-height: 1; }
.hero-strip span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(254,244,205,.72); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--green); color: var(--cream); padding-block: clamp(3rem,7vw,5.5rem) clamp(2.5rem,6vw,4rem); text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; width:460px;height:460px;border-radius:50%;bottom:-260px;right:-140px;background:radial-gradient(circle,rgba(185,232,143,.16),transparent 70%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1, .page-hero h2, .page-hero h3 { color: var(--cream); }
.page-hero p { color: rgba(254,244,205,.85); max-width: 640px; margin: 1rem auto 0; }
.breadcrumb { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 1rem; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5rem; }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sage); color: var(--green); margin-bottom: 1.1rem;
}
.card .icon svg { width: 28px; height: 28px; }
.card-link { font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; }
.card-link svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Image split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media { width: 100%; max-width: 440px; margin-inline: auto; }

/* Interleaved split: text-top / image / text-bottom.
   Desktop keeps text on the left with the image spanning on the right;
   mobile stacks in DOM order (intro -> image -> chips). */
.split--styles { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "intro media" "list media"; gap: 1.5rem clamp(1.5rem, 4vw, 4rem); align-items: start; }
.split--styles .styles-intro { grid-area: intro; }
.split--styles .styles-media { grid-area: media; align-self: center; }
.split--styles .styles-list  { grid-area: list; }
@media (max-width: 860px){
  .split--styles { grid-template-columns: 1fr; grid-template-areas: "intro" "media" "list"; }
}
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame { position: relative; }
.frame::before { content:""; position:absolute; inset:16px -16px -16px 16px; border:2px solid var(--lime); border-radius: var(--radius-lg); z-index:-1; }

/* Pills / chips */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { background: var(--sage); color: var(--green); font-weight: 600; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; }
.bg-green .chip { background: rgba(254,244,205,.12); color: var(--cream); }

/* Steps */
.steps { counter-reset: step; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 1.6rem; color: var(--lime-600); font-weight: 700; min-width: 2.2rem;
}
.step h4 { margin-bottom: .2rem; }

/* Testimonial */
.quote { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.3; color: var(--cream); font-weight: 500; }
.quote-mark { font-family: var(--display); font-size: 5rem; color: var(--lime); line-height: .5; display: block; height: .5em; }

/* FAQ accordion */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--green);
  padding: 1.3rem 3rem 1.3rem 0; position: relative; display: block;
}
.faq-q::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; color: var(--lime-600); transition: transform .3s var(--ease); font-family: var(--body); line-height: 1;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding-bottom: 1.3rem; }

/* Areas list */
.areas { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.area-tag { border: 1px solid var(--line); background: var(--surface); padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; color: var(--green); }
.area-tag.muted { opacity: .55; text-decoration: line-through; }

/* Decorative coastal foliage framing the "Where we work" section */
.areas-section { position: relative; overflow: hidden; }
.areas-section .wrap { position: relative; z-index: 1; }
.areas-foliage { position: absolute; z-index: 0; pointer-events: none; user-select: none; height: auto; }
.areas-foliage--left  { left: 0;  bottom: 0;  width: clamp(130px, 20vw, 320px); }
.areas-foliage--right { right: clamp(0px, 4vw, 90px); top: 50%; transform: translateY(-50%); width: clamp(150px, 21vw, 360px); }
@media (max-width: 860px){
  .areas-foliage { opacity: .28; }
  .areas-foliage--left  { width: clamp(90px, 26vw, 150px); }
  .areas-foliage--right { right: 0; width: clamp(90px, 24vw, 150px); }
}
/* Mobile: keep the "Where we work" section clean, no decorative foliage */
@media (max-width: 640px){
  .areas-foliage { display: none; }
}

/* CTA band */
.cta-band { background: var(--green); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; width:360px;height:360px;border-radius:50%;top:-180px;left:-120px;background:radial-gradient(circle,rgba(185,232,143,.18),transparent 70%); }
.cta-band .wrap-inner { position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: rgba(254,244,205,.8); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.site-footer h4 { color: var(--cream); font-family: var(--body); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 120px; margin-bottom: 1rem; }
.footer-brand .brand-name { color: var(--cream); font-size: 1.5rem; }
.site-footer a:hover { color: var(--lime); }
.site-footer li { margin-bottom: .6rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-bottom { border-top: 1px solid rgba(254,244,205,.15); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Quiz (contact / service builder) ---------- */
.quiz-wrap { position: relative; overflow: hidden; min-height: calc(100vh - 74px); min-height: calc(100dvh - 74px); display: flex; flex-direction: column; background: var(--green); color: var(--cream); }
.quiz-progress { position: relative; z-index: 2; height: 6px; background: rgba(254,244,205,.15); }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--lime); transition: width .4s var(--ease); }
.quiz-main { position: relative; z-index: 2; flex: 1; display: grid; place-items: center; padding: clamp(1.5rem, 5vw, 3rem); }

/* Decorative coastal foliage framing the contact planner */
.quiz-foliage { position: absolute; z-index: 1; pointer-events: none; user-select: none; height: auto; }
.quiz-foliage--left  { top: 0;    left: 0;  width: clamp(150px, 20vw, 340px); }
.quiz-foliage--right { bottom: 0; right: 0; width: clamp(170px, 24vw, 380px); }
@media (max-width: 860px){
  .quiz-foliage { opacity: .3; }
  .quiz-foliage--left  { width: clamp(110px, 30vw, 180px); }
  .quiz-foliage--right { width: clamp(120px, 34vw, 200px); }
}
.quiz-inner { width: 100%; max-width: 720px; }
.quiz-step { display: none; animation: quizIn .5s var(--ease); }
.quiz-step.active { display: block; }
@keyframes quizIn { from { opacity: 0; transform: translateY(20px);} to { opacity:1; transform:none; } }
.quiz-count { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: .8rem; display: inline-flex; align-items: center; gap: .5rem; }
.quiz-q { font-family: var(--display); font-size: clamp(1.8rem, 4.4vw, 3rem); color: var(--cream); line-height: 1.1; margin-bottom: .5rem; }
.quiz-help { color: rgba(254,244,205,.72); margin-bottom: 1.8rem; }
.quiz-options { display: grid; gap: .8rem; }
.quiz-options.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px){ .quiz-options.two { grid-template-columns: 1fr; } }
.opt {
  display: flex; align-items: center; gap: .9rem; text-align: left; width: 100%;
  background: rgba(254,244,205,.06); border: 2px solid rgba(254,244,205,.22); color: var(--cream);
  padding: 1.1rem 1.2rem; border-radius: 14px; cursor: pointer; font-size: 1.05rem; font-weight: 600;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .15s var(--ease); font-family: var(--body);
}
.opt:hover { border-color: var(--lime); background: rgba(185,232,143,.1); transform: translateY(-2px); }
.opt.selected { border-color: var(--lime); background: rgba(185,232,143,.16); }
.opt .key { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; border: 1px solid rgba(254,244,205,.4); display: grid; place-items: center; font-size: .85rem; }
.opt.selected .key { background: var(--lime); color: var(--green); border-color: var(--lime); }
.quiz-field { display: block; margin-bottom: 1rem; }
.quiz-field label { display: block; font-weight: 600; margin-bottom: .45rem; color: var(--cream); }
.quiz-field input, .quiz-field textarea {
  width: 100%; font-family: var(--body); font-size: 1.05rem; padding: .95rem 1.1rem; border-radius: 12px;
  border: 2px solid rgba(254,244,205,.25); background: rgba(254,244,205,.06); color: var(--cream);
}
.quiz-field input::placeholder, .quiz-field textarea::placeholder { color: rgba(254,244,205,.5); }
.quiz-field input:focus, .quiz-field textarea:focus, .opt:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-color: var(--lime); }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.quiz-back { background: none; border: 0; color: rgba(254,244,205,.7); cursor: pointer; font-weight: 600; font-family: var(--body); font-size: 1rem; }
.quiz-back:hover { color: var(--cream); }
.quiz-back[hidden] { visibility: hidden; }
.quiz-hint { font-size: .85rem; color: rgba(254,244,205,.6); margin-top: 1rem; display: flex; align-items: center; gap: .4rem; }
.quiz-summary { background: rgba(254,244,205,.06); border: 1px solid rgba(254,244,205,.2); border-radius: 14px; padding: 1.4rem; margin: 1.5rem 0; }
.quiz-summary dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.quiz-summary dd { margin: .2rem 0 1rem; font-weight: 600; color: var(--cream); }
.quiz-summary dd:last-child { margin-bottom: 0; }
.quiz-error { color: #ffd0a8; font-size: .9rem; margin-top: .6rem; min-height: 1.2em; }

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

/* ==========================================================================
   Mobile optimisation
   ========================================================================== */
@media (max-width: 640px){
  /* Tighter vertical rhythm so there's less endless scrolling */
  .section { padding-block: clamp(2.5rem, 9vw, 3.25rem); }
  h1 { font-size: clamp(2.2rem, 9.5vw, 2.9rem); }
  h2 { font-size: clamp(1.75rem, 7.5vw, 2.3rem); }
  .lead, .hero-sub { font-size: 1.02rem; }
  .eyebrow { font-size: .72rem; letter-spacing: .18em; }

  /* Hero: tighten spacing, full-width stacked CTAs */
  .hero { padding-block: 1.75rem 2.5rem; }
  /* Foliage flanks the wheelbarrow at mid-height, clear of the wordmark:
     green fronds on the left, red flowers on the right. */
  .hero-foliage--left  { top: 203px; bottom: auto; width: 76px; }
  /* Hide the tall original; use the compact cropped bouquet instead, rotated
     and part-cropped off the right edge so less of it shows. */
  .hero-foliage--right   { display: none; }
  .hero-foliage--right-m {
    display: block;
    top: 199px; right: -28px; width: min(115px, 28vw);
    transform: rotate(16deg);
    transform-origin: center;
  }
  .hero-tagline { margin-top: 1rem; }
  .hero-sub { margin-top: .75rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .7rem; margin-top: 1.6rem; }
  .hero-actions .btn { width: 100%; }

  /* Stats as a tidy 2x2 grid instead of an uneven wrap */
  .hero-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1rem; margin-top: 1.9rem; padding-top: 1.6rem; }
  .hero-strip b { font-size: 1.7rem; }

  /* Inner page hero */
  .page-hero { padding-block: 2.25rem 2rem; }

  /* Centred images on mobile, sized to make good use of the screen */
  .split-media { max-width: min(100%, 340px); }
  .frame::before { inset: 8px -8px -8px 8px; }
  .split { gap: 1.75rem; }

  /* CTA band + testimonial breathe a little less */
  .cta-band { padding: 1.9rem 1.4rem; }
  .quote { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }

  /* Floating WhatsApp: smaller, clear of the edge + iOS safe area */
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 26px; height: 26px; }

  /* Quiz: comfortable padding, thumb-friendly nav */
  .quiz-main { padding: 1.25rem 1.1rem 2rem; }
  .quiz-q { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .opt { padding: 1rem; font-size: 1rem; }
  .quiz-nav { gap: .75rem; margin-top: 1.5rem; }
  .quiz-nav .btn { flex: 1; }
  .quiz-summary { padding: 1.15rem; }
}

/* Extra-small phones */
@media (max-width: 380px){
  .brand-name { font-size: 1.15rem; }
  .brand img { width: 40px; }
  .hero-strip b { font-size: 1.5rem; }
}

/* ==========================================================================
   Previous-work gallery + lightbox
   ========================================================================== */
.gallery {
  columns: 3 300px;
  column-gap: 1.25rem;
}
.gallery-item {
  break-inside: avoid;
  margin: 0 0 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-link {
  display: block;
  overflow: hidden;
}
.gallery-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s var(--ease);
}
.gallery-item:hover .gallery-link img { transform: scale(1.05); }
.gallery-item figcaption {
  padding: .85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.gallery-item figcaption strong { font-family: var(--display); font-size: 1.2rem; color: var(--green); }
.gallery-item figcaption span { color: var(--muted); font-size: .92rem; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,36,29,.92);
  padding: 4vmin;
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  margin: 0;
  max-width: 92vw;
  max-height: 88vh;
  max-height: 88dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.lightbox-inner img {
  max-width: 92vw;
  max-height: 78vh;
  max-height: 78dvh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
}
.lightbox-inner figcaption { color: var(--cream); font-size: 1rem; text-align: center; max-width: 60ch; }
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,.12);
  color: var(--cream);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-close { top: 3vmin; right: 3vmin; width: 46px; height: 46px; font-size: 1.9rem; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.4rem; line-height: 1; }
.lightbox-prev { left: 3vmin; }
.lightbox-next { right: 3vmin; }

@media (max-width: 600px){
  .gallery { columns: 1; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 2rem; }
}
