/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--stone);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
}

.site-logo img,
.site-logo svg {
    height: 28px;
    width: auto;
}

.site-logo--light {
    color: var(--text-on-dark);
}

.site-nav {
    display: none;
}

.site-nav__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
}

.site-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    padding-bottom: 0.15rem;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--cta);
    border-bottom-color: var(--cta);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-header__phone {
    display: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.site-header__phone:hover {
    color: var(--cta);
}

.site-header__cta {
    display: none;
    min-height: 40px;
    padding: 0.5rem 0.95rem;
    font-size: 0.8125rem;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: var(--radius);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Drawer */
.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    visibility: hidden;
    pointer-events: none;
}

.nav-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.nav-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 24, 26, 0.45);
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-drawer.is-open .nav-drawer__overlay {
    opacity: 1;
}

.nav-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100%;
    background: var(--pine-deep);
    color: var(--text-on-dark);
    padding: 1.25rem 1.25rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.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;
    color: var(--text-on-dark);
    font-size: 1.5rem;
    line-height: 1;
}

.nav-drawer__list {
    display: grid;
    gap: 0.25rem;
}

.nav-drawer__list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(242, 243, 241, 0.12);
}

.nav-drawer__list a:hover {
    color: #fff;
}

.nav-drawer__phone {
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 600;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        display: block;
    }

    .site-header__phone {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

    .site-header__phone img {
        width: 16px;
        height: 16px;
    }

    .site-header__cta {
        display: inline-flex;
    }
}

/* Footer */
.site-footer {
    background: var(--pine-deep);
    color: var(--text-on-dark);
    padding: 3rem 0 2rem;
}

.site-footer a {
    color: rgba(242, 243, 241, 0.86);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
}

.site-footer__brand {
    display: grid;
    gap: 0.75rem;
}

.site-footer__brand p {
    font-size: 0.9375rem;
    color: rgba(242, 243, 241, 0.78);
    max-width: 22rem;
}

.site-footer__col h3 {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(242, 243, 241, 0.55);
    margin-bottom: 0.85rem;
}

.site-footer__col ul {
    display: grid;
    gap: 0.55rem;
}

.site-footer__col li,
.site-footer__col a,
.site-footer__col button {
    font-size: 0.9375rem;
    text-align: left;
}

.site-footer__cookie {
    color: rgba(242, 243, 241, 0.86);
    padding: 0;
    min-height: auto;
}

.site-footer__cookie:hover {
    color: #fff;
}

.site-footer__bottom {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(242, 243, 241, 0.14);
    font-size: 0.8125rem;
    color: rgba(242, 243, 241, 0.6);
    display: grid;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }

    .site-footer__bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
