/* =========================================================
   KK PEPRAH GLOBAL STYLES
========================================================= */

 :root {

    --navy: #0C0D32;
    --navy-2: #10123D;
    --navy-3: #17194A;

    --royal-blue: #1D4ED8;
    --royal-blue-dark: #1742B5;
    --steel-blue: #486581;
    --steel-blue-light: #7A91A8;

    --cool-light-blue: #E8F1F8;
    --off-white: #F7F9FC;
    --white: #FFFFFF;
    --charcoal: #252B33;
    --orange: #F97316;

    --light: var(--cool-light-blue);
    --text: var(--charcoal);
    --border: #D7E2EC;
    --container: 1200px;

}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        "Open Sans",
        Arial,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.6;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    background:
     rgba(255, 255, 255, 1);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header.scrolled {

    background:
        rgba(12,13,50,0.99);

    box-shadow:
        0 5px 30px rgba(12,13,50,0.15);
}

.header-container {

    min-height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* Logo */

.logo {

    display: flex;

    flex-direction: column;

    line-height: 1;
}

.logo-main {

    color: var(--white);

    font-family: "Montserrat";

    font-weight: 800;

    font-size: 22px;

    letter-spacing: 1px;
}

.logo-sub {

    margin-top: 5px;

    color: var(--steel-blue);

    font-size: 9px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

/* =========================================================
   NAVIGATIONS
========================================================= */





/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding:
        110px 0;
}

.section-light {
    background: var(--cool-light-blue);
}

.section-dark {
    background: var(--navy);
}


/* Section headings */

.section-heading {

    max-width: 750px;

    margin:
        0 auto 60px;

    text-align: center;
}

.section-label {

    display: inline-block;

    margin-bottom: 15px;

    color: var(--orange);

    font-family: "Montserrat";

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2 {

    margin-bottom: 20px;

    color: var(--navy);

    font-family: "Montserrat";

    font-size:
        clamp(32px,4vw,50px);

    line-height: 1.1;
}

.section-heading p {

    font-size: 16px;

    color: var(--text);
}

.section-heading-light h2 {
    color: var(--white);
}

.section-heading-light p {
    color: var(--steel-blue);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
        0 25px;

    border: 1px solid transparent;

    font-family: "Montserrat";

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;

    cursor: pointer;

    transition:
        all .3s ease;
}

.btn-primary {

    color: var(--navy);

    background:
        var(--royal-blue);
}

.btn-primary:hover {

    background:
        var(--royal-blue-dark);

    transform:
        translateY(-2px);
}

.btn-dark {

    color: var(--white);

    background:
        var(--navy);
}

.btn-dark:hover {

    background:
        var(--royal-blue);

    color: var(--navy);
}

.btn-outline {

    color: var(--white);

    border-color:
        rgba(255,255,255,.7);

    background:
        transparent;
}

.btn-outline:hover {

    color: var(--navy);

    background: var(--white);
}

.btn-light {

    color: var(--navy);

    background: var(--white);
}

.btn-outline-light {

    color: var(--white);

    border-color:
        rgba(255,255,255,.7);
}


/* =========================================================
   INTRO
========================================================= */

.intro-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.intro-text h2 {

    margin-bottom: 25px;

    color: var(--navy);

    font-family: "Montserrat";

    font-size:
        clamp(32px,4vw,52px);

    line-height: 1.1;
}

.intro-text p {

    margin-bottom: 18px;
}

.intro-image img {

    width: 100%;

    height: 600px;

    object-fit: cover;
}

.text-link {

    display: inline-flex;

    gap: 10px;

    margin-top: 15px;

    color: var(--navy);

    font-weight: 700;

    border-bottom:
        2px solid var(--royal-blue);

    padding-bottom: 5px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.product-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 25px;
}

.product-card {

    background: var(--white);

    border:
        1px solid var(--border);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.product-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 20px 50px
        rgba(12,13,50,.10);
}

.product-image {

    overflow: hidden;
}

.product-image img {

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    transition:
        transform .5s ease;
}

.product-card:hover
.product-image img {

    transform:
        scale(1.05);
}

.product-content {

    padding: 30px;
}

.product-number {

    color: var(--orange);

    font-family: "Montserrat";

    font-weight: 800;

    font-size: 13px;
}

.product-content h3 {

    margin: 10px 0 12px;

    color: var(--navy);

    font-family: "Montserrat";

    font-size: 22px;
}

.product-content p {

    margin-bottom: 15px;
}

.section-button {

    margin-top: 45px;

    text-align: center;
}


/* =========================================================
   MATERIALS
========================================================= */

.materials-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 20px;
}

.material-card {

    position: relative;

    min-height: 350px;

    overflow: hidden;
}

.material-card-wide {

    grid-column:
        1 / -1;

    min-height: 420px;
}

.material-card img {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease;
}

.material-card:hover img {

    transform:
        scale(1.05);
}

.material-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 35px;

    background:
        linear-gradient(
            transparent,
            rgba(12,13,50,.82)
        );

    color: var(--white);
}

.material-overlay h3 {

    font-family: "Montserrat";

    font-size: 28px;

    margin-bottom: 8px;
}

.material-overlay a {

    color: var(--royal-blue);

    font-weight: 700;
}


/* =========================================================
   BENEFITS
========================================================= */

.benefits-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 35px;
}

.benefit {

    padding:
        35px 25px;

    border-top:
        1px solid var(--steel-blue);
}

.benefit-icon {

    margin-bottom: 25px;

    color: var(--orange);

    font-family: "Montserrat";

    font-size: 28px;

    font-weight: 800;
}

.benefit h3 {

    margin-bottom: 12px;

    color: var(--white);

    font-family: "Montserrat";
}

.benefit p {

    color: var(--steel-blue);
}


/* =========================================================
   PROJECTS
========================================================= */

.project-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 25px;
}

.project-card {

    position: relative;

    overflow: hidden;

    background: var(--navy);
}

