.home-new-banner-sl {
    position: relative;
    overflow: visible;
    margin-top: 30px;
    padding: 0 0 70px !important;
    margin-bottom: 30px;
}

@media only screen and (max-width: 767px) {
    .home-new-banner-sl {
        padding: 20px 0 32px !important;
    }
}

.home-new-banner-sl-pagination {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0;
    z-index: 10;
}

@media only screen and (max-width: 767px) {
    .home-new-banner-sl-pagination {
        display: none;
    }
}

.home-new-banner-sl-pagination.swiper-pagination-bullets {
    bottom: -8px;
    left: 50%;
    width: auto;
}

@media only screen and (max-width: 1360px) {
    .home-new-banner-sl-pagination.swiper-pagination-bullets {
        bottom: -30px;
    }
}

.home-new-banner-sl-pagination .swiper-pagination-bullet {
    position: relative;
    width: 35px;
    height: 35px;
    margin: 0 !important;
    border-radius: 0;
    background: none;
}

.home-new-banner-sl-pagination .swiper-pagination-bullet:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--lightblue);
}

.home-new-banner-sl-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    background: var(--accent);
}

/* Основные стили для элементов слайдера */
.home-new-banner__item {
    position: relative;
    display: block;
    border-radius: 23px;
    overflow: hidden;
}


.home-new-banner__picture {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    max-height: 560px;
}

.home-new-banner__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 23px;
}

@media only screen and (max-width: 768px) {
    .home-new-banner__img {
        height: 560px;
    }
}

.home-new-banner__item .home-new-banner__button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 8px;
    position: absolute;
    width: 293px;
    height: 49px;
    right: 0;
    bottom: 0;
    background: #E1FA3F;
    border-radius: 20px;
    transition: 0.5s ease;
    border: 1px solid #E1FA3F;
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    color: #2C3E50;

    @media screen and (max-width: 950px){
        width: 100%;
    }
}

.home-new-banner__item .home-new-banner__button.btn-blue {
    border: 1px solid #2C3E50;
    background: #2C3E50;
    color: white;
}

.home-new-banner__item .home-new-banner__button.btn-blue:hover {
    background: transparent;
    color: #2C3E50;
}

.home-new-banner__item-buttons--mobile {
    display: none !important;

    @media screen and (max-width: 950px){
        display: flex !important;
    }
}

.home-new-banner__item-buttons--desktop {
    @media screen and (max-width: 950px) {
        display: none !important;
    }
}
.home-new-banner__item-buttons {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 22px;

    @media screen and (max-width: 1310px){
        gap: 13px;
    }
}

.home-new-banner__item-buttons .home-new-banner__button {
    position: unset;
    width: max-content;
}

.home-new-banner__item-buttons .home-new-banner__button.home-new-banner__button--transparent {
    background: transparent;
}
.home-new-banner__item-buttons .home-new-banner__button.home-new-banner__button--transparent:hover {
    background:  #E1FA3F;
}

.home-new-banner__item .home-new-banner__button:hover {
    background: transparent;
}

/* Стили для кнопки - теперь позиционируем относительно слайда */
.home-new-banner__item .btn {
    position: absolute;
    border-radius: 10px;
    padding: 0 30px;
    font-size: 15px;
    font-weight: 800;
    max-width: max-content;
    text-decoration: none;
    z-index: 2;
    height: 58px;
    bottom: 15%;
    left: 8.5%;
    display: flex;
    align-items: center;
}

/* Tablet адаптация */
@media only screen and (max-width: 1200px) {
    .home-new-banner__item .btn {
        font-size: 14px;
        padding: 0 20px;
        height: 49px;
    }
}

/* Mobile адаптация */
@media only screen and (max-width: 768px) {
    .home-new-banner__item .btn {
        font-size: 12px;
        padding: 0 18.5px;
        height: 38px;
    }
}


.home-new-banner__actions {
    display: flex;
    gap: 30px;
    position: absolute;
}

