/* 1.1.general-setting-pages *************************/
/****************************************************/
/* Regular */
@font-face {
  font-family: 'RockStar';
  src: url('../fonts/RockStar-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'RockStar';
  src: url('../fonts/RockStar-SemiBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/*
@font-face {
  font-family: 'MyFont';
  src: url('fonts/MyFont-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}


@font-face {
  font-family: 'MyFont';
  src: url('fonts/MyFont-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}*/


:root {
    --gradient-start: #FF8C00;
    --gradient-end: #000000;
    --card-bg: black;
    --border-width: 1px;
	--gap: 70px;
    --orange-color: #F96302;
}

html {
  scroll-behavior: smooth;
}

* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-family: "IBM Plex Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 200;
	font-style: normal;
	margin: 0;
	padding: 0;
	-webkit-font-feature-settings: 'pnum' on, 'lnum' on;
	font-feature-settings: 'pnum' on, 'lnum' on;
    line-height:1.35;
    font-size:16px;
}

    .bg-liquid-glass {
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        background-color: rgba(255, 255, 255, 0.1);
    }

    @supports not (hanging-punctuation:first) {
        .bg-liquid-glass {
            backdrop-filter: url(#displacementFilter) blur(1px);
        }
    }


body {
	background:black;
	color:white;
}

.wrapper {
    width:1600px;
    height:auto;
    margin:0 auto;
}

.col-12 {
    width:100%;
    height:auto;
    position:relative;
}

.col-5 {
    width:41.6%;
    height:auto;
    position:relative;
}


.col-6 {
    width:50%;
    height:auto;
    position:relative;
}

.col-7 {
    width:58.4%;
    height:auto;
    position:relative;
}

.col-10 {
    width:83.4%;
    height:auto;
    position:relative;
}

.col-2 {
    width:16.6%;
    height:auto;
    position:relative;
}

.logo-line {
    position:relative;
    z-index: 4;
}

img.header-main-image {
    position: absolute;
    width: 57%;
    right: 30px;
    top: 60px;
    z-index: 3;
    transition: transform 0.6s ease-out; /* Плавность движения */
    will-change: transform; /* Оптимизация производительности */
}

img.header-main-image-glow {
    position: absolute;
    width: 1700px;
    right: -400px;
    top: -500px;
    z-index: 2;
}

.header {
    background: url(../img/header-glow.png) center center no-repeat;
    background-size: auto 1500px;
    background-position: 80% 60%;
    padding-top:34px;
    padding-bottom: 200px;
}

.logo-line {
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.header h1, .header h1 span {
    font-size: 110px;
    line-height:0.65;
    font-weight:500;
    font-family: 'RockStar', sans-serif;
}

 .gradient-text {
      /* Основной градиент текста */
      background: linear-gradient(180deg, #FF8C00 0%, #E85D04 50%, #D84315 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
}

.header-content-column {
    z-index:4;
    min-height: 715px;
}

.header h2 {
    font-size: 25px;
    line-height:1.2;
    font-weight:700;
    font-family: 'RockStar', sans-serif;
    margin-top:120px;
}

.header-content p {
    font-size: 19px;
    margin: 30px 0px;
    padding-right:50%;
}

.header-content p a {
    font-size: 19px;    
}

.header-content a {
    color:var(--orange-color);
    transition:0.4s ease;
}

.header-content a:hover {
    text-decoration:none;
}

.main-btn {
    display:flex;
    gap:8px;
    text-decoration:none!important;
}

.main-btn-left {
    height:82px;
    width:82px;
    display:flex;
    border-radius:9px;
    background: left center url(../img/btn-bg-1.jpg) no-repeat;
    background-size: auto 82px;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    border:2px solid #70788493;
}

.main-btn-left img {
   width:50px;
   height:auto;
}

.main-btn-right {
    height:82px;
    width:auto;
    padding: 0 40px;
    display:flex;
    border-radius:9px;
    color:white;
    font-weight:500;
    font-family: 'RockStar', sans-serif;
    background: left center url(../img/btn-bg-2.jpg) no-repeat;
    background-size: auto 82px;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap; 
    text-decoration:none!important;
    border:2px solid #70788493;
    font-size: 20px;
}

/* анимация кнопки */
.main-btn-left,
.main-btn-right {
    position: relative;
    overflow: hidden;
}

.main-btn-left::before,
.main-btn-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 20%,
        rgba(255, 200, 50, 0.15) 35%,
        rgba(255, 160, 0, 0.25) 50%,
        rgba(255, 200, 50, 0.15) 65%,
        transparent 80%,
        transparent 100%
    );
    transform: skewX(-25deg);
    filter: blur(3px);
    animation: shine 4.5s ease-in-out infinite;
}

.main-btn-left::before {
    animation-delay: 0.2s;
}

@keyframes shine {
    0% {
        left: -150%;
    }
    45%, 100% {
        left: 150%;
    }
}

/* Hover эффект */
.main-btn {
    transition: transform 0.3s ease;
}

.main-btn:hover {
    transform: scale(1.03);
}

.main-btn:hover .main-btn-left::before,
.main-btn:hover .main-btn-right::before {
    animation: shineHover 0.6s ease forwards;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 20%,
        rgba(255, 200, 50, 0.25) 35%,
        rgba(255, 160, 0, 0.35) 50%,
        rgba(255, 200, 50, 0.25) 65%,
        transparent 80%,
        transparent 100%
    );
}

@keyframes shineHover {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

.main-btn:hover .main-btn-left,
.main-btn:hover .main-btn-right {
    border-color: #ff8c00;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease;
}

.main-btn:active {
    transform: scale(0.98);
}




.header-bottom {
    display: flex;
    flex-direction: row;
    margin-top:100px;
}

.header-bottom-left {
    border-top:1px solid var(--orange-color);
    padding-top:10px;
    text-align:left;
    color:var(--orange-color);
}

.header-bottom-right {
    border-top:1px solid var(--orange-color);
    padding-top:10px;
    display:flex;
    justify-content: space-between;
    color: var(--orange-color);
}

.main-block {
    margin-top:210px;
}

.main-block.leasing {
    margin-top:30px;
}

.leasing {
    background: url(../img/g_bg2.jpg) center center no-repeat;
    background-size: auto 1300px;
    background-position: 0% 70%;
}


.leasing h3 {
    font-size: 38px;
    line-height:1.1;
    font-weight:500;
    font-family: 'RockStar', sans-serif;
    width:100%;
    padding-right:25%;
    position:relative;
    z-index: 4;
}

.leasing-image {
    position:relative;
}

.leasing-glow {
    position: absolute;
    left: -90%;
    top: -110%;
    z-index: 2;
}

.leasing-percent {
    position:relative;
    z-index:3;
    margin-top:40px;
}

.conditions-title {
    margin-bottom:40px;
}

.conditions-title p {
   font-weight:500;
   font-size:20px;
}

    /* Контейнер для карточек */
    .cards-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      z-index:5;
    }

    /* Карточка */
    .card {
      flex: 1 1 calc(50% - 10px); /* 2 колонки с учётом gap */
      min-width: 300px;
      aspect-ratio: 1 / 1; /* Квадратные карточки */
      
      /* Градиентная обводка */
      background: 
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) border-box;
      border: var(--border-width) solid transparent;
      border-radius: 20px;
      
      /* Внутренний flex для контента */
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 25px;
      
      position: relative;
      overflow: hidden;
    }

    /* Текст карточки */
    .card-title {
      color: #fff;
      font-size: 20px;
      line-height: 1.3;
      z-index: 1;
      transition: transform 0.6s ease-out;
    }


.leasing .wrapper {
    display: flex;
    flex-direction: row;
}

.conditions-inner-bg {
    position:absolute;
    width:100%;
    bottom:0;
    right:0;
    transform-origin: bottom right; /* Увеличение от угла где картинка */
    transition: transform 0.4s ease-out;
}

.card:hover .conditions-inner-bg {
    transform: scale(1.05);
}

.card:hover p.card-title {
    color:var(--orange-color);
    font-weight:400;
}

.title-center {
    text-align:center;
    margin-bottom:60px;
}

.process-cards-cta {
    margin-top:60px;
    display: flex;
    justify-content: center;
    padding: 40px 0px;
}

.calculator-cta {
    margin-top:20px;
    display: flex;
    justify-content: center;
    padding: 40px 0px;
    z-index:10;
}

.title-center h4, .title-center h4 span {
    font-size:40px;
    line-height: 1.1;
    font-weight: 500;
    font-family: 'RockStar', sans-serif;
}

.card-outer {
    border:1px solid rgba(255, 255, 255, 0.345);
    border-radius:20px;
   perspective: 1000px;
}

.process-cards {
    display:flex;
    gap:40px;
    will-change: transform; 
    transition: transform 0.6s ease-out;
}   

.card-inner-image img {
    width: 235px;
    height:auto;    
    margin-left: 25px;
    transition: transform 0.3s ease-out;
    transform-style: preserve-3d;
}

.card-outer {
    flex: 1 1 0;
    padding: 26px;
    transition: transform 0.3s ease-out;
} 

.card-outer:hover {
     transform: scale(1.03);    
} 

.process {
    background:black url(../img/cards-bg.jpg) no-repeat center center;
    background-size:2600px auto;
}

.card-inner {
    background: #FF470F;
    background: linear-gradient(104deg, rgba(255, 71, 15, 1) 0%, rgba(253, 125, 20, 1) 100%);
    padding: 40px;
    border-radius: 18px;
    min-height: 310px;
    padding-top:80px;
    margin-top:-60px;
}

.process-card-title {
    font-size: 24px;
    font-weight:500;
    margin-bottom:20px;
    padding-right:20%;
}

.process-card-text {
    font-size: 17px;
    padding-right: 20%;
    font-weight: 300;
    color: white;
}

.cars-outer {
    border:none;
}

.carsblock {
    background: black url(../img/cars-bg.jpg) no-repeat center -200px;
    background-size: 2600px auto;
}

.brand-switcher-outer {
    display:flex;
   justify-content: center;
   padding:4px;
}

.brand-switcher {
   padding:6px;
   border-radius: 26px;
   background:rgba(255, 255, 255, 0.22);
   width:auto;
   height:auto;
   display:flex;
   gap: 10px;
   border:1px solid rgba(192, 192, 192, 0.219);
   backdrop-filter: blur(10px);
}


.brand-tab {
    font-size: 20px;
    line-height: 1.1;
    font-weight: 500;
    font-family: 'RockStar', sans-serif;
    color:rgba(255, 255, 255, 0.5);
    text-decoration:none;
    padding: 20px 40px;
    border-radius: 23px;
    transition:.2s;
    transition: color 0.3s ease;
    z-index: 5;
}



.brand-tab a:hover {
    color:rgba(255, 255, 255, 1);
}

.brand-tab.active {
    background: var(--orange-color);
    color:white;
}


/* Контентные блоки */
.brand-content {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.brand-content-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s;
}

.brand-content-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Переключатель брендов */
.brand-switcher-outer {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.brand-switcher {
    display: flex;
    position: relative;
    background: rgba(80, 70, 60, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 6px;
    gap: 0;
}

/* Скользящий фон */
.brand-switcher-bg {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 6px);
    height: calc(100% - 12px);
    background: linear-gradient(135deg, #e85a00 0%, #ff7a1a 100%);
    border-radius: 22px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 4px 15px rgba(232, 90, 0, 0.4);
}

/* Позиция фона для второго таба */
.brand-switcher.tab-2 .brand-switcher-bg {
    transform: translateX(100%);
}

/* Контентные блоки */
.brand-content {
    position: relative;
    overflow: hidden;
    min-height: 1000px;
}

.brand-content-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s;
}

.brand-content-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}



.car-info-table {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.219);
    backdrop-filter: blur(20px);
    overflow: hidden;
    padding: 40px 70px;
    border-radius: 30px;
    margin-top: 30px;
    padding-bottom: 100px;
}

.car-info-title-row, .car-info-content-row {
    display: flex;
}

.car-info-title-row .car-info-title {
    margin:30px 0px;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 500;
    font-family: 'RockStar', sans-serif;
}


.car-info-cars-models {
   display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-right:15%;
}

.car-model-block {
    flex: 1 1 calc(50% - 20px); /* 50% минус половина gap */
  min-width: 0;
}

.car-model-block img {
    width: 260px;
    height: auto;
    margin-left: -16px;
}


.car-model-block a {
    color: var(--orange-color);
    text-decoration: none;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    transition: 0.3s ease;
    opacity: 0.8;
    border: 1px solid var(--orange-color);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.car-model-block .arrow-wrapper {
    display: inline-block;
    position: relative;
    width: 14px;
    height: 14px;
    margin-left: 5px;
    vertical-align: middle;
}

.car-model-block .btn-arrow {
    width: 14px;
    height: 14px;
    position: absolute;
    top: 0;
    transition: all 0.3s ease;
    margin-left:0px;
}

.car-model-block .arrow-1 {
    left: 0;
    opacity: 1;
}

.car-model-block .arrow-2 {
    left: -10px;
    opacity: 0;
}

.car-model-block a:hover .arrow-1 {
    left: 10px;
    opacity: 0;
}

.car-model-block a:hover .arrow-2 {
    left: 0;
    opacity: 1;
}

.car-model-block a:hover {
    text-decoration: none;
    opacity: 1;
}

.credit-info {
    display: flex;
    flex-direction: column;
}

.credit-info-row {
    display: flex;
    flex-direction: row;
    font-size: 18px;
    border-bottom:1px solid rgba(255, 255, 255, 0.30);
    padding: 26px 0px;
}

.credit-info-row p a {
    font-size: 18px;
    color: var(--orange-color);
    font-weight:400;
    text-decoration:none;
    transition:.3s ease;
}

.credit-info-row p a:hover {
    text-decoration:underline;
}

.credit-info-row p, .credit-info-label {
    font-size: 18px;
    font-weight: 400;
}

.credit-info-row p.document-link {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom:20px;
}

.credit-info-row p.document-link img {
    width:16px;
    height:auto;
    margin-top:3px;
}

.credit-info-row p.document-link a {
    color:white;
}



.credit-info-content-double {
    display: flex;
    flex-direction: row;
    flex: 0 0 70%;
}

.credit-info-label{
  flex: 0 0 30%; /* 25% от ширины .row */
  opacity: .7;
}

.annotations {
    font-size: 14px;
    opacity: .7;
    border-bottom:none;
    margin-bottom:60px;
}

.credit-info-content-half {
  flex: 0 0 50%;
  min-width: 0;
}

p.big_percent {
    font-size: 34px!important;
    font-weight: 400;
}

p.small_info {
    font-size: 15px!important;
    font-weight: 300;
}

.credit-info-divider {
    width: 100%;
    clear: both;
    margin: 50px 0px;
    border-bottom: 2px solid var(--orange-color);
    opacity: .3;
}

.car-model-block p {
    font-size:18px;
    line-height:1.4;
    font-weight:400;
    margin-bottom:10px;
}

.calculator-main {
    background:black url(../img/cards-bg.jpg) no-repeat center center;
    background-size:2600px auto;
}

.calculator-outer { 
    display: flex;
    justify-content: center;
    position:relative;
    z-index:5;
}

.calculator-block {
    width: 90%;
    height: 560px;
    background: rgb(255 107 34 / 15%);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid #ffffff1c;
}

.title-center p.subtitle {
    font-size: 18px;
    margin-bottom:50px;
    margin-top:15px;
}

.title-icon {
    position:relative;
    margin-top: 100px;
    margin-bottom: 180px;
    height: 1px;
}

.faq_icon {
    position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); 
}

        .faq-item {
            border-bottom: 1px solid rgba(249, 101, 2, 0.4);
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 22px 0;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            opacity: 0.8;
        }

        .faq-question h3 {
            color: #ffffff;
            font-size: 20px;
            font-weight: 500;
            padding-right: 20px;
            transition: color 0.3s ease;
        }

        .faq-item.active .faq-question h3 {
            color: var(--orange-color);
        }

        .faq-icon {
            width: 48px;
            height: 48px;
            min-width: 48px;
            border-radius: 40%;
            background-color: #2a2a2a;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .faq-item.active .faq-icon {
            background-color: var(--orange-color);
        }

        .faq-icon svg {
            width: 24px;
            height: 24px;
            fill: #888;
            transition: all 0.3s ease;
        }

        .faq-item.active .faq-icon svg {
            fill: #ffffff;
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
        }

        .faq-answer p {
            color: #b0b0b0;
            font-size: 17px;
            line-height: 1.6;
            padding-bottom: 25px;
            padding-right: 80px;
        }

        /* Плавная анимация для контента */
        .faq-answer-content {
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .faq-item.active .faq-answer-content {
            opacity: 1;
            transform: translateY(0);
        }

.faq-outer {
    display: flex;
    justify-content: center;
}

.faq-container {
    width:60%;
}

.geely_waiting {
    display: flex;
    justify-content: center;
}

.geely_waiting img {
    max-width:80%;
    margin-top:-150px;
    z-index:2;
}

.waiting .title-center {
    position:relative;
    z-index:3;
}

.waiting-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.about-center {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 800px;
    align-content: center;
    flex-wrap: wrap;
    text-align: center;
}

img.about_logo {
    max-width:300px;
    margin-bottom:50px;
    margin-top:100px
}

.about-center p {
    font-size:14px;
    color: #8e8e8e;
}

img.cars_logo {
    height: 60px;
}

img.bank_logo {
        height: 48px;
}


/* Блок калькулятор */

        .calculator {
            padding: 35px 40px;
            display: flex;
            width: 100%;
            position:relative;
            z-index:6;
            min-height: 550px;
        }

        .calculator-left {
            flex: 1;
            display: flex;
            flex-direction: column;
            width: 50%;
            flex: 0 0 50%;
            background: #ffffff4a;
            border-radius: 30px;
            backdrop-filter: blur(10px);
            border: 1px solid #ffffff30;
            padding: 30px;
        }

        .calculator-right {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 50%;
            flex: 0 0 50%;
            padding-left:50px;
        }

        /* Блок выбора суммы */
        .amount-block {
            margin-bottom: 40px;
        }

        .block-title {
            color: rgba(255, 255, 255, 0.9);
            font-size: 18px;
            margin-bottom: 15px;
            font-weight: 400;
        }

        .amount-input-wrapper {
            background: #fff;
            border-radius: 10px;
            padding: 24px 22px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom-left-radius: 0px;
            border-bottom-right-radius: 0px;
        }

        .amount-value {
            font-size: 28px;
            font-weight: 700;
            color: var(--orange-color);
            border: none;
            outline: none;
            width: 100%;
            background: transparent;
        }

        .amount-value::placeholder {
            color: var(--orange-color);
        }

        .edit-icon {
            width: 22px;
            height: 22px;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.3s;
            flex-shrink: 0;
            margin-left: 10px;
        }

        .edit-icon:hover {
            opacity: 1;
        }

        .edit-icon svg {
            width: 100%;
            height: 100%;
            fill: #e85a00;
        }

        /* Слайдер */
        .slider-container {
            margin-top: -10px;
        }

        .amount-slider {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.25);
            border-radius: 2px;
            outline: none;
            margin-bottom: 12px;
            position: relative;
        }

        .amount-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            background: #fff;
            border: 3px solid #e85a00;
            border-radius: 4px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            transition: transform 0.2s;
            position: relative;
            z-index: 2;
        }

        .amount-slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
        }

        .amount-slider::-moz-range-thumb {
            width: 18px;
            height: 18px;
            background: #fff;
            border: 3px solid #e85a00;
            border-radius: 4px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .slider-labels {
            display: flex;
            justify-content: space-between;
            color: rgba(255, 255, 255, 0.6);
            font-size: 13px;
        }

        .slider-labels .current {
            color: rgba(255, 255, 255, 0.85);
            font-weight: 400;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .slider-labels-wrapper {
            position: relative;
            display: flex;
            justify-content: space-between;
        }

        .slider-labels-wrapper span {
            font-weight:400;
        }


        /* Для Chrome, Safari, Edge */
        .amount-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 36px;          /* ширина */
            height: 20px;         /* высота - делаем больше для "длинного" вида */
            background: #fff;
            border: 4px solid #e85a00;
            border-radius: 8px;   /* скругление краёв */
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            transition: transform 0.2s;
        }

        .amount-slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
        }

        /* Для Firefox */
        .amount-slider::-moz-range-thumb {
            width: 16px;
            height: 32px;
            background: #fff;
            border: 3px solid #e85a00;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }


        /* Блок срока */
        .term-block {
            margin-bottom: auto;
        }

        .term-title {
            color: rgba(255, 255, 255, 0.9);
            font-size: 18px;
            margin-bottom: 12px;
            font-weight: 400;
        }

        .term-buttons {
            display: flex;
            gap: 0;
            background: rgb(183 56 8 / 56%);
            border-radius: 12px;
            overflow: hidden;
            padding: 6px;
        }

        .term-btn {
            flex: 1;
            padding: 22px 40px;
            border: none;
            background: transparent;
            color: rgba(255, 255, 255, 0.7);
            font-size: 22px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .term-btn:hover {
            color: #fff;
        }

        .term-btn.active {
            background: #fff;
            color: #e85a00;
            border-radius: 10px;
            font-weight: 700;
        }

        /* Дисклеймер */
        .disclaimer {
            color: rgba(255, 255, 255, 0.8);
            font-size: 12px;
            line-height: 1.3;
            margin-top: auto;
            padding-top: 30px;
            max-width: 100%;
        }

        /* Правая часть - результаты */
        .result-item {
            margin-bottom: 20px;
                display: flex;
                justify-content: space-between;
                border-bottom: 1px solid #F96302;
                padding-bottom: 20px;margin-bottom: 20px;
                display: flex;
                justify-content: space-between;
                border-bottom: 1px solid #F96302;
                padding-bottom: 20px;
        }

        .result-item:last-of-type {
            margin-bottom: 0;
        }

        .result-label {
            color: rgba(255, 255, 255, 0.85);
                font-size: 18px;
                font-weight: 300;
                margin-bottom: 5px;
        }

        .result-value {
            color: #fff;
            font-size: 36px;
            font-weight: 500;
            letter-spacing: 0.5px;
        }

        .result-value.highlight {
            color: #ffffff;
        }

        .results-wrapper {
            flex: 1;
        }

        /* Кнопка сброса */
        .reset-btn {
            background: transparent;
            border: none;
            color: #e85a00;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0;
            transition: opacity 0.3s;
            align-self: flex-end;
            margin-top: auto;
        }

        .reset-btn:hover {
            opacity: 0.8;
        }

        .reset-btn svg {
            width: 16px;
            height: 16px;
        }

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    touch-action: none; /* Блокирует тач-скролл */
}

/* Затемнение фона */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;  /* Добавьте вместо width: 100% */
    bottom: 0; /* Добавьте вместо height: 100% */
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    мoverscroll-behavior: contain;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* Контент модального окна */
.modal-content {
    background: #ffffff3b;
    border-radius: 20px;
    max-width: 1000px;
    border: 1px solid #ffffff38;
    width: 95%;
    position: relative;
    padding: 30px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

#advanceAmount, #payment1, #payment2, .term-tab, #modalPrice, #payment1Max, #payment2Max {
    font-size:36px;
    font-weight:500;
    font-family: 'RockStar', sans-serif;
}

.modal-content span.currency {
    font-weight:500;
    font-family: 'RockStar', sans-serif;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* Кнопка закрытия */
.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-color);
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  line-height: 1;
}

.modal-close:hover {
  transform: scale(1.1);
  background: #c0392b;
}

/* Тело модального окна */
.modal-body {
  display: flex;
  gap: 30px;
}

/* Левая часть */
.modal-left {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
}

.car-info {
  padding: 25px;
  position: relative;
aspect-ratio: 1 / 1;
    overflow: hidden;
        border-radius: 15px;
}

.car-brand {
  color: #fff;
  font-size: 42px;
  margin: 0;
  font-weight:500;
  font-family: 'RockStar', sans-serif;
  position:relative;
  z-index:3;
}

.car-model {
  color: #fff;
  font-size: 42px;
  margin: -10px 0 0 0;
  font-weight:500;
  font-family: 'RockStar', sans-serif;
   position:relative;
  z-index:3;
}

.brand-logo {
  position: absolute;
  top: 25px;
  right: 25px;
  height: 50px;
  width: auto;
  z-index:3;
}

.car-image {
    width: 100%;
    /* height: 220px; */
    object-fit: cover;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
}

.price-block {
  padding: 40px 25px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
}

.price-label {
    color: #ffffff75;
    font-size: 17px;
    margin: 0 0 10px 0;
    line-height: 1.4;
    font-weight: 300;
}

.price-value {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

.currency {
  font-size: 0.6em;
  font-weight: 400;
  color: #ffffff;
}

/* Правая часть */
.modal-right {
  flex: 1;
  padding: 10px 0;
}

.option-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
    border-bottom: 1px solid #ffffff40;
}

.option-label {
  color: #ffffff;
  font-size: 17px;
  margin: 0 0 15px 0;
}

/* Табы аванса */
.option-tabs, .term-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 0px;
}

.option-tab, .term-tab {
  background: transparent;
  border: none;
  color: #ffffff59;
  font-size: 18px;
  cursor: pointer;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s;
  font-weight:500;
  text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}

.option-tab:hover, .term-tab:hover {
  color: #999;
}

.option-tab.active, .term-tab.active {
  color: #fff;
  text-decoration: none;
}

.term-tab.active {
  font-size: 32px;
  font-weight: 700;
}

.term-tab:not(.active) {
  font-size: 32px;

}

.advance-value {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin: 10px 0 0 0;
}

/* Блоки платежей */
.payment-block {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #ffffff40;
}

.payment-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.payment-label {
  color: #ffffff;
  font-size: 17px;
  margin: 0 0 10px 0;
  line-height: 1.2;
  font-weight:300;
}

.payment-value {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin: 0;
}

/* Дисклеймер */
.modal-content .disclaimer {
    text-align: left;
    color: #ffffff91;
    font-size: 12px;
    line-height:1.3;
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
}

/* Ссылка */
.credit-link {
  color: var(--orange-color);
  text-decoration: underline;
  font-weight: 400;
  transition: 0.2s;
}

.credit-link:hover {
  color: var(--orange-color);
  text-decoration: none;
}


/* Кнопка с формой обратной связи */

/* ==========================================
   Оверлей
   ========================================== */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.contact-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   Виджет-контейнер
   ========================================== */
.contact-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 50;
}

