/* ========================================================================
   Southern Solor — Static Template
   HTML5 + CSS3 + jQuery
   ======================================================================== */

/* ---------- Reset & Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:hidden;width:100%}
body{margin:0;font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:#1f2937;background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden;width:100%;max-width:100%}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{padding:0;margin:0;list-style:none}
h1,h2,h3,h4,h5,h6{font-family:'Poppins','Inter',sans-serif;color:#0f172a;margin:0 0 .6em;line-height:1.2;font-weight:700}
p{margin:0 0 1em}
button{font-family:inherit;cursor:pointer;border:0;background:none}
iframe{border:0;display:block;width:100%}
figure {
   margin: 0 !important;
}

/* ---------- Variables ---------- */
:root{
  --brand:#f59e0b;
  --brand-dark:#0f172a;
  --brand-foreground:#0f172a;
  --rebate:#16a34a;
  --rebate-fg:#fff;
  --ink:#0f172a;
  --cream:#fff8eb;
  --border:#e5e7eb;
  --muted:#f3f4f6;
  --text:#334155;
  --text-soft:rgba(51,65,85,.75);
  --shadow-sm:0 1px 2px rgba(0,0,0,.06);
  --shadow-md:0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:0 18px 40px -10px rgba(0,0,0,.25);
  --radius:.75rem;
  --radius-lg:1rem;
  --maxw:1200px;
}

