﻿/* =============================================================================
   EnergyServ – site.css (overrides)
   New format: simple, lint-friendly, easy to customize.
   ---------------------------------------------------------------------------
   EDIT HERE:
   - Colors:      change --brand-navy below.
   - Header drop: tweak --header-shadow.
   - Hero default: set --hero-default (sitewide fallback image).
   - Hero height:  set --hero-height (sitewide banner height).
   - Per-page hero images: change the URLs in the .sub-banner.{page} rules.
   ============================================================================= */

/* ===== Theme variables ==================================================== */
:root {
    --brand-navy: #1A2B47; /* header/nav solid color */
    --brand-black: #000; /* header/nav solid color */
    --header-shadow: 0 6px 16px rgba(0,0,0,.12); /* shadow when sticky   */

    --hero-default: url("/assets/hero/hero-default.png"); /* fallback banner image */
    --hero-height: 60vh; /* subpage banner height */
}

/* ===== Header (transparent at top, solid on scroll) ====================== */
/* Transparent by default so the hero shows beneath it */
header.page-header,
header#site-header,
header#mainHeader,
header#mainheader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color .25s ease, box-shadow .25s ease;
}

    /* Solid after scroll – your JS adds class "sticky" */
    header.page-header.sticky,
    header#site-header.sticky,
    header#mainHeader.sticky,
    header#mainheader.sticky,
    header.page-header.header-solid, /* compatibility alias if ever used */
    header#mainHeader.header-solid,
    header#mainheader.header-solid {
        background-color: var(--brand-black) !important;
        box-shadow: var(--header-shadow);
    }

/* Inner bars should not repaint their own bg when sticky */
.page-header.sticky .top-bar,
.page-header.sticky .title-bar,
.page-header.sticky .top {
    background: transparent !important;
}

/* Anchor targets land below the fixed header */
[id] {
    scroll-margin-top: 96px;
}

/* ===== Subpage hero (tall banner under header) =========================== */
/* Base: longhand props + !important so we beat any theme "background:" */
.sub-banner {
    /* Sitewide default image; overridden per-page below */
    --hero: var(--hero-default);
    background-image: var(--hero) !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    /* Fallback color in case an image is missing */
    background-color: var(--brand-black);
    position: relative;
    min-height: var(--hero-height); /* EDIT height sitewide here */
    display: grid;
    align-items: end; /* title near bottom of photo */
    padding: clamp(16px, 2vw, 24px) 16px;
}

    /* Readability overlay */
    .sub-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,.22), rgba(0,0,0,.55));
        pointer-events: none;
    }

    /* Keep content above overlay */
    .sub-banner > .row {
        position: relative;
        z-index: 1;
    }

/* Title style */
#sub-banner-container {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    font-weight: 800;
    font-size: clamp(1.9rem, 4.8vw, 3.2rem);
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
    margin: 0;
}

/* Space below the banner before main content */
.content.sub-page {
    margin-top: 1.25rem;
}

/* ===== Per-page hero images (EDIT URLS ONLY) ============================= */
/* Place images in /wwwroot/assets/hero/ — if a file is missing, the page
   gracefully falls back to --hero-default set above. */
.sub-banner.solar {
    --hero: url("/assets/hero/hero-solarv3-4.jpg");
}

.sub-banner.led {
    --hero: url("/assets/hero/hero-led.jpg");
}

.sub-banner.led-controls {
    --hero: url("/assets/hero/hero-controls.jpg");
}

.sub-banner.testimonials {
    --hero: url("/assets/hero/hero-testimonials.jpg");
}

.sub-banner.contact {
    --hero: url("/assets/hero/hero-contact.jpg");
}

/* ===== Optional tweaks ==================================================== */
/* Make just one page taller/shorter without touching CSS:
   <section class="sub-banner solar" style="--hero-height:70vh">…</section> */

/* Sub-banner title + subtitle */
#sub-banner-container h1 {
    margin: 0;
    font-weight: 800;
    font-size: clamp(1.9rem, 4.8vw, 3.2rem);
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

#sub-banner-container .sub-banner-subtitle {
    margin: .4rem 0 0;
    font-weight: 600;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    opacity: .95;
}
/* ===== Opt-in tools for subpage banners (safe to add now) ===== */

/* Make the overlay tunable without changing defaults */
.sub-banner {
    --overlay-top: .22;
    --overlay-bottom: .55;
}

    .sub-banner::before {
        background: linear-gradient( to bottom, rgba(0,0,0,var(--overlay-top)), rgba(0,0,0,var(--overlay-bottom)) );
    }

    /* Stronger overlay (use on busy images): <section class="sub-banner overlay-strong"> */
    .sub-banner.overlay-strong {
        --overlay-top: .45;
        --overlay-bottom: .75;
    }

    /* Max overlay (rarely needed): <section class="sub-banner overlay-max"> */
    .sub-banner.overlay-max {
        --overlay-top: .60;
        --overlay-bottom: .85;
    }

    /* Nudge the crop upward: <section class="sub-banner pos-top-30"> */
    .sub-banner.pos-top-30 {
        background-position: center 30% !important;
    }

    /* Taller banner: <section class="sub-banner h70"> */
    .sub-banner.h70 {
        min-height: 70vh !important;
    }
    /* Narrow banner: <section class="sub-banner h70"> */
    .sub-banner.h20 {
        min-height: 20vh !important;
    }
    /* Narrow banner: <section class="sub-banner h70"> */
    .sub-banner.h30 {
        min-height: 30vh !important;
    }

    .sub-banner.h35 {
        min-height: 35vh !important;
    }

    .sub-banner.h40 {
        min-height: 40vh !important;
    }

/* Optional pill behind the H1 for contrast:
   <h1><span class="title-chip">Readable Title</span></h1> */
#sub-banner-container .title-chip {
    display: inline-block;
    padding: .35rem .75rem;
    background: rgba(0,0,0,.35);
    backdrop-filter: saturate(120%) blur(2px);
    border-radius: .5rem;
}
/* Mobile menu panel: make it dark, not green */
@media (max-width: 1024px) {
    /* the dropdown container under the green bar */
    header.page-header nav {
        background: rgba(60,60,60,.95); /* dark grey panel */
        backdrop-filter: saturate(110%) blur(2px); /* subtle polish */
    }

    /* the list itself + links */
    header.page-header .menu.menu-top {
        background: transparent; /* panel handles bg */
    }

        header.page-header .menu.menu-top > li {
            border-bottom: 1px solid rgba(255,255,255,.08);
        }

            header.page-header .menu.menu-top > li:last-child {
                border-bottom: 0;
            }

            header.page-header .menu.menu-top > li > a {
                color: #fff;
                display: block;
                padding: 14px 16px; /* bigger touch target */
            }
}
/* Make sure the list actually hides/shows on mobile */
@media (max-width: 1024px) {
    header.page-header .menu.menu-top {
        display: none; /* add this */
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
    }

        header.page-header .menu.menu-top.open {
            display: block; /* add this */
            max-height: 80vh;
        }
}