/* ==========================================
   Кнопка
   ========================================== */
.contact-btn-link {
    display: flex;
    border-radius: 20px;
    padding: 10px 26px;
    text-decoration: none;
    color: black;
    border: 1px solid rgba(255, 255, 255, 0.341);
    box-shadow: 0px 10px 60px var(--orange-color);
    
    background: linear-gradient(
        90deg,
        rgba(255, 72, 15, 1) 0%,
        rgba(251, 190, 26, 1) 25%,
        rgba(255, 72, 15, 1) 50%,
        rgba(251, 190, 26, 1) 75%,
        rgba(255, 72, 15, 1) 100%
    );
    background-size: 300% 100%;
    animation: gradientMove 3s ease infinite;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.contact-btn-link:hover {
    transform: scale(1.05);
    background: #FBBE1A;
    animation: none;
    box-shadow: 0px 15px 50px rgba(251, 190, 26, 0.7);
}

.contact-btn-link.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.contact-btn {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.contact-btn img {
    width: 38px;
    height: auto;
}

.contact-btn p {
    font-family: 'RockStar', sans-serif;
    font-size: 16px;
    color: black;
    margin: 0;
}

/* ==========================================
   Форма
   ========================================== */
.contact-form-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 680px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 20px 60px rgba(255, 72, 15, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Скрыто по умолчанию */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5) translateY(50px);
    transform-origin: bottom left;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-form-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* Кнопка закрытия */
.contact-form-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e74c3c;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.2s, background 0.2s;
    z-index: 10;
}

.contact-form-close:hover {
    transform: scale(1.1);
    background: #c0392b;
}

/* Контент формы */
.contact-form-content {
    display: flex;
    background:black url(../img/contact-form-bg.jpg) left bottom no-repeat;
    background-size:cover;
    aspect-ratio: 10 / 6;
}

/* Левая часть */
.contact-form-left {
    width: 270px;
    min-height: 320px;
    /* background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%); */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
}

.contact-form-left .chat-icon {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.contact-form-left .car-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: auto;
}

/* Правая часть */
.contact-form-right {
    flex: 1;
    padding: 25px 30px;
}

.contact-form-right h2 {
    font-family: 'RockStar', sans-serif;
    font-size: 22px;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.form-subtitle {
    font-size: 15px;
    color: #ffffff;
    margin: 0 0 20px 0;
}

/* Поля формы */
.form-group {
    margin-bottom: 15px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.3s, background 0.3s;
    box-sizing: border-box;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="tel"]::placeholder {
    color: #ffffff;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
    outline: none;
    border-color: #FBBE1A;
    background: rgba(255, 255, 255, 0.15);
}

/* Чекбокс */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #ffffff;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #ffffff70;
    border-radius: 50%;
    transition: all 0.3s;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #FBBE1A;
    border-color: #FBBE1A;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label a {
    color: #FBBE1A;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #fff;
}

/* Кнопка отправки */
.submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-family: 'RockStar', sans-serif;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    
    background: linear-gradient(
        90deg,
        rgba(255, 72, 15, 1) 0%,
        rgba(251, 190, 26, 1) 100%
    );
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: scale(1.02);
    /*box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.5);*/
}

