﻿.top-bar {
    background: var(--brand-green);
    color: var(--brand-white);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(251, 212, 23, 0.18);
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--space-md);
        padding: 9px 0;
        flex-wrap: wrap;
    }

    .top-bar span {
        color: rgba(255, 255, 255, 0.82);
    }

    .top-bar strong {
        color: var(--brand-yellow);
    }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(4, 58, 13, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: var(--space-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
    color: var(--brand-green);
    font-weight: 900;
}

#site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--charcoal-soft);
    font-size: 0.96rem;
    flex: 1;
}

    #site-nav a {
        font-weight: 700;
        letter-spacing: 0.01em;
        color: var(--brand-green);
    }

        #site-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0;
            height: 2px;
            background: var(--brand-orange);
            transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
        }

        #site-nav a:hover,
        #site-nav a.is-active {
            color: var(--brand-orange);
        }

        #site-nav a:hover::after,
        #site-nav a.is-active::after {
            width: 100%;
        }

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

    .nav-dropdown > a {
        position: relative;
        display: inline-flex;
        align-items: center;
    }

        .nav-dropdown > a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 100%;
            height: 2px;
            background: var(--brand-orange);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.2s ease;
        }

        .nav-dropdown:hover > a::after,
        .nav-dropdown:focus-within > a::after,
        .nav-dropdown > a.is-active::after {
            transform: scaleX(1);
        }

.nav-dropdown-heading {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 10px;
    padding: 0 12px;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    min-width: 300px;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(4, 58, 13, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(4, 58, 13, 0.12);
    padding: 18px;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.nav-dropdown:last-child .nav-dropdown-menu,
.nav-dropdown:nth-last-child(2) .nav-dropdown-menu {
    left: auto;
    right: 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    white-space: normal;
    font-size: 0.95rem;
    line-height: 1.3;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

    .nav-dropdown-menu a + a {
        margin-top: 4px;
    }

    .nav-dropdown-menu a:hover {
        background: rgba(251, 212, 23, 0.16);
        color: var(--brand-green);
        padding-left: 16px;
    }

    .nav-dropdown-menu a.is-active {
        background: rgba(251, 212, 23, 0.2);
        color: var(--brand-orange);
        font-weight: 700;
    }

.nav-caret {
    font-size: 0.75em;
    margin-left: 4px;
}

.is-active {
    color: var(--gold-dark);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
    flex-shrink: 0;
}

.phone-link {
    font-weight: 750;
}

.mobile-menu-button {
    display: none;
    border: 0;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    background: var(--charcoal);
    color: var(--white);
    font-weight: 700;
}

footer {
    background: var(--brand-green);
}


.nav-dropdown-group-heading {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(4, 58, 13, 0.08);
}

    .nav-dropdown-group-heading:first-child {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }


.nav-dropdown-menu {
    min-width: 340px;
}

.nav-dropdown-group-heading {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(4,58,13,0.55);
}

.nav-dropdown-menu a {
    display: block;
    padding: 9px 0;
    line-height: 1.35;
}

    .nav-dropdown-menu a:hover {
        color: var(--brand-orange);
    }


.guides-dropdown .nav-dropdown-menu {
    min-width: 460px;
}

.guides-dropdown .nav-dropdown-menu {
    min-width: 460px;
}

    .guides-dropdown .nav-dropdown-menu a {
        white-space: normal;
    }


.nav-dropdown-featured-link {
    margin-bottom: 14px;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(4, 58, 13, 0.08);
    font-weight: 800;
    color: var(--brand-green);
}


.logo-image {
    height: 48px;
    width: auto;
    max-width: 260px;
    display: block;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: var(--space-md) 0;
}

#site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
    font-size: 0.94rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 1450px) {
    .phone-link {
        display: none;
    }
}

@media (max-width: 1280px) {
    #site-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .logo-image {
        height: 46px;
        max-width: 250px;
    }
}

.footer-logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.footer-grid--four {
    grid-template-columns: 1.25fr 1fr 1fr 0.9fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .footer-grid--four {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid--four {
        grid-template-columns: 1fr;
    }
}

footer .footer-grid.footer-grid--four {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 0.9fr;
}