/* Mobile dropdown: hide by default, show when container or UL has .open */
@media (max-width: 1024px) {
    /* hide (works whether the ID is on a div or the ul itself) */
    header.page-header #main-menu .menu,
    header.page-header .menu.menu-top {
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
    }

        /* show when open (container controls its child UL; or UL controls itself) */
        header.page-header #main-menu.open .menu,
        header.page-header .menu.menu-top.open {
            display: block;
            max-height: 80vh;
        }

    /* panel styling so it isn't green like the bar */
    header.page-header nav {
        background: rgba(60,60,60,.95);
        backdrop-filter: saturate(110%) blur(2px);
    }

    header.page-header .menu.menu-top > li {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

        header.page-header .menu.menu-top > li:last-child {
            border-bottom: 0;
        }

        header.page-header .menu.menu-top > li > a {
            color: #fff;
            display: block;
            padding: 14px 16px;
        }
}
/* Home hero override — keep the image across mobile breakpoints */
/*@media (max-width: 640px) {*/
    /* If your Home hero wrapper has .banner.full-width-banner */
    /*.banner.full-width-banner {
        background-image: url("/assets/hero/commercial-hero.png") !important;*/ /* or your new path */
        /*background-position: center 30% !important;*/ /* tweak as needed */
        /*background-size: cover !important;
        background-repeat: no-repeat !important;
        min-height: 60vh;*/ /* make sure it's tall enough */
    /*}
}*/
/*New Hero image overhaul **/
/* mobile first */
.banner.full-width-banner {
    background-image: url("/assets/hero/commercial-hero-960.webp");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    min-height: 60vh;
}

/* fallback if browser doesn't support WebP (rare now) */
@supports not (background-image: url("x.webp")) {
    .banner.full-width-banner {
        background-image: url("/assets/hero/commercial-hero.png");
    }
}

/* desktop swap */
@media (min-width: 900px) {
    .banner.full-width-banner {
        background-image: url("/assets/hero/commercial-hero-1920.webp");
    }

    @supports not (background-image: url("x.webp")) {
        .banner.full-width-banner {
            background-image: url("/assets/hero/commercial-hero.png");
        }
    }
}




/* Mobile menu panel: dark overlay + reliable open/close */
@media (max-width: 1024px) {
    header.page-header nav {
        background: rgba(60,60,60,.95);
        backdrop-filter: saturate(110%) blur(2px);
    }

    /* hide list by default; show when .open is present */
    header.page-header .menu.menu-top {
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        background: transparent;
    }

        header.page-header .menu.menu-top.open {
            display: block;
            max-height: 80vh;
        }

        /* link styling */
        header.page-header .menu.menu-top > li {
            border-bottom: 1px solid rgba(255,255,255,.08);
        }

            header.page-header .menu.menu-top > li:last-child {
                border-bottom: 0;
            }

            header.page-header .menu.menu-top > li > a {
                color: #fff;
                display: block;
                padding: 14px 16px;
            }
}


/* Mobile dropdown panel: dark overlay + reliable show/hide */
@media (max-width: 1024px) {

    /* The panel area under the green title bar */
    header.page-header .top-bar > nav {
        background: rgba(40,40,40,.96) !important; /* <- the dark panel */
        backdrop-filter: saturate(110%) blur(2px);
    }

    /* Hide the list by default; show when the UL has .open (Blazor toggles it) */
    header.page-header .menu.menu-top {
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        background: transparent !important; /* don't repaint green */
    }

        header.page-header .menu.menu-top.open {
            display: block;
            max-height: 80vh;
        }

        /* Link styling + subtle dividers */
        header.page-header .menu.menu-top > li {
            border-bottom: 1px solid rgba(255,255,255,.08);
        }

            header.page-header .menu.menu-top > li:last-child {
                border-bottom: 0;
            }

            header.page-header .menu.menu-top > li > a {
                color: #fff;
                display: block;
                padding: 14px 16px;
            }
}
/* FINAL: Mobile dropdown panel (dark), overrides theme */
@media (max-width: 1024px) {
    /* The sliding panel under the green bar (cover common markup variants) */
    header.page-header nav,
    header.page-header .top-bar > nav,
    header.page-header nav.row,
    header.page-header nav.row.collapse {
        background: rgba(40,40,40,.96) !important;
        backdrop-filter: saturate(110%) blur(2px);
    }

    /* Hide by default; show when the UL has .open */
    header.page-header .menu.menu-top {
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        background: transparent !important; /* list stays transparent */
    }

        header.page-header .menu.menu-top.open {
            display: block;
            max-height: 80vh;
        }

        /* Clean link/divider styling */
        header.page-header .menu.menu-top > li {
            border-bottom: 1px solid rgba(255,255,255,.08);
        }

            header.page-header .menu.menu-top > li:last-child {
                border-bottom: 0;
            }

            header.page-header .menu.menu-top > li > a {
                color: #fff;
                display: block;
                padding: 14px 16px;
            }
}
/* Mobile dropdown: make the panel dark, not green */
@media (max-width: 1024px) {
    /* kill any green on the container nav itself */
    header.page-header nav.row.collapse {
        background: transparent !important;
    }

    /* color the opened panel container (this matches your DOM: #main-menu.open) */
    header.page-header #main-menu.open {
        position: relative; /* so the background fills the area */
        background: rgba(40,40,40,.96) !important;
    }

        /* the UL stays transparent; we just style links/dividers */
        header.page-header #main-menu.open .menu.menu-top {
            background: transparent !important;
        }

            header.page-header #main-menu.open .menu.menu-top > li {
                border-bottom: 1px solid rgba(255,255,255,.08);
            }

                header.page-header #main-menu.open .menu.menu-top > li:last-child {
                    border-bottom: 0;
                }

                header.page-header #main-menu.open .menu.menu-top > li > a {
                    color: #fff;
                    display: block;
                    padding: 14px 16px;
                }
}
/* Mobile dropdown: dark panel, no green bleed */
@media (max-width: 1024px) {

    /* 1) The container panel under the title bar */
    header.page-header .top-bar > nav.row.collapse {
        background: rgba(40,40,40,.96) !important; /* the dark panel */
        backdrop-filter: saturate(110%) blur(2px);
    }

    /* 2) Ensure the opened container doesn't repaint green */
    header.page-header #main-menu.open {
        background: transparent !important;
    }

    /* 3) Hide/show the UL (Blazor adds .open) */
    header.page-header #main-menu .menu.menu-top {
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        background: transparent !important; /* list stays transparent */
    }

        header.page-header #main-menu .menu.menu-top.open {
            display: block;
            max-height: 80vh;
        }

        /* 4) Neutralize any green backgrounds on items/links (theme override) */
        header.page-header #main-menu .menu.menu-top > li {
            background: transparent !important;
            border-bottom: 1px solid rgba(255,255,255,.08);
        }

            header.page-header #main-menu .menu.menu-top > li:last-child {
                border-bottom: 0;
            }

            header.page-header #main-menu .menu.menu-top > li > a {
                background: transparent !important;
                color: #fff !important;
                display: block;
                padding: 14px 16px;
            }

    /* 5) If the icon wrapper had a tinted bg, clear it too */
    header.page-header #main-menu .nav-icon-wrapper {
        background: transparent !important;
    }
}

/* Mobile menu: active item highlight (no panel tint) nice option! */
/*:root {
    --nav-accent: #89BE43;
}*/
/* adjust to your brand green */

/*@media (max-width: 1024px) {
    header.page-header #main-menu .menu.menu-top > li > a {
        position: relative;*/ /* for the accent bar */
/*}

        header.page-header #main-menu .menu.menu-top > li > a.active::before,
        header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"]::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: var(--nav-accent);
        }
}*/

/* Mobile menu: active item highlight (filled background) misc color */
/*:root {
    --nav-accent: #89BE43;
}*/
/* adjust to your brand green */

