@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

.ct-header {
    --ct-header-width: 1200px;
    --ct-red: #c8102e;
    --ct-text: #090909;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--ct-text);
}

.ct-header *,
.ct-header *::before,
.ct-header *::after {
    box-sizing: border-box;
}

.ct-header a {
    color: inherit;
    text-decoration: none;
}

.ct-header__inner {
    width: min(calc(100% - 32px), var(--ct-header-width));
    margin: 0 auto;
}

.ct-header__topbar {
    min-height: 40px;
    background: var(--ct-red);
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    overflow: hidden;
    transition: min-height .25s ease, max-height .25s ease, opacity .2s ease;
    max-height: 40px;
}

.ct-header__topbar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: min-height .25s ease;
}

.ct-header.is-scrolled .ct-header__topbar {
    min-height: 0;
    max-height: 0;
    opacity: 0;
}

.ct-header.is-scrolled .ct-header__topbar-inner {
    min-height: 0;
}

.ct-header.is-scrolled {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
}

.ct-header-placeholder {
    display: block;
    width: 100%;
    height: 0;
}

.ct-header.is-scrolled {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
}

.ct-header-placeholder {
    display: block;
    width: 100%;
    height: 0;
}

.ct-header__location,
.ct-header__contacts,
.ct-header__contacts a {
    display: flex;
    align-items: center;
}

.ct-header__location,
.ct-header__contacts a {
    gap: 4px;
}

.ct-header__contacts {
    gap: 18px;
    font-weight: 400;
}

.ct-header__icon {
    display: inline-flex;
    flex: 0 0 auto;
}

.ct-header__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ct-header__icon svg path:nth-child(2),
.ct-header__icon-fill {
    fill: currentColor;
    stroke: none;
}

.ct-header__mainbar {
    min-height: 104px;
    background: #fff;
    border: 1px solid #ededed;
    border-top: 0;
}

.ct-header__main {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 42px;
}

.ct-header__brand {
    width: 110px;
    flex: 0 0 110px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.ct-header__brand img {
    display: block;
    width: 100%;
    max-height: 82px;
    object-fit: contain;
    object-position: left center;
}

.ct-header__brand-placeholder {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    font-size: 13px;
}

.ct-header__brand-placeholder strong {
    font-weight: 800;
}

.ct-header__brand-placeholder span {
    font-weight: 700;
}

.ct-header__nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.ct-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.ct-header__menu li {
    position: relative;
    margin: 0;
}

.ct-header__menu > li > a {
    display: block;
    padding: 12px 0;
    color: #050505;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.ct-header__menu > li > a:hover,
.ct-header__menu > li > a:focus,
.ct-header__menu > .current-menu-item > a,
.ct-header__menu > .current-menu-ancestor > a {
    color: var(--ct-red);
}

.ct-header__menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 210px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #fff;
    border-top: 3px solid var(--ct-red);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .18s ease;
}

.ct-header__menu .sub-menu a {
    display: block;
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 700;
}

.ct-header__menu li:hover > .sub-menu,
.ct-header__menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ct-header__cta {
    min-height: 48px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    border-radius: 4px;
    background: var(--ct-red);
    color: #fff !important;
    font-size: 18px;
    font-weight: 800;
    transition: transform .18s ease, background .18s ease;
}

.ct-header__cta:hover,
.ct-header__cta:focus {
    background: #a90d27;
    transform: translateY(-1px);
}

.ct-header__toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 0;
    box-shadow: none;
    color: var(--ct-red);
}

.ct-header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--ct-red);
    transition: transform .2s ease, opacity .2s ease;
}

.ct-header__toggle:hover,
.ct-header__toggle:focus,
.ct-header__toggle:focus-visible,
.ct-header__toggle:active {
    background: transparent !important;
    color: var(--ct-red) !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none;
}

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

.ct-header.is-menu-open .ct-header__toggle span:nth-child(2) {
    opacity: 0;
}

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

@media (max-width: 900px) {
    .ct-header__main {
        min-height: 82px;
    }

    .ct-header__mainbar {
        min-height: 82px;
    }

    .ct-header__brand {
        width: 96px;
        flex-basis: 96px;
    }

    .ct-header__toggle {
        display: block;
    }

    .ct-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    }

    .ct-header.is-menu-open .ct-header__nav {
        display: flex;
    }

    .ct-header__menu {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .ct-header__menu > li > a {
        padding: 12px 4px;
        border-bottom: 1px solid #eee;
    }

    .ct-header__menu .sub-menu {
        position: static;
        display: block;
        padding: 0 0 6px 14px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .ct-header__cta {
        min-height: 42px;
        font-size: 12px;
    }
}

@media (max-width: 560px) {
    .ct-header__topbar,
    .ct-header__topbar-inner {
        min-height: 40px;
    }

    .ct-header__location {
        display: none;
    }

    .ct-header__contacts {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
}
