.leasing {
    padding: 40px 0;
}
.leasing .banner-wrap {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: transparent;
}
.leasing .main-banner {
    position: relative;
    background: url('/bitrix/templates/dalkos/img/banner-leasing.webp') center/cover no-repeat;
    border-radius: 10px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: none;
}
.leasing .main-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: inherit;
    filter: brightness(60%);
    border-radius: inherit;
    pointer-events: none;
}
.leasing .main-banner .top-content,
.leasing .main-banner .banner-text {
    position: relative;
    z-index: 2;
}
.leasing .main-banner .top-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 600px;
    padding: 48px 40px 29px 40px;
}
.leasing .main-banner .banner-text {
    max-width: 520px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    padding-top: 290px;
}
.leasing .main-banner .banner-text span:first-child {
    background: #D50E2E;
    color: #fff;
    border-radius: 6px;
    padding: 0 8px 2px 8px;
    font-weight: 700;
}
.leasing .main-banner form[name="leasing"] {
    border-radius: 8px;
    min-width: 315px;
    max-width: 615px;
    width: 615px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.leasing .main-banner form[name="leasing"] input[type="text"] {
    width: 100%;
    height: 50px;
    border-radius: 6px;
    border: none;
    padding: 0 25px;
    font-size: 18px;
    margin-bottom: 10px;
    color: #999999;
}
.leasing .main-banner form[name="leasing"] .leasing-form-bottom {
    display: flex;
    align-items: center;
    
    gap: 16px;
    margin-top: 10px;
}
.leasing .main-banner form[name="leasing"] button[type="submit"] {
    width: 321px;
    height: 62px;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    border: 1px solid #fff;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 0;
    margin-right: 0;
    margin: 0;
}
.leasing .main-banner form[name="leasing"] button[type="submit"]:hover {
    background: #E53947;
    border-color: #E53947;
}
.leasing .main-banner form[name="leasing"] .policy-text {
    font-size: 14px;
    color: #fff;
    opacity: 0.7;
    line-height: 1.3;
    flex: 1;
    max-width: 226px;
}
.leasing .main-banner form[name="leasing"] .policy-text a {
    color: #fff;
    text-decoration: underline;
}
.leasing .desc {
    background: #D50E2E;
    color: #fff;
    border-radius: 0 0 10px 10px;
    padding: 44px 32px;
    font-size: 22px;
    font-weight: 400;
    margin-top: -8px;
}
.leasing .desc .text-desc {
    max-width: 1155px;
}
.wrapper {
    max-width: 1680px;
    width: 100% ;
}
@media (max-width: 1450px) {
    #header > div > div > div > div > a.topMenu__tel {
        display: none;
    }
}
@media (max-width: 1400px) {
    .wrapper.leasing {
    padding: 40px 20px 40px 20px;
    width: 100%;    
    }
    #header > div > div > div > div > nav > ul > li:nth-child(8) > a {
        display: none;
    }

}