/*@media (max-width: 1024px) {
    header.page-header #main-menu .menu.menu-top > li > a.active,
    header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"] {
        background: rgba(137,190,67,0.18) !important;
        color: #fff;
    }
}*/

/* Option B with solid accent fill - nav menu color */
/*:root {
    --nav-accent: #89BE43;
}*/
/* change this anytime */

/*@media (max-width: 1024px) {
    header.page-header #main-menu .menu.menu-top > li > a.active,
    header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"] {
        background: var(--nav-accent) !important;*/ /* ← was rgba(...) */
/*color: #fff;
    }
}*/




/* Mobile menu: active item highlight (filled background with light gray) */
/*:root {
    --nav-active-bg: rgba(255,255,255,0.12);
}*/
/* ~12% white */

/*@media (max-width: 1024px) {
    header.page-header #main-menu .menu.menu-top > li > a.active,
    header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"] {
        background: var(--nav-active-bg) !important;
        color: #fff;
    }
}*/

/* Mobile menu: active item = green bar + soft gray fill - best option - highlight and active bckgrn changed! */
/*:root {
    --nav-accent: #89BE43;*/ /* kelly green bar */
/*--nav-active-bg: rgba(255,255,255,.12);*/ /* light gray-ish fill on dark panel */
/*}

@media (max-width: 1024px) {*/
/* anchors need positioning for the accent bar */
/*header.page-header #main-menu .menu.menu-top > li > a {
        position: relative;
    }*/

/* left accent bar (kelly green) */
/*header.page-header #main-menu .menu.menu-top > li > a.active::before,
        header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"]::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: var(--nav-accent);
        }*/

/* subtle fill behind the active item (light gray) */
/*header.page-header #main-menu .menu.menu-top > li > a.active,
        header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"] {
            background: var(--nav-active-bg) !important;
            color: #fff;
        }*/

/* optional: a touch more contrast on hover/focus */
/*header.page-header #main-menu .menu.menu-top > li > a:focus-visible {
            outline: 2px solid var(--nav-accent);
            outline-offset: 2px;
        }
}*/

/* Mobile menu: active item = green bars on both sides + soft gray fill */
:root {
    --nav-accent: #00aeef; /* highlight side-bar color */
    --nav-accent-bar: 3px; /* bar width */
    --nav-active-bg: rgba(255,255,255,.12); /* subtle fill */
}

@media (max-width: 1024px) {
    header.page-header #main-menu .menu.menu-top > li > a {
        position: relative; /* anchor hosts the bars */
    }

        /* common bar styles for both ::before and ::after */
        header.page-header #main-menu .menu.menu-top > li > a.active::before,
        header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"]::before,
        header.page-header #main-menu .menu.menu-top > li > a.active::after,
        header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"]::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            width: var(--nav-accent-bar);
            background: var(--nav-accent);
        }

        /* left bar */
        header.page-header #main-menu .menu.menu-top > li > a.active::before,
        header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"]::before {
            left: 0;
        }

        /* right bar */
        header.page-header #main-menu .menu.menu-top > li > a.active::after,
        header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"]::after {
            right: 0;
        }

        /* soft fill behind the active item */
        header.page-header #main-menu .menu.menu-top > li > a.active,
        header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"] {
            background: var(--nav-active-bg) !important;
            /*color: #fff;*/
            color: var(--nav-accent) !important;
        }
}


/* Mobile menu: active item uses accent color for text too */
/*@media (max-width: 1024px) {
    header.page-header #main-menu .menu.menu-top > li > a.active,
    header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"] {*/
/* keep your soft gray fill if you're using it */
/*background: var(--nav-active-bg) !important;*/
/* match text to the accent bar color */
/*color: var(--nav-accent) !important;
        font-weight: 700;*/ /* optional: pop a bit more */
/*}*/

/* ensure the bars stay the same on both sides (if you're using them) */
/*header.page-header #main-menu .menu.menu-top > li > a.active::before,
        header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"]::before,
        header.page-header #main-menu .menu.menu-top > li > a.active::after,
        header.page-header #main-menu .menu.menu-top > li > a[aria-current="page"]::after {
            background: var(--nav-accent);
        }
}*/

.banner-shape {
    /*text on homepage "We Help You"*/
    color: #fff;
}

/*#main-menu {
    color: #fff !important;
    
}*/


.nav-icon-wrapper {
    /* text and real icons on header*/
    color: #fff !important;
}
/*.nav-icon::before {
    color: #fff !important;
}*/
/* make header nav PNG icons white without replacing files */
header.page-header .nav-icon::before {
    filter: brightness(0) invert(1); /* black → white */
    opacity: .95; /* optional */
}
/* Keep the menu strip (icon row) brand-blue even when the header turns sticky */
:root {
    --menu-strip-bg: #00AEEF;
}

your blue

header.page-header .top-bar {
    background: var(--menu-strip-bg) !important;
}

/* Mobile-specific: don't let sticky change the strip; keep the small title bar transparent*/
@media (max-width:1023.98px) {
    header.page-header.sticky .top-bar {
        background: var(--menu-strip-bg) !important;
    }

    header.page-header .title-bar,
    header.page-header.sticky .title-bar {
        background: transparent !important; /* so the hero shows through on mobile */
    }
}

/* Subpage hero uses --hero by default; swap to --hero-mobile on phones if provided */
@media (max-width: 640px) {
    .sub-banner {
        background-image: var(--hero-mobile, var(--hero)) !important; /* fallback to desktop image if no mobile variant */
        background-position: center 30% !important; /* nicer crop on phones */
        min-height: 30vh !important; /* adjust to taste */
    }
}
/* Contact form niceties */
.contact-form-wrapper .columns {
    margin-bottom: .75rem;
}

.contact-form-wrapper .validation-message,
.validation-message {
    color: #c0392b;
    font-size: .9rem;
    margin-top: .25rem;
}

.callout.success {
    border-left: 4px solid #2ecc71;
}
/* Contact page layout */
.contact-section {
    max-width: 960px; /* keeps the whole block centered on wide screens */
    margin: 0 auto;
    padding: 0 1rem; /* some side breathing room on mobile */
}

/* Heading + subhead */
.contact-hero {
    text-align: center;
    margin: 0 auto 1rem;
}

.contact-title {
    display: inline-block; /* lets the h2's background hug the text */
    margin: 0 0 .6rem;
    padding: .35rem .9rem;
    /* If your global h2 already has bg/white text, this inherits it.
     If you need to force it, uncomment:
  background: #1A2B47;
  color: #fff;
  border-radius: .25rem;
  */
}

.contact-subhead {
    margin: 0 auto 1rem;
    max-width: 56ch; /* keeps line length readable */
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.5;
    font-style: italic; /* mirrors your <i> but via CSS */
    color: #374151; /* tweak if you need lighter/darker */
    opacity: .95;
}

