/* ==========================================================================
   Главная v2 — маркетинг.

   Все правила ограничены контейнерами .avtozaim-home-v2 / .avtozaim-v2,
   поэтому внутренние страницы, шапка, подвал, меню и стандартные
   компоненты WordPress не затрагиваются.

   Палитра и типографика — существующие:
     синий      #3978e4   (класс .color-red в теме)
     тёмно-синий #316fd8
     текст      #2A3246
     серый текст #6B7280 / .color-gray
     границы    #E6E9EF
     фон блоков #F8F8F8
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Утилиты
   -------------------------------------------------------------------------- */

.avtozaim-v2 .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.v2-admin-hint {
    max-width: 1240rem;
    margin: 16rem auto;
    padding: 12rem 16rem;
    border: 1px dashed #E0A800;
    border-radius: 8rem;
    background: #FFF8E5;
    color: #7A5B00;
    font-size: 14rem;
    line-height: 1.45;
}

.avtozaim-v2 .btn.is-busy,
.avtozaim-v2 .form__btn.is-busy {
    opacity: .6;
    pointer-events: none;
}

/* Заметные состояния фокуса для всей новой версии. */
.avtozaim-v2 a:focus-visible,
.avtozaim-v2 button:focus-visible,
.avtozaim-v2 input:focus-visible,
.avtozaim-v2 [tabindex]:focus-visible {
    outline: 3px solid #316fd8;
    outline-offset: 2px;
    /* border-radius здесь не задаём: он ломал форму круглых кнопок */
}

/* --------------------------------------------------------------------------
   2. Экран №1 — первый экран
   -------------------------------------------------------------------------- */

.avtozaim-home-v2 .v2-hero {
    padding-top: 120rem;
}

.avtozaim-home-v2 .v2-hero__wrap {
    display: flex;
    align-items: center;
    gap: 40rem;
    padding-bottom: 0;
}

.avtozaim-home-v2 .v2-hero__bottom {
    padding-top: 8rem;
    padding-bottom: 150rem;
}

.avtozaim-home-v2 .v2-hero__content {
    max-width: none;
    width: 54%;
    flex: 0 1 auto;
    padding-bottom: 40rem;
}

.avtozaim-home-v2 .v2-hero__title {
    font-size: 44rem;
    line-height: 1.15;
    margin: 0;
}

.avtozaim-home-v2 .v2-hero__subtitle {
    margin: 20rem 0 0;
    font-size: 22rem;
    font-weight: 600;
    line-height: 1.3;
    color: #316fd8;
}

.avtozaim-home-v2 .v2-hero__text {
    margin: 16rem 0 0;
    padding-left: 16rem;
    border-left: 3px solid #C9D9F5;
    font-size: 15rem;
    line-height: 1.5;
    max-width: 600rem;
}

/* Преимущества — карточки, сгруппированные так же, как в ТЗ */
.avtozaim-home-v2 .v2-hero__advantages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.avtozaim-v2 .v2-adv {
    display: flex;
    align-items: flex-start;
    gap: 12rem;
    padding: 14rem 16rem;
    background: rgba(255, 255, 255, .85);
    border: 1px solid #E4EAF5;
    border-radius: 12rem;
    transition: ease .2s;
}

.avtozaim-v2 .v2-adv:hover {
    border-color: #B9CEF4;
    box-shadow: 0 6px 18px rgba(57, 120, 228, .10);
    transform: translateY(-1px);
}

.avtozaim-v2 .v2-adv_accent {
    background: #fff;
    border-color: #C9D9F5;
    box-shadow: 0 6px 18px rgba(57, 120, 228, .10);
}

.avtozaim-v2 .v2-adv__icon {
    flex-shrink: 0;
    width: 38rem;
    height: 38rem;
    border-radius: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EAF1FD;
    color: #3978e4;
}

.avtozaim-v2 .v2-adv_accent .v2-adv__icon {
    background: #3978e4;
    color: #fff;
}

.avtozaim-v2 .v2-adv__svg {
    width: 21rem;
    height: 21rem;
}

.avtozaim-v2 .v2-adv__title {
    display: block;
    font-size: 15rem;
    font-weight: 700;
    line-height: 1.25;
    color: #2A3246;
}

.avtozaim-v2 .v2-adv__text {
    display: block;
    margin-top: 3rem;
    font-size: 13rem;
    line-height: 1.3;
    color: #6B7280;
}