@media (max-width: 1024px) {
    .leasing .main-banner .top-content {
        flex-direction: column;
        gap: 32px;
        padding: 32px 16px 0 16px;
    }
    .leasing .main-banner .banner-text {
        font-size: 28px;
        max-width: 100%;
    }
    .leasing .main-banner form[name="leasing"] .leasing-form-bottom {
        padding-bottom: 20px;
    }
    .leasing .main-banner form[name="leasing"] {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
    .leasing .main-banner form[name="leasing"] input[type="text"] {
        width: 100%;
    }
    .leasing .desc {
        padding: 18px 12px;
        font-size: 15px;
    }
}
@media (max-width: 960px) {
    .leasing-popup-success__close {
        right: 14px !important;
    }
}
@media (max-width: 600px) {
    .leasing .banner-wrap {
        border-radius: 0;
    }
    .leasing .main-banner {
        min-height: 400px;
    }
    .leasing .desc {
        border-radius: 0 0 10px 10px;
    }
}
.leasing-specialization {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    margin: 64px 0 48px 0;
}
.leasing-specialization__content {
    flex: 1 1 0;
    max-width: 600px;
}
.leasing-specialization__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 32px;
}
.leasing-specialization__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.leasing-specialization__list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    margin-bottom: 28px;
    line-height: 1.4;
}
.leasing-specialization__list li b{
    font-size: 22px;
}
.leasing-specialization__list li:last-child {
    margin-bottom: 0;
}
.leasing-specialization__list .check {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-top: 0;
    background: none;
    flex-shrink: 0;
    position: relative;
    align-self: center;
}
.leasing-specialization__list .check::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 5px;
    width: 14px;
    height: 8px;
    border-left: 3px solid #D50E2E;
    border-bottom: 3px solid #D50E2E;
    transform: rotate(-45deg);
    border-radius: 1px;
}
.leasing-specialization__img {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-width: 340px;
    padding-top: 30px;
}
.leasing-specialization__img img {
    width: 100%;
    max-width: 963px;
    border-radius: 24px;
    display: block;
    object-fit: cover;
    max-height: 318px;
}
@media (max-width: 1100px) {
    .leasing-specialization {
        flex-direction: column;
        gap: 32px;
        margin: 35px 0 0 0;
    }
    .leasing-specialization__list .check {
        align-self: baseline;
    }
   
    .leasing-specialization__img {
        justify-content: center;
        min-width: 0;
    }
    .leasing-specialization__img img {
        max-width: 100%;
    }
    .leasing-form-block__policy-below {
        display: none;
    }
}
@media (max-width: 600px) {
    .leasing-specialization__title {
        font-size: 22px;
        margin-bottom: 18px;
    }
    .leasing-specialization__list li {
        font-size: 15px;
        gap: 10px;
        margin-bottom: 18px;
    }
    .leasing-specialization__img img {
        border-radius: 12px;
    }
}
.leasing-benefits {
    margin: 64px 0 0 0;
}
.leasing-benefits__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 28px;
}
.leasing-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.leasing-benefits__item {
    background: #F7F7F7;
    border-radius: 12px;
    padding: 19px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 120px;
    justify-content: center;
    box-sizing: border-box;
    transition: box-shadow 0.22s, background 0.22s, transform 0.22s;
}
.leasing-benefits__item:hover {
    box-shadow: 0 8px 32px rgba(213,14,46,0.13), 0 2px 8px rgba(0,0,0,0.10);
    transform: scale(1.04);
    z-index: 2;
}
.leasing-benefits__item--image {
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.leasing-benefits__item--image img {
    width: 100%;
    height: 100%;
    max-width: 405px;
    max-height: 162px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.leasing-benefits__icon {
    margin-bottom: 16px;
}
.leasing-benefits__icon svg {
    display: block;
}
.leasing-benefits__text {
    font-size: 16px;
    color: #222;
    font-weight: 400;
    line-height: 1.4;
}
@media (max-width: 1200px) {
    .leasing-benefits__grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .leasing-benefits__item--image img {
        max-width: 100%;
        max-height: 120px;
    }
}
@media (max-width: 700px) {
    .leasing-benefits__title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .leasing-benefits__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .leasing-benefits__item,
    .leasing-benefits__item--image {
        min-height: 80px;
        padding: 18px 12px;
    }
}
.leasing-advantages {
    margin: 64px 0 0 0;
}
.leasing-advantages__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.2;
}
.leasing-advantages__flex {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.leasing-advantages__row {
    display: flex;
    gap: 24px;
}
.leasing-advantages__item {
    background: #F7F7F7;
    border-radius: 10px;
    padding: 18px 20px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 110px;
    box-sizing: border-box;
    gap: 12px;
    flex: 1 1 0;
    text-align: left;
    transition: box-shadow 0.22s, background 0.22s, transform 0.22s;
    min-height: auto;
}
.leasing-advantages__item:hover {
    box-shadow: 0 8px 32px rgba(213,14,46,0.13), 0 2px 8px rgba(0,0,0,0.10);
    transform: scale(1.04);
    z-index: 2;
}
/* Отключаем hover-эффект для элементов в мобильном слайдере */
.leasing-advantages.mobile .leasing-advantages__item:hover {
    box-shadow: none;
    transform: none;
    z-index: auto;
}
.leasing-advantages__row--double .leasing-advantages__item--half {
    width: 49%;
    flex: 0 0 49%;
}
.leasing-advantages__row--double .leasing-advantages__item--half .leasing-advantages__text {
    max-width: 400px;
}
.leasing-advantages__row--double {
    gap: 24px;
}
.leasing-advantages__item--wide {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    flex: 0 0 100%;
}
.leasing-advantages__icon {
    flex-shrink: 0;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.leasing-advantages__icon img {
    width: 40px;
    height: 40px;
    display: block;
}
.leasing-advantages__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.leasing-advantages__name {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 0;
    line-height: 1.2;
}
.leasing-advantages__desc {
    font-size: 16px;
    color: #222;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.4;
}
.leasing-advantages.mobile {
        display: none;
    }
@media (max-width: 1200px) {
    .leasing-advantages__row {
        /* flex-direction: column; */
        gap: 12px;
    }
    .leasing-advantages__row--double {
        /* flex-direction: column; */
        gap: 12px;
    }
    .leasing-advantages__row--double .leasing-advantages__item--half {
        width: 100%;
        flex: 1 1 100%;
    }
    .leasing-advantages__item {
        min-width: 0;
    }
}
@media (max-width: 700px) {
    .leasing-advantages__title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .leasing-advantages__flex {
        gap: 8px;
    }
    .leasing-advantages__row {
        flex-direction: column;
        gap: 8px;
    }
    .leasing-advantages__item {
        min-height: 70px;
        padding: 10px 7px;
        gap: 8px;
    }
    .leasing-advantages__icon img {
        width: 26px;
        height: 26px;
    }
    .leasing-advantages__desc {
        font-size: 12px;
    }
}
@media (max-width: 1400px) {
    .leasing-advantages__title,
    .leasing-benefits__title,
    .leasing-specialization__title {
        font-size: 28px;
    }
    .leasing-advantages__row,
    .leasing-benefits__grid {
        gap: 18px;
    }
    .leasing-specialization__img img {
        max-width: 645px;
    }
    
    .leasing-why__img img{
        max-width: 645px;
    }
}
@media (max-width: 1280px) {
    .leasing-form-block .leasing-form-block__left{
        flex: unset;
    }
    .leasing-advantages__title,
    .leasing-benefits__title,
    .leasing-specialization__title {
        font-size: 24px;
    }
    .leasing-advantages__row,
    .leasing-benefits__grid {
        gap: 12px;
    }
    .leasing-specialization__img img {
        max-width: 400px;
    }
}
@media (max-width: 1024px) {
    .leasing-advantages.desktop {
        display: none;
    }
    .leasing-advantages.mobile {
        display: block;
    }

    .leasing-advantages__row,
    .leasing-benefits__grid {
        gap: 8px;
    }
    .leasing-specialization__img img {
        max-width: 100%;
    }
    .leasing-advantages__flex {
        gap: 8px;
    }
}
@media (max-width: 600px) {
    .leasing .main-banner form[name="leasing"] .leasing-form-bottom {
        flex-direction: column;

    }
    .leasing .main-banner form[name="leasing"] .policy-text {
        max-width: 100%;
    }
    .leasing .main-banner form[name="leasing"] button[type="submit"] {
        width: 100%;
    }
}
@media (max-width: 500px) {
    /* #formLeasingBanner > div > div {
        display: none;
    } */
    .leasing-benefits__text {
        font-size: 14px;
    }
}
@media (max-width: 800px) {

    .leasing-advantages__row {
        flex-direction: column;
        gap: 6px;
    }
    .leasing-advantages__item {
        min-width: 0;
        padding: 10px 7px;
        gap: 15px;
    }
    .leasing-advantages__icon img {
        width: 26px;
        height: 26px;
    }
    .leasing-advantages__desc {
        font-size: 12px;
    }
    .leasing .desc {
        padding: 18px 20px;
        font-size: 12px;
    }

}
@media (max-width: 440px) {
    .leasing-advantages__item {
        padding: 7px 3px;
        font-size: 12px;
    }
    .leasing-advantages__icon img {
        width: 30px;
        height: 30px;
    }
    .leasing-advantages__title {
        font-size: 22px;
    }
}
@media (max-width: 360px) {
    .leasing-advantages.mobile .leasing-advantages__item {
        min-height: 220px !important;
    }
    .leasing .main-banner .banner-text{
        font-size: 25px;
    }
    .leasing .main-banner .top-content{
        max-height: 575px;
    }
    .leasing .main-banner .banner-text{
        padding-top: 150px;
    }
    .wrapper.leasing {
        padding: 40px 10px;
    }
    .leasing-specialization__list .check{
        align-self: flex-start;
    }
    .leasing-specialization{
        margin: 30px 0 60px 0;
    }
}
.leasing-save {
    margin: 80px 0 0 0;
    background: none;
}
.leasing-save__container {
    display: block;
}
.leasing-save__left {
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    margin-bottom: 48px;
}
.leasing-why {
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin: 64px 0 0 0;
}
.leasing-why__content {
    flex: 1 1 0;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.leasing-why__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
}
.leasing-why__desc {
    font-size: 18px;
    color: #222;
    margin-bottom: 32px;
    line-height: 1.6;
}
.leasing-why__footer {
    margin-top: auto;
}
.leasing-why__footer-btn {
    display: inline-block;
    background: #D50E2E;
    color: #fff;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(213,14,46,0.08);
}
.leasing-why__img {
    flex: 1 1 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-width: 340px;
}
.leasing-why__img img {
    width: 100%;
    max-width: 820px;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    height: 95%;
}
@media (max-width: 1100px) {
    .leasing-why {
        flex-direction: column;
        gap: 24px;
        margin: 50px 0 0 0;
    }
    .leasing-why__img {
       max-height: 380px;
    }
    .leasing-why__img {
        justify-content: center;
        min-width: 0;
    }
    .leasing-why__img img {
        max-width: 100%;
    }
    .wrapper {
        padding: 0 20px;
    }
}
@media (max-width: 700px) {
    .leasing-why__title {
        font-size: 22px;
        margin-bottom: 14px;
    }
    .leasing-why__desc {
        font-size: 14px;
        margin-bottom: 18px;
    }
    .leasing-why__footer-btn {
        font-size: 14px;
        padding: 22px 10px;
        border-radius: 6px;
    }
    .leasing-why__img img {
        border-radius: 10px;
    }
}
.leasing-save__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 18px;
}
.leasing-save__subtitle {
    font-size: 18px;
    color: #000;
    opacity: 0.7;
    font-weight: 400;
}
.leasing-save__right {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}
.leasing-save__sticky-title {
    background: #fff;
    font-size: 18px;
    font-weight: 700;
    color: #D50E2E;
    padding: 18px 0 18px 0;
    border-bottom: 1px solid #E5E5E5;
    position: sticky;
    top: 0;
    z-index: 2;
}
.leasing-save__scroll {
    flex: 1 1 auto;
    /* overflow-y: auto; */ /* убираем скролл */
    max-height: none;
    padding-right: 0;
}
.leasing-save__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0;
    margin: 0;
    scrollbar-width: none; /* убираем скроллбар */
}
.leasing-save__scroll::-webkit-scrollbar {
    display: none;
}
.leasing-save__item {
    background: #F7F7F7;
    border-radius: 10px;
    padding: 22px 24px 18px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(213,14,46,0.04);
    transition: box-shadow 0.18s, background 0.18s, transform 0.18s;
}
.leasing-save__item:hover {
    box-shadow: 0 8px 32px rgba(213,14,46,0.13), 0 2px 8px rgba(0,0,0,0.10);
    transform: scale(1.03);
    z-index: 2;
}
.leasing-save__num {
    font-size: 30px;
    font-weight: 700;
    color: #D50E2E;
    min-width: 44px;
    text-align: right;
    margin-top: 2px;
}
.leasing-save__item-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}
.leasing-save__item-desc {
    font-size: 16px;
    color: #222;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.5;
}
@media (max-width: 1100px) {
    .leasing-save__container {
        flex-direction: column;
        gap: 32px;
    }
}
@media (max-width: 700px) {
    .leasing-save {
        margin: 40px 0 0 0;
    }
    .leasing-save__container {
        gap: 18px;
    }
    .leasing-save__title {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .leasing-save__subtitle {
        font-size: 13px;
    }
    .leasing-save__sticky-title {
        font-size: 15px;
        padding: 10px 0;
    }

    .leasing-save__list {
        gap: 10px;
    }
    .leasing-save__item {
        padding: 12px 10px 10px 10px;
        gap: 10px;
        border-radius: 7px;
    }
    .leasing-save__num {
        font-size: 22px;
        min-width: 28px;
    }
    .leasing-save__item-title {
        font-size: 16px;
        margin-bottom: 3px;
    }
    .leasing-save__item-desc {
        font-size: 12px;
    }
}
.leasing-save__item {
    background: #F7F7F7;
    border-radius: 10px;
    padding: 22px 24px 18px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(213,14,46,0.04);
    transition: box-shadow 0.18s, background 0.18s, transform 0.18s;
}

.leasing-save__item-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}