/* Переключатель программ */
.program-switcher {
    margin-bottom: 20px;
}

.program-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.program-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    min-width: 140px;
    backdrop-filter: blur(10px);
    justify-content: center;    
}

.program-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(232, 90, 0, 0.5);
}

.program-tab.active {
    background: linear-gradient(135deg, rgba(232, 90, 0, 0.3), rgba(255, 140, 0, 0.2));
    border-color: #e85a00;
}

.program-name {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
}

.program-desc {
    font-size: 12px;
    opacity: 0.8;
    text-align: center;
}

/* Информация о программе */
.program-info {
    background: rgba(232, 90, 0, 0.1);
    border-left: 3px solid #e85a00;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    display: none;
}

.program-info-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #fff;
}

.program-info-details {
    font-size: 12px;
    opacity: 0.8;
    color: #ccc;
}

/* Переплата */
.result-item.total-interest {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item.total-interest .result-value {
    color: #ff9500;
}

/* Бейдж программы */
.program-badge {
  background: linear-gradient(135deg, rgba(232, 90, 0, 0.2), rgba(255, 140, 0, 0.1));
  border: 1px solid rgba(232, 90, 0, 0.5);
  border-radius: 8px;
  padding: 10px 15px;
  margin-top: 15px;
  text-align: center;
  display:none;
}

.program-badge-label {
  font-size: 12px;
  color: #aaa;
  display: block;
  margin-bottom: 4px;
}

.program-badge-name {
  font-size: 18px;
  font-weight: 700;
  color: #e85a00;
}

/* Диапазон платежей */
.payment-value {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.payment-value .currency {
  font-size: 16px;
  font-weight: 400;
  color: #aaa;
}

/* ==========================================
   Ссылка на график платежей
   ========================================== */

.payment-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.schedule-link-wrapper {
    margin: -10px 0 0 0;
}

.schedule-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 0;
    opacity:.8;
}

.schedule-link:hover {
    color: #ffffff;
    text-decoration: underline;
    opacity:1;
}

.schedule-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: white;
}