.avtozaim-home-v2 .v2-hero__trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20rem 32rem;
    margin-top: 36rem;
}

.avtozaim-home-v2 .v2-hero__registry {
    margin-top: 0;
    opacity: 1;
    transform: none;
    background: rgba(255, 255, 255, .65);
}

.avtozaim-home-v2 .v2-hero__media {
    width: 46%;
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.avtozaim-home-v2 .v2-hero__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620rem;
    object-fit: contain;
    object-position: center bottom;
}

.avtozaim-home-v2 .v2-hero__img_placeholder {
    border-radius: 16rem;
}

/* Карточка рейтинга Яндекс Бизнес */
.avtozaim-v2 .v2-rating {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.avtozaim-v2 .v2-rating__card {
    display: inline-flex;
    align-items: center;
    gap: 12rem;
    padding: 8rem 16rem;
    background: #fff;
    border: 1px solid #E6E9EF;
    border-radius: 12rem;
    box-shadow: 0 4px 14px rgba(42, 50, 70, .08);
    transition: ease .2s;
    color: #2A3246;
}

.avtozaim-v2 .v2-rating__card:hover,
.avtozaim-v2 .v2-rating__card:focus-visible {
    border-color: #3978e4;
    box-shadow: 0 8px 20px rgba(57, 120, 228, .18);
}

.avtozaim-v2 .v2-rating__badge {
    display: block;
    width: 150px;
    height: 50px;
    border: 0;
}

.avtozaim-v2 .v2-rating__label {
    font-size: 13rem;
    line-height: 1.3;
    color: #6B7280;
    max-width: 170rem;
}

.avtozaim-v2 .v2-rating__card_link .v2-rating__label {
    color: #3978e4;
    font-weight: 600;
    max-width: none;
}

.avtozaim-v2 .v2-rating__cta {
    font-size: 13rem;
    color: #6B7280;
}

/* --------------------------------------------------------------------------
   3. Форма первого экрана, информационный блок и мессенджеры
   -------------------------------------------------------------------------- */

.avtozaim-v2 .v2-form__box {
    padding-bottom: 32rem;
}

.avtozaim-v2 .v2-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 -12rem;
}

/* Ряд полей: два поля + капча одной линией */
.avtozaim-v2 .v2-form__row .v2-form__col_model,
.avtozaim-v2 .v2-form__row .v2-form__col_phone {
    width: 30%;
}

.avtozaim-v2 .v2-form__row .v2-form__col_captcha {
    width: 40%;
    /* Виджет SmartCaptcha имеет фиксированную ширину ~300px:
       колонка не сжимается уже этого значения, а при нехватке места
       переносится на новую строку — без горизонтального скролла. */
    min-width: 324px;
    padding: 0 12rem;
    margin-top: 30rem;
}

.avtozaim-v2 .v2-form__row .v2-form__col_captcha .smart-captcha {
    max-width: 100%;
}

/* Ряд действия: кнопка и призыв на одной линии, без пустот */
.avtozaim-v2 .v2-form__action {
    display: flex;
    align-items: center;
    gap: 28rem;
    width: 100%;
    margin: 30rem 12rem 0;
    padding-top: 28rem;
    border-top: 1px solid #EDF1F7;
}

.avtozaim-v2 .v2-form__submit {
    flex-shrink: 0;
    width: 220rem;
}

.avtozaim-v2 .v2-form__submit .btn {
    width: 100%;
}

.avtozaim-v2 .v2-form__pitch {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 28rem;
    border-left: 1px solid #EDF1F7;
    text-align: left;
}

.avtozaim-v2 .v2-form__pitch-title {
    font-size: 21rem;
    font-weight: 700;
    line-height: 1.25;
}

.avtozaim-v2 .v2-form__pitch-text {
    margin-top: 6rem;
    font-size: 16rem;
    line-height: 1.35;
    color: #6B7280;
}

.avtozaim-v2 .v2-form__policy {
    width: 100%;
    margin: 20rem 12rem 0;
    font-size: 13rem;
    line-height: 1.4;
    color: #8A93A6;
}

.avtozaim-v2 .v2-form__policy a {
    color: #6B7280;
    text-decoration: underline;
}

.avtozaim-v2 .v2-form__policy a:hover {
    color: #3978e4;
    text-decoration: none;
}