.project-card img {

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    transition:
        transform .5s ease;
}

.project-card:hover img {

    transform:
        scale(1.06);
}

.project-content {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    padding: 30px;

    color: var(--white);

    background:
        linear-gradient(
            transparent,
            rgba(12,13,50,.92)
        );
}

.project-content span {

    color: var(--orange);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.project-content h3 {

    margin:
        7px 0 10px;

    font-family: "Montserrat";

    font-size: 21px;
}

.project-content a {

    color: var(--white);

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   SERVICES
========================================================= */

.services-layout {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.services-image img {

    width: 100%;

    height: 650px;

    object-fit: cover;
}

.services-content h2 {

    margin-bottom: 25px;

    color: var(--navy);

    font-family: "Montserrat";

    font-size:
        clamp(32px,4vw,50px);

    line-height: 1.1;
}

.service-list {

    margin-top: 35px;
}

.service-item {

    display: grid;

    grid-template-columns:
        55px 1fr;

    gap: 15px;

    padding:
        20px 0;

    border-bottom:
        1px solid var(--border);
}

.service-item > span {

    color: var(--orange);

    font-family: "Montserrat";

    font-weight: 800;
}

.service-item h3 {

    margin-bottom: 5px;

    color: var(--navy);

    font-family: "Montserrat";

    font-size: 18px;
}

.service-item p {

    font-size: 14px;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    grid-auto-rows: 250px;

    gap: 12px;
}

.gallery-item {

    overflow: hidden;
}

.gallery-item img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease;
}

.gallery-item:hover img {

    transform:
        scale(1.05);
}

.gallery-large {

    grid-row:
        span 2;
}


/* =========================================================
   VIDEO
========================================================= */

.video-section {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    text-align: center;
}

.video-background,
.video-background img {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.video-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(12,13,50,.72);
}

.video-content {

    position: relative;

    z-index: 2;

    max-width: 750px;

    padding: 30px;
}

.video-content h2 {

    margin-bottom: 20px;

    color: var(--white);

    font-family: "Montserrat";

    font-size:
        clamp(35px,5vw,60px);

    line-height: 1.1;
}

.video-content p {

    margin-bottom: 30px;

    color: var(--steel-blue-light);
}

.video-button {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    color: var(--white);

    font-family: "Montserrat";

    font-weight: 700;
}

.play-icon {

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: var(--navy);

    background: var(--royal-blue);
}


/* =========================================================
   QUOTE
========================================================= */

.quote-section {

    background:
        var(--cool-light-blue);
}

.quote-grid {

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 80px;

    align-items: start;
}

.quote-information h2 {

    margin-bottom: 25px;

    color: var(--navy);

    font-family: "Montserrat";

    font-size:
        clamp(35px,4vw,55px);

    line-height: 1.1;
}

.quote-points {

    margin-top: 40px;
}

.quote-points div {

    display: flex;

    align-items: center;

    gap: 20px;

    padding:
        18px 0;

    border-bottom:
        1px solid var(--steel-blue-light);
}

.quote-points strong {

    color: var(--royal-blue);

    font-family: "Montserrat";

    font-size: 20px;
}


/* Form */

.quote-form-container {

    padding: 40px;

    background: var(--white);

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.08);
}

.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}

.form-group {

    margin-bottom: 20px;
}

.form-group label {

    display: block;

    margin-bottom: 8px;

    color: var(--navy);

    font-size: 13px;

    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {

    width: 100%;

    padding:
        14px 15px;

    border:
        1px solid var(--steel-blue-light);

    outline: none;

    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    border-color:
        var(--royal-blue);
}

.form-hidden {

    position: absolute;

    left: -9999px;

    width: 1px;

    height: 1px;

    overflow: hidden;
}

.form-submit {

    width: 100%;

    border: none;
}

.form-message {

    margin-top: 15px;

    font-size: 14px;
}


/* =========================================================
   CONTACT CTA
========================================================= */

.contact-cta {

    padding:
        70px 0;

    background:
        var(--royal-blue);
}

.contact-cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.contact-cta span {

    color: var(--navy);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.contact-cta h2 {

    margin-top: 8px;

    color: var(--navy);

    font-family: "Montserrat";

    font-size: 34px;
}

.contact-cta-buttons {

    display: flex;

    gap: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    color: var(--steel-blue);

    background:
        var(--navy);
}

.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    padding:
        80px 0;
}

.footer-logo {

    margin-bottom: 15px;

    color: var(--white);

    font-family: "Montserrat";

    font-size: 24px;

    font-weight: 800;
}

.footer-column h3 {

    margin-bottom: 20px;

    color: var(--white);

    font-family: "Montserrat";

    font-size: 15px;
}

.footer-column a {

    display: block;

    margin-bottom: 10px;

    font-size: 13px;
}

.footer-column a:hover {

    color: var(--royal-blue);
}

.footer-bottom {

    border-top:
        1px solid #27304A;
}

.footer-bottom-inner {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding:
        20px 0;

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 15px;
    }

    .header-cta {
        display: none;
    }

    .benefits-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

}


@media (max-width: 900px) {

    .main-nav {

        position: absolute;

        top: 90px;

        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding:
            20px;

        background:
            var(--navy);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {

        width: 100%;

        padding:
            14px 0;

        border-bottom:
            1px solid #27304A;
    }

    .menu-toggle {
        display: block;
    }

    .intro-grid,
    .services-layout,
    .quote-grid {
        grid-template-columns:
            1fr;
    }

    .intro-image img,
    .services-image img {
        height: 500px;
    }

    .product-grid,
    .project-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .footer-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

}


@media (max-width: 650px) {

    .container {
        width:
            min(
                calc(100% - 30px),
                var(--container)
            );
    }

    .section {
        padding:
            75px 0;
    }

    .product-grid,
    .project-grid,
    .materials-grid,
    .benefits-grid,
    .footer-grid {

        grid-template-columns:
            1fr;
    }

    .material-card-wide {
        grid-column:
            auto;
    }

    .gallery-grid {

        grid-template-columns:
            1fr 1fr;

        grid-auto-rows:
            180px;
    }

    .gallery-large {
        grid-row:
            span 1;
    }

    .form-row {
        grid-template-columns:
            1fr;
    }

    .quote-form-container {
        padding: 25px;
    }

    .contact-cta-inner {
        flex-direction: column;

        align-items:
            flex-start;
    }

    .footer-bottom-inner {
        flex-direction: column;
    }

}


/* =========================================================
   REPLACEMENT NAVIG
========================================================= */



/* ============================================================
   RESET
============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        "Open Sans",
        Arial,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.6;

}


/* ============================================================
   LINKS
============================================================ */

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   CONTAINER
============================================================ */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;

}