@media (max-width: 1200px) {
    .home-new-banner__actions {
        gap: 39px;
    }
}

@media (max-width: 1024px) {
    .home-new-banner__actions {
        gap: 20px;
        flex-wrap: wrap;
    }
}


@media (max-width: 768px) {
    .home-new-banner__actions {
        gap: 10px;
        flex-wrap: wrap;
    }
}

/* Desktop стили */
.home-new-banner__promotion .btn {
    border-radius: 20px;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 700;
    background-color: #ffcf12;
    border-color: #ffcf12;
    color: #2c3f51;
    transform: none; /* Убираем transform для десктопа */
}

.home-new-banner__promotion .btn:hover,
.home-new-banner__promotion .btn:focus {
    background-color: white;
    border-color: white;
    color: #2c3f51;
}

/* Tablet адаптация */
@media only screen and (max-width: 1200px) {
    .home-new-banner__promotion .btn {
        left: 8%;
        bottom: 20%;
    }
}

/* Mobile адаптация */
@media (max-width: 768px) {
    .home-new-banner__promotion .btn {
        left: 50%;
        bottom: 30px;
        transform: translateX(-50%);
        padding: 0 25px;
        font-size: 14px;
    }
}

/* Дополнительные мобильные адаптации */
@media (max-width: 430px) {
    .home-new-banner__promotion .btn {
        bottom: 11%;
    }
}

@media (max-width: 390px) {
    .home-new-banner__promotion .btn {
        bottom: 13%;
        padding: 0 20px;
        font-size: 13px;
    }
}

/* One app banner */
.home-new-banner__one-app .btn {
    background-color: #B9D09C;
    border-color: #B9D09C;
    color: #2C3D4F;
    transform: none;
    bottom: 20%;
    left: 87px;
}

.home-new-banner__one-app .btn:hover,
.home-new-banner__one-app .btn:focus {
    background-color: white;
    border-color: white;
    color: #2c3f51;
}

@media only screen and (max-width: 1400px) {
    .home-new-banner__one-app .btn {
        bottom: 18%;
        left: 8.5%;
    }
}

@media only screen and (max-width: 1200px) {
    .home-new-banner__one-app .btn {
        left: 8.5%;
        bottom: 18%;
    }
}

@media (max-width: 768px) {
    .home-new-banner__one-app .btn {
        bottom: 47%;
        left: 22%;
        transform: translateX(50%);
    }
}

@media (max-width: 600px) {
    .home-new-banner__one-app .btn {
        left: 10%;
    }
}

/* Дополнительные мобильные адаптации */
@media (max-width: 450px) {
    .home-new-banner__one-app .btn {
        bottom: 48%;
        left: 14%;
        transform: none;
    }
}

/* One app banner */
.home-new-banner__rezerv .btn {
    background-color: #2C3D4F;
    border-color: #2C3D4F;
    color: white;
    transform: none;
    bottom: 25%;
    left: 8.5%;
}

.home-new-banner__rezerv .btn:hover,
.home-new-banner__rezerv .btn:focus {
    background-color: white;
    border-color: white;
    color: #2c3f51;
}

@media only screen and (max-width: 1400px) {
    .home-new-banner__rezerv .btn {
        bottom: 20%;
    }
}

@media only screen and (max-width: 1200px) {
    .home-new-banner__rezerv .btn {
        left: 10%;
        bottom: 25%;
    }
}

@media (max-width: 768px) {
    .home-new-banner__rezerv .btn {
        left: 50%;
        bottom: 10%;
        transform: translateX(-50%);
    }
}

/* Дополнительные мобильные адаптации */
@media (max-width: 430px) {
    .home-new-banner__rezerv .btn {
        bottom: 12%;
    }
}

.home-new-banner__personal .btn {
    height: 52px;
    min-width: 180px;
    padding: 0 30px;
    background-color: #B9D09C;
    border: 3px solid #B9D09C;
    color: #2C3D4F;
    position: initial;
}

