/* Header — logo left, nav center, CTA right */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFBF5;
    border-bottom: 1px solid var(--border-light);
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: var(--header-h);
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    justify-self: start;
    min-width: 0;
}

.site-header__logo-img {
    display: block;
    height: 58px;
    width: auto;
    max-width: min(220px, 46vw);
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(23, 63, 71, 0.06));
}

.site-header__desktop-nav {
    justify-self: center;
}

.site-header__links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-header__links a {
    font-size: 1.0625rem; /* 17px */
    font-weight: 500;
    color: var(--teal);
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.2s;
}

.site-header__links a:hover,
.site-header__links a.is-active,
.site-header__links a[aria-current="page"] {
    color: var(--teal-dark);
}

.site-header__links a.is-active::after,
.site-header__links a[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--terracotta);
    border-radius: 1px;
}

.site-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    justify-self: end;
    grid-column: 3;
}

.site-header__social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.site-header__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(45, 100, 109, 0.4);
    color: var(--teal);
    background: var(--white);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.site-header__social-link:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--white);
}

.site-header__social-link svg {
    display: block;
}

.site-header__cta {
    justify-self: end;
}

.site-header__cta .btn {
    padding: 13px 22px;
    font-size: 1.0625rem; /* 17px */
    min-height: 50px;
}

.site-header__mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

.site-header__wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    border: 1.5px solid var(--teal);
    background: var(--white);
    transition: background 0.2s, border-color 0.2s;
}

.site-header__wa-btn:hover {
    background: var(--sage-light);
    border-color: var(--teal);
}

.site-header__wa-btn .wa-icon--header {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.site-header__cta-mobile {
    display: none;
    padding: 13px 16px;
    font-size: 1.0625rem; /* 17px */
    white-space: nowrap;
    min-height: 52px;
}

.site-header__cta-mobile svg {
    width: 14px;
    height: 14px;
}

.site-header__menu-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    background: var(--terracotta);
    border: none;
    cursor: pointer;
    padding: 10px;
}

.site-header__menu-btn span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

.site-header.is-menu-open .site-header__menu-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .site-header__menu-btn span:nth-child(2) {
    opacity: 0;
}

.site-header.is-menu-open .site-header__menu-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header__dropdown {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    padding: 28px 24px;
    overflow-y: auto;
    z-index: 999;
}

.site-header.is-menu-open .site-header__dropdown {
    display: block;
}

.site-header__dropdown-links {
    display: flex;
    flex-direction: column;
}

.site-header__dropdown-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    font-size: 1.125rem; /* 18px mobile */
    font-weight: 500;
    color: var(--teal-dark);
    border-bottom: 1px solid var(--border-light);
}

.site-header__dropdown-links a.is-active,
.site-header__dropdown-links a[aria-current="page"] {
    color: var(--terracotta);
}

.site-header__dropdown .btn {
    width: 100%;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .site-header__inner {
        grid-template-columns: 1fr auto;
    }

    .site-header__desktop-nav,
    .site-header__cta {
        display: none;
    }

    .site-header__right {
        grid-column: 2;
    }

    .site-header__menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .site-header__inner {
        padding: 0 20px;
    }

    .site-header__right {
        gap: 8px;
    }

    .site-header__social {
        gap: 6px;
    }

    .site-header__social-link {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .site-header__social-link svg {
        width: 14px;
        height: 14px;
    }

    .site-header__logo-img {
        height: 50px;
        max-width: min(180px, 42vw);
    }
}

@media (max-width: 400px) {
    .site-header__social-link {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .site-header__logo-img {
        max-width: min(150px, 36vw);
    }
}
