.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@keyframes pulseArrow {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(10px);
    opacity: 1;
  }
}

.modal-backdrop.show {
  display: flex;
}

.modal-container {
  align-self: center;
}

.footer__social-box i {
  font-size: 1.3rem;
}

#ready-buy input {
  line-height: 2rem;
  padding: 5px 10px;
}

#ready-buy .max-w-md {
  max-width: 32.5rem !important;
}

input {
  outline: none !important;
}

/* ========== ХЛЕБНЫЕ КРОШКИ (очищенные от Bootstrap) ========== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 8px 16px;
    margin: 0 auto;
    max-width: 1280px;
    list-style: none;
    background: transparent;
    font-size: 12px;
}

.breadcrumb-item {
    color: #6c757d;
}

.breadcrumb-item a {
    color: #4b5563;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #003366;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #9ca3af;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding-right: 8px;
    color: #9ca3af;
}

@media (min-width: 768px) {
    .breadcrumb {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .breadcrumb-item + .breadcrumb-item {
        padding-left: 10px;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding-right: 10px;
    }
}

/* ========== ПОЛНОЕ МЕНЮ САЙТА ========== */

/* Бургер-иконки */
.burger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.burger-menu svg {
    width: 24px;
    height: 24px;
    stroke: #003366;
    stroke-width: 2;
}

@media (min-width: 768px) {
    .burger-menu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex !important;
    }
}

.btn-burger-close {
    display: none;
}

.burger-menu.active .btn-burger {
    display: none;
}

.burger-menu.active .btn-burger-close {
    display: block;
}

/* Само меню */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

/* Оверлей (затемнение) */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: auto;
}

.mobile-nav.active ~ .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* Стили для пунктов меню */
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav li a {
    display: block;
    padding: 15px 20px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.mobile-nav li a:hover,
.mobile-nav li a:active {
    background-color: #f3f4f6;
    color: #003366;
}

/* Блокировка скролла при открытом меню */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ========== ШАПКА (КОНТЕЙНЕР И ЛОГОТИП) ========== */
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.logo-inner {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-k2 {
    font-size: 1rem;
    font-weight: 700;
    color: #003366;
}

.logo-auto {
    font-size: 1rem;
    font-weight: 700;
    color: #0066cc;
}

.logo-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 3px;
    margin-top: -4px;
}

/* ========== ДЕСКТОПНОЕ МЕНЮ ========== */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

/* Общие стили для ссылок в меню */
.nav-link {
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #003366;
}

/* ========== МОБИЛЬНЫЕ ДЕЙСТВИЯ (Новосибирск + звонок) ========== */
.mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .mobile-actions {
        display: none;
    }
}

.mobile-geo-link {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-geo-link:hover {
    color: #003366;
}

.mobile-geo-link svg {
    margin-right: 4px;
    width: 14px;
    height: 14px;
}

/* Кнопка звонка на мобильных */
.mobile-call-btn {
    background: #003366;
    color: white;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
}

.mobile-call-btn:hover {
    background: #004080;
    transform: scale(1.02);
}

/* ========== ДЕСКТОПНЫЕ ДЕЙСТВИЯ (телефон + Новосибирск + кнопка) ========== */
.desktop-actions {
    display: none;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .desktop-actions {
        display: flex;
    }
}

.desktop-phone {
    display: flex;
    align-items: center;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.desktop-phone:hover {
    color: #003366;
}

.desktop-phone svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.desktop-geo-link {
    display: flex;
    align-items: center;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.desktop-geo-link:hover {
    color: #003366;
}

.desktop-geo-link svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.desktop-call-btn {
    background: #003366;
    color: white;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    gap: 8px;
}

.desktop-call-btn:hover {
    background: #004080;
    transform: scale(1.02);
}

/* ========== ПОЛНОЕ МЕНЮ САЙТА ========== */

/* <Pagination> */
.pagination-container {
  justify-content: center;
  display: flex;
  margin-top: 1rem;
}

.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: .25rem;
}

.pagination li {
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: isolate;
}

.page-link:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

.pagination li a,
.pagination li span {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.pagination li.active a {
  background: rgb(0 51 102 / var(--tw-bg-opacity, 1));
  color: #fff;
}

/* </Pagination> */

/* <CarListFilter> */
.reset-filter {
  transition: all .3s;
  margin-top: 1rem;
  color: rgb(0 51 102 / var(--tw-text-opacity, 1));
}

.reset-filter:hover {
  color: rgb(0, 86, 173);
}

/* </CarListFilter> */

/* <CarListItem> */
.car-card .car-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.car-card .car-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Рамка поверх фото (каталог) */
.car-image-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/car-frame.png') no-repeat center;
    background-size: contain;
    pointer-events: none; /* Чтобы рамка не мешала кликам */
    z-index: 2;
}

.car-card {
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}

/* </CarListItem> */

.car-detail__nav-slider {
  margin-top: 15px;
}

.slick-slide {
  padding: 0 10px;
}

.slick-arrow:before {
  color: black !important;
}

.slick-current img {
  border: 1px solid #adadad;
}

/* ========== ОБЪЕДИНЕННЫЙ БЛОК: HERO ФОН + ТЕКСТ + СЛАЙДЕР + КНОПКИ ========== */
.hero-unified {
    position: relative;
    min-height: auto;
    display: block;
    overflow: hidden;
    background: transparent;
    padding: 20px 0;
}

/* Фоновый градиент */
.hero-unified-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #003366 0%, #0066cc 100%);
    z-index: 0;
}

/* Контент поверх фона (базовые стили для телефона) */
.hero-unified .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 16px;
}