@media (max-width: 1200px) {
    .home-new-banner__personal .btn {
        min-width: max-content;
    }
}

.home-new-banner__personal .btn:hover,
.home-new-banner__personal .btn:focus {
    background-color: #2C3D4F;
    border-color: #2C3D4F;
    color: #B9D09C;
}

.home-new-banner__personal .btn_outline {
    background-color: #DEE4EE;
}

.home-new-banner__personal .home-new-banner__actions {
    bottom: 15%;
    z-index: 2;
    left: 8%;
}

@media (max-width: 1200px) {
    .home-new-banner__personal .home-new-banner__actions {
        left: 11%;
    }
}

@media (max-width: 1024px) {
    .home-new-banner__personal .home-new-banner__actions {
        gap: 20px;
        flex-wrap: wrap;
        left: 11%;
        bottom: 15%;
    }

    .home-new-banner__personal .home-new-banner__actions .btn {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .home-new-banner__personal .home-new-banner__actions .btn {
        height: 38px;
        border-width: 2px;
    }

    .home-new-banner__personal .home-new-banner__actions {
        gap: 10px;
        flex-wrap: wrap;
        left: 29%;
        bottom: 40%;
        width: 50%;
        gap: 10px;
    }
}

@media (max-width: 620px) {
    .home-new-banner__personal .home-new-banner__actions .btn {
        height: 38px;
        border-width: 2px;
    }

    .home-new-banner__personal .home-new-banner__actions {
        gap: 10px;
        flex-wrap: wrap;
        left: 21%;
        bottom: 40%;
        width: 63%;
    }
}

@media (max-width: 560px) {
    .home-new-banner__personal .home-new-banner__actions {
        left: 16%;
        bottom: 40%;
        width: 100%;
    }
}

@media (max-width: 430px) {
    .home-new-banner__personal .home-new-banner__actions {
        width: 100%;
        left: 12%;
    }

    .home-new-banner__personal .home-new-banner__actions .btn {
        font-size: 10px;
    }
}

@media (max-width: 370px) {
    .home-new-banner__personal .home-new-banner__actions {
        left: 12%;
        bottom: 30%;
        width: 100%;
        flex-direction: column;
    }
}

/* Desktop стили */
.home-new-banner__action_new .btn {
    border-radius: 6px;
    padding: 0 106px;
    font-size: 14px;
    font-weight: 700;
    background-color: #2c3e50;
    border-color: #2c3e50;
    left: 72%;
    height: 40px;
    bottom: 20%;
    color: white;
    transform: none; /* Убираем transform для десктопа */
}

.home-new-banner__action_new .btn:hover,
.home-new-banner__action_new .btn:focus {
    background-color: white;
    border-color: white;
    color: #2c3f51;
}

/* Tablet адаптация */
@media only screen and (max-width: 1200px) {
    .home-new-banner__action_new .btn {
        padding: 0 78px;
        height: 43px;
        left: 68.5%;
        bottom: 12%;
    }
}

@media (max-width: 1023px) {
    .home-new-banner__action_new .btn {
        padding: 0 54px;
        height: 35px;
    }
}

/* Mobile адаптация */
@media (max-width: 768px) {
    .home-new-banner__action_new .btn {
        border-radius: 12px;
        left: 50%;
        height: 80px;
        bottom: 31px;
        transform: translateX(-50%);
        padding: 0 185px;
        font-size: 20px;
    }
}

/* Дополнительные мобильные адаптации */
@media (max-width: 430px) {
    .home-new-banner__action_new .btn {
        border-radius: 8px;
        bottom: 18%;
        padding: 0 110px;
        height: 60px;
    }
}

@media (max-width: 390px) {
    .home-new-banner__action_new .btn {
        border-radius: 8px;
        bottom: 21%;
        padding: 0 90px;
        height: 54px;
    }
}

/* Desktop стили autopay */
.home-new-banner__for_autopay .btn {
    display: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    background-color: #2c3e50;
    border-color: #2c3e50;
    left: auto;
    right: 2.3%;
    height: 40px;
    bottom: 20%;
    color: white;
    max-width: 25.6%;
    transform: none; /* Убираем transform для десктопа */
}

.home-new-banner__for_autopay .btn:hover,
.home-new-banner__for_autopay .btn:focus {
    background-color: white;
    border-color: white;
    color: #2c3f51;
}

/* Tablet адаптация */
@media only screen and (max-width: 1300px) {
    .home-new-banner__for_autopay .btn {
        bottom: 16%
    }
}

/* Tablet адаптация */
@media only screen and (max-width: 1200px) {
    .home-new-banner__for_autopay .btn {
        padding: 0 78px;
        height: 43px;
        right: 3.1%;
        bottom: 12%;
        max-width: 28.2%;
    }
}

@media (max-width: 1023px) {
    .home-new-banner__for_autopay .btn {
        height: 35px;
    }
}

/* Mobile адаптация */
@media (max-width: 768px) {
    .home-new-banner__for_autopay .btn {
        display: block;
        left: 50%;
        height: 60px;
        bottom: 10%;
        transform: translateX(-50%);
        font-size: 20px;
        max-width: 80%;
        padding: 18px 28%;
    }
}

@media (max-width: 600px) {
    .home-new-banner__for_autopay .btn {
        bottom: 12%;
        max-width: 80%;
    }
}

@media (max-width: 550px) {
    .home-new-banner__for_autopay .btn {
        bottom: 14%;
        max-width: 80%;
        padding: 18px 25%;
    }
}

@media (max-width: 480px) {
    .home-new-banner__for_autopay .btn {
        bottom: 18%;
        max-width: 80%;
    }
}

/* Дополнительные мобильные адаптации */
@media (max-width: 430px) {
    .home-new-banner__for_autopay .btn {
        bottom: 18%;
        height: 60px;
        max-width: 88%;
    }
}

@media (max-width: 420px) {
    .home-new-banner__for_autopay .btn {
        bottom: 22%;
        height: 60px;
        max-width: 88%;
    }
}

@media (max-width: 360px) {
    .home-new-banner__for_autopay .btn {
        bottom: 25%;
        height: 60px;
        max-width: 88%;
    }
}

/* =========================================================
   MODAL (Fancybox + CF7)
========================================================= */

/* Fancybox/Carousel: убрать все крестики */
.carousel__button.is-close,
.carousel__button--close,
.fancybox__button--close,
.fancybox__toolbar__items .fancybox__button--close,
.fancybox-close-small,
.fancybox-button--close {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Убираем “форма в форме” — делаем fancybox прозрачным */
.fancybox__content {
    max-width: none !important;
    width: auto !important;
    background: transparent !important;
    padding: 0 !important;
}

.hidden {
    display: none;
}

.promo-modal {
    background: transparent;
}

.promo-modal__dialog {
    position: relative;
    width: min(1118px, calc(100% - 60px));
    margin: 28px auto;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

/* ширина на планшетах */
@media (max-width: 1023px) {
    .promo-modal__dialog {
        width: min(900px, calc(100% - 40px));
        margin: 18px auto;
    }
}

/* телефоны */
@media (max-width: 767px) {
    .promo-modal__dialog {
        width: calc(100% - 24px);
        margin: 12px auto;
    }
}

.promo-modal__media {
    height: 260px;
    background-image: url("/images/dist/promotion/homeslider-form-action-new-tablet.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 767px) {
    .promo-modal__media {
        height: 260px;
        background-image: url("/images/dist/promotion/homeslider-form-action-new-mobile.png");
    }
}

.promo-modal__body {
    background: #EEF2F6;
    padding: 34px 70px 44px;
}

@media (max-width: 767px) {
    .promo-modal__body {
        background: #fff;
        padding: 18px 18px 22px;
    }
}

/* =========================================================
   CF7 styling ONLY (без правки формы)
========================================================= */

#modal-tariff-step-1-action_new .wpcf7 {
    max-width: 520px;
    margin: 0 auto;
}

#modal-tariff-step-1-action_new .wpcf7 form {
    margin: 0;
}

#modal-tariff-step-1-action_new .wpcf7 form p {
    margin: 0 0 14px;
}

#modal-tariff-step-1-action_new .wpcf7 .wpcf7-form-control-wrap {
    display: block;
}

