/*
 Theme Name:   Starter Child
 Theme URI:    https://dossisdigital.com.au
 Description:  Dossis Digital master template for GeneratePress.
 Author:       Dossis Digital
 Author URI:   https://dossisdigital.com.au
 Template:     generatepress
 Version:      3.7.0
 Text Domain:  starter-child
*/

/* ===========================================
   FONTS , C&J brand: Fraunces (headings, self-hosted) + Inter (body).

   Fraunces is self-hosted as a variable WOFF2 with opsz + wght + SOFT axes
   so we get one file for every weight + display size. font-display: block
   gives a very brief invisible-text window (max ~50ms when preloaded)
   instead of the visible FOUT swap.

   Inter is still loaded via Google Fonts , it's the most-cached font on
   the web (~95% browser cache hit rate in practice) so FOUT impact is
   negligible. Swap to self-hosted later if you want zero external requests.

   Preload is emitted from functions.php (temp_preload_brand_font) so the
   browser starts fetching the woff2 before parsing this stylesheet.
   =========================================== */
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-variable.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  /* swap (not block): headings paint immediately in a fallback, then swap to
     Fraunces when it loads. block held ALL heading text invisible until the
     font downloaded, which gated FCP/LCP to ~3.5s on throttled mobile. */
  font-display: swap;
}
/* Inter (body) is SELF-HOSTED (variable, latin subset) — no Google Fonts request
   at all. The old @import / external css2 link was a render-blocking third-party
   round-trip (~750ms on throttled mobile). Preloaded from functions.php. */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/*
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/urbanist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
*/

/* ===========================================
   TABLE OF CONTENTS
   ===========================================
   1.  Design Tokens (CSS Custom Properties)
   2.  Base / Reset / GP Overrides
   3.  Typography & Shared Components
   4.  Buttons
   5.  Header & Desktop Navigation
   6.  Mobile Menu
   7.  Hero Section
   8.  Trust Bar
   9.  Services Section
   10. Why Choose Section
   11. Process Section
   12. Reviews Section
   13. Gallery Section
   14. CTA Banner Section
   15. FAQ Section
   16. Areas Section
   17. Contact Section
   18. Quote Form
   19. Footer
   20. Sticky Mobile CTA
   21. Blog Template
   22. WPForms Overrides
   23. Utilities
   24. Animations & Transitions
   25. Reduced Motion
   =========================================== */


/* ===========================================
   1. DESIGN TOKENS
   =========================================== */
:root {
  /* ── Colours (C&J Figma tokens) ── */
  --temp-primary: #64A53C;           /* Primary */
  --temp-primary-hover: #518F2B;     /* Primary Hover */
  --temp-primary-light: #D5F5DC;     /* Background 2 (soft mint) */
  --temp-secondary: #11332B;         /* Secondary */
  --temp-accent: #11332B;            /* No separate accent in Figma; alias to secondary */
  --temp-dark: #11332B;              /* Background 1 (hero/dark sections) */
  --temp-heading-color: #2C2E30;     /* Heading Text */
  --temp-body: rgba(0, 0, 0, 0.8);   /* Body Text (80%) */
  --temp-muted: rgba(0, 0, 0, 0.6);  /* Body Text Light (60%) */
  --temp-light: #F7FBF9;             /* Almost White */
  --temp-white: #FFFFFF;
  --temp-border: #E6EFE8;            /* Soft mint-tinted neutral border */
  --temp-star-gold: #F4B400;         /* Review stars (Google-review gold, portfolio pill pattern) */

  /* Aliases for clarity / direct Figma names */
  --temp-bg-1: #11332B;
  --temp-bg-2: #D5F5DC;
  --temp-almost-white: #f1f9f4;

  /* Opacity variants (no raw rgba) */
  --temp-primary-10: color-mix(in srgb, var(--temp-primary) 10%, transparent);
  --temp-primary-15: color-mix(in srgb, var(--temp-primary) 15%, transparent);
  --temp-dark-60: color-mix(in srgb, var(--temp-dark) 60%, transparent);
  --temp-dark-70: color-mix(in srgb, var(--temp-dark) 70%, transparent);
  --temp-white-10: color-mix(in srgb, var(--temp-white) 10%, transparent);
  --temp-white-15: color-mix(in srgb, var(--temp-white) 15%, transparent);
  --temp-white-40: color-mix(in srgb, var(--temp-white) 40%, transparent);
  --temp-black-5: color-mix(in srgb, #000 5%, transparent);
  --temp-black-8: color-mix(in srgb, #000 8%, transparent);
  --temp-black-10: color-mix(in srgb, #000 10%, transparent);
  --temp-black-12: color-mix(in srgb, #000 12%, transparent);
  --temp-black-15: color-mix(in srgb, #000 15%, transparent);
  --temp-black-60: rgba(0, 0, 0, 0.6);

  /* ── Typography (C&J Figma) ── */
  --temp-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --temp-body-font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale (matches Figma: H1 56, H2 42, H3 32, H4 22, H5 20, Text 18/16) */
  --temp-fs-xs: 0.75rem;     /* 12px */
  --temp-fs-sm: 0.875rem;    /* 14px */
  --temp-fs-base: 1rem;      /* 16px , Text 16 */
  --temp-fs-md: 1.125rem;    /* 18px , Text 18 */
  --temp-fs-lg: 1.25rem;     /* 20px , H5 */
  --temp-fs-xl: 1.375rem;    /* 22px , H4 */
  --temp-fs-2xl: 2rem;       /* 32px , H3 */
  --temp-fs-3xl: 2.625rem;   /* 42px , H2 */
  --temp-fs-4xl: 3.5rem;     /* 56px , H1 */
  --temp-fs-h1-mobile: 2.875rem; /* 46px , H1 Mobile */
  --temp-fs-h2-mobile: 2.25rem;  /* 36px , H2 Mobile */

  /* Legacy --temp-font-* aliases (template carry-over). New code should
     reference --temp-fs-* above, but these keep older sections working. */
  --temp-font-xs:   var(--temp-fs-xs);
  --temp-font-sm:   var(--temp-fs-sm);
  --temp-font-base: var(--temp-fs-base);
  --temp-font-md:   var(--temp-fs-md);
  --temp-font-lg:   var(--temp-fs-lg);
  --temp-font-xl:   var(--temp-fs-xl);
  --temp-font-2xl:  var(--temp-fs-2xl);   /* 32px */
  --temp-font-3xl:  var(--temp-fs-3xl);
  --temp-font-4xl:  var(--temp-fs-4xl);

  /* Line heights (Figma: H1/H2/H3 = 1.2, H4 = 1.3, H5 = 1.4, Text = 1.5) */
  --temp-lh-tight: 1.2;
  --temp-lh-snug: 1.3;
  --temp-lh-relaxed: 1.4;
  --temp-lh-base: 1.5;

  /* ── Spacing ── */
  --temp-space-xs: 0.25rem;
  --temp-space-sm: 0.5rem;
  --temp-space-md: 1rem;
  --temp-space-lg: 1.5rem;
  --temp-space-xl: 2rem;
  --temp-space-2xl: 3rem;
  --temp-space-3xl: 5rem;
  --temp-section-pad: clamp(3rem, 6vw, 5rem);

  /* ── Radius ── */
  --temp-radius-sm: 4px;
  --temp-radius-md: 8px;
  --temp-radius-lg: 16px;
  --temp-radius-full: 9999px;

  /* ── Shadows ── */
  --temp-shadow-sm: 0 1px 2px var(--temp-black-5);
  --temp-shadow-md: 0 4px 12px var(--temp-black-8);
  --temp-shadow-lg: 0 10px 30px var(--temp-black-12);
  --temp-shadow-xl: 0 20px 50px var(--temp-black-15);

  /* ── Transitions ── */
  --temp-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --temp-transition-fast: 0.15s var(--temp-ease);
  --temp-transition-base: 0.3s var(--temp-ease);
  --temp-transition-slow: 0.6s var(--temp-ease);

  /* ── Breakpoints (reference only, used in media queries) ──
     --temp-bp-xs:  480px;
     --temp-bp-sm:  768px;
     --temp-bp-md:  1024px;
     --temp-bp-lg:  1280px;
  */

  /* ── Layout ── */
  --temp-header-height: 92px;
  --temp-container: 1200px;
}


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

body {
  font-family: var(--temp-body-font);
  color: var(--temp-body);
  font-size: var(--temp-fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Hide GeneratePress default header, we render our own */
.site-header { display: none !important; }

/* Remove GP padding/margin on pages */
.page .entry-content,
.page .site-content .entry-content {
  padding: 0;
  margin: 0;
}
.page .inside-article,
.page .entry-content {
  max-width: 100%;
}
body.page .site-content .content-area {
  padding: 0;
}
.page-header { display: none; }
/* Hide GP default 404 content, we use our own */
.error404 .site-content .inside-article { display: none; }

/* Container , gutters always present so children never touch viewport edges. */
.temp-container {
  max-width: 1280px;
  margin-inline: auto;
}
@media (max-width: 1024px) {
  .temp-container { padding-inline: 32px; }
}
@media (max-width: 768px) {
  .temp-container { padding-inline: 20px; }
}
@media (max-width: 480px) {
  .temp-container { padding-inline: 16px; }
}


/* ===========================================
   3. TYPOGRAPHY & SHARED COMPONENTS
   =========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--temp-heading);
  color: var(--temp-heading-color);
  line-height: var(--temp-lh-tight);
  margin: 0;
  /* Variable-font tuning for Fraunces:
     - opsz: auto so display sizes use the wider/sharper cuts, smaller
       headings use the more readable cuts
     - SOFT 60: warm hand-cut feel without going wonky
     letter-spacing tightens slightly because serifs read more open by default. */
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 60;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--temp-fs-4xl); line-height: var(--temp-lh-tight); font-weight: 700; }
h2 { font-size: var(--temp-fs-3xl); line-height: var(--temp-lh-tight); font-weight: 700; }
h3 { font-size: var(--temp-fs-2xl); line-height: var(--temp-lh-tight); font-weight: 700; }
h4 { font-size: var(--temp-fs-xl);  line-height: var(--temp-lh-snug);  font-weight: 600; }
h5 { font-size: var(--temp-fs-lg);  line-height: var(--temp-lh-relaxed); font-weight: 600; }
h6 { font-size: var(--temp-fs-md);  line-height: var(--temp-lh-base); font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: var(--temp-fs-h1-mobile); line-height: var(--temp-lh-tight); }
  h2 { font-size: var(--temp-fs-h2-mobile); line-height: var(--temp-lh-tight); }
}

/* Eyebrow */
/* Figma Tag-Dot: sentence-case, 18px Inter Regular, body-text colour, with green dot prefix */
.temp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--temp-space-sm); /* 8px between dot and text */
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-md); /* 18px */
  font-weight: 400; /* Regular */
  line-height: var(--temp-lh-base); /* 1.5 */
  text-transform: none;
  letter-spacing: 0;
  color: var(--temp-body); /* Body Text 80% */
  margin-bottom: var(--temp-space-sm);
}
.temp-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--temp-primary);
  flex-shrink: 0;
}
.temp-eyebrow--light {
  color: var(--temp-white);
}
.temp-eyebrow--light::before {
  background: var(--temp-primary); /* keep green dot on dark backgrounds */
}
@media (max-width: 768px) {
  .temp-eyebrow { font-size: 16px; }
}

/* Section Header */
.temp-section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--temp-space-2xl);
}
.temp-section-heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl);
  font-weight: 700;
  color: var(--temp-heading-color);
  line-height: 1.2;
  margin-bottom: var(--temp-space-md);
}
.temp-section-desc {
  font-size: var(--temp-fs-md);
  color: var(--temp-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-inline: auto;
}

/* Accent mark on heading text , "highlighter pen" effect.
   Pure-CSS marker swipe: primary-green bar covering the lower ~60% of the
   line-box, slight horizontal padding so the bar extends past the text
   edges, box-decoration-break: clone so multi-line highlights render as
   one bar per line (not one stretched rectangle).

   Text colour is INHERITED from the parent heading: white on dark-bg
   sections (hero, services--dark, faqs--dark) stays white; dark headings
   (Why, Gallery, light service pillars) keep --temp-heading-color. So the
   bar just adds emphasis behind the existing text colour, no contrast
   problems on either background. */
.temp-mark {
  color: inherit;
  background-image: linear-gradient(
    to top,
    var(--temp-primary-light) 0,
    var(--temp-primary-light) 45%,
    transparent 45%
  );
  padding: 0 0.18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 2px;
}

/* Solid variant for use on dark or image backgrounds, where the soft mint
   --temp-primary-light disappears. Uses full --temp-primary green. Apply
   explicitly via `<span class="temp-mark temp-mark--solid">`, OR rely on the
   descendant auto-overrides below for the common dark sections (hero image
   heroes, dark services, dark FAQs, fullwidth dark CTAs). */
.temp-mark--solid,
.temp-hero--immersive .temp-mark,
.temp-services--dark .temp-mark,
.temp-faqs--dark .temp-mark,
.temp-cta--fullwidth .temp-mark,
.temp-cta--card-bg .temp-mark,
.temp-cta--card-image .temp-mark,
.temp-card-grid--bg-dark .temp-mark {
  background-image: linear-gradient(
    to top,
    var(--temp-primary) 0,
    var(--temp-primary) 45%,
    transparent 45%
  );
}

/* Body text */
.temp-body-text {
  font-size: var(--temp-fs-md);
  color: var(--temp-body);
  line-height: 1.7;
}

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

@media (max-width: 768px) {
  .temp-section-heading {
    font-size: var(--temp-fs-2xl);
  }
}


/* ===========================================
   4. BUTTONS
   =========================================== */

/* Button reset utility */
.temp-btn-reset {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}
.temp-btn-reset:hover,
.temp-btn-reset:focus,
.temp-btn-reset:active {
  background: transparent;
  outline: none;
  box-shadow: none;
}

/* Base button */
.temp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* Figma button gap */
  padding: 16px 32px; /* Figma: py 16 / px 32 */
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-md); /* 18px , Figma Text Medium */
  font-weight: 400; /* Figma: Inter Regular */
  border-radius: var(--temp-radius-full); /* full pill */
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: var(--temp-lh-base); /* 1.5 */
  transition: transform var(--temp-transition-fast),
              box-shadow var(--temp-transition-fast),
              background-color var(--temp-transition-fast),
              border-color var(--temp-transition-fast),
              color var(--temp-transition-fast);
}
.temp-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--temp-shadow-md);
}
.temp-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: none;
}