/* Текст */
.hero-text {
    margin-bottom: 20px;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: white;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.hero-highlight {
    font-weight: bold;
    color: #fad445;
}

/* Слайдер (базовые стили для телефона) */
.promo-slider-wrapper {
    max-width: 100%;
    width: 95%;
    margin: 15px auto 25px;
    overflow: hidden;
}

/* Стрелки слайдера на телефонах — скрыты */
.promo-slider .slick-prev,
.promo-slider .slick-next {
    display: none !important;
}

/* ========== СЛАЙДЕР АКЦИЙ (общие стили) ========== */
.promo-slider {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
    background: transparent;
}

.promo-slide {
    position: relative;
}

.promo-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 800 / 320;
    overflow: hidden;
    background: #f5f5f5;
    pointer-events: auto;
}

.promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Прозрачная ссылка на весь слайд */
.slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    display: block;
    text-indent: -9999px;
    background: transparent;
    text-decoration: none;
}

/* Кнопка-ссылка для открытия модального окна */
.slide-link-callback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    display: block;
    background: transparent;
    border: none;
    text-indent: -9999px;
}

/* ========== СТРЕЛКИ СЛАЙДЕРА ========== */
.promo-slider .slick-prev,
.promo-slider .slick-next {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 15;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.promo-slider .slick-prev:before,
.promo-slider .slick-next:before {
    display: none !important;
    content: '' !important;
}

.promo-slider .slick-prev i,
.promo-slider .slick-next i {
    font-size: 20px;
    color: white;
    transition: all 0.3s;
    display: block;
    line-height: 1;
}

.promo-slider .slick-prev {
    left: 20px;
}

.promo-slider .slick-next {
    right: 20px;
}

.promo-slider .slick-prev:hover,
.promo-slider .slick-next:hover {
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.promo-slider .slick-prev:hover i,
.promo-slider .slick-next:hover i {
    color: #003366;
}

/* ========== ТОЧКИ НАВИГАЦИИ ========== */
.promo-slider .slick-dots {
    bottom: 20px;
    z-index: 15;
}

.promo-slider .slick-dots li button:before {
    color: white;
    font-size: 12px;
    opacity: 0.6;
}

.promo-slider .slick-dots li.slick-active button:before {
    color: #fad445;
    opacity: 1;
}

/* ========== КНОПКИ ПОД СЛАЙДЕРОМ (базовые стили для телефона) ========== */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.btn-drom {
    background: #f28b02;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.btn-drom:hover {
    background: #e07a00;
    transform: translateY(-2px);
}

.btn-credit {
    background: white;
    color: #003366;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.btn-credit:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    text-decoration: none;
    color: #003366;
}

/* ========== ПРОМО-БАННЕР ВНУТРИ ОСНОВНОГО БЛОКА (базовые стили) ========== */
.promo-banner-inner {
    margin-top: 25px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.promo-banner-inner:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.promo-banner-inner h2 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 4px;
    color: white;
}

.promo-banner-inner p {
    font-size: 0.8rem;
    opacity: 0.9;
    color: white;
}

.promo-banner-inner a {
    white-space: normal;
    background: white;
    color: #003366;
    padding: 5px 14px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: auto;
    font-size: 0.85rem;
}

.promo-banner-inner a:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.promo-banner-inner .flex {
    flex-direction: column;
    gap: 12px;
}

/* ========== АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ (Mobile First — добавляем) ========== */
@media (min-width: 768px) {
    .hero-unified {
        padding: 40px 0;
    }
    
    .hero-unified .container {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        max-width: 800px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .promo-slider-wrapper {
        max-width: 800px;
        width: 90%;
        margin: 20px auto;
    }
    
    /* Показываем стрелки слайдера на планшетах */
    .promo-slider .slick-prev,
    .promo-slider .slick-next {
        display: flex !important;
    }
    
    .hero-buttons {
        gap: 20px;
        flex-direction: row;
        margin-top: 20px;
    }
    
    .btn-drom,
    .btn-credit {
        width: auto;
        max-width: none;
        padding: 12px 24px;
    }
    
    .promo-banner-inner {
        margin-top: 30px;
        padding: 16px 20px;
        text-align: left;
    }
    
    .promo-banner-inner h2 {
        font-size: 1.25rem;
    }
    
    .promo-banner-inner p {
        font-size: 0.9rem;
    }
    
    .promo-banner-inner a {
        white-space: nowrap;
        padding: 6px 16px;
        font-size: 0.9rem;
    }
    
    .promo-banner-inner .flex {
        flex-direction: row;
        gap: 0;
    }
}

/* ========== АДАПТАЦИЯ ДЛЯ КОМПЬЮТЕРОВ (Mobile First — расширяем) ========== */
@media (min-width: 1024px) {
    .hero-unified {
        padding: 5;
    }
    
    .hero-unified .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        max-width: 900px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .promo-slider-wrapper {
        max-width: 1000px;
        margin: 20px auto 30px;
    }
}

/* ========== ШИРОКИЕ ЭКРАНЫ (от 1440px) ========== */
@media (min-width: 1440px) {
    .promo-slider-wrapper {
        max-width: 1200px;
    }
}

/* ========== ВСПЛЫВАЮЩИЙ БАННЕР ========== */
.time-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.time-popup-overlay.hidden {
    display: none;
}

.time-popup-container {
    position: relative;
    width: 480px;
    max-width: 90vw;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s ease;
    overflow: hidden;
}

.time-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    z-index: 20;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.time-popup-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #000;
}

.time-popup-content {
    padding: 40px 32px 32px;
}

.time-popup-title {
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    text-align: center;
    margin-bottom: 8px;
}

.time-popup-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 24px;
}

.time-popup-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.time-popup-input:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.time-popup-contact-methods {
    margin-top: 20px;
}

.time-popup-contact-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 12px;
}

