.cl-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(247, 249, 252, 0.98);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(12px);
}

.cl-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.cl-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cl-header__left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cl-header__logo-icon img {
    width: 28px;
    height: 28px;
    display: block;
}

.cl-header__brand-text {
    display: flex;
    flex-direction: column;
}

.cl-header__brand-main {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}

.cl-header__brand-sub {
    font-size: 11px;
    color: var(--cl-text-muted);
    line-height: 1.2;
}

.cl-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cl-nav {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cl-nav > li {
    position: relative;
}

.cl-nav li a {
    position: relative;
    font-size: 14px;
    color: var(--cl-secondary);
    font-weight: 500;
    text-transform: none;
    padding-bottom: 3px;
}

.cl-nav li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--cl-primary);
    transition: width 0.2s ease;
}

.cl-nav li a:hover::after,
.cl-nav li.current-menu-item a::after {
    width: 100%;
}

.cl-nav li.menu-item-has-children > a::after {
    content: "▾";
    position: static;
    display: inline-block;
    margin-left: 6px;
    width: auto;
    height: auto;
    background: none;
}

.cl-nav li.menu-item-has-children:hover > a::after {
    transform: translateY(1px);
}

.cl-nav li .sub-menu {
    position: absolute;
    top: 130%;
    left: 0;
    min-width: 200px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--cl-border);
    box-shadow: var(--cl-shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 60;
}

.cl-nav li .sub-menu li {
    padding: 0;
}

.cl-nav li .sub-menu a {
    display: block;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 400;
}

.cl-nav li .sub-menu a::after {
    display: none;
}

.cl-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cl-header__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cl-header__phone-link {
    font-weight: 500;
    color: var(--cl-secondary);
}

.cl-header__phone--small .cl-header__phone-link {
    font-size: 12px;
    line-height: 1.2;
}

.cl-header__caption {
    font-size: 11px;
    color: var(--cl-text-muted);
    line-height: 1.2;
}

.cl-burger {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--cl-border);
    background: #ffffff;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
}

.cl-burger span {
    width: 16px;
    height: 2px;
    background-color: var(--cl-secondary);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cl-burger--active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.cl-burger--active span:nth-child(2) {
    opacity: 0;
}

.cl-burger--active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.cl-header__mobile {
    display: none;
    border-top: 1px solid var(--cl-border);
    background-color: #ffffff;
}

.cl-nav-mobile {
    list-style: none;
    margin: 0;
    padding: 16px 24px;
}

.cl-nav-mobile li {
    margin-bottom: 8px;
}

.cl-nav-mobile a {
    display: block;
    padding: 8px 0;
    color: var(--cl-secondary);
}

.cl-nav-mobile .sub-menu {
    list-style: none;
    margin: 4px 0 0 12px;
    padding: 4px 0 0 8px;
    border-left: 1px solid var(--cl-border);
}

.cl-nav-mobile .sub-menu a {
    padding: 4px 0;
    font-size: 14px;
}

.cl-header__mobile-cta {
    padding: 0 24px 16px;
}

@media (max-width: 992px) {
    .cl-header__nav {
        display: none;
    }

    .cl-header__right {
        gap: 8px;
    }

    .cl-header__cta {
        display: none;
    }

    .cl-burger {
        display: inline-flex;
    }

    .cl-header__mobile.is-open {
        display: block;
    }
}