/* ============================================================
   HEADER
============================================================ */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(17, 17, 17, 0.98);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;

}


/* Header after scrolling */

.site-header.scrolled {

    background: rgba(17, 17, 17, 1);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.18);

}


/* ============================================================
   HEADER CONTAINER
============================================================ */

.header-container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    min-height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* ============================================================
   LOGO
============================================================ */

.site-logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

    position: relative;

    z-index: 10001;

}


.site-logo img {

    display: block;

    width: auto;

    max-width: 190px;

    max-height: 60px;

    object-fit: contain;

}


/* ============================================================
   MAIN NAVIGATION
============================================================ */

.main-nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 3px;

    height: 100%;

}


/* ============================================================
   NORMAL NAVIGATION LINKS
============================================================ */

.nav-link {

    position: relative;

    display: flex;

    align-items: center;

    height: 82px;

    padding: 0 13px;

    color: var(--white);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        background 0.25s ease;

}


.nav-link:hover,
.nav-link:focus-visible {

    color: var(--royal-blue);

}


/* ============================================================
   DROPDOWN PARENT
============================================================ */

.nav-dropdown {

    position: relative;

    height: 82px;

    display: flex;

    align-items: center;

}


/* ============================================================
   DROPDOWN BUTTON
============================================================ */

.nav-dropdown-toggle {

    height: 82px;

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 0 13px;

    border: 0;

    outline: none;

    background: transparent;

    color: var(--white);

    cursor: pointer;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        background 0.25s ease;

}


.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {

    color: var(--royal-blue);

}


/* ============================================================
   DROPDOWN ARROW
============================================================ */

.dropdown-arrow {

    display: inline-block;

    font-size: 13px;

    line-height: 1;

    transition:
        transform 0.25s ease;

}


/* Rotate arrow */

.nav-dropdown.active
.dropdown-arrow {

    transform: rotate(180deg);

}


/* ============================================================
   DESKTOP DROPDOWN
============================================================ */

.dropdown-menu {

    position: absolute;

    top: 100%;

    left: 50%;

    width: 250px;

    padding: 8px 0;

    margin: 0;

    background: var(--white);

    border-top: 3px solid var(--royal-blue);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.16);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translate(-50%, 10px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

}


/* ============================================================
   DESKTOP DROPDOWN OPEN
============================================================ */

@media (min-width: 901px) {

    .nav-dropdown:hover
    .dropdown-menu,

    .nav-dropdown:focus-within
    .dropdown-menu,

    .nav-dropdown.active
    .dropdown-menu {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translate(-50%, 0);

    }

}


/* ============================================================
   DROPDOWN LINKS
============================================================ */

.dropdown-menu a {

    display: flex;

    align-items: center;

    min-height: 45px;

    padding: 10px 20px;

    color: var(--text);

    font-family:
        "Open Sans",
        Arial,
        sans-serif;

    font-size: 14px;

    font-weight: 600;

    border-bottom:
        1px solid #F1F5F9;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;

}


.dropdown-menu a:last-child {

    border-bottom: none;

}


.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {

    background: #EDF4FA;

    color: var(--royal-blue-dark);

    padding-left: 25px;

}


/* ============================================================
   REQUEST QUOTE BUTTON
============================================================ */

.header-quote {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    margin-left: 8px;

    padding: 0 18px;

    background: var(--royal-blue);

    color: var(--navy);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.3px;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

}


.header-quote:hover,
.header-quote:focus-visible {

    background: var(--white);

    color: var(--navy);

    transform: translateY(-1px);

}


/* ============================================================
   MOBILE MENU BUTTON
============================================================ */

.menu-toggle {

    display: none;

    width: 46px;

    height: 46px;

    padding: 9px;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    position: relative;

    z-index: 10002;

}


.menu-toggle span {

    display: block;

    width: 27px;

    height: 2px;

    background: var(--white);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

}


/* ============================================================
   MOBILE MENU BUTTON → X
============================================================ */

.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}


/* ============================================================
   TABLET / MOBILE
============================================================ */

@media (max-width: 1100px) {

    .header-container {

        width:
            calc(100% - 30px);

    }


    .site-logo img {

        max-width: 165px;

    }


    .nav-link,
    .nav-dropdown-toggle {

        padding-left: 8px;

        padding-right: 8px;

        font-size: 12px;

    }


    .header-quote {

        padding-left: 12px;

        padding-right: 12px;

        font-size: 11px;

    }

}


/* ============================================================
   MOBILE NAVIGATION
============================================================ */