/* Primary , solid green, white text always (hover/focus/active stay white) */
.temp-btn--primary,
.temp-btn--primary:link,
.temp-btn--primary:visited {
  background: var(--temp-primary);
  color: var(--temp-white);
  border-color: var(--temp-primary);
}
.temp-btn--primary:hover,
.temp-btn--primary:focus,
.temp-btn--primary:active,
a.temp-btn--primary:hover,
a.temp-btn--primary:focus,
a.temp-btn--primary:active {
  background: var(--temp-primary-hover);
  border-color: var(--temp-primary-hover);
  color: var(--temp-white);
}

/* Outline , white with green border, fills green on hover */
.temp-btn--outline,
.temp-btn--outline:link,
.temp-btn--outline:visited {
  background: var(--temp-white);
  color: var(--temp-primary);
  border-color: var(--temp-primary);
}
.temp-btn--outline:hover,
.temp-btn--outline:focus,
.temp-btn--outline:active,
a.temp-btn--outline:hover,
a.temp-btn--outline:focus,
a.temp-btn--outline:active {
  background: var(--temp-primary);
  color: var(--temp-white);
  border-color: var(--temp-primary);
}

/* Tint: mint-filled secondary (fresh-airy leans tint fills over outlines). */
.temp-btn--tint,
.temp-btn--tint:link,
.temp-btn--tint:visited {
  background: var(--temp-primary-light);
  color: var(--temp-primary-hover);
  border-color: transparent;
}
.temp-btn--tint:hover,
.temp-btn--tint:focus,
.temp-btn--tint:active,
a.temp-btn--tint:hover,
a.temp-btn--tint:focus,
a.temp-btn--tint:active {
  background: var(--temp-primary);
  color: var(--temp-white);
  border-color: var(--temp-primary);
}

/* Ghost */
.temp-btn--ghost {
  background: transparent;
  color: var(--temp-body);
  border-color: var(--temp-border);
}
.temp-btn--ghost:hover {
  background: var(--temp-light);
  border-color: var(--temp-muted);
}

/* Small */
.temp-btn--sm {
    padding: 12px 24px;
    font-size: var(--temp-fs-base);
}

/* Mobile: CTA buttons span the available width so they're easy tap targets. */
@media (max-width: 768px) {
  .temp-btn {
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
  }
}


/* ===========================================
   5. HEADER & DESKTOP NAVIGATION
   =========================================== */
.temp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--temp-white);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--temp-transition-base);
}
.temp-header.scrolled {
  box-shadow: var(--temp-shadow-md);
}

.temp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin-inline: auto;
  height: 92px; /* Figma navbar height */
}

.temp-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.temp-header__logo img {
  display: block;
  height: 60px; /* Figma logo height */
  width: auto;
}

/* Desktop nav */
.temp-nav-desktop {
  display: flex;
  align-items: center;
}
.temp-nav__links {
  display: flex;
  align-items: center;
  gap: var(--temp-space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}
.temp-nav__links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  font-weight: 500;
  line-height: 1;
  color: var(--temp-body);
  text-decoration: none;
  padding: var(--temp-space-sm) 0;
  transition: color var(--temp-transition-fast);
}
.temp-nav__links > li > a:hover {
  color: var(--temp-primary);
}
/* Dropdown chevron, kept the same visual weight as the text. */
.temp-nav__links > li > a > svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--temp-transition-fast);
}
.temp-nav__dropdown:hover > a > svg,
.temp-nav__dropdown:focus-within > a > svg {
  transform: rotate(180deg);
}

/* Dropdown */
.temp-nav__dropdown {
  position: relative;
}
.temp-nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--temp-white);
  border-radius: var(--temp-radius-md);
  box-shadow: var(--temp-shadow-lg);
  padding: var(--temp-space-sm) 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--temp-transition-fast), visibility var(--temp-transition-fast);
  z-index: 2001;
}
.temp-nav__dropdown:hover .temp-nav__dropdown-menu,
.temp-nav__dropdown:focus-within .temp-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.temp-nav__dropdown-menu li a {
  display: block;
  padding: var(--temp-space-sm) var(--temp-space-lg);
  font-size: var(--temp-fs-sm);
  color: var(--temp-body);
  transition: background var(--temp-transition-fast), color var(--temp-transition-fast);
}
.temp-nav__dropdown-menu li a:hover {
  background: var(--temp-light);
  color: var(--temp-primary);
}

/* Header CTA */
.temp-header__cta {
  display: flex;
  align-items: center;
  gap: var(--temp-space-md);
}

/* Mobile toggle, hidden on desktop */
.temp-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--temp-space-sm);
  z-index: 2001;
}
.temp-mobile-toggle svg {
  width: 28px;
  height: 28px;
  color: var(--temp-heading-color);
}
/* Two-SVG icon swap, hamburger/close (Rule 33: never CSS-transform lines) */
.temp-mobile-toggle .temp-icon--x { display: none; }
.temp-mobile-toggle[aria-expanded="true"] .temp-icon--menu { display: none; }
.temp-mobile-toggle[aria-expanded="true"] .temp-icon--x { display: block; }

@media (max-width: 768px) {
  .temp-header__inner {
    padding-inline: 20px;
  }
  .temp-mobile-toggle {
    display: flex;
  }
  .temp-nav-desktop {
    display: none;
  }
  .temp-header__cta {
    display: none;
  }
}


/* ===========================================
   6. MOBILE MENU
   =========================================== */
.temp-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: var(--temp-heading-color);
  z-index: 2000;
  padding: 0 var(--temp-space-lg);
  display: flex;
  flex-direction: column;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.temp-mobile-menu.is-open {
  max-height: 800px;
  padding: var(--temp-space-lg);
}


.temp-mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.temp-mobile-nav-links li {
  margin-bottom: 0;
}
.temp-mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--temp-space-md) 0;
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  color: var(--temp-white);
  text-decoration: none;
  border-bottom: 1px solid var(--temp-white-10);
}

/* Chevron for dropdown toggles */
.temp-mobile-nav-link .chevron {
  width: 24px;
  height: 24px;
  transition: transform var(--temp-transition-fast);
}
.temp-mobile-dropdown-toggle.is-open .chevron {
  transform: rotate(180deg);
}

/* Sub-menu */
.temp-mobile-dropdown {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--temp-space-md);
  background: var(--temp-white-10);
}
.temp-mobile-dropdown.is-open {
  display: block;
}
.temp-mobile-dropdown a {
  display: block;
  padding: var(--temp-space-md) var(--temp-space-md);
  font-size: var(--temp-fs-sm);
  color: var(--temp-white);
  text-decoration: none;
  transition: background var(--temp-transition-fast);
}
.temp-mobile-dropdown a:hover {
  background: var(--temp-white-10);
}

/* CTA inside mobile menu */
.temp-mobile-menu .temp-btn {
  margin-top: var(--temp-space-lg);
  text-align: center;
}

/* Lock body scroll + overlay behind menu */
body.temp-menu-open {
  overflow: hidden;
}
body.temp-menu-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99;
}


/* ===========================================
   7. HERO SECTION
   =========================================== */
.temp-hero {
  padding: var(--temp-section-pad) 0;
  position: relative;
  overflow: hidden;
}

/* Variants */

/* Immersive hero (Figma node 2099:3165) , used for home + every secondary
   page that wants the dark gradient + bg image + 65/35 layout. PHP adds
   .temp-hero--immersive when variant is 'home' or 'immersive'. */
.temp-hero--immersive {
  padding-top: 80px;
  padding-bottom: 60px;
  color: var(--temp-white);
  display: flex;
  align-items: flex-end;
}
.temp-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Lazy-loaded looping bg video sits ABOVE the bg img and fades in once it
   starts playing. Poster image (passed via `poster` attr) is identical to
   the bg img, so the visual stays smooth during the swap. */
.temp-hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
}
.temp-hero__bg-video.is-playing {
  opacity: 1;
}
.temp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #061512 100%);
  z-index: 1;
  pointer-events: none;
}
.temp-hero--immersive .temp-hero__container { position: relative; z-index: 2; }
.temp-hero--immersive .temp-hero__grid { align-items: flex-end; }
.temp-hero--immersive .temp-hero__heading,
.temp-hero--immersive .temp-hero__content { color: var(--temp-white); }
.temp-hero--immersive .temp-hero__sub { color: rgba(255, 255, 255, 0.92); max-width: 640px; }
.temp-hero--immersive .temp-hero__trust-item { color: var(--temp-white); }
.temp-hero--immersive .temp-hero__updated { color: rgba(255, 255, 255, 0.85); }

/* Legacy / non-immersive variants */
.temp-hero--service { background: var(--temp-light); }
.temp-hero--location { background: var(--temp-light); }
.temp-hero--generic {
  padding-top: calc(var(--temp-header-height) + var(--temp-space-xl));
  padding-bottom: var(--temp-space-2xl);
}

.temp-hero__container {
  /* uses .temp-container via double class */
}

.temp-hero__grid {
  display: grid;
  grid-template-columns: 13fr 10fr; /* 65/35 split */
  gap: var(--temp-space-2xl);
  align-items: center;
}

.temp-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
}

.temp-hero__heading {
  font-family: var(--temp-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--temp-heading-color);
  line-height: 1.15;
}

.temp-hero__sub {
  font-size: var(--temp-fs-md);
  color: var(--temp-muted);
  line-height: 1.6;
  max-width: 520px;
}

.temp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--temp-space-md);
  margin-top: var(--temp-space-sm);
}

.temp-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--temp-space-md);
  margin-top: var(--temp-space-md);
}
.temp-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--temp-space-xs);
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
}
.temp-hero__trust-item svg {
  color: var(--temp-primary);
  flex-shrink: 0;
}

/* Freshness microcopy: "Last updated: 18 August 2026". Quiet, 14px floor. */
.temp-hero__updated {
  font-size: var(--temp-fs-sm); /* 14px, microcopy minimum */
  color: var(--temp-muted);
}

/* Hero media */
.temp-hero__media {
  position: relative;
}
.temp-hero__img {
  width: 100%;
  height: auto;
  border-radius: var(--temp-radius-lg);
  object-fit: cover;
}

/* Review pill. Follows the portfolio pill pattern (NextGen Figma atom /
   ds-trade hero pill): white pill on photo heroes, brand-mid border, warm
   stars, 16px text, hugs content. */
.temp-review-pill {
  display: inline-flex;
  align-self: flex-start;                /* don't stretch in the flex column */
  align-items: center;
  width: fit-content;
  gap: var(--temp-space-sm);
  background: var(--temp-white);
  border: 1px solid var(--temp-primary);
  padding: 12px 16px;
  border-radius: var(--temp-radius-full);
  font-size: var(--temp-fs-base);
  line-height: 1;
  color: var(--temp-body);
  margin-bottom: var(--temp-space-md);
}
.temp-review-pill__stars {
  display: inline-flex;
  align-items: center;
  color: var(--temp-star-gold);
}
.temp-review-pill__text {
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .temp-hero--immersive {
    min-height: 600px;
    padding-top: calc(var(--temp-header-height) + 56px);
    padding-bottom: 48px;
  }
}
@media (max-width: 768px) {
  .temp-hero--immersive {
    min-height: 520px;
    padding-top: calc(var(--temp-header-height) + 40px);
    padding-bottom: 32px;
  }
  .temp-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--temp-space-xl);
  }
  .temp-hero__content {
    text-align: center;
    align-items: center;
  }
  .temp-hero__ctas {
    justify-content: center;
    width: 100%;
  }
  .temp-hero__ctas .temp-btn { flex: 1 1 auto; min-width: 0; }
  .temp-hero__trust {
    justify-content: center;
  }
  .temp-hero__sub {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .temp-hero--immersive {
    min-height: 440px;
    padding-top: 40px;
    padding-bottom: 24px;
  }
}


/* ===========================================
   8. TRUST BAR
   =========================================== */
.temp-trust-bar {
  background: var(--temp-dark);
  color: var(--temp-white);
  padding: var(--temp-space-lg) 0;
}
.temp-trust-bar__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--temp-space-lg);
}
.temp-trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--temp-space-sm);
  text-align: center;
}
.temp-trust-bar__item svg {
  flex-shrink: 0;
  color: var(--temp-primary);
}
.temp-trust-bar__value {
  font-family: var(--temp-heading);
  font-weight: 700;
  font-size: var(--temp-fs-xl);
}
.temp-trust-bar__label {
  font-size: var(--temp-fs-sm);
  color: #dbdbdb;
}

@media (max-width: 480px) {
  .temp-trust-bar__inner {
    flex-direction: column;
    gap: var(--temp-space-md);
  }
}


/* ===========================================
   9. SERVICES SECTION
   =========================================== */
