﻿:root {
    --navy: #000140;
    --navy-light: #0d1266;
    --teal: #34A2BF;
    --teal-dark: #26829b;
    --slate: #344047;
    --red: #AA001A;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --border: #dde4e9;
    --text-muted: #5a6872;
    --shadow: 0 4px 20px rgba(0, 1, 64, 0.08);
    --radius: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Trebuchet MS", Arial, sans-serif;
    color: var(--slate);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

    a:hover {
        color: var(--teal-dark);
    }

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Utility Bar */
.top-bar {
    background-color: var(--navy);
    color: var(--white);
    font-size: 0.875rem;
    padding: 8px 0;
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .top-bar a {
        color: var(--white);
        font-weight: 600;
    }

        .top-bar a:hover {
            color: var(--teal);
        }

/* Header & Navigation */
.site-header {
    background-color: var(--white);
    border-bottom: 3px solid var(--teal);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1140px;
    margin: 0 auto;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--navy);
}

    .brand img {
        width: 64px;
        height: 64px;
        object-fit: contain;
        border-radius: 6px;
    }

.brand-text .brand-sub {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-text .brand-title {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--teal);
    color: var(--white);
}

    .btn-primary:hover {
        background-color: var(--teal-dark);
        color: var(--white);
    }

.btn-accent {
    background-color: var(--red);
    color: var(--white);
}

    .btn-accent:hover {
        background-color: #880015;
        color: var(--white);
    }

.btn-outline {
    border: 2px solid var(--navy);
    color: var(--navy);
    background: transparent;
}

    .btn-outline:hover {
        background-color: var(--navy);
        color: var(--white);
    }

/* Main Nav Bar */
.nav-bar {
    background-color: var(--slate);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

.nav-list {
    display: flex;
    list-style: none;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

    .nav-list li a {
        display: block;
        padding: 12px 18px;
        color: var(--white);
        font-weight: 600;
        font-size: 0.95rem;
    }

        .nav-list li a:hover,
        .nav-list li a.active {
            background-color: var(--teal);
            color: var(--white);
        }

/* Page Hero / Banner */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #16245c 100%);
    color: var(--white);
    padding: 48px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(52, 162, 191, 0.25);
    border: 1px solid var(--teal);
    color: #8ce4fc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: 2.35rem;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 800;
}

.hero p {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.15);
    width: 100%;
}

.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, #16245c 100%);
    color: var(--white);
    padding: 36px 0;
    margin-bottom: 36px;
}

    .page-header h1 {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 6px;
    }

    .page-header p {
        color: #cbd5e1;
        font-size: 1.05rem;
    }

/* Main Content Layout */
.main-section {
    padding: 44px 0;
}

