
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 247, 242, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(6, 27, 39, .07);
}

.mobile-logo {
    height: 30px;
    width: auto;
    display: block;
}

.desktop-logo {
    display: none;
}

.nav {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}


.nav-toggle {
    border: 0;
    background: none;
    width: 34px;
    height: 34px;
    padding: 7px;
    display: grid;
    place-items: center
}

.nav-toggle img {
    width: 100%;
    height: 100%
}

.nav-links {
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 5px 5px 10px 5px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .13);
    max-height: calc(100vh - 78px);
    overflow: auto;
    overscroll-behavior: contain
}

.nav-links.open {
    display: flex
}

.nav-links>a,
.service-toggle {
    padding: 10px;
    border: 0;
    background: none;
    text-align: left;
    font-size: .9rem;
    font-weight: 500;
}



a.nav-cta {
    background: var(--burgundy) !important;
    color: #fff;
    border-radius: 99px;
    text-align: center !important;
    font-size: 0.8rem;
}

a.nav-cta:hover {
    background: var(--dark) !important;
}

.nav-service {
    position: relative;
    min-width: 0
}

.service-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    gap: 5px
}

.service-toggle img {
    width: 11px;
    height: 11px
}

.mega-menu {
    display: none;
    background: #F7F8FA;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .10);
    min-width: 0;
}

.nav-service.open .mega-menu {
    display: block;
}


/* MEGA MENU HEADER */

.mega-header {
    padding: 2px 2px 18px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 18px;
}

.mega-eyebrow {
    display: block;
    margin-bottom: 6px;
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8B1E3F;
}

.mega-header h3 {
    margin: 0;
    font-size: .82rem;
    line-height: 1.4;
    font-weight: 500;
    color: var(--ink);
}


/* FOUR COLUMNS */

.mega-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 18px;
}

.mega-column {
    min-width: 0;
}

.mega-column h4 {
    margin: 0 0 10px;
    font-size: .56rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8B1E3F;
}


/* SERVICE LINKS */

.mega-column a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 2px 5px;
    border-radius: 7px;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.mega-column a:hover {
    background: #fff;
    transform: translateX(2px);
}

.mega-column a img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 16px;
}

.mega-column a b {
    display: block;
    font-size: .85rem;
    line-height: 1.3;
    font-weight: 500;
    color: var(--ink);
}


/* FOOTER */

.mega-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding: 16px 2px 2px;
    border-top: 1px solid #E5E7EB;
}

.mega-footer strong {
    display: block;
    margin-bottom: 3px;
    font-size: .58rem;
    font-weight: 700;
    color: var(--ink);
}

.mega-footer span {
    font-size: .6rem;
    color: var(--muted);
}

.mega-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    font-size: .55rem;
    font-weight: 600;
    color: #8B1E3F;
    text-decoration: none;
}

.mega-footer-link span {
    font-size: .75rem;
    color: #8B1E3F;
}

@media (max-width: 767px) {
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 0;
        border-top: 1px solid #ece9e4;
        border-radius: 0;
        background: transparent;
        padding: 3px 0 2px;
        margin-top: 2px;
        max-height: 340px;
        overflow: auto;
        overscroll-behavior: contain
    }

    .mega-top {
        padding: 4px 8px 7px;
        margin-bottom: 1px
    }

    .mega-title {
        font-size: .62rem
    }

    .mega-menu .view-all {
        font-size: .48rem
    }

    .mega-list {
        grid-template-columns: 1fr;
        gap: 0
    }

    .mega-list a {
        padding: 8px 8px;
        gap: 9px;
        border-radius: 6px
    }

    .mega-list a img {
        width: 15px;
        height: 15px;
        flex-basis: 15px
    }

    .mega-list b {
        font-size: .56rem
    }
}


@media (min-width: 768px) {

    .nav {
        height: 66px
    }

    .nav-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
        max-height: none;
        overflow: visible
    }

    .nav-links>a,
    .service-toggle {
        padding: 0
    }

    .service-toggle {
        gap: 5px
    }

    .nav-cta {
        padding: 8px 12px !important
    }

    .mega-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mega-menu {
        position: fixed;
        top: 58px;
        left: 51%;
        right: auto;
        transform: translateX(-50%);
        width: min(900px, calc(100vw - 40px));
        box-sizing: border-box;
        z-index: 9999;
    }


    .mega-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-service:hover .mega-menu,
    .nav-service:focus-within .mega-menu {
        display: block !important
    }

    .mega-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 15px
    }

    .mega-list a {
        padding: 9px 5px
    }

    .mega-list b {
        font-size: .54rem
    }

}

@media (min-width: 1024px) {

    .nav {
        position: relative;
        height: 75px;
    }

    .mega-column a b {
        padding: 4px;
        font-size: 0.8rem;
    }

    .mega-menu {
        left: 55%;
        right: auto;
        transform: translateX(-50%);
        width: min(900px, calc(100vw - 40px));
        box-sizing: border-box;
        z-index: 9999;
         margin-top: 7px;
    }

    .mega-footer span {
        font-size: .75rem;
    }

    .desktop-logo {
        display: block;
        width: 120px;
        height: auto;
    }

    .mobile-logo {
        display: none;
        width: 10px;
    }
}

@media (min-width: 1200px) {
    a.nav-cta {
        font-size: 1rem;
    }

    .mega-list {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .mega-menu {
        width: min(760px, calc(100vw - 40px));
        left: 66%;
    }

    .container {
        max-width: 1180px
    }

}