/* ==========================================
   Модальное окно графика платежей
   ========================================== */
.schedule-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.schedule-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.schedule-modal-content {
    background: #1a1a1a;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh; /* Уменьшил, чтобы было место для кнопки */
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible; /* Изменено с hidden на visible */
    margin: 30px; /* Добавляем отступы для кнопки */
}

.schedule-modal-overlay.active .schedule-modal-content {
    transform: scale(1);
}

.schedule-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--orange-color);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    z-index: 10;
}

.schedule-modal-close:hover {
    transform: scale(1.1);
    background: #c0392b;
}

.schedule-modal-close .close_icon {
    width: 16px;
    height: 16px;
}

/* Заголовок модального окна */
.schedule-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.schedule-modal-header h2 {
    font-family: 'RockStar', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 20px 0;
}

.schedule-summary {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.schedule-summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.summary-value {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

/* ==========================================
   Обёртка таблицы со скроллом
   ========================================== */
.schedule-table-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 0 30px;
    min-height: 0; /* Важно для flex */
}

/* ==========================================
   Стилизация скроллбара
   ========================================== */

/* Для WebKit браузеров (Chrome, Safari, Edge) */
.schedule-table-wrapper::-webkit-scrollbar {
    width: 10px;
}

.schedule-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.schedule-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--orange-color);
    border-radius: 5px;
}