/* Services section, Figma node 2099:3201 (dark variant) */
.temp-services {
  padding: 80px 64px;
  background: var(--temp-white);
}
.temp-services--dark {
  background: var(--temp-secondary); /* #11332b */
  color: var(--temp-white);
}
.temp-services__container {
  max-width: 1280px;
  margin-inline: auto;
}
.temp-services__header {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 40px;
}
.temp-services__header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.temp-services__heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl); /* 42px , Figma H2 */
  font-weight: 700;
  line-height: var(--temp-lh-tight);
  color: var(--temp-heading-color);
  margin: 0;
}
.temp-services__desc {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-md); /* 18px */
  line-height: var(--temp-lh-base); /* 1.5 */
  color: var(--temp-body);
  margin: 0;
}
.temp-services__actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* Dark-section overrides */
.temp-services--dark .temp-services__heading,
.temp-services--dark .temp-services__desc {
  color: var(--temp-white);
}
.temp-services--dark .temp-eyebrow {
  color: var(--temp-white);
}
.temp-services--dark .temp-eyebrow::before {
  background: var(--temp-primary); /* Green dot stays green on dark bg */
}

.temp-services__grid {
  display: grid;
  grid-template-columns: repeat(var(--temp-cols, 3), 1fr);
  gap: 32px;
}

/* Image card layout (Figma): image fills the cell, title bar floats at bottom */
.temp-service-card--image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 380px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  transition: transform var(--temp-transition-base), box-shadow var(--temp-transition-base);
  isolation: isolate;
}
.temp-service-card--image:hover {
  transform: translateY(-4px);
}
.temp-service-card--image .temp-service-card__img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.temp-service-card--image .temp-service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.temp-service-card--image .temp-service-card__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--temp-white);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.temp-service-card--image .temp-service-card__title {
  flex: 1;
  font-family: var(--temp-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--temp-secondary); /* #11332b per Figma */
  margin: 0;
}
.temp-service-card--image .temp-service-card__icon-cube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: var(--temp-bg-2); /* #d5f5dc mint, IconCube molecule */
  color: var(--temp-primary);
  flex-shrink: 0;
  transition: transform var(--temp-transition-fast), background-color var(--temp-transition-fast);
}
.temp-service-card--image .temp-service-card__icon-cube svg {
  width: 24px;
  height: 24px;
}
.temp-service-card--image:hover .temp-service-card__icon-cube {
  background: var(--temp-primary);
  color: var(--temp-white);
  transform: translateX(2px);
}

/* Fallback icon-card layout (backwards compat for service hub / pillar pages without per-card images) */
.temp-service-card {
  display: flex;
  flex-direction: column;
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  overflow: hidden;
  box-shadow: var(--temp-shadow-sm);
  transition: transform var(--temp-transition-fast), box-shadow var(--temp-transition-fast);
  text-decoration: none;
  color: inherit;
}
.temp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--temp-shadow-lg);
}
.temp-service-card__body {
  padding: var(--temp-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-sm);
  flex: 1;
}
.temp-service-card__icon {
  color: var(--temp-primary);
  margin-bottom: var(--temp-space-xs);
}
.temp-service-card__title {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-lg);
  font-weight: 700;
  color: var(--temp-heading-color);
}
.temp-service-card__desc {
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
  line-height: 1.6;
}
.temp-service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--temp-space-xs);
  font-size: var(--temp-fs-sm);
  font-weight: 600;
  color: var(--temp-primary);
  margin-top: auto;
  padding-top: var(--temp-space-sm);
}

@media (max-width: 1024px) {
  .temp-services { padding: 72px 32px; }
  .temp-services__header { gap: 32px; }
  .temp-services__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .temp-service-card--image { height: 320px; }
}
@media (max-width: 768px) {
  .temp-services { padding: 56px 20px; }
  .temp-services__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
  }
  .temp-services__actions {
    flex-shrink: 1;
    flex-wrap: wrap;
    width: 100%;
  }
  .temp-services__actions .temp-btn { flex: 1 1 auto; min-width: 0; }
  .temp-services__grid { grid-template-columns: 1fr; gap: 16px; }
  .temp-service-card--image { height: 280px; }
  .temp-services__heading { font-size: var(--temp-fs-h2-mobile); }
  .temp-service-card--image .temp-service-card__title { font-size: 22px; }
  .temp-service-card--image .temp-service-card__bar { padding: 16px 24px; }
}
@media (max-width: 480px) {
  .temp-services { padding: 48px 16px; }
  .temp-services__heading { font-size: var(--temp-fs-h2-mobile, 32px); }
  .temp-service-card--image { height: 240px; }
}


/* ===========================================
   10. WHY CHOOSE SECTION
   =========================================== */
/* Why C&J section, Figma node 2099:3249 */
.temp-why {
  padding: 80px 64px;
  background: var(--temp-white);
}
.temp-why__container {
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

/* Header row: title block left, action buttons right */
.temp-why__header {
  display: flex;
  align-items: center;
  gap: 64px;
  width: 100%;
}
.temp-why__header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.temp-why__heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl); /* 42px , Figma H2 */
  font-weight: 700;
  line-height: var(--temp-lh-tight);
  color: var(--temp-heading-color);
  margin: 0;
}
.temp-why__intro {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-md); /* 18px */
  line-height: var(--temp-lh-base); /* 1.5 */
  color: #6b7280; /* Figma uses neutral muted grey here, not body-text 80% */
  margin: 0;
}
.temp-why__actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* Content row: cards stacked + image. Grid (not flex) so the row height
   is set by the CARDS column only , the image wrapper stretches to match.
   Using flexbox with align-items: stretch caused the image's natural
   portrait aspect to push the row taller than the cards. With grid the
   image wrapper has no intrinsic-height vote (the img inside is
   absolutely positioned), so the row sizes to the cards stack and the
   image fills the wrapper via object-fit: cover. */
.temp-why__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* cards | image, 50/50 */
  gap: 40px;
  align-items: stretch;
  width: 100%;
}
.temp-why__grid {
  display: flex;
  flex-direction: column;
  gap: 54px; /* Figma spacing between cards */
  min-width: 0;
  border-radius: 24px;
}
.temp-why__image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 0; /* allow the grid cell, not the image, to dictate height */
}
.temp-why__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

/* Each card: IconCube on the left, title + desc on the right */
.temp-why__card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.temp-why__icon-cube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: var(--temp-bg-2); /* #d5f5dc mint */
  color: var(--temp-primary);
  flex-shrink: 0;
}
.temp-why__icon-cube svg {
  width: 32px;
  height: 32px;
}
.temp-why__card-body {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.temp-why__title {
  font-family: var(--temp-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--temp-secondary); /* #11332b per Figma */
  margin: 0;
}
.temp-why__desc {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-md); /* 18px */
  line-height: var(--temp-lh-base); /* 1.5 */
  color: #6b7280;
  margin: 0;
}

@media (max-width: 1024px) {
  .temp-why { padding: 72px 32px; }
  .temp-why__header { gap: 32px; }
  /* Columns stay 50/50 (inherited from desktop), just tighten section padding. */
}
@media (max-width: 768px) {
  .temp-why { padding: 56px 20px; }
  .temp-why__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .temp-why__actions {
    flex-shrink: 1;
    flex-wrap: wrap;
    width: 100%;
  }
  .temp-why__actions .temp-btn { flex: 1 1 auto; min-width: 0; }
  /* Stack cards over image on mobile, give image an explicit height since the
     row's natural sizing is now driven by the cards in single-column mode. */
  .temp-why__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .temp-why__image {
    height: 320px;
  }
  .temp-why__grid { gap: 32px; }
  .temp-why__heading { font-size: var(--temp-fs-h2-mobile); }
  .temp-why__title { font-size: 20px; }
}
@media (max-width: 480px) {
  .temp-why { padding: 48px 16px; }
  .temp-why__heading { font-size: var(--temp-fs-h2-mobile, 32px); }
  .temp-why__image { height: 260px; }
  .temp-why__card { gap: 14px; }
  .temp-why__icon-cube { width: 40px; height: 40px; }
  .temp-why__icon-cube svg { width: 24px; height: 24px; }
}


/* ===========================================
   11. PROCESS SECTION (Figma node 2099:3311)
   =========================================== */
.temp-process {
  padding: 80px 64px;
  background: var(--temp-white);
}

.temp-process__container {
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Header: text left, buttons right */
.temp-process__header {
  display: flex;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.temp-process__header-text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.temp-process__heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl);
  font-weight: 700;
  line-height: var(--temp-lh-tight);
  color: var(--temp-heading-color);
  margin: 0;
  width: 100%;
}

.temp-process__desc {
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  font-weight: 400;
  line-height: 1.5;
  color: var(--temp-muted);
  margin: 0;
}

.temp-process__actions {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-shrink: 0;
}

/* Card: image left, panel right, on a rounded container */
.temp-process__card {
  position: relative;
  width: 100%;
  max-width: 1280px;
  border-radius: 24px;
  overflow: hidden;
  padding: 32px;
  display: flex;
  gap: 40px;
  align-items: stretch;
  background: var(--temp-bg-2, #d5f5dc);
}

.temp-process__card-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.temp-process__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Left spacer so the image is visible behind the gap */
.temp-process__card::before {
  content: '';
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
}

.temp-process__card-panel {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: clamp(320px, 36%, 460px);
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 54px;
  justify-content: center;
}

.temp-process__step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}

.temp-process__step-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 24px;
  background: var(--temp-bg-2, #d5f5dc);
  color: var(--temp-secondary, #11332b);
  font-family: var(--temp-body);
  font-size: var(--temp-fs-sm);
  font-weight: 400;
  line-height: 1.5;
}

.temp-process__step-title {
  font-family: var(--temp-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--temp-secondary, #11332b);
  margin: 0;
  width: 100%;
}

.temp-process__step-desc {
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  font-weight: 400;
  line-height: 1.5;
  color: var(--temp-muted);
  margin: 0;
  width: 100%;
}

@media (max-width: 1024px) {
  .temp-process { padding: 72px 32px; }
  .temp-process__card {
    padding: 24px;
    gap: 24px;
  }
  .temp-process__card-panel {
    width: clamp(320px, 44%, 420px);
    padding: 24px;
    gap: 36px;
  }
  .temp-process__step-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .temp-process {
    padding: 56px 20px;
  }
  .temp-process__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .temp-process__actions {
    flex-wrap: wrap;
    width: 100%;
  }
  .temp-process__actions .temp-btn { flex: 1 1 auto; min-width: 0; }
  .temp-process__card {
    padding: 0;
    flex-direction: column;
    gap: 0;
    background: transparent;
  }
  .temp-process__card::before {
    content: none;
  }
  .temp-process__card-image {
    position: relative;
    inset: auto;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
  }
  .temp-process__card-panel {
    width: 100%;
    margin-top: -24px;
    z-index: 2;
    gap: 32px;
  }
  .temp-process__heading { font-size: var(--temp-fs-h2-mobile); }
  .temp-process__step-title { font-size: 20px; }
}
@media (max-width: 480px) {
  .temp-process { padding: 48px 16px; }
  .temp-process__heading { font-size: var(--temp-fs-h2-mobile, 32px); }
  .temp-process__card-image { height: 220px; }
  .temp-process__card-panel { padding: 20px; gap: 28px; }
}


/* ===========================================
   12. REVIEWS SECTION
   =========================================== */
.temp-reviews {
  padding: var(--temp-section-pad) 0;
  background: var(--temp-light);
}

.temp-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--temp-space-lg);
}

.temp-reviews__widget {
  margin-bottom: var(--temp-space-xl);
}

.temp-review-card {
  background: var(--temp-white);
  padding: var(--temp-space-lg);
  border: 1px solid var(--temp-border);
  border-radius: var(--temp-radius-md);
}

.temp-review-card__stars {
  color: var(--temp-accent);
  margin-bottom: var(--temp-space-md);
  display: flex;
  gap: var(--temp-space-xs);
}

.temp-review-card__text {
  font-style: italic;
  font-size: var(--temp-fs-sm);
  color: var(--temp-body);
  line-height: 1.7;
  margin-bottom: var(--temp-space-md);
}

.temp-review-card__author {
  font-size: var(--temp-fs-sm);
}
.temp-review-card__author strong {
  font-weight: 600;
  color: var(--temp-heading-color);
}
.temp-review-card__author span {
  color: var(--temp-muted);
  margin-left: var(--temp-space-sm);
}