@media (max-width: 900px) {

    .site-header {

        position: fixed;

    }


    .header-container {

        min-height: 72px;

        width:
            calc(100% - 30px);

    }


    .site-logo img {

        max-width: 155px;

        max-height: 52px;

    }


    /* Show hamburger */

    .menu-toggle {

        display: flex;

    }


    /* ========================================================
       MOBILE MAIN NAV
    ====================================================== */

    .main-nav {

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        height: auto;

        max-height:
            calc(100vh - 72px);

        overflow-y: auto;

        padding: 10px 15px 20px;

        background: var(--navy);

        display: none;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;

        gap: 0;

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.25);

    }


    /* Open mobile menu */

    .main-nav.active {

        display: flex;

    }


    /* ========================================================
       MOBILE NORMAL LINKS
    ====================================================== */

    .nav-link {

        width: 100%;

        height: auto;

        min-height: 50px;

        padding:
            14px 10px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.08);

        font-size: 14px;

    }


    /* ========================================================
       MOBILE DROPDOWN PARENT
    ====================================================== */

    .nav-dropdown {

        width: 100%;

        height: auto;

        display: block;

    }


    /* ========================================================
       MOBILE DROPDOWN BUTTON
    ====================================================== */

    .nav-dropdown-toggle {

        width: 100%;

        height: auto;

        min-height: 50px;

        padding:
            14px 10px;

        justify-content: space-between;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.08);

        font-size: 14px;

        text-align: left;

    }


    /* ========================================================
       MOBILE DROPDOWN
    ====================================================== */

    .dropdown-menu {

        position: static;

        width: 100%;

        padding: 0;

        margin: 0;

        border-top: none;

        background: var(--navy-3);

        box-shadow: none;

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: none;

        display: none;

    }


    /* OPEN DROPDOWN */

    .nav-dropdown.active
    .dropdown-menu {

        display: block;

    }


    /* ========================================================
       MOBILE DROPDOWN LINKS
    ====================================================== */

    .dropdown-menu a {

        min-height: 45px;

        padding:
            11px 25px;

        color: #F1F5F9;

        font-size: 13px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.07);

    }


    .dropdown-menu a:hover,
    .dropdown-menu a:focus-visible {

        padding-left: 30px;

        background: #20254A;

        color: var(--royal-blue);

    }


    /* ========================================================
       MOBILE QUOTE
    ====================================================== */

    .header-quote {

        width: 100%;

        min-height: 48px;

        margin:
            15px 0 0;

        padding:
            13px 15px;

        font-size: 12px;

    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .header-container {

        width:
            calc(100% - 24px);

    }


    .site-logo img {

        max-width: 140px;

    }


    .main-nav {

        padding-left: 10px;

        padding-right: 10px;

    }

}


/* ============================================================
   PAGE PLACEHOLDER
   Remove this when your existing homepage content is inserted.
============================================================ */

.page-placeholder {

    min-height: 100vh;

    padding-top: 180px;

    padding-bottom: 100px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("../images/hero/hero-01-desktop.webp")
        center / cover no-repeat;

    color: var(--white);

    text-align: center;

}


.page-placeholder .container {

    max-width: 900px;

}


.page-placeholder h1 {

    margin: 0 0 20px;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size:
        clamp(32px, 5vw, 62px);

    line-height: 1.1;

}


.page-placeholder p {

    font-size: 18px;

}


/* ============================================================
   ACCESSIBILITY
============================================================ */

button:focus-visible,
a:focus-visible {

    outline:
        2px solid var(--royal-blue);

    outline-offset: 3px;

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

    }

}



/* ============================================================
   HEADER COLOR REFINEMENT
   White logo/navigation + white quote button
   using the KK Peprah construction palette
============================================================ */

.site-header,
.site-header.scrolled {
    background: rgba(12, 13, 50, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(12, 13, 50, 0.28);
}

/* Logo */
.site-logo,
.site-logo:visited {
    color: var(--white);
}

/*
   The logo image is kept untouched so the source JPG is not distorted.
   If the logo asset itself is a transparent white logo, it will display
   white against the Deep Navy header automatically.
*/
.site-logo img {
    opacity: 1;
}

/* Main navigation */
.nav-link,
.nav-dropdown-toggle {
    color: var(--white);
}

.nav-dropdown-toggle {
    position: relative;
}

.nav-link::after,
.nav-dropdown-toggle::after {
    position: absolute;
    content: "";
    left: 13px;
    right: 13px;
    bottom: 17px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
    color: var(--orange);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-dropdown:hover > .nav-dropdown-toggle::after,
.nav-dropdown:focus-within > .nav-dropdown-toggle::after,
.nav-dropdown.active > .nav-dropdown-toggle::after {
    transform: scaleX(1);
}

/* Active navigation state */
.nav-link.active,
.nav-dropdown.active > .nav-dropdown-toggle {
    color: var(--orange);
}

/* Dropdown arrow */
.dropdown-arrow {
    color: currentColor;
}

/* Dropdown menu */
.dropdown-menu {
    background: var(--white);
    border-top-color: var(--royal-blue);
    box-shadow: 0 18px 40px rgba(12, 13, 50, 0.20);
}

.dropdown-menu a {
    color: var(--charcoal);
    border-bottom-color: var(--border);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: var(--cool-light-blue);
    color: var(--royal-blue);
}

/* Request a Quote — white button */
.header-quote {
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--white);
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(12, 13, 50, 0.18);
}

.header-quote:hover,
.header-quote:focus-visible {
    color: var(--white);
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.30);
    transform: translateY(-2px);
}

/* Mobile menu icon */
.menu-toggle span {
    background: var(--white);
}

.menu-toggle:hover span,
.menu-toggle:focus-visible span {
    background: var(--orange);
}

/* Mobile navigation */
@media (max-width: 900px) {

    .main-nav {
        background: var(--navy);
        border-top: 1px solid rgba(255, 255, 255, 0.10);
        box-shadow: 0 15px 35px rgba(12, 13, 50, 0.30);
    }

    .nav-link,
    .nav-dropdown-toggle {
        color: var(--white);
        border-bottom-color: rgba(255, 255, 255, 0.10);
    }

    .nav-link::after,
    .nav-dropdown-toggle::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link:focus-visible,
    .nav-dropdown-toggle:hover,
    .nav-dropdown-toggle:focus-visible,
    .nav-link.active,
    .nav-dropdown.active > .nav-dropdown-toggle {
        color: var(--orange);
        background: rgba(249, 115, 22, 0.08);
    }

    .dropdown-menu {
        background: var(--navy-2);
        border-top: 0;
        box-shadow: none;
    }

    .dropdown-menu a {
        color: var(--white);
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:focus-visible {
        background: rgba(29, 78, 216, 0.18);
        color: var(--orange);
    }

    .header-quote {
        color: var(--navy);
        background: var(--white);
        border-color: var(--white);
    }

    .header-quote:hover,
    .header-quote:focus-visible {
        color: var(--white);
        background: var(--royal-blue);
        border-color: var(--royal-blue);
    }
}

/* Keyboard accessibility */
.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}


