/* ============================================================
   AUSSIE HOME BATTERY — Design System
   Deep navy + energy green + golden amber, warm off-white base.
   Headlines: Bricolage Grotesque · Body: Hanken Grotesk

   PALETTE
   Background  Warm Off White  #F8F6F1
   Primary     Deep Navy       #002B5B
   Secondary   Energy Green    #3E8E2F
   Accent      Golden Amber    #FFB000
   Body Text   Charcoal        #333333
   Light Text  Grey            #6B7280
   White       Pure White      #FFFFFF
   ============================================================ */

:root {
  /* Brand — navy ramp (var names kept as "teal-*" for compatibility) */
  --teal-900: #0A5A96;  /* Traffic Blue (RAL 5015) — primary */
  --teal-800: #0B619F;
  --teal-700: #0E6BB0;
  --teal-600: #2E86C8;
  --teal-300: #8FC1E3;
  --teal-100: #E2EFF8;

  /* (legacy "green" accents folded into the blue family) */
  --green: #0E6BB0;
  --green-600: #0A5A96;
  --green-100: #E2EFF8;

  /* Neutrals */
  --ink: #0A2E4A;       /* dark blue heading ink */
  --ink-700: #2B3A46;   /* body text */
  --muted: #6B7280;     /* Light Text grey */
  --muted-light: #9AA1AC;
  --line: #D8E2EA;
  --line-soft: #E7EEF3;
  --off-white: #F2F5F7; /* Signal White (cool) */
  --paper: #FFFFFF;
  --cream: #F6F9FB;

  /* Accent — Traffic Yellow (RAL 1023) */
  --amber: #FAC412;
  --amber-600: #E0A800;
  --amber-100: #FEF3CC;

  /* Traffic Red (RAL 3020) — promotions / urgency */
  --red: #CE1B26;
  --red-600: #A30F18;
  --red-100: #FBE0E1;

  /* Action — Traffic Red (buttons) */
  --orange: #CE1B26;
  --orange-600: #A30F18;

  /* Type */
  --font-head: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Radius / elevation */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(14,17,22,.04), 0 2px 8px rgba(14,17,22,.05);
  --shadow-md: 0 8px 24px rgba(14,17,22,.08), 0 2px 8px rgba(14,17,22,.04);
  --shadow-lg: 0 24px 60px rgba(14,17,22,.14), 0 8px 24px rgba(14,17,22,.06);
  --shadow-teal: 0 24px 60px rgba(0,43,91,.30);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --topbar-h: 40px;
  --header-h: 86px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
p  { margin: 0; text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); line-height: 1.6; max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before { content:""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px; }
.eyebrow.on-dark { color: var(--amber); }
.eyebrow.center-eb { justify-content: center; }

.section-head { max-width: 64ch; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--amber); color: var(--teal-900); box-shadow: 0 8px 22px rgba(255,176,0,.34); }
.btn--primary:hover { background: var(--amber-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,176,0,.44); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--teal-800); transform: translateY(-2px); }
.btn--teal { background: var(--teal-800); color: #fff; }
.btn--teal:hover { background: var(--teal-700); transform: translateY(-2px); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(62,142,47,.30); }
.btn--green:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(62,142,47,.4); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }

.text-link { display:inline-flex; align-items:center; gap:7px; font-weight:700; color: var(--teal-700); }
.text-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }
.text-link.on-dark { color: var(--amber); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--teal-900); color: rgba(255,255,255,.82);
  font-size: .82rem; height: var(--topbar-h); display: flex; align-items: center;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.topbar-left { display: inline-flex; align-items: center; gap: 9px; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.topbar-right { display: inline-flex; align-items: center; gap: 22px; }
.topbar-right a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.topbar-right a:hover { color: var(--amber); }
.topbar-right svg { width: 14px; height: 14px; opacity: .85; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-transparent { background: transparent; }
.site-header.is-solid { background: rgba(255,255,255,.86); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }

/* Logo wordmark */
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; color: var(--ink); }
.logo .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--teal-800); position: relative; flex: none;
  display: grid; place-items: center;
}
.logo .mark::before { /* battery bolt */
  content: ""; width: 13px; height: 17px;
  background: var(--amber);
  clip-path: polygon(55% 0, 0 58%, 42% 58%, 32% 100%, 100% 38%, 56% 38%);
}
.logo .mark::after { content:""; position:absolute; top:-3px; left:50%; transform:translateX(-50%); width:11px; height:4px; border-radius:2px 2px 0 0; background: var(--teal-800); }
.logo small { font-weight: 600; font-size: .58em; color: var(--muted); letter-spacing: .02em; font-family: var(--font-body); display:block; margin-top: 2px; }
.logo .logo-txt { display: flex; flex-direction: column; line-height: 1; }
/* Logo image lockup */
.logo-img { height: 60px; width: auto; display: block; }
.logo-img--sm, .mobile-nav-head .logo-img { height: 46px; }
.site-footer .logo { background: #fff; padding: 10px 16px; border-radius: 12px; display: inline-flex; }
.site-footer .logo-img { height: 54px; }
@media (max-width: 640px) { .logo-img { height: 48px; } }

/* New brand lockup: battery-case + map icon + two-tone wordmark */
.ab-mark { display: block; flex: none; }
.ab-mark svg { display: block; height: 46px; width: 46px; }
.ab-wm { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.ab-wm .nv { color: var(--teal-900); }
.ab-wm .gr { color: var(--green); }
.mobile-nav-head .ab-mark svg { height: 38px; width: 38px; }
.mobile-nav-head .ab-wm { font-size: 1.28rem; }
.site-footer .logo { background: #fff; }
.site-footer .ab-mark svg { height: 50px; width: 50px; }
.site-footer .ab-wm { font-size: 1.62rem; }
@media (max-width: 640px) { .ab-mark svg { height: 40px; width: 40px; } .ab-wm { font-size: 1.3rem; } }
@media (max-width: 480px) { .site-header .ab-mark svg { height: 28px; width: 28px; } .site-header .ab-wm { font-size: 1rem; } }
.header--dark .ab-wm .nv { color: #fff; }
.header--dark .logo { color: #fff; }
.header--dark .logo small { color: rgba(255,255,255,.6); }
.header--dark .logo .mark { background: rgba(255,255,255,.12); }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600; font-size: .98rem; padding: 10px 14px; border-radius: 10px; color: var(--ink-700);
  transition: color .15s ease, background .15s ease;
}
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s ease; opacity: .6; }
.nav-item:hover .nav-link { color: var(--ink); background: var(--off-white); }
.nav-item:hover .nav-link .chev { transform: rotate(180deg); }
.header--dark .nav-link { color: rgba(255,255,255,.8); }
.header--dark .nav-item:hover .nav-link { color: #fff; background: rgba(255,255,255,.08); }
.is-solid.header--dark .nav-link { color: var(--ink-700); }
.is-solid.header--dark .nav-item:hover .nav-link { color: var(--ink); background: var(--off-white); }
.is-solid.header--dark .logo { color: var(--ink); }
.is-solid.header--dark .logo small { color: var(--muted); }
.is-solid.header--dark .logo .mark { background: var(--teal-800); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 232px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 20;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink-700); }
.dropdown a span { display: block; font-weight: 500; font-size: .8rem; color: var(--muted-light); margin-top: 2px; }
.dropdown a:hover { background: var(--off-white); color: var(--teal-700); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.header-phone svg { width: 20px; height: 20px; flex: none; color: var(--green); }
.header-phone span { display: flex; flex-direction: column; line-height: 1.1; }
.header-phone small { font-size: .68rem; color: var(--muted); font-weight: 600; }
.header-phone b { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; color: var(--teal-900); }
.header--dark .header-phone { color: #fff; }
.header--dark .header-phone b { color: #fff; }
.header--dark .header-phone small { color: rgba(255,255,255,.7); }
@media (max-width: 1080px) { .header-phone { display: none; } }
.header-cta .btn { padding: 12px 22px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.header--dark .burger span { background: #fff; }
.is-solid.header--dark .burger span { background: var(--ink); }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: var(--paper); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; display: none; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.mobile-nav-body { padding: 20px var(--gutter) 48px; }
.mobile-nav details { border-bottom: 1px solid var(--line-soft); }
.mobile-nav summary { list-style: none; cursor: pointer; padding: 16px 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .chev { width: 18px; transition: transform .2s; }
.mobile-nav details[open] summary .chev { transform: rotate(180deg); }
.mobile-nav .sub a { display: block; padding: 9px 0 9px 4px; color: var(--muted); font-weight: 600; }
.mobile-nav .sub { padding-bottom: 12px; }
.mobile-nav .btn { margin-top: 24px; }
.x-close { background: none; border: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; }
.x-close svg { width: 24px; height: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,.7); padding-block: clamp(56px, 7vw, 88px) 36px; }
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: rgba(255,255,255,.55); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-about p { margin-top: 20px; max-width: 34ch; line-height: 1.65; font-size: .95rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: .95rem; }
.footer-col a:hover { color: var(--amber); }
.footer-contact div { margin-bottom: 16px; }
.footer-contact .label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-300); margin-bottom: 3px; }
.footer-contact a, .footer-contact span { color: #fff; font-weight: 600; font-size: .98rem; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s; }
.footer-social a:hover { background: var(--amber); color: var(--ink); }
.footer-social svg { width: 18px; height: 18px; }
.footer-offices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 48px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-offices .office .state { display: inline-block; font-family: var(--font-head); font-weight: 800; color: var(--amber); font-size: .82rem; letter-spacing: .08em; margin-bottom: 8px; }
.footer-offices .office p { font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.72); margin: 0; }
.footer-bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a:hover { color: var(--amber); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.benefit-card .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 22px; }
.benefit-card .ico svg { width: 28px; height: 28px; }
.benefit-card h3 { margin-bottom: 10px; }
.benefit-card p { color: var(--muted); font-size: .98rem; }

/* Image placeholder */
.imgph { position: relative; background:
    linear-gradient(135deg, var(--teal-800), var(--teal-600));
  border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.imgph::after { content: attr(data-label); position: absolute; bottom: 14px; left: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: rgba(0,0,0,.4); color: #fff; padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.imgph .ph-ico { width: 64px; height: 64px; opacity: .5; }
.imgph--amber { background: linear-gradient(135deg, #FBC02D, #F4B400); color: var(--teal-900); }
.imgph--soft { background: linear-gradient(135deg, #EEF3F2, #DCEEEB); color: var(--teal-700); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Stat band ---------- */
.statband { background: var(--ink); color: #fff; }
.statband .wrap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.stat { padding: 38px 22px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 2.4vw, 2.5rem); color: var(--amber); letter-spacing: -.02em; }
.stat .lbl { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 6px; line-height: 1.35; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--ink); }
.acc-q .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: .25s; position: relative; }
.acc-q .pm::before, .acc-q .pm::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: .25s; }
.acc-q .pm::before { width: 13px; height: 2px; }
.acc-q .pm::after { width: 2px; height: 13px; }
.acc-item.open .pm { background: var(--amber); border-color: var(--amber); }
.acc-item.open .pm::after { transform: scaleY(0); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a-inner { padding-bottom: 28px; color: var(--muted); max-width: 70ch; line-height: 1.7; }

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { width: 18px; height: 18px; }
.review-track { display: flex; gap: 24px; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.review-card { flex: 0 0 calc(33.333% - 16px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.review-card p { margin: 16px 0 22px; font-size: 1.05rem; line-height: 1.6; color: var(--ink-700); }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author .av { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); }
.review-author .nm { font-weight: 700; font-size: .95rem; }
.review-author .loc { font-size: .82rem; color: var(--muted); }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.carousel-nav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.carousel-nav button svg { width: 20px; height: 20px; }

/* ---------- Blog cards ---------- */
.blog-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card .thumb { aspect-ratio: 16/10; }
.blog-card .body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-meta { display: flex; gap: 12px; align-items: center; font-size: .8rem; }
.cat { font-weight: 700; color: var(--teal-700); text-transform: uppercase; letter-spacing: .06em; }
.blog-meta .date { color: var(--muted-light); }
.blog-card h3 { font-size: 1.25rem; }
.blog-card .ex { color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-800); color: #fff; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.cta-band::before { content:""; position:absolute; right:-80px; top:-80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(244,180,0,.22), transparent 70%); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: clamp(36px, 5vw, 64px); position: relative; }
.cta-grid h2 { color: #fff; }
.cta-grid .lede { color: rgba(255,255,255,.8); margin-top: 16px; }
.cta-form { background: var(--paper); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.cta-form h3 { color: var(--ink); margin-bottom: 18px; }

/* ---------- Quote band (recurring bottom conversion block) ---------- */
.quote-band { position: relative; background: var(--off-white); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.quote-band::after { content:""; position:absolute; top:0; right:0; width:50%; height:100%; background:linear-gradient(135deg, rgba(62,142,47,.08), rgba(0,43,91,.04)); clip-path:polygon(22% 0, 100% 0, 100% 100%, 0 100%); pointer-events:none; }
.quote-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); }
.quote-pill { display:inline-flex; align-items:center; gap:9px; background:var(--green-100); color:var(--green-600); font-family:var(--font-head); font-weight:800; letter-spacing:.05em; text-transform:uppercase; font-size:.84rem; padding:11px 18px; border-radius:12px; }
.quote-pill svg { width:17px; height:17px; }
.quote-h2 { font-size:clamp(2.2rem,4.4vw,3.4rem); line-height:.96; letter-spacing:-.025em; text-transform:uppercase; margin-top:20px; }
.quote-h2 .l1 { color:var(--teal-900); display:block; }
.quote-h2 .l2 { color:var(--green); display:block; }
.quote-rule { width:108px; height:5px; background:var(--amber); border-radius:3px; margin:18px 0 18px; }
.quote-sub { font-size:clamp(1.05rem,1.6vw,1.35rem); color:var(--teal-900); font-weight:600; line-height:1.35; }
.quote-sub .hl { color:var(--green); }
.quote-benefits { list-style:none; padding:0; margin:26px 0 0; display:grid; grid-template-columns:1fr 1fr; gap:0 28px; }
.quote-benefits li { display:flex; align-items:center; gap:13px; padding:14px 0; border-bottom:1px solid var(--line); font-weight:600; color:var(--ink); font-size:.98rem; line-height:1.25; }
.quote-benefits .bi { flex:none; width:42px; height:42px; border-radius:50%; background:var(--green); color:#fff; display:grid; place-items:center; }
.quote-benefits .bi svg { width:20px; height:20px; }
.quote-trust { display:flex; align-items:center; gap:22px; margin-top:24px; padding:18px 22px; border:1px solid var(--line); border-radius:var(--r-md); background:rgba(255,255,255,.5); }
.quote-trust .tt { text-align:center; }
.quote-trust .stars { color:var(--amber); font-size:1.1rem; letter-spacing:1px; }
.quote-trust .tt .lbl { display:block; font-weight:700; font-size:.86rem; color:var(--ink); margin-top:4px; line-height:1.25; }
.quote-trust .div { width:1px; align-self:stretch; background:var(--line); }
.quote-trust .au { display:flex; align-items:center; gap:11px; }
.quote-trust .au svg { width:36px; height:36px; color:var(--green); flex:none; }
.quote-trust .au .lbl { font-weight:700; font-size:.9rem; color:var(--ink); line-height:1.25; }
.quote-assure { display:flex; align-items:center; gap:14px; margin-top:18px; padding:15px 22px; background:var(--green-100); border-radius:var(--r-md); font-weight:700; color:var(--green-600); }
.quote-assure svg { width:24px; height:24px; flex:none; }
.quote-assure .sep { color:var(--green); opacity:.5; }
.quote-card { position:relative; background:var(--paper); border-radius:var(--r-xl); padding:clamp(26px,3vw,40px); box-shadow:var(--shadow-lg); }
.quote-card h3 { text-align:center; font-size:clamp(1.5rem,2.4vw,2rem); text-transform:uppercase; letter-spacing:-.01em; color:var(--teal-900); margin-bottom:24px; }
.quote-card .field input, .quote-card .field textarea { background:var(--paper); }
.quote-priv { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:14px; font-size:.85rem; font-weight:600; color:var(--green-600); }
.quote-priv svg { width:15px; height:15px; }
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-band::after { display:none; }
}
@media (max-width: 540px) {
  .quote-benefits { grid-template-columns: 1fr; }
  .quote-trust { flex-direction:column; gap:14px; }
  .quote-trust .div { width:100%; height:1px; }
}


/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(22,99,90,.12); }
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .8rem; color: var(--muted-light); margin-top: 10px; }
.field.ok input { border-color: var(--green); }
.field.err input { border-color: #E5484D; }
.err-msg { color: #E5484D; font-size: .78rem; margin-top: 5px; display: none; }
.field.err .err-msg { display: block; }

/* ---------- Pills / badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--teal-100); color: var(--teal-700); }
.pill--amber { background: var(--amber-100); color: var(--amber-600); }
.pill--green { background: var(--green-100); color: var(--green-600); }
.pill--ink { background: rgba(255,255,255,.1); color: #fff; }
.pill svg { width: 14px; height: 14px; }

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; opacity: .55; }
.logo-strip .ml { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--muted); letter-spacing: -.01em; filter: grayscale(1); }

/* ---------- Brand marquee ---------- */
.marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee-scroll 34s linear infinite; }
.marquee-section:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 14px)); } }
.brand-chip { flex: none; width: 220px; height: 110px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); display: grid; place-items: center; padding: 22px 26px; box-shadow: var(--shadow-sm); }
.brand-chip img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; margin: 0 auto; }
@media (max-width: 640px) { .brand-chip { width: 170px; height: 92px; padding: 16px 20px; } }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { background: var(--teal-900); color: #fff; padding-block: clamp(48px, 7vw, 92px) clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; left:-120px; bottom:-120px; width: 420px; height: 420px; border-radius:50%; background: radial-gradient(circle, rgba(111,183,173,.18), transparent 70%); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lede { color: rgba(255,255,255,.78); margin-top: 20px; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 22px; display: flex; gap: 9px; align-items: center; }
.crumbs a:hover { color: var(--amber); }
.crumbs .sep { opacity: .5; }

/* placeholder banner note */
.ph-flag { display:inline-block; font-size:.72rem; font-weight:700; color: var(--amber-600); background: var(--amber-100); padding: 2px 8px; border-radius: 6px; letter-spacing: .02em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .review-card { flex-basis: calc(50% - 12px); }
}
@media (max-width: 900px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: block; }
  .statband .wrap { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3n) { border-right: none; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .cta-grid { grid-template-columns: 1fr; }
  .review-card { flex-basis: calc(100% - 0px); }
  .footer-offices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .statband .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(2n) { border-right: none; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-offices { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE GRID UTILITIES + EXTENDED MOBILE POLISH
   ============================================================ */

/* Prevent any element from causing horizontal scroll */
html, body { overflow-x: hidden; }

/* ---- Collapsible grid utilities (replace inline styles in HTML) ---- */
.g3      { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.g2      { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.g2s     { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.gsplit  { display:grid; grid-template-columns:1fr 1.4fr; gap:clamp(32px,5vw,72px); align-items:start; }
.ghero   { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(32px,5vw,64px); align-items:center; }
.grebate { display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(32px,5vw,64px); align-items:center; }
.gcontact{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(28px,4vw,56px); align-items:start; }

@media (max-width:768px) {
  .g3, .g2, .g2s, .gsplit, .ghero, .grebate, .gcontact { grid-template-columns:1fr; }
}

/* ---- Fox ESS statband: 5 columns on desktop ---- */
.statband-5 .wrap { grid-template-columns:repeat(5,1fr) !important; }
@media (max-width:900px) {
  .statband-5 .wrap { grid-template-columns:repeat(3,1fr) !important; }
  .statband-5 .stat:nth-child(3) { border-right:none; }
  .statband-5 .stat:nth-child(-n+3) { border-bottom:1px solid rgba(255,255,255,.1); }
}
@media (max-width:640px) {
  .statband-5 .wrap { grid-template-columns:repeat(2,1fr) !important; }
  .statband-5 .stat:nth-child(3) { border-right:1px solid rgba(255,255,255,.1); }
}

/* ---- Topbar: wrap gracefully on very narrow phones ---- */
@media (max-width:480px) {
  .topbar { height:auto; padding-block:8px; line-height:1.4; }
  .topbar-left { font-size:.72rem; }
}

/* ---- Product card image wrappers ---- */
@media (max-width:640px) {
  .prod-card-img { height:220px !important; }
  .prod-card-img img { height:180px !important; }
}

/* ---- Size-card: stays within viewport on any phone ---- */
@media (max-width:500px) {
  .size-card { padding:20px 16px !important; }
  .sc-grid { gap:10px !important; }
  .st .kw { font-size:1.4rem !important; }
}

/* ---- Early-bird strip: fix oversized text on mobile ---- */
@media (max-width:540px) {
  .earlybird p { font-size:1rem !important; }
}

/* ---- Hero left: remove hard max-width so it fills column ---- */
@media (max-width:980px) {
  .hero-left { max-width:none; }
}

/* ---- Review section header: stack nav buttons below heading on phones ---- */
@media (max-width:500px) {
  .review-hd { flex-direction:column !important; align-items:flex-start !important; gap:16px !important; }
}

/* ---- Footer bottom: centre-align on phone ---- */
@media (max-width:480px) {
  .footer-bottom { flex-direction:column; align-items:center; text-align:center; }
  .footer-legal { justify-content:center; }
}

/* ---- Page hero inner: hide product image column on narrow phones ---- */
@media (max-width:500px) {
  .page-hero-img-col { display:none; }
}

/* ---- Why-choose panel (contact): comfortable on mobile ---- */
@media (max-width:640px) {
  .why-card { padding:24px 18px !important; }
  .why-list li { padding:12px 14px !important; }
}

/* ---- Rebate-guide hero inner: ensure text-first on mobile ---- */
@media (max-width:768px) {
  .rebate-hero-img { display:none; }
}

/* ---- ROI Calculator result row: single col on very small screens ---- */
@media (max-width:420px) {
  .result-row { grid-template-columns:1fr !important; }
}