/* Информационный блок под формой: два тезиса со своими иконками */
.avtozaim-v2 .v2-form__note {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340rem, 1fr));
    gap: 20rem 32rem;
    margin-top: 24rem;
    padding: 24rem 28rem;
    border: 1px solid #DCE7FA;
    border-radius: 16rem;
    background: #F5F9FF;
}

.avtozaim-v2 .v2-form__note-item {
    display: flex;
    align-items: flex-start;
    gap: 14rem;
}

.avtozaim-v2 .v2-form__note-icon {
    flex-shrink: 0;
    width: 38rem;
    height: 38rem;
    border-radius: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #DCE7FA;
    color: #3978e4;
}

.avtozaim-v2 .v2-form__note-icon .v2-adv__svg {
    width: 20rem;
    height: 20rem;
}

.avtozaim-v2 .v2-form__note p {
    margin: 0;
    font-size: 14rem;
    line-height: 1.5;
    color: #55607A;
}

.avtozaim-v2 .v2-messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 20rem;
    margin-top: 24rem;
}

.avtozaim-v2 .v2-messenger {
    flex: 1 1 320rem;
    display: flex;
    align-items: center;
    gap: 16rem;
    min-height: 56px;
    padding: 16rem 20rem;
    background: #fff;
    border: 1px solid #E6E9EF;
    border-radius: 16rem;
    box-shadow: 0 6px 18px rgba(42, 50, 70, .06);
    color: #2A3246;
    transition: ease .2s;
}

.avtozaim-v2 .v2-messenger:hover,
.avtozaim-v2 .v2-messenger:focus-visible {
    border-color: #3978e4;
    box-shadow: 0 10px 24px rgba(57, 120, 228, .18);
    transform: translateY(-2px);
}

.avtozaim-v2 .v2-messenger__icon {
    flex-shrink: 0;
    width: 48rem;
    height: 48rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3978e4;
    color: #fff;
    fill: #fff;
}

.avtozaim-v2 .v2-messenger__icon svg {
    width: 26rem;
    height: 26rem;
    fill: #fff;
}

.avtozaim-v2 .v2-messenger__title {
    display: block;
    font-size: 18rem;
    font-weight: 700;
    line-height: 1.25;
}

.avtozaim-v2 .v2-messenger__text {
    display: block;
    margin-top: 4rem;
    font-size: 14rem;
    line-height: 1.35;
    color: #6B7280;
}

/* --------------------------------------------------------------------------
   4. Экран №2 — калькулятор
   -------------------------------------------------------------------------- */

.avtozaim-v2.v2-calc .calculator__result-item:nth-child(4) {
    transition-delay: 1.1s;
}

.avtozaim-v2 .v2-calc__monthly {
    margin-top: 28rem;
    padding-top: 24rem;
    border-top: 2px solid #E6E9EF;
}

.avtozaim-v2 .v2-calc__monthly .calculator__result-title {
    color: #316fd8;
}

.avtozaim-v2 .v2-calc__rules {
    margin-bottom: 24rem;
    text-align: center;
}

.avtozaim-v2 .v2-calc__rules-btn {
    display: flex;
    width: 100%;
    height: 56rem;
    padding: 0 20rem;
    border: 2px solid #3978e4;
    border-radius: 12rem;
    font-size: 16rem;
    font-weight: 700;
    color: #3978e4;
    background: #fff;
    transition: ease .2s;
}

.avtozaim-v2 .v2-calc__rules-btn:hover,
.avtozaim-v2 .v2-calc__rules-btn:focus-visible {
    background: #3978e4;
    color: #fff;
}

.avtozaim-v2 .v2-calc__rules-cta {
    display: block;
    margin-top: 10rem;
    font-size: 13rem;
    line-height: 1.3;
    color: #6B7280;
}

