/* === Header & footer === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad-x);
    gap: 1rem;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    height: 28px;
    width: auto;
}

.site-nav {
    display: none;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--teal);
    border-bottom-color: var(--teal);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-phone {
    display: none;
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.header-phone:hover {
    color: var(--teal);
}

.header-cta {
    display: none;
    min-height: 40px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8125rem;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--ink);
}

.nav-toggle__bars {
    position: relative;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

/* Mobile drawer */
.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    visibility: hidden;
}

.nav-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.nav-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 61, 62, 0.45);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.nav-drawer.is-open .nav-drawer__overlay {
    opacity: 1;
}

.nav-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(300px, 88vw);
    height: 100%;
    background: var(--surface);
    padding: 1.25rem;
    transform: translateX(-100%);
    transition: transform var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 4px 0 24px rgba(15, 61, 62, 0.12);
}

.nav-drawer.is-open .nav-drawer__panel {
    transform: translateX(0);
}

.nav-drawer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-drawer__close {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--ink);
}

.nav-drawer__links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.nav-drawer__links a {
    display: block;
    padding: 0.75rem 0.5rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.nav-drawer__links a:hover {
    background: var(--sage-soft);
    color: var(--teal);
}

body.nav-open {
    overflow: hidden;
}

/* Footer */
.site-footer {
    background: var(--ink);
    color: var(--text-on-dark);
    padding: 3rem 0 2rem;
}

.site-footer a {
    color: rgba(244, 247, 246, 0.85);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-brand a {
    color: var(--text-on-dark);
}

.footer-address {
    margin-top: 0.75rem;
}

.footer-col h3 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(244, 247, 246, 0.55);
    margin-bottom: 0.85rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col li,
.footer-col p {
    font-size: 0.875rem;
    color: rgba(244, 247, 246, 0.8);
    line-height: 1.5;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(244, 247, 246, 0.12);
    font-size: 0.8125rem;
    color: rgba(244, 247, 246, 0.55);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
}

.footer-bottom button {
    color: rgba(244, 247, 246, 0.85);
    font-size: 0.8125rem;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.footer-bottom button:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .header-phone {
        display: inline;
    }

    .header-cta {
        display: inline-flex;
    }
}
