/* Политика куки всплывашка */
.ah-cookie-notice {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 999999;

    width: min(680px, calc(100% - 48px));

    color: #ffffff;
    background: #151515;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.22),
        0 4px 14px rgba(0, 0, 0, 0.12);

    font-family: Montserrat, Arial, sans-serif;

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 18px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.ah-cookie-notice.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}

.ah-cookie-notice.is-hiding {
    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 18px);
}

.ah-cookie-notice__content {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px 18px;
}

.ah-cookie-notice__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;
    width: 42px;
    height: 42px;

    font-size: 25px;
    line-height: 1;

    background: rgba(234, 97, 40, 0.12);
    border-radius: 50%;
}

.ah-cookie-notice__text {
    min-width: 0;
    flex: 1;
}

.ah-cookie-notice__title {
    margin-bottom: 4px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.ah-cookie-notice__description {
    color: rgba(255, 255, 255, 0.72);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.ah-cookie-notice__link {
    display: inline-block;
    margin-left: 6px;

    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(234, 97, 40, 0.85);
    text-underline-offset: 3px;

    transition: color 0.2s ease;
}

.ah-cookie-notice__link:hover {
    color: #EA6128;
}

.ah-cookie-notice__accept {
    flex: 0 0 auto;

    min-width: 112px;
    min-height: 44px;
    padding: 11px 22px;

    color: #ffffff;
    background: #EA6128;

    border: 0;
    border-radius: 12px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ah-cookie-notice__accept:hover {
    background: #d9521d;

    box-shadow: 0 8px 22px rgba(234, 97, 40, 0.3);

    transform: translateY(-1px);
}

.ah-cookie-notice__accept:active {
    transform: translateY(0);
}

.ah-cookie-notice__accept:focus-visible,
.ah-cookie-notice__link:focus-visible {
    outline: 3px solid rgba(234, 97, 40, 0.38);
    outline-offset: 3px;
}

@media (max-width: 680px) {
    .ah-cookie-notice {
        left: 50%;
        right: auto;
        bottom: 12px;

        width: calc(100% - 24px);

        border-radius: 16px;

        transform: translate(-50%, 18px);
    }

    .ah-cookie-notice.is-visible {
        transform: translate(-50%, 0);
    }

    .ah-cookie-notice.is-hiding {
        transform: translate(-50%, 18px);
    }

    .ah-cookie-notice__content {
        display: grid;
        grid-template-columns: 38px 1fr;
        gap: 10px 12px;

        padding: 15px;
    }

    .ah-cookie-notice__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;

        font-size: 22px;
    }

    .ah-cookie-notice__accept {
        grid-column: 1 / -1;

        width: 100%;
        min-height: 46px;

        margin-top: 2px;
    }

    .ah-cookie-notice__title {
        font-size: 15px;
    }

    .ah-cookie-notice__description {
        font-size: 12px;
    }

    .ah-cookie-notice__link {
        margin-left: 3px;
    }
}

/*  */
.backGroundFilternew.active,
.backGroundFilternewReq.active {
    display: flex;
    z-index: 8888;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2.8499999046325684px);
}

.btnPodborAH {
    display: flex;
    width: max-content;
    padding: 4px 16px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    background: linear-gradient(90deg, #E0571E 0%, #C9440E 100%);
    color: #FFF;
    gap: 21px;
    font-family: Montserrat;
    font-size: 15px;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 500;
    height: 44px;
    line-height: 20px;
    box-sizing: border-box;
    transition: 0.24s;
}

.btnPodborAH:hover {
    background: linear-gradient(90deg, #f17640 0%, #d45624 100%);

}

.mainPopUpInfo,
.mainPopUpInfoReq {
    display: none;
    width: 100%;

    align-items: center;
    justify-content: center;
    position: fixed;
    top: 140px;
    z-index: 99988;
    left: 0;
}

.mainPopUpInfo.active,
.mainPopUpInfoReq.active {
    display: flex;
}



.inMainPopUpMain {
    display: flex;
    border-radius: 16px;
    background: #FFF;
    padding: 24px 28px;
    box-sizing: border-box;
    flex-direction: column;
    z-index: 99999;
}

.topAreaPopupHeader {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgb(219, 219, 219);
}

.titleAreaPopUp {
    display: flex;
    flex-direction: column;
    gap: 4px;

}

.titlePopupText {
    color: #282828;
    font-family: "Montserrat Alternates";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
}

.descPopupText {
    color: #636363;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.closePopupNew,
.closePopupNewReq {
    cursor: pointer;
}

.formAreaItems {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}

/* .blockCircleGetConsult {
    display: flex;
    position: fixed;
    bottom: 40px;
    right: 24px;
    z-index: 9998;
}

.boxConsult {
    border-radius: 64px;
    background: #E0551C;
    display: flex;
    width: 64px;
    height: 64px;
    padding: 16px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    box-sizing: border-box;
    cursor: pointer;
}

.boxConsult:hover {
    background: #f57847;
}

.mainAreaCirleConsult {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.baseTextConsult {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(2px);
    display: inline-flex;
    padding: 12px 16px;

    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    color: #282828;
    font-family: "Montserrat Alternates";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    gap: 24px;
    transition: .24s;
}

.textExm:hover {
    color: #EA6129;
}

.closeCousult {
    cursor: pointer;
    align-items: center;
    justify-content: center;
    display: flex;
    transition: .24s;
}

.closeCousult:hover {
    transform: rotate(180deg);
} */




.blockCircleGetConsult {
    display: flex;
    position: fixed;
    bottom: 40px;
    right: 24px;
    z-index: 9998;
}

.mainAreaCirleConsult {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* Кнопка */
.boxConsult {
    position: relative;
    border-radius: 64px;
    background: #E0551C;
    display: flex;
    width: 64px;
    height: 64px;
    padding: 16px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    cursor: pointer;
    transition: background .24s ease, transform .24s ease;
    animation: consultBtnPulse 2.2s infinite;
    z-index: 2;
}

.boxConsult:hover {
    background: #f57847;
    transform: scale(1.05);
}

/* Волны вокруг кнопки */
.boxConsult::before,
.boxConsult::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(224, 85, 28, 0.28);
    z-index: -1;
    animation: consultWave 2.2s infinite ease-out;
}

.boxConsult::after {
    animation-delay: 1.1s;
}

@keyframes consultBtnPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes consultWave {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }

    70% {
        transform: scale(1.65);
        opacity: 0;
    }

    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

/* Белая плашка */
.baseTextConsult {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(6px);
    display: inline-flex;
    padding: 12px 16px;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
    color: #282828;
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;

    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

/* Скрытое состояние */
.baseTextConsult.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px) scale(.96);
    pointer-events: none;
}

/* Небольшая анимация смены текста */
.baseTextConsult.is-animating {
    animation: consultTextSwap .45s ease;

}

@keyframes consultTextSwap {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: .35;
        transform: translateY(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.textExm {
    cursor: pointer;
    transition: color .24s ease;
}

.textExm:hover {
    color: #EA6129;
}

.closeCousult {
    cursor: pointer;
    align-items: center;
    justify-content: center;
    display: flex;
    transition: transform .24s ease;
    flex-shrink: 0;
}

.closeCousult:hover {
    transform: rotate(180deg);
}


@media (max-width: 960px) {

    .mainPopUpInfo,
    .mainPopUpInfoReq {
        position: fixed;
        top: clamp(84px, 10vw, 120px);
        align-items: start;
    }

    .titlePopupText {
        font-size: clamp(18px, 2vw, 24px);
        line-height: normal;
    }

    .descPopupText {
        font-size: 13px;
    }

    .topAreaPopupHeader {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .inMainPopUpMain {
        margin: 0 16px;
        overflow: auto;
        height: 75vh;
        padding: 18px 20px;
    }

    .titleInput {
        font-size: 13px;
    }

    .btnPodborAH {

        padding: 4px 12px;
        height: 40px;
        font-size: 13px;
        box-sizing: border-box;
    }
}


/* мобильная адаптация */
@media (max-width: 768px) {
    .blockCircleGetConsult {
        bottom: 20px;
        right: 16px;
    }

    .baseTextConsult {
        font-size: 16px;
        padding: 10px 14px;
        gap: 14px;
        max-width: calc(100vw - 100px);
        white-space: normal;
    }

    .boxConsult {
        width: 58px;
        height: 58px;
        padding: 14px;
    }

    .boxConsult svg {
        width: 28px;
        height: 28px;
    }

    .inMainPopUpMain {
        margin: 0 16px;
    }



}



@media screen and (max-width:660px) {

    .btnPodborAH {

        padding: 4px 12px;
        height: 40px;
        font-size: 13px;
        box-sizing: border-box;
        width: 100%;
    }
}

/* =========================================================
   Новый футер AutoHUB
   ========================================================= */
.ah-footer {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 28px 20px 18px;
    color: #282828;
    background: #ffffff;
    border-top: 1px solid #e7e7e7;
    font-family: Montserrat, Arial, sans-serif;
}

.ah-footer,
.ah-footer * {
    box-sizing: border-box;
}

.ah-footer a {
    color: inherit;
    text-decoration: none;
}

.ah-footer__inner {
    width: min(100%, 1240px);
    margin: 0 auto;
}

.ah-footer__top {
    display: grid;
    grid-template-columns: 140px minmax(360px, 1fr) minmax(210px, 250px);
    align-items: start;
    gap: 28px 34px;
    padding-bottom: 18px;
}

.ah-footer__logo {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    padding-top: 2px;
}

.ah-footer__logo svg {
    display: block;
    width: 118px;
    max-width: 100%;
    height: auto;
}

.ah-footer__menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 10px 28px;
    min-width: 0;
}

.ah-footer__menu a,
.ah-footer__link-list a,
.ah-footer__bottom a,
.ah-footer__email {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.ah-footer__menu a {
    width: fit-content;
    color: #303030;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.ah-footer__menu a:hover,
.ah-footer__menu a:focus-visible,
.ah-footer__email:hover,
.ah-footer__email:focus-visible,
.ah-footer__bottom a:hover,
.ah-footer__bottom a:focus-visible {
    color: #e0571e;
}

.ah-footer__contacts {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.ah-footer__promo {
    min-height: 38px;
    padding: 9px 15px;
    color: #ffffff;
    background: #e85b22;
    border: 0;
    border-radius: 8px;
    font: 500 13px/1.2 Montserrat, Arial, sans-serif;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ah-footer__promo:hover {
    background: #d94f18;
    box-shadow: 0 7px 18px rgba(224, 87, 30, .22);
    transform: translateY(-1px);
}

.ah-footer__promo:active {
    transform: translateY(0);
}

.ah-footer__promo:focus-visible,
.ah-footer a:focus-visible {
    outline: 3px solid rgba(224, 87, 30, .25);
    outline-offset: 3px;
}

.ah-footer__email {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #303030;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: right;
}

.ah-footer__inn {
    color: #969696;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.ah-footer__section {
    padding: 12px 0 14px;
    border-top: 1px solid #ededed;
}

.ah-footer__title {
    margin: 0 0 9px;
    color: #989898;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.ah-footer__link-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.ah-footer__link-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    color: #343434;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}

.ah-footer__link-list a:hover,
.ah-footer__link-list a:focus-visible {
    color: #e0571e;
}

.ah-footer__link-list a.is-active {
    color: #e0571e;
    font-weight: 600;
}

.ah-footer__link-list a.is-active::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 1px;
    background: currentColor;
}

.ah-footer__bottom {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 24px;
    padding-top: 12px;
    border-top: 1px solid #ededed;
}

.ah-footer__bottom a {
    color: #969696;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.35;
}

.ah-footer__bottom a:nth-child(2),
.ah-footer__bottom a:nth-child(3) {
    text-align: center;
}

.ah-footer__bottom a:last-child {
    text-align: right;
}

.ah-footer__notice {
    margin: 10px 0 0;
    color: #aaaaaa;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 980px) {
    .ah-footer__top {
        grid-template-columns: 125px minmax(0, 1fr) 210px;
        gap: 24px;
    }

    .ah-footer__menu {
        column-gap: 18px;
    }

    .ah-footer__bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ah-footer__bottom a:nth-child(n) {
        text-align: left;
    }
}

@media (max-width: 760px) {
    .ah-footer {
        padding: 24px 16px 16px;
    }

    .ah-footer__top {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 20px;
    }

    .ah-footer__logo svg {
        width: 126px;
    }

    .ah-footer__menu {
        grid-column: 1 / -1;
        grid-row: 2;
        gap: 10px 20px;
    }

    .ah-footer__contacts {
        grid-column: 2;
        grid-row: 1;
    }

    .ah-footer__section--cities .ah-footer__link-list,
    .ah-footer__section--cars .ah-footer__link-list {
        flex-wrap: nowrap;
        gap: 10px;
        margin-right: -16px;
        padding-right: 16px;
        padding-bottom: 7px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline proximity;
        scrollbar-width: thin;
    }

    .ah-footer__section--cities .ah-footer__link-list a,
    .ah-footer__section--cars .ah-footer__link-list a {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 7px 11px;
        background: #fafafa;
        border: 1px solid #e4e4e4;
        border-radius: 8px;
        scroll-snap-align: start;
    }

    .ah-footer__section--cities .ah-footer__link-list a.is-active,
    .ah-footer__section--cars .ah-footer__link-list a.is-active {
        color: #ffffff;
        background: #e0571e;
        border-color: #e0571e;
    }

    .ah-footer__section--cities .ah-footer__link-list a.is-active::after,
    .ah-footer__section--cars .ah-footer__link-list a.is-active::after {
        display: none;
    }
}

@media (max-width: 560px) {
    .ah-footer__top {
        grid-template-columns: 1fr;
    }

    .ah-footer__logo,
    .ah-footer__contacts,
    .ah-footer__menu {
        grid-column: 1;
        grid-row: auto;
    }

    .ah-footer__contacts {
        align-items: flex-start;
        width: 100%;
    }

    .ah-footer__promo {
        width: 100%;
    }

    .ah-footer__email {
        text-align: left;
    }

    .ah-footer__menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .ah-footer__menu a {
        width: auto;
        font-size: 11px;
    }

    .ah-footer__link-list--ratings {
        gap: 8px 14px;
    }

    .ah-footer__bottom {
        grid-template-columns: 1fr;
        gap: 9px;
    }
}

@media (max-width: 380px) {
    .ah-footer__menu {
        grid-template-columns: 1fr;
    }
}
