/* ==========================================================================
   SW3 Green Energy Services — design system
   "Daylight": pine-green ink, warm daylight paper, sun-yellow action.
   Vanilla CSS. Shared by every page. See site/_partials/README.md.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* colour roles */
  --paper: #f6f5ee;          /* page ground: warm daylight */
  --paper-2: #ecebe1;        /* tone step for alternate sections */
  --white: #ffffff;
  --ink: #0e2318;            /* pine: text + dark fields */
  --ink-2: #33473b;          /* secondary text on paper */
  --pine: #0e2318;
  --pine-2: #163324;         /* tone step on dark */
  --pine-3: #21432f;
  --on-pine: #f3f6ef;
  --on-pine-2: #b9cbbd;      /* secondary text on pine (tinted, not grey) */
  --green: #2bb34a;          /* logo green */
  --green-deep: #1d7f35;     /* AA on paper for links */
  --sun: #ffc629;            /* logo sun — primary action */
  --sun-press: #f2b400;
  --sky: #3aa6e0;            /* logo sky — sparing accent */
  --sky-deep: #1a6f9e;
  --line: #d9d8cc;           /* form fields only */
  --error: #b42318;
  --star: #f2a900;

  /* type */
  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-hero: clamp(2.5rem, 1.3rem + 4.6vw, 5.2rem);
  --t-h2: clamp(2rem, 1.3rem + 2.8vw, 3.6rem);
  --t-h3: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem);
  --t-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.35rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;

  /* space + layout */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --max: 1320px;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --r-card: 6px;
  --r-pill: 999px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  --header-h: 76px;
  --mbar-h: 0px;
  color-scheme: light;
}
@media (max-width: 960px) { :root { --header-h: 64px; --mbar-h: 68px; } }

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: var(--t-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: var(--mbar-h); overflow-x: clip;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.022em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: var(--t-hero); letter-spacing: -0.03em; line-height: 0.98; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--green-deep); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--pine-3); border-radius: 999px; border: 3px solid var(--paper-2); }
html { scrollbar-color: var(--pine-3) var(--paper-2); }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--sun); color: var(--ink); padding: 0.75rem 1rem; border-radius: var(--r-pill); font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- 3. Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--alt { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--pine { background: var(--pine); color: var(--on-pine); }
.section--pine a:not(.btn) { color: var(--sun); }
.section--sun { background: var(--sun); color: var(--ink); }
.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head p { font-size: var(--t-lead); color: var(--ink-2); max-width: 40rem; }
.section--pine .section-head p { color: var(--on-pine-2); }
.section-head--split { max-width: none; display: grid; gap: 1rem 4rem; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; } .section-head--split p { margin: 0; } }
.lead { font-size: var(--t-lead); line-height: 1.5; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--green); }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.25fr 1fr; } .split--wide-right { grid-template-columns: 1fr 1.25fr; } }
.media { border-radius: var(--r-card); overflow: hidden; background: var(--paper-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 4. Buttons ---------- */
.btn {
  --bg: var(--sun); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.8em 1.5em; border: 0; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); font: 700 1.0625rem/1.1 var(--f-text);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.2s, box-shadow 0.25s var(--ease-out);
}
.btn:hover { background: var(--sun-press); transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(14, 35, 24, 0.45); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--pine { --bg: var(--pine); --fg: var(--on-pine); }
.btn--pine:hover { background: var(--pine-3); }
.btn--green { --bg: var(--green-deep); --fg: #fff; }
.btn--green:hover { background: #17692b; }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 2px currentColor; }
.section:not(.section--pine) .btn--ghost:hover, .page-hero--light .btn--ghost:hover { background: rgba(14, 35, 24, 0.06); }
.btn--wa { --bg: #1f9d55; --fg: #fff; }
.btn--wa:hover { background: #188547; }
.btn--sm { min-height: 44px; padding: 0.6em 1.15em; font-size: 0.975rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; color: inherit; text-decoration: none; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- 5. Header + nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--pine); color: var(--on-pine); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.5); }
.topbar { background: var(--pine-2); color: var(--on-pine-2); font-size: 0.875rem; }
.topbar .wrap { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar a { color: var(--on-pine); text-decoration: none; }
.topbar a:hover { color: var(--sun); }
.topbar__trust { display: flex; align-items: center; gap: 0.5rem; }
.topbar__trust .stars { color: var(--sun); letter-spacing: 1px; }
.topbar__links { display: flex; gap: 1.25rem; }
@media (max-width: 960px) { .topbar { display: none; } }
.nav-bar { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--on-pine); text-decoration: none; flex: none; }
.brand img { width: 52px; height: 53px; background: #fff; border-radius: 50%; padding: 2px; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; line-height: 1; letter-spacing: -0.02em; }
.brand__name small { display: block; font-family: var(--f-text); font-weight: 500; font-size: 0.78rem; letter-spacing: 0; color: var(--on-pine-2); margin-top: 4px; }
@media (max-width: 960px) { .brand img { width: 44px; height: 45px; } .brand__name { font-size: 1.05rem; } }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.6rem 0.8rem; border-radius: var(--r-pill);
  color: var(--on-pine); text-decoration: none; font: 600 0.98rem/1 var(--f-text); background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__toggle:hover, .nav__item.is-open > .nav__toggle { background: var(--pine-3); }
.nav__link[aria-current="page"] { color: var(--sun); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease-out); }
.nav__item.is-open > .nav__toggle svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px; padding: 0.5rem;
  background: var(--white); color: var(--ink); border-radius: 10px; list-style: none; margin: 0;
  box-shadow: 0 24px 48px -16px rgba(14, 35, 24, 0.35), 0 4px 12px -4px rgba(14, 35, 24, 0.15);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity 0.2s, transform 0.3s var(--ease-out), visibility 0s 0.3s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dropdown--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.25rem; }
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.2s, transform 0.3s var(--ease-out), visibility 0s; }
@media (hover: hover) and (min-width: 961px) {
  .nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.2s, transform 0.3s var(--ease-out), visibility 0s; }
}
.dropdown a { display: block; padding: 0.65rem 0.8rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; line-height: 1.25; }
.dropdown a span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-2); margin-top: 2px; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--paper); }
.dropdown a[aria-current="page"] { background: var(--paper-2); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.5rem; }
.nav-phone { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--on-pine); text-decoration: none; font-weight: 700; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--sun); }
.nav-phone:hover { color: var(--sun); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--pine-3); color: var(--on-pine); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 24px; height: 24px; }
@media (max-width: 1240px) { .nav-phone span { display: none; } }
@media (max-width: 1100px) { .nav__link, .nav__toggle { padding-inline: 0.55rem; font-size: 0.93rem; } }
@media (max-width: 960px) {
  .nav, .nav-actions { display: none; }
  .menu-btn { display: inline-flex; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--pine); color: var(--on-pine);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); flex: none; }