.avtozaim-v2 .select__head[aria-expanded] {
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. Экран №4 — этапы получения займа (пять шагов)
   -------------------------------------------------------------------------- */

.avtozaim-v2.v2-steps {
    margin-top: 120rem;
    text-align: center;
}

.avtozaim-v2 .v2-steps__title {
    margin: 0;
}

.avtozaim-v2 .v2-steps__subtitle {
    margin: 18rem 0 0;
}

.avtozaim-v2 .v2-steps__note {
    margin: 8rem 0 0;
    font-size: 16rem;
}

.avtozaim-v2 .v2-steps__list {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 330rem;
    margin: 56rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.avtozaim-v2 .v2-steps__list::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 4rem;
    margin-top: -2rem;
    background: #E6E9EF;
    border-radius: 4rem;
    z-index: 0;
}

.avtozaim-v2 .v2-steps__list[data-count="3"]::before { left: 16.66%; right: 16.66%; }
.avtozaim-v2 .v2-steps__list[data-count="4"]::before { left: 12.5%; right: 12.5%; }
.avtozaim-v2 .v2-steps__list[data-count="6"]::before { left: 8.33%; right: 8.33%; }

.avtozaim-v2 .v2-steps__item {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    justify-items: center;
    padding: 0 10rem;
}

.avtozaim-v2 .v2-steps__marker {
    grid-row: 2;
    width: 68rem;
    height: 68rem;
    border: 8rem solid #3978e4;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22rem;
    font-weight: 700;
    color: #2A3246;
}

.avtozaim-v2 .v2-steps__body {
    grid-row: 1;
    align-self: end;
    padding-bottom: 20rem;
    max-width: 260rem;
}

.avtozaim-v2 .v2-steps__item:nth-child(even) .v2-steps__body {
    grid-row: 3;
    align-self: start;
    padding-bottom: 0;
    padding-top: 20rem;
}

.avtozaim-v2 .v2-steps__item-title {
    font-size: 20rem;
    line-height: 1.2;
}

.avtozaim-v2 .v2-steps__item-text {
    margin-top: 8rem;
    font-size: 16rem;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   6. Слайдеры парковки и офиса
   -------------------------------------------------------------------------- */

.avtozaim-v2.v2-photo-slider {
    margin-top: 100rem;
}

.avtozaim-v2 .v2-photo-slider__title {
    margin: 0;
    text-align: center;
}

.avtozaim-v2 .v2-photo-slider__box {
    position: relative;
    margin-top: 40rem;
}

.avtozaim-v2 .v2-photo-slider__container {
    position: relative;
    overflow: hidden;
    border-radius: 12rem;
}

.avtozaim-v2 .v2-photo-slider__frame {
    position: relative;
    padding-top: 66.66%;
    border-radius: 12rem;
    overflow: hidden;
    background: #F8F8F8;
}

.avtozaim-v2 .v2-photo-slider__img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avtozaim-v2 .v2-photo-slider__pagination {
    position: static;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20rem;
}

.avtozaim-v2 .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #C9D2E3;
    opacity: 1;
    cursor: pointer;
    transition: ease .2s;
}

.avtozaim-v2 .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 6px;
    background: #3978e4;
}

.avtozaim-v2 .v2-photo-slider__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    margin-top: -10rem;
}

.avtozaim-v2 .v2-photo-slider__arrow {
    pointer-events: auto;
    width: 56rem;
    height: 56rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 14px rgba(42, 50, 70, .18);
    fill: #2A3246;
    cursor: pointer;
    transition: ease .2s;
}

.avtozaim-v2 .v2-photo-slider__arrow:first-child {
    margin-left: -18rem;
}

.avtozaim-v2 .v2-photo-slider__arrow:last-child {
    margin-right: -18rem;
}

.avtozaim-v2 .v2-photo-slider__arrow:hover {
    fill: #3978e4;
    background: #fff;
}

.avtozaim-v2 .v2-photo-slider__arrow svg {
    width: 26rem;
    height: 26rem;
}

/* Кнопки-стрелки в остальных слайдерах новой версии */
.avtozaim-v2 .swiper-button-prev,
.avtozaim-v2 .swiper-button-next {
    background: none;
    border: 0;
    padding: 0;
}

/* --------------------------------------------------------------------------
   7. Экран №5 — отзывы
   -------------------------------------------------------------------------- */

.avtozaim-v2 .v2-reviews__title {
    max-width: 1100rem;
    margin: 0 auto;
    line-height: 1.2;
}

/* 3D-карусель карточек отзывов */
.avtozaim-v2 .v2-reviews3d {
    position: relative;
    margin-top: 48rem;
    outline: none;
}

.avtozaim-v2 .v2-reviews3d__stage {
    position: relative;
    height: 360rem;
    perspective: 1700px;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d;
}

.avtozaim-v2 .v2-reviews3d__card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 430rem;
    max-width: 86vw;
    min-height: 240rem;
    padding: 26rem 28rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: #F1F5FC;
    border: 1px solid #E1E9F7;
    border-radius: 20rem;
    box-shadow: 0 10px 30px rgba(42, 50, 70, .08);
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    cursor: pointer;
    transition: transform .45s ease, opacity .45s ease, box-shadow .45s ease;
}