.schedule-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #ff7a1a;
}

/* Для Firefox */
.schedule-table-wrapper {
    scrollbar-width: thin;
    scrollbar-color: var(--orange-color) transparent;
}

/* ==========================================
   Таблица
   ========================================== */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.schedule-table thead {
    position: sticky;
    top: 0;
    background: #1a1a1a;
    z-index: 5;
}

.schedule-table th {
    padding: 15px 10px;
    text-align: left;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid var(--orange-color);
    font-size: 13px;
    line-height: 1.3;
}

.schedule-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.schedule-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Выделение льготного периода */
.schedule-table tbody tr.preferential-period {
    background: rgba(232, 90, 0, 0.1);
}

.schedule-table tbody tr.preferential-period:hover {
    background: rgba(232, 90, 0, 0.15);
}

/* ==========================================
   Закреплённый футер с итогами
   ========================================== */
.schedule-modal-totals {
    flex-shrink: 0;
    background: #1a1a1a;
    border-top: 2px solid var(--orange-color);
    padding: 0 30px;
}

.schedule-totals-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.schedule-totals-table td {
    padding: 15px 10px;
    font-weight: 500;
    font-size: 15px;
    color: var(--orange-color);
    background: rgb(232 90 0 / 0%);
}

.schedule-totals-table td:first-child {
    font-weight: 600;
}

/* Футер с дисклеймером */
.schedule-modal-footer {
    padding: 15px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    background: #1a1a1a;
}

.schedule-modal-footer .disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    padding: 0;
    max-width: 100%;
}

/* Внутренний контейнер для скрытия overflow */
.schedule-modal-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}


/* Неактивная (недоступная) кнопка срока */
.term-btn.disabled {
    opacity: 0.05;
    cursor: not-allowed;
    pointer-events: none;
}

/* Единственная доступная опция */
.term-btn.only-option {
    flex: 1;
}

/* Когда только одна кнопка активна */
.term-buttons:has(.term-btn.disabled) .term-btn:not(.disabled) {
    flex: 1;
}

/* ==========================================
   Модальное окно с QR-кодом
   ========================================== */
.qr-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.qr-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 24px;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
    margin: 20px;
}

.qr-modal-overlay.active .qr-modal-content {
    transform: scale(1);
}

.qr-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--orange-color);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    z-index: 10;
}

.qr-modal-close:hover {
    transform: scale(1.1);
    background: #ff7a1a;
}

.qr-modal-close .close_icon {
    width: 16px;
    height: 16px;
}

.qr-modal-body {
    padding: 40px 30px;
    text-align: center;
}

.qr-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(232, 90, 0, 0.3);
    background: left center url(../img/btn-bg-1.jpg) no-repeat;
    background-size: auto 82px;
    border: 2px solid #f9630257;
}

.qr-modal-icon img {
    width: 50px;
    height: 50px;
}

.qr-modal-title {
    font-family: 'RockStar', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 10px 0;
}

.qr-modal-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 30px 0;
}

.qr-code-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.qr-code-image {
    width: 180px;
    height: 180px;
    display: block;
}