.time-popup-contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time-popup-contact-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.time-popup-contact-options input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #003366;
}

.time-popup-contact-options span {
    font-size: 14px;
    color: #4b5563;
}

.time-popup-btn {
    width: 100%;
    background: linear-gradient(135deg, #003366, #0066cc);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 24px;
}

.time-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптация для мобильных */
@media (max-width: 640px) {
    .time-popup-content {
        padding: 32px 24px 28px;
    }
    
    .time-popup-title {
        font-size: 20px;
    }
    
    .time-popup-subtitle {
        font-size: 13px;
    }
    
    .time-popup-input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .time-popup-btn {
        padding: 12px;
        font-size: 14px;
    }
}

/* ========== АДАПТИВНАЯ КНОПКА ЗВОНКА ========== */
.btn-header-callback {
    transition: all 0.3s ease;
    padding: 8px 16px;
}

.btn-header-callback:hover {
    transform: scale(1.05);
    background-color: #004080;
}

/* Текст кнопки - показываем только на десктопе */
.btn-callback-text {
    display: inline;
}

/* На планшетах и мобильных - только иконка */
@media (max-width: 768px) {
    .btn-header-callback {
        padding: 8px !important;
        width: 40px;
        height: 40px;
    }
    
    .btn-callback-text {
        display: none !important;
    }
}

/* На очень маленьких экранах (<= 480px) */
@media (max-width: 480px) {
    .btn-header-callback {
        width: 36px;
        height: 36px;
        padding: 6px !important;
    }
    
    .btn-header-callback svg {
        width: 18px;
        height: 18px;
    }
}

/* ========== OPTIMIZE FONT DISPLAY ========== */
@font-face {
    font-family: 'FontAwesome';
    src: url('/dist/fontawesome/webfonts/fa-brands-400.woff2') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    src: url('/dist/fontawesome/webfonts/fa-solid-900.woff2') format('woff2');
    font-display: swap;
    font-weight: 900;
    font-style: normal;
}

/* ========== КРЕДИТНЫЙ КАЛЬКУЛЯТОР ========== */

/* Основной контейнер */
#credit-calculator {
    padding: 4rem 0;
    background-color: #f3f4f6;
}