.avtozaim-v2 .v2-reviews3d__card.is-active {
    background: linear-gradient(140deg, #3978e4 0%, #2f63c4 100%);
    border-color: transparent;
    box-shadow: 0 26px 60px rgba(47, 99, 196, .34);
    cursor: default;
}

/* Боковые карточки уходят в фон и слегка расфокусируются */
.avtozaim-v2 .v2-reviews3d__card:not(.is-active) {
    background: #EEF3FB;
}

.avtozaim-v2 .v2-review__text {
    flex: 1 1 auto;
    font-size: 16rem;
    line-height: 1.5;
    color: #3A4557;
}

.avtozaim-v2 .v2-reviews3d__card.is-active .v2-review__text {
    color: #fff;
}

.avtozaim-v2 .v2-review__meta {
    display: flex;
    align-items: center;
    gap: 12rem;
    margin-top: 24rem;
}

.avtozaim-v2 .v2-review__avatar {
    flex-shrink: 0;
    width: 44rem;
    height: 44rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D9E4F8;
    color: #2f63c4;
    font-size: 18rem;
    font-weight: 700;
}

.avtozaim-v2 .v2-reviews3d__card.is-active .v2-review__avatar {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.avtozaim-v2 .v2-review__person {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.avtozaim-v2 .v2-review__author {
    font-size: 15rem;
    font-weight: 600;
    color: #2A3246;
}

.avtozaim-v2 .v2-review__date {
    margin-top: 2rem;
    font-size: 13rem;
    color: #8A93A6;
}

.avtozaim-v2 .v2-reviews3d__card.is-active .v2-review__author {
    color: #fff;
}

.avtozaim-v2 .v2-reviews3d__card.is-active .v2-review__date {
    color: rgba(255, 255, 255, .75);
}

.avtozaim-v2 .v2-review__stars {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 14rem;
    letter-spacing: 1rem;
    color: #D6DCE7;
}

.avtozaim-v2 .v2-review__star.is-on {
    color: #FFB021;
}

.avtozaim-v2 .v2-review__link {
    margin-top: 14rem;
    font-size: 13rem;
    color: #3978e4;
    text-decoration: underline;
}

.avtozaim-v2 .v2-reviews3d__card.is-active .v2-review__link {
    color: #fff;
}

/* Навигация карусели */
.avtozaim-v2 .v2-reviews3d__nav {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20rem;
    margin-top: 28rem;
}

.avtozaim-v2 .v2-reviews3d__arrow {
    width: 52rem;
    height: 52rem;
    padding: 0;
    border: 1px solid #DCE3EF;
    border-radius: 50%;
    background: #fff;
    fill: #2A3246;
    cursor: pointer;
    transition: ease .2s;
}

.avtozaim-v2 .v2-reviews3d__arrow:hover {
    border-color: #3978e4;
    fill: #3978e4;
    box-shadow: 0 6px 16px rgba(57, 120, 228, .18);
}

.avtozaim-v2 .v2-reviews3d__arrow svg {
    width: 22rem;
    height: 22rem;
}

.avtozaim-v2 .v2-reviews3d__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avtozaim-v2 .v2-reviews3d__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #C9D2E3;
    cursor: pointer;
    transition: ease .2s;
}

.avtozaim-v2 .v2-reviews3d__dot.is-active {
    width: 26px;
    border-radius: 6px;
    background: #3978e4;
}

/* Живой рейтинг под отзывами */
.avtozaim-v2 .v2-reviews__ratings {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20rem;
    margin-top: 40rem;
}

.avtozaim-v2 .v2-rating-card {
    display: inline-flex;
    align-items: center;
    gap: 20rem;
    padding: 18rem 28rem;
    background: #fff;
    border: 1px solid #E1E9F7;
    border-radius: 16rem;
    box-shadow: 0 8px 22px rgba(42, 50, 70, .07);
    color: #2A3246;
    transition: ease .2s;
    text-align: left;
}

.avtozaim-v2 .v2-rating-card:hover,
.avtozaim-v2 .v2-rating-card:focus-visible {
    border-color: #3978e4;
    box-shadow: 0 12px 28px rgba(57, 120, 228, .18);
    transform: translateY(-2px);
}

.avtozaim-v2 .v2-rating-card__badge {
    display: block;
    width: 150px;
    height: 50px;
    border: 0;
    flex-shrink: 0;
}

.avtozaim-v2 .v2-rating-card__caption {
    display: flex;
    flex-direction: column;
}

.avtozaim-v2 .v2-rating-card__label {
    font-size: 17rem;
    font-weight: 700;
    line-height: 1.25;
}

.avtozaim-v2 .v2-rating-card__cta {
    margin-top: 4rem;
    font-size: 13rem;
    color: #6B7280;
}

/* Официальный виджет — раскрывается по требованию, не тянет вниз страницу */
.avtozaim-v2 .v2-reviews__widget-toggle {
    max-width: 900rem;
    margin: 32rem auto 0;
    text-align: center;
}

.avtozaim-v2 .v2-reviews__widget-toggle > summary {
    display: inline-flex;
    align-items: center;
    height: 48rem;
    padding: 0 24rem;
    border: 1px solid #3978e4;
    border-radius: 64rem;
    color: #3978e4;
    font-size: 16rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.avtozaim-v2 .v2-reviews__widget-toggle > summary::-webkit-details-marker {
    display: none;
}

.avtozaim-v2 .v2-reviews__widget-toggle > summary:hover {
    background: #3978e4;
    color: #fff;
}

.avtozaim-v2 .v2-reviews__widget {
    margin-top: 20rem;
    text-align: left;
    border: 1px solid #E6E9EF;
    border-radius: 12rem;
    overflow: hidden;
    background: #fff;
}

.avtozaim-v2 .v2-reviews__iframe {
    display: block;
    width: 100%;
    height: 560px;
    border: 0;
}

.avtozaim-v2 .v2-reviews__all {
    margin-top: 32rem;
    height: 48rem;
}

@media (prefers-reduced-motion: reduce) {
    .avtozaim-v2 .v2-reviews3d__card {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   8. Экран №8 — FAQ (кнопка вместо div)
   -------------------------------------------------------------------------- */

.avtozaim-v2 .v2-faq__head {
    width: 100%;
    background: none;
    border: 0;
    font: inherit;
    color: inherit;
    text-align: left;
}

/* --------------------------------------------------------------------------
   9. Экран №9 — контакты
   -------------------------------------------------------------------------- */

.avtozaim-v2 .v2-contacts__item {
    padding-right: 30rem;
}

.avtozaim-v2 .v2-contacts__address {
    font-size: 20rem;
    line-height: 1.25;
}

.avtozaim-v2 .v2-contacts__schedule {
    margin-top: 8rem;
    font-size: 15rem;
}

.avtozaim-v2 .v2-contacts .section-contacts__phone {
    margin-top: 12rem;
}

.avtozaim-v2 .v2-contacts__route {
    margin-top: 10rem;
}

/* --------------------------------------------------------------------------
   10. Адаптив
   -------------------------------------------------------------------------- */

@media only screen and (max-width: 1024px) {
    .avtozaim-home-v2 .v2-hero__title {
        font-size: 38rem;
    }

    .avtozaim-home-v2 .v2-hero__wrap {
        gap: 24rem;
        padding-bottom: 130rem;
    }

    .avtozaim-v2 .v2-steps__item-title {
        font-size: 18rem;
    }

    .avtozaim-v2 .v2-steps__item-text {
        font-size: 15rem;
    }

    .avtozaim-home-v2 .v2-hero__advantages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 900px) {
  
    .avtozaim-home-v2 .v2-hero__wrap {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 20px;
        padding-bottom: 0;
    }

    .avtozaim-home-v2 .v2-hero__content {
        padding-bottom: 0;
    }

    .avtozaim-home-v2 .v2-hero__bottom {
        padding-bottom: 120rem;
    }

    .avtozaim-home-v2 .v2-hero__content,
    .avtozaim-home-v2 .v2-hero__media {
        width: 100%;
    }

    .avtozaim-home-v2 .v2-hero__img {
        max-height: 320px;
        object-position: center center;
    }

    .avtozaim-home-v2 .v2-hero__advantages {
        gap: 12px;
    }

    /* Форма: поля, капча и кнопка в одну колонку */
    .avtozaim-v2 .v2-form__row .v2-form__col_model,
    .avtozaim-v2 .v2-form__row .v2-form__col_phone,
    .avtozaim-v2 .v2-form__row .v2-form__col_captcha {
        width: 100%;
    }

    .avtozaim-v2 .v2-form__action {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        margin-top: 24px;
        padding-top: 22px;
    }

    .avtozaim-v2 .v2-form__submit {
        width: 100%;
        order: 2;
    }

    .avtozaim-v2 .v2-form__pitch {
        order: 1;
        padding-left: 0;
        border-left: 0;
        text-align: center;
    }

    .avtozaim-v2 .v2-form__note {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Этапы: вертикальный список */
    .avtozaim-v2 .v2-steps__list {
        display: block;
        min-height: 0;
        text-align: left;
    }

    .avtozaim-v2 .v2-steps__list::before,
    .avtozaim-v2 .v2-steps__list[data-count]::before {
        left: 27px;
        right: auto;
        top: 12px;
        bottom: 12px;
        width: 4px;
        height: auto;
        margin-top: 0;
    }

    .avtozaim-v2 .v2-steps__item {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 0;
    }

    .avtozaim-v2 .v2-steps__item + .v2-steps__item {
        margin-top: 24px;
    }

    .avtozaim-v2 .v2-steps__marker {
        flex-shrink: 0;
        width: 58px;
        height: 58px;
        border-width: 6px;
        font-size: 20px;
    }

    .avtozaim-v2 .v2-steps__body,
    .avtozaim-v2 .v2-steps__item:nth-child(even) .v2-steps__body {
        align-self: center;
        max-width: none;
        padding: 0;
    }

    .avtozaim-v2 .v2-reviews3d__stage {
        height: 340rem;
    }

    .avtozaim-v2 .v2-reviews3d__card {
        width: 400rem;
        min-height: 280rem;
    }

    .avtozaim-v2 .v2-photo-slider__arrow:first-child {
        margin-left: 8px;
    }

    .avtozaim-v2 .v2-photo-slider__arrow:last-child {
        margin-right: 8px;
    }

}

@media only screen and (max-width: 580px) {
    .avtozaim-home-v2 .v2-hero {
        padding-top: 26rem;
    }

    .avtozaim-home-v2 .v2-hero__bottom {
        padding-bottom: 100rem;
    }

    .avtozaim-home-v2 .v2-hero__title {
        font-size: 24rem;
    }

    .avtozaim-home-v2 .v2-hero__subtitle {
        font-size: 16rem;
        margin-top: 14px;
    }

    .avtozaim-home-v2 .v2-hero__text {
        font-size: 14rem;
        margin-top: 12px;
    }

    .avtozaim-home-v2 .v2-hero__advantages {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .avtozaim-v2 .v2-adv {
        gap: 12px;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .avtozaim-v2 .v2-adv__icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    .avtozaim-v2 .v2-adv__svg {
        width: 19px;
        height: 19px;
    }

    .avtozaim-v2 .v2-adv__title {
        font-size: 14rem;
    }

    .avtozaim-v2 .v2-adv__text {
        font-size: 13rem;
    }

    .avtozaim-home-v2 .v2-hero__trust {
        gap: 16px;
        margin-top: 24px;
    }

    .avtozaim-home-v2 .v2-hero__registry {
        max-width: none;
    }

    .avtozaim-home-v2 .v2-hero__img {
        max-height: 260px;
    }

    .avtozaim-v2 .v2-rating__card {
        width: 100%;
    }

    .avtozaim-v2 .v2-form__pitch-title {
        font-size: 17rem;
    }

    .avtozaim-v2 .v2-form__pitch-text {
        font-size: 15rem;
    }

    .avtozaim-v2 .v2-form__note {
        gap: 14px;
        padding: 16px;
        border-radius: 12px;
    }

    .avtozaim-v2 .v2-form__note-icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    .avtozaim-v2 .v2-form__note p {
        font-size: 13rem;
    }

    .avtozaim-v2 .v2-form__policy {
        margin-top: 16px;
        font-size: 12rem;
    }

    .avtozaim-v2 .v2-messengers {
        gap: 12px;
        margin-top: 16px;
    }

    .avtozaim-v2 .v2-messenger {
        flex: 1 1 100%;
        padding: 14px 16px;
        gap: 12px;
    }

    .avtozaim-v2 .v2-messenger__icon {
        width: 44px;
        height: 44px;
    }

    .avtozaim-v2 .v2-messenger__icon svg {
        width: 22px;
        height: 22px;
    }

    .avtozaim-v2 .v2-messenger__title {
        font-size: 16rem;
    }

    .avtozaim-v2 .v2-messenger__text {
        font-size: 13rem;
    }

    .avtozaim-v2 .v2-calc__rules-btn {
        height: 52px;
    }

    .avtozaim-v2.v2-steps {
        margin-top: 60rem;
    }

    .avtozaim-v2 .v2-steps__list {
        margin-top: 28px;
    }

    .avtozaim-v2 .v2-steps__marker {
        width: 48px;
        height: 48px;
        border-width: 5px;
        font-size: 18px;
    }

    .avtozaim-v2 .v2-steps__list::before,
    .avtozaim-v2 .v2-steps__list[data-count]::before {
        left: 22px;
    }

    .avtozaim-v2 .v2-steps__item-title {
        font-size: 17rem;
    }

    .avtozaim-v2 .v2-steps__item-text {
        font-size: 14rem;
    }

    .avtozaim-v2.v2-photo-slider {
        margin-top: 50rem;
    }

    .avtozaim-v2 .v2-photo-slider__box {
        margin-top: 20px;
    }

    .avtozaim-v2 .v2-photo-slider__arrow {
        width: 40px;
        height: 40px;
    }

    .avtozaim-v2 .v2-photo-slider__arrow svg {
        width: 18px;
        height: 18px;
    }


    .avtozaim-v2 .v2-reviews__title {
        line-height: 1.25;
    }

    .avtozaim-v2 .v2-reviews3d {
        margin-top: 28px;
    }

    .avtozaim-v2 .v2-reviews3d__stage {
        height: 300px;
    }

    .avtozaim-v2 .v2-reviews3d__card {
        width: 100%;
        max-width: 320px;
        min-height: 250px;
        padding: 20px;
        border-radius: 16px;
    }

    .avtozaim-v2 .v2-review__text {
        font-size: 14rem;
    }

    .avtozaim-v2 .v2-review__meta {
        margin-top: 18px;
        gap: 10px;
    }

    .avtozaim-v2 .v2-review__avatar {
        width: 38px;
        height: 38px;
        font-size: 16rem;
    }

    .avtozaim-v2 .v2-review__stars {
        font-size: 12rem;
    }

    .avtozaim-v2 .v2-reviews3d__nav {
        gap: 14px;
        margin-top: 20px;
    }

    .avtozaim-v2 .v2-reviews3d__arrow {
        width: 44px;
        height: 44px;
    }

    .avtozaim-v2 .v2-reviews3d__arrow svg {
        width: 18px;
        height: 18px;
    }

    .avtozaim-v2 .v2-reviews__ratings {
        margin-top: 28px;
    }

    .avtozaim-v2 .v2-rating-card {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .avtozaim-v2 .v2-rating-card__label {
        font-size: 15rem;
    }

    .avtozaim-v2 .v2-reviews__iframe {
        height: 420px;
    }

    .avtozaim-v2 .v2-contacts__item {
        padding-right: 0;
    }

    .avtozaim-v2 .v2-contacts__address {
        font-size: 17rem;
    }
}

/* --------------------------------------------------------------------------
   11. Точечные исправления существующих блоков внутри новой версии

   Блок «Виды транспортных средств» в теме имеет отрицательные поля
   (.direction__list: margin-left/right -19rem), которые не компенсируются
   внутренними отступами карточек. На планшетных ширинах это давало
   горизонтальный скролл страницы. Правило действует только внутри
   контейнеров v2 — на остальных страницах вёрстка не меняется.
   -------------------------------------------------------------------------- */

.avtozaim-v2 .direction__list {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 767px) {

    /* Контейнер слайдера */
    .reviews-slider,
    .reviews-slider-wrapper,
    .reviews-slider__viewport {
        overflow: hidden !important;
    }

    /* Каждый отзыв */
    .reviews-slider .swiper-slide,
    .reviews-slider .review-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none;
    }

    /* Если соседние карточки двигаются transform'ами */
    .reviews-slider .swiper-slide-prev,
    .reviews-slider .swiper-slide-next {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .reviews-slider .swiper-slide-active {
        opacity: 1 !important;
        visibility: visible !important;
        position: relative;
        z-index: 5;
    }
}
@media (max-width: 767px) {

    .reviews-slider .swiper-slide {
        transform: none !important;
    }

    .reviews-slider .swiper-slide-prev,
    .reviews-slider .swiper-slide-next {
        transform: none !important;
    }

}