.mobile-menu__body { padding: 0.5rem var(--gutter) 2rem; flex: 1; }
.mobile-menu details { border-bottom: 1px solid var(--pine-3); }
.mobile-menu summary, .mobile-menu .m-link {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; cursor: pointer; list-style: none;
  font: 700 1.35rem/1.1 var(--f-display); letter-spacing: -0.02em; color: var(--on-pine); text-decoration: none;
}
.mobile-menu .m-link { border-bottom: 1px solid var(--pine-3); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 20px; height: 20px; transition: transform 0.25s var(--ease-out); }
.mobile-menu details[open] summary svg { transform: rotate(180deg); }
.mobile-menu details ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.mobile-menu details a { display: block; padding: 0.6rem 0; color: var(--on-pine-2); text-decoration: none; font-size: 1.05rem; }
.mobile-menu details a:hover, .mobile-menu details a[aria-current="page"] { color: var(--sun); }
.mobile-menu__foot { padding: 1rem var(--gutter) 2rem; display: grid; gap: 0.75rem; }
body.menu-open { overflow: hidden; }

/* ---------- 6. Sticky mobile action bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: var(--pine); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.45);
}
.mbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px;
  border-radius: 8px; color: var(--on-pine); text-decoration: none; font-weight: 700; font-size: 0.82rem; background: var(--pine-3);
}
.mbar a svg { width: 20px; height: 20px; }
.mbar a.mbar__wa { background: #177a42; color: #fff; }
.mbar a.mbar__quote { background: var(--sun); color: var(--ink); font-size: 0.95rem; flex-direction: row; gap: 6px; }
.mbar a:active { transform: scale(0.97); }
@media (max-width: 960px) { .mbar { display: grid; } }

/* ---------- 7. Home hero ---------- */
.hero { position: relative; background: var(--pine); color: var(--on-pine); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transform-origin: 70% 40%; animation: heroDrift 18s var(--ease-out) both; }
@keyframes heroDrift { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 35, 24, 0.94) 0%, rgba(14, 35, 24, 0.82) 42%, rgba(14, 35, 24, 0.25) 100%); }
.hero__inner { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
@media (min-width: 1080px) { .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.85fr); gap: 4rem; } }
.hero h1 { max-width: 13ch; margin-bottom: 0.35em; }
.hero h1 .sun { color: var(--sun); }
.hero__lead { font-size: var(--t-lead); color: var(--on-pine); max-width: 34rem; opacity: 0.92; }
.hero .btn-row { margin-top: 1.75rem; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.hero-proof__which { display: flex; align-items: center; gap: 0.75rem; }
.hero-proof__which img { width: 74px; height: auto; background: #fff; border-radius: 50%; padding: 6px; }
.hero-proof__which strong { display: block; font-size: 1rem; }
.hero-proof__which span { font-size: 0.875rem; color: var(--on-pine-2); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.hero-facts li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); font-weight: 600; font-size: 0.92rem; }
.hero-facts svg { width: 16px; height: 16px; color: var(--green); }
.hero-quote { margin: 2rem 0 0; max-width: 34rem; font-size: 1.02rem; color: var(--on-pine); }
.hero-quote p { margin: 0 0 0.4rem; }
.hero-quote cite { font-style: normal; font-size: 0.9rem; color: var(--on-pine-2); }
.hero-quote .stars { color: var(--sun); margin-right: 0.4rem; }

/* ---------- 8. Inner page hero ---------- */
.page-hero { position: relative; background: var(--pine); color: var(--on-pine); overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media + .page-hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 35, 24, 0.95) 0%, rgba(14, 35, 24, 0.8) 50%, rgba(14, 35, 24, 0.35) 100%); }
.page-hero__inner { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); display: grid; gap: 2rem; align-items: end; }
@media (min-width: 1000px) { .page-hero__inner--form { grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr); align-items: center; gap: 4rem; } }
.page-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.6rem); max-width: 16ch; margin-bottom: 0.4em; }
.page-hero__lead { font-size: var(--t-lead); max-width: 38rem; opacity: 0.92; }
.page-hero .btn-row { margin-top: 1.5rem; }
.page-hero .hero-facts { margin-top: 1.75rem; }
.page-hero--light { background: var(--paper-2); color: var(--ink); }
.page-hero--light .page-hero__lead { color: var(--ink-2); opacity: 1; }
.page-hero--light .hero-facts li { background: var(--white); }
.breadcrumb { font-size: 0.875rem; margin-bottom: 1.25rem; color: var(--on-pine-2); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--sun); text-decoration: underline; }
.page-hero--light .breadcrumb { color: var(--ink-2); }
.page-hero--light .breadcrumb a:hover { color: var(--green-deep); }