@media (max-width: 768px) {
  .temp-reviews__grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .temp-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Reviews Marquee: two rows of Google review cards drifting opposite ways.
   Ported from the ds-trade testimonials-grid marquee (jc-electrical), restyled
   onto the temp- tokens. */
.temp-reviews-marquee {
  padding: 96px 0 calc(96px - 2.5rem);
  background: var(--temp-almost-white);
  overflow: hidden;
}
.temp-reviews-marquee .temp-section-header {
  text-align: center;
  margin-bottom: var(--temp-space-2xl);
}
.temp-reviews-marquee__viewport {
  display: flex;
  flex-direction: column;
  /* Row spacing + shadow room both come from each track's padding-bottom, so
     the card shadow sits INSIDE the horizontal clip instead of being cropped. */
  gap: 0;
  overflow-x: clip;
  overflow-y: visible;
  /* Horizontal edge fade only; 200% tall + centred so it never clips a card
     shadow vertically. */
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent) center / 100% 200% no-repeat;
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent) center / 100% 200% no-repeat;
}
.temp-reviews-marquee__track {
  display: flex;
  flex: none;
  /* Cards size to their own content instead of stretching to the row's
     tallest card: kills the dead air under short reviews. */
  align-items: flex-start;
  width: max-content;
  gap: var(--temp-space-lg);
  padding-bottom: 2.5rem;
  will-change: transform;
  animation: temp-marquee-ltr 120s linear infinite;
}
.temp-reviews-marquee__track--rtl { animation-name: temp-marquee-rtl; }
@keyframes temp-marquee-ltr { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes temp-marquee-rtl { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.temp-reviews-marquee__card {
  flex: 0 0 auto;
  width: clamp(270px, 78vw, 360px);
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
  background: var(--temp-white);
  border: 1px solid var(--temp-border);
  border-radius: var(--temp-radius-md);
  padding: var(--temp-space-lg);
  box-shadow: 0 2px 8px var(--temp-black-5);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.temp-reviews-marquee__card:hover {
  box-shadow: 0 10px 24px var(--temp-black-10);
  transform: translateY(-2px);
}
.temp-reviews-marquee__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--temp-space-sm);
}
.temp-reviews-marquee__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--temp-star-gold);
}
.temp-reviews-marquee__g {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.temp-reviews-marquee__text {
  font-size: var(--temp-fs-base);
  line-height: 1.7;
  color: var(--temp-body);
  margin: 0;
  flex-grow: 1;
  /* Generous cap: short Google reviews should render WHOLE (mid-sentence
     truncation reads cheap); this only guards against a future outlier. */
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.temp-reviews-marquee__author {
  display: flex;
  align-items: center;
  gap: var(--temp-space-md);
  margin-top: var(--temp-space-xs);
}
.temp-reviews-marquee__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--temp-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-lg);
  font-weight: 700;
  color: var(--temp-white);
  flex-shrink: 0;
}
.temp-reviews-marquee__author-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.temp-reviews-marquee__author-name {
  font-weight: 600;
  color: var(--temp-heading-color);
  font-size: var(--temp-fs-base);
  line-height: 1.3;
}
.temp-reviews-marquee__author-meta {
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
  margin-top: 2px;
}
.temp-reviews-marquee__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--temp-space-lg);
}

/* Reduced motion: stop the drift, hide loop dupes, wrap into static rows. */
@media (prefers-reduced-motion: reduce) {
  .temp-reviews-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .temp-reviews-marquee__card--dupe { display: none; }
}


/* ===========================================
   13. GALLERY SECTION
   =========================================== */
/* Gallery section, Figma node 2099:3289 , 2-col asymmetric magazine layout */
.temp-gallery {
  padding: 80px 64px;
  background: var(--temp-white);
}
.temp-gallery__container {
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

/* Left column: text block on top, two side-by-side images at the bottom */
.temp-gallery__left {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.temp-gallery__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 40px;
  padding-right: 24px; /* Figma right padding on the content block */
}
.temp-gallery__heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl); /* 42px , Figma H2 */
  font-weight: 700;
  line-height: var(--temp-lh-tight);
  color: var(--temp-heading-color);
  margin: 0;
}
.temp-gallery__desc {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-md); /* 18px */
  line-height: var(--temp-lh-base); /* 1.5 */
  color: var(--temp-body); /* Body Text 80% */
  margin: 0;
  white-space: pre-wrap;
}
.temp-gallery__actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.temp-gallery__left-imgs {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.temp-gallery__left-imgs .temp-gallery__img {
  flex: 1 0 0;
  min-width: 0;
  height: 400px;
}

/* Right column: 2 images on top (flex 1, fill height) + 1 tall image (h-662) at the bottom */
.temp-gallery__right {
  flex: 1 0 0;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.temp-gallery__right-top {
  flex: 1 0 0;
  min-height: 0;
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.temp-gallery__right-top .temp-gallery__img {
  flex: 1 0 0;
  min-width: 0;
  height: 100%;
}
.temp-gallery__right-bottom .temp-gallery__img {
  height: 490px;
  width: 100%;
}

/* Image element (wraps the <img>) */
.temp-gallery__img {
  border-radius: 24px;
  overflow: hidden;
}
.temp-gallery__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .temp-gallery { padding: 72px 32px; }
  .temp-gallery__container { flex-direction: column; }
  .temp-gallery__right { align-self: auto; }
  .temp-gallery__right-bottom .temp-gallery__img { height: 480px; }
}
@media (max-width: 768px) {
  .temp-gallery { padding: 56px 20px; }
  .temp-gallery__left { gap: 40px; }
  .temp-gallery__content { padding-right: 0; padding-bottom: 16px; }
  .temp-gallery__actions {
    flex-wrap: wrap;
    width: 100%;
  }
  .temp-gallery__actions .temp-btn { flex: 1 1 auto; min-width: 0; }
  .temp-gallery__left-imgs,
  .temp-gallery__right-top { flex-direction: column; }
  .temp-gallery__left-imgs .temp-gallery__img,
  .temp-gallery__right-top .temp-gallery__img { height: 280px; }
  .temp-gallery__right-bottom .temp-gallery__img { height: 360px; }
  .temp-gallery__heading { font-size: var(--temp-fs-h2-mobile); }
}
@media (max-width: 480px) {
  .temp-gallery { padding: 48px 16px; }
  .temp-gallery__heading { font-size: var(--temp-fs-h2-mobile, 32px); }
  .temp-gallery__left-imgs .temp-gallery__img,
  .temp-gallery__right-top .temp-gallery__img { height: 220px; }
  .temp-gallery__right-bottom .temp-gallery__img { height: 280px; }
}


/* ===========================================
   13a-2. GALLERY GRID (flexible N-column tile grid)
   Used on the dedicated /gallery/ page below the 5-image asymmetric
   .temp-gallery section. Separate component, separate class prefix.
   =========================================== */
.temp-gallery-grid {
  padding: 80px 64px;
}
.temp-gallery-grid--bg-white        { background: var(--temp-white); }
.temp-gallery-grid--bg-almost-white { background: var(--temp-almost-white, #f7fbf9); }

.temp-gallery-grid__container {
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.temp-gallery-grid__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.temp-gallery-grid__heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl);
  font-weight: 700;
  line-height: var(--temp-lh-tight);
  color: var(--temp-heading-color);
  margin: 0;
}

.temp-gallery-grid__desc {
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  line-height: 1.5;
  color: var(--temp-muted);
  margin: 0;
}

.temp-gallery-grid__grid {
  display: grid;
  grid-template-columns: repeat(var(--temp-gallery-grid-cols, 3), minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.temp-gallery-grid__item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--temp-bg-2, #d5f5dc);
}
.temp-gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--temp-transition-base, 200ms ease);
}
.temp-gallery-grid__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 1024px) {
  .temp-gallery-grid { padding: 72px 32px; }
  .temp-gallery-grid__grid {
    /* Cap at 2 columns on tablet so photos stay readable */
    grid-template-columns: repeat(min(2, var(--temp-gallery-grid-cols, 3)), minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .temp-gallery-grid { padding: 56px 20px; }
  .temp-gallery-grid__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .temp-gallery-grid__heading { font-size: var(--temp-fs-h2-mobile, 32px); }
}


/* ===========================================
   13b. SPLIT SECTION (50/50 image + text)
   =========================================== */
.temp-split {
  padding: var(--temp-section-pad) 0;
}
.temp-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--temp-space-2xl);
  align-items: center;
}
/* Image-right: swap column order */
.temp-split--image-right .temp-split__media {
  order: 2;
}
.temp-split--image-right .temp-split__content {
  order: 1;
}
.temp-split__img {
  width: 100%;
  height: auto;
  border-radius: var(--temp-radius-lg);
  object-fit: cover;
  max-height: 650px;
}
.temp-split__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.temp-split__content .temp-eyebrow {
  margin-bottom: 0;
}
.temp-split__content .temp-section-heading {
  text-align: left;
  margin-bottom: 0;
}
.temp-split__content .temp-body-text {
  margin-bottom: 0;
}
.temp-split__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-sm);
}
.temp-split__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--temp-space-xs);
  font-size: var(--temp-font-base);
  color: var(--temp-body);
}
.temp-split__list .temp-icon {
  color: var(--temp-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.temp-split__ctas {
  display: flex;
  gap: var(--temp-space-sm);
  margin-top: 0;
  flex-wrap: wrap;
}
/* Alternating background on consecutive splits */
.temp-split + .temp-split {
  background: var(--temp-light);
}
@media (max-width: 768px) {
  .temp-split__grid {
    grid-template-columns: 1fr;
    gap: var(--temp-space-lg);
  }
  /* Reset order on mobile, image always first */
  .temp-split--image-right .temp-split__media { order: 0; }
  .temp-split--image-right .temp-split__content { order: 0; }
  .temp-split__content .temp-section-heading {
    font-size: var(--temp-font-2xl);
  }
}

/* ===========================================
   14. CTA BANNER SECTION, 3 variants
   =========================================== */

/* --- Shared CTA base --- */
.temp-cta {
  position: relative;
  padding: var(--temp-section-pad) 0;
  overflow: hidden;
}
.temp-cta__container {
  position: relative;
  z-index: 2;
}
.temp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--temp-space-md);
  margin-top: var(--temp-space-lg);
}
.temp-cta__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.temp-cta__overlay {
  position: absolute;
  inset: 0;
  background: var(--temp-dark-70);
  z-index: 1;
}

/* --- Variant 1: card-bg (dark card over background image) --- */
.temp-cta--card-bg {
  padding: var(--temp-space-3xl) 0;
}
.temp-cta--card-bg .temp-cta__card {
  background: var(--temp-dark);
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-2xl) var(--temp-space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--temp-space-2xl);
  color: var(--temp-white);
}
.temp-cta--card-bg .temp-cta__content {
  flex: 1;
}
.temp-cta--card-bg .temp-section-heading {
  color: var(--temp-white);
  text-align: left;
  margin-bottom: var(--temp-space-sm);
}
.temp-cta--card-bg .temp-body-text {
  color: var(--temp-white-70);
  max-width: 520px;
}
.temp-cta--card-bg .temp-cta__actions {
  flex-shrink: 0;
  gap: var(--temp-space-sm);
  margin-top: 0;
}
.temp-cta--card-bg .temp-cta__actions .temp-btn {
  white-space: nowrap;
}
/* Outline button stays white-with-green-border globally (no dark-mode override). */
@media (max-width: 768px) {
  .temp-cta--card-bg .temp-cta__card {
    flex-direction: column;
    text-align: center;
    padding: var(--temp-space-xl) var(--temp-space-lg);
  }
  .temp-cta--card-bg .temp-section-heading {
    text-align: center;
  }
  .temp-cta--card-bg .temp-cta__actions {
    align-items: center;
    width: 100%;
  }
}

/* --- Variant 2: card-image (text left + image right in a card) --- */
.temp-cta--card-image {
  background: var(--temp-light);
  padding: var(--temp-space-3xl) 0;
}
.temp-cta--card-image .temp-cta__card {
  background: var(--temp-dark);
  border-radius: var(--temp-radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  color: var(--temp-white);
}
.temp-cta--card-image .temp-cta__content {
  padding: var(--temp-space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.temp-cta--card-image .temp-section-heading {
  color: var(--temp-white);
  text-align: left;
  margin-bottom: var(--temp-space-sm);
}
.temp-cta--card-image .temp-body-text {
  color: var(--temp-white-70);
}
.temp-cta--card-image .temp-cta__actions {
  justify-content: flex-start;
}
/* Outline button stays white-with-green-border globally (no dark-mode override). */
.temp-cta--card-image .temp-cta__image {
  position: relative;
  min-height: 300px;
}
.temp-cta--card-image .temp-cta__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .temp-cta--card-image .temp-cta__card {
    grid-template-columns: 1fr;
  }
  .temp-cta--card-image .temp-cta__image {
    min-height: 220px;
    order: -1;
  }
  .temp-cta--card-image .temp-cta__content {
    padding: var(--temp-space-xl) var(--temp-space-lg);
    text-align: center;
  }
  .temp-cta--card-image .temp-section-heading {
    text-align: center;
  }
  .temp-cta--card-image .temp-cta__actions {
    justify-content: center;
  }
}

/* --- Variant 3: fullwidth (centered text, dark background) --- */
.temp-cta--fullwidth {
  background: var(--temp-dark);
  color: var(--temp-white);
}
.temp-cta--fullwidth .temp-cta__card {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}
.temp-cta--fullwidth .temp-section-heading {
  color: var(--temp-white);
}
.temp-cta--fullwidth .temp-body-text {
  color: var(--temp-white-70);
}
.temp-cta--fullwidth .temp-cta__actions {
  justify-content: center;
}
/* Outline button stays white-with-green-border globally (no dark-mode override). */


/* ===========================================
   14c. PRICING SECTION
   =========================================== */
.temp-pricing { padding: var(--temp-section-pad) 0; }
.temp-pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--temp-space-lg);
  margin-top: var(--temp-space-xl);
}
.temp-pricing__card {
  background: var(--temp-white);
  border: 1px solid var(--temp-border);
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--temp-transition-base);
}
.temp-pricing__card:hover {
  box-shadow: var(--temp-shadow-lg);
}
.temp-pricing__card--featured {
  border-color: var(--temp-primary);
  box-shadow: var(--temp-shadow-md);
}
.temp-pricing__badge {
  position: absolute;
  top: calc(var(--temp-space-md) * -1);
  left: 50%;
  transform: translateX(-50%);
  background: var(--temp-primary);
  color: var(--temp-white);
  font-size: var(--temp-font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--temp-space-xs) var(--temp-space-md);
  border-radius: var(--temp-radius-full);
  white-space: nowrap;
}
.temp-pricing__title {
  font-family: var(--temp-heading);
  font-size: var(--temp-font-xl);
  color: var(--temp-heading-color);
  margin-bottom: var(--temp-space-sm);
}
.temp-pricing__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--temp-space-lg);
}
.temp-pricing__from {
  font-family: var(--temp-heading);
  font-size: var(--temp-font-3xl);
  font-weight: 700;
  color: var(--temp-heading-color);
}
.temp-pricing__to {
  font-family: var(--temp-heading);
  font-size: var(--temp-font-3xl);
  font-weight: 700;
  color: var(--temp-heading-color);
}
.temp-pricing__unit {
  font-size: var(--temp-font-md);
  color: var(--temp-muted);
}
.temp-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--temp-space-xl) 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-sm);
}
.temp-pricing__features li {
  display: flex;
  align-items: center;
  gap: var(--temp-space-xs);
  font-size: var(--temp-font-md);
  color: var(--temp-body);
}
.temp-pricing__features .temp-icon {
  color: var(--temp-primary);
  flex-shrink: 0;
}
.temp-pricing__card .temp-btn {
  width: 100%;
  text-align: center;
}
.temp-pricing__footnote {
  text-align: center;
  font-size: var(--temp-font-sm);
  color: var(--temp-muted);
  margin-top: var(--temp-space-lg);
  font-style: italic;
}