.content-sidebar-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

    .card h2 {
        color: var(--navy);
        font-size: 1.55rem;
        margin-bottom: 14px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--bg-light);
    }

    .card h3 {
        color: var(--teal-dark);
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .card p {
        margin-bottom: 14px;
        font-size: 1.02rem;
    }

        .card p:last-child {
            margin-bottom: 0;
        }

/* Brand & Promo Sidebar Cards */
.brand-card {
    background-color: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

    .brand-card h3 {
        color: var(--white);
        font-size: 1.3rem;
        margin-bottom: 14px;
    }

    .brand-card .logo-box {
        background: var(--white);
        padding: 12px;
        border-radius: 6px;
        margin-bottom: 16px;
        display: flex;
        justify-content: center;
    }

    .brand-card p {
        color: #e2e8f0;
        font-size: 0.96rem;
    }

.hours-card {
    background-color: var(--red);
    color: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

    .hours-card h3 {
        color: var(--white);
        font-size: 1.35rem;
        margin-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding-bottom: 8px;
    }

.hours-list {
    list-style: none;
}

    .hours-list li {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
        font-size: 0.98rem;
    }

        .hours-list li:last-child {
            border-bottom: none;
        }

/* Grids for Services, Rebates, Testimonials, Team */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

    .service-card h3 {
        color: #8ce4fc;
        font-size: 1.35rem;
        margin-bottom: 14px;
        text-align: center;
    }

    .service-card ul {
        margin: 12px 0 16px 20px;
        color: #f1f5f9;
    }

    .service-card li {
        margin-bottom: 8px;
    }

    .service-card p {
        color: #e2e8f0;
        margin-bottom: 12px;
    }

    .service-card a {
        color: #8ce4fc;
        text-decoration: underline;
        font-weight: 700;
    }

/* Rebate Tiles */
.rebate-tile {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .rebate-tile:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0, 1, 64, 0.12);
    }

    .rebate-tile img {
        max-height: 90px;
        margin-bottom: 12px;
    }

    .rebate-tile span {
        font-weight: 700;
        color: var(--navy);
        font-size: 0.95rem;
    }

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-left: 5px solid var(--teal);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

    .testimonial-card blockquote {
        font-style: italic;
        font-size: 1.05rem;
        color: var(--slate);
        margin-bottom: 10px;
    }

    .testimonial-card cite {
        font-style: normal;
        font-weight: 700;
        color: var(--navy);
    }

/* FAQ Accordion */
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

    .faq-item summary {
        padding: 18px 22px;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--navy);
        cursor: pointer;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::after {
            content: "+";
            font-size: 1.4rem;
            color: var(--teal);
            font-weight: 800;
        }

    .faq-item[open] summary::after {
        content: "−";
    }

    .faq-item[open] summary {
        border-bottom: 1px solid var(--border);
        background-color: #f8fafc;
    }

.faq-answer {
    padding: 18px 22px;
    color: var(--slate);
    font-size: 1.02rem;
}

/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

    .team-member .role {
        font-size: 0.85rem;
        text-transform: uppercase;
        font-weight: 700;
        color: var(--teal-dark);
        margin-bottom: 10px;
    }

    .team-member img {
        width: 130px;
        height: 155px;
        object-fit: cover;
        border-radius: 8px;
        margin: 0 auto 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    }

    .team-member .name {
        font-weight: 700;
        color: var(--navy);
        font-size: 1.05rem;
    }

/* Responsive Iframe Container for Quote & Application */
.iframe-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 12px;
    overflow: hidden;
}

    .iframe-wrapper iframe {
        width: 100%;
        min-height: 780px;
        border: none;
        display: block;
    }
/* Footer */
.site-footer {
    background-color: var(--navy);
    color: #cbd5e1;
    padding: 36px 0 24px;
    margin-top: 48px;
    border-top: 4px solid var(--teal);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

    .footer-grid h4 {
        color: var(--white);
        margin-bottom: 12px;
        font-size: 1.1rem;
    }

    .footer-grid p,
    .footer-grid li {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .footer-grid ul {
        list-style: none;
    }

    .footer-grid a {
        color: #8ce4fc;
    }

.footer-bottom {
    padding-top: 18px;
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
}
/* Responsive Breakpoints */
@media (max-width: 900px) {
    .hero-grid,
    .content-sidebar-grid,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .header-cta {
        width: 100%;
        justify-content: stretch;
    }

        .header-cta .btn {
            flex: 1;
            font-size: 0.9rem;
            padding: 10px 12px;
        }

    .nav-bar .container {
        padding: 8px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-toggle {
        display: inline-block;
        width: 100%;
        text-align: left;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        padding: 0;
    }

        .nav-list.open {
            display: flex;
        }

        .nav-list li a {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 12px 20px;
        }

    .grid-2,
    .team-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .iframe-wrapper iframe {
        min-height: 850px;
    }
}

/* Native Responsive Forms (Quote & Application) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 6px;
        font-size: 0.95rem;
    }

        .form-group label .req {
            color: var(--red);
            margin-left: 3px;
        }

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--slate);
    background-color: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .form-control:focus {
        outline: none;
        border-color: var(--teal);
        background-color: var(--white);
        box-shadow: 0 0 0 3px rgba(52, 162, 191, 0.2);
    }

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.file-upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 18px;
    background-color: #f8fafc;
    text-align: center;
}

    .file-upload-box input[type="file"] {
        width: 100%;
        font-size: 0.95rem;
        color: var(--slate);
    }

.file-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 600;
}

.alert-success {
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.alert-error {
    background-color: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.hp-field {
    display: none !important;
}

@media (max-width: 768px) {
    .form-grid,
    .form-grid-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