@media (max-width: 700px) {
    .leasing-save__item {
        padding: 12px 10px 10px 10px;
        gap: 6px;
        border-radius: 7px;
    }
    .leasing-save__num {
        min-width: 0;
        margin-bottom: 4px;
    }
}
.leasing-form-block {
    margin: 60px 0 0 0;
    background: #D50E2E url('<?=SITE_TEMPLATE_PATH?>/img/form-bg.png') left center no-repeat;
    background-size: 45% auto;
    background-position: 0% center;
    border-radius: 9px;
    display: flex;
    align-items: stretch;
    padding: 36px 45px 32px 45px;
    gap: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.leasing-form-block .leasing-form-block__bottom button {
    margin: unset;
    margin-bottom: unset
}
.leasing-form-block__left {
    flex: 0 0 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.leasing-form-block__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 6px;
}
.leasing-form-block__desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}
.leasing-form-block__contacts div:nth-child(1) {
    margin-bottom: 10px;
}
.leasing-form-block__contacts {
    font-size: 18x;
    opacity: 0.95;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.leasing-form-block__contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-top: 2px;
}
.leasing-form-block__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.leasing-form-block__icon img {
    width: 30px;
    display: block;
}
.leasing-form-block__form {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
    padding-top: 20px;
}
.leasing-form-block__form input[type="text"] {
    width: 100%;
    height: 54px;
    border-radius: 8px;
    border: none;
    padding: 0 25px;
    font-size: 16px;
    margin-bottom: 0;
    background: #fff;
    color: #222;
    font-weight: 400;
}
.leasing-form-block__form input[type="text"]::placeholder {
    color: #999;
    opacity: 1;
}
.leasing-form-block__bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 8px;
}
.leasing-form-block__form button[type="submit"] {
    width: 245px;
    height: 54px;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.leasing-form-block__form button[type="submit"]:hover {
    background: #fff;
    color: #D50E2E;
}
.leasing-form-block__policy {
    font-size: 12px;
    color: #fff;
    opacity: 0.8;
    line-height: 1.3;
    max-width: 220px;
}
.leasing-popup-success {
    padding: 36px 28px 28px 28px;
    max-width: 430px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(213,14,46,0.13), 0 2px 8px rgba(0,0,0,0.10);
    text-align: center;
    position: relative;
    margin: 0 auto;
}
.leasing-popup-success__icon {
    margin-bottom: 18px;
}
.leasing-popup-success__icon svg {
    display: inline-block;
}
.leasing-popup-success__title {
    font-size: 22px;
    font-weight: 700;
    color: #D50E2E;
    margin-bottom: 10px;
}
.leasing-popup-success__text {
    font-size: 16px;
    color: #222;
    opacity: 0.95;
    margin-bottom: 0;
    text-align: left;
}
.leasing-popup-success__close {
    position: absolute;
    top: 8px;
    right: -36px;
    background: none;
    border: none;
    font-size: 26px;
    color: #D50E2E;
    opacity: 0.7;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.18s;
    line-height: 1;
    padding: 0;
    display: block;
}
.leasing-popup-success__close:hover {
    opacity: 1;
}
.mfp-bg.leasing-popup-anim {
    background: rgba(0,0,0,0.45);
}
.mfp-content .leasing-popup-success {
    animation: leasing-popup-fade-in 0.22s;
}
@keyframes leasing-popup-fade-in {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.mfp-close {
    display: none !important; /* скрываем стандартный крестик */
}
.input-error {
    border: 1px solid #D50E2E !important;
    background: #fff0f2 !important;
}
.leasing-popup-success__icon--error svg {
    /* Красный фон для ошибки */
    background: none;
}
.leasing-popup-success__icon--error {
    margin-bottom: 18px;
}
.leasing-popup-success__title {
    font-size: 22px;
    font-weight: 700;
    color: #D50E2E;
    margin-bottom: 10px;
}
.leasing-popup-success__icon--error + .leasing-popup-success__title {
    color: #D50E2E;
}
.input-error {
    border: 1px solid #D50E2E !important;
    background: #fff0f2 !important;
}
.leasing-form-block__policy a {
    color: #fff;
    text-decoration: underline;
}
.leasing-form-block__contact-link {
    color: #fff;
    transition: color 0.18s;
    word-break: break-all;
    font-size: 18px;

}
.leasing-form-block__contact-link:hover {
    color: #ffe0e0;
    text-decoration: underline;
}
.leasing-form-block__policy-below {
    font-size: 12px;
    color: #fff;
    opacity: 0.8;
    line-height: 1.3;
    margin-top: 18px;
    max-width: 260px;
}
.leasing-form-block__policy-below a {
    color: #fff;
    text-decoration: underline;
}
.leasing-advantages__swiper {
    width: 100%;
    padding-bottom: 24px;
}
.leasing-advantages__item {
    box-sizing: border-box;
}
.leasing .swiper-pagination {
    
}
.leasing .swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.leasing .swiper-pagination .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    position: static;
    left: 0;
    transform: unset;
    margin: 8px auto 0;
    text-align: center;
}
.leasing .swiper-pagination-bullet-active {
    background-color: #D50E2E;
}
@media (max-width: 1750px) {
    .wrapper.leasing{
        padding: 40px 20px;
    }
}
@media (max-width: 1024px) {
    .wrapper.leasing {
        padding: 20px;
    }
    .leasing-advantages.mobile .leasing-advantages__swiper {
        width: 100%;
    }
    .leasing-advantages.mobile .swiper-slide {
        display: flex;
        justify-content: center;
    }
    .leasing-advantages.mobile .leasing-advantages__item {
        margin: 0 auto;
        padding: 20px;
        padding-bottom: 60px;
        min-height: 200px;
    }
    
}
@media (max-width: 1100px) {
    .leasing-form-block {
        flex-direction: column;
        gap: 24px;
        padding: 24px 12px 18px 12px;
        background-size: 300% auto;
        background-position: 60% center;
    }
    .leasing-why__content {
        max-width: 100%;
    }
    .leasing-form-block__left {
        flex: none;
    }
    .leasing-form-block__contacts div:nth-child(1) {
        margin-bottom: 0;
    }
    .leasing-form-block__desc {
        margin-bottom: 10px;
    }
    
}
@media (max-width: 700px) {
    .leasing-form-block {
        border-radius: 8px;
        gap: 12px;
        background-size: 400% auto;
        background-position: 50% center;
        padding: 24px 12px 30px 12px;
    }
    .leasing-form-block__title {
        font-size: 20px;
    }
    .leasing-form-block__desc,
    .leasing-form-block__contacts,
    .leasing-form-block__contact-row {
        font-size: 13px;
    }
    .leasing-form-block__form input[type="text"] {
        height: 46px;
        font-size: 14px;
        border-radius: 6px;
    }
    .leasing-form-block__form button[type="submit"] {
        width: 100%;
        height: 55px;
        font-size: 14px;
    }
    .leasing-form-block__bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 4px;
    }
    .leasing-form-block__policy {
        font-size: 11px;
        max-width: 100%;
    }
}
@media (min-width: 768px) {
    .leasing-save__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Стили для чекбоксов */
.form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
}

.form-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.form-checkbox .checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    transition: all 0.2s;
}

.form-checkbox:hover input ~ .checkmark {
    border-color: #fff;
}

.form-checkbox input:checked ~ .checkmark {
    background-color: #fff;
    border-color: #fff;
}

.form-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #D50E2E;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.form-checkbox .checkbox-text {
    font-size: 13px;
    line-height: 1.3;
    color: #fff;
    opacity: 0.9;
}

.form-checkbox .checkbox-text a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.form-checkbox .checkbox-text a:hover {
    opacity: 0.8;
}

/* Стили для формы в баннере */
.leasing .main-banner form[name="leasing"] .leasing-form-bottom {
    flex-direction: column;
    align-items: flex-start;
}

.leasing .main-banner form[name="leasing"] button[type="submit"] {
    width: 100%;
    margin-bottom: 10px;
}

.leasing .main-banner form[name="leasing"] .policy-text {
    display: none; /* Скрываем старый текст, так как теперь используем чекбокс */
}

/* Стили для формы внизу страницы */
.leasing-form-block__policy {
    display: none; /* Скрываем старый текст, так как теперь используем чекбокс */
}

.leasing-form-block__policy-below {
    display: none; /* Скрываем дублирующийся текст */
}


@media (max-width: 700px) {
    .form-checkbox .checkbox-text {
        font-size: 11px;
    }
    
    .form-checkbox .checkmark {
        top: 1px;
        height: 16px;
        width: 16px;
    }
    
    .form-checkbox .checkmark:after {
        left: 5px;
        top: 2px;
        width: 4px;
        height: 8px;
    }
}
@media screen and (max-width: 460px) {
 .leasing-popup-success{
    max-width: 90%;
 }
}