#modal-tariff-step-1-action_new .wpcf7 input[type="text"],
#modal-tariff-step-1-action_new .wpcf7 input[type="email"],
#modal-tariff-step-1-action_new .wpcf7 input[type="tel"],
#modal-tariff-step-1-action_new .wpcf7 textarea,
#modal-tariff-step-1-action_new .wpcf7 select {
    width: 100%;
    height: 60px;
    padding: 0 26px;

    border-radius: 10px;
    border: 1px solid rgba(47, 61, 75, .6);
    background: #fff;

    font-size: 18px;
    color: var(--promo-dark);
    outline: none;
}

#modal-tariff-step-1-action_new .wpcf7 textarea {
    height: 120px;
    padding: 16px 26px;
    resize: vertical;
}

#modal-tariff-step-1-action_new .wpcf7 input::placeholder,
#modal-tariff-step-1-action_new .wpcf7 textarea::placeholder {
    color: rgba(47, 61, 75, .55);
}

#modal-tariff-step-1-action_new .wpcf7 input:focus,
#modal-tariff-step-1-action_new .wpcf7 textarea:focus,
#modal-tariff-step-1-action_new .wpcf7 select:focus {
    border-color: rgba(47, 61, 75, .9);
}

#modal-tariff-step-1-action_new .wpcf7 input[type="submit"],
#modal-tariff-step-1-action_new .wpcf7 button[type="submit"] {
    width: 100%;
    height: 64px;
    margin: 10px auto 0;
    display: block;

    border: 0;
    border-radius: 12px;

    background: rgba(44, 62, 80, 1);
    color: #fff;

    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
}