/* FINAL HEADER OVERRIDES: white background with brand navy text */
.site-header,
.site-header.scrolled {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(12, 13, 50, 0.12) !important;
    box-shadow: 0 3px 18px rgba(12, 13, 50, 0.08);
}
.site-header .nav-link,
.site-header .nav-dropdown-toggle,
.site-header .site-logo,
.site-header .header-contact,
.site-header .header-contact a,
.site-header .header-phone,
.site-header .header-email {
    color: #0C0D32 !important;
}
.site-header .header-quote {
    background: #0C0D32 !important;
    color: #FFFFFF !important;
    border-color: #0C0D32 !important;
}
.site-header .menu-toggle,
.site-header .menu-toggle span,
.site-header .menu-toggle i {
    color: #0C0D32 !important;
    background-color: #0C0D32;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-dropdown-toggle:hover,
.site-header .nav-dropdown-toggle:focus-visible,
.site-header .nav-link.active {
    color: #1D4ED8 !important;
}
@media (max-width: 900px) {
    .site-header .main-nav {
        background: #FFFFFF !important;
        border-top: 1px solid rgba(12, 13, 50, 0.12) !important;
    }
    .site-header .nav-link,
    .site-header .nav-dropdown-toggle {
        color: #0C0D32 !important;
        border-bottom-color: rgba(12, 13, 50, 0.10) !important;
    }
}

/* ============================================================
   RESPONSIVE HEADER + NAVIGATION REFINEMENT
   Tablet and mobile: compact fixed header, accessible slide-down menu
============================================================ */
@media (max-width: 1100px) {
    .site-header,
    .site-header.scrolled {
        background: #FFFFFF !important;
        color: #0C0D32 !important;
        box-shadow: 0 3px 16px rgba(12, 13, 50, 0.10);
        border-bottom: 1px solid rgba(12, 13, 50, 0.12);
    }

    .site-header .header-container {
        width: calc(100% - 28px);
        min-height: 78px;
        gap: 12px;
    }

    .site-header .site-logo {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        max-width: calc(100% - 62px);
    }

    .site-header .site-logo img {
        display: block;
        width: auto;
        max-width: min(190px, 100%);
        max-height: 58px;
        height: auto;
        object-fit: contain;
    }

    /* The full desktop link row is replaced by a touch-friendly menu. */
    .site-header .menu-toggle {
        display: flex !important;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        padding: 9px;
        margin-left: auto;
        border: 1px solid rgba(12, 13, 50, 0.16);
        border-radius: 6px;
        background: #FFFFFF !important;
        color: #0C0D32 !important;
        align-items: center;
        justify-content: center;
        gap: 5px;
        z-index: 10002;
        -webkit-tap-highlight-color: transparent;
    }

    .site-header .menu-toggle span {
        width: 25px;
        height: 2px;
        border-radius: 2px;
        background: #0C0D32 !important;
    }

    .site-header .menu-toggle:focus-visible {
        outline: 3px solid #1D4ED8;
        outline-offset: 3px;
    }

    .site-header .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 78px);
        max-height: calc(100dvh - 78px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 18px max(22px, env(safe-area-inset-bottom));
        margin: 0;
        background: #FFFFFF !important;
        border-top: 1px solid rgba(12, 13, 50, 0.12);
        box-shadow: 0 14px 24px rgba(12, 13, 50, 0.14);
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .site-header .main-nav.active {
        display: flex !important;
    }

    .site-header .main-nav > .nav-link,
    .site-header .nav-dropdown-toggle {
        display: flex;
        width: 100%;
        min-height: 48px;
        height: auto;
        align-items: center;
        justify-content: space-between;
        padding: 13px 8px;
        margin: 0;
        color: #0C0D32 !important;
        background: #FFFFFF;
        border: 0;
        border-bottom: 1px solid rgba(12, 13, 50, 0.10);
        border-radius: 0;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        text-align: left;
        text-decoration: none;
        box-shadow: none;
        cursor: pointer;
    }

    .site-header .nav-dropdown {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .site-header .nav-dropdown-toggle::after,
    .site-header .nav-link::after {
        display: none !important;
    }

    .site-header .nav-dropdown-toggle .dropdown-arrow {
        margin-left: 12px;
        color: #1D4ED8;
        transition: transform 0.2s ease;
    }

    .site-header .nav-dropdown.active > .nav-dropdown-toggle .dropdown-arrow {
        transform: rotate(180deg);
    }

    .site-header .main-nav > .nav-link:hover,
    .site-header .main-nav > .nav-link:focus-visible,
    .site-header .nav-dropdown-toggle:hover,
    .site-header .nav-dropdown-toggle:focus-visible,
    .site-header .nav-link.active,
    .site-header .nav-dropdown.active > .nav-dropdown-toggle {
        color: #1D4ED8 !important;
        background: #E8F1F8 !important;
    }

    .site-header .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        max-height: none;
        padding: 4px 0 6px 12px;
        margin: 0;
        overflow: visible;
        background: #F7F9FC !important;
        border: 0;
        border-left: 2px solid #1D4ED8;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .site-header .nav-dropdown.active > .dropdown-menu {
        display: block !important;
    }

    .site-header .dropdown-menu a {
        display: flex;
        align-items: center;
        min-height: 44px;
        width: 100%;
        padding: 11px 12px;
        color: #252B33 !important;
        background: transparent;
        border: 0;
        border-bottom: 1px solid rgba(12, 13, 50, 0.07);
        font-size: 14px;
        line-height: 1.4;
        white-space: normal;
        text-decoration: none;
    }

    .site-header .dropdown-menu a:hover,
    .site-header .dropdown-menu a:focus-visible {
        color: #1D4ED8 !important;
        background: #E8F1F8 !important;
        padding-left: 16px;
    }

    .site-header .header-quote {
        display: flex;
        width: 100%;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        margin: 14px 0 4px;
        padding: 12px 16px;
        color: #FFFFFF !important;
        background: #0C0D32 !important;
        border: 1px solid #0C0D32 !important;
        border-radius: 4px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
    }

    .site-header .header-quote:hover,
    .site-header .header-quote:focus-visible {
        color: #FFFFFF !important;
        background: #1D4ED8 !important;
        border-color: #1D4ED8 !important;
    }

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

@media (max-width: 480px) {
    .site-header .header-container {
        width: calc(100% - 22px);
        min-height: 70px;
    }

    .site-header .site-logo {
        max-width: calc(100% - 56px);
    }

    .site-header .site-logo img {
        max-width: min(165px, 100%);
        max-height: 50px;
    }

    .site-header .menu-toggle {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .site-header .main-nav {
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        padding-right: 14px;
        padding-left: 14px;
    }
}

/* FINAL RESPONSIVE WIDTH GUARD: prevent tablet/mobile header overflow */
@media (max-width: 1100px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .site-header,
    .site-header.scrolled {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .site-header,
    .site-header * {
        box-sizing: border-box;
        min-width: 0;
    }

    .site-header .header-container {
        display: flex;
        width: calc(100% - 32px);
        max-width: 100%;
        margin-inline: auto;
        padding-inline: 0;
        gap: 10px;
    }

    .site-header .site-logo {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: calc(100% - 56px);
        overflow: hidden;
    }

    .site-header .site-logo img {
        width: auto;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .site-header .menu-toggle {
        flex: 0 0 46px;
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        margin-left: auto;
    }

    .site-header .main-nav {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header .nav-dropdown,
    .site-header .nav-dropdown-toggle,
    .site-header .dropdown-menu,
    .site-header .dropdown-menu a,
    .site-header .main-nav > .nav-link,
    .site-header .header-quote {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .site-header .header-container {
        width: calc(100% - 24px);
        gap: 8px;
    }

    .site-header .site-logo img {
        max-width: 100%;
        max-height: 48px;
    }

    .site-header .menu-toggle {
        flex-basis: 44px;
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
    }

    .site-header .main-nav {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* TABLET NAVIGATION TUNING — covers portrait tablets around 960–1032px wide */
@media (min-width: 901px) and (max-width: 1100px) {
    .site-header,
    .site-header.scrolled {
        width: 100%;
        max-width: 100vw;
        left: 0;
        right: 0;
        overflow: visible;
    }

    .site-header .header-container {
        width: calc(100% - 40px);
        max-width: 100%;
        min-height: 76px;
        height: auto;
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .site-header .site-logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 62px);
        overflow: hidden;
    }

    .site-header .site-logo img {
        max-width: min(205px, 100%);
        max-height: 54px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .site-header .menu-toggle {
        display: flex !important;
        flex: 0 0 46px;
        width: 46px;
        min-width: 46px;
        height: 46px;
        margin: 0 0 0 auto;
        padding: 10px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 1px solid rgba(12, 13, 50, .18);
        border-radius: 7px;
        background: #fff !important;
        color: #0C0D32 !important;
        cursor: pointer;
    }

    .site-header .menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        flex: 0 0 2px;
        margin: 0;
        background: #0C0D32 !important;
        border-radius: 2px;
    }

    .site-header .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 76px);
        max-height: calc(100dvh - 76px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 10px 22px max(22px, env(safe-area-inset-bottom));
        margin: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background: #fff !important;
        border-top: 1px solid rgba(12, 13, 50, .12);
        box-shadow: 0 14px 28px rgba(12, 13, 50, .16);
        box-sizing: border-box;
    }

    .site-header .main-nav.active {
        display: flex !important;
    }

    .site-header .main-nav > .nav-link,
    .site-header .main-nav .nav-dropdown-toggle {
        display: flex;
        width: 100%;
        min-height: 50px;
        height: auto;
        padding: 13px 10px;
        margin: 0;
        align-items: center;
        justify-content: space-between;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: left;
        color: #0C0D32 !important;
        background: #fff;
        border: 0;
        border-bottom: 1px solid rgba(12, 13, 50, .10);
        font-size: 15px;
        line-height: 1.4;
        box-sizing: border-box;
    }

    .site-header .nav-dropdown {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .site-header .nav-dropdown-toggle::after,
    .site-header .main-nav > .nav-link::after {
        display: none !important;
    }

    .site-header .dropdown-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        display: none;
        padding: 4px 0 6px 12px;
        margin: 0;
        overflow: visible;
        background: #F7F9FC !important;
        border: 0;
        border-left: 2px solid #1D4ED8;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-sizing: border-box;
    }

    .site-header .nav-dropdown.active > .dropdown-menu {
        display: block !important;
    }

    .site-header .dropdown-menu a {
        display: flex;
        width: 100%;
        min-height: 44px;
        padding: 11px 12px;
        white-space: normal;
        overflow-wrap: anywhere;
        color: #252B33 !important;
        border-bottom: 1px solid rgba(12, 13, 50, .08);
        box-sizing: border-box;
    }

    .site-header .main-nav .header-quote {
        display: flex;
        width: 100%;
        min-height: 50px;
        margin: 14px 0 4px;
        padding: 13px 16px;
        align-items: center;
        justify-content: center;
        white-space: normal;
        text-align: center;
        color: #fff !important;
        background: #0C0D32 !important;
        border: 1px solid #0C0D32;
        box-sizing: border-box;
    }
}

/* FINAL FIX: tablet navigation must expand as a full vertical panel */
@media (min-width: 901px) and (max-width: 1100px) {
  #siteHeader { z-index: 10000 !important; }
  #siteHeader .header-container { position: relative; }
  #mainNav,
  #mainNav.active {
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - 76px) !important;
    max-height: calc(100dvh - 76px) !important;
    display: none;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 10px 22px 24px !important;
    margin: 0 !important;
    background: #fff !important;
    border-top: 1px solid rgba(12,13,50,.12) !important;
    box-shadow: 0 14px 28px rgba(12,13,50,.16) !important;
  }
  #mainNav.active { display: flex !important; }
  #mainNav > .nav-link,
  #mainNav > .nav-dropdown,
  #mainNav > .header-quote { flex: 0 0 auto !important; width: 100% !important; }
  #mainNav > .nav-link,
  #mainNav .nav-dropdown-toggle {
    display: flex !important;
    width: 100% !important;
    min-height: 50px !important;
    height: auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 10px !important;
    white-space: normal !important;
    text-align: left !important;
    color: #0C0D32 !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(12,13,50,.10) !important;
  }
  #mainNav .nav-dropdown { display: block !important; position: static !important; }
  #mainNav .dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    padding: 4px 0 6px 12px !important;
    background: #F7F9FC !important;
    border-left: 2px solid #1D4ED8 !important;
    box-shadow: none !important;
  }
  #mainNav .nav-dropdown.active > .dropdown-menu { display: block !important; }
  #mainNav .dropdown-menu a { display: flex !important; min-height: 44px !important; width: 100% !important; white-space: normal !important; }
  #mainNav .header-quote { display: flex !important; margin: 14px 0 4px !important; justify-content: center !important; }
}

/* TABLET DROPDOWNS: behave exactly like the mobile accordion menu */
@media (min-width: 901px) and (max-width: 1100px) {
  #mainNav .nav-dropdown { position: static !important; width: 100% !important; min-width: 0 !important; }
  #mainNav .nav-dropdown-toggle { cursor: pointer !important; }
  #mainNav .nav-dropdown-toggle .dropdown-arrow { display: inline-block !important; margin-left: 12px !important; transition: transform .2s ease !important; }
  #mainNav .nav-dropdown.active > .nav-dropdown-toggle .dropdown-arrow { transform: rotate(180deg) !important; }
  #mainNav .dropdown-menu,
  #mainNav .nav-dropdown:hover > .dropdown-menu,
  #mainNav .nav-dropdown:focus-within > .dropdown-menu {
    position: static !important;
    inset: auto !important;
    float: none !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 4px 0 6px 12px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    background: #F7F9FC !important;
    border: 0 !important;
    border-left: 3px solid #1D4ED8 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  #mainNav .nav-dropdown.active > .dropdown-menu { display: block !important; }
  #mainNav .dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 46px !important;
    height: auto !important;
    padding: 11px 12px !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
    color: #252B33 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(12,13,50,.08) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
  #mainNav .dropdown-menu a:hover,
  #mainNav .dropdown-menu a:focus-visible { color: #1D4ED8 !important; background: #E8F1F8 !important; }
}

/* FIX: tablet accordion submenus must expand to show every child link */
@media (min-width: 901px) and (max-width: 1100px) {
  #mainNav {
    align-items: stretch !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  #mainNav > .nav-dropdown,
  #mainNav > .nav-dropdown.active,
  #mainNav .nav-dropdown.active {
    display: block !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    align-self: stretch !important;
  }
  #mainNav .nav-dropdown.active > .dropdown-menu {
    display: block !important;
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    contain: none !important;
  }
  #mainNav .dropdown-menu > li,
  #mainNav .dropdown-menu > a,
  #mainNav .dropdown-menu li {
    display: block !important;
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  #mainNav .dropdown-menu a {
    display: flex !important;
    min-height: 46px !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ============================================================
   COMPACT LAPTOP HEADER — 13–14 inch laptop viewport widths
   Keeps the logo, a clear quote CTA and an accessible menu visible.
   The menu opens as a full vertical panel to avoid cramped navigation.
============================================================ */
.header-quote-compact { display: none; }
@media (min-width: 1101px) and (max-width: 1800px) {
  #siteHeader { z-index: 10000; }
  #siteHeader .header-container {
    width: calc(100% - 48px) !important;
    max-width: 100% !important;
    min-height: 78px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    position: relative;
  }
  #siteHeader .site-logo { flex: 0 1 230px; min-width: 0; max-width: 230px; }
  #siteHeader .site-logo img { display: block; width: auto; max-width: 100%; max-height: 56px; height: auto; object-fit: contain; }
  #siteHeader #mainNav { display: none !important; }
  #siteHeader .header-quote-compact {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid #1D4ED8;
    border-radius: 5px;
    background: #1D4ED8;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    margin-left: auto;
  }
  #siteHeader .header-quote-compact:hover,
  #siteHeader .header-quote-compact:focus-visible { background: #0C0D32; border-color: #0C0D32; color: #FFFFFF !important; }
  #siteHeader .menu-toggle {
    display: flex !important;
    flex: 0 0 46px;
    width: 46px;
    min-width: 46px;
    height: 46px;
    margin: 0 0 0 2px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(12,13,50,.18);
    border-radius: 7px;
    background: #FFFFFF;
    cursor: pointer;
  }
  #siteHeader .menu-toggle span { display:block; width:23px; height:2px; flex:0 0 2px; margin:0; background:#0C0D32; border-radius:2px; }
  #siteHeader #mainNav.active {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100vh - 78px) !important;
    max-height: calc(100dvh - 78px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 10px 22px max(22px, env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: #FFFFFF !important;
    border-top: 1px solid rgba(12,13,50,.12);
    box-shadow: 0 15px 35px rgba(12,13,50,.2);
  }
  #siteHeader #mainNav > .nav-link,
  #siteHeader #mainNav .nav-dropdown-toggle {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(12,13,50,.10) !important;
    background: #FFFFFF !important;
    color: #0C0D32 !important;
    text-align: left !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
  #siteHeader #mainNav > .nav-dropdown { position: static !important; display: block !important; width: 100% !important; }
  #siteHeader #mainNav .dropdown-menu { display: none; position: static !important; transform: none !important; width: 100% !important; max-width: 100% !important; padding: 0 0 8px 12px !important; opacity: 1 !important; visibility: visible !important; box-shadow: none !important; background: #F7F9FC !important; }
  #siteHeader #mainNav .nav-dropdown.active > .dropdown-menu { display: block !important; }
  #siteHeader #mainNav .dropdown-menu a { display: block !important; width: 100% !important; padding: 11px 10px !important; color: #252B33 !important; white-space: normal !important; box-sizing: border-box !important; }
  #siteHeader #mainNav > .header-quote { display: flex !important; width: 100% !important; min-height: 48px !important; margin: 14px 0 4px !important; padding: 13px 16px !important; align-items: center !important; justify-content: center !important; color: #FFFFFF !important; background: #1D4ED8 !important; border: 1px solid #1D4ED8 !important; white-space: normal !important; box-sizing: border-box !important; }
}