/* ---------- 9. Quote form ---------- */
.quote-card { background: var(--white); color: var(--ink); border-radius: 10px; padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); }
.quote-card h2, .quote-card .quote-card__title { font: 700 1.6rem/1.05 var(--f-display); letter-spacing: -0.02em; margin: 0 0 0.3rem; }
.quote-card__sub { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 1.1rem; }
.quote-form { display: grid; gap: 0.8rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 0.3rem; grid-column: span 2; min-width: 0; }
.field--half { grid-column: span 1; }
@media (max-width: 420px) { .field--half { grid-column: span 2; } }
.field label { font-weight: 600; font-size: 0.9rem; }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 6px;
  background: var(--white); color: var(--ink); font: 400 1rem/1.3 var(--f-text); caret-color: var(--green-deep);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2318' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #5f6d63; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b3b2a5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px rgba(43, 179, 74, 0.25); }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field__error { color: var(--error); font-size: 0.85rem; font-weight: 600; }
.field__error:empty { display: none; }
.quote-form__actions { grid-column: 1 / -1; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-top: 0.3rem; min-width: 0; }
.quote-form__actions .btn { min-width: 0; max-width: 100%; }
.quote-form__note { grid-column: span 2; font-size: 0.82rem; color: var(--ink-2); margin: 0; }
.quote-form__status { grid-column: span 2; margin: 0; padding: 0.75rem 0.9rem; border-radius: 6px; background: #e7f6ea; color: #14532d; font-weight: 600; font-size: 0.92rem; }
.quote-form__status:empty { display: none; }

/* ---------- 10. Trust strip (logo marquee) ---------- */
.trust-strip { background: var(--white); padding-block: 1.75rem; overflow: hidden; }
.trust-strip__label { text-align: center; font-weight: 600; color: var(--ink-2); font-size: 0.95rem; margin: 0 0 1.25rem; padding-inline: var(--gutter); }
.marquee { --gap: clamp(2.5rem, 2rem + 2vw, 4rem); display: flex; gap: var(--gap); width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: var(--gap); flex: none; }
.marquee img { height: 52px; width: auto; max-width: 150px; object-fit: contain; filter: saturate(0.9); }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.marquee-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee__set[aria-hidden] { display: none; } .marquee__set { flex-wrap: wrap; justify-content: center; } }

