/* ==========================================================================
   WINDOWWALL CSS - BRAND STANDARDS COMPLIANT (MOBILE FIRST DESIGN)
   ========================================================================== */

:root {
    --primary-color: #1f2f6a;
    --secondary-color: #79bf5c;
    --font-color-main: #000000;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --font-stack: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color: var(--font-color-main);
    font-family: var(--font-stack);
}

body {
    background-color: var(--bg-white);
    line-height: 1.5;
}

body.ww-menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-variation-settings: "opsz" auto, "slnt" 0, "wdth" 100, "wght" 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.125rem;
    font-variation-settings: "opsz" auto, "slnt" 0, "wdth" 100, "wght" 400;
    margin-bottom: 1.25rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.max-w-md { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-sm { max-width: 600px; margin-left: auto; margin-right: auto; }

section {
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary-cta {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
}

.btn-submit-form {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    width: 100%;
    padding: 1rem;
    font-size: 1.25rem;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* ==========================================================================
   WINDOWWALL ISOLATED HEADER OVERRIDES - PERSISTENT MOBILE CALL OUTS
   ========================================================================== */

.ww-header-wrapper {
    background: #ffffff !important;
    padding: 10px 0 !important;
    border-bottom: 3px solid #1f2f6a !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.ww-header-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.ww-header-logo-link { 
    display: inline-block !important; 
    width: 100px !important; 
    flex-shrink: 0 !important; 
    z-index: 1002 !important; 
}
.ww-header-img { width: 100% !important; height: auto !important; display: block !important; }

.ww-header-mobile-utilities {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    margin-right: 10px !important;
    z-index: 1002 !important;
}

.ww-header-phone {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #1f2f6a !important;
    text-decoration: none !important;
    font-family: 'Google Sans Flex', sans-serif !important;
    white-space: nowrap !important;
}

.ww-header-btn {
    background-color: #79bf5c !important;
    color: #ffffff !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-family: 'Google Sans Flex', sans-serif !important;
    text-transform: uppercase !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease !important;
}
.ww-header-btn:hover { background-color: #62a146 !important; }

.ww-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 22px !important;
    height: 15px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 1002 !important;
    flex-shrink: 0 !important;
}
.hamburger-bar {
    width: 100% !important;
    height: 2px !important;
    background-color: #1f2f6a !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
}

.ww-menu-toggle.active .hamburger-bar:nth-child(1) { transform: translateY(6px) rotate(45deg) !important; }
.ww-menu-toggle.active .hamburger-bar:nth-child(2) { opacity: 0 !important; }
.ww-menu-toggle.active .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg) !important; }

.ww-header-menu-container {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 260px !important;
    height: 100vh !important;
    background: #ffffff !important;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 80px 24px 40px 24px !important;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1001 !important;
    overflow-y: auto !important;
}
.ww-header-menu-container.active { right: 0 !important; }

.ww-header-nav { display: block !important; }
.ww-header-nav-list {
    display: flex !important;
    flex-direction: column !important;
    list-style: none !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ww-header-nav-item { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ww-header-link {
    text-decoration: none !important;
    color: #1f2f6a !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    font-family: 'Google Sans Flex', sans-serif !important;
    display: block !important;
}

/* Desktop Expansion Refinements */
@media (min-width: 1024px) {
    .ww-header-wrapper { padding: 12px 0 !important; }
    .ww-header-logo-link { width: 140px !important; }
    .ww-menu-toggle { display: none !important; }
    
    .ww-header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .ww-header-menu-container {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        flex-direction: row !important;
        padding: 0 !important;
        overflow-y: visible !important;
        display: flex !important;
        margin: 0 auto !important;
    }
    
    .ww-header-mobile-utilities {
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 15px !important;
    }
    
    .ww-header-nav { 
        margin: 0 !important; 
    }
    .ww-header-nav-list { flex-direction: row !important; gap: 16px !important; }
    .ww-header-link { font-size: 11px !important; letter-spacing: 0.3px !important; }
    
    .ww-header-phone { font-size: 16px !important; }
    .ww-header-btn { padding: 8px 14px !important; font-size: 11px !important; }
}

@media (max-width: 360px) {
    .ww-header-phone { font-size: 11px !important; }
    .ww-header-btn { font-size: 9px !important; padding: 5px 7px !important; }
    .ww-header-logo-link { width: 85px !important; }
}

/* ==========================================================================
   HERO PERSISTENT ROW TRUST BADGES
   ========================================================================== */

.hero-trust-badges-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-top: 12px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.hero-trust-badge-img {
    height: 65px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

@media (max-width: 480px) {
    .hero-trust-badges-row {
        gap: 8px !important;
        margin-top: 10px !important;
    }
    .hero-trust-badge-img {
        height: 32px !important;
    }
}

/* ==========================================================================
   FOOTER RULES FORCED STRICTLY TO 12PT & GOOGLE SANS FLEX
   ========================================================================== */

.ww-footer-wrapper {
    background: #1f2f6a !important;
    color: #ffffff !important;
    padding: 60px 0 20px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Google Sans Flex', sans-serif !important;
}
.ww-footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
}
.ww-footer-column { color: #ffffff !important; }
.ww-footer-logo-img { max-width: 160px !important; filter: brightness(0) invert(1) !important; margin-bottom: 15px !important; }

.ww-footer-heading {
    color: #ffffff !important;
    font-size: 12pt !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid #79bf5c !important;
    display: inline-block !important;
    padding-bottom: 4px !important;
    font-family: 'Google Sans Flex', sans-serif !important;
}
.ww-footer-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ww-footer-list-item { margin-bottom: 10px !important; list-style: none !important; }
.ww-footer-link { 
    color: #ffffff !important; 
    text-decoration: none !important; 
    font-size: 12pt !important; 
    font-family: 'Google Sans Flex', sans-serif !important;
}
.ww-footer-link:hover { color: #79bf5c !important; }
.ww-footer-text { 
    color: #e2e8f0 !important; 
    font-size: 12pt !important; 
    line-height: 1.6 !important; 
    margin-bottom: 10px !important;
    font-family: 'Google Sans Flex', sans-serif !important;
}
.ww-footer-phone-link { 
    color: #ffffff !important; 
    font-weight: 700 !important; 
    text-decoration: none !important; 
    font-size: 12pt !important;
    font-family: 'Google Sans Flex', sans-serif !important;
}

.ww-footer-bottom {
    max-width: 1200px !important;
    margin: 40px auto 0 auto !important;
    padding: 20px 20px 0 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-align: center !important;
}
.ww-footer-copy { 
    font-size: 12pt !important; 
    color: #a0aec0 !important;
    font-family: 'Google Sans Flex', sans-serif !important;
}

@media (max-width: 768px) {
    .ww-footer-container { grid-template-columns: 1fr !important; gap: 30px !important; text-align: center !important; }
    .ww-footer-heading { border-bottom: none !important; padding-bottom: 0 !important; }
}

/* ==========================================================================
   MAIN CORE CONTENT COMPONENT STYLES
   ========================================================================== */

.section-hero {
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
    background: #1f2f6a;
}

.video-background-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-bg-video {
    width: 100%; height: 100%;
    object-fit: cover;
}

.video-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(31, 47, 106, 0.85) 0%, rgba(20, 30, 70, 0.7) 100%);
    z-index: 2;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    z-index: 3;
}

.trust-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.hero-content h1 { color: var(--bg-white); }
.hero-subtitle { font-size: 1.5rem; color: #e2e8f0; margin-top: 1rem; }

.google-rating-snippet {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bg-white);
}
.stars { color: #ffb81c; font-size: 1.25rem; }

.hero-lic-text {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #cbd5e1;
    font-weight: 400;
}

.hero-form-wrapper {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    container-type: inline-size;
}

.form-title-one-line {
    font-size: clamp(1.2rem, 6.2cqw, 1.75rem) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 0.25rem !important;
    text-align: center;
    width: 100%;
}

.form-subtitle-one-line {
    font-size: clamp(0.75rem, 3.8cqw, 0.95rem) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 1.5rem !important;
    color: #4a5568;
    text-align: center;
    width: 100%;
}

.form-row-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1rem;
}
.lead-form .form-group { margin-bottom: 1rem; }
.lead-form label { display: block; font-weight: 700; margin-bottom: 0.4rem; font-size: 0.875rem; }
.lead-form input { width: 100%; padding: 0.75rem; border: 1px solid #bcccdc; border-radius: 4px; font-size: 1rem; }

.form-consent-text {
    font-size: 8pt !important;
    line-height: 1.4 !important;
    color: #4a5568;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    font-weight: 400;
}
.form-consent-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* PROBLEM / CLIMATE SECTION - ASYMMETRIC 1/4 VS 3/4 VISUAL ROW GRID */
.section-problem { 
    background-color: var(--bg-light); 
}
.climate-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.climate-image-col {
    width: 100%;
    display: flex;
    justify-content: center;
}
.climate-split-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}
.climate-text-col {
    text-align: center;
}
.climate-text-col p {
    color: #2d3748;
}

@media (min-width: 992px) {
    .climate-split-grid {
        grid-template-columns: 0.25fr 0.75fr;
        gap: 3rem;
    }
    .climate-image-col {
        justify-content: flex-start;
    }
    .climate-split-img {
        max-width: 100%;
    }
    .climate-text-col {
        text-align: left;
    }
}

.section-agitate { background-color: var(--bg-white); }
.grid-2-col { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.agitate-box { border-left: 4px solid var(--primary-color); padding-left: 1.5rem; }

.section-solution { background-color: var(--bg-light); overflow: hidden; }
.accordion-gallery { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; min-height: 450px; }

.accordion-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    min-height: 100px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: flex-end;
}

.accordion-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
}
.accordion-item:hover .accordion-bg { transform: scale(1.03); }

.accordion-collapsed-title {
    position: absolute;
    z-index: 2;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.5rem;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    display: block;
}

.accordion-content-body {
    position: relative;
    z-index: 3;
    padding: 2rem;
    color: var(--bg-white);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
}
.accordion-content-body h3 { color: var(--bg-white); margin-bottom: 0.5rem; }

.benefit-tag-list { list-style: none; display: flex; gap: 0.5rem; margin: 1rem 0; }
.benefit-tag-list li { background: rgba(255,255,255,0.2); padding: 0.25rem 0.5rem; font-size: 0.75rem; border-radius: 4px; }

.accordion-item.active { flex: 5; min-height: 350px; }
.accordion-item.active .accordion-collapsed-title { display: none; }
.accordion-item.active .accordion-content-body { opacity: 1; transform: translateY(0); }

.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
.benefit-card { background: var(--bg-light); padding: 2rem; border-radius: 6px; }

/* Fixed benefit cards h4 hierarchy optimization to h3 */
.benefit-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.benefit-icon { 
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
}

.benefit-icon-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.offer-box { background: var(--primary-color); color: var(--bg-white); padding: 3rem 2rem; border-radius: 8px; }
.offer-box h2 { color: var(--bg-white); }
.offer-tag { color: var(--secondary-color); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 1rem; }
.long-cta { width: 100%; padding: 1rem; margin-top: 1rem; }

.faq-item { background: var(--bg-light); margin-bottom: 1rem; border-radius: 6px; }
.faq-item summary { padding: 1.25rem; font-weight: 700; cursor: pointer; color: var(--primary-color); outline: none; }
.faq-answer { padding: 0 1.25rem 1.25rem 1.25rem; }

/* ==========================================================================
   FINAL CALL TO ACTION STYLES WITH MATCHING OVERLAY
   ========================================================================== */

.section-cta-bottom {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 !important;
}

.cta-background-overlay {
    background-color: rgba(255, 255, 255, 0.88);
    width: 100%;
    height: 100%;
    padding: 5rem 0;
}

.section-cta-bottom h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-bottom-subtitle {
    color: #2d3748;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

@media (min-width: 576px) {
    .form-row-2-col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .benefit-icon-img { height: 160px; }
}

@media (min-width: 768px) {
    h1 { font-size: 2.875rem; }
    .hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
    .grid-2-col { grid-template-columns: 1fr 1fr; }
    .accordion-gallery { flex-direction: row; }
    .accordion-item { min-height: 450px; }
    .accordion-collapsed-title { transform: rotate(-90deg) translate(-50%, -50%); transform-origin: left top; width: 350px; text-align: center; }
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .long-cta { width: auto; padding: 1rem 2.5rem; }
}

/* ==========================================================================
   PREMIUM GOOGLE REVIEWS SECTION ADDITIONS
   ========================================================================== */

.proof-header-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.proof-google-badge {
    max-width: 100%;
    height: 110px; /* Bumped up layout sizing override */
    object-fit: contain;
}

.big-rating-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #f8f9fc;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

.big-rating {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2f6a;
    line-height: 1;
}

.big-rating-stars-col {
    text-align: left;
}

.stars-gold {
    color: #FFB81C;
    font-size: 1.25rem;
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.rating-subtext {
    font-size: 0.875rem;
    color: #4a5568;
    margin: 0;
    font-weight: 700;
}

.reviews-grid-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.review-card-premium {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border-top: 4px solid #1f2f6a; /* Updated to brand deep blue */
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease;
}

.review-card-premium:hover {
    transform: translateY(-2px);
}

.card-stars {
    color: #FFB81C;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.review-text-container {
    position: relative;
    max-height: 4.8em;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.review-text-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5em;
    background: linear-gradient(transparent, #ffffff);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.review-card-premium.expanded .review-text-container {
    max-height: 1000px;
}

.review-card-premium.expanded .review-text-container::after {
    opacity: 0;
}

.review-quote-text {
    font-size: 1rem;
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 0;
}

.review-toggle-btn {
    background: transparent;
    border: none;
    color: #1f2f6a; /* Updated to brand deep blue */
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding: 0;
    text-decoration: underline;
}

.review-author-premium {
    font-size: 0.9rem;
    font-weight: 700;
    color: #718096;
    display: block;
    border-top: 1px solid #edf2f7;
    padding-top: 1rem;
    margin-top: auto;
}

@media (min-width: 768px) {
    .reviews-grid-premium {
        grid-template-columns: 1fr 1fr;
    }
    .proof-header-badge-container {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
}