/* ===========================================
   14d. BEFORE/AFTER SLIDER
   =========================================== */
.temp-before-after { padding: var(--temp-section-pad) 0; }
.temp-ba__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--temp-space-lg);
  margin-top: var(--temp-space-xl);
}
.temp-ba__card {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  overflow: hidden;
  box-shadow: var(--temp-shadow-sm);
  transition: var(--temp-transition-base);
}
.temp-ba__card:hover {
  box-shadow: var(--temp-shadow-md);
}
.temp-ba-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  aspect-ratio: 4/3;
}
.temp-ba-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.temp-ba-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}
.temp-ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.temp-ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: var(--temp-white);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 2;
}
.temp-ba-handle__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--temp-white);
  border-radius: var(--temp-radius-full);
  box-shadow: var(--temp-shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--temp-heading-color);
}
.temp-ba-handle__grip svg {
  width: 14px;
  height: 14px;
}
.temp-ba-label {
  position: absolute;
  bottom: var(--temp-space-sm);
  background: var(--temp-dark-70);
  color: var(--temp-white);
  font-size: var(--temp-font-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--temp-space-xs) var(--temp-space-sm);
  border-radius: var(--temp-radius-sm);
  z-index: 3;
}
.temp-ba-label--before { left: var(--temp-space-sm); }
.temp-ba-label--after { right: var(--temp-space-sm); }
.temp-ba__caption {
  padding: var(--temp-space-md) var(--temp-space-lg);
}
.temp-ba__caption p {
  margin: 0;
  font-size: var(--temp-font-sm);
  color: var(--temp-muted);
}


/* ===========================================
   14e. EMERGENCY / TIME-OF-DAY BANNER
   =========================================== */
.temp-emergency-banner {
  background: var(--temp-primary);
  color: var(--temp-white);
  padding: var(--temp-space-sm) 0;
}
.temp-emergency-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--temp-space-lg);
  flex-wrap: wrap;
  font-size: var(--temp-font-sm);
  font-weight: 600;
}
.temp-tod-message.is-open {
  color: var(--temp-white);
}
.temp-tod-message.is-closed {
  color: var(--temp-white);
}
.temp-emergency-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--temp-space-xs);
  color: var(--temp-white);
  text-decoration: none;
  font-weight: 700;
  padding: var(--temp-space-xs) var(--temp-space-md);
  background: var(--temp-white);
  color: var(--temp-primary);
  border-radius: var(--temp-radius-full);
  transition: var(--temp-transition-fast);
}
.temp-emergency-banner__phone:hover {
  opacity: 0.9;
}


/* ===========================================
   14f. STATS COUNTER STRIP
   =========================================== */
.temp-stats {
  padding: var(--temp-space-2xl) 0;
  background: var(--temp-light);
}
.temp-stats__grid {
  display: flex;
  justify-content: center;
  gap: var(--temp-space-2xl);
  flex-wrap: wrap;
  text-align: center;
}
.temp-stats__item {
  min-width: 140px;
}
.temp-stats__value {
  font-family: var(--temp-heading);
  font-size: var(--temp-font-4xl);
  font-weight: 700;
  color: var(--temp-primary);
  line-height: 1;
  margin-bottom: var(--temp-space-xs);
}
.temp-stats__label {
  font-size: var(--temp-font-sm);
  color: var(--temp-muted);
  font-weight: 500;
}
@media (max-width: 480px) {
  .temp-stats__grid {
    gap: var(--temp-space-lg);
  }
  .temp-stats__value {
    font-size: var(--temp-font-3xl);
  }
}


/* ===========================================
   14g. LOGO / ACCREDITATION BAR
   =========================================== */
.temp-logo-bar {
  background: var(--temp-white);
  padding: var(--temp-space-lg) 0;
  overflow: hidden;
  position: relative;
}
.temp-logo-bar::before,
.temp-logo-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.temp-logo-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--temp-white) 20%, transparent);
}
.temp-logo-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--temp-white) 20%, transparent);
}
.temp-logo-bar__label {
  text-align: center;
  font-size: var(--temp-font-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--temp-muted);
  font-weight: 600;
  margin-bottom: var(--temp-space-md);
}
.temp-logo-bar__track {
  display: flex;
  align-items: center;
  gap: var(--temp-space-2xl);
  width: max-content;
  animation: temp-marquee 30s linear infinite;
}
.temp-logo-bar__item {
  flex-shrink: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.temp-logo-bar__item img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.45;
  transition: var(--temp-transition-base);
}
.temp-logo-bar:hover .temp-logo-bar__item img {
  opacity: 0.6;
}
.temp-logo-bar__item:hover img {
  opacity: 1;
  filter: grayscale(0);
}
.temp-logo-bar__item span {
  font-size: var(--temp-font-sm);
  font-weight: 600;
  color: var(--temp-muted);
  white-space: nowrap;
}
@keyframes temp-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .temp-logo-bar__track {
    gap: var(--temp-space-lg);
  }
  .temp-logo-bar__item {
    height: 32px;
  }
  .temp-logo-bar__item img {
    max-height: 28px;
  }
}


/* ===========================================
   14h. TEAM SECTION
   =========================================== */
.temp-team { padding: var(--temp-section-pad) 0; }
.temp-team__grid {
  display: grid;
  grid-template-columns: repeat(var(--temp-cols, 3), 1fr);
  gap: var(--temp-space-lg);
  margin-top: var(--temp-space-xl);
}
.temp-team__card {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  overflow: hidden;
  box-shadow: var(--temp-shadow-sm);
  transition: var(--temp-transition-base);
  text-align: center;
}
.temp-team__card:hover {
  box-shadow: var(--temp-shadow-md);
}
.temp-team__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.temp-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--temp-transition-slow);
}
.temp-team__card:hover .temp-team__photo img {
  transform: scale(1.03);
}
.temp-team__info {
  padding: var(--temp-space-lg);
}
.temp-team__name {
  font-family: var(--temp-heading);
  font-size: var(--temp-font-lg);
  color: var(--temp-heading-color);
  margin-bottom: var(--temp-space-xs);
}
.temp-team__role {
  font-size: var(--temp-font-sm);
  color: var(--temp-primary);
  font-weight: 600;
  margin-bottom: var(--temp-space-sm);
}
.temp-team__bio {
  font-size: var(--temp-font-sm);
  color: var(--temp-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .temp-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .temp-team__grid {
    grid-template-columns: 1fr;
  }
}


/* ===========================================
   14i. EXIT INTENT POPUP
   =========================================== */
.temp-exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--temp-black-60, rgba(0,0,0,0.6));
  align-items: center;
  justify-content: center;
  padding: var(--temp-space-md);
}
.temp-exit-popup.open {
  display: flex;
}
.temp-exit-popup__inner {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-2xl);
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--temp-shadow-xl);
  text-align: center;
}
.temp-exit-popup-close {
  position: absolute;
  top: var(--temp-space-sm);
  right: var(--temp-space-sm);
  font-size: var(--temp-font-2xl);
  color: var(--temp-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.temp-exit-popup__img {
  max-width: 200px;
  margin: 0 auto var(--temp-space-lg);
  display: block;
}
.temp-exit-popup__heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-font-xl);
  color: var(--temp-heading-color);
  margin-bottom: var(--temp-space-sm);
}
.temp-exit-popup__body {
  font-size: var(--temp-font-base);
  color: var(--temp-muted);
  margin-bottom: var(--temp-space-lg);
  line-height: 1.6;
}
.temp-exit-popup .temp-btn {
  width: 100%;
}


/* ===========================================
   14j. SOCIAL PROOF STRIP
   =========================================== */
.temp-social-proof {
  background: var(--temp-light);
  padding: var(--temp-space-md) 0;
}
.temp-social-proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--temp-space-sm);
  flex-wrap: wrap;
  font-size: var(--temp-font-sm);
}
.temp-social-proof__stars {
  display: flex;
  gap: 2px;
  color: var(--temp-primary);
}
.temp-social-proof__text {
  color: var(--temp-body);
  font-weight: 500;
}
.temp-social-proof__count {
  color: var(--temp-muted);
}


/* ===========================================
   15. FAQ SECTION (Figma node 2099:3350)
   =========================================== */
.temp-faqs {
  padding: 80px 64px;
  background: var(--temp-white);
}

.temp-faqs--dark {
  background: var(--temp-secondary, #11332b);
}

.temp-faqs__container {
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

.temp-faqs__layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.temp-faqs__header {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.temp-faqs__heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl);
  font-weight: 700;
  line-height: var(--temp-lh-tight);
  margin: 0;
  width: 100%;
}

.temp-faqs__desc {
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.temp-faqs__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--temp-body);
  font-size: var(--temp-fs-base, 1rem);
  line-height: 1.5;
}
.temp-faqs__intro p { margin: 0; }

.temp-faqs--dark .temp-eyebrow,
.temp-faqs--dark .temp-faqs__heading,
.temp-faqs--dark .temp-faqs__desc,
.temp-faqs--dark .temp-faqs__intro {
  color: var(--temp-white);
}
.temp-faqs--dark .temp-eyebrow::before {
  background: var(--temp-primary);
}

.temp-faqs--light .temp-faqs__heading,
.temp-faqs--light .temp-faqs__desc {
  color: var(--temp-heading-color);
}

/* Accordion list */
.temp-faqs__list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.temp-faq-item {
  background: var(--temp-white);
  border-radius: 24px;
  border: 0;
  padding: 0 24px;
  overflow: hidden;
  transition: box-shadow var(--temp-transition-base, 200ms ease);
}

.temp-faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 0;
  font-family: var(--temp-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--temp-heading-color);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
}
.temp-faq-question:hover,
.temp-faq-question:focus,
.temp-faq-question:active {
  background: transparent;
  outline: none;
  box-shadow: none;
  color: var(--temp-heading-color);
}

.temp-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--temp-primary);
  transition: transform var(--temp-transition-base, 200ms ease);
}
.temp-faq-item.open .temp-faq-icon {
  transform: rotate(180deg);
}

.temp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--temp-transition-base, 250ms ease), padding var(--temp-transition-base, 250ms ease);
}
.temp-faq-item.open .temp-faq-answer {
  max-height: 800px;
  padding: 0 0 24px;
}
.temp-faq-answer p {
  margin: 0;
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  line-height: 1.5;
  color: var(--temp-muted);
}

@media (max-width: 1024px) {
  .temp-faqs { padding: 72px 32px; }
  .temp-faqs__layout {
    gap: 48px;
  }
  .temp-faqs__header {
    width: 340px;
  }
}

@media (max-width: 768px) {
  .temp-faqs {
    padding: 56px 20px;
  }
  .temp-faqs__layout {
    flex-direction: column;
    gap: 32px;
  }
  .temp-faqs__header {
    width: 100%;
    position: static;
  }
  .temp-faq-question {
    font-size: 18px;
    gap: 16px;
  }
  .temp-faq-icon {
    width: 24px;
    height: 24px;
  }
  .temp-faqs__heading { font-size: var(--temp-fs-h2-mobile); }
}
@media (max-width: 480px) {
  .temp-faqs { padding: 48px 16px; }
  .temp-faqs__heading { font-size: var(--temp-fs-h2-mobile, 32px); }
  .temp-faq-item { padding: 0 18px; }
  .temp-faq-question { font-size: 17px; padding: 16px 0; }
}


/* ===========================================
   16. AREAS SECTION
   =========================================== */
.temp-areas {
  padding: var(--temp-section-pad) 0;
  background: var(--temp-light);
}

/* New flat layout: single list of suburbs, evenly split across N columns. */
.temp-areas__columns {
  list-style: none;
  margin: 0;
  padding: 0;
  column-count: var(--temp-areas-cols, 5);
  column-gap: 32px;
}

.temp-areas__item {
  /* break-inside avoids splitting a suburb across columns */
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 12px;
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  line-height: 1.5;
  color: var(--temp-heading-color);
}

/* Grouped layout: each column is a geo region with a heading + suburb list. */
.temp-areas__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centre the column group regardless of count (2 to 5 regions) */
  gap: 32px;
  margin-top: 40px;
}

.temp-areas__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 1 auto;   /* size to content so the centred group sits under the heading */
  min-width: 160px;
}

.temp-areas__region {
  font-family: var(--temp-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--temp-heading-color);
  margin: 0;
  padding-bottom: 12px;
}

.temp-areas__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.temp-areas__list li {
  margin: 0;
}

.temp-areas__list li span,
.temp-areas__link {
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  line-height: 1.5;
  color: var(--temp-heading-color);
  text-decoration: none;
  transition: color var(--temp-transition-fast);
}