/* MACBOOK / SMALL-DESKTOP HEADER FIX: switch to compact navigation before the quote CTA can be clipped. */
@media (min-width: 1351px) and (max-width: 1800px) {
  #siteHeader .header-container {
    width: calc(100% - 48px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 16px !important;
    box-sizing: border-box !important;
  }
  #siteHeader .site-logo { flex: 0 1 230px !important; min-width: 0 !important; max-width: 230px !important; }
  #siteHeader .site-logo img { max-width: 100% !important; height: auto !important; object-fit: contain !important; }
  #siteHeader #mainNav { display: none !important; }
  #siteHeader .header-quote-compact {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    margin-left: auto !important;
    padding: 12px 18px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  #siteHeader .menu-toggle {
    display: flex !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    min-width: 46px !important;
    margin-left: 2px !important;
  }
  #siteHeader #mainNav.active {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100vh - 78px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
  }
}


/* ============================================================
   DESKTOP HEADER FIT — preserve full desktop navigation
   Replaces the compact-nav treatment on desktop widths. The
   full logo, all navigation items, and complete quote CTA stay
   on one row without clipping. Tablet/mobile rules remain intact.
   ============================================================ */
@media (min-width: 1101px) {
  #siteHeader { width: 100%; max-width: 100%; overflow: visible !important; }
  #siteHeader .header-container {
    width: calc(100% - 32px) !important;
    max-width: 1800px !important;
    min-width: 0 !important;
    min-height: 82px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 8px 0 !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  #siteHeader .site-logo {
    display: flex !important;
    flex: 0 1 175px !important;
    width: 175px !important;
    min-width: 125px !important;
    max-width: 175px !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  #siteHeader .site-logo img {
    display: block !important;
    width: 100% !important;
    max-width: 175px !important;
    height: auto !important;
    object-fit: contain !important;
  }
  #siteHeader #mainNav {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(0px, .25vw, 5px) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  #siteHeader #mainNav > .nav-link,
  #siteHeader #mainNav > .nav-dropdown > .nav-dropdown-toggle {
    display: flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: 54px !important;
    min-height: 44px !important;
    padding: 0 clamp(3px, .42vw, 8px) !important;
    margin: 0 !important;
    font-size: clamp(10px, .82vw, 12px) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    border: 0 !important;
    background: transparent !important;
    color: #0C0D32 !important;
    box-sizing: border-box !important;
  }
  #siteHeader #mainNav > .nav-dropdown {
    position: relative !important;
    display: flex !important;
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 54px !important;
    align-items: center !important;
    overflow: visible !important;
  }
  #siteHeader #mainNav .nav-dropdown-toggle { gap: 4px !important; }
  #siteHeader #mainNav .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    width: 250px !important;
    min-width: 220px !important;
    max-width: min(280px, 90vw) !important;
    height: auto !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    box-shadow: 0 12px 28px rgba(12,13,50,.16) !important;
    z-index: 10002 !important;
  }
  #siteHeader #mainNav .nav-dropdown:hover > .dropdown-menu,
  #siteHeader #mainNav .nav-dropdown:focus-within > .dropdown-menu,
  #siteHeader #mainNav .nav-dropdown.active > .dropdown-menu { display: block !important; }
  #siteHeader #mainNav .dropdown-menu a {
    display: flex !important;
    width: 100% !important;
    min-height: 40px !important;
    height: auto !important;
    padding: 10px 16px !important;
    color: #252B33 !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
  #siteHeader #mainNav > .header-quote {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    min-height: 44px !important;
    height: auto !important;
    margin: 0 0 0 4px !important;
    padding: 11px clamp(9px, .85vw, 16px) !important;
    border: 1px solid #0C0D32 !important;
    border-radius: 4px !important;
    background: #0C0D32 !important;
    color: #FFFFFF !important;
    font-size: clamp(10px, .78vw, 12px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    text-align: center !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  #siteHeader .header-quote-compact { display: none !important; }
  #siteHeader .menu-toggle { display: none !important; }
}
/* Give wider desktop displays comfortable spacing and typography. */
@media (min-width: 1450px) {
  #siteHeader .site-logo { flex-basis: 195px !important; width: 195px !important; max-width: 195px !important; }
  #siteHeader .site-logo img { max-width: 195px !important; }
  #siteHeader #mainNav { gap: 3px !important; }
  #siteHeader #mainNav > .nav-link,
  #siteHeader #mainNav > .nav-dropdown > .nav-dropdown-toggle { font-size: 12px !important; padding-left: 7px !important; padding-right: 7px !important; }
  #siteHeader #mainNav > .header-quote { font-size: 12px !important; padding-left: 14px !important; padding-right: 14px !important; }
}
