.header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
}

.header__top-fone {
    width: 100%;
    height: 65px;
    background-color: #000000;
}

.header__top-2-fone {
    height: 46px;
    background-color: #181818;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.header__top--nav {
    padding-top: 0;
    height: 46px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo {
    width: 110px;
    height: auto;
    object-fit: contain;
}

.register__header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 5px;
    background: linear-gradient(180deg, #18a4b6 0%, #075864 100%);
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.register__header-link:hover {
    background: linear-gradient(180deg, #20b6ca 0%, #086673 100%);
    box-shadow: 0 0 18px rgba(0, 229, 236, 0.22);
    transform: translateY(-1px);
}

.head__address {
    position: relative;
    padding-left: 24px;
}

.head__address::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 17px;
    height: 20px;
    background: url("../images/road-help/icons/location.svg") center / contain no-repeat;
    filter: brightness(0) saturate(100%) invert(60%) sepia(96%) saturate(1819%) hue-rotate(134deg) brightness(105%) contrast(104%);
}

.head__address-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.2;
}

.head__address-text::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #00f5ff;
    position: absolute;
    bottom: -5px;
    left: 24px;
}

.menu,
.header__menu,
.header__menu-list {
    display: flex;
}

.menu__list {
    display: flex;
    gap: 0 26px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu__list-link,
.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 46px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

button.menu__list-link,
button.nav__link {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.menu__list-link::after,
.nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: calc(100% + 10px);
    height: 3px;
    background-color: #00e1e6;
    box-shadow: 0 0 16px rgba(36, 255, 178, 0.72);
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 0.12s ease;
}

.menu__list-link:hover,
.nav__link:hover {
    color: #ffffff;
}

.menu__list-link:hover::after,
.nav__link:hover::after,
.menu__list-link.active::after,
.nav__link.active::after,
.menu__list-item--drop.active .header-services-trigger::after {
    opacity: 1;
}

.menu__list-link.active,
.nav__link.active {
    color: #ffffff;
    font-weight: 600;
}

.nav__link,
.header-shop-link {
    color: #00e5ec;
}

.header-shop-link::after {
    display: none;
}

.header-shop-link:hover {
    color: #00f5ff;
}

.menu__list-item--drop {
    position: relative;
}

.header-services-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.header-services-trigger::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #00e5ec;
    transition: transform 0.25s ease;
}

.menu__list-item--drop.active .header-services-trigger::before {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    left: -6px;
    z-index: 100;
    width: max-content;
    min-width: 820px;
    color: #ffffff;
}

.menu__list-item--drop.active .dropdown-content {
    display: block;
}

.dropdown-content::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    height: 18px;
}

.header-services-menu {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.header-services-menu__list,
.header-services-panel {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.97), rgba(10, 13, 14, 0.86));
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
}

.header-services-menu__list {
    width: 430px;
    padding: 12px 18px;
    border-radius: 7px;
}

.header-services-menu__item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 47px;
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
    gap: 18px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.25;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 2px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-services-menu__item:last-child {
    border-bottom: 0;
}

.header-services-menu__item:hover,
.header-services-menu__item:focus-visible,
.header-services-menu__item.active {
    color: #00e5ec;
    background: linear-gradient(90deg, rgba(0, 229, 236, 0.13), rgba(255, 255, 255, 0.02));
    border-left-color: #00e5ec;
}

.header-services-menu__item--parent::after {
    content: "";
    position: absolute;
    top: 0;
    right: -8px;
    width: 10px;
    height: 100%;
}

.header-services-panel {
    position: relative;
    width: 430px;
    margin-top: 156px;
    padding: 20px 26px;
    border-radius: 7px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.header-services-menu:has(.header-services-menu__item--parent:hover) .header-services-panel,
.header-services-menu:has(.header-services-menu__item--parent:focus-visible) .header-services-panel,
.header-services-menu:has(.header-services-panel:hover) .header-services-panel,
.header-services-menu:has(.header-services-panel:focus-within) .header-services-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.header-services-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
}

.header-services-panel__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    color: #ffffff;
    padding: 10px 0;
}

.header-services-panel__item:hover .header-services-panel__title {
    color: #00e5ec;
}

.header-services-panel__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-services-panel__title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.header-services-panel__text {
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    line-height: 1.25;
}

.header-service-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
}

.header-service-icon img {
    display: block;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.header-services-menu__item:hover .header-service-icon img,
.header-services-menu__item.active .header-service-icon img,
.header-services-menu__item:focus-visible .header-service-icon img,
.header-services-panel__item:hover .header-service-icon img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(96%) saturate(1819%) hue-rotate(134deg) brightness(105%) contrast(104%);
    transform: scale(1.04);
}

.header-service-arrow {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.header-services-panel__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

.header-services-panel__icon img {
    max-width: 34px;
    max-height: 34px;
    filter: brightness(0) saturate(100%) invert(60%) sepia(96%) saturate(1819%) hue-rotate(134deg) brightness(105%) contrast(104%);
}

.menu__lang {
    display: flex;
    gap: 0 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu__lang-btn.active .menu__link-uk,
.menu__lang-btn.active .menu__link-ru {
    color: #ffffff;
    font-weight: 500;
}

.menu__link-uk,
.menu__link-ru {
    color: #808080;
    font-weight: 300;
}

.phone__link,
.phone__link-mobshino {
    position: relative;
    color: #ffffff;
    font-size: 18px;
    white-space: nowrap;
}

.phone__link::before,
.phone__link-mobshino::before {
    position: absolute;
    content: "";
    background-image: url("/assets/images/phone-2.svg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 19px;
    height: 20px;
    left: -27px;
    top: 1px;
}

.menu__btn {
    display: none;
    width: 40px;
    height: 26px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    border: 0;
    background: transparent;
    padding: 0;
}

.menu__btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
}

.menu__mobile-head,
.mobile-nav,
.mob__phone,
.menu__item-list--mob,
.header-mobile-services-wrap,
.header-mobile-links,
.header-mobile-contacts {
    display: none;
}

.menu__close-btn {
    cursor: pointer;
}

.menu__close-btn img {
    display: block;
}

.nav__dropdown {
    display: none;
}

.nav__item.active .nav__dropdown {
    display: flex;
    flex-direction: column;
}

.header__promo {
    display: flex;
    background-color: var(--primary-bg-promo-color);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.promo__container {
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.promo__label {
    background-color: #ffffff;
    color: var(--primary-text-promo-color);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
    margin-right: 5px;
}

.promo__text {
    font-size: 14px;
}

.icon-car {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-color: var(--primary-bg-promo-color);
    mask: url("/assets/images/road-help/icons/car.svg") center / contain no-repeat;
    -webkit-mask: url("/assets/images/road-help/icons/car.svg") center / contain no-repeat;
}

.icon-car-big {
    width: 46px;
    height: 46px;
    background-color: var(--rh-red);
}