.temp-areas__link:hover {
  color: var(--temp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  .temp-areas__columns {
    column-count: 3;
  }
  .temp-areas__grid {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .temp-areas__columns {
    column-count: 2;
    column-gap: 24px;
  }
  .temp-areas__grid {
    gap: 24px;
  }
}
@media (max-width: 480px) {
  .temp-areas__columns {
    column-count: 2;
    column-gap: 16px;
  }
  .temp-areas__grid {
    gap: 24px;
  }
}


/* ===========================================
   17. CONTACT SECTION
   =========================================== */
.temp-contact {
  padding: var(--temp-section-pad) 0;
}

.temp-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--temp-space-2xl);
  align-items: flex-start;
}

.temp-contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
}
.temp-contact__info .temp-section-header {
  text-align: left;
  margin-inline: 0;
  margin-bottom: var(--temp-space-md);
}

.temp-contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
  margin-top: var(--temp-space-md);
}

.temp-contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--temp-space-md);
  font-size: var(--temp-fs-base);
  color: var(--temp-body);
}
.temp-contact__detail svg {
  flex-shrink: 0;
  color: var(--temp-primary);
  margin-top: var(--temp-space-xs);
}

/* Layout container for the embedded form (simple or multi-step quote). The
   form itself brings its own white card + radius + shadow via .temp-quote-form,
   so this wrap is intentionally style-less. Used to avoid double-card stacking. */
.temp-contact__form-wrap {
  display: block;
}

@media (max-width: 768px) {
  .temp-contact__grid {
    grid-template-columns: 1fr;
    gap: var(--temp-space-xl);
  }
  .temp-contact__info {
    text-align: center;
    align-items: center;
  }
  .temp-contact__info .temp-section-header {
    text-align: center;
  }
  .temp-contact__details {
    align-items: center;
  }
}


/* ===========================================
   17b. CARD GRID (Figma node 2099:3424)
   The shared "card" pattern across the site, header bar + N evenly-sized
   cards. Used by: home contact banner, gutter-cleaning "Why It Is
   Different", get-a-quote "What to Expect", and any future card section.
   =========================================== */
.temp-card-grid {
  padding: 80px 64px;
}
.temp-card-grid--bg-almost-white { background: var(--temp-almost-white, #f7fbf9); }
.temp-card-grid--bg-white        { background: var(--temp-white); }
.temp-card-grid--bg-dark         { background: var(--temp-secondary, #11332b); }

/* Dark variant: white headings + eyebrow, white desc.
   Cards stay white. Mark flips to solid via the auto-override block in the
   .temp-mark section. */
.temp-card-grid--bg-dark .temp-card-grid__heading,
.temp-card-grid--bg-dark .temp-eyebrow,
.temp-card-grid--bg-dark .temp-card-grid__desc {
  color: var(--temp-white);
}
.temp-card-grid--bg-dark .temp-eyebrow::before {
  background: var(--temp-primary);
}

.temp-card-grid__container {
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Header layouts: split (heading left, desc right) vs stacked (all centered). */
.temp-card-grid__header {
  width: 100%;
  display: flex;
}
.temp-card-grid__header--split {
  flex-direction: row;
  align-items: center;
  gap: 64px;
}
.temp-card-grid__header--stacked {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.temp-card-grid__header-text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.temp-card-grid__header--stacked .temp-card-grid__header-text {
  align-items: center;
  flex: 0 1 auto;
  width: 100%;
  max-width: 720px;
}

.temp-card-grid__heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl);
  font-weight: 700;
  line-height: var(--temp-lh-tight);
  color: var(--temp-heading-color);
  margin: 0;
  width: 100%;
}
.temp-card-grid__header--stacked .temp-card-grid__heading { text-align: center; }

.temp-card-grid__desc {
  flex-shrink: 0;
  width: 434px;
  max-width: 100%;
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  line-height: 1.5;
  color: var(--temp-muted);
  margin: 0;
}
.temp-card-grid__header--stacked .temp-card-grid__desc {
  width: 100%;
  max-width: 720px;
  text-align: center;
}

.temp-card-grid__actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* The card row */
.temp-card-grid__cards {
  display: grid;
  grid-template-columns: repeat(var(--temp-card-grid-cols, 3), minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
  width: 100%;
}

.temp-card-grid__card {
  background: var(--temp-white);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  box-shadow: 0 1px 2px rgba(25, 33, 61, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform var(--temp-transition-base, 200ms ease),
              box-shadow var(--temp-transition-base, 200ms ease);
}
.temp-card-grid__card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25, 33, 61, 0.10);
}

.temp-card-grid__icon {
  background: var(--temp-bg-2, #d5f5dc);
  color: var(--temp-primary);
}

.temp-card-grid__title {
  font-family: var(--temp-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--temp-secondary, #11332b);
  margin: 0;
  width: 100%;
}

.temp-card-grid__body {
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  line-height: 1.5;
  color: var(--temp-muted);
  margin: 0;
  width: 100%;
}

/* Inline anchors inside the card body (phone/email links etc.), primary green. */
.temp-card-grid__body a,
.temp-card-grid__body a:link,
.temp-card-grid__body a:visited {
  color: var(--temp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  word-break: break-word;
}
.temp-card-grid__body a:hover,
.temp-card-grid__body a:focus {
  color: var(--temp-primary-hover);
}

/* Per-card tick/cross list (used in DIY-vs-Hire-Us card grids).
   When a list is present we left-align the card content so list items
   read like a checklist instead of centred prose. */
.temp-card-grid__card--has-list {
  align-items: flex-start;
  text-align: left;
}
.temp-card-grid__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  line-height: 1.5;
  color: var(--temp-muted);
}
.temp-card-grid__list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.temp-card-grid__list-marker {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.temp-card-grid__list-marker svg {
  width: 14px;
  height: 14px;
  display: block;
}
.temp-card-grid__list--check .temp-card-grid__list-marker {
  background: var(--temp-bg-2, #d5f5dc);
  color: var(--temp-primary);
}
.temp-card-grid__list--cross .temp-card-grid__list-marker {
  background: rgba(220, 53, 69, 0.10);
  color: #c0392b;
}
.temp-card-grid__list-text {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 1024px) {
  .temp-card-grid { padding: 72px 32px; }
  .temp-card-grid__header--split .temp-card-grid__desc {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }
  .temp-card-grid__cards { gap: 20px; }
  /* Cap at 2 columns on tablet so cards stay readable */
  .temp-card-grid__cards {
    grid-template-columns: repeat(min(2, var(--temp-card-grid-cols, 3)), minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .temp-card-grid { padding: 56px 20px; }
  .temp-card-grid__header--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .temp-card-grid__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .temp-card-grid__heading { font-size: var(--temp-fs-h2-mobile); }
}
@media (max-width: 480px) {
  .temp-card-grid { padding: 48px 16px; }
  .temp-card-grid__heading { font-size: var(--temp-fs-h2-mobile, 32px); }
  .temp-card-grid__card { padding: 24px; }
}


/* ===========================================
   17c. PROSE (legal, policy, long-form text body)
   =========================================== */
.temp-prose {
  padding: 56px 0 96px;
  background: var(--temp-white);
}

.temp-prose__container {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 20px;
}

.temp-prose__updated {
  font-family: var(--temp-body);
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
  margin: 0 0 32px;
}

.temp-prose__heading {
  font-family: var(--temp-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--temp-heading-color);
  margin: 40px 0 12px;
}

.temp-prose__p {
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  line-height: 1.7;
  color: var(--temp-heading-color);
  margin: 0 0 16px;
}

.temp-prose__list {
  list-style: disc;
  margin: 0 0 16px;
  padding-left: 24px;
}
.temp-prose__list li {
  font-family: var(--temp-body);
  font-size: var(--temp-fs-md);
  line-height: 1.7;
  color: var(--temp-heading-color);
  margin-bottom: 6px;
}

.temp-prose a {
  color: var(--temp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.temp-prose a:hover {
  color: var(--temp-primary-hover);
}

@media (max-width: 768px) {
  .temp-prose { padding: 40px 0 64px; }
  .temp-prose__heading { font-size: 22px; margin-top: 32px; }
}


/* ===========================================
   18. QUOTE FORM (Multi-Step)
   =========================================== */
.temp-quote-form {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-xl);
  box-shadow: var(--temp-shadow-lg);
}

/* Simple (single-step) variant: used in hero right column on service /
   location / hub pages. No progress bar, single submit button under the
   field grid. Inherits everything else from the quote-form card. */
.temp-quote-form--simple .temp-form-progress { display: none; }
.temp-simple-form { display: flex; flex-direction: column; gap: 12px; }
.temp-simple-form .temp-form-grid { margin-bottom: 4px; }
.temp-simple-form__submit { width: 100%; }
.temp-simple-form__success { display: none; }
.temp-simple-form__success p { margin-top: 4px; }
.temp-simple-form__success a {
  color: var(--temp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.temp-simple-form__success a:hover { color: var(--temp-primary-hover); }

.temp-quote-form__header {
  text-align: center;
  margin-bottom: var(--temp-space-lg);
}
.temp-quote-form__header h3 {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-xl);
  color: var(--temp-heading-color);
}
.temp-quote-form__header p {
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
  margin-top: var(--temp-space-xs);
}

/* Progress bar */
.temp-form-progress {
  height: 4px;
  background: var(--temp-border);
  border-radius: var(--temp-radius-full);
  margin-bottom: var(--temp-space-lg);
  overflow: hidden;
}
.temp-form-progress__fill {
  height: 100%;
  background: var(--temp-primary);
  border-radius: var(--temp-radius-full);
  transition: width var(--temp-transition-base);
  width: 0%;
}

/* Steps */
.temp-form-steps {
  position: relative;
}
.temp-form-step {
  display: none;
}
.temp-form-step.active {
  display: block;
  animation: temp-step-fadein 0.3s ease forwards;
}
.temp-form-step__label {
  font-size: var(--temp-fs-md);
  font-weight: 600;
  color: var(--temp-heading-color);
  margin-bottom: var(--temp-space-md);
}

/* Option buttons (2x2 grid) */
.temp-form-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--temp-space-md);
}

.temp-form-option {
  border: 2px solid var(--temp-border);
  border-radius: var(--temp-radius-md);
  padding: var(--temp-space-md) var(--temp-space-lg);
  cursor: pointer;
  text-align: center;
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  font-weight: 500;
  color: var(--temp-body);
  background: var(--temp-white);
  transition: border-color var(--temp-transition-fast), background var(--temp-transition-fast);
}
.temp-form-option:hover {
  border-color: var(--temp-primary);
}
.temp-form-option.selected {
  border-color: var(--temp-primary);
  background: var(--temp-primary-10);
  color: var(--temp-primary);
}

/* Form inputs , white bg, primary-green border, fully pill-rounded.
   Type-prefixed selectors used to beat the GeneratePress parent theme's
   `.entry-content input[type="..."]` rules, which were winning the
   specificity tie and leaving text inputs un-styled while the textarea
   variant rendered correctly. */
input.temp-input,
textarea.temp-input,
select.temp-input {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--temp-primary);
  border-radius: 23px;
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  color: var(--temp-body);
  background-color: #fff;
  transition: border-color var(--temp-transition-fast), box-shadow var(--temp-transition-fast);
  margin-bottom: var(--temp-space-md);
  box-shadow: none;
}
input.temp-input:focus,
textarea.temp-input:focus,
select.temp-input:focus {
  outline: none;
  border-color: var(--temp-primary);
  box-shadow: 0 0 0 3px var(--temp-primary-15);
}
input.temp-input::placeholder,
textarea.temp-input::placeholder {
  color: var(--temp-muted);
}
textarea.temp-input {
  resize: vertical;
  min-height: 96px;
  border-radius: 16px; /* textareas need less aggressive rounding */
}
select.temp-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364A53C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}

/* Form navigation */
.temp-form-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--temp-space-md);
  margin-top: var(--temp-space-lg);
}

/* Success state */
.temp-form-success {
  text-align: center;
  padding: var(--temp-space-xl) 0;
}
.temp-form-success__icon {
  color: var(--temp-secondary);
  margin-bottom: var(--temp-space-md);
}
.temp-form-success h3 {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-xl);
  color: var(--temp-heading-color);
  margin-bottom: var(--temp-space-sm);
}
.temp-form-success p {
  font-size: var(--temp-fs-base);
  color: var(--temp-muted);
}

.temp-quote-form__footer {
  text-align: center;
  margin-top: var(--temp-space-lg);
  font-size: var(--temp-fs-xs);
  color: var(--temp-muted);
}

/* Wrap that owns layout of "form card" + "trust note" pair. Stacks them
   vertically with a 24px gap so the trust note sits directly under the
   card regardless of where the wrap is placed (hero right column, dark
   mobile section, anywhere else). */
.temp-quote-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Trust note: sits OUTSIDE the white card, centred. Gap comes from the
   parent .temp-quote-form-wrap, so this element has no margin of its own.
   Defaults to muted body colour; the dark form-section + immersive hero
   overrides below switch it to white text. */
.temp-quote-form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
  text-align: center;
}
.temp-quote-form-trust svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
/* On the dark mobile section, switch the trust note to white. */
.temp-hero-form-section .temp-quote-form-trust,
.temp-hero-form-section .temp-quote-form-trust svg {
  color: var(--temp-white);
}
/* On the immersive hero (white card sits on the dark hero overlay), also white. */
.temp-hero--immersive .temp-quote-form-trust,
.temp-hero--immersive .temp-quote-form-trust svg {
  color: var(--temp-white);
}

/* Trust note is desktop-only , hidden on mobile where the dark form section
   is already brand-coloured and the message would be redundant. */
@media (max-width: 768px) {
  .temp-quote-form-trust { display: none; }
}

/* Mobile-only dark form section, lives directly under the hero. On
   desktop, this section is hidden and the form renders inside the hero
   right column. On mobile, the in-hero form is hidden and this dark
   section takes over so the hero bg image doesn't stretch to cover the
   form. Form markup is rendered twice by temp_render_hero(), CSS picks
   which copy is visible per viewport. */
.temp-hero-form-section {
  display: none;
  background: var(--temp-dark);
  padding: 32px 20px 48px;
}
.temp-hero-form-section__inner {
  max-width: 600px;
  margin-inline: auto;
}
@media (max-width: 768px) {
  .temp-hero-form-section { display: block; }
  .temp-hero .temp-quote-form { display: none; }
  .temp-hero--immersive { align-items: center; min-height: auto; }
  .temp-quote-form { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .temp-form-options {
    grid-template-columns: 1fr;
  }
}

/* ─── Step 1: Service multi-select chips ─── */
.temp-form-step__hint {
  font-weight: 400;
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
}
.temp-form-services {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* truly equal columns */
  gap: 12px;
  margin-bottom: 8px;
  align-items: stretch;
}
.temp-form-service-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  min-width: 0;        /* let the chip shrink to its cell width */
  min-height: 72px;    /* uniform height across all chips so the grid looks even */
  border: 2px solid var(--temp-border);
  border-radius: 16px;
  background: var(--temp-white);
  cursor: pointer;
  user-select: none;
  transition: border-color var(--temp-transition-fast),
              background var(--temp-transition-fast),
              transform var(--temp-transition-fast);
}
.temp-form-service-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.temp-form-service-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--temp-bg-2);
  color: var(--temp-primary);
  flex-shrink: 0;
  transition: background var(--temp-transition-fast),
              color var(--temp-transition-fast);
}
.temp-form-service-chip__label {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  font-weight: 500;
  color: var(--temp-heading-color);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Check badge, hidden until the chip is checked */
.temp-form-service-chip__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--temp-primary);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--temp-transition-fast),
              transform var(--temp-transition-fast);
  flex-shrink: 0;
}
.temp-form-service-chip__check svg {
  width: 24px;
  height: 24px;
}