.qr-modal-stores {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.store-badge {
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.store-badge:hover {
    transform: scale(1.05);
    opacity: 1;
}

.store-badge img {
    height: 44px;
    width: auto;
}

.qr-modal-hint {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

.qr-modal-hint a {
    color: var(--orange-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.qr-modal-hint a:hover {
    color: #ff7a1a;
    text-decoration: underline;
}

/* Неактивная кнопка срока в модальном окне */
#termTabs .term-tab.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}



@media (max-width: 1920px) and (min-width: 1601px) {
    img.header-main-image {
    width: 57%;
    right: 10px;
    top: 20px;
    }

    .header {
    background-position: 500px -300px;
    }
    
    .leasing {
    background: url(../img/g_bg2.jpg) center center no-repeat;
    background-size: auto 1300px;
    background-position: -400px -270px;
    }

    .leasing h3 {
    font-size: 30px;
    padding-right: 15%;
    }

    .card-inner-image img {
    width: 220px;
    }

    .title-center {
    text-align: center;
    margin-bottom: 30px;
    }

   .modal-content {
    scale: 0.9;
    }

    .faq_icon {
    width: 800px;
    }

    .title-center p.subtitle {
    font-size: 16px;
    }

    .faq-answer p {
    font-size: 16px;
    line-height: 1.5;
    }

    .faq-question {
    padding: 18px 0;
    }

    .geely_waiting img {
    max-width: 70%;
    margin-top: -110px;
    }

    #contactForm {
        scale: 0.9;
    }


}

@media (max-width: 1600px) and (min-width: 1400px) {
    .wrapper {
        width:100%;
        padding:0 50px;
    }

    .header h1, .header h1 span {
    font-size: 106px;
    line-height: 0.72;
    }

    img.cars_logo {
    height: 50px;
    }

    img.bank_logo {
    height: 42px;
    }

    .header h2 {
        font-size: 24px;
        margin-top: 90px;
    }   

    img.header-main-image {
        width: 52%;
        right: 10px;
        top: 0px;
    }

    .header-content-column {
    z-index: 4;
    min-height: 570px;
    }

    .header {
    background: url(../img/header-glow.png) center center no-repeat;
    background-size: auto 1500px;
    background-position: 350px -300px;
    padding-bottom: 180px;
    }

    .main-btn-right {
    height: 72px;
    padding: 0 30px;
    font-size: 18px;
    }

    .main-btn-left {
    height: 72px;
    width: 72px;
    }

    .main-btn-left img {
    width: 42px;
    height: auto;
    }

    .header-content p {
    font-size: 17px;
    margin: 20px 0px;
    padding-right: 50%;
    }

    .header-content p a {
    font-size: 17px;
    }

    .leasing h3 {
    font-size: 23px;
    }

    .leasing {
        background: url(../img/g_bg2.jpg) center center no-repeat;
        background-size: auto 1200px;
        background-position: -400px -300px;
        padding-bottom: 200px;
    }

    .leasing-percent {
    position: relative;
    z-index: 3;
    margin-top: 20px;
    max-width: 85%;
    }

    .card {
    aspect-ratio: 10 / 9;
    }

    .conditions-title {
    margin-bottom: 20px;
    }

    .card-title {
    font-size: 18px;
    }

    .process {
    background: black url(../img/cards-bg.jpg) no-repeat center center;
    background-size: 2000px auto;
    margin-top: 50px;
    }

    .title-center h4, .title-center h4 span {
    font-size: 30px;
    }


    .header-bottom-left, .header-bottom-right {
    padding-top: 5px;
    font-size: 14px;
    }

    
    .header-bottom-left p, .header-bottom-right p {
    font-size: 14px;
    }

    .conditions-title p {
    font-weight: 500;
    font-size: 17px;
    }

    .contact-btn p {
    font-size: 15px;
    }

    .contact-btn {
    gap: 10px;
    }

    .contact-btn img {
    width: 32px;
    height: auto;
    }

    .contact-btn-link {
    border-radius: 16px;
    padding: 8px 22px;
    }

    .process-cards {
    gap: 30px;
    padding: 0 50px;
    }

    .card-outer {
    padding: 20px;
    border-radius: 16px;
    }

    .card-inner-image img {
    width: 190px;
    }

    .card-inner {
    padding: 34px;
    padding-top:76px;
    }

    .process-card-title {
    font-size: 20px;
    }

    .process-card-text {
    font-size: 16px;
    padding-right: 15%;
    }

    .title-center {
    margin-bottom: 40px;
    }

    .process-cards-cta {
    margin-top: 25px;
    }

    .main-block {
    margin-top: 50px;
    }
    
    .carsblock {
    background: black url(../img/cars-bg.jpg) no-repeat center -120px;
    background-size: 1900px auto;
    margin-top:140px;
    }

    .waiting {
        margin-top:140px;    
    }

    .brand-content {
    padding: 0 50px;
    }

    .brand-switcher-outer {
    padding: 0px 0;
    }

    .brand-tab {
    font-size: 17px;
    }

    .credit-info-row p, .credit-info-label, .credit-info-label p a {
    font-size: 16px;
    }

    p.big_percent {
    font-size: 34px !important;
    font-weight: 500;
    }

    .credit-info-row {
    padding: 22px 0px;
    }

    .car-info-title-row .car-info-title {
    margin: 20px 0px;
    font-size: 17px;
    }

    .car-model-block img {
    width: 210px;
    }

    .car-model-block p {
    font-size: 16px;
    }

    .car-model-block a {
    font-size: 15px;
    }

    .annotations {
    margin-bottom: 10px;
    }

    .car-brand {
    font-size: 36px;
    }

    .car-info {
    aspect-ratio: 10 / 9;
    }

    .car-image {
    bottom: 0;
    left: 0;
    top: auto;
    }

    .price-label {
    font-size: 16px;
    line-height: 1.3;
    }

    .price-block {
    padding: 28px 25px;
    }

    #advanceAmount, #payment1, #payment2, .term-tab, #modalPrice, #payment1Max, #payment2Max {
    font-size: 28px;
    font-weight: 500;
    font-family: 'RockStar', sans-serif;
    }

    .option-tab, .term-tab {
    font-size: 16px;
    }

    .option-group {
    margin-bottom: 15px;
    padding-bottom: 15px;
    }

    .term-tab.active {
    font-size: 28px;
    font-weight: 500;
    }

    .term-tab:not(.active) {
    font-size: 28px;
    font-weight: 400;
    }

    .modal-content {
    border-radius: 28px;
    }

    .modal-close {
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    }

    .block-title, .term-title {
    font-size: 16px;
    }

    .result-label {
    font-size: 17px;
    font-weight: 400;
    }

    .result-value {
    font-size: 30px;
    }

    .calculator-main {
    background: black url(../img/cards-bg.jpg) no-repeat top center;
    background-size: 2200px auto;
    margin-top:220px;
    }

   .faq-block {
    margin-top: 240px;
    }

    .faq_icon {
    width: 800px;
    }

    .title-center p.subtitle {
    font-size: 16px;
    }

    .faq-container {
    width: 70%;
    }

    .faq-question h3 {
    font-size: 18px;
    }

    .faq-answer p {
        font-size: 16px;
    }

    .faq-question {
    padding: 16px 0;
    }

    .faq-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    }

    .geely_waiting img {
    max-width: 70%;
    margin-top: -110px;
    }

    img.about_logo {
    max-width: 240px;
    }

    .about-center p {
    font-size: 12px;
    }

    .conditions-inner-bg {
    bottom: -25px;
    }

    .contact-form-right h2 {
    font-family: 'RockStar', sans-serif;
    font-size: 20px;
    }

    .form-subtitle {
    font-size: 14px;
    margin: 0 0 15px 0;
    }

    .checkbox-label span {
    font-size: 14px;
    }

    .contact-form-content {
        aspect-ratio: 10 / 5.5;
    }


}




@media (max-width: 1399px) and (min-width: 1200px) {
    .wrapper {
        width:100%;
        padding:0 50px;
    }

    .header h1, .header h1 span {
    font-size: 106px;
    line-height: 0.72;
    }

    img.cars_logo {
    height: 50px;
    }

    img.bank_logo {
    height: 42px;
    }

    .header h2 {
        font-size: 24px;
        margin-top: 90px;
    }   

    img.header-main-image {
        width: 52%;
        right: 10px;
        top: 0px;
    }

    .header-content-column {
    z-index: 4;
    min-height: 570px;
    }

    .header {
    background: url(../img/header-glow.png) center center no-repeat;
    background-size: auto 1500px;
    background-position: 350px -300px;
    padding-bottom: 180px;
    }

    .main-btn-right {
    height: 72px;
    padding: 0 30px;
    font-size: 18px;
    }

    .main-btn-left {
    height: 72px;
    width: 72px;
    }

    .main-btn-left img {
    width: 42px;
    height: auto;
    }

    .header-content p {
    font-size: 17px;
    margin: 20px 0px;
    padding-right: 50%;
    }

    .header-content p a {
    font-size: 17px;
    }

    .leasing h3 {
    font-size: 23px;
    }

    .leasing {
        background: url(../img/g_bg2.jpg) center center no-repeat;
        background-size: auto 1200px;
        background-position: -400px -300px;
        padding-bottom: 200px;
    }

    .leasing-percent {
    position: relative;
    z-index: 3;
    margin-top: 20px;
    max-width: 85%;
    }

    .card {
    aspect-ratio: 10 / 9;
    }

    .conditions-title {
    margin-bottom: 20px;
    }

    .card-title {
    font-size: 18px;
    }

    .process {
    background: black url(../img/cards-bg.jpg) no-repeat center center;
    background-size: 2000px auto;
    margin-top: 50px;
    }

    .title-center h4, .title-center h4 span {
    font-size: 30px;
    }


    .header-bottom-left, .header-bottom-right {
    padding-top: 5px;
    font-size: 14px;
    }

    
    .header-bottom-left p, .header-bottom-right p {
    font-size: 14px;
    }

    .conditions-title p {
    font-weight: 500;
    font-size: 17px;
    }

    .contact-btn p {
    font-size: 15px;
    }

    .contact-btn {
    gap: 10px;
    }

    .contact-btn img {
    width: 32px;
    height: auto;
    }

    .contact-btn-link {
    border-radius: 16px;
    padding: 8px 22px;
    }

    .process-cards {
    gap: 30px;
    padding: 0 50px;
    }

    .card-outer {
    padding: 20px;
    border-radius: 16px;
    }

    .card-inner-image img {
    width: 190px;
    }

    .card-inner {
    padding: 34px;
    padding-top:76px;
    }

    .process-card-title {
    font-size: 20px;
    }

    .process-card-text {
    font-size: 16px;
    padding-right: 15%;
    }

    .title-center {
    margin-bottom: 40px;
    }

    .process-cards-cta {
    margin-top: 25px;
    }

    .main-block {
    margin-top: 50px;
    }
    
    .carsblock {
    background: black url(../img/cars-bg.jpg) no-repeat center -120px;
    background-size: 1900px auto;
    margin-top:140px;
    }

    .waiting {
        margin-top:140px;    
    }

    .brand-content {
    padding: 0 50px;
    }

    .brand-switcher-outer {
    padding: 0px 0;
    }

    .brand-tab {
    font-size: 17px;
    }

    .credit-info-row p, .credit-info-label, .credit-info-row p a {
    font-size: 16px;
    }

    p.big_percent {
    font-size: 34px !important;
    font-weight: 500;
    }

    .credit-info-row {
    padding: 22px 0px;
    }

    .car-info-title-row .car-info-title {
    margin: 20px 0px;
    font-size: 17px;
    }

    .car-model-block img {
    width: 210px;
    }

    .car-model-block p {
    font-size: 16px;
    }

    .car-model-block a {
    font-size: 15px;
    }

    .annotations {
    margin-bottom: 10px;
    }

    .car-brand {
    font-size: 36px;
    }

    .car-info {
    aspect-ratio: 10 / 9;
    }

    .car-image {
    bottom: 0;
    left: 0;
    top: auto;
    }

    .price-label {
    font-size: 16px;
    line-height: 1.3;
    }

    .price-block {
    padding: 28px 25px;
    }

    #advanceAmount, #payment1, #payment2, .term-tab, #modalPrice, #payment1Max, #payment2Max {
    font-size: 28px;
    font-weight: 500;
    font-family: 'RockStar', sans-serif;
    }

    .option-tab, .term-tab {
    font-size: 16px;
    }

    .option-group {
    margin-bottom: 15px;
    padding-bottom: 15px;
    }

    .term-tab.active {
    font-size: 28px;
    font-weight: 500;
    }

    .term-tab:not(.active) {
    font-size: 28px;
    font-weight: 400;
    }

    .modal-content {
    border-radius: 28px;
    }

    .modal-close {
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    }

    .block-title, .term-title {
    font-size: 16px;
    }

    .result-label {
    font-size: 17px;
    font-weight: 400;
    }

    .result-value {
    font-size: 30px;
    }

    .calculator-main {
    background: black url(../img/cards-bg.jpg) no-repeat top center;
    background-size: 2200px auto;
    margin-top:220px;
    }

   .faq-block {
    margin-top: 240px;
    }

    .faq_icon {
    width: 800px;
    }

    .title-center p.subtitle {
    font-size: 16px;
    }

    .faq-container {
    width: 70%;
    }

    .faq-question h3 {
    font-size: 18px;
    }

    .faq-answer p {
        font-size: 16px;
    }

    .faq-question {
    padding: 16px 0;
    }

    .faq-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    }

    .geely_waiting img {
    max-width: 70%;
    margin-top: -110px;
    }

    img.about_logo {
    max-width: 240px;
    }

    .about-center p {
    font-size: 12px;
    }

    .conditions-inner-bg {
    bottom: -25px;
    }

    .contact-form-right h2 {
    font-family: 'RockStar', sans-serif;
    font-size: 20px;
    }

    .form-subtitle {
    font-size: 14px;
    margin: 0 0 15px 0;
    }

    .checkbox-label span {
    font-size: 14px;
    }

    .contact-form-content {
        aspect-ratio: 10 / 5.5;
    }


}