#modal-tariff-step-1-action_new .wpcf7 input[type="submit"]:hover,
#modal-tariff-step-1-action_new .wpcf7 button[type="submit"]:hover {
    filter: brightness(1.05);
}

/* acceptance */
#modal-tariff-step-1-action_new .wpcf7 .wpcf7-acceptance {
    display: block;
    margin: 8px 0 10px;
}

#modal-tariff-step-1-action_new .wpcf7 .wpcf7-list-item {
    margin: 0;
}

#modal-tariff-step-1-action_new .wpcf7 .wpcf7-acceptance .wpcf7-list-item > label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#modal-tariff-step-1-action_new .wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

#modal-tariff-step-1-action_new .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 11px;
    line-height: 1.25;
    color: rgba(47, 61, 75, .75);
}

#modal-tariff-step-1-action_new .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label a {
    color: rgba(47, 61, 75, .9);
    text-decoration: underline;
}

/* CF7 messages */
#modal-tariff-step-1-action_new .wpcf7 .wpcf7-response-output {
    margin: 12px 0 0;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
}

#modal-tariff-step-1-action_new .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    margin-top: 6px;
}

.home-new-banner__item--logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    @media screen and (max-width: 1301px) {
        width: 50px;
        height: 50px;
    }
}

.home-new-banner-sl-pagination.swiper-pagination-bullets.new-pagination {
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    gap: 16px !important;

    @media screen and (max-width: 950px) {
        bottom: -12px !important;
    }
}

.home-new-banner-sl-pagination.new-pagination  .swiper-pagination-bullet {
    flex-basis: 33%;
    width: auto;
    height: 1px;
    border: 3px solid #D0D1D2;
    border-radius: 6px;
}

.home-new-banner-sl-pagination.new-pagination  .swiper-pagination-bullet:before {
    position: unset;
}