#headerContainer {
    display: block;
}
.site-header {
    position: relative;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    background: var(--main-white);
    transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 3px 18px rgba(16, 17, 22, 0.07);
}
body.mobile-menu-open .site-header {
    pointer-events: auto;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: var(--header-max-width);
    height: var(--header-height);
    margin: 0 auto;
    padding: 0 28px;
}
.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.header-logo img {
    width: 140px;
    height: auto;
    max-height: 42px;
}
.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 3.5vw, 52px);
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}
.header-nav a {
    color: var(--text-main);
    font-size: clamp(16px, 1.35vw, 18px);
    font-weight: 600;
    letter-spacing: -0.6px;
    transition: color 0.2s ease;
}
.header-nav a:hover {
    color: var(--brand-purple);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.header-phone,
.header-consult {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.header-phone {
    min-width: 120px;
    border: 1px solid var(--brand-purple);
    background: #FFFFFF;
    color: var(--brand-purple);
}
.header-phone:hover {
    background: var(--purple-tint);
}
.header-consult {
    min-width: 112px;
    border: 1px solid var(--brand-purple);
    background: var(--brand-purple);
    color: #FFFFFF;
}
.header-consult:hover {
    background: var(--deep-purple);
    border-color: var(--deep-purple);
}
.header-mobile-actions,
.mobile-nav {
    display: none;
}
@media (max-width: 768px) {
    .header-inner {
        gap: 16px;
        padding: 0 20px;
    }
    .header-logo img {
        width: 132px;
        max-height: none;
    }
    .header-nav,
    .header-actions {
        display: none;
    }
    .header-mobile-actions {
        display: flex;
        align-items: center;
        margin-left: auto;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        padding: 10px;
        border-radius: 8px;
        background: transparent;
    }
    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 2px;
        background: var(--text-main);
    }
    .menu-toggle:focus-visible {
        outline: 2px solid var(--brand-purple);
        outline-offset: 3px;
    }
    .mobile-nav {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1100;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.94);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }
    .mobile-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .mobile-nav-inner {
        display: flex;
        flex-direction: column;
        gap: clamp(12px, 3dvh, 24px);
        min-height: 100%;
        padding: calc(14px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom));
    }
    .mobile-nav-top {
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(139, 28, 140, 0.08);
    }
    .mobile-nav-logo {
        display: flex;
        align-items: center;
    }
    .mobile-nav-logo img {
        height: auto;
        width: 132px;
        object-fit: contain;
    }
    .mobile-nav-controls {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-top: 0;
    }
    .mobile-home,
    .mobile-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border-radius: 6px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    .mobile-home {
        background: transparent;
        color: var(--brand-purple);
    }
    .mobile-home:hover {
        background: var(--purple-light);
    }
    .mobile-close {
        background: transparent;
        color: #272A31;
    }
    .mobile-close:hover {
        background: #E7E4E9;
    }
    .mobile-home img,
    .mobile-close img {
        width: 24px;
        height: 24px;
    }
    .mobile-home:focus-visible,
    .mobile-close:focus-visible {
        outline: 2px solid var(--brand-purple);
        outline-offset: 3px;
    }
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        gap: 0;
        margin-top: 12px;
    }
    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 56px;
        padding: 14px 4px;
        border-bottom: 1px solid #EEEDEF;
        color: var(--text-main);
        font-size: 18px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: -0.3px;
        transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    }
    .mobile-nav-link:hover {
        color: var(--brand-purple);
    }
    .mobile-nav-link:focus-visible {
        outline: 2px solid var(--brand-purple);
        outline-offset: 3px;
    }
    .mobile-nav-link img {
        width: 24px;
        height: 24px;
        object-fit: contain;
        flex-shrink: 0;
    }
    .mobile-consult-box {
        flex-shrink: 0;
        margin-top: auto;
        padding: 20px;
        border-radius: 12px;
        background: #F7F7F9;
    }
    .mobile-consult-heading {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .mobile-consult-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border-radius: 13px;
        background: #FFFFFF;
    }
    .mobile-consult-icon img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }
    .mobile-consult-heading-text {
        min-width: 0;
    }
    .mobile-consult-label {
        display: block;
        margin-bottom: 4px;
        color: var(--brand-purple);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: -0.2px;
    }
    .mobile-consult-title {
        margin: 0;
        color: var(--text-main);
        font-size: 18px;
        font-weight: 600;
        letter-spacing: -0.3px;
        line-height: 1.4;
    }
    .mobile-consult-desc {
        margin: 16px 0;
        color: #55545B;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.65;
        letter-spacing: -0.3px;
    }
    .mobile-consult-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }
    .mobile-consult-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-height: 46px;
        padding: 10px 8px;
        border-radius: 9px;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: -0.4px;
        white-space: nowrap;
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }
    .mobile-consult-call {
        border: 1px solid #D5B3D8;
        background: #FFFFFF;
        color: var(--brand-purple);
    }
    .mobile-consult-call:hover {
        background: var(--purple-tint);
    }
    .mobile-consult-apply {
        border: 1px solid var(--brand-purple);
        background: var(--brand-purple);
        color: #FFFFFF;
    }
    .mobile-consult-apply:hover {
        background: var(--deep-purple);
    }
    body.mobile-menu-open {
        overflow: hidden;
    }
}
@media (max-width: 768px) and (max-height: 650px) {
    .mobile-nav-inner {
        gap: 12px;
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    .mobile-nav-links {
        gap: 0;
        margin-top: 8px;
    }
    .mobile-nav-link {
        min-height: 44px;
        padding: 10px 4px;
        font-size: 18px;
    }
    .mobile-nav-link img {
        width: 24px;
        height: 24px;
    }
    .mobile-consult-box {
        padding: 14px;
    }
    .mobile-consult-desc {
        margin: 8px 0;
        font-size: 12px;
        line-height: 1.5;
    }
    .mobile-consult-actions a {
        min-height: 44px;
        font-size: 14px;
    }
}
@media (max-width: 380px) {
    .header-inner {
        padding: 0 16px;
    }
    .header-logo img {
        width: 120px;
    }
    .mobile-nav-inner {
        padding: calc(14px + env(safe-area-inset-top)) 16px calc(26px + env(safe-area-inset-bottom));
    }
    .mobile-nav-logo img {
        width: 120px;
    }
    .mobile-nav-links {
        gap: 0;
        margin-top: 8px;
    }
    .mobile-consult-box {
        padding: 18px;
    }
    .mobile-consult-title {
        font-size: 17px;
    }
    .mobile-consult-desc {
        font-size: 12px;
    }
    .mobile-consult-actions a {
        font-size: 14px;
    }
}
@media (max-width: 768px) and (max-height: 650px) {
    .mobile-nav-inner {
        gap: 10px;
        padding-top: calc(8px + env(safe-area-inset-top));
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
    .mobile-nav-top {
        min-height: 44px;
        padding-bottom: 4px;
    }
    .mobile-consult-box {
        padding: 12px;
    }
    .mobile-consult-desc {
        display: none;
    }
    .mobile-consult-actions {
        margin-top: 12px;
    }
}
@media (max-width: 768px) and (max-height: 500px) {
    .mobile-nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
        margin-top: 0;
    }
    .mobile-nav-link {
        font-size: 16px;
    }
    .mobile-nav-link img {
        width: 24px;
        height: 24px;
    }
    .mobile-consult-heading {
        display: none;
    }
    .mobile-consult-actions {
        margin-top: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-header,
    .mobile-nav {
        transition: none;
    }
}