@media (max-width: 600px) and (min-width: 100px) {
    .wrapper {
        width: 100%;
        padding: 0 20px;
    }

   .process-cards {
    flex-direction: column;
    }

    .col-6 {
    width: 100%;
    }

    .leasing .wrapper {
    display: flex;
    flex-direction: column;
    }

    .leasing-percent {
    width: 100%;
    }

    .header h1, .header h1 span {
    font-size: 48px;
    line-height: 0.75;
    }

    .main-block {
        width:100%;
        overflow:hidden;
    }

    img.header-main-image {
    position: absolute;
    width: 120%;
    right: -20%;
    top: 95px;
    z-index: 3;
    transition: transform 0.6s ease-out;
    will-change: transform;
    }

    img.cars_logo {
    height: 32px;
    }

    img.bank_logo {
    height: 30px;
    }

    .header {
    background: url(../img/header-glow.png) center center no-repeat;
        background-size: auto 1000px;
        background-position: -450px -60px;
    padding-top: 34px;
    /* padding-bottom: 200px; */
    width: 100%;
    padding-bottom:120px;
    overflow: hidden;
    }

    .header h2 {
    margin-top: 420px;
    }

    .header-content p {
    font-size: 16px;
    margin: 20px 0px;
    padding-right: 10%;
    }

    .header-content p a {
    font-size: 16px;
    }

    .header-bottom {
        display:none;
    }

    .main-btn-right {
    height: 62px;
    width: auto;
    padding: 0 20px;
    display: flex;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-family: 'RockStar', sans-serif;
    background: left center url(../img/btn-bg-2.jpg) no-repeat;
    background-size: auto 62px;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    text-decoration: none !important;
    border: 2px solid #70788493;
    font-size: 17px;
    }

    .main-btn-left {
    height: 62px;
    width: 62px;
    display: flex;
    border-radius: 8px;
    background: left center url(../img/btn-bg-1.jpg) no-repeat;
    background-size: auto 62px;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    border: 2px solid #70788493;
    }

    .main-btn-left img {
    width: 34px;
    height: auto;
    }

    .leasing h3 {
    font-size: 22px;
    padding-right: 0px;
    }

    .leasing-percent {
    margin-top: 20px;
    }

    .leasing {
    background: url(../img/g_bg2.jpg) center center no-repeat;
    background-size: auto 800px;
    background-position: -300px -220px;
    }

    .conditions-title {
    margin-bottom: 20px;
    margin-top: 60px;
    }

    .card-title {
    font-size: 17px;
    font-weight:400;
    }

    .card {
    flex: 1 1 50%);
    min-width: 300px;
    aspect-ratio: 10 / 9;
    }

    .conditions-inner-bg {
    bottom: -10px;
    }

    .title-center h4, .title-center h4 span {
    font-size: 28px;
    }

    .title-center {
    margin-bottom: 30px;
    }

    .main-block {
    margin-top: 160px;
    }

    .card-inner-image img {
    width: 200px;
    margin-left: 15px;
    }

    .process-cards {
    gap: 20px;
    }

    .card-outer {
    padding: 18px;
    }

    .card-inner {
    background: #FF470F;
    background: linear-gradient(104deg, rgba(255, 71, 15, 1) 0%, rgba(253, 125, 20, 1) 100%);
    padding: 26px;
    border-radius: 16px;
    min-height: auto;
    padding-top: 80px;
    margin-top: -40px;
    }

    .process-card-title {
    font-size: 18px;
    line-height: 1.2;
    padding-right:0px;
    }

    .process-card-text {
    font-size: 15px;
    padding-right: 0%;
    font-weight: 300;
    color: white;
    margin-bottom: 20px;
    }

    .carsblock {
    background: black url(../img/cars-bg.jpg) no-repeat center -80px;
    background-size: 1200px auto;
    }

    .car-info-table {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.219);
    backdrop-filter: blur(20px);
    overflow: hidden;
    padding: 16px 16px;
    border-radius: 22px;
    margin-top: 10px;
    padding-bottom: 100px;
    }

    .car-info-title-row, .car-info-content-row {
    display: flex;
    flex-direction: column;
    }

    .car-info-title-row {
    display:none;
    }

    .col-5, .col-7 {
    width: 100%;
    }

    .car-info-cars-models {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    padding-right: 0%;
    }

    .car-model-block img {
    width: 260px;
    max-width: 100%;
    height: auto;
    margin-left: -12px;
    }

    .car-model-block {
    flex: 1 1 50%;
    min-width: 0; 
    margin-bottom: 30px;
    max-width: 50%;
    }

    .car-model-block p {
    font-size: 16px;
    }

    .credit-info-row {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    padding: 20px 0px;
    }

    .credit-info-row p, .credit-info-label, .credit-info-row p a {
    font-size: 16px;
    font-weight: 400;
    }

    .credit-info-content-half {
    flex: 0 0 50%;
    min-width: 0;
    padding-right: 15px;
    }

    .annotations {
    font-size: 12px;
    margin-bottom: 0px;
    }

    .credit-info-divider {
    margin: 40px 0px;
    }

    .process-cards-cta {
    margin-top: 10px;
    }

    .brand-tab {
    font-size: 18px;
    }

    .faq_icon {
    width: 600px;
    }

    .faq-block {
        margin-top: 0px;
        padding-top: 160px;
    }

    .title-center p.subtitle {
    font-size: 16px;
    margin-bottom: 50px;
    margin-top: 15px;
    }

    .faq-container {
    width: 100%;
    }

    .faq-question h3 {
    font-size: 16px;
    }

    .faq-answer p {
        color: #b0b0b0;
        font-size: 15px;
        line-height: 1.4;
        padding-bottom: 25px;
        padding-right: 20px;
    }

    .faq-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    }

    .title-icon {
    margin-bottom: 110px;
    }

    .geely_waiting img {
    max-width: 165%;
    margin-top: -70px;
    margin-bottom: 30px;
    z-index: 2;
    }

    img.about_logo {
    max-width: 200px;
    margin-bottom: 40px;
    margin-top: 40px;
    }

    .about-center {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 800px;
    align-content: center;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    }

    .calculator-block {
    width: 100%;
    border-radius: 20px;
    height: auto;
    }

    .calculator {
    padding: 12px;
    display: flex;
    width: 100%;
    position: relative;
    z-index: 6;
    min-height: 550px;
    flex-direction: column;
    }

    .calculator-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 0 0 100%;
    background: #ffffff4a;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid #ffffff30;
    padding: 20px;
    }

    .calculator-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    flex: 0 0 100%;
    padding-left: 0px;
    margin-top: 30px;
    padding:0px 12px;
    }

    .result-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 5px;
    }

    .result-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #f9630263;
    }

    .result-value {
    font-size: 28px;
    }

    .reset-btn {
    background: transparent;
    border: none;
    color: #e85a00;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: opacity 0.3s;
    align-self: center;
    margin-top: auto;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 10px;
    }

    .disclaimer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    line-height: 1.2;
    margin-top: auto;
    padding-top: 30px;
    max-width: 100%;
    }

    .term-btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    }

    .term-buttons {
    padding: 3px;
    }

    .block-title, .term-title {
    font-size: 16px;
    }

    .slider-labels-wrapper span {
    font-size: 13px;
    }

    .amount-value {
    font-size: 24px;
    }

    .amount-input-wrapper {
    padding: 22px 22px;
    }

    .program-tab {
    flex: 1 1 40%;
    }

    .contact-form-wrapper {
    width: 100%;
    }

    .contact-widget {
    position: fixed;
    left: 5%;
    bottom: 10px;
    z-index: 50;
    width: 90%;
    }

    .contact-btn p {
    font-size:14px;
    }

    .contact-btn img {
    width: 30px;
    height: auto;
    }

    .contact-btn-link {
    border-radius: 12px;
    padding: 8px 26px;
    }

    .contact-form-left {
    width: 100%;
    min-height: 230px;
    /* background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%); */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    }

    .contact-form-content {
    display: flex;
    background: black url(../img/form_mobile.jpg) no-repeat left top;
    background-size: cover;
    aspect-ratio: 2 / 3;
    flex-direction: column;
    }

    .contact-form-right h2 {
    font-family: 'RockStar', sans-serif;
    font-size: 18px;
    color: #fff;
    margin: 0 0 5px 0;
    line-height: 1.3;
    }

    .form-subtitle {
    font-size: 15px;
    color: #ffffff;
    margin: 0 0 10px 0;
    }

    .checkbox-label span, .checkbox-label span a {
        font-size:14px;
        line-height:1.3;
    }

    .checkbox-group {
    margin-bottom: 10px;
    }

    .submit-btn {
    font-size: 15px;
    }

    .contact-form-right {
    flex: 1;
    padding: 20px 20px;
    }

    .brand-switcher-bg {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 6px);
    height: calc(100% - 12px);
    background: linear-gradient(135deg, #e85a00 0%, #ff7a1a 100%);
    border-radius: 24px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 4px 15px rgba(232, 90, 0, 0.4);
    }

    .modal-body {
    display: flex;
    gap: 5px;
    flex-direction: column;
    }

    .modal-content {
    background: #ffffff3b;
    border-radius: 18px;
    max-width: 95%;
    border: 1px solid #ffffff38;
    width: 95%;
    position: relative;
    padding: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    }

    #advanceAmount, #payment1, #payment2, .term-tab, #modalPrice, #payment1Max, #payment2Max {
    font-size: 22px;
    font-weight: 500;
    font-family: 'RockStar', sans-serif;
    }

    .term-tab.active, .term-tab:not(.active) {
    font-size: 22px;
    font-weight: 500;
    }

    .currency {
    font-size: 16px;
    }

    .payment-label {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
    font-weight: 300;
    }

    .option-label {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    }

    .option-tabs {
    gap: 10px;
    justify-content: space-between;
    }

    .option-tab, .term-tab {
    font-size: 15px;
    padding: 5px 0;
    }

    .advance-value {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0 0 0;
    }

    .option-group {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ffffff40;
    }

    .payment-block {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ffffff40;
    }

    .price-block {
    padding: 15px 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    }

    .price-label {
    color: #ffffff75;
    font-size: 14px;
    margin: 0 0 5px 0;
    line-height: 1.3;
    font-weight: 300;
    }

    .price-value {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    }

    .modal-content .disclaimer {
    font-size: 10px;
    line-height: 1.2;
    }

    .car-info {
    padding: 18px;
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 15px;
    }

    .modal-overlay.active .modal-content {
        transform: scale(0.88);
        padding-bottom: 5px;
    }

    .car-brand, .car-model {
    font-size: 24px;
    }

    .brand-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 30px;
    width: auto;
    z-index: 3;
    }

    .car-image {
    width: 100%;
    /* height: 220px; */
    object-fit: cover;
    position: absolute;
    z-index: 1;
    top: auto;
    left: 0;
    bottom: -30px;
    }

    .car-model {
    margin: -4px 0 0 0;
    }

    .option-tab, .term-tab {
    color: #ffffff40;
    }

    .car-model-block a {
    font-size: 15px;
    }

    /*График платежей старт */

    .schedule-modal-content {
        border-radius: 15px;
        max-height: 95vh;
    }
    
    .schedule-modal-header {
        padding: 20px;
    }
    
    .schedule-modal-header h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .schedule-summary {
        gap: 15px;
    }
    
    .summary-value {
        font-size: 15px;
    }
    
    .schedule-table-wrapper {
        padding: 0 15px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 10px 6px;
        font-size: 12px;
    }
    
    .schedule-table th {
        font-size: 11px;
    }
    
    .schedule-modal-totals {
        padding: 0 15px;
    }
    
    .schedule-totals-table td {
        padding: 12px 6px;
        font-size: 13px;
    }
    
    .schedule-modal-footer {
        padding: 15px 20px;
    }
    
    .schedule-link {
        font-size: 13px;
    }
    
    .schedule-link svg {
        width: 16px;
        height: 16px;
    }
    
    /* Скроллбар на мобильных */
    .schedule-table-wrapper::-webkit-scrollbar {
        width: 6px;
    }
     /* график платежей конец */

     /* ==========================================
   Адаптив модального на скачивание приложения- на мобильных окно не нужно
   ========================================== */
    .qr-modal-overlay {
        display: none !important;
    }

    .schedule-modal-overlay {
    padding: 10px;
    }

    .schedule-modal-content {
    margin: 20px;
    }

    .payment-wrapper {
        display: flex;
        align-items: flex-start;
    }


}