.temp-form-service-chip:hover {
  border-color: var(--temp-primary);
}
.temp-form-service-chip:active {
  transform: scale(0.99);
}

/* Selected state, via :has() AND a JS-applied .is-checked class for older browsers. */
.temp-form-service-chip.is-checked,
.temp-form-service-chip:has(input:checked) {
  border-color: var(--temp-primary);
  background: var(--temp-primary-10);
}
.temp-form-service-chip.is-checked .temp-form-service-chip__icon,
.temp-form-service-chip:has(input:checked) .temp-form-service-chip__icon {
  background: var(--temp-primary);
  color: var(--temp-white);
}
.temp-form-service-chip.is-checked .temp-form-service-chip__check,
.temp-form-service-chip:has(input:checked) .temp-form-service-chip__check {
  opacity: 1;
  transform: scale(1);
}
.temp-form-service-chip:has(input:focus-visible) {
  box-shadow: 0 0 0 3px var(--temp-primary-15);
}

/* ─── Step 2: Service-specific sub-steps ─── */
.temp-form-substep {
  display: none;
  border-top: 1px solid var(--temp-border);
  padding-top: 24px;
  margin-top: 24px;
}
.temp-form-substep:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.temp-form-substep.active {
  display: block;
}
.temp-form-substep__heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-lg);
  font-weight: 700;
  color: var(--temp-heading-color);
  margin: 0 0 12px;
}
.temp-form-q {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  font-weight: 500;
  color: var(--temp-heading-color);
  margin: 16px 0 8px;
}
.temp-form-q:first-of-type {
  margin-top: 0;
}

/* Radio chip group (compact "pill" pickers) */
.temp-form-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.temp-form-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1.5px solid var(--temp-primary);
  border-radius: 9999px;
  background: var(--temp-almost-white);
  cursor: pointer;
  transition: border-color var(--temp-transition-fast),
              background var(--temp-transition-fast),
              color var(--temp-transition-fast);
}
.temp-form-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.temp-form-chip span {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-sm);
  font-weight: 500;
  color: var(--temp-heading-color);
  line-height: 1.3;
  white-space: nowrap;
}
.temp-form-chip:hover {
  border-color: var(--temp-primary);
}
.temp-form-chip.is-checked,
.temp-form-chip:has(input:checked) {
  border-color: var(--temp-primary);
  background: var(--temp-primary);
}
.temp-form-chip.is-checked span,
.temp-form-chip:has(input:checked) span {
  color: var(--temp-white);
}

/* Segmented variant , Bootstrap-style connected button group. Chips share
   borders, fill the row evenly, single row only. Best for 2-5 short
   options like Yes/No or storey-count. */
.temp-form-chip-group--segmented {
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  border: 1.5px solid var(--temp-primary);
  border-radius: 23px;
  overflow: hidden;
}
.temp-form-chip-group--segmented .temp-form-chip {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: #fff;
  justify-content: center;
  text-align: center;
}
.temp-form-chip-group--segmented .temp-form-chip + .temp-form-chip {
  border-left: 1.5px solid var(--temp-primary);
}
.temp-form-chip-group--segmented .temp-form-chip span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Step 3: Contact details grid ─── */
.temp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.temp-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.temp-form-field--full {
  grid-column: 1 / -1;
}
.temp-form-field__label {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-sm);
  font-weight: 500;
  color: var(--temp-heading-color);
}
.temp-form-field .temp-input {
  margin-bottom: 0;
}

/* Form-level error banner (AJAX failures, server errors). Shown above submit. */
.temp-form-step__error {
  color: #c0392b;
  font-size: var(--temp-fs-sm);
  margin: 8px 0 0;
}

/* Per-field inline validation: red border on the input + error message below.
   Wins over the base .temp-input border via higher selector specificity. */
.temp-form-field--invalid input.temp-input,
.temp-form-field--invalid textarea.temp-input,
.temp-form-field--invalid select.temp-input {
  border-color: #c0392b;
  box-shadow: 0 0 0 1px #c0392b;
}
.temp-form-field--invalid input.temp-input:focus,
.temp-form-field--invalid textarea.temp-input:focus,
.temp-form-field--invalid select.temp-input:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.20);
  outline: none;
}
.temp-form-field__error {
  display: block;
  margin-top: 6px;
  color: #c0392b;
  font-family: var(--temp-body, sans-serif);
  font-size: 13px;
  line-height: 1.4;
  min-height: 1em;
}
.temp-form-field__error:empty {
  display: none;
}

@media (max-width: 768px) {
  .temp-form-services { grid-template-columns: 1fr; }
  .temp-form-grid { grid-template-columns: 1fr; }
  .temp-form-nav { flex-direction: column-reverse; }
  .temp-form-nav .temp-btn { width: 100%; }
}


/* ===========================================
   19. FOOTER
   =========================================== */
.temp-footer {
  background: var(--temp-dark);
  color: var(--temp-white);
  padding: var(--temp-section-pad) 0 var(--temp-space-xl);
}

.temp-footer__grid {
  display: grid;
  /* brand · services · areas · company · social-icon */
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: var(--temp-space-2xl);
  margin-bottom: var(--temp-space-2xl);
}

.temp-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
}

.temp-footer__logo {
  font-family: var(--temp-heading);
  font-weight: 700;
  font-size: var(--temp-fs-xl);
  color: var(--temp-white);
}

/* All <p> text inside the footer renders white (incl. contact anchors). */
.temp-footer p,
.temp-footer__contact a {
  color: var(--temp-white);
}

.temp-footer__desc {
  font-size: var(--temp-fs-sm);
  line-height: 1.7;
  max-width: 300px;
}

.temp-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
}

/* Social-icon column: just a single icon link, white default, primary green on
   hover. Aligned to top of the column so it sits at the same baseline as the
   other column headings. */
.temp-footer__col--social {
  align-items: flex-start;
}
.temp-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--temp-white);
  text-decoration: none;
  transition: color var(--temp-transition-fast, 150ms ease);
}
.temp-footer__social-link:hover,
.temp-footer__social-link:focus {
  color: var(--temp-primary);
}
.temp-footer__social-link svg {
  display: block;
}

.temp-footer__heading {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--temp-white);
  margin-bottom: var(--temp-space-sm);
}

.temp-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.temp-footer__links li {
  margin-bottom: var(--temp-space-sm);
}
.temp-footer__links a {
  font-size: var(--temp-fs-sm);
  color: #fff;
  text-decoration: none;
  transition: color var(--temp-transition-fast);
}
.temp-footer__links a:hover {
  color: var(--temp-primary);
}

.temp-footer__bottom {
  border-top: 1px solid var(--temp-white-10);
  padding-top: var(--temp-space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--temp-space-md);
}
.temp-footer__bottom p {
  font-size: var(--temp-fs-sm);
  color: var(--temp-white);
}
.temp-footer__bottom a {
  color: var(--temp-white);
  text-decoration: none;
  transition: color var(--temp-transition-fast);
}
.temp-footer__bottom a:hover {
  color: var(--temp-white);
}

/* "Website by Dossis Digital" credit link, always primary green. */
.temp-footer__credit-link,
.temp-footer__credit-link:link,
.temp-footer__credit-link:visited,
.temp-footer__bottom a.temp-footer__credit-link {
  color: var(--temp-primary);
}
.temp-footer__credit-link:hover,
.temp-footer__credit-link:focus,
.temp-footer__bottom a.temp-footer__credit-link:hover,
.temp-footer__bottom a.temp-footer__credit-link:focus {
  color: var(--temp-primary-hover);
}

@media (max-width: 768px) {
  .temp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--temp-space-xl);
  }
  .temp-footer__brand {
    grid-column: 1 / -1;
  }
  /* Social icon column sits inline with the link columns on tablet/mobile */
  .temp-footer__col--social {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .temp-footer__grid {
    grid-template-columns: 1fr;
  }
  .temp-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ===========================================
   20. STICKY MOBILE CTA
   =========================================== */
.temp-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--temp-transition-base), transform var(--temp-transition-base);
  pointer-events: none;
}
.temp-mobile-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.temp-mobile-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--temp-space-sm);
  padding: var(--temp-space-md);
  font-family: var(--temp-body-font);
  font-weight: 600;
  font-size: var(--temp-fs-base);
  text-decoration: none;
  min-height: 56px;
  transition: background var(--temp-transition-fast);
}
.temp-mobile-cta__btn--call {
  background: var(--temp-primary);
  color: var(--temp-white);
}
.temp-mobile-cta__btn--call:hover {
  background: var(--temp-primary-hover);
}
.temp-mobile-cta__btn--text {
  background: var(--temp-secondary);
  color: var(--temp-white);
}

@media (min-width: 769px) {
  .temp-mobile-cta {
    display: none;
  }
}
/* Reserve room so the sticky mobile CTA doesn't sit on top of the footer/map. */
@media (max-width: 768px) {
  body {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .temp-footer {
    padding-bottom: 88px; /* mobile CTA bar ~56px + 32px breathing room */
  }
}


/* ===========================================
   21. BLOG TEMPLATE
   =========================================== */

/* Progress bar */
.temp-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--temp-primary);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Breadcrumbs */
.temp-breadcrumbs-wrap {
  padding-top: calc(var(--temp-header-height) + 16px);
}
.temp-breadcrumbs {
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
  padding: var(--temp-space-md) 0;
}
.temp-breadcrumbs a {
  color: var(--temp-primary);
  text-decoration: none;
  transition: color var(--temp-transition-fast);
}
.temp-breadcrumbs a:hover {
  color: var(--temp-primary-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.temp-breadcrumbs__sep {
  margin-inline: var(--temp-space-sm);
  color: var(--temp-muted);
}

/* Article header */
.temp-article-header {
  margin-bottom: var(--temp-space-2xl);
}
.temp-article-header__text {
  max-width: 720px;
}
.temp-article-header__cat {
  display: inline-block;
  font-size: var(--temp-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--temp-primary);
  background: var(--temp-primary-light);
  padding: var(--temp-space-xs) var(--temp-space-md);
  border-radius: var(--temp-radius-full);
  margin-bottom: var(--temp-space-md);
}
.temp-article-header__title {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl);
  font-weight: 700;
  color: var(--temp-heading-color);
  line-height: 1.2;
  margin-bottom: var(--temp-space-md);
}
.temp-article-header__meta {
  display: flex;
  gap: var(--temp-space-md);
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
}
.temp-article-header__img {
  margin-top: var(--temp-space-xl);
}
.temp-article-header__img img {
  width: 100%;
  border-radius: var(--temp-radius-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Article layout, 2 col */
.temp-article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--temp-space-2xl);
  align-items: flex-start;
}

/* TOC sidebar */
.temp-toc-sidebar {
  position: sticky;
  top: calc(var(--temp-header-height) + var(--temp-space-lg));
}
.temp-toc {
  background: var(--temp-light);
  border-radius: var(--temp-radius-md);
  padding: var(--temp-space-lg);
}
.temp-toc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-sm);
  font-weight: 700;
  color: var(--temp-heading-color);
  margin-bottom: var(--temp-space-md);
}
.temp-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.temp-toc__list li {
  margin-bottom: var(--temp-space-sm);
}
.temp-toc__link {
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
  text-decoration: none;
  transition: color var(--temp-transition-fast);
  display: block;
  padding: var(--temp-space-xs) 0;
}
.temp-toc__link:hover,
.temp-toc__link.active {
  color: var(--temp-primary);
}