#credit-calculator .container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Карточка калькулятора */
.calculator-card {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Две колонки */
.calculator-grid {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .calculator-grid {
        flex-direction: row;
    }
}

/* Левая колонка (форма) */
.calculator-form {
    background-color: #003366;
    color: #ffffff;
    padding: 2rem;
}

@media (min-width: 768px) {
    .calculator-form {
        width: 50%;
    }
}

/* Правая колонка (результаты) */
.calculator-results {
    padding: 2rem;
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .calculator-results {
        width: 50%;
    }
}

/* Заголовки */
.calculator-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.calculator-results h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

/* Грид для двух полей */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: -0.1rem;      
    column-gap: 1rem;     
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: -0.1rem;
        column-gap: 1rem;
    }
}

/* Группа полей */
.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Inputs и Selects */
.calculator-input,
.calculator-select {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: #1f2937;
    transition: all 0.3s ease;
}

.calculator-input:focus,
.calculator-select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Range ползунки */
.calculator-range {
    width: 100%;
    padding: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    -webkit-appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.calculator-range:focus {
    outline: none;
}

.calculator-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Результаты */
.results-list {
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.result-item.highlight {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.result-value {
    font-weight: 700;
}

.result-value.monthly {
    font-size: 1.5rem;
    color: #003366;
}

/* Примечание */
.calculator-note {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* Кнопка */
.calculator-btn {
    width: 100%;
    background-color: #0066cc;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculator-btn:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    #credit-calculator {
        padding: 2rem 0;
    }
    
    .calculator-form,
    .calculator-results {
        padding: 1.5rem;
    }
    
    .calculator-form h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .calculator-results h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .result-value.monthly {
        font-size: 1.25rem;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    .form-group:last-of-type {
        margin-bottom: 0.5rem; 
    }
    
    .form-group label {
        margin-bottom: 0.25rem;
    }
    
    .form-grid {
        gap: 0.5rem;           
        margin-bottom: 0.75rem; 
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .calculator-form,
    .calculator-results {
        padding: 1rem;
    }
    
    .calculator-input,
    .calculator-select {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .calculator-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    

    .form-group {
        margin-bottom: 0.5rem;
    }
    
    .form-group:last-of-type {
        margin-bottom: 0.25rem;
    }
    
    .form-grid {
        gap: 0.25rem;            
        margin-bottom: 0.5rem;
    }
}
/* ========== КРЕДИТНЫЙ КАЛЬКУЛЯТОР  ========== */

/* ========== ФИЛЬТРЫ (СТРАНИЦА "АВТО В НАЛИЧИИ") ========== */

.filter-container {
    background-color: #f3f4f6;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Десктопная версия (≥768px) - все в одну строку */
@media (min-width: 768px) {
    .filter-form {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
    }
    
    .filter-field {
        flex: 1;
        min-width: 150px;
    }
    
    .filter-actions {
        min-width: auto;
        display: flex;
        gap: 0.75rem;
    }
    
    .filter-submit {
        width: auto;
        white-space: nowrap;
    }
    
    .filter-reset {
        width: auto;
        white-space: nowrap;
        background-color: #e5e7eb;
        border-radius: 0.375rem;
        padding: 0.5rem 1rem;
        margin-top: 0;
    }
}

/* Мобильная версия (<768px) - 2 колонки */
@media (max-width: 767px) {
    .filter-form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Поле "Марка" - первая колонка */
    .filter-field:first-child {
        grid-column: 1 / 2;
    }
    
    /* Поле "Тип кузова" - вторая колонка */
    .filter-field:nth-child(2) {
        grid-column: 2 / 3;
    }
    
    /* Поле "Цена От" - первая колонка второй строки */
    .filter-field:nth-child(3) {
        grid-column: 1 / 2;
    }
    
    /* Поле "Цена До" - вторая колонка второй строки */
    .filter-field:nth-child(4) {
        grid-column: 2 / 3;
    }
    
    /* Кнопки занимают всю ширину и располагаются рядом */
    .filter-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-top: 0.25rem;
    }
    
    .filter-reset {
        margin-top: 0;
        text-align: center;
        background-color: #e5e7eb;
        border-radius: 0.375rem;
        padding: 0.5rem 1rem;
    }
}

.filter-field .form-group {
    margin-bottom: 0;
}

.filter-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
}

.filter-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.filter-submit {
    background-color: #003366;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.filter-submit:hover {
    background-color: #004080;
    transform: translateY(-2px);
}

.filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #003366;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 0.25rem;
}

.filter-reset:hover {
    color: #0056ad;
    background-color: #d1d5db;
}

.filter-reset i {
    font-size: 0.875rem;
}

/* Адаптация для очень маленьких экранов (≤480px) */
@media (max-width: 480px) {
    .filter-container {
        padding: 1rem;
    }
    
    .filter-form {
        gap: 0.5rem;
    }
    
    .filter-actions {
        gap: 0.5rem;
    }
    
    .filter-input {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .filter-submit {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .filter-reset {
        padding: 0.375rem 0.75rem;
        font-size: 0.813rem;
    }
}
/* ========== ФИЛЬТРЫ (СТРАНИЦА "АВТО В НАЛИЧИИ") ========== */

/* ========== СТРАНИЦА "ОТЗЫВЫ" ========== */
.reviews-page {
    padding: 1rem 0;
    background-color: #f9fafb;
    min-height: 100vh;
}

/* Контейнер */
.reviews-page .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Заголовок страницы */
.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.reviews-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
}

/* Виджет отзывов */
.reviews-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.reviews-widget-wrapper {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.reviews-iframe {
    border-radius: 0.5rem;
}

/* Блок призыва к действию */
.reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

.reviews-cta-card {
    max-width: 42rem;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.reviews-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.reviews-stars {
    margin-bottom: 1rem;
}

.reviews-stars i {
    font-size: 1.75rem;
    color: #fbbf24;
    margin: 0 0.125rem;
}

.reviews-cta-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.reviews-cta-text {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.reviews-cta-btn {
    display: inline-block;
    background-color: #003366;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reviews-cta-btn:hover {
    background-color: #004080;
    transform: translateY(-2px);
    text-decoration: none;
    color: #ffffff;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .reviews-page {
        padding: 0.5rem 0;
    }
    
    .reviews-title {
        font-size: 1.5rem;
    }
    
    .reviews-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .reviews-widget-wrapper {
        padding: 0.5rem;
    }
    
    .reviews-iframe {
        width: 100%;
        height: auto;
        min-height: 600px;
    }
    
    .reviews-cta-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .reviews-stars i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .reviews-title {
        font-size: 1.25rem;
    }
    
    .reviews-iframe {
        min-height: 500px;
    }
    
    .reviews-cta-card {
        padding: 1rem;
    }
    
    .reviews-cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}
/* ========== СТРАНИЦА "ОТЗЫВЫ" ========== */

/* ========== СТРАНИЦА TRADE-IN ========== */
.trade-in-page {
    padding: 1rem 0 3rem;
    background-color: #f9fafb;
    min-height: 100vh;
}

.trade-in-page .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Заголовок */
.trade-in-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.trade-in-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.trade-in-subtitle {
    font-size: 1rem;
    color: #6b7280;
}

/* 4 компактные кнопки */
.trade-in-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 0.75rem 0.5rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.feature-text {
    color: #6b7280;
    font-size: 0.7rem;
    line-height: 1.3;
}

/* Блок с информацией */
.trade-in-info-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-content {
    flex: 2;
    min-width: 180px;
}

.info-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.2rem 0;
    color: #4b5563;
    font-size: 0.8rem;
    position: relative;
    padding-left: 1.2rem;
}

.info-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #003366;
    font-weight: bold;
    font-size: 0.8rem;
}

.info-offer {
    flex: 1;
    min-width: 180px;
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-badge {
    background: #fbbf24;
    color: #003366;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    margin: 0 auto 0.25rem;
}

.offer-text {
    color: #ffffff;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.offer-price {
    color: #fbbf24;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.offer-price strong {
    font-size: 1.25rem;
}

/* Форма оценки */
.trade-in-form-card {
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
}

.form-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.form-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.trade-in-form-btn {
    background: #ffffff;
    color: #003366;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.trade-in-form-btn svg {
    width: 14px;
    height: 14px;
}

.trade-in-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .trade-in-page {
        padding: 0.5rem 0 2rem;
    }
    
    .trade-in-title {
        font-size: 1.5rem;
    }
    
    .trade-in-subtitle {
        font-size: 0.875rem;
    }
    
    .trade-in-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .feature-card {
        padding: 0.6rem 0.3rem;
    }
    
    .feature-title {
        font-size: 0.75rem;
    }
    
    .feature-text {
        font-size: 0.65rem;
    }
    
    .trade-in-info-section {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .info-offer {
        padding: 0.6rem;
    }
    
    .offer-price strong {
        font-size: 1.1rem;
    }
    
    .trade-in-form-card {
        padding: 1rem;
    }
    
    .form-title {
        font-size: 1rem;
    }
    
    .form-subtitle {
        font-size: 0.75rem;
    }
    
    .trade-in-form-btn {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .trade-in-features-grid {
        gap: 0.5rem;
    }
    
    .feature-title {
        font-size: 0.7rem;
    }
    
    .feature-text {
        font-size: 0.6rem;
    }
}
/* ========== СТРАНИЦА TRADE-IN ========== */