/* static logo wall (accreditations) */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.logo-wall li { display: grid; place-items: center; background: var(--white); border-radius: var(--r-card); padding: 1rem; min-height: 110px; }
.logo-wall img { max-height: 70px; width: auto; object-fit: contain; }

/* ---------- 11. Services ---------- */
.feature-pair { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .feature-pair { grid-template-columns: 1.15fr 1fr; } }
.feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; border-radius: var(--r-card); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease-out); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 35, 24, 0) 30%, rgba(14, 35, 24, 0.9) 100%); }
.feature:hover img { transform: scale(1.04); }
.feature__body { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.feature h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); margin-bottom: 0.3em; }
.feature p { max-width: 32rem; color: #e8efe9; }
.feature .link-arrow { color: var(--sun); }

/* service list: rows, not identical cards */
.service-list { list-style: none; margin: clamp(1.5rem, 1rem + 2vw, 3rem) 0 0; padding: 0; display: grid; gap: 0 3rem; }
@media (min-width: 860px) { .service-list { grid-template-columns: 1fr 1fr; } }
.service-row { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; align-items: center; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.service-row h3 { margin: 0; font-size: 1.35rem; }
.service-row h3 a { color: var(--ink); text-decoration: none; }
.service-row h3 a::after { content: ""; position: absolute; inset: 0; }
.service-row { position: relative; }
.service-row h3 a:hover { color: var(--green-deep); }
.service-row p { grid-column: 1; margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.service-row .pill-new { display: inline-block; vertical-align: middle; margin-left: 0.5rem; padding: 0.15rem 0.55rem; border-radius: var(--r-pill); background: var(--sun); color: var(--ink); font: 700 0.75rem/1.4 var(--f-text); letter-spacing: 0; }
.service-row__go { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); transition: background 0.2s, transform 0.3s var(--ease-out); }
.service-row:hover .service-row__go { background: var(--sun); transform: translateX(4px); }
.service-row__go svg { width: 20px; height: 20px; }

/* generic card grid (inner pages: features, products, related services) */
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-card); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.section--white .card { background: var(--paper); }
a.card:hover, .card:has(a.card__link:hover) { transform: translateY(-4px); box-shadow: 0 18px 36px -20px rgba(14, 35, 24, 0.35); }
.card__media { aspect-ratio: 16 / 10; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--contain img { object-fit: contain; padding: 1.25rem; }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__body h3 { margin: 0; font-size: 1.3rem; }
.card__body p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.card__body .link-arrow, .card__body .btn { margin-top: auto; padding-top: 0.75rem; }
.card__body .btn { padding-top: 0.6em; align-self: flex-start; }
.card__price { font: 700 1.5rem/1 var(--f-display); color: var(--ink); }
.card__link::after { content: ""; position: absolute; inset: 0; }

/* ---------- 12. Steps (how it works) ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--pine-3); border-radius: var(--r-card); overflow: hidden; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: var(--pine-2); padding: 2rem 1.6rem 2.2rem; position: relative; }
.steps li::before { content: counter(step); display: block; font: 700 4.5rem/0.9 var(--f-display); letter-spacing: -0.04em; color: var(--sun); margin-bottom: 1.25rem; }
.steps h3 { color: var(--on-pine); margin-bottom: 0.4em; }
.steps p { color: var(--on-pine-2); margin: 0; font-size: 1rem; }

/* ---------- 13. Brands ---------- */
.brand-feature { display: grid; gap: 1rem; }
@media (min-width: 800px) { .brand-feature { grid-template-columns: repeat(3, 1fr); } }
.brand-tile { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; background: var(--white); border-radius: var(--r-card); color: var(--ink); text-decoration: none; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.brand-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -20px rgba(14, 35, 24, 0.35); }
.brand-tile__logo { height: 64px; display: flex; align-items: center; }
.brand-tile__logo img { max-height: 64px; width: auto; }
.brand-tile h3 { margin: 0; }
.brand-tile p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.brand-tile .link-arrow { margin-top: auto; color: var(--green-deep); }

/* ---------- 14. Reviews ---------- */
.reviews { columns: 1; column-gap: 1.25rem; }
@media (min-width: 700px) { .reviews { columns: 2; } }
@media (min-width: 1100px) { .reviews { columns: 3; } }
.review { break-inside: avoid; margin: 0 0 1.25rem; padding: 1.75rem; background: var(--white); border-radius: var(--r-card); }
.section--pine .review { background: var(--pine-2); color: var(--on-pine); }
.review__stars { display: flex; gap: 2px; color: var(--star); margin-bottom: 0.9rem; }
.review__stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 1.1rem; font-size: 1.02rem; line-height: 1.6; }
.review blockquote p { margin: 0 0 0.75em; }
.review blockquote p:last-child { margin: 0; }
.review--lg blockquote { font: 500 clamp(1.2rem, 1rem + 0.7vw, 1.5rem)/1.4 var(--f-display); letter-spacing: -0.01em; }
.review figcaption { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font: 700 1rem/1 var(--f-display); flex: none; }
.review figcaption small { display: block; font-weight: 500; color: var(--ink-2); font-size: 0.85rem; }
.section--pine .review figcaption small { color: var(--on-pine-2); }
.review mark { background: rgba(255, 198, 41, 0.45); color: inherit; padding: 0 0.1em; }
.rating-chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: var(--r-pill); background: var(--white); font-weight: 700; font-size: 0.95rem; }
.rating-chip .stars { color: var(--star); letter-spacing: 1px; }

/* ---------- 15. Why us / fact list ---------- */
.why-grid { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-item h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.45rem; }
.why-item h3 svg { width: 28px; height: 28px; color: var(--green-deep); flex: none; }
.section--pine .why-item h3 svg { color: var(--sun); }
.why-item p { margin: 0; color: var(--ink-2); }
.section--pine .why-item p { color: var(--on-pine-2); }
.big-figure { font: 700 clamp(5rem, 3rem + 9vw, 11rem)/0.82 var(--f-display); letter-spacing: -0.05em; color: var(--sun); }

/* check list */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.checks li { display: flex; gap: 0.65rem; align-items: flex-start; }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--green-deep); margin-top: 2px; }
.section--pine .checks li svg { color: var(--green); }

/* ---------- 16. Areas ---------- */
.areas { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .areas { grid-template-columns: 1fr 1.05fr; gap: 4rem; } }
.area-links { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.area-links a { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.85rem 1rem; border-radius: 8px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 700; transition: background 0.2s, transform 0.3s var(--ease-out); }
.area-links a:hover { background: var(--sun); transform: translateY(-2px); }
.area-links svg { width: 18px; height: 18px; flex: none; }
.postcode-check { background: var(--pine); color: var(--on-pine); border-radius: 10px; padding: 1.4rem; margin-top: 1rem; }
.postcode-check label { display: block; font: 700 1.2rem/1.2 var(--f-display); margin-bottom: 0.75rem; }
.postcode-check__row { display: flex; gap: 0.5rem; }
.postcode-check input { flex: 1; min-width: 0; min-height: 52px; padding: 0.7rem 1rem; border-radius: var(--r-pill); border: 0; font: 600 1.05rem/1 var(--f-text); text-transform: uppercase; background: #fff; color: var(--ink); }
.postcode-check input::placeholder { text-transform: none; font-weight: 400; color: #5f6d63; }
.postcode-check__result { margin: 0.9rem 0 0; font-weight: 600; color: var(--on-pine); }
.postcode-check__result:empty { display: none; }
.postcode-check__result a { color: var(--sun); }
.map-figure { margin: 0; background: var(--white); border-radius: 10px; padding: clamp(1rem, 0.5rem + 2vw, 2.5rem); }
.map-figure figcaption { font-size: 0.875rem; color: var(--ink-2); margin-top: 0.75rem; text-align: center; }

/* ---------- 17. Offer / promo blocks ---------- */
.offer { display: grid; gap: 2rem; align-items: center; border-radius: 10px; overflow: hidden; }
@media (min-width: 860px) { .offer { grid-template-columns: 1fr 1fr; } }
.offer--octopus { background: #1b0b54; color: #fff; }
.offer--octopus .offer__body { padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.offer--octopus h2 .hl { color: #ff6ad5; }
.offer--octopus p { color: #ddd6fa; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.promo-pair { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .promo-pair { grid-template-columns: 1fr 1fr; } }
.promo { border-radius: 10px; padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); display: flex; flex-direction: column; gap: 0.6rem; }
.promo h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); margin-bottom: 0.2em; }
.promo p { max-width: 34rem; }
.promo .btn-row { margin-top: auto; padding-top: 1rem; }
.promo--sun { background: var(--sun); color: var(--ink); }
.promo--sky { background: #d9eef9; color: var(--ink); }
.promo--pine { background: var(--pine); color: var(--on-pine); }
.promo--pine p { color: var(--on-pine-2); }

/* ---------- 18. CTA band + inline CTA ---------- */
.cta-band { background: var(--sun); color: var(--ink); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.cta-band .wrap { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { margin: 0 0 0.3em; max-width: 18ch; }
.cta-band p { margin: 0; font-size: var(--t-lead); max-width: 38rem; }
.cta-band--pine { background: var(--pine); color: var(--on-pine); }
.cta-band--pine p { color: var(--on-pine-2); }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.cta-inline p { margin: 0; font-weight: 600; font-size: 1.05rem; }
.cta-inline--split { justify-content: space-between; padding: 1.25rem 1.25rem 1.25rem 1.6rem; border-radius: 10px; background: var(--white); }
.section--pine .cta-inline--split { background: var(--pine-2); }
.section--white .cta-inline--split { background: var(--paper); }

/* ---------- 19. FAQ accordion ---------- */
.faq { display: grid; gap: 0.6rem; max-width: 900px; }
.faq details { background: var(--white); border-radius: 8px; }
.section--white .faq details { background: var(--paper); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; cursor: pointer; list-style: none; font: 700 1.12rem/1.3 var(--f-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2318' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.3s var(--ease-out), background-color 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); }
.faq summary:hover::after { background-color: var(--sun); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--ink-2); max-width: 68ch; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- 20. Van / photo story ---------- */
.photo-stack { display: grid; gap: 1rem; grid-template-columns: 1.4fr 1fr; align-items: end; }
.photo-stack .media:first-child { aspect-ratio: 2 / 1; grid-column: 1 / -1; }
.photo-stack .media { aspect-ratio: 4 / 3.4; }

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--pine); color: var(--on-pine-2); padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); font-size: 0.97rem; }
.site-footer a { color: var(--on-pine); text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-col h3 { font: 700 1.05rem/1.2 var(--f-display); color: var(--on-pine); margin-bottom: 1rem; letter-spacing: -0.01em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-contact { display: grid; gap: 0.8rem; margin-top: 1.25rem; }
.footer-contact a, .footer-contact address { display: flex; gap: 0.65rem; align-items: flex-start; font-style: normal; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--sun); margin-top: 3px; }
.footer-wordmark { font: 700 min(10vw, 8.4rem)/0.85 var(--f-display); letter-spacing: -0.05em; color: var(--on-pine); margin: 0; padding-bottom: 0.15em; white-space: nowrap; }
.footer-wordmark span { color: var(--green); }
.footer-trust { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 1.5rem 0; }
.footer-trust li { list-style: none; background: #fff; border-radius: 6px; padding: 0.5rem 0.8rem; height: 56px; display: flex; align-items: center; }
.footer-trust img { max-height: 38px; width: auto; max-width: 120px; }
.footer-trust { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; padding-block: 1.5rem 2rem; border-top: 1px solid var(--pine-3); font-size: 0.875rem; }
.footer-bottom p { margin: 0; }

/* ---------- 22. Tables (store, specs) ---------- */
.table-wrap { overflow-x: auto; border-radius: 8px; background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); }
.table th { font-family: var(--f-display); background: var(--paper-2); }

/* ---------- 23. Reveal motion (only when JS adds .js) ---------- */
.js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
.js [data-reveal].is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] > * { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- 24. Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.stack > * + * { margin-top: 1rem; }
.hide-mobile { } @media (max-width: 960px) { .hide-mobile { display: none !important; } }
.hide-desktop { } @media (min-width: 961px) { .hide-desktop { display: none !important; } }
.media picture, .offer__media picture { display: block; height: 100%; }
.offer--octopus .offer__media { align-self: stretch; background: #1b0b54; }
.offer--octopus .offer__media img { object-fit: contain; }

/* ---------- Responsive guards (mobile overflow fixes) ---------- */
.split > *, .areas > *, .why-grid > *, .offer > *, .promo-pair > *, .quote-form > *, .grid > *, [class*="grid"] > * { min-width: 0; }
h1, h2, h3, p, li, a, td, th { overflow-wrap: break-word; }
@media (max-width: 600px) {
  .table th, .table td { padding: 0.7rem 0.75rem; font-size: 0.92rem; }
  .btn { white-space: normal; text-align: center; }
}