/* ---------- Layout helpers ---------- */
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding-inline:1.25rem}
.section{padding:4rem 0}
@media(min-width:1024px){.section{padding:6rem 0}}
.section--cream{background:var(--cream)}
.section--dark{background:var(--brand-dark);color:#fff}
.section--brand{background:linear-gradient(135deg,var(--brand),#e0890b);color:#fff}
.text-center{text-align:center}
.eyebrow{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin-bottom:.75rem}
.section-title{font-size:1.85rem;color:var(--ink);max-width:48rem}
.section--dark .section-title,.section--brand .section-title{color:#fff}
@media(min-width:1024px){.section-title{font-size:2.5rem}}
.section-lead{color:var(--text-soft);max-width:42rem;margin-top:.75rem}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;padding:.85rem 1.5rem;border-radius:.5rem;font-size:.95rem;line-height:1;border:1px solid transparent;transition:transform .15s ease,background .15s ease,color .15s ease,border-color .15s ease;cursor:pointer}
.btn:hover{transform:translateY(-1px)}
.btn--brand{background:var(--brand);color:var(--brand-foreground);box-shadow:var(--shadow-md)}
.btn--brand:hover{background:#e89008}
.btn--ghost{background:transparent;border-color:rgba(255,255,255,.3);color:#fff}
.btn--ghost:hover{background:rgba(255,255,255,.1)}
.btn--white{background:#fff;color:var(--brand)}
.btn--dark{background:var(--ink);color:#fff}
.btn--lg{padding:1.05rem 1.85rem;font-size:1rem}
.btn--block{display:flex;justify-content:center;width:100%}

/* ---------- FIX 1: Missing utility classes (.sr-only / .hide-sm / .show-sm) ---------- */
/* sr-only: visually hidden but readable by screen readers */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Default (mobile): show short label, hide long label */
.hide-sm{display:none}
.show-sm{display:inline}
/* Desktop (≥1024px): show long label, hide short label */
@media(min-width:1024px){
  .hide-sm{display:inline}
  .show-sm{display:none}
}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;width:100%;max-width:100%;overflow-x:clip;background:rgba(255,255,255,.96);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid var(--border)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:4rem;min-width:0;width:100%}
@media(min-width:1024px){.site-header__inner{height:5rem}}
.brand-logo{display:flex;align-items:center;gap:.55rem;flex-shrink:1;min-width:0}
.brand-logo__mark{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:.5rem;background:var(--brand);color:#0f172a;font-size:1.25rem}
.brand-logo__name{font-family:'Poppins',sans-serif;font-weight:700;font-size:1rem;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:400px){.brand-logo__name{max-width:7.5rem;font-size:.9rem}}
@media(max-width:340px){.brand-logo__name{display:none}}

.main-nav{display:none}
@media(min-width:1024px){.main-nav{display:flex;align-items:center;gap:1.5rem;font-size:.92rem;font-weight:500;color:rgba(15,23,42,.8)}}
.main-nav a:hover{color:var(--brand)}
.has-dropdown{position:relative}
.has-dropdown>a::after{content:"▾";font-size:.7em;margin-left:.25rem;opacity:.7}
.dropdown{position:absolute;top:100%;left:0;padding-top:.75rem;visibility:hidden;opacity:0;transition:opacity .15s;z-index:10;min-width:18rem}
.has-dropdown:hover .dropdown,.has-dropdown:focus-within .dropdown{visibility:visible;opacity:1}
.dropdown__inner{background:#fff;border:1px solid var(--border);border-radius:.75rem;box-shadow:var(--shadow-lg);padding:.5rem;max-height:70vh;overflow-y:auto}
.dropdown a{display:block;padding:.55rem .75rem;border-radius:.5rem;font-size:.88rem;color:var(--ink)}
.dropdown a:hover{background:var(--cream);color:var(--brand)}
.dropdown a.dropdown__hub{color:var(--brand);font-weight:600;border-bottom:1px solid var(--border);margin-bottom:.25rem}
.dropdown a small{display:block;font-size:.72rem;color:var(--text-soft);font-weight:400;margin-top:.15rem}

/* FIX 6: Prevent header actions from overflowing on mid-range screens */
.site-header__actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0;min-width:0}
@media(max-width:1023px){
  .site-header__actions .btn--brand{padding:.65rem .75rem;font-size:.82rem}
}
.calc-btn{position:relative;display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:50%;border:1px solid rgba(245,158,11,.4);background:rgba(245,158,11,.1);color:var(--brand);flex-shrink:0}
.calc-btn:hover{background:var(--brand);color:#0f172a}
.calc-btn::after{content:"";position:absolute;top:-2px;right:-2px;width:.55rem;height:.55rem;border-radius:50%;background:var(--brand);animation:flick 1.6s infinite}
@keyframes flick{0%,100%{opacity:1}50%{opacity:.4}}
.badge-pill{display:none;align-items:center;gap:.35rem;font-size:.72rem;font-weight:600;color:rgba(15,23,42,.7);border:1px solid var(--border);border-radius:9999px;padding:.35rem .75rem}
@media(min-width:1280px){.badge-pill{display:inline-flex}}

.nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:2.4rem;height:2.4rem;color:var(--ink);flex-shrink:0}
@media(min-width:1024px){.nav-toggle{display:none}}

.mobile-nav{display:none;border-top:1px solid var(--border);background:#fff;max-height:80vh;overflow-y:auto}
.mobile-nav.open{display:block}
.mobile-nav__list{padding:1rem;display:flex;flex-direction:column;gap:.15rem}
.mobile-nav__list a,.mobile-nav__group>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.7rem .85rem;border-radius:.5rem;font-weight:500;color:var(--ink)}
.mobile-nav__list a:hover,.mobile-nav__group>button:hover{background:var(--muted)}
.mobile-nav__group__items{display:none;padding-left:.75rem;margin-left:.75rem;border-left:2px solid var(--brand)}
.mobile-nav__group.open .mobile-nav__group__items{display:block}
.mobile-nav__group.open>button .chev{transform:rotate(180deg)}
.chev{transition:transform .2s}
.mobile-nav__group__items a{font-size:.88rem;padding:.5rem .85rem}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;background:var(--brand-dark);color:#fff}
.hero__bg{position:absolute;inset:0}
.hero__bg img{width:100%;height:100%;object-fit:cover;opacity:.35}
.hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(to right,var(--brand-dark),rgba(15,23,42,.85) 60%,rgba(15,23,42,.4))}
.hero__grid{position:relative;display:grid;gap:2.5rem;padding-block:4rem;align-items:center}
@media(min-width:1024px){.hero__grid{grid-template-columns:1fr 1fr;padding-block:6rem}}
.hero__chip{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);border-radius:9999px;padding:.4rem .85rem;font-size:.72rem;font-weight:600;margin-bottom:1.25rem}
.hero__chip .dot{color:var(--brand)}
.hero h1{font-size:2.25rem;font-weight:800;line-height:1.05;color:#fff;margin-bottom:1.25rem;overflow-wrap:break-word;word-break:break-word}
@media(min-width:640px){.hero h1{font-size:3rem}}
@media(min-width:1024px){.hero h1{font-size:3.75rem}}
.hero h1 .accent{color:var(--brand)}
.hero__lead{font-size:1rem;color:rgba(255,255,255,.8);max-width:36rem;margin-bottom:1.75rem}
@media(min-width:1024px){.hero__lead{font-size:1.125rem}}
.hero__ctas{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}
.hero__trust{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.8rem;color:rgba(255,255,255,.75)}
.hero__trust li{display:inline-flex;align-items:center;gap:.4rem}
.hero__trust .check{color:var(--brand);font-weight:bold}
.hero__rating{margin-top:1.5rem;display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:.5rem;padding:.5rem .75rem;font-size:.88rem}
.hero__rating strong{color:var(--brand);font-weight:700}

/* ---------- Lead form ---------- */
.lead-form{background:#fff;color:var(--ink);border-radius:1rem;padding:1.75rem;box-shadow:var(--shadow-lg)}
.lead-form h3{font-size:1.35rem;margin-bottom:.4rem}
.lead-form .lead-form__sub{color:var(--text-soft);font-size:.88rem;margin-bottom:1.25rem}
.lead-form .form-row{margin-bottom:.85rem}
.lead-form label{display:block;font-size:.8rem;font-weight:600;margin-bottom:.3rem}
.lead-form input,.lead-form select,.lead-form textarea{width:100%;padding:.7rem .85rem;border:1px solid var(--border);border-radius:.5rem;font-size:.92rem;font-family:inherit;background:#fff;color:var(--ink)}
.lead-form input:focus,.lead-form select:focus,.lead-form textarea:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(245,158,11,.2)}
.lead-form .form-disclaimer{font-size:.7rem;color:var(--text-soft);margin-top:.75rem;text-align:center}

/* ---------- Trust bar ---------- */
/* FIX 2: 5 items in 2-col grid leaves orphaned last item — use flex so the
   5th item is centred instead of stuck left-aligned in an empty row */
.trust-bar{background:var(--cream);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.trust-bar__grid{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem;padding:2rem 0;text-align:center}
.trust-bar__grid>*{flex:0 0 calc(50% - .75rem)}
@media(min-width:480px){.trust-bar__grid>*{flex:0 0 calc(33.333% - 1rem)}}
@media(min-width:768px){
  .trust-bar__grid{display:grid;grid-template-columns:repeat(5,1fr)}
  .trust-bar__grid>*{flex:none}
}
.trust-bar__n{font-family:'Poppins',sans-serif;font-weight:800;font-size:1.5rem;color:var(--ink)}
@media(min-width:1024px){.trust-bar__n{font-size:1.85rem}}
.trust-bar__l{font-size:.75rem;color:var(--text-soft);margin-top:.25rem}

/* ---------- Services / Cards ---------- */
.card-grid{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:768px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.card-grid{grid-template-columns:repeat(3,1fr)}}
.service-card{display:block;background:#fff;border:1px solid var(--border);border-radius:.85rem;padding:1.6rem;transition:border-color .15s,box-shadow .15s,transform .15s;color:inherit}
.service-card:hover{border-color:var(--brand);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.service-card__icon{font-size:1.85rem;margin-bottom:.85rem}
.service-card h3{font-size:1.05rem;margin-bottom:.4rem}
.service-card p{font-size:.88rem;color:var(--text-soft);margin-bottom:1rem}
.service-card__link{font-size:.85rem;font-weight:600;color:var(--brand)}

/* ---------- Gallery ---------- */
.gallery-grid{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:640px){.gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.gallery-grid{grid-template-columns:repeat(3,1fr)}}
.gallery-item{position:relative;overflow:hidden;border-radius:1rem;background:#fff;border:1px solid var(--border)}
.gallery-item img{aspect-ratio:4/3;object-fit:cover;width:100%;transition:transform .5s}
.gallery-item:hover img{transform:scale(1.05)}
.gallery-item figcaption{position:absolute;left:0;right:0;bottom:0;padding:1rem;color:#fff;font-weight:600;font-size:.88rem;background:linear-gradient(to top,rgba(0,0,0,.75),transparent)}

/* ---------- Why Us ---------- */
.whyus-grid{display:grid;gap:2.5rem;align-items:center}
@media(min-width:1024px){.whyus-grid{grid-template-columns:1fr 1fr}}
/* FIX 3: stat-panel was hardcoded 2-col with no mobile override — large numbers
   cramped below ~400px. Start single-col, go 2-col at 480px+ */
.stat-panel{background:var(--brand-dark);color:#fff;border-radius:1rem;padding:2rem;display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:480px){.stat-panel{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.stat-panel{padding:3rem}}
.stat-panel__num{font-family:'Poppins',sans-serif;font-weight:800;font-size:3rem;color:var(--brand);line-height:1}
@media(min-width:1024px){.stat-panel__num{font-size:3.75rem}}
.stat-panel__lbl{font-size:.85rem;color:rgba(255,255,255,.75);margin-top:.5rem}
.stat-panel__cec{grid-column:1/-1;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1);font-size:.88rem;color:rgba(255,255,255,.85)}
.checklist li{display:flex;gap:.75rem;align-items:flex-start;margin-bottom:1rem;font-weight:500;color:var(--ink)}
.checklist .tick{display:grid;place-items:center;flex-shrink:0;width:1.5rem;height:1.5rem;border-radius:50%;background:var(--rebate);color:#fff;font-size:.85rem;margin-top:.15rem}

/* ---------- Steps ---------- */
.steps-grid{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media(min-width:768px){.steps-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.steps-grid{grid-template-columns:repeat(4,1fr)}}
.step{position:relative;background:#fff;border:1px solid var(--border);border-radius:.85rem;padding:1.5rem}
.step__n{position:absolute;top:.5rem;right:1rem;font-family:'Poppins',sans-serif;font-weight:800;font-size:3rem;color:rgba(245,158,11,.18);line-height:1}
.step h3{font-size:1.05rem;margin-bottom:.4rem;position:relative}
.step p{font-size:.88rem;color:var(--text-soft);position:relative;margin:0}

/* ---------- Rebates ---------- */
.rebates-card{background:#fff;color:var(--ink);border-radius:1rem;padding:1.75rem;box-shadow:var(--shadow-lg)}
.rebates-card .tag{display:inline-block;background:var(--rebate);color:var(--rebate-fg);font-size:.7rem;font-weight:700;padding:.25rem .65rem;border-radius:.25rem;margin-bottom:.85rem}
.rebates-card h3{font-size:1.2rem;margin-bottom:.6rem}
.rebates-card p{font-size:.88rem;color:var(--text-soft);margin:0}
.rebates-promise{margin-top:2.5rem;background:var(--brand-dark);color:#fff;border-radius:1rem;padding:2rem;display:flex;flex-direction:column;align-items:flex-start;gap:1rem}
@media(min-width:1024px){.rebates-promise{flex-direction:row;align-items:center;justify-content:space-between;padding:2.5rem}}
.rebates-promise__icon{font-size:2.5rem;color:var(--brand)}

/* ---------- Pills (areas) ---------- */
.pill{display:inline-flex;align-items:center;gap:.4rem;background:var(--cream);border:1px solid var(--border);border-radius:9999px;padding:.5rem 1rem;font-size:.85rem;font-weight:500;color:var(--ink);margin:0 .35rem .5rem 0}
.pill::before{content:"📍";font-size:.85rem}

.map-frame{margin-top:1.75rem;border-radius:1rem;overflow:hidden;border:1px solid var(--border);aspect-ratio:16/7;background:var(--cream)}

/* ---------- Packages ---------- */
/* FIX 5: add overflow:visible so the scale(1.04) on popular card isn't clipped,
   and add vertical padding so the scaled card doesn't touch the grid edge */
.pkg-grid{display:grid;gap:1.5rem;grid-template-columns:1fr;margin-top:2rem;overflow-x:clip;padding:.25rem 0}
@media(min-width:768px){.pkg-grid{grid-template-columns:repeat(3,1fr);overflow:visible}}
.pkg{position:relative;background:#fff;border:1px solid var(--border);border-radius:1rem;padding:1.85rem}
.pkg--popular{background:var(--brand-dark);color:#fff;border:2px solid var(--brand);box-shadow:var(--shadow-lg)}
@media(min-width:1024px){.pkg--popular{transform:scale(1.04)}}
.pkg__tag{position:absolute;top:-.85rem;left:50%;transform:translateX(-50%);background:var(--brand);color:#0f172a;font-size:.7rem;font-weight:700;letter-spacing:.1em;padding:.25rem .75rem;border-radius:9999px;text-transform:uppercase}
.pkg__eyebrow{color:var(--brand);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.4rem}
.pkg__size{font-family:'Poppins',sans-serif;font-weight:800;font-size:1.75rem;margin-bottom:.75rem}
.pkg--popular .pkg__size{color:#fff}
.pkg__savings{display:inline-block;font-size:.85rem;font-weight:700;padding:.4rem .75rem;border-radius:.4rem;margin-bottom:1.4rem;background:rgba(22,163,74,.12);color:var(--rebate)}
.pkg--popular .pkg__savings{background:var(--rebate);color:#fff}
.pkg__feats{margin-bottom:1.5rem}
.pkg__feats li{display:flex;gap:.5rem;font-size:.88rem;margin-bottom:.5rem;color:var(--text-soft)}
.pkg--popular .pkg__feats li{color:rgba(255,255,255,.85)}
.pkg__feats li::before{content:"✓";color:var(--rebate);font-weight:bold}
.pkg--popular .pkg__feats li::before{color:var(--brand)}

/* ---------- Reviews ---------- */
.review-grid{display:grid;gap:1.25rem;grid-template-columns:1fr;margin-bottom:2rem}
@media(min-width:768px){.review-grid{grid-template-columns:repeat(3,1fr)}}
.review{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:1.75rem}
.review__stars{color:var(--brand);margin-bottom:.85rem;letter-spacing:.1em}
.review p{color:rgba(255,255,255,.85);font-size:.9rem;line-height:1.65;margin-bottom:1.1rem}
.review__name{font-weight:600}
.review__suburb{font-size:.78rem;color:rgba(255,255,255,.6);margin-top:.15rem}

/* ---------- FAQ accordion ---------- */
.faqs{max-width:48rem;margin:0 auto;display:flex;flex-direction:column;gap:.75rem}
.faq{background:#fff;border:1px solid var(--border);border-radius:.85rem;overflow:hidden}
.faq__btn{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:1.15rem 1.25rem;font-weight:600;color:var(--ink);font-size:.95rem;gap:1rem}
.faq__btn .icon{flex-shrink:0;color:var(--brand);font-size:1.25rem;font-weight:bold;transition:transform .2s}
.faq.open .faq__btn .icon{transform:rotate(45deg)}
.faq__body{display:none;padding:0 1.25rem 1.25rem;color:var(--text-soft);font-size:.9rem;line-height:1.65}
.faq.open .faq__body{display:block}

/* ---------- Bottom CTA ---------- */
.bottom-cta{padding:4rem 0;text-align:center}
.bottom-cta__chip{display:inline-flex;align-items:center;gap:.4rem;background:rgba(15,23,42,.25);border-radius:9999px;padding:.4rem 1rem;font-size:.85rem;font-weight:600;margin-bottom:1.25rem}
.bottom-cta h2{color:#fff;font-size:2rem;font-weight:800;margin-bottom:1rem}
@media(min-width:1024px){.bottom-cta h2{font-size:3rem}}
.bottom-cta__lead{color:rgba(255,255,255,.85);font-size:1.05rem;max-width:42rem;margin:0 auto 1.75rem}
.bottom-cta__actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-bottom:1.5rem}
.bottom-cta__trust{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.5rem;font-size:.88rem;color:rgba(255,255,255,.85)}
.bottom-cta__trust li{display:inline-flex;align-items:center;gap:.4rem}

/* ---------- Calculator ---------- */
.calc{background:#fff;border:1px solid var(--border);border-radius:1rem;padding:2rem;max-width:42rem;margin:0 auto;box-shadow:var(--shadow-md)}
.calc h2{font-size:1.65rem;margin-bottom:.5rem;text-align:center}
.calc__sub{text-align:center;color:var(--text-soft);margin-bottom:1.75rem}
.calc__row{margin-bottom:1.25rem}
.calc__row label{display:flex;justify-content:space-between;font-weight:600;margin-bottom:.5rem;font-size:.9rem}
.calc__row label .val{color:var(--brand)}
.calc__row input[type="range"]{width:100%;accent-color:var(--brand)}
/* FIX 4: calc results was fixed 3-col with no small-screen fallback — stacks
   to 1-col on very small phones, goes 3-col at 400px+ */
.calc__results{margin-top:1.75rem;padding:1.5rem;background:var(--cream);border-radius:.75rem;display:grid;grid-template-columns:1fr;gap:1rem;text-align:center}
@media(min-width:400px){.calc__results{grid-template-columns:repeat(3,1fr)}}
.calc__results .res{padding:.25rem}
.calc__results .res .v{font-family:'Poppins',sans-serif;font-weight:800;color:var(--brand);font-size:1.5rem;line-height:1.1}
.calc__results .res .l{font-size:.72rem;color:var(--text-soft);margin-top:.4rem}

/* ---------- Footer ---------- */
.site-footer{background:var(--brand-dark);color:rgba(255,255,255,.85)}
.site-footer__top{display:grid;gap:2.5rem;padding-block:3.5rem;grid-template-columns:1fr}
@media(min-width:768px){.site-footer__top{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.site-footer__top{grid-template-columns:repeat(4,1fr)}}
.site-footer h3{color:#fff;font-size:.82rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:1rem}
.site-footer ul li{margin-bottom:.55rem;font-size:.88rem}
.site-footer ul a:hover{color:var(--brand)}
.site-footer .areas-col ul{columns:2;column-gap:1rem}
.site-footer address{font-style:normal;font-size:.88rem;line-height:1.7}
.site-footer__cred{margin-top:1rem;font-size:.72rem;color:rgba(255,255,255,.6);line-height:1.6}
.site-footer__copy{border-top:1px solid rgba(255,255,255,.1)}
.site-footer__copy .container{padding-top:1.15rem;padding-bottom:1.15rem;text-align:center;font-size:.75rem;color:rgba(255,255,255,.6)}
.site-footer__promise{border-top:1px solid rgba(255,255,255,.1)}
.site-footer__promise .container{padding-top:1.75rem;padding-bottom:1.75rem;font-size:.75rem;color:rgba(255,255,255,.7);line-height:1.65}
.site-footer__promise p{margin-bottom:1rem}
.site-footer__promise strong{color:#fff}

/* ---------- Mobile call bar ---------- */
.mobile-callbar{position:fixed;bottom:0;left:0;right:0;width:100%;max-width:100%;background:var(--brand);color:#0f172a;padding:.85rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-weight:700;box-shadow:0 -4px 12px rgba(0,0,0,.15);z-index:40}
.mobile-callbar a{display:inline-flex;align-items:center;gap:.4rem}
@media(min-width:1024px){.mobile-callbar{display:none}}
/* body padding moved to .ss-site (WordPress compat section below) */

/* ---------- Page hero (interior pages) ---------- */
.page-hero{background:var(--brand-dark);color:#fff;padding:4rem 0 3rem;border-bottom:4px solid var(--brand)}
.page-hero h1{color:#fff;font-size:2.25rem;font-weight:800;margin-bottom:.75rem}
@media(min-width:1024px){.page-hero h1{font-size:3rem}}
.page-hero p{color:rgba(255,255,255,.8);max-width:42rem;font-size:1.05rem;margin:0}
.breadcrumb{font-size:.78rem;color:rgba(255,255,255,.6);margin-bottom:1rem}
.breadcrumb a{color:var(--brand)}
.breadcrumb a:hover{text-decoration:underline}

/* ---------- Utility ---------- */
.mt-0{margin-top:0}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-2{margin-bottom:1rem}
.muted{color:var(--text-soft)}
.text-white{color:#fff}
.grid-2{display:grid;gap:2.5rem}
@media(min-width:1024px){.grid-2{grid-template-columns:1fr 1fr;align-items:center}}

/* Blog */
.blog-grid{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media(min-width:768px){.blog-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.blog-grid{grid-template-columns:repeat(3,1fr)}}
.blog-card{background:#fff;border:1px solid var(--border);border-radius:.85rem;overflow:hidden;display:flex;flex-direction:column}
.blog-card img{aspect-ratio:16/10;object-fit:cover}
.blog-card__body{padding:1.25rem;display:flex;flex-direction:column;flex:1}
.blog-card h3{font-size:1.05rem;margin-bottom:.5rem}
.blog-card p{font-size:.88rem;color:var(--text-soft);flex:1}
.blog-card__meta{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:var(--brand);font-weight:700;margin-bottom:.5rem}

/* ========================================================================
   WordPress theme compatibility
   Scoped under .ss-site so styles don't bleed into wp-admin or plugins.
   ======================================================================== */

/* Site shell — mirrors #page.site wrapper in WP themes */
.ss-site #page.site{min-height:100vh;display:flex;flex-direction:column;width:100%;max-width:100%;overflow-x:clip}
.ss-site .site-main{flex:1;width:100%;max-width:100%;overflow-x:clip}
.ss-site .site-footer{width:100%;max-width:100%;overflow-x:clip}

/* Admin bar offset for fixed mobile call bar + sticky header */
.admin-bar .ss-site .site-header{top:32px}
@media screen and (max-width:782px){
  .admin-bar .ss-site .site-header{top:46px}
}
.admin-bar .ss-site{padding-top:0}

/* Gutenberg / classic editor content inside theme templates */
.ss-site .entry-content,
.ss-site .wp-block-post-content{
  color:var(--text);
  line-height:1.65;
}
.ss-site .entry-content > *:last-child,
.ss-site .wp-block-post-content > *:last-child{margin-bottom:0}
.ss-site .entry-content h2,
.ss-site .entry-content h3,
.ss-site .wp-block-post-content h2,
.ss-site .wp-block-post-content h3{margin-top:1.75em}
.ss-site .entry-content h2:first-child,
.ss-site .entry-content h3:first-child{margin-top:0}
.ss-site .entry-content ul:not(.checklist):not(.hero__trust),
.ss-site .entry-content ol,
.ss-site .wp-block-post-content ul:not(.checklist),
.ss-site .wp-block-post-content ol{
  list-style:disc;
  margin:0 0 1em 1.25em;
  padding-left:1rem;
}
.ss-site .entry-content ol,
.ss-site .wp-block-post-content ol{list-style:decimal}
.ss-site .entry-content li,
.ss-site .wp-block-post-content li{margin-bottom:.35em}
.ss-site .entry-content a:not(.btn):not(.service-card),
.ss-site .wp-block-post-content a:not(.btn):not(.service-card){
  color:var(--brand);
  text-decoration:underline;
  text-underline-offset:2px;
}
.ss-site .entry-content a:not(.btn):not(.service-card):hover,
.ss-site .wp-block-post-content a:not(.btn):not(.service-card):hover{color:#e89008}
.ss-site .entry-content img,
.ss-site .wp-block-post-content img,
.ss-site .wp-block-image img{border-radius:var(--radius)}
.ss-site .alignwide{max-width:min(100%,calc(var(--maxw) + 4rem));margin-left:auto;margin-right:auto}
.ss-site .alignfull{width:100%;max-width:100%;margin-left:0;margin-right:0}
/* SSC block sections — full-bleed, no WP layout constraint gap */
.ss-site .site-main > section,
.ss-site .site-main > .section{width:100%;max-width:100%}
.ss-site .site-main :where(.is-layout-constrained) > *{max-width:none;margin-left:0;margin-right:0}
.ss-site .site-main :where(.is-layout-flow) > *{max-width:100%}
.ss-site .wp-block-quote,
.ss-site blockquote{
  border-left:4px solid var(--brand);
  margin:1.5em 0;
  padding:.5em 0 .5em 1.25em;
  color:var(--text-soft);
  font-style:italic;
}
.ss-site .wp-block-separator,
.ss-site .entry-content hr{border:0;border-top:1px solid var(--border);margin:2rem 0}

/* Contact Form 7 / WPForms — inherit .lead-form look */
.ss-site .wpcf7 form,
.ss-site .wpforms-form{font:inherit}
.ss-site .wpcf7 .form-row,
.ss-site .wpforms-field{margin-bottom:1rem}
.ss-site .wpcf7 input[type="text"],
.ss-site .wpcf7 input[type="email"],
.ss-site .wpcf7 input[type="tel"],
.ss-site .wpcf7 select,
.ss-site .wpcf7 textarea,
.ss-site .wpforms-form input,
.ss-site .wpforms-form select,
.ss-site .wpforms-form textarea{
  width:100%;
  padding:.75rem 1rem;
  border:1px solid var(--border);
  border-radius:.5rem;
  font:inherit;
  background:#fff;
}
.ss-site .wpcf7 input:focus,
.ss-site .wpcf7 select:focus,
.ss-site .wpcf7 textarea:focus,
.ss-site .wpforms-form input:focus,
.ss-site .wpforms-form select:focus,
.ss-site .wpforms-form textarea:focus{
  outline:2px solid var(--brand);
  outline-offset:1px;
}
.ss-site .wpcf7-not-valid-tip{font-size:.8rem;color:#dc2626;margin-top:.25rem}
.ss-site .wpcf7-response-output{
  margin:1rem 0 0;
  padding:.75rem 1rem;
  border-radius:.5rem;
  font-size:.88rem;
}

/* Scoped body padding (mobile call bar) — only inside theme shell */
.ss-site{padding-bottom:64px}
@media(min-width:1024px){.ss-site{padding-bottom:0}}
body:not(.ss-site){padding-bottom:0}