/* Article body, prose styles */
.temp-article-body {
  max-width: 720px;
  font-size: var(--temp-fs-base);
  color: var(--temp-body);
  line-height: 1.8;
}
.temp-article-body p {
  margin-bottom: var(--temp-space-lg);
}
.temp-article-body h2 {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-2xl);
  font-weight: 700;
  color: var(--temp-heading-color);
  margin-top: var(--temp-space-2xl);
  margin-bottom: var(--temp-space-md);
}
.temp-article-body h3 {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-xl);
  font-weight: 700;
  color: var(--temp-heading-color);
  margin-top: var(--temp-space-xl);
  margin-bottom: var(--temp-space-md);
}
.temp-article-body ul,
.temp-article-body ol {
  margin-bottom: var(--temp-space-lg);
  padding-left: var(--temp-space-xl);
}
.temp-article-body li {
  margin-bottom: var(--temp-space-sm);
}
.temp-article-body blockquote {
  border-left: 4px solid var(--temp-primary);
  padding-left: var(--temp-space-lg);
  margin: var(--temp-space-xl) 0;
  font-style: italic;
  color: var(--temp-muted);
}
.temp-article-body code {
  background: var(--temp-light);
  padding: var(--temp-space-xs) var(--temp-space-sm);
  border-radius: var(--temp-radius-sm);
  font-size: var(--temp-fs-sm);
}
.temp-article-body pre {
  background: var(--temp-dark);
  color: var(--temp-white);
  padding: var(--temp-space-lg);
  border-radius: var(--temp-radius-md);
  overflow-x: auto;
  margin-bottom: var(--temp-space-lg);
}
.temp-article-body pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
}
.temp-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--temp-space-lg);
}
.temp-article-body th,
.temp-article-body td {
  padding: var(--temp-space-md);
  border-bottom: 1px solid var(--temp-border);
  text-align: left;
  font-size: var(--temp-fs-sm);
}
.temp-article-body th {
  font-weight: 700;
  color: var(--temp-heading-color);
}
.temp-article-body img {
  border-radius: var(--temp-radius-md);
  margin: var(--temp-space-lg) 0;
}
.temp-article-body a:not(.temp-btn):not(.temp-inline-cta__btn) {
  color: var(--temp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--temp-transition-fast);
}
.temp-article-body a:not(.temp-btn):not(.temp-inline-cta__btn):hover {
  color: var(--temp-primary-hover);
}

/* Inline CTA (mid-article) */
.temp-inline-cta {
  background: var(--temp-primary-light);
  border: 1px solid var(--temp-primary-10);
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-xl);
  margin: var(--temp-space-2xl) 0;
  text-align: center;
}
.temp-inline-cta h3 {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-xl);
  color: var(--temp-heading-color);
  margin-bottom: var(--temp-space-sm);
}
.temp-inline-cta p {
  font-size: var(--temp-fs-base);
  color: var(--temp-body);
  margin-bottom: var(--temp-space-md);
}
.temp-inline-cta .temp-btn {
  color: var(--temp-white);
  text-decoration: none;
}
.temp-inline-cta .temp-btn:hover {
  color: var(--temp-white);
  text-decoration: none;
}

/* Archive hero */
.temp-archive-hero {
  background: var(--temp-dark);
  color: var(--temp-white);
  padding: calc(var(--temp-header-height) + var(--temp-space-2xl)) 0 var(--temp-space-2xl);
  text-align: center;
}
.temp-archive-hero__title {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl);
  font-weight: 700;
  color: var(--temp-white);
  margin-bottom: var(--temp-space-sm);
}
.temp-archive-hero__desc {
  font-size: var(--temp-fs-md);
  color: var(--temp-white-40);
}

@media (max-width: 1024px) {
  .temp-article-layout {
    grid-template-columns: 1fr;
  }
  .temp-toc-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .temp-article-header__title {
    font-size: var(--temp-fs-2xl);
  }
}


/* ===========================================
   22. WPFORMS OVERRIDES
   =========================================== */
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form input[type="url"],
.wpforms-container .wpforms-form input[type="number"],
.wpforms-container .wpforms-form textarea,
.wpforms-container .wpforms-form select {
  border: 1px solid var(--temp-border);
  border-radius: var(--temp-radius-md);
  padding: var(--temp-space-md);
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  color: var(--temp-body);
  background: var(--temp-white);
  transition: border-color var(--temp-transition-fast), box-shadow var(--temp-transition-fast);
}
.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form textarea:focus,
.wpforms-container .wpforms-form select:focus {
  border-color: var(--temp-primary);
  box-shadow: 0 0 0 3px var(--temp-primary-15);
  outline: none;
}
.wpforms-container .wpforms-form .wpforms-field-label {
  font-family: var(--temp-body-font);
  font-weight: 600;
  color: var(--temp-heading-color);
  margin-bottom: var(--temp-space-xs);
}
.wpforms-container .wpforms-form .wpforms-field-sublabel {
  font-size: var(--temp-fs-xs);
  color: var(--temp-muted);
}
.wpforms-container .wpforms-form button[type="submit"],
.wpforms-container .wpforms-form .wpforms-submit {
  background: var(--temp-primary);
  color: var(--temp-white);
  border: none;
  border-radius: var(--temp-radius-md);
  padding: var(--temp-space-md) var(--temp-space-xl);
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--temp-transition-fast), transform var(--temp-transition-fast), box-shadow var(--temp-transition-fast);
}
.wpforms-container .wpforms-form button[type="submit"]:hover,
.wpforms-container .wpforms-form .wpforms-submit:hover {
  background: var(--temp-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--temp-shadow-sm);
}
.wpforms-container .wpforms-form ::placeholder {
  color: var(--temp-muted);
  opacity: 0.7;
}


/* ===========================================
   23. UTILITIES
   =========================================== */

/* Before/After Slider */
.temp-ba-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  max-width: 100%;
  border-radius: var(--temp-radius-md);
}
.temp-ba-slider img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.temp-ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}
.temp-ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.temp-ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--temp-white);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 2;
}
.temp-ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--temp-white);
  border-radius: var(--temp-radius-full);
  box-shadow: var(--temp-shadow-lg);
}

/* Time-of-Day Message */
.temp-tod-message.is-open { color: var(--temp-secondary); }
.temp-tod-message.is-closed { color: var(--temp-accent); }

/* Exit Intent Popup */
.temp-exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--temp-dark-60);
  align-items: center;
  justify-content: center;
  padding: var(--temp-space-md);
}
.temp-exit-popup.open {
  display: flex;
  animation: temp-backdrop-in 0.3s ease forwards;
}
.temp-exit-popup-inner {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-2xl);
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: var(--temp-shadow-xl);
  animation: temp-popup-in 0.3s ease forwards;
}
.temp-exit-popup-close {
  position: absolute;
  top: var(--temp-space-md);
  right: var(--temp-space-md);
  background: none;
  border: none;
  font-size: var(--temp-fs-xl);
  cursor: pointer;
  color: var(--temp-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Map */
.temp-map {
  border-radius: var(--temp-radius-lg);
  overflow: hidden;
  margin-bottom: 0;
}
/* Kill GP bottom margin on last element before footer */
.site-main > *:last-child,
.entry-content > *:last-child {
  margin-bottom: 0;
}
.temp-map iframe {
  width: 100%;
  border: 0;
  display: block; /* kill the inline-baseline descender gap under the iframe */
}


/* ===========================================
   24. ANIMATIONS & TRANSITIONS
   =========================================== */

/* --- Scroll Reveal --- */
.temp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--temp-transition-slow),
              transform var(--temp-transition-slow);
  transition-delay: var(--temp-delay, 0s);
}
.temp-reveal.temp-visible {
  opacity: 1;
  transform: translateY(0);
}
.temp-reveal--left {
  transform: translateX(-24px);
}
.temp-reveal--left.temp-visible {
  transform: translateX(0);
}
.temp-reveal--right {
  transform: translateX(24px);
}
.temp-reveal--right.temp-visible {
  transform: translateX(0);
}
.temp-reveal--scale {
  transform: scale(0.95);
  opacity: 0;
}
.temp-reveal--scale.temp-visible {
  transform: scale(1);
  opacity: 1;
}

/* --- Hero Entrance --- */
.temp-hero-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--temp-ease),
              transform 0.7s var(--temp-ease);
}
.temp-hero-animate:nth-child(1) { transition-delay: 0s; }
.temp-hero-animate:nth-child(2) { transition-delay: 0.15s; }
.temp-hero-animate:nth-child(3) { transition-delay: 0.3s; }
.temp-hero-animate:nth-child(4) { transition-delay: 0.45s; }
.temp-hero-animate:nth-child(5) { transition-delay: 0.6s; }
.temp-hero-animate:nth-child(6) { transition-delay: 0.75s; }

.temp-hero-entered {
  opacity: 1;
  transform: translateY(0);
}

.temp-hero-animate--image {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.8s var(--temp-ease),
              transform 0.8s var(--temp-ease);
  transition-delay: 0.2s;
}
.temp-hero-animate--image.temp-hero-entered {
  transform: scale(1);
}

/* Page hero entrance (non-homepage) */
.temp-page-hero-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--temp-transition-slow),
              transform var(--temp-transition-slow);
}
.temp-page-hero-animate:nth-child(1) { transition-delay: 0s; }
.temp-page-hero-animate:nth-child(2) { transition-delay: 0.12s; }
.temp-page-hero-animate:nth-child(3) { transition-delay: 0.24s; }
.temp-page-hero-animate:nth-child(4) { transition-delay: 0.36s; }
.temp-page-hero-animate.temp-hero-entered {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hover Lift --- */
.temp-hover-lift {
  transition: transform var(--temp-transition-fast);
}
.temp-hover-lift:hover {
  transform: translateY(-3px);
}

/* --- Image Zoom on Hover --- */
.temp-hover-zoom {
  overflow: hidden;
}
.temp-hover-zoom img {
  transition: transform 0.4s var(--temp-ease);
}
.temp-hover-zoom:hover img {
  transform: scale(1.03);
}

/* --- Link Underline (grows from left) --- */
.temp-link-underline {
  position: relative;
  text-decoration: none;
}
.temp-link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width var(--temp-transition-base);
}
.temp-link-underline:hover::after {
  width: 100%;
}

/* --- Keyframes --- */
@keyframes temp-step-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes temp-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--temp-primary-15); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
@keyframes temp-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes temp-popup-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}


/* ===========================================
   25. REDUCED MOTION
   =========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .temp-reveal,
  .temp-hero-animate,
  .temp-hero-animate--image,
  .temp-page-hero-animate {
    opacity: 1 !important;
    transform: none !important;
  }
  .temp-btn:hover,
  .temp-hover-lift:hover {
    transform: none !important;
  }
  .temp-hover-zoom:hover img {
    transform: none !important;
  }
}


/* ===========================================
   26. FIGMA MOLECULES (added 2026-05-18)
   Match the spec at node 2100:1849. Opt-in classes,
   PHP components can wrap content in these to adopt the look.
   =========================================== */

/* Circular icon container (Figma "Icon" molecule):
   48x48 almost-white circle with a primary-green SVG inside.
   Usage: <span class="temp-icon-circle"><?php echo temp_icon('arrow-right', 32); ?></span> */
.temp-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--temp-radius-full);
  background: var(--temp-almost-white);
  color: var(--temp-primary);
  flex-shrink: 0;
}
.temp-icon-circle svg { width: 32px; height: 32px; }

/* Pill / step badge (Figma "Tags - Pill" molecule):
   mint background, dark-green text, 24px radius, 10/4 padding, Inter 16/1.5 Regular.
   Usage: <span class="temp-pill">Step 4</span> */
.temp-pill {
  display: inline-flex;
  align-items: center;
  background: var(--temp-bg-2);
  color: var(--temp-secondary);
  padding: 4px 10px;
  border-radius: 24px;
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base); /* 16px */
  font-weight: 400;
  line-height: var(--temp-lh-base);
}


/* Why C&J , Figma-faithful styles live in section 10 (line ~1091). Override removed 2026-05-22. */


/* Kill GeneratePress's default 20px bottom margin on every .site-main child.
   GP applies it via ".separate-containers .site-main > *, .separate-containers .widget"
   in its minified CSS. We control vertical rhythm via each component's own padding,
   so this rule is a 20px-of-air leak we don't want. Matched specificity, reset to 0. */
.separate-containers .site-main > *,
.separate-containers .widget {
  margin-bottom: 0;
}

/* ── DS: nuke GeneratePress #3f4047 default button hover/focus/active (2026-06-26) ──
   GP injects `…:hover{color:#fff;background-color:#3f4047}` on native buttons/inputs
   via its customizer default. `html` prefix + late load beats it. Component button
   hovers (higher specificity) still win. */
html button:hover, html button:focus, html button:active,
html input[type="button"]:hover, html input[type="button"]:focus, html input[type="button"]:active,
html input[type="submit"]:hover, html input[type="submit"]:focus, html input[type="submit"]:active,
html input[type="reset"]:hover, html input[type="reset"]:focus, html input[type="reset"]:active,
html .button:hover, html .button:focus,
html .wp-block-button__link:hover, html .wp-block-button__link:focus {
  background-color: transparent;
  color: inherit;
}
/* Sending state (lead-form standard D2, Luc 2026-11-18): the button is disabled while the quote sends and
   shows a spinner beside "Sending...". main.js adds .is-sending and removes it if the send fails. */
.temp-form-submit.is-sending::before,
.temp-simple-form__submit.is-sending::before {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .55em; vertical-align: -.15em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: cj-send-spin .7s linear infinite;
}
.temp-form-submit.is-sending, .temp-simple-form__submit.is-sending { cursor: progress; }
@keyframes cj-send-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .temp-form-submit.is-sending::before, .temp-simple-form__submit.is-sending::before { animation-duration: 2s; } }