/* Form box centered & uniform width */
.contact-form-container {
    max-width: 680px; /* feels balanced on desktop and mobile */
    margin: 0 auto;
}

    /* Optional: tighten Foundation grid spacing just for this block */
    .contact-form-container .row {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-form-container .columns {
        padding-left: 0;
        padding-right: 0;
    }

/* Mobile tune-ups */
@media (max-width: 640px) {
    .contact-title {
        padding: .3rem .7rem;
    }

    .contact-subhead {
        margin-bottom: .9rem;
    }
}
/* Contact page layout */
.contact-section {
    max-width: 960px; /* keeps the whole block centered on wide screens */
    margin: 0 auto;
    padding: 0 1rem; /* some side breathing room on mobile */
}

/* Heading + subhead */
.contact-hero {
    text-align: center;
    margin: 0 auto 1rem;
}

.contact-title {
    display: inline-block; /* lets the h2's background hug the text */
    margin: 0 0 .6rem;
    padding: .35rem .9rem;
    /* If your global h2 already has bg/white text, this inherits it.
     If you need to force it, uncomment:
  background: #1A2B47;
  color: #fff;
  border-radius: .25rem;
  */
}

.contact-subhead {
    margin: 0 auto 1rem;
    max-width: 56ch; /* keeps line length readable */
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.5;
    font-style: italic; /* mirrors your <i> but via CSS */
    color: #374151; /* tweak if you need lighter/darker */
    opacity: .95;
}

/* Form box centered & uniform width */
.contact-form-container {
    max-width: 680px; /* feels balanced on desktop and mobile */
    margin: 0 auto;
}

    /* Optional: tighten Foundation grid spacing just for this block */
    .contact-form-container .row {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-form-container .columns {
        padding-left: 0;
        padding-right: 0;
    }

/* Mobile tune-ups */
@media (max-width: 640px) {
    .contact-title {
        padding: .3rem .7rem;
    }

    .contact-subhead {
        margin-bottom: .9rem;
    }
}
/* Keep heading, subhead, and form the same width & centered */
.contact-wrap {
    max-width: 680px; /* uniform width on desktop; tweak if you want tighter/wider */
    margin: 0 auto; /* center */
    padding: 0 1rem; /* breathable edges on mobile */
    text-align: center; /* center the heading & subhead */
}

/* Heading/subhead */
.contact-title {
    display: block; /* make it a block so width = .contact-wrap */
    margin: 0 0 .6rem;
    padding: .35rem .9rem; /* keep your existing h2 background/white text */
}

.contact-subhead {
    margin: 0 0 1rem;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    line-height: 1.5;
    opacity: .95;
}

/* Form: same width as heading container; labels on top; full-width inputs */
.contact-form {
    margin: 0 auto;
    text-align: left; /* left-align the fields while the overall block is centered */
    border: 0;
    box-shadow: none;
    padding: 0;
}

    .contact-form .row {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-form .columns {
        padding-left: 0;
        padding-right: 0;
    }

    .contact-form label {
        display: block;
        font-weight: 600;
        margin: 0 0 .25rem;
    }

    .contact-form .input-text,
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        display: block;
        width: 100%; /* every field on its own line, equal width */
    }

    .contact-form textarea {
        min-height: 7.5rem;
        resize: vertical;
    }

    /* If a theme class like .h3-box adds a border, neutralize it */
    .contact-form.h3-box {
        border: 0 !important;
        box-shadow: none !important;
    }
    /* --- Contact form input normalization --- */
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea,
    .contact-form .input-text {
        display: block;
        width: 100%;
        box-sizing: border-box;
        /* make all fields look consistent */
        font-size: 1rem;
        line-height: 1.25;
        padding: 0.65rem 0.75rem; /* base height for text inputs */
        border: 1px solid #cfd4da;
        border-radius: 8px; /* slight rounding on all fields */
        background: #fff;
        -webkit-appearance: none; /* neutralize UA quirks */
        appearance: none;
    }

    /* Slightly reduce email input height (it tends to render taller) */
    .contact-form input[type="email"] {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

    /* Textarea: same width, comfortable height, keep rounding */
    .contact-form textarea {
        min-height: 8.5rem;
        resize: vertical;
    }

    /* Consistent spacing between rows */
    .contact-form .row {
        margin-bottom: 0.85rem;
    }

    /* Optional: nicer focus (accessible) */
    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: #178795; /* your teal accent */
        box-shadow: 0 0 0 3px rgba(23,135,149,.12);
    }
    /* Normalize contact inputs to the same height as Email */
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form .input-text {
        padding-top: .55rem !important;
        padding-bottom: .55rem !important;
        border-radius: 8px; /* keep the rounding */
    }

    .contact-form textarea {
        border-radius: 8px;
    }
    /* Center the submit button without affecting field alignment */
    .contact-form .actions {
        text-align: center;
        margin-top: .75rem;
    }

        .contact-form .actions .button {
            display: inline-block;
        }
/* === Contact form: make all inputs same height as Email === */
.contact-form {
    --cf-h: 2rem; /* control height (tweak if you want slightly taller/shorter) */
    --cf-pad-x: .75rem; /* horizontal padding */
    --cf-radius: 8px;
}

    /* Kill theme defaults and unify height */
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form input[type="url"],
    .contact-form input[type="password"],
    .contact-form .input-text {
        -webkit-appearance: none;
        appearance: none;
        box-sizing: border-box;
        width: 100%;
        height: var(--cf-h) !important;
        line-height: calc(var(--cf-h) - 2px) !important; /* vertical centering across engines */
        padding: 0 var(--cf-pad-x) !important;
        border: 1px solid #cfd4da !important;
        border-radius: var(--cf-radius) !important;
        background: #fff;
        font-size: 1rem;
    }

    /* Textarea: same width, its own comfortable height */
    .contact-form textarea {
        -webkit-appearance: none;
        appearance: none;
        box-sizing: border-box;
        width: 100%;
        min-height: 8.5rem;
        padding: .6rem var(--cf-pad-x);
        border: 1px solid #cfd4da;
        border-radius: var(--cf-radius);
        font-size: 1rem;
        resize: vertical;
    }

    /* Center the submit button */
    .contact-form .actions {
        text-align: center;
        margin-top: .75rem;
    }

        .contact-form .actions .button {
            display: inline-block;
        }
/* base header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color .2s ease, box-shadow .2s ease;
    background: transparent;
}

    .site-header.scrolled {
        background: rgba(255,255,255,.95);
        box-shadow: 0 2px 8px rgba(0,0,0,.08);
    }
/* ===== Lumex section theming (non-breaking, prefixed) ===================== */
/* Use new variable names so we don't touch existing ones */
:root {
    --lx-c-white: #fff;
    --lx-c-black: #231f20;
    --lx-c-blue: #00aeef;
    --lx-c-tan: #f4f0e6;
    --lx-c-gray: #f3f4f6;
    --lx-c-go: #22C55E;
    /* context defaults */
    --lx-surface: var(--lx-c-white);
    --lx-text: var(--lx-c-black);
    --lx-link: var(--lx-c-blue);
    --lx-btn-bg: var(--lx-c-go);
    --lx-btn-fg: #fff;
}

/* Section wrappers (prefix to avoid collisions) */
.lx-section {
    padding: 4rem 2rem;
    background: var(--lx-surface);
    color: var(--lx-text);
}

    .lx-section a {
        color: var(--lx-link);
        text-underline-offset: .15em;
    }

.lx-light {
    --lx-surface: var(--lx-c-white);
    --lx-text: var(--lx-c-black);
    --lx-link: var(--lx-c-blue);
}

.lx-dark {
    --lx-surface: var(--lx-c-black);
    --lx-text: var(--lx-c-white);
    --lx-link: var(--lx-c-white);
}

.lx-tan {
    --lx-surface: var(--lx-c-tan);
    --lx-text: var(--lx-c-black);
    --lx-link: var(--lx-c-blue);
}

.lx-blue {
    --lx-surface: var(--lx-c-blue);
    --lx-text: var(--lx-c-white);
    --lx-link: var(--lx-c-white);
}

/* Buttons that adapt to the current section */
.lx-btn {
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    background: var(--lx-btn-bg);
    color: var(--lx-btn-fg);
    transition: .2s ease;
}

/* Checklist bullets + highlight boxes (from your style guide) */
.lx-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .lx-checklist li {
        margin: .4rem 0;
    }

        .lx-checklist li::before {
            content: "✔";
            color: var(--lx-link);
            font-weight: 700;
            margin-right: .5rem;
        }

.lx-highlight {
    background: var(--lx-c-gray);
    padding: 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    margin: 1rem 0;
}

.lx-tan .lx-highlight {
    background: #fff;
}

.lx-dark .lx-highlight, .lx-blue .lx-highlight {
    background: rgba(255,255,255,.12);
    color: #fff;
}

.lx-bignum {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: clamp(1.6rem,3.2vw,2.2rem);
    font-weight: 700;
}

/* === Section wrappers (append at bottom of site.css) ==================== */
.section {
    margin-block-start: clamp(0.75rem, calc(2vw + 0.25rem), 2rem);
    padding: 4rem 2rem;
    background: var(--surface, #fff);
    color: var(--text, #231f20);
}

    .section a {
        color: var(--link, #00aeef);
        text-underline-offset: .15em;
    }

/*Added for SectionU and others to eliminate top margin*/
.section--flush-top {
    margin-block-start: 0 !important;
}


.section-light {
    --surface: #fff;
    --text: #231f20;
    --link: #00aeef;
}

.section-dark {
    --surface: #231f20;
    --text: #fff;
    --link: #fff;
}

.section-tan {
    --surface: #f4f0e6;
    --text: #231f20;
    --link: #00aeef;
}

.section-blue {
    --surface: #00aeef;
    --text: #fff;
    --link: #fff;
}

.btn {
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    background: var(--btn-bg, #22C55E);
    color: var(--btn-fg, #fff);
    transition: .2s ease;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .checklist li {
        margin: .4rem 0;
    }

        .checklist li::before {
            content: "✔";
            color: var(--link, #00aeef);
            font-weight: 700;
            margin-right: .5rem;
        }

.highlight-box {
    background: #f3f4f6;
    padding: 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    margin: 1rem 0;
}

.section-tan .highlight-box {
    background: #fff;
}

.section-dark .highlight-box, .section-blue .highlight-box {
    background: rgba(255,255,255,.12);
    color: #fff;
}

.big-number {
    font-size: clamp(1.6rem,3.2vw,2.2rem);
    font-weight: 700;
}
/* EnergyLayout defaults (local variable overrides) */
.energy-scope {
    --surface: #fff; /* or your preferred base */
    --text: #231f20;
    --link: #00aeef;
    --btn-bg: #22C55E;
    --btn-fg: #fff;
}
    /* You can even tweak per area: */
    .energy-scope .section-blue {
        --btn-bg: #fff;
        --btn-fg: #00aeef;
    }
/* SectionTan default style */
.section-tan {
    background-color: #E2E2DA; /* warm tan/light neutral */
    padding: 2rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
/* Global page container (keeps content centered on wide screens) */
.content,
.content.sub-page,
.page-container {
    max-width: 1200px; /* adjust to taste */
    margin-inline: auto; /* center */
    padding-inline: 1rem; /* breathing room on mobile */
}

/* Optional: full-bleed band utility for sections */
.section-fullbleed {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

/* Inner wrapper for section components that should be centered */
.section-container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1rem;
}
/* Center all page content rows inside EnergyLayout */
.energy-scope .row {
    max-width: 1200px; /* adjust to taste */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* breathing room on mobile */
    padding-right: 1rem;
}

/* Keep full-bleed zones full width */
.energy-scope .sub-banner .row,
.energy-scope .banner .row,
.energy-scope .fullbleed .row {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}
/* Centered content shell (safe: only used where you add it) */
.content-shell {
    max-width: 1200px; /* adjust to taste */
    margin-inline: auto; /* center */
    padding-inline: 1rem; /* breathing room on mobile */
}
/* ===== Context-aware button tokens (defaults) ===== */
:root {
    --btn-bg: #22C55E; /* default Go green */
    --btn-fg: #fff;
    --btn-bd: transparent;
    --btn-bg-h: #1fb157; /* hover */
    --btn-fg-h: #fff;
    --btn-bd-h: transparent;
    --btn-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* Section-specific overrides (only when inside these wrappers) */
.section-tan {
    --btn-bg: #22C55E;
    --btn-fg: #fff;
    --btn-bd: transparent;
    --btn-bg-h: #1fb157;
    --btn-fg-h: #fff;
    --btn-bd-h: transparent;
}

.section-blue {
    /* On blue background, use a white pill with brand text */
    --btn-bg: #fff;
    --btn-fg: #00aeef;
    --btn-bd: #fff;
    --btn-bg-h: #f8fafc;
    --btn-fg-h: #00a2df;
    --btn-bd-h: #f8fafc;
}

.section-dark {
    /* On dark, bright green reads well */
    --btn-bg: #22C55E;
    --btn-fg: #fff;
    --btn-bd: transparent;
    --btn-bg-h: #1fb157;
    --btn-fg-h: #fff;
    --btn-bd-h: transparent;
}

/* The actual button style (consumes the tokens above) */
.btn {
    display: inline-block;
    padding: .8rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--btn-bd);
    background: var(--btn-bg);
    color: var(--btn-fg);
    box-shadow: var(--btn-shadow);
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .04s ease;
}

    .btn:hover {
        background: var(--btn-bg-h);
        color: var(--btn-fg-h);
        border-color: var(--btn-bd-h);
    }

    .btn:active {
        transform: translateY(1px);
    }

    .btn:focus-visible {
        outline: 3px solid color-mix(in oklab, var(--btn-fg) 30%, transparent);
        outline-offset: 2px;
    }
/* default ring color (fallback) */
:root {
    --btn-ring: rgba(0,0,0,.25);
}

/* section-specific focus ring colors */
.section-tan {
    --btn-ring: rgba(34,197,94,.35);
}
/* go-green tint on tan */
.section-blue {
    --btn-ring: rgba(0,174,239,.35);
}
/* white pill on blue => blue-tinted ring */
.section-dark {
    --btn-ring: rgba(255,255,255,.35);
}
/* lighter ring on dark */

.btn:focus-visible {
    outline: 3px solid var(--btn-ring);
    outline-offset: 2px;
}

@supports (color: color-mix(in srgb, red, transparent)) {
    :root {
        --btn-ring: color-mix(in srgb, var(--btn-fg) 30%, transparent);
    }
}
/* ===== Typography switch: Open Sans body, Inter headlines ===== */
:root {
    --text-color: #231f20;
}
/* from your brand notes */

/* Body text (global) */
html, body, p, li, span, input, textarea, button {
    font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
}

/* Headlines / numeric callouts */
h1, h2, h3, .headline, .big-number {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

/* Banner title uses Inter even if it isn't an <h1> */
#sub-banner-container {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 800; /* keep your existing weight */
}

/* Buttons per style guide: Inter 600 */
.btn {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
}
/*LAST GOOD SPOT BEFORE WRECKING HEADER*/

/* ===== HEADER/MOBILE FINALIZER (place LAST) =============================== */

/* Hide menu list by default; show when .open is toggled (JS) */
/* Base typography */
:root {
    --text-color: #231f20;
}

/* Only body sets the default color */
html, body {
    font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
}

/* Everything else inherits (no explicit color on spans/lis) */
p, li, span, input, textarea, button {
    font: inherit;
    color: inherit;
}
/* Header color only (no layout changes) */
header.page-header {
    color: #fff;
}

    /* Make sure anchors/icons inherit that color */
    header.page-header a,
    header.page-header .material-icons {
        color: inherit !important;
    }

/* For the mobile dropdown panel, ensure the container sets white too */
@media (max-width:1024px) {
    header.page-header .menu.menu-top.open {
        color: #fff;
    }

        header.page-header .menu.menu-top.open a {
            color: inherit !important;
        }
}

/* Ensure white wins on the specific menu path you mentioned */
header.page-header .top-bar ul.menu li > a,
header.page-header .menu.menu-top > li > a,
header.page-header a:visited {
    color: inherit !important;
}

@media (max-width:1024px) {
    .sub-banner #sub-banner-container > * {
        margin: 17.22222rem 0.83333rem 2.22222rem 0.83333rem;
    }
}

@media (max-width: 640px) {
    #sub-banner-container {
        margin-bottom: -8px;
    }
}

header.page-header .phone {
    color: #fff;
}

/*Make nav bar underline white rather than default black*/
:root {
    --nav-underline: #fff;
}

@media (min-width: 64em) {
    header.page-header .top-bar ul.menu li:hover > a::after,
    header.page-header .top-bar ul.menu li.active > a::after {
        border-bottom-color: var(--nav-underline);
    }
}
/* ===== Sticky header: always full-bleed ================================ */

/* 1) Put the color on the header itself when sticky */
/*header.page-header.sticky {
    background: #000 !important;*/ /* or var(--hdr-bg-sticky) */
/*left: 0;
    right: 0;
    width: 100%;*/ /* ensure full span */
/*}*/

/* 2) Make *inner* header wrappers transparent only while sticky,
      so you don't see a narrower, centered background */
/*header.page-header.sticky .top-bar,
    header.page-header.sticky nav,
    header.page-header.sticky nav.row,
    header.page-header.sticky nav.row.collapse,
    header.page-header.sticky .row {
        background: transparent !important;
    }*/

/* 3) Belt-and-suspenders: if some inner wrapper still paints a bg or has
      max-width, lay a full-bleed layer behind the header contents */
/*header.page-header {
    position: fixed;
    z-index: 1000;
}

    header.page-header > * {
        position: relative;
        z-index: 1;
    }*/
/* content above the layer */
/*header.page-header.sticky::before {
        content: "";
        position: absolute;
        inset: 0;*/
/* extend to viewport edges even if inner .row is centered */
/*left: calc(50% - 50vw);
        right: calc(50% - 50vw);
        background: #000;*/ /* same as sticky color */
/*z-index: 0;
        pointer-events: none;
    }*/
/* Full-bleed background that truly spans the viewport */
/*header.page-header.sticky::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;*/ /* match header’s height */
/*left: 50%;*/ /* position from the center… */
/*width: 100vw;*/ /* …then span the viewport width */
/*transform: translateX(-50%);*/ /* center it */
/*background: #000;*/ /* or var(--hdr-bg-sticky) */
/*z-index: 0;
        pointer-events: none;
    }*/

/* make sure the header can show overflow from the pseudo element */
/*header.page-header {
    overflow: visible;
}
@supports (width: 100dvw) {
    header.page-header.sticky::before {
        width: 100dvw;
    }
}*/
/* .top-bar paints itself blue and stretches full width */
.page-header.sticky .top-bar {
    position: relative;
    background: transparent !important; /* real color lives on ::before */
}

    .page-header.sticky .top-bar::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw; /* full viewport width */
        transform: translateX(-50%);
        background: #00AEF0; /* your blue */
        z-index: -1; /* sit behind the nav items */
    }
/* Footer never pushes away from what’s above */
footer, .site-footer {
    margin-block-start: 0;
    display: flow-root; /* stops margin-collapsing into the footer */
}

/* Sections own the spacing rhythm */
/*.section {*/
/* small on phones, scales up on desktop */
/*margin-block-start: clamp(0.75rem, 3vw, 2rem);
    margin-block-end: 0;*/ /* no gap below; lets footer butt up cleanly */
/*padding-block: 1rem;*/ /* inner breathing room (tune as you like) */
/*}*/

/* If a section is the very first thing after a banner/header, remove top gap */
/*.section:first-child {
        margin-block-start: 0;
    }*/

/* Optional: neutralize first/last child margins so headings/paras don’t create extra white strips inside */
/*.section > :first-child {
        margin-block-start: 0;
    }

    .section > :last-child {
        margin-block-end: 0;
    }*/
/* If this wrapper is immediately followed by a footer, drop the bottom padding */
.home-page.content:has(+ footer) {
    padding-block-end: 0;
}
/* prefer logical props so it's clear what we're changing */
.home-page.content {
    padding-block-start: 3.3333rem; /* keep */
    padding-block-end: 0; /* remove the white strip */
}

/* ========== Footer: no gap + full-bleed background ===================== */
:is(footer, .site-footer, .page-footer) {
    margin-block-start: 0; /* never push away from above */
    display: flow-root; /* prevents margin-collapsing */
    position: relative; /* anchor the bg layer */
    border-top: none; /* avoid thin “gap” lines */
    color: #fff; /* footer text color (tune if needed) */
}

    /* Full-bleed background behind centered content */
    :is(footer, .site-footer, .page-footer)::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw; /* span the viewport */
        transform: translateX(-50%);
        background: #000; /* footer color */
        z-index: 0; /* behind content, above page */
    }
/* Use dynamic viewport width when supported (avoids 1–2px seams) */
@supports (width: 100dvw) {
    :is(footer, .site-footer, .page-footer)::before {
        width: 100dvw;
    }
}

/* Ensure footer children sit above the bg layer */
:is(footer, .site-footer, .page-footer) > * {
    position: relative;
    z-index: 1;
}

/* Neutralize any inner wrapper paints so the full-bleed shows edge-to-edge */
:is(footer, .site-footer, .page-footer) .row,
:is(footer, .site-footer, .page-footer) nav {
    background: transparent !important;
}

/* If you use a .section inside the footer, treat it as a content wrapper */
:is(footer, .site-footer, .page-footer) .section,
:is(footer, .site-footer, .page-footer) .section-dark,
:is(footer, .site-footer, .page-footer) .section-tan {
    margin: 0; /* no external gaps inside footer */
    border-radius: 0;
    box-shadow: none;
    background: transparent; /* footer provides the color */
    padding-block: 1rem; /* internal breathing room */
}

/* Optional: if the last section above the footer needs squaring off */
.content--flush-bottom .section:last-child {
    border-radius: 0;
    box-shadow: none;
}

/* Footer container */
.site-footer .footer-inner {
    text-align: center;
    padding: 2rem 1rem;
}

/* Responsive grid: 1–3 cols, always centered */
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 1rem auto;
}

/* Column bits */
.site-footer .footer-col {
    margin-inline: auto;
}

.site-footer .footer-head {
    margin: 0 0 .5rem;
    font-weight: 700;
}

.site-footer .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.9;
}

.site-footer .footer-link-dim {
    opacity: .9;
}

/* Bottom row: centered (single rule; no grid duplicates) */
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.14);
    padding-top: .9rem;
    font-size: .95rem;
    opacity: .9;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Link styling (scoped to footer) */
.site-footer a,
.site-footer a:link,
.site-footer a:visited {
    color: var(--brand-blue, #00aeef);
    text-decoration: none;
    transition: color .2s ease;
}

    /* No underline on hover; use brand blue hover token if present */
    .site-footer a:hover,
    .site-footer a:focus,
    .site-footer a:active {
        color: var(--brand-blue-hover, #14c3ff); /* fallback is a touch brighter than #00aeef */
        text-decoration: none;
    }


/*New Sub Page Layout / Fix for centered body*/
:root {
    --page-w: 70rem; /* ~1120px, adjust to taste */
    --page-pad: 1rem;
}

/* Opt-in centered column */
.content-shell {
    max-width: var(--page-w);
    margin-inline: auto;
    padding-inline: var(--page-pad);
}

    /* Tame full-bleed Foundation rows only inside centered pages */
    .content-shell :where(.row.expanded) {
        max-width: var(--page-w);
        margin-inline: auto;
        padding-inline: 0;
    }

    /* Safety: nested rows sometimes add negative gutters; neutralize locally */
    .content-shell :where(.row .row) {
        margin-right: 0;
        margin-left: 0;
    }

/* Utility to deliberately escape the shell when you want a full-bleed band */
.fullbleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/*Use or modify below to not have hero like image on all sub pages*/

@media (max-width:2224px) {
    .sub-banner {
        min-height: 32vh !important;
    }
}

@media (max-width:1024px) {
    .sub-banner {
        min-height: 22vh !important;
    }
}

@media (max-width:724px) {
    .sub-banner {
        min-height: 16vh !important;
    }
}

@media (max-width: 640px) {
    .sub-banner {
        min-height: 18vh !important;
    }
}

@media (max-width: 414px) {
    .sub-banner {
        min-height: 16vh !important;
    }
}

/* sitewide mobile hero height */
/* Optional per-page tweak: .sub-banner.solar{ background-position:center 30% !important; } */

/*This is attemtp to change header icon(s) from Google, i.e. Solar lightbulb to "article"*/
/* Swap “Solar” (np-170) to a Case Studies icon using ligatures */

/*Decided not to use Case Studies but rather use Services*/
/*header.page-header li.np-170 a .nav-icon::before {
    content: "article";*/ /* good options: "article", "description", "insights", "analytics", "auto_stories" */
/*font-family: 'Material Icons' !important;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;*/
/* make sure no PNG background is still applied from other rules */
/*background: none !important;
    filter: none !important;
}*/
/* Services (np-200): Material Icon via ligature  */
header.page-header li.np-170 a .nav-icon::before {
    content: "design_services"; /* CHOSEN
                                           Other good fits:
                                           "home_repair_service", "miscellaneous_services",
                                           "handyman", "build", "settings_suggest" */
    font-family: 'Material Icons' !important;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: none !important; /* ensure no PNG bg lingers */
    filter: none !important;
}

/* About (np-76): Material Icon via ligature */
/*Other choices could be: info,badge, account_circle, group, business, info_outline, corporate_fare*/
header.page-header li.np-76 a .nav-icon::before {
    content: "info"; /* CHOSEN: "info" (universal About) */
    font-family: 'Material Icons' !important;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: none !important; /* ensure no PNG bg leaks in */
    filter: none !important;
}

/*Hides all menu icins in mobile view (dropdown list)*/
/* Mobile: hide every icon next to the text */
@media (max-width:63.9375em) {
    header.page-header .menu.menu-top .nav-icon {
        display: none !important;
    }
        /* belt-and-suspenders for ::before glyphs */
        header.page-header .menu.menu-top .nav-icon::before {
            content: none !important;
        }
}

/* Desktop: show icons */
@media (min-width:64em) {
    header.page-header .menu.menu-top .nav-icon {
        display: inline-block;
    }
}

/* Simple vertical spacer */
/* Base spacers (desktop/tablet) */
.spacer {
    display: block;
    height: 2rem;
}

.spacer-xs {
    display: block;
    height: 0.5rem;
}

.spacer-sm {
    display: block;
    height: 1rem;
}

.spacer-lg {
    display: block;
    height: 4rem;
}

.spacer-xl {
    display: block;
    height: 6rem;
}

/* Mobile tweaks (<= 640px): reduce but don't collapse */
@media (max-width: 640px) {
    .spacer {
        height: 1rem;
    }

    .spacer-xs {
        height: 0.25rem;
    }

    .spacer-sm {
        height: 0.5rem;
    }

    .spacer-lg {
        height: 2rem;
    }

    .spacer-xl {
        height: 3rem;
    }
}

/* Optional: collapse-on-mobile helper for rare cases */
@media (max-width: 640px) {
    .spacer-collapse-sm {
        height: 0 !important;
    }
}
/*Optional horiz spacer*/
.spacer-x {
    display: inline-block;
    width: 1rem;
    height: 1px;
}
/* margin top modifiers instead of spacers */
.mt-sm {
    margin-top: .5rem
}

.mt {
    margin-top: 1rem
}

.mt-lg {
    margin-top: 2rem
}

.mt-xl {
    margin-top: 3rem
}

@media (max-width:640px) {
    .mt-lg {
        margin-top: 1rem
    }

    .mt-xl {
        margin-top: 1.5rem
    }
}


}
/* Keep the top placeholder consistent if you use it */
.top-image {
    height: 0;
}
/* set to 0 by default; increase if you later add an image */

/* Visual divider — minimal vertical impact */
.ui-divider {
    display: block;
    width: min(520px, 50%);
    height: 4px;
    margin: 0.25rem auto 0.75rem; /* tighter top/bottom than default <p> margins */
}

/* Tighten common wrappers around the divider */
p.text-center.tight {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

/* Inputs (optional polish if not already styled) */
.input, .textarea, select.input {
    width: 100%;
    padding: .625rem .75rem;
    border: 1px solid #d1d5db;
    border-radius: .5rem;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.alert.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: .75rem 1rem;
    border-radius: .5rem;
    margin-top: 1rem;
}

/* Utility for images that should always scale proportionally, no crop */
.img-contain {
    display: block;
    max-width: 100%; /* never wider than its parent */
    height: auto; /* scale height automatically */
    object-fit: contain;
}

.hopscotch img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.img-contain,
.hopscotch img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
/* don't force the image column to stretch to sibling height */
.no-stretch {
    align-self: flex-start;
}

/* make sure nothing clips inside the image column */
.hopscotch img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hopscotch, .hopscotch-section, .hopscotch.right {
    overflow: visible;
}

/* A no-crop frame—image scales to fit, never crops */
.image-frame {
    position: relative;
    width: 100%;
    height: var(--img-h, 360px); /* control per-instance */
    max-height: 60vh; /* never too tall on big screens */
    margin: 0;
    background: #f7f7f7; /* optional neutral backdrop */
    overflow: visible; /* no clipping */
}

    .image-frame > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain; /* full image, no crop */
        display: block;
    }

.checklist {
    list-style: none;
    padding: 0;
    margin: .5rem 0 1.25rem;
}

    .checklist li {
        padding-left: 1.6rem;
        position: relative;
        margin: .4rem 0;
    }

        .checklist li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
        }

.highlight-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.big-number {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: .25rem;
}

.micro-proof {
    font-size: .9rem;
    opacity: .85;
    margin-top: .5rem;
}

.kpi-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: .75rem;
}

.kpi {
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
    padding: .75rem;
    text-align: center;
}

.kpi-num {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
}

.benefit-tags {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

    .benefit-tags span {
        font-size: .75rem;
        padding: .25rem .5rem;
        border: 1px solid #d1d5db;
        border-radius: 999px;
    }

.caption {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.25rem;
}

/*for header /footer font-face substitute*/
:root {
    /*--brand-sans: "Raleway", "Poppins", "Helvetica Neue", Arial, sans-serif;*/
    --brand-sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

header, footer, .nav, .site-title {
    font-family: var(--brand-sans);
}

/*For image captions*/
.hopscotch img {
    display: block; /* forces it to take full width of its container */
    margin: 0 auto; /* centers image */
}

.hopscotch .micro-proof {
    text-align: center; /* center the caption under image */
    margin-top: 0.5rem; /* add some spacing */
    font-size: 0.9rem;
    color: #555;
}
/* LED Controls page only */
.controls-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .controls-figure img {
        display: block;
        max-width: 100%;
        height: auto;
    }

.controls-caption {
    text-align: center;
    margin-top: .5rem;
    font-size: .95rem;
    color: #555;
}

/* If something earlier positioned captions/images, neutralize it here */
.controls-caption, .controls-figure * {
    position: static !important;
}



html {
    scroll-behavior: smooth;
}
/* make button look like a link */
.linklike {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* adjust to your header height */
#led-assess-section {
    scroll-margin-top: 250px;
}

@media (max-width: 768px) {
    #led-assess-section {
        scroll-margin-top: 110px; /* smaller header on phone */
    }
}
/*@media (max-width: 100px) {
    #led-assess-section {
        scroll-margin-top: 150px;*/ /* smaller header on phone */
    /*}*/
}
html {
    scroll-behavior: smooth;
}

/*.anchor-target {
    scroll-margin-top: 96px;*/ /* height of sticky header */
/*}*/


/* optional: nicer lead paragraph */
.lead {
    font-size: clamp(1.05rem, 1.2vw + .8rem, 1.25rem);
}

/* New for Section-Header Component*/
.section-header .headline {
    margin-bottom: .5rem;
}

.section-header .lead {
    font-size: clamp(1.05rem, 1.2vw + .8rem, 1.25rem);
    margin-bottom: .5rem;
}

/* simple blue divider with no default <hr> weirdness */
.divider-blue {
    border: 0;
    height: 4px;
    width: min(50%, 420px);
    margin: .75rem auto 1rem; /* space above/below */
    background: #00aeef; /* your blue */
    border-radius: 4px; /* rounded ends */
}

.section-header .headline {
    margin-bottom: .5rem;
}

.section-header .lead {
    font-size: clamp(1.05rem, 1.2vw + .8rem, 1.25rem);
    margin-bottom: .5rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.divider-blue {
    border: 0;
    height: 4px;
    width: min(50%,420px);
    margin: .75rem auto 1rem;
    background: #00aeef;
    border-radius: 4px;
}

.text-left .divider-blue {
    margin-left: 0;
    margin-right: 0;
}

/* Optional variants to match your site */
.section-light {
    background: transparent;
    color: inherit;
}

.section-dark {
    background: #231f20;
    color: #fff;
}

.section-tan {
    background: #E2E2DA;
    color: #231f20;
}

.section-transparent {
    background: transparent;
}

/* Optional spacing for actions row */
.header-actions {
    margin-top: .75rem;
}

/*From new LEDConversions remade page...might be redundant or overwrite existing...chack previous use...*/
.caption {
    font-size: .9rem;
    color: #555;
    margin-top: .25rem;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: .5rem 0 1.25rem;
}

    .checklist li {
        padding-left: 1.6rem;
        position: relative;
        margin: .4rem 0;
    }

        .checklist li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
        }

.highlight-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.big-number {
    font-size: clamp(2rem,4.5vw,3rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: .25rem;
}

.micro-proof {
    font-size: .9rem;
    opacity: .85;
    margin-top: .5rem;
}

.kpi-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: .75rem;
}

.kpi {
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
    padding: .75rem;
    text-align: center;
}

.kpi-num {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
}

/* anchor helper you already use */
html {
    scroll-behavior: smooth;
}
/*Overwrite enlaybase.css default button*/


.anchor-target {
    scroll-margin-top: 120px;
}
/* adjust for your header height */


/* end new with LEDConversions remake*/

.video-wrap {
    max-width: 960px; /* adjust to taste */
    margin: 0 auto;
    /*aspect-ratio: 16 / 9;*/ /* keeps ratio while loading */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

    .video-wrap video {
        width: 100%;
        height: 100%;
        display: block;
    }
#led-video.section-light {
    padding-top: 1rem; /* was likely 3–4rem */
    padding-bottom: 1rem;
}
/*@media (min-width: 1024px) {
    .video-wrap {
        aspect-ratio: 16 / 8;*/ /* was 16/9, now slightly shorter */
        /*max-width: 800px;*/ /* reduce width if needed */
    /*}
}*/
/*.video-wrap video {
  width: 100%;
  max-height: 380px;*/   /* controls the height */
  /*object-fit: contain;*/ /* so it letterboxes gracefully */
  /*display: block;
}*/
.video-wrap video {
    width: 100%;
    max-height: 380px; /* controls the height */
    object-fit: contain; /* so it letterboxes gracefully */
    display: block;
}

/* supposed fix (or mostly) for left right movement when mobile scrolling*/
/*html, body {
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}*/
/* --- Global safe fixes for mobile sideways scroll --- */

/* 1) Never allow horizontal overflow */
/*html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}*/

/* 2) Make media shrink to fit */
/*img, video, svg, canvas {
    max-width: 100%;
    height: auto;
    display: block;*/ /* avoids inline gaps that can nudge layout */
/*}*/

/* 3) Prevent accidental 100vw traps (scrollbar width issues) */
/**,
*::before,
*::after {
    box-sizing: border-box;
}*/

/* 4) Common offenders: wide sections, tables, code blocks */
/*section, .section, .container, .row, .banner, .full-width-banner {
    max-width: 100%;
    overflow-x: hidden;
}*/

/* If you ever have a wide table/code, let it scroll inside itself */
/*table, pre, code, .scroll-x {
    max-width: 100%;
    overflow-x: auto;
}
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img, video, svg, canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

*, *::before, *::after {
    box-sizing: border-box;
}

section, .section, .container, .row, .banner, .full-width-banner {
    max-width: 100%;
    overflow-x: hidden;
}*/


/*SUPER IMORATANT THIS HIDES RECONNECTING MESSAGE THAT SHOWS ON MOBILE AFTER MINIMIZE*/
#components-reconnect-modal {
    display: none !important;
}
/*SUPER IMORATANT THIS HIDES RECONNECTING MESSAGE THAT SHOWS ON MOBILE AFTER MINIMIZE*/

/*html, body {
    overflow-x: hidden;
}*/

* {
    box-sizing: border-box;
}
/* good default */
img, video {
    max-width: 100%;
    height: auto;
}
/* keeps media from overflowing */
/*fixes overflow / offscreen honey pot on contact submission form*/
.hp {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
/*fixes overflow / offscreen honey pot on contact submission form*/