/* ==========================================================================
   ДИЗАЙН-СИСТЕМА И ПЕРЕМЕННЫЕ
   ========================================================================== */
:root {
  --color-primary: #e9590b;
  --color-primary-hover: #ff6d24;
  --color-dark: #222222;
  --color-muted: #666666;
  --color-white: #ffffff;
  --color-gray-bg: #f8f9fa;
  --color-border: #e9ecef;

  --shadow-btn: 0 4px 14px rgba(233, 89, 11, 0.35);
  --shadow-header: 0 4px 25px rgba(0, 0, 0, 0.07);
  --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.1);

  --font-main: "Unbounded", sans-serif;

  --fs-h1: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
  --fs-h2: clamp(1.375rem, 1.125rem + 1.25vw, 2rem);
  --fs-h3: clamp(1.125rem, 0.975rem + 0.75vw, 1.5rem);
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-small: 0.75rem;

  --container-max-width: 1440px;
  --container-padding: 24px;
  --container-padding-mob: 16px;

  --transition-default: 0.3s ease;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: var(--fs-body);
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.4;
  padding-top: var(--header-height);
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-default);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--container-padding-mob);
    padding-right: var(--container-padding-mob);
  }
}

/* ==========================================================================
   КНОПКИ
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: 5px;
  border: 1.5px solid var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition:
    background-color var(--transition-default),
    border-color var(--transition-default),
    color var(--transition-default);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn__arrow {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--transition-default);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--hero {
  padding: 16px 28px;
  font-size: 0.875rem;
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

.btn--outline:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-btn);
}

.btn--modal {
  width: 100%;
  padding: 14px 20px;
  margin-top: 6px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   ШАПКА (HEADER)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-white);
  box-shadow: var(--shadow-header);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  height: 100%;
  flex-shrink: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}

.nav__item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  height: 100%;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  white-space: nowrap;
  transition:
    background-color var(--transition-default),
    color var(--transition-default);
}

.nav__link-icon {
  transition: transform var(--transition-default);
}

.nav__item:hover > .nav__link {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.nav__item:hover > .nav__link .nav__link-icon {
  transform: rotate(180deg);
  stroke: var(--color-white);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: var(--color-white);
  border-radius: 0 0 5px 5px;
  box-shadow: var(--shadow-dropdown);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-default);
  z-index: 10;
}

.nav__item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu__link {
  display: block;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-dark);
  white-space: nowrap;
  transition:
    background-color var(--transition-default),
    color var(--transition-default),
    padding-left var(--transition-default);
}

.dropdown-menu__link:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-left: 22px;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.header__contact-icon {
  flex-shrink: 0;
  stroke: var(--color-muted);
}

.header__contact-icon--accent {
  stroke: var(--color-primary);
}

.header__address {
  font-size: var(--fs-small);
  color: var(--color-muted);
  max-width: 170px;
  line-height: 1.2;
  white-space: normal;
}

.header__phone {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-dark);
  gap: 8px;
}

.header__phone:hover {
  color: var(--color-primary);
}

/* Мобильная контрольная группа */
.header__mob-group {
  display: none;
  align-items: center;
  gap: 12px;
}

.header__mob-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}

.header__mob-phone svg {
  stroke: var(--color-primary);
  flex-shrink: 0;
}

/* Кнопка-гамбургер и анимация крестика */
.burger-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  flex-shrink: 0;
}

.burger-btn__line {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition:
    transform var(--transition-default),
    opacity var(--transition-default);
  transform-origin: center;
}

.burger-btn.active .burger-btn__line:nth-child(1) {
  transform: translateY(8.75px) rotate(45deg);
}

.burger-btn.active .burger-btn__line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-btn__line:nth-child(3) {
  transform: translateY(-8.75px) rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-default);
  z-index: 998;
}

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

/* Мобильный Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: calc(100vh - var(--header-height));
  background-color: var(--color-white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transition: right var(--transition-default);
  z-index: 999;
}

.mobile-drawer.active {
  right: 0;
}

/* ==========================================================================
   СЕКЦИЯ HERO С 3D-ЭФФЕКТОМ И ЗУМОМ
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background-color: var(--color-dark);
  overflow: hidden;
  padding: 60px 0 100px;
}

/* Слой фонового изображения */
.hero__bg {
  position: absolute;
  inset: -20px; /* Запас для параллакса без белых краев */
  background-image:
    linear-gradient(
      90deg,
      rgba(18, 18, 18, 0.94) 0%,
      rgba(18, 18, 18, 0.75) 45%,
      rgba(18, 18, 18, 0.2) 100%
    ),
    url("../img/hero_bg.webp");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  transform: scale(1.05);
  animation: heroZoomIn 8s ease-out forwards;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes heroZoomIn {
  0% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1.05);
  }
}

.hero__container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
}

.hero__content {
  width: 100%;
  max-width: 66.66%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero__title {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__desc {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Декоративный векторный слой */
.hero__layers {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 120px;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.75;
  display: flex;
  align-items: flex-end;
}

.hero__layers-img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: bottom center;
}

/* Кнопка скролла */
.hero__scroll-btn {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transition:
    transform var(--transition-default),
    background-color var(--transition-default);
}

.hero__scroll-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateX(-50%) translateY(4px);
}

.hero__scroll-btn svg {
  animation: heroBounce 2s infinite;
}

.hero__scroll-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(233, 89, 11, 0.6);
  animation: heroPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes heroBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

@keyframes heroPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .hero__bg {
    background-image:
      linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.88) 0%,
        rgba(18, 18, 18, 0.7) 60%,
        rgba(18, 18, 18, 0.9) 100%
      ),
      url("../img/hero_bg.webp");
    animation: none; /* Экономим батарею на мобилках */
    transform: scale(1);
    inset: 0;
  }

  .hero__content {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - var(--header-height));
    padding: 40px 0 90px;
  }

  .hero__bg {
    background-position: center;
  }

  .hero__content {
    max-width: 100%;
    gap: 18px;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__scroll-btn {
    bottom: 16px;
    width: 38px;
    height: 38px;
  }
}
/* ==========================================================================
   МОДАЛЬНОЕ ОКНО
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-default),
    visibility var(--transition-default);
}

.modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal__window {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  padding: 36px 32px;
  transform: translateY(20px);
  transition: transform var(--transition-default);
}

.modal.is-active .modal__window {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background-color: var(--color-gray-bg);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  cursor: pointer;
  transition:
    background-color var(--transition-default),
    color var(--transition-default);
}

.modal__close:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.modal__header {
  margin-bottom: 24px;
}

.modal__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.modal__subtitle {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-required {
  color: var(--color-primary);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-main);
  font-size: 0.875rem;
  color: var(--color-dark);
  background-color: var(--color-gray-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 5px;
  outline: none;
  transition:
    border-color var(--transition-default),
    background-color var(--transition-default);
}

.form-input:focus {
  border-color: var(--color-primary);
  background-color: var(--color-white);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox__box {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid #ccc;
  border-radius: 4px;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-top: 1px;
  transition: all var(--transition-default);
}

.form-checkbox__input:checked + .form-checkbox__box {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.form-checkbox__text {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.35;
  user-select: none;
}

.form-link {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-link:hover {
  text-decoration: none;
}

.form-error-text {
  display: none;
  font-size: 0.6875rem;
  color: #e53935;
  margin-top: 5px;
  font-weight: 500;
}

.form-group.has-error .form-input {
  border-color: #e53935;
  background-color: #fff5f5;
}

.form-group.has-error .form-checkbox__box {
  border-color: #e53935;
}

.form-group.has-error .form-error-text {
  display: block;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1200px) {
  .header__address {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.88) 0%,
        rgba(18, 18, 18, 0.7) 60%,
        rgba(18, 18, 18, 0.9) 100%
      ),
      url("../img/hero_bg.webp");
  }

  .hero__content {
    max-width: 90%;
  }
}

@media (max-width: 992px) {
  .header__nav,
  .header__contacts {
    display: none;
  }

  .header__mob-group {
    display: flex;
  }

  /* Навигация в Mobile Drawer от края до края */
  .mobile-drawer__nav {
    width: 100%;
  }

  .mobile-drawer__nav .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    width: 100%;
  }

  .mobile-drawer__nav .nav__item {
    height: auto;
    display: block;
    width: 100%;
  }

  .mobile-drawer__nav .nav__link {
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 0;
    width: 100%;
    color: var(--color-dark);
    transition:
      background-color var(--transition-default),
      color var(--transition-default);
  }

  .mobile-drawer__nav .nav__item:hover > .nav__link,
  .mobile-drawer__nav .nav__link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
  }

  .mobile-drawer__nav .nav__item:hover > .nav__link .nav__link-icon,
  .mobile-drawer__nav .nav__link:hover .nav__link-icon {
    stroke: var(--color-white);
  }

  .mobile-drawer__dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: var(--color-gray-bg);
    display: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    width: 100%;
  }

  .mobile-drawer__dropdown.open {
    display: block;
  }

  .mobile-drawer__dropdown .dropdown-menu__link {
    padding: 12px 32px;
    font-size: 0.8125rem;
    border-radius: 0;
    color: var(--color-dark);
    transition:
      background-color var(--transition-default),
      color var(--transition-default);
  }

  .mobile-drawer__dropdown .dropdown-menu__link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding-left: 32px;
  }

  .mobile-drawer__footer {
    padding: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
  }

  .mobile-drawer__contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .mobile-drawer__contact svg {
    flex-shrink: 0;
    margin-top: 2px;
  }

  .mobile-drawer__phone {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
  }

  .mobile-drawer__phone svg {
    stroke: var(--color-primary);
  }

  .mobile-drawer__address {
    font-size: 0.8125rem;
    color: var(--color-muted);
  }

  .mobile-drawer__address svg {
    stroke: var(--color-muted);
  }

  .mobile-drawer__footer .btn {
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - var(--header-height));
    padding: 40px 0 90px;
    background-position: center;
  }

  .hero__content {
    max-width: 100%;
    gap: 18px;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__scroll-btn {
    bottom: 16px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .modal__window {
    padding: 28px 20px;
  }
}

@media (max-width: 420px) {
  .header__mob-phone-text {
    font-size: 0.6875rem;
  }
}
/* ==========================================================================
   СЕКЦИЯ КАТАЛОГА АВТО
   ========================================================================== */
.catalog {
  padding: 80px 0;
  background-color: var(--color-white);
}

.catalog__header {
  margin-bottom: 28px;
}

.catalog__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Текстовые табы кузовов */
.catalog__tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 4px 14px 4px;
  margin-bottom: 32px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.catalog__tabs::-webkit-scrollbar {
  height: 4px;
}

.catalog__tabs::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 4px;
}

.catalog__tab {
  padding: 10px 18px;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-dark);
  background-color: var(--color-gray-bg);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background-color var(--transition-default),
    color var(--transition-default),
    border-color var(--transition-default),
    box-shadow var(--transition-default);
}

.catalog__tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.catalog__tab.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
  font-weight: 600;
}

/* Сетка карточек: 3 в ряд */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ==========================================================================
   КАРТОЧКА АВТОМОБИЛЯ
   ========================================================================== */
.car-card {
  background-color: var(--color-white);
  border-radius: 5px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    border-color var(--transition-default);
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
  border-color: rgba(233, 89, 11, 0.3);
}

.car-card.is-hidden {
  display: none;
}

.car-card__img-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--color-gray-bg);
  overflow: hidden;
}

.car-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-card__img {
  transform: scale(1.05);
}

.car-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(34, 34, 34, 0.85);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
}

.car-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.car-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 16px;
}

.car-card__title a {
  color: var(--color-dark);
  transition: color var(--transition-default);
}

.car-card__title a:hover {
  color: var(--color-primary);
}

.car-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.car-card__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.car-card__spec-name {
  font-size: 0.6875rem;
  color: var(--color-muted);
}

.car-card__spec-val {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-dark);
}

.car-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.car-card__price {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}

.car-card__btn {
  padding: 10px 16px;
  font-size: 0.75rem;
}

/* Кнопка "Смотреть весь каталог" */
.catalog__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-dark);
  box-shadow: none;
  padding: 14px 28px;
  font-size: 0.8125rem;
}

.btn--outline-dark:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

/* Адаптив каталога */
@media (max-width: 1024px) {
  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .catalog {
    padding: 50px 0;
  }

  .catalog__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .car-card__body {
    padding: 18px;
  }

  .catalog__more-btn {
    width: 100%;
  }
}
/* ==========================================================================
   СЕКЦИЯ: УСЛУГИ (С БОЛЕЕ ВЫРАЗИТЕЛЬНЫМ ФОНОМ)
   ========================================================================== */
.services {
  position: relative;
  padding: 90px 0;
  background-color: var(--color-white);
  background-image:
    linear-gradient(rgba(248, 249, 250, 0.78), rgba(248, 249, 250, 0.82)),
    url("../img/services_bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.services__header {
  margin-bottom: 36px;
  text-align: left;
}

.services__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Сетка: 3 колонки на ПК */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Плашка услуги */
.service-card {
  position: relative;
  height: 280px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    border-color var(--transition-default);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  border-color: rgba(233, 89, 11, 0.5);
}

.service-card__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Фоновое изображение плашки */
.service-card__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.service-card:hover .service-card__bg {
  transform: scale(1.08);
}

/* Затемняющий оверлей внутри плашки */
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(18, 18, 18, 0.88) 100%
  );
  z-index: 2;
  transition: background var(--transition-default);
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(18, 18, 18, 0.95) 100%
  );
}

/* Контент: заголовок снизу слева */
.service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  pointer-events: auto;
}

.service-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  transition:
    color var(--transition-default),
    transform var(--transition-default);
}

.service-card:hover .service-card__title {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* Теги-ссылки для 6-й плашки (Импорт) */
.service-card__tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.service-card__tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  backdrop-filter: blur(6px);
  transition: all var(--transition-default);
}

.service-card__tag:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 89, 11, 0.45);
}

/* ==========================================================================
   АДАПТИВ УСЛУГ
   ========================================================================== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
    background-attachment: scroll;
    background-image:
      linear-gradient(rgba(248, 249, 250, 0.82), rgba(248, 249, 250, 0.86)),
      url("../img/services_bg.webp");
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    height: 220px;
  }

  .service-card__content {
    padding: 20px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: КВИЗ (ТЕМНЫЙ ФОН)
   ========================================================================== */
.quiz {
  position: relative;
  padding: 90px 0;
  background-color: #141414;
  color: var(--color-white);
  overflow: hidden;
}

.quiz__wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.quiz__header {
  margin-bottom: 28px;
}

.quiz__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 12px;
}

.quiz__subtitle {
  font-size: 0.875rem;
  color: #a0a0a0;
  line-height: 1.5;
}

/* Прогресс-бар */
.quiz__progress-block {
  margin-bottom: 30px;
}

.quiz__progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.quiz__progress-bar {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.quiz__progress-fill {
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 4px;
  transition: width 0.35s ease;
}

/* Шаги */
.quiz__step {
  display: none;
}

.quiz__step.is-active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz__step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

.quiz__input {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.quiz__input:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
}

/* Сетка опций выбора */
.quiz__options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quiz-option {
  cursor: pointer;
  position: relative;
}

.quiz-option__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.quiz-option__card {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #ddd;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  transition: all var(--transition-default);
}

.quiz-option:hover .quiz-option__card {
  border-color: var(--color-primary);
  background-color: rgba(233, 89, 11, 0.08);
  color: var(--color-white);
}

.quiz-option__input:checked + .quiz-option__card {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
  font-weight: 600;
}

/* Кнопки навигации */
.quiz__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

/* Правая колонка */
.quiz__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 440px;
}

/* Декоративная фигура, доходящая до низа секции и правого края */
.quiz__frame-bg {
  position: absolute;
  bottom: -90px;
  top: auto;
  right: calc(var(--container-padding) * -1);
  left: auto;
  transform: none;
  width: 100%;
  max-width: 680px;
  height: calc(100% + 90px);
  object-fit: contain;
  object-position: right bottom;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  transition: transform 0.6s ease;
}

.quiz:hover .quiz__frame-bg {
  transform: scale(1.02);
}

/* Автомобиль */
.quiz__car-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  margin-right: 0;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.95));
  transition: transform 0.4s ease;
}

.quiz:hover .quiz__car-img {
  transform: translateY(-4px);
}

/* Оранжевое свечение */
.quiz__car-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(233, 89, 11, 0.18) 0%,
    rgba(233, 89, 11, 0) 70%
  );
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

/* Адаптив */
@media (max-width: 1024px) {
  .quiz {
    padding: 60px 0;
  }

  .quiz__wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .quiz__visual {
    order: -1;
    justify-content: center;
    min-height: 300px;
  }

  .quiz__frame-bg {
    bottom: -60px;
    height: calc(100% + 60px);
    right: calc(var(--container-padding-mob) * -1);
    max-width: 500px;
  }

  .quiz__car-glow {
    right: 50%;
    transform: translate(50%, -50%);
  }

  .quiz__car-img {
    max-width: 440px;
  }
}

@media (max-width: 640px) {
  .quiz {
    padding: 50px 0;
  }

  .quiz__visual {
    min-height: 220px;
  }

  .quiz__frame-bg {
    bottom: -50px;
    height: calc(100% + 50px);
    max-width: 340px;
  }

  .quiz__options-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quiz__actions {
    flex-direction: column;
  }

  .quiz__actions .btn {
    width: 100%;
  }
}
/* ==========================================================================
   СЕКЦИЯ: СПЕЦИАЛИСТЫ (TEAM)
   ========================================================================== */
.team {
  padding: 90px 0;
  background-color: var(--color-white);
}

.team__header {
  margin-bottom: 40px;
  text-align: left;
}

.team__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.team__subtitle {
  font-size: var(--fs-body);
  color: var(--color-muted);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.specialist-card {
  background-color: var(--color-white);
  border-radius: 5px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.21);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    border-color var(--transition-default);
}

.specialist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
  border-color: rgba(233, 89, 11, 0.35);
}

.specialist-card__photo-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: var(--color-gray-bg);
  overflow: hidden;
}

.specialist-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Калибровка масштаба и положения каждого специалиста по одной линии глаз */
.specialist-card__photo--vadim {
  object-position: center 15%;
  transform: scale(1.08);
}

.specialist-card:hover .specialist-card__photo--vadim {
  transform: scale(1.12);
}

.specialist-card__photo--adil {
  object-position: center 90%;
  transform: scale(1.12);
}

.specialist-card:hover .specialist-card__photo--adil {
  transform: scale(1.16);
}

.specialist-card__photo--alik {
  object-position: center 5%;
  transform: scale(0.98);
}

.specialist-card__photo--djivan {
  object-position: center 5%;
  transform: scale(0.98);
}

.specialist-card:hover .specialist-card__photo--alik {
  transform: scale(1.02);
}

.specialist-card__exp-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background-color: rgba(34, 34, 34, 0.85);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.specialist-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.specialist-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.specialist-card__position {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.4;
  margin-bottom: 18px;
}

.specialist-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.specialist-card__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-dark);
  transition: color var(--transition-default);
}

.specialist-card__contact-link svg {
  stroke: var(--color-primary);
  flex-shrink: 0;
}

.specialist-card__contact-link--tg svg {
  color: #229ed9;
  fill: #229ed9;
  stroke: none;
}

.specialist-card__contact-link:hover {
  color: var(--color-primary);
}

.specialist-card__btn {
  width: 100%;
  margin-top: auto;
  padding: 12px 20px;
}

.team__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.team__more-btn {
  padding: 14px 32px;
}

@media (max-width: 1024px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .specialist-card__photo-wrapper {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .team {
    padding: 60px 0;
  }

  .team__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .specialist-card__photo-wrapper {
    height: 320px;
  }

  .specialist-card__body {
    padding: 20px;
  }

  .team__more-btn {
    width: 100%;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ПРЕИМУЩЕСТВА КОМПАНИИ
   ========================================================================== */
.advantages {
  padding: 90px 0;
  background-color: var(--color-gray-bg);
}

.advantages__header {
  margin-bottom: 40px;
  text-align: left;
}

.advantages__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.advantages__subtitle {
  font-size: var(--fs-body);
  color: var(--color-muted);
}

/* Первый ряд: 3 карточки */
.advantages__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.feature-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 32px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    border-color var(--transition-default);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(233, 89, 11, 0.4);
}

.feature-card__icon-box {
  width: 56px;
  height: 56px;
  border-radius: 5px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition:
    background-color var(--transition-default),
    color var(--transition-default);
}

.feature-card:hover .feature-card__icon-box {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  margin-bottom: 12px;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Второй ряд: 4 карточки статистики */
.advantages__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    border-color var(--transition-default);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  border-color: rgba(233, 89, 11, 0.3);
}

.stat-card__val {
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-card__val span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
}

.stat-card__label {
  font-size: 0.8125rem;
  color: var(--color-dark);
  font-weight: 500;
  line-height: 1.4;
}

/* Карточка-ссылка на Яндекс с маркером */
.stat-card--link {
  cursor: pointer;
  background-color: var(--color-white);
}

.stat-card--link:hover {
  border-color: var(--color-primary);
}

.stat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.stat-card__rating-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Маркер map.webp */
.stat-card__map-pin {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition-default);
}

.stat-card--link:hover .stat-card__map-pin {
  transform: translateY(-2px) scale(1.05);
}

.stat-card__rating-group .stat-card__val {
  margin-bottom: 0;
  line-height: 1;
}

.stat-card__stars-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-card__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.stat-card__arrow {
  color: var(--color-primary);
  display: inline-flex;
  transition: transform var(--transition-default);
}

.stat-card--link:hover .stat-card__arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   АДАПТИВ ПРЕИМУЩЕСТВ
   ========================================================================== */
@media (max-width: 1024px) {
  .advantages__features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .advantages__stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .advantages {
    padding: 60px 0;
  }

  .advantages__features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .advantages__stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 18px 16px;
  }
}

@media (max-width: 480px) {
  .stat-card__top {
    flex-wrap: wrap;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ОТЗЫВЫ (MYREVIEWS WIDGET)
   ========================================================================== */
.reviews {
  padding: 90px 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.reviews__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.reviews__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.reviews__subtitle {
  font-size: var(--fs-body);
  color: var(--color-muted);
}

/* Бейдж общего рейтинга */
.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background-color: var(--color-gray-bg);
  border: 1px solid var(--color-border);
  border-radius: 5px;
}

.reviews__badge-score {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
}

.reviews__badge-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.reviews__badge-caption {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-muted);
}

/* Оболочка виджета */
.reviews__widget-wrapper {
  width: 100%;
  min-height: 380px;
  border-radius: 5px;
  background-color: var(--color-white);
}

.reviews__widget-container {
  width: 100%;
  min-height: 380px;
}

/* Плейсхолдер до загрузки */
.reviews__placeholder {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px dashed var(--color-border);
  border-radius: 5px;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.reviews__placeholder-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: reviewsSpin 0.8s linear infinite;
}

@keyframes reviewsSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   АДАПТИВ ОТЗЫВОВ
   ========================================================================== */
@media (max-width: 768px) {
  .reviews {
    padding: 60px 0;
  }

  .reviews__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .reviews__badge {
    width: 100%;
    justify-content: space-between;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ЧАСТЫЕ ВОПРОСЫ (FAQ В 2 КОЛОНКИ)
   ========================================================================== */
.faq {
  padding: 90px 0;
  background-color: var(--color-gray-bg);
}

.faq__header {
  margin-bottom: 40px;
  text-align: left;
}

.faq__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.faq__subtitle {
  font-size: var(--fs-body);
  color: var(--color-muted);
}

/* Сетка из 2 независимых колонок */
.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.faq__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Карточка вопроса */
.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    border-color var(--transition-default);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(233, 89, 11, 0.35);
}

.faq-item.is-open {
  border-color: var(--color-primary);
  box-shadow: 0 10px 28px rgba(233, 89, 11, 0.1);
}

/* Кнопка-триггер */
.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background-color var(--transition-default);
}

.faq-item__question {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
  transition: color var(--transition-default);
}

.faq-item:hover .faq-item__question,
.faq-item.is-open .faq-item__question {
  color: var(--color-primary);
}

/* Круглая кнопка с плюсиком */
.faq-item__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-gray-bg);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.35s ease,
    background-color var(--transition-default),
    color var(--transition-default);
}

.faq-item:hover .faq-item__icon {
  background-color: rgba(233, 89, 11, 0.12);
  color: var(--color-primary);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Выпадающий контент */
.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item__inner {
  padding: 0 24px 22px;
  font-size: 0.8125rem;
  color: #4a4a4a;
  line-height: 1.65;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 4px;
  padding-top: 16px;
}

.faq-item__inner p + p {
  margin-top: 10px;
}

.faq-item__list {
  margin: 10px 0 12px 18px;
  list-style-type: disc;
}

.faq-item__list li {
  margin-bottom: 5px;
}

/* ==========================================================================
   АДАПТИВ FAQ
   ========================================================================== */
@media (max-width: 992px) {
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .faq {
    padding: 60px 0;
  }

  .faq-item__trigger {
    padding: 16px 18px;
    gap: 12px;
  }

  .faq-item__question {
    font-size: 0.875rem;
  }

  .faq-item__icon {
    width: 28px;
    height: 28px;
  }

  .faq-item__icon svg {
    width: 12px;
    height: 12px;
  }

  .faq-item__inner {
    padding: 0 18px 18px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ОБРАТНАЯ СВЯЗЬ / ЗАДАЙТЕ ВОПРОС (ТЕМНЫЙ ФОН)
   ========================================================================== */
.contact-cta {
  padding: 90px 0;
  background-color: #141414;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-cta__wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

/* Левая визуальная колонка */
.contact-cta__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-cta__img {
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.9));
  transition: transform 0.5s ease;
}

.contact-cta:hover .contact-cta__img {
  transform: translateY(-4px);
}

.contact-cta__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(233, 89, 11, 0.22) 0%,
    rgba(233, 89, 11, 0) 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

/* Правая контентная колонка */
.contact-cta__header {
  margin-bottom: 28px;
}

.contact-cta__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 10px;
}

.contact-cta__subtitle {
  font-size: 0.875rem;
  color: #a8a8a8;
  line-height: 1.5;
}

/* Форма */
.contact-cta__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-cta__grid-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-label--light {
  color: #e0e0e0;
}

.form-input--dark {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  color: var(--color-white);
}

.form-input--dark:focus {
  background-color: rgba(255, 255, 255, 0.09);
  border-color: var(--color-primary);
}

.form-input--dark::placeholder {
  color: #777;
}

/* Кастомный select */
.form-select-wrapper {
  position: relative;
  width: 100%;
}

.form-select {
  width: 100%;
  padding: 13px 40px 13px 16px;
  font-family: var(--font-main);
  font-size: 0.875rem;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition:
    border-color var(--transition-default),
    background-color var(--transition-default);
}

.form-select option {
  background-color: #222;
  color: var(--color-white);
  padding: 10px;
}

.form-select-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #aaa;
  display: flex;
  align-items: center;
  transition: transform var(--transition-default);
}

.form-select:focus + .form-select-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: var(--color-primary);
}

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 160px;
  line-height: 1.5;
}

.form-checkbox__text--light {
  color: #b0b0b0;
}

.contact-cta__btn {
  align-self: flex-start;
  padding: 14px 30px;
  font-size: 0.8125rem;
  margin-top: 4px;
}

/* ==========================================================================
   АДАПТИВ СЕКЦИИ СВЯЗИ
   ========================================================================== */
@media (max-width: 1024px) {
  .contact-cta__wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-cta__visual {
    order: -1;
  }

  .contact-cta__img {
    max-width: 440px;
  }
}

@media (max-width: 640px) {
  .contact-cta {
    padding: 60px 0;
  }

  .contact-cta__grid-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-cta__btn {
    width: 100%;
  }

  .contact-cta__img {
    max-width: 320px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: SEO-ОПИСАНИЕ (STICKY СКРОЛЛ + БЕЗ ОБРЕЗКИ МАШИН)
   ========================================================================== */
.seo-section {
  padding: 90px 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.seo-section__wrapper {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start; /* Обязательно для работы sticky */
}

/* Левая часть: текст */
.seo-section__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.seo-section__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.9375rem;
  color: #333333;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.seo-section__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0;
  padding-left: 0;
  list-style: none;
}

.seo-section__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.seo-section__list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(233, 89, 11, 0.2);
}

.seo-section__list strong {
  color: var(--color-dark);
  font-weight: 600;
}

.seo-section__text ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0;
  padding-left: 0;
  list-style: none;
}

.seo-section__text ul li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.seo-section__text ul li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(233, 89, 11, 0.2);
}

.seo-section__text strong {
  color: var(--color-dark);
  font-weight: 600;
}

/* Правая часть: едет вместе с пользователем (Sticky) */
.seo-section__visual {
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  will-change: transform;
}

.seo-section__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px 20px 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    border-color var(--transition-default);
}

.seo-section__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border-color: rgba(233, 89, 11, 0.4);
}

.seo-section__img-box {
  width: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.seo-section__img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.seo-section__card:hover .seo-section__img {
  transform: scale(1.03);
}

/* Кнопка под автомобилем */
.seo-section__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background-color: #2b2b2b;
  color: var(--color-white);
  border-radius: 5px;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background-color var(--transition-default);
}

.seo-section__card:hover .seo-section__btn {
  background-color: var(--color-primary);
}

.seo-section__btn svg {
  flex-shrink: 0;
  transition: transform var(--transition-default);
}

.seo-section__card:hover .seo-section__btn svg {
  transform: translateX(4px);
}

/* Адаптив */
@media (max-width: 1024px) {
  .seo-section__wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .seo-section__visual {
    position: static;
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .seo-section {
    padding: 60px 0;
  }

  .seo-section__text,
  .seo-section__list li {
    font-size: 0.875rem;
    text-align: left;
  }

  .seo-section__card {
    padding: 16px 14px 14px;
  }

  .seo-section__img-box {
    min-height: auto;
  }
}
/* ==========================================================================
   ПОДВАЛ САЙТА (FOOTER)
   ========================================================================== */
.footer {
  position: relative;
  background-color: #0d0d0d;
  color: var(--color-white);
  padding: 90px 0 32px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Полноэкранный фоновый авто с плавным градиентным переходом */
.footer__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      #0d0d0d 0%,
      rgba(13, 13, 13, 0.95) 35%,
      rgba(13, 13, 13, 0.75) 65%,
      rgba(13, 13, 13, 0.35) 100%
    ),
    linear-gradient(
      180deg,
      #0d0d0d 0%,
      rgba(13, 13, 13, 0.2) 40%,
      rgba(13, 13, 13, 0.85) 85%,
      #0d0d0d 100%
    ),
    url("../img/footer_bg.webp");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.footer__container {
  position: relative;
  z-index: 2;
}

/* Верхняя линия футера */
.footer__main {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Колонка бренда и телефона */
.footer__brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.footer__logo {
  display: inline-block;
}

.footer__logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer__call-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__call-caption {
  font-size: 0.75rem;
  color: #888888;
  font-weight: 500;
}

.footer__big-phone {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color var(--transition-default);
}

.footer__big-phone:hover {
  color: var(--color-primary);
}

.footer__callback-btn {
  padding: 12px 20px;
  font-size: 0.8125rem;
}

/* Навигационная сетка */
.footer__nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer__nav-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.footer__nav-link {
  font-size: 0.8125rem;
  color: #a0a0a0;
  transition:
    color var(--transition-default),
    transform var(--transition-default);
  display: inline-block;
}

.footer__nav-link:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* Контакты в колонке */
.footer__nav-col--contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer__contact-label {
  font-size: 0.6875rem;
  color: #777777;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer__contact-text {
  font-size: 0.8125rem;
  color: #cccccc;
  line-height: 1.4;
}

.footer__contact-link {
  font-size: 0.8125rem;
  color: #cccccc;
  transition: color var(--transition-default);
}

.footer__contact-link:hover {
  color: var(--color-primary);
}

/* Публичная оферта */
.footer__disclaimer {
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__disclaimer p {
  font-size: 0.6875rem;
  line-height: 1.6;
  color: #666666;
  text-align: justify;
}

/* Нижняя строка (копирайт и ссылки) */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: 0.75rem;
  color: #888888;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__requisites {
  font-size: 0.6875rem;
  color: #666666;
}

.footer__legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.footer__legal-link {
  font-size: 0.75rem;
  color: #888888;
  text-decoration: underline;
  transition: color var(--transition-default);
}

.footer__legal-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* ==========================================================================
   АДАПТИВ ПОДВАЛА
   ========================================================================== */
@media (max-width: 1200px) {
  .footer__main {
    grid-template-columns: 280px 1fr;
    gap: 36px;
  }

  .footer__nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 992px) {
  .footer {
    padding: 60px 0 24px;
  }

  .footer__bg {
    background-image:
      linear-gradient(
        180deg,
        #0d0d0d 0%,
        rgba(13, 13, 13, 0.88) 45%,
        #0d0d0d 100%
      ),
      url("../img/footer_bg.webp");
    background-position: center bottom;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__brand-col {
    width: 100%;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .footer__nav-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__disclaimer p {
    text-align: left;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__legal-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer__callback-btn {
    width: 100%;
  }
}
/* ==========================================================================
   КНОПКА "НАВЕРХ" (BACK TO TOP)
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(34, 34, 34, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease,
    background-color var(--transition-default),
    border-color var(--transition-default);
}

/* Видимое состояние */
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-btn);
  transform: translateY(-4px) scale(1.05);
}

/* Круговой прогресс-бар */
.back-to-top__progress {
  position: absolute;
  top: 1px;
  left: 1px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.back-to-top__progress-circle {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2.5;
  stroke-dasharray: 125.6; /* 2 * PI * 20 */
  stroke-dashoffset: 125.6;
  stroke-linecap: round;
  transition:
    stroke-dashoffset 0.15s ease-out,
    stroke var(--transition-default);
}

.back-to-top:hover .back-to-top__progress-circle {
  stroke: var(--color-white);
}

/* Стрелка */
.back-to-top__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-default);
}

.back-to-top:hover .back-to-top__arrow {
  transform: translateY(-3px);
}

/* Адаптив для планшетов и мобилок */
@media (max-width: 768px) {
  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }

  .back-to-top__progress {
    width: 42px;
    height: 42px;
  }
}
/* ==========================================================================
   СОЦИАЛЬНЫЕ СЕТИ В ПОДВАЛЕ
   ========================================================================== */
.footer__socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.footer__socials-label {
  font-size: 0.75rem;
  color: #888888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer__socials-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transition-default),
    border-color var(--transition-default),
    color var(--transition-default),
    transform var(--transition-default),
    box-shadow var(--transition-default);
}

.footer__social-link:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(233, 89, 11, 0.4);
}

.footer__social-link svg {
  display: block;
}
/* ==========================================================================
   HERO КАРТОЧКИ АВТОМОБИЛЯ
   ========================================================================== */
.car-hero {
  padding: 40px 0 60px;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.car-hero__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.car-hero__info {
  display: flex;
  flex-direction: column;
}

.breadcrumbs {
  margin-bottom: 16px;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.breadcrumbs__link {
  font-size: 0.75rem;
  color: #777777;
  transition: color var(--transition-default);
}

.breadcrumbs__link:hover {
  color: var(--color-primary);
}

.breadcrumbs__separator {
  font-size: 0.75rem;
  color: #cccccc;
}

.breadcrumbs__item--current {
  font-size: 0.75rem;
  color: var(--color-dark);
  font-weight: 500;
}

.car-hero__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.car-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 4px;
}

.car-badge--accent {
  background-color: rgba(233, 89, 11, 0.12);
  border: 1px solid rgba(233, 89, 11, 0.3);
  color: var(--color-primary);
}

.car-hero__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.car-hero__price-box {
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 28px;
}

.car-hero__price {
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
}

.car-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.car-hero__btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   СЛАЙДЕР И ВСЕ ПРЕВЬЮ НА ВИДУ (GRID 5x2)
   ========================================================================== */
.car-hero__gallery {
  width: 100%;
  max-width: 640px;
  margin-left: auto;
}

.car-slider {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.car-slider__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: var(--color-gray-bg);
  border-radius: 6px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  cursor: zoom-in;
}

.car-slider__track {
  width: 100%;
  height: 100%;
  position: relative;
}

.car-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.car-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.car-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.car-slider__zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(34, 34, 34, 0.75);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition:
    background-color var(--transition-default),
    transform var(--transition-default);
}

.car-slider__zoom-btn:hover {
  background-color: var(--color-primary);
  transform: scale(1.08);
}

.car-slider__counter {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: rgba(34, 34, 34, 0.75);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 600;
  z-index: 5;
}

.car-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition:
    background-color var(--transition-default),
    color var(--transition-default);
}

.car-slider__arrow:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.car-slider__arrow--prev {
  left: 12px;
}

.car-slider__arrow--next {
  right: 12px;
}

/* Все 10 превью на виду: сетка 5 колонок без скролла */
.car-slider__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 14px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.car-slider__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.6;
  transition:
    opacity var(--transition-default),
    border-color var(--transition-default);
}

.car-slider__thumb:hover {
  opacity: 0.9;
}

.car-slider__thumb.is-active {
  opacity: 1;
  border-color: var(--color-primary);
}

.car-slider__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   МОДАЛЬНЫЙ LIGHTBOX
   ========================================================================== */
.car-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.car-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.car-lightbox__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(14, 14, 14, 0.94);
  backdrop-filter: blur(8px);
}

.car-lightbox__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.car-lightbox__close {
  position: absolute;
  top: -46px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transition-default),
    transform var(--transition-default);
}

.car-lightbox__close:hover {
  background-color: var(--color-primary);
  transform: rotate(90deg);
}

.car-lightbox__counter {
  position: absolute;
  top: -36px;
  left: 20px;
  color: #aaaaaa;
  font-size: 0.8125rem;
  font-weight: 500;
}

.car-lightbox__view {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.car-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-default);
}

.car-lightbox__arrow:hover {
  background-color: var(--color-primary);
}

.car-lightbox__arrow--prev {
  left: -20px;
}

.car-lightbox__arrow--next {
  right: -20px;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1024px) {
  .car-hero__wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .car-hero__info {
    order: 2;
  }

  .car-hero__gallery {
    order: 1;
    max-width: 100%;
  }

  .car-lightbox__arrow--prev {
    left: 10px;
  }

  .car-lightbox__arrow--next {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .car-hero {
    padding: 24px 0 50px;
  }

  .car-slider__arrow {
    width: 32px;
    height: 32px;
  }

  .car-slider__thumbs {
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }

  .car-lightbox__close {
    top: -40px;
    right: 10px;
  }

  .car-lightbox__counter {
    top: -30px;
    left: 10px;
  }
}
.car-hero__title {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.car-hero__quick-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  padding: 14px 16px;
  background-color: var(--color-gray-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  margin-bottom: 20px;
}

.car-hero__spec-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.car-hero__spec-label {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.car-hero__spec-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: right;
}

.car-hero__price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.car-hero__price-label {
  font-size: 0.8125rem;
  color: var(--color-muted);
  font-weight: 500;
}

.car-hero__price {
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.car-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.car-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.car-lightbox__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(14, 14, 14, 0.94);
  backdrop-filter: blur(8px);
}

.car-lightbox__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.car-lightbox__close {
  position: absolute;
  top: -46px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transition-default),
    transform var(--transition-default);
}

.car-lightbox__close:hover {
  background-color: var(--color-primary);
  transform: rotate(90deg);
}

.car-lightbox__counter {
  position: absolute;
  top: -36px;
  left: 20px;
  color: #aaaaaa;
  font-size: 0.8125rem;
  font-weight: 500;
}

.car-lightbox__view {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.car-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-default);
}

.car-lightbox__arrow:hover {
  background-color: var(--color-primary);
}

.car-lightbox__arrow--prev {
  left: -20px;
}

.car-lightbox__arrow--next {
  right: -20px;
}
/* ==========================================================================
   СЕКЦИЯ: ХАРАКТЕРИСТИКИ И КОМПЛЕКТАЦИЯ
   ========================================================================== */
.car-specs {
  padding: 60px 0 80px;
  background-color: var(--color-white);
}

/* Табы (выровнены по левому краю) */
.car-specs__tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--color-gray-bg);
  padding-bottom: 12px;
}

.car-specs__tab {
  padding: 12px 24px;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark);
  background-color: var(--color-gray-bg);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition-default);
}

.car-specs__tab:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.car-specs__tab.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
  font-weight: 600;
}

/* Панели */
.car-specs__panel {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.car-specs__panel.is-active {
  display: block;
}

/* Сетка характеристик (2 колонки) */
.car-specs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 48px;
}

.car-specs__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.car-specs__label {
  font-size: 0.875rem;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Точечная линия заполнения между названием и значением */
.car-specs__dots {
  flex-grow: 1;
  border-bottom: 1px dotted #ccc;
  margin: 0 4px;
}

.car-specs__value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: right;
  flex-shrink: 0;
}

/* Группы комплектации */
.equipment-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.equipment-group {
  background-color: var(--color-gray-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 24px;
}

.equipment-group__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.equipment-group__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.equipment-group__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: #333333;
  line-height: 1.45;
}

.equipment-group__item svg {
  stroke: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   АДАПТИВ ХАРАКТЕРИСТИК
   ========================================================================== */
@media (max-width: 992px) {
  .car-specs__grid,
  .equipment-groups {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .car-specs {
    padding: 40px 0 60px;
  }

  .car-specs__tab {
    padding: 10px 16px;
    font-size: 0.8125rem;
  }

  .equipment-group {
    padding: 18px 16px;
  }
}
/* ==========================================================================
   КОМПЛЕКТАЦИЯ АВТОМОБИЛЯ (СЕТКА ОПЦИЙ)
   ========================================================================== */
.equipment-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 36px;
  background-color: var(--color-gray-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 24px 28px;
}

.equipment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.equipment-item__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(233, 89, 11, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.equipment-item__text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .equipment-list-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ВАМ ТАКЖЕ МОГУТ ПОНРАВИТЬСЯ (КАРУСЕЛЬ)
   ========================================================================== */
.similar-cars {
  padding: 80px 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.similar-cars__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.similar-cars__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Навигация (стрелки в шапке) */
.similar-cars__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.similar-cars__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-gray-bg);
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-default);
}

.similar-cars__arrow:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

/* Оболочка карусели */
.similar-cars__carousel {
  width: 100%;
  overflow: hidden;
  padding: 8px 4px 18px;
}

.similar-cars__track {
  display: flex;
  gap: 28px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Карточка в карусели: ровно 3 штуки в ряд с учетом gaps */
.similar-cars__item {
  flex: 0 0 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
}

/* Кнопка "Перейти в каталог" под каруселью */
.similar-cars__more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.similar-cars__more-btn {
  padding: 14px 32px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   АДАПТИВ КАРУСЕЛИ
   ========================================================================== */
@media (max-width: 1024px) {
  .similar-cars__track {
    gap: 20px;
  }
  .similar-cars__item {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 640px) {
  .similar-cars {
    padding: 50px 0;
  }

  .similar-cars__header {
    margin-bottom: 24px;
  }

  .similar-cars__item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .similar-cars__more-btn {
    width: 100%;
  }
}
/* ==========================================================================
   HERO КАТАЛОГА АВТОМОБИЛЕЙ
   ========================================================================== */
.hero__bg--catalog {
  background-image:
    linear-gradient(
      90deg,
      rgba(18, 18, 18, 0.94) 0%,
      rgba(18, 18, 18, 0.78) 45%,
      rgba(18, 18, 18, 0.25) 100%
    ),
    url("../img/catalog_bg.webp");
}

/* Светлые хлебные крошки для темного Hero */
.breadcrumbs--hero {
  margin-bottom: 4px;
}

.breadcrumbs--hero .breadcrumbs__link {
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumbs--hero .breadcrumbs__link:hover {
  color: var(--color-primary);
}

.breadcrumbs--hero .breadcrumbs__separator {
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumbs--hero .breadcrumbs__item--current {
  color: var(--color-white);
}

@media (max-width: 1024px) {
  .hero__bg--catalog {
    background-image:
      linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.88) 0%,
        rgba(18, 18, 18, 0.7) 60%,
        rgba(18, 18, 18, 0.9) 100%
      ),
      url("../img/catalog_bg.webp");
  }
}
/* ==========================================================================
   КНОПКИ ПАГИНАЦИИ КАТАЛОГА
   ========================================================================== */
.pagination-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-dark);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition-default);
}

.pagination-btn svg {
  stroke: currentColor;
  transition: stroke var(--transition-default);
}

/* Наведение на неактивные кнопки (текст и иконка становятся белыми) */
.pagination-btn:hover:not(:disabled) {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
  transform: translateY(-2px);
}

.pagination-btn:hover:not(:disabled) svg {
  stroke: var(--color-white);
}

/* Активная страница (белый текст на оранжевом фоне) */
.pagination-btn.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
  cursor: default;
}

.pagination-btn.is-active:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: none;
}

/* Отключенные кнопки (первая / последняя страница) */
.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background-color: var(--color-white);
  color: #999999;
  border-color: var(--color-border);
}

.pagination-btn--nav {
  padding: 0 16px;
  gap: 8px;
}
/* ==========================================================================
   ПАГИНАЦИЯ КАТАЛОГА (ВЫРАВНИВАНИЕ ПО ЦЕНТРУ)
   ========================================================================== */
.catalog__pagination {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 54px;
  text-align: center;
}

.pagination-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-dark);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-default);
}

.pagination-btn svg {
  display: block;
  stroke: currentColor;
  transition: stroke var(--transition-default);
}

/* Ховер: белый текст и оранжевый фон */
.pagination-btn:hover:not(:disabled) {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
  transform: translateY(-2px);
}

.pagination-btn:hover:not(:disabled) svg {
  stroke: #ffffff;
}

/* Активная страница */
.pagination-btn.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
  cursor: default;
}

.pagination-btn.is-active svg {
  stroke: #ffffff;
}

.pagination-btn.is-active:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: none;
}

/* Неактивные кнопки Назад / Вперед */
.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background-color: var(--color-white);
  color: #999999;
  border-color: var(--color-border);
}

/* Кнопки со стрелками */
.pagination-btn--nav {
  padding: 0 18px;
  gap: 8px;
}

/* Адаптив для смартфонов */
@media (max-width: 768px) {
  .catalog__pagination {
    margin-top: 36px;
    gap: 6px;
  }

  .pagination-btn {
    min-width: 38px;
    height: 38px;
    font-size: 0.75rem;
    padding: 0 10px;
  }

  .pagination-btn--nav {
    padding: 0 12px;
    gap: 6px;
  }
}
/* ==========================================================================
   SEO СЕКЦИЯ (СТАТИЧЕСКАЯ STICKY КАРТИНКА БЕЗ ССЫЛОК И КНОПОК)
   ========================================================================== */
.seo-section__img-card {
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.seo-section__static-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .seo-section__img-card {
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .seo-section__img-card {
    padding: 12px;
  }
}
/* ==========================================================================
   HERO СЕКЦИЯ: ВЫКУП АВТОМОБИЛЕЙ
   ========================================================================== */
.hero__bg--buyout {
  background-image:
    linear-gradient(
      90deg,
      rgba(18, 18, 18, 0.94) 0%,
      rgba(18, 18, 18, 0.78) 45%,
      rgba(18, 18, 18, 0.25) 100%
    ),
    url("../img/vykup_bg.webp");
}

@media (max-width: 1024px) {
  .hero__bg--buyout {
    background-image:
      linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.88) 0%,
        rgba(18, 18, 18, 0.7) 60%,
        rgba(18, 18, 18, 0.9) 100%
      ),
      url("../img/vykup_bg.webp");
  }
}
/* ==========================================================================
   СЕКЦИЯ: ПРЕИМУЩЕСТВА ВЫКУПА АВТО (СВЕТЛЫЙ ФОН + ОВЕРЛЕЙ СЛЕВА НАПРАВО)
   ========================================================================== */
.buyout-adv {
  position: relative;
  padding: 90px 0;
  background-color: var(--color-white);
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 255, 255, 0.88) 50%,
      rgba(255, 255, 255, 0.96) 100%
    ),
    url("../img/vykup_adv_bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.buyout-adv__header {
  margin-bottom: 40px;
  text-align: left;
}

.buyout-adv__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.buyout-adv__subtitle {
  font-size: var(--fs-body);
  color: var(--color-muted);
}

/* Сетка: 3 колонки на ПК */
.buyout-adv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Карточка преимущества */
.buyout-adv-card {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 30px 26px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    border-color var(--transition-default);
}

.buyout-adv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(233, 89, 11, 0.4);
}

/* Иконка */
.buyout-adv-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition:
    background-color var(--transition-default),
    color var(--transition-default);
}

.buyout-adv-card:hover .buyout-adv-card__icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.buyout-adv-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.buyout-adv-card__desc {
  font-size: 0.84375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1024px) {
  .buyout-adv__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .buyout-adv {
    padding: 60px 0;
    background-attachment: scroll;
  }

  .buyout-adv__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .buyout-adv-card {
    padding: 22px 20px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ПРИМЕРЫ ВЫКУПЛЕННЫХ АВТО (3x3)
   ========================================================================== */
.bought-cars {
  padding: 90px 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.bought-cars__header {
  margin-bottom: 40px;
  text-align: left;
}

.bought-cars__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.bought-cars__subtitle {
  font-size: var(--fs-body);
  color: var(--color-muted);
}

/* Сетка: 3 в ряд */
.bought-cars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Бейдж "Выкуплен" */
.car-card__badge--bought {
  background-color: rgba(34, 34, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #a3e635; /* Мягкий салатовый статус успешного выкупа */
  font-weight: 600;
}

/* Кнопка "Узнать стоимость" на всю ширину карточки */
.bought-card__footer {
  margin-top: auto;
  width: 100%;
}

.bought-card__btn {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1024px) {
  .bought-cars__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .bought-cars {
    padding: 60px 0;
  }

  .bought-cars__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* ==========================================================================
   HERO СЕКЦИЯ: О КОМПАНИИ (ПОЛНОЕ ОТКЛЮЧЕНИЕ ФОНОВОЙ КАРТИНКИ)
   ========================================================================== */
.hero--about-seamless {
  background: #161719 !important; /* Отключает любое фоновое изображение */
  min-height: 85vh;
  padding: 100px 0 0;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

/* Отключаем псевдоэлементы фона, если они есть у .hero */
.hero--about-seamless::before,
.hero--about-seamless::after,
.hero--about-seamless .hero__bg {
  display: none !important;
  background-image: none !important;
}

.hero--about-seamless .hero__container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero__about-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.hero__content--wide {
  max-width: 680px;
  flex: 1 1 auto;
  padding-bottom: 80px;
}

/* Десктоп: фото специалистов справа внизу */
.hero__about-media {
  flex: 0 0 auto;
  width: 50%;
  max-width: 620px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  line-height: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero__about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  vertical-align: bottom;
  margin-bottom: 0;
}

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
  .hero--about-seamless {
    min-height: auto;
    padding: 100px 0 0;
    display: block;
  }

  .hero__about-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hero__content--wide {
    max-width: 100%;
    padding-bottom: 0;
  }

  .hero__about-media {
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 20px auto 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .hero__about-img {
    width: 100%;
    height: auto;
    max-width: 480px;
    object-fit: contain;
  }
}

/* Смартфоны (до 640px) */
@media (max-width: 640px) {
  .hero--about-seamless {
    padding: 90px 0 0;
  }

  .hero__about-row {
    gap: 16px;
  }

  .hero__about-media {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 16px auto 0;
    overflow: visible;
  }

  .hero__about-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
}
/* ==========================================================================
   СЕКЦИЯ: НАШ КОЛЛЕКТИВ
   ========================================================================== */
.team-about {
  padding: 90px 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.team-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Левая колонка с кликабельным фото */
.team-about__media {
  width: 100%;
}

.team-about__img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  cursor: zoom-in;
  background-color: var(--color-gray-bg);
}

.team-about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-default);
}

.team-about__img-box:hover .team-about__img {
  transform: scale(1.03);
}

.team-about__zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(22, 23, 25, 0.75);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transition-default),
    transform var(--transition-default);
}

.team-about__img-box:hover .team-about__zoom-icon {
  background-color: var(--color-primary);
  transform: scale(1.08);
}

/* Правая колонка с текстом */
.team-about__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.team-about__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.team-about__text {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-about__text strong {
  color: var(--color-dark);
}

.team-about__highlight {
  padding-left: 14px;
  border-left: 3px solid var(--color-primary);
  color: var(--color-dark);
  font-weight: 500;
}

.team-about__highlight span {
  color: var(--color-primary);
  font-weight: 700;
}

.team-about__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.team-about__feature-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-about__feature-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.team-about__feature-desc {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* ==========================================================================
   ЛАЙТБОКС ФОТО КОМАНДЫ
   ========================================================================== */
.team-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.team-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.team-lightbox__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(14, 14, 14, 0.94);
  backdrop-filter: blur(8px);
}

.team-lightbox__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.team-lightbox__close {
  position: absolute;
  top: -44px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transition-default),
    transform var(--transition-default);
}

.team-lightbox__close:hover {
  background-color: var(--color-primary);
  transform: rotate(90deg);
}

.team-lightbox__view {
  width: 100%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 992px) {
  .team-about {
    padding: 60px 0;
  }

  .team-about__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .team-lightbox__close {
    top: -40px;
    right: 10px;
  }
}

@media (max-width: 640px) {
  .team-about__features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
/* ==========================================================================
   СЕТКА СПЕЦИАЛИСТОВ: 4 В РЯД
   ========================================================================== */
.team__grid--4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px;
}

/* На экранах до 1200px: 2 в ряд */
@media (max-width: 1200px) {
  .team__grid--4col {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
}

/* На экранах до 640px: 1 в ряд */
@media (max-width: 640px) {
  .team__grid--4col {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}
/* ==========================================================================
   HERO СЕКЦИЯ: КОНТАКТЫ (ФОН ОФИСА ТЦ АКРОПОЛЬ)
   ========================================================================== */
.hero__bg--contacts {
  background-image:
    linear-gradient(
      90deg,
      rgba(18, 18, 18, 0.94) 0%,
      rgba(18, 18, 18, 0.8) 45%,
      rgba(18, 18, 18, 0.35) 100%
    ),
    url("../img/office_akropol.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Мобильная версия и планшеты: сохраняем изображение офиса с вертикальным градиентом */
@media (max-width: 1024px) {
  .hero__bg--contacts {
    background-image:
      linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.88) 0%,
        rgba(18, 18, 18, 0.72) 55%,
        rgba(18, 18, 18, 0.92) 100%
      ),
      url("../img/office_akropol.webp");
    background-position: center top;
  }
}
.hero {
  position: relative;
  overflow: hidden;
}

.hero__layers {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero__layers-img {
  width: 140%;
  max-width: none;
  display: block;
  transform: translateX(25%);
  margin-left: auto;
}

@media (max-width: 1024px) {
  .hero__layers-img {
    width: 180%;
    transform: translateX(35%);
  }
}

@media (max-width: 640px) {
  .hero__layers-img {
    width: 220%;
    transform: translateX(45%);
  }
}
/* ==========================================================================
   СЕКЦИЯ: КОНТАКТЫ И КАРТА
   ========================================================================== */
.contacts-info {
  padding: 90px 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.contacts-info__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: stretch;
}

.contacts-info__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.contacts-info__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.contacts-info__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.contacts-info__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 34px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background-color: var(--color-gray-bg);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-item__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.contact-item__link {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-default);
}

.contact-item__link:hover {
  color: var(--color-primary);
}

/* Блок социальных сетей */
.contacts-info__socials {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.contacts-info__socials-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 14px;
}

.contacts-info__socials-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-white);
  border-radius: 5px;
  text-decoration: none;
  transition:
    transform var(--transition-default),
    opacity var(--transition-default);
}

.contact-social-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.contact-social-btn--vk {
  background-color: #0077ff;
}

.contact-social-btn--tg {
  background-color: #229ed9;
}

/* ==========================================================================
   КАРТА: СЕРАЯ ПОДЛОЖКА + СКРЫТИЕ РЕКЛАМЫ + ОРАНЖЕВЫЙ МАРКЕР
   ========================================================================== */
.contacts-info__map-wrapper {
  position: relative;
  width: 100%;
  min-height: 480px;
  border-radius: 8px;
  overflow: hidden; /* Срезает рекламный блок снизу */
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  background-color: #e5e5e5;
}

/* Фрейм карты: увеличен по высоте вниз, чтобы вытолкнуть рекламу за край */
.contacts-info__iframe {
  width: 100%;
  height: calc(100% + 75px);
  min-height: 555px;
  margin-bottom: -75px;
  display: block;
  border: 0;
  filter: grayscale(100%) contrast(92%);
  -webkit-filter: grayscale(100%) contrast(92%);
  pointer-events: auto;
}

/* Оранжевый маркер строго по центру координат */
.map-custom-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-custom-marker__pin {
  filter: drop-shadow(0 6px 14px rgba(233, 89, 11, 0.45));
  animation: mapPinBounce 2.4s ease-in-out infinite;
}

.map-custom-marker__shadow {
  width: 14px;
  height: 5px;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  margin-top: -2px;
  filter: blur(1px);
}

/* Мягкое покачивание маркера для привлечения внимания */
@keyframes mapPinBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Адаптив */
@media (max-width: 1024px) {
  .contacts-info__map-wrapper {
    min-height: 400px;
  }
  .contacts-info__iframe {
    height: calc(100% + 75px);
    min-height: 475px;
  }
}

@media (max-width: 640px) {
  .contacts-info__map-wrapper {
    min-height: 340px;
  }
  .contacts-info__iframe {
    height: calc(100% + 75px);
    min-height: 415px;
  }
}
/* ==========================================================================
   КАРТА: СРЕЗ РЕКЛАМЫ (160px) + СЕРЫЙ ФИЛЬТР + ОРАНЖЕВЫЙ МАРКЕР
   ========================================================================== */
.contacts-info__map-wrapper {
  position: relative;
  width: 100%;
  height: 480px; /* Фиксированная высота для надежного среза */
  border-radius: 8px;
  overflow: hidden; /* Полностью отсекает всё, что выходит за рамки */
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  background-color: #e5e5e5;
}

.contacts-info__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 640px; /* 480px видимой части + 160px рекламного блока за экраном */
  border: 0;
  filter: grayscale(100%) contrast(92%);
  -webkit-filter: grayscale(100%) contrast(92%);
}

/* Маркер позиционируется ровно по центру фрейма (с учетом среза рекламы) */
.map-custom-marker {
  position: absolute;
  top: 320px; /* Ровно половина от 640px высоты фрейма */
  left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-custom-marker__pin {
  filter: drop-shadow(0 6px 14px rgba(233, 89, 11, 0.45));
  animation: mapPinBounce 2.4s ease-in-out infinite;
}

.map-custom-marker__shadow {
  width: 14px;
  height: 5px;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  margin-top: -2px;
  filter: blur(1px);
}

@keyframes mapPinBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Адаптив для планшетов */
@media (max-width: 1024px) {
  .contacts-info__map-wrapper {
    height: 400px;
  }
  .contacts-info__iframe {
    height: 560px;
  }
  .map-custom-marker {
    top: 280px;
  }
}

/* Адаптив для смартфонов */
@media (max-width: 640px) {
  .contacts-info__map-wrapper {
    height: 340px;
  }
  .contacts-info__iframe {
    height: 500px;
  }
  .map-custom-marker {
    top: 250px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ОФИС И АВТОПАРК (ТАБЫ И ГАЛЕРЕЯ)
   ========================================================================== */
.office-park {
  padding: 90px 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.office-park__header {
  margin-bottom: 30px;
  text-align: left;
}

.office-park__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.office-park__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.office-park__subtitle {
  font-size: var(--fs-body);
  color: var(--color-muted);
}

/* Табы: выровнены по левому краю */
.gallery-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}

.gallery-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  background-color: var(--color-gray-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-default);
}

.gallery-tabs__count {
  font-size: 0.75rem;
  color: var(--color-muted);
  background-color: #ffffff;
  padding: 2px 7px;
  border-radius: 10px;
  transition: all var(--transition-default);
}

.gallery-tabs__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Активный таб */
.gallery-tabs__btn.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(233, 89, 11, 0.28);
}

.gallery-tabs__btn.is-active .gallery-tabs__count {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Панели галереи */
.gallery-panel {
  display: none;
  animation: fadeInGallery 0.35s ease;
}

.gallery-panel.is-active {
  display: block;
}

@keyframes fadeInGallery {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Сетки: 3 колонки для офиса, адаптивная сетка для 5 фото парковки */
.gallery-grid {
  display: grid;
  gap: 24px;
}

.gallery-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid--5 {
  grid-template-columns: repeat(3, 1fr);
}

/* Элемент галереи (карточка фото) */
.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background-color: #161719;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  cursor: zoom-in;
  margin: 0;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.06);
}

/* Оверлей при наведении */
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-default);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__zoom-icon {
  align-self: flex-end;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(233, 89, 11, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform var(--transition-default);
}

.gallery-item:hover .gallery-item__zoom-icon {
  transform: scale(1);
}

.gallery-item__caption {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО (ЛАЙТБОКС)
   ========================================================================== */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.gallery-modal__container {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-default);
}

.gallery-modal__close:hover {
  background-color: var(--color-primary);
  transform: rotate(90deg);
}

.gallery-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-modal__img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.gallery-modal__caption {
  margin-top: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1024px) {
  .office-park {
    padding: 60px 0;
  }

  .gallery-grid--3,
  .gallery-grid--5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .gallery-tabs {
    gap: 8px;
    margin-bottom: 24px;
  }

  .gallery-tabs__btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .gallery-grid--3,
  .gallery-grid--5 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-modal__close {
    top: -40px;
    right: 0;
  }
}
/* ==========================================================================
   HERO СЕКЦИЯ: ЗАКАЗ АВТО ИЗ-ЗА РУБЕЖА
   ========================================================================== */
.hero__bg--import {
  background-image:
    linear-gradient(
      90deg,
      rgba(18, 18, 18, 0.94) 0%,
      rgba(18, 18, 18, 0.78) 50%,
      rgba(18, 18, 18, 0.28) 100%
    ),
    url("../img/zakazat_avto_iz_za_rubezha.webp");
}

.hero__content--import {
  max-width: 820px;
}

/* Плашки преимуществ */
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 14px 16px;
  backdrop-filter: blur(4px);
  transition:
    border-color var(--transition-default),
    background-color var(--transition-default);
}

.hero-feature:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(233, 89, 11, 0.45);
}

.hero-feature__icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-color: rgba(233, 89, 11, 0.16);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-feature__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin: 0;
}

.hero-feature__desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  margin: 0;
}

/* Адаптив */
@media (max-width: 1024px) {
  .hero__bg--import {
    background-image:
      linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.9) 0%,
        rgba(18, 18, 18, 0.74) 55%,
        rgba(18, 18, 18, 0.92) 100%
      ),
      url("../img/zakazat_avto_iz_za_rubezha.webp");
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 28px;
    padding-top: 22px;
  }
}

@media (max-width: 640px) {
  .hero-features {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .hero-feature {
    padding: 12px 14px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: СТРАНЫ ДЛЯ ЗАКАЗА АВТО
   ========================================================================== */
.import-countries {
  padding: 90px 0;
  background-color: var(--color-white, #ffffff);
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.import-countries__header {
  margin-bottom: 40px;
  text-align: left;
}

.import-countries__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary, #e9590b);
  margin-bottom: 12px;
}

.import-countries__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.import-countries__subtitle {
  font-size: var(--fs-body, 0.9375rem);
  color: var(--color-muted, #64748b);
}

/* Сетка: 3 карточки в один ряд */
.import-countries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Карточка страны */
.country-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.country-card:hover {
  transform: translateY(-5px);
  border-color: rgba(233, 89, 11, 0.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

/* Шапка карточки */
.country-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.country-card__flag-box {
  width: 44px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.country-card__flag-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.country-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.country-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.country-card__link {
  color: var(--color-dark, #16181b);
  text-decoration: none;
  transition: color 0.2s ease;
}

.country-card__link:hover {
  color: var(--color-primary, #e9590b);
}

.country-card__term {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}

/* Описание */
.country-card__desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

/* Логотипы брендов под текстом */
.country-card__brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.brand-item {
  width: 44px;
  height: 34px;
  padding: 4px 6px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.brand-item__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(80%) contrast(90%);
  opacity: 0.85;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.brand-item:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.brand-item:hover .brand-item__img {
  filter: grayscale(0%) contrast(100%);
  opacity: 1;
  transform: scale(1.08);
}

/* Подвал карточки */
.country-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.country-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-dark, #16181b);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.country-card__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-primary, #e9590b);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.2s ease;
}

.country-card:hover .country-card__arrow {
  transform: translate(3px, -3px);
  background-color: #d14d06;
}

.country-card:hover .country-card__btn-text {
  color: var(--color-primary, #e9590b);
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1100px) {
  .import-countries__grid {
    gap: 18px;
  }

  .country-card {
    padding: 24px 20px;
  }
}

@media (max-width: 900px) {
  .import-countries {
    padding: 60px 0;
  }

  .import-countries__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ПРЕИМУЩЕСТВА ИМПОРТА (БУЛЛИТЫ)
   ========================================================================== */
.import-adv {
  padding: 90px 0;
  background-color: #16181b;
  color: #ffffff;
}

.import-adv__header {
  margin-bottom: 40px;
  text-align: left;
}

.import-adv__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.15);
  color: #e9590b;
  margin-bottom: 12px;
}

.import-adv__title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.import-adv__subtitle {
  font-size: 0.9375rem;
  color: #94a3b8;
}

/* Сетка: 4 карточки в ряд с одинаковой высотой */
.import-adv__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Карточка */
.import-adv-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.import-adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 89, 11, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.import-adv-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(233, 89, 11, 0.15);
  color: #e9590b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.import-adv-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0 0 18px 0;
}

/* Список буллитов */
.import-adv-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.import-adv-card__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84375rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.import-adv-card__check {
  color: #e9590b;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1100px) {
  .import-adv__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .import-adv {
    padding: 60px 0;
  }

  .import-adv__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .import-adv-card {
    padding: 24px 20px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: КАЛЬКУЛЯТОР ИМПОРТА
   ========================================================================== */
.import-calc {
  padding: 90px 0;
  background-color: var(--color-white, #ffffff);
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.import-calc__card {
  background-color: #eef5fb;
  border: 1px solid #dce8f3;
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Плашка эксперта */
.import-calc__expert {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.import-calc__expert-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-primary, #e9590b);
  flex-shrink: 0;
  background-color: #16181b;
}

.import-calc__expert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.import-calc__expert-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.import-calc__expert-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
}

.import-calc__expert-status {
  font-size: 0.8125rem;
  color: #64748b;
}

/* Заголовок секции */
.import-calc__header {
  margin-bottom: 32px;
}

.import-calc__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
}

.import-calc__subtitle {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Сетка блоков */
.import-calc__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.import-calc__box {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.import-calc__box-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.import-calc__label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: block;
}

.import-calc__box-head .import-calc__label {
  margin-bottom: 0;
}

.import-calc__budget-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
}

/* Кнопки-пилюли */
.import-calc__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-pill {
  cursor: pointer;
  user-select: none;
}

.calc-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 24px;
  background-color: #f1f5f9;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-default, 0.2s ease);
}

.calc-pill input:checked + span {
  background-color: var(--color-primary, #e9590b);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(233, 89, 11, 0.3);
}

/* Бегунок бюджета */
.import-calc__range-wrap {
  width: 100%;
}

.import-calc__range {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.import-calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary, #e9590b);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.import-calc__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary, #e9590b);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.import-calc__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 10px;
}

/* Чекбоксы опций */
.import-calc__options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.calc-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 0.875rem;
  color: #334155;
}

.calc-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-checkbox__box {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-default, 0.2s ease);
  flex-shrink: 0;
}

.calc-checkbox input:checked + .calc-checkbox__box {
  background-color: var(--color-primary, #e9590b);
  border-color: var(--color-primary, #e9590b);
}

.calc-checkbox input:checked + .calc-checkbox__box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.calc-checkbox a {
  color: var(--color-primary, #e9590b);
  text-decoration: underline;
}

/* Поля ввода и кнопка */
.import-calc__contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.import-calc__input {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  border: 1px solid #dce8f3;
  background-color: #ffffff;
  padding: 0 24px;
  font-size: 0.9375rem;
  color: var(--color-dark, #16181b);
  outline: none;
  transition: border-color var(--transition-default, 0.2s ease);
}

.import-calc__input:focus {
  border-color: var(--color-primary, #e9590b);
}

.import-calc__field.has-error .import-calc__input {
  border-color: #ef4444;
}

.import-calc__consent {
  margin-bottom: 24px;
}

.import-calc__consent .calc-checkbox {
  font-size: 0.8125rem;
  color: #64748b;
}

.import-calc__btn {
  height: 54px;
  padding: 0 36px;
  border-radius: 27px;
  font-size: 0.9375rem;
}

/* Адаптив */
@media (max-width: 992px) {
  .import-calc__card {
    padding: 32px 24px;
  }
  .import-calc__grid {
    grid-template-columns: 1fr;
  }
  .import-calc__contacts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .import-calc {
    padding: 60px 0;
  }
  .import-calc__title {
    font-size: 1.5rem;
  }
  .import-calc__options {
    flex-direction: column;
    gap: 12px;
  }
  .import-calc__btn {
    width: 100%;
    justify-content: center;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ИЗ ЧЕГО СКЛАДЫВАЕТСЯ СТОИМОСТЬ АВТО
   ========================================================================== */
.cost-structure {
  padding: 90px 0;
  background-color: var(--color-white, #ffffff);
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.cost-structure__header {
  margin-bottom: 36px;
  text-align: left;
}

.cost-structure__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary, #e9590b);
  margin-bottom: 12px;
}

.cost-structure__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
}

.cost-structure__subtitle {
  font-size: var(--fs-body, 0.9375rem);
  color: var(--color-muted, #64748b);
  line-height: 1.6;
  max-width: 860px;
  margin: 0;
}

/* Обертка для адаптивного скролла таблицы на мобильных экранах */
.cost-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  background-color: #ffffff;
}

/* Стили таблицы */
.cost-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

/* Шапка таблицы */
.cost-table thead {
  background: linear-gradient(90deg, #16181b 0%, #22252a 100%);
}

.cost-table__th {
  padding: 16px 20px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
}

.cost-table__th:nth-child(1) {
  width: 20%;
}
.cost-table__th:nth-child(2) {
  width: 32%;
}
.cost-table__th:nth-child(3) {
  width: 20%;
}
.cost-table__th:nth-child(4) {
  width: 28%;
}

/* Ячейки строк */
.cost-table__td {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  line-height: 1.55;
  vertical-align: middle;
  transition: color 0.2s ease;
}

.cost-table__td--name {
  font-weight: 700;
  color: var(--color-dark, #16181b);
}

.cost-table__td--price {
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

.cost-table__td--note {
  font-size: 0.8125rem;
  color: #64748b;
}

/* Красивый hover-эффект для строк */
.cost-table__row {
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cost-table__row:nth-child(even) {
  background-color: #fafbfc;
}

.cost-table__row:hover {
  background-color: #fff7ed;
  box-shadow: inset 3px 0 0 var(--color-primary, #e9590b);
}

.cost-table__row:hover .cost-table__td--name {
  color: var(--color-primary, #e9590b);
}

.cost-table__row:hover .cost-table__td--price {
  color: var(--color-primary, #e9590b);
}

/* Выделение итоговой строки */
.cost-table__row--total {
  background-color: #f8fafc;
  border-top: 2px solid #e2e8f0;
}

.cost-table__row--total .cost-table__td {
  padding: 18px 20px;
  border-bottom: none;
}

.cost-table__row--total .cost-table__td--name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-dark, #16181b);
}

.cost-table__row--total .cost-table__td--price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary, #e9590b);
  white-space: normal;
}

.cost-table__row--total:hover {
  background-color: #fff2e8;
  box-shadow: inset 4px 0 0 var(--color-primary, #e9590b);
}

/* Подвал под таблицей */
.cost-structure__footer {
  margin-top: 18px;
  padding-left: 4px;
}

.cost-structure__footer-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
  .cost-structure {
    padding: 60px 0;
  }

  .cost-structure__title {
    font-size: 1.625rem;
  }

  .cost-table__th,
  .cost-table__td {
    padding: 14px 16px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ЧАСТЫЕ ВОПРОСЫ (FAQ)
   ========================================================================== */
.faq {
  padding: 90px 0;
  background-color: var(--color-white, #ffffff);
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.faq__header {
  margin-bottom: 40px;
  text-align: left;
}

.faq__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary, #e9590b);
  margin-bottom: 12px;
}

.faq__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
}

.faq__subtitle {
  font-size: var(--fs-body, 0.9375rem);
  color: var(--color-muted, #64748b);
  margin: 0;
}

/* Двухколоночная сетка */
.faq__grid--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}

.faq__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Карточка аккордеона */
.faq-item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* Состояние открытой карточки */
.faq-item.is-open {
  border-color: var(--color-primary, #e9590b);
  box-shadow: 0 8px 24px rgba(233, 89, 11, 0.08);
}

/* Кнопка-заголовок */
.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq-item__question {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-item:hover .faq-item__question {
  color: var(--color-primary, #e9590b);
}

.faq-item.is-open .faq-item__question {
  color: var(--color-primary, #e9590b);
}

/* Круглая кнопка с иконкой плюс / крестик */
.faq-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.2s ease,
    color 0.2s ease;
}

.faq-item.is-open .faq-item__icon {
  background-color: var(--color-primary, #e9590b);
  color: #ffffff;
  transform: rotate(45deg);
}

/* Контейнер для плавной анимации высоты через JS */
.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Внутренний контейнер с отступами для текста ответа */
.faq-item__answer {
  padding: 0 24px 24px 24px;
}

.faq-item__answer p {
  margin: 0;
  font-size: 0.90625rem;
  color: #475569;
  line-height: 1.65;
}

.faq-item__answer strong {
  color: var(--color-dark, #16181b);
}

/* Адаптив */
@media (max-width: 992px) {
  .faq {
    padding: 60px 0;
  }

  .faq__grid--2col {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq__col {
    gap: 14px;
  }

  .faq-item__trigger {
    padding: 18px 20px;
  }

  .faq-item__answer {
    padding: 0 20px 20px 20px;
  }

  .faq-item__question {
    font-size: 0.9375rem;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ПОПУЛЯРНЫЕ МОДЕЛИ ИЗ ГЕРМАНИИ (3x2)
   ========================================================================== */
.popular-germany {
  padding: 90px 0;
  background-color: #f8fafc;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.popular-germany__header {
  margin-bottom: 40px;
  text-align: left;
}

.popular-germany__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary, #e9590b);
  margin-bottom: 12px;
}

.popular-germany__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
}

.popular-germany__subtitle {
  font-size: var(--fs-body, 0.9375rem);
  color: var(--color-muted, #64748b);
  max-width: 820px;
  margin: 0;
}

/* Сетка: ровно 3 карточки в ряд */
.popular-germany__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Карточка */
.popular-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.popular-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 89, 11, 0.4);
  box-shadow:
    0 20px 42px rgba(15, 23, 42, 0.14),
    0 6px 16px rgba(233, 89, 11, 0.06);
}

/* Медиа (фото) */
.popular-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #0f172a;
  overflow: hidden;
  cursor: zoom-in;
  margin: 0;
}

.popular-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.popular-card__media:hover .popular-card__img {
  transform: scale(1.05);
}

.popular-card__country-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  background-color: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #ffffff;
  pointer-events: none;
}

.popular-card__zoom-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.popular-card__media:hover .popular-card__zoom-btn {
  background-color: var(--color-primary, #e9590b);
  transform: scale(1.08);
}

/* Тело карточки */
.popular-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.popular-card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
  line-height: 1.3;
  margin: 0 0 16px 0;
  user-select: text;
  cursor: default;
}

/* Блок цен */
.popular-card__prices {
  background-color: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.popular-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.popular-card__price-label {
  font-size: 0.8125rem;
  color: #64748b;
  white-space: nowrap;
}

.popular-card__price-rf {
  font-size: 0.875rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
  white-space: nowrap;
}

.popular-card__price-row--our {
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
}

.popular-card__price-row--our .popular-card__price-label {
  font-weight: 700;
  color: var(--color-dark, #16181b);
  white-space: nowrap;
}

.popular-card__price-val {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary, #e9590b);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Срок поставки */
.popular-card__term {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #475569;
  margin-bottom: 22px;
}

.popular-card__term svg {
  color: var(--color-primary, #e9590b);
  flex-shrink: 0;
}

/* Кнопка */
.popular-card__btn {
  width: 100%;
  margin-top: auto;
  justify-content: center;
  height: 48px;
  font-size: 0.875rem;
}

/* Адаптив */
@media (max-width: 1150px) {
  .popular-germany__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .popular-germany {
    padding: 60px 0;
  }

  .popular-germany__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .popular-card__body {
    padding: 20px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ПРЕИМУЩЕСТВА TRADE-IN (6 КАРТОЧЕК 3x2)
   ========================================================================== */
.tradein-adv {
  padding: 90px 0;
  background-color: var(--color-white, #ffffff);
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.tradein-adv__header {
  margin-bottom: 44px;
  text-align: left;
}

.tradein-adv__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary, #e9590b);
  margin-bottom: 12px;
}

.tradein-adv__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
}

.tradein-adv__subtitle {
  font-size: var(--fs-body, 0.9375rem);
  color: var(--color-muted, #64748b);
  max-width: 820px;
  line-height: 1.6;
  margin: 0;
}

/* Сетка: 3 колонки x 2 ряда */
.tradein-adv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Карточка преимущества */
.tradein-adv-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  position: relative;
  transition:
    transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.tradein-adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 89, 11, 0.45);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

/* Иконка */
.tradein-adv-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: #fff7ed;
  border: 1px solid #ffedd5;
  color: var(--color-primary, #e9590b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.tradein-adv-card:hover .tradein-adv-card__icon {
  background-color: var(--color-primary, #e9590b);
  border-color: var(--color-primary, #e9590b);
  color: #ffffff;
  transform: scale(1.06);
}

.tradein-adv-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tradein-adv-card__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary, #e9590b);
  margin-bottom: 6px;
}

.tradein-adv-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
  line-height: 1.35;
  margin: 0 0 12px 0;
}

.tradein-adv-card__desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Нижний CTA-блок */
.tradein-adv__cta {
  margin-top: 36px;
  background: linear-gradient(135deg, #16181b 0%, #23272e 100%);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 12px 32px rgba(22, 24, 27, 0.15);
}

.tradein-adv__cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.tradein-adv__cta-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

.tradein-adv__cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Адаптив */
@media (max-width: 1100px) {
  .tradein-adv__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .tradein-adv__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
  }

  .tradein-adv__cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .tradein-adv {
    padding: 60px 0;
  }

  .tradein-adv__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tradein-adv-card {
    padding: 22px 20px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: АВТОКРЕДИТНЫЙ КАЛЬКУЛЯТОР
   ========================================================================== */
.credit-calc {
  padding: 90px 0;
  background-color: var(--color-white, #ffffff);
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.credit-calc__header {
  margin-bottom: 36px;
  text-align: left;
}

.credit-calc__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary, #e9590b);
  margin-bottom: 12px;
}

.credit-calc__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
}

.credit-calc__subtitle {
  font-size: var(--fs-body, 0.9375rem);
  color: var(--color-muted, #64748b);
  max-width: 820px;
  margin: 0;
}

/* Карточка калькулятора */
.credit-calc__wrapper {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}

/* Табы переключения */
.credit-calc__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
}

.credit-calc__tab {
  padding: 11px 24px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.credit-calc__tab:hover {
  border-color: var(--color-primary, #e9590b);
  color: var(--color-primary, #e9590b);
}

.credit-calc__tab.is-active {
  background-color: var(--color-primary, #e9590b);
  border-color: var(--color-primary, #e9590b);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(233, 89, 11, 0.28);
}

/* Основной двухколоночный макет */
.credit-calc__body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

.credit-calc__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.credit-calc__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.credit-calc__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.credit-calc__input-wrap,
.credit-calc__select-wrap {
  width: 100%;
  position: relative;
}

.credit-calc__input,
.credit-calc__select {
  width: 100%;
  height: 52px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  padding: 0 18px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-dark, #16181b);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.credit-calc__input:focus,
.credit-calc__select:focus {
  border-color: var(--color-primary, #e9590b);
  box-shadow: 0 0 0 3px rgba(233, 89, 11, 0.12);
}

.credit-calc__select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}

.credit-calc__hint {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Правая карточка результатов */
.credit-calc__results {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.credit-calc__results-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
  margin: 0 0 20px 0;
}

/* Плашка ежемесячного платежа */
.credit-calc__payment-box {
  background-color: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.credit-calc__payment-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.credit-calc__payment-value {
  font-size: 2.125rem;
  font-weight: 800;
  color: var(--color-primary, #e9590b);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Сводка значений */
.credit-calc__summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.credit-calc__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #475569;
}

.credit-calc__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
}

.credit-calc__dot--credit {
  background-color: #10b981;
}

.credit-calc__dot--overpay {
  background-color: #3b82f6;
}

.credit-calc__summary-label {
  flex-grow: 1;
}

.credit-calc__summary-value {
  font-weight: 700;
  color: var(--color-dark, #16181b);
  font-size: 0.9375rem;
}

.credit-calc__summary-row--total {
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
}

.credit-calc__summary-row--total .credit-calc__summary-value {
  font-size: 1.125rem;
  color: var(--color-primary, #e9590b);
}

/* Прогресс-бар */
.credit-calc__progress {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #e2e8f0;
  display: flex;
  margin-bottom: 26px;
}

.credit-calc__progress-bar--loan {
  background-color: #10b981;
  transition: width 0.3s ease;
}

.credit-calc__progress-bar--overpay {
  background-color: #3b82f6;
  transition: width 0.3s ease;
}

/* Блок призыва к действию */
.credit-calc__cta {
  padding-top: 10px;
}

.credit-calc__cta-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
  margin: 0 0 4px 0;
}

.credit-calc__cta-text {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0 0 18px 0;
}

.credit-calc__cta-btn {
  width: 100%;
  height: 50px;
  justify-content: center;
}

/* Адаптив */
@media (max-width: 992px) {
  .credit-calc__wrapper {
    padding: 24px;
  }
  .credit-calc__body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .credit-calc {
    padding: 60px 0;
  }
  .credit-calc__tabs {
    flex-direction: column;
  }
  .credit-calc__tab {
    width: 100%;
    text-align: center;
  }
  .credit-calc__payment-value {
    font-size: 1.75rem;
  }
}
/* ==========================================================================
   СЕКЦИЯ: СЧАСТЛИВЫЕ ОБЛАДАТЕЛИ АВТО (ГАЛЕРЕЯ 3x3)
   ========================================================================== */
.happy-owners {
  padding: 90px 0;
  background-color: var(--color-white, #ffffff);
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.happy-owners__header {
  margin-bottom: 36px;
  text-align: left;
}

.happy-owners__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Сетка: 9 фото по 3 в ряд */
.happy-owners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Карточка галереи */
.happy-owners__item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background-color: #16181b;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  cursor: zoom-in;
  margin: 0;
  transition:
    transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.happy-owners__item:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 89, 11, 0.45);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

/* Изображение */
.happy-owners__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.happy-owners__item:hover .happy-owners__img {
  transform: scale(1.06);
}

/* Оверлей при наведении */
.happy-owners__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.happy-owners__item:hover .happy-owners__overlay {
  opacity: 1;
}

/* Иконка зума */
.happy-owners__zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary, #e9590b);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(233, 89, 11, 0.4);
  transform: scale(0.75);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.happy-owners__item:hover .happy-owners__zoom-icon {
  transform: scale(1);
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1024px) {
  .happy-owners {
    padding: 60px 0;
  }

  .happy-owners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .happy-owners__title {
    font-size: 1.5rem;
  }

  .happy-owners__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .happy-owners__item {
    border-radius: 10px;
  }
}
/* ==========================================================================
   HERO СЕКЦИЯ: АВТОСТРАХОВАНИЕ
   ========================================================================== */
.hero__bg--insurance {
  background-image:
    linear-gradient(
      90deg,
      rgba(18, 18, 18, 0.94) 0%,
      rgba(18, 18, 18, 0.8) 50%,
      rgba(18, 18, 18, 0.35) 100%
    ),
    url("../img/insurance_bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__content--insurance {
  max-width: 820px;
}

/* Мобильная версия и планшеты */
@media (max-width: 1024px) {
  .hero__bg--insurance {
    background-image:
      linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.9) 0%,
        rgba(18, 18, 18, 0.75) 55%,
        rgba(18, 18, 18, 0.94) 100%
      ),
      url("../img/insurance_bg.webp");
    background-position: center top;
  }
}
/* ==========================================================================
   СЕКЦИЯ: УСЛОВИЯ И ВЫГОДЫ АВТОСТРАХОВАНИЯ
   ========================================================================== */
.insurance-terms {
  padding: 90px 0;
  background-color: var(--color-white, #ffffff);
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.insurance-terms__header {
  margin-bottom: 40px;
  text-align: left;
}

.insurance-terms__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary, #e9590b);
  margin-bottom: 12px;
}

.insurance-terms__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
}

.insurance-terms__subtitle {
  font-size: var(--fs-body, 0.9375rem);
  color: var(--color-muted, #64748b);
  max-width: 820px;
  margin: 0;
}

/* Сетка из 2 карточек */
.insurance-terms__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

/* Карточка */
.insurance-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.insurance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 89, 11, 0.4);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.insurance-card--benefits {
  background-color: #fafbfc;
}

/* Шапка карточки */
.insurance-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.insurance-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: #f1f5f9;
  color: var(--color-dark, #16181b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insurance-card__icon--accent {
  background-color: #fff7ed;
  color: var(--color-primary, #e9590b);
}

.insurance-card__tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary, #e9590b);
  margin-bottom: 4px;
}

.insurance-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
  margin: 0;
}

.insurance-card__lead {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 24px 0;
}

/* Список документов (левая карточка) */
.insurance-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.insurance-card__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.insurance-card__item:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
}

.insurance-card__item-num {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-primary, #e9590b);
  background-color: #fff7ed;
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1;
  flex-shrink: 0;
}

.insurance-card__item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.insurance-card__item-text strong {
  font-size: 0.9375rem;
  color: var(--color-dark, #16181b);
}

.insurance-card__item-text span {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

.insurance-card__footer-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #10b981;
}

.insurance-card__footer-note svg {
  flex-shrink: 0;
}

/* Список преимуществ (правая карточка) */
.insurance-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.insurance-benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.insurance-benefits__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #fff7ed;
  color: var(--color-primary, #e9590b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.insurance-benefits__item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
  margin-bottom: 2px;
}

.insurance-benefits__item p {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.insurance-card__cta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.insurance-card__btn {
  width: 100%;
  justify-content: center;
  height: 50px;
  font-size: 0.875rem;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 992px) {
  .insurance-terms {
    padding: 60px 0;
  }

  .insurance-terms__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .insurance-card {
    padding: 28px 22px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: СТРАХОВЫЕ КОМПАНИИ ПАРТНЕРЫ (БЕСКОНЕЧНЫЙ МАРКИЗ)
   ========================================================================== */
.insurance-partners {
  padding: 80px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e5e7eb;
  overflow: hidden;
}

.insurance-partners__header {
  margin-bottom: 36px;
  text-align: left;
}

.insurance-partners__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: #e9590b;
  margin-bottom: 12px;
}

.insurance-partners__title {
  font-size: 2rem;
  font-weight: 700;
  color: #16181b;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
}

.insurance-partners__subtitle {
  font-size: 0.9375rem;
  color: #64748b;
  max-width: 820px;
  margin: 0;
}

/* Обертка лент с мягким градиентным затемнением по краям */
.insurance-partners__marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  width: 100%;
}

.insurance-partners__marquee-wrapper::before,
.insurance-partners__marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.insurance-partners__marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.insurance-partners__marquee-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.partners-marquee {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.partners-marquee__track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  flex-shrink: 0;
}

.partners-marquee:hover .partners-marquee__track {
  animation-play-state: paused;
}

.partners-marquee--left .partners-marquee__track {
  animation: marqueeToLeft 26s linear infinite;
}

.partners-marquee--right .partners-marquee__track {
  animation: marqueeToRight 26s linear infinite;
}

/* Карточка логотипа */
.partner-card {
  width: 220px;
  height: 95px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  flex-shrink: 0;
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 89, 11, 0.4);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.partner-card__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  opacity: 0.92;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease;
}

.partner-card:hover .partner-card__img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Ключевые кадры бесконечного скролла */
@keyframes marqueeToLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Адаптивность */
@media (max-width: 992px) {
  .insurance-partners {
    padding: 60px 0;
  }
  .insurance-partners__title {
    font-size: 1.625rem;
  }
  .partner-card {
    width: 180px;
    height: 80px;
    padding: 10px 16px;
  }
  .insurance-partners__marquee-wrapper::before,
  .insurance-partners__marquee-wrapper::after {
    width: 60px;
  }
}

@media (max-width: 640px) {
  .partner-card {
    width: 150px;
    height: 70px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ПРЕИМУЩЕСТВА КОМИССИОННОЙ ПРОДАЖИ (6 КАРТОЧЕК 3x2)
   ========================================================================== */
.commission-adv {
  padding: 90px 0;
  background-color: var(--color-white, #ffffff);
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.commission-adv__header {
  margin-bottom: 44px;
  text-align: left;
}

.commission-adv__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary, #e9590b);
  margin-bottom: 12px;
}

.commission-adv__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
}

.commission-adv__subtitle {
  font-size: var(--fs-body, 0.9375rem);
  color: var(--color-muted, #64748b);
  max-width: 820px;
  line-height: 1.6;
  margin: 0;
}

/* Сетка: 3 колонки на 2 ряда */
.commission-adv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Карточка преимущества */
.commission-adv-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  position: relative;
  transition:
    transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.commission-adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 89, 11, 0.45);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

/* Иконка */
.commission-adv-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: #fff7ed;
  border: 1px solid #ffedd5;
  color: var(--color-primary, #e9590b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.commission-adv-card:hover .commission-adv-card__icon {
  background-color: var(--color-primary, #e9590b);
  border-color: var(--color-primary, #e9590b);
  color: #ffffff;
  transform: scale(1.06);
}

.commission-adv-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Тег категории */
.commission-adv-card__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary, #e9590b);
  margin-bottom: 6px;
}

.commission-adv-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
  line-height: 1.35;
  margin: 0 0 12px 0;
}

.commission-adv-card__desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Нижний CTA-баннер */
.commission-adv__cta {
  margin-top: 36px;
  background: linear-gradient(135deg, #16181b 0%, #23272e 100%);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 12px 32px rgba(22, 24, 27, 0.15);
}

.commission-adv__cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.commission-adv__cta-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

.commission-adv__cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1100px) {
  .commission-adv__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .commission-adv__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
  }

  .commission-adv__cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .commission-adv {
    padding: 60px 0;
  }

  .commission-adv__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .commission-adv-card {
    padding: 22px 20px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: БАННЕР ПАРКИНГА
   ========================================================================== */
.parking-banner {
  padding: 40px 0 90px;
  background-color: var(--color-white, #ffffff);
}

.parking-banner__card {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  background-color: #16181b;
}

.parking-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Затемняющий градиентный оверлей с акцентом в левом нижнем углу */
.parking-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.15) 0%,
    rgba(15, 23, 42, 0.45) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 44px 48px;
  pointer-events: none;
}

.parking-banner__text {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  max-width: 680px;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* Адаптивность */
@media (max-width: 992px) {
  .parking-banner {
    padding: 30px 0 60px;
  }

  .parking-banner__card {
    height: 380px;
    border-radius: 16px;
  }

  .parking-banner__overlay {
    padding: 32px 28px;
  }

  .parking-banner__text {
    font-size: 1.375rem;
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .parking-banner__card {
    height: 280px;
    border-radius: 12px;
  }

  .parking-banner__overlay {
    padding: 22px 20px;
  }

  .parking-banner__text {
    font-size: 1.0625rem;
    line-height: 1.4;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ЧТО НЕОБХОДИМО ДЛЯ КОМИССИОННОЙ ПРОДАЖИ (3x2)
   ========================================================================== */
.commission-docs {
  padding: 90px 0;
  background-color: #f8fafc;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.commission-docs__header {
  margin-bottom: 44px;
  text-align: left;
}

.commission-docs__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.1);
  color: var(--color-primary, #e9590b);
  margin-bottom: 12px;
}

.commission-docs__title {
  font-size: var(--fs-h2, 2rem);
  font-weight: 700;
  color: var(--color-dark, #16181b);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
}

.commission-docs__subtitle {
  font-size: var(--fs-body, 0.9375rem);
  color: var(--color-muted, #64748b);
  max-width: 820px;
  line-height: 1.6;
  margin: 0;
}

/* Сетка: 3 колонки x 2 ряда */
.commission-docs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Карточка документа */
.commission-doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.commission-doc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 89, 11, 0.45);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

/* Порядковый номер в правом верхнем углу */
.commission-doc-card__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #cbd5e1;
  font-variant-numeric: tabular-nums;
  transition: color 0.25s ease;
}

.commission-doc-card:hover .commission-doc-card__num {
  color: var(--color-primary, #e9590b);
}

/* Иконка */
.commission-doc-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: #fff7ed;
  border: 1px solid #ffedd5;
  color: var(--color-primary, #e9590b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.commission-doc-card:hover .commission-doc-card__icon {
  background-color: var(--color-primary, #e9590b);
  border-color: var(--color-primary, #e9590b);
  color: #ffffff;
  transform: scale(1.06);
}

.commission-doc-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark, #16181b);
  line-height: 1.35;
  margin: 0 0 10px 0;
  padding-right: 24px; /* Отступ от номера */
}

.commission-doc-card__desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1024px) {
  .commission-docs__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .commission-docs {
    padding: 60px 0;
  }

  .commission-docs__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .commission-doc-card {
    padding: 24px 20px;
  }

  .commission-doc-card__num {
    top: 20px;
    right: 20px;
  }
}
/* Стрелки и счетчик для модальной галереи */
.gallery-modal__counter {
  position: absolute;
  top: -38px;
  left: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.gallery-modal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition:
    background-color var(--transition-default),
    transform var(--transition-default);
}

.gallery-modal__arrow:hover {
  background-color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
}

.gallery-modal__arrow--prev {
  left: -70px;
}

.gallery-modal__arrow--next {
  right: -70px;
}

@media (max-width: 1024px) {
  .gallery-modal__arrow--prev {
    left: 10px;
  }
  .gallery-modal__arrow--next {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .gallery-modal__arrow {
    width: 38px;
    height: 38px;
  }
}
/* ==========================================================================
   СЕКЦИИ АВТОКРЕДИТОВАНИЯ (CREDIT PAGE)
   ========================================================================== */

/* Hero: буллиты 2 в 2 ряда */
.hero-features--2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
  max-width: 680px;
}

.hero-feature--pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-feature--pill .hero-feature__icon {
  color: var(--color-primary);
  display: flex;
  flex-shrink: 0;
}

.hero-feature--pill .hero-feature__text {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Секция: Преимущества (3 карточки) */
.credit-adv {
  padding: 90px 0;
  background: #fafafa;
}

.credit-adv__header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px;
}

.credit-adv__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(233, 89, 11, 0.1);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.credit-adv__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.credit-adv__subtitle {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.credit-adv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.credit-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 36px 30px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.credit-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.credit-card__icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(233, 89, 11, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 700;
  flex-shrink: 0;
}

.credit-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}

.credit-card__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.credit-card__item {
  position: relative;
  padding-left: 20px;
}

.credit-card__dot {
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.credit-card__item-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.credit-card__item-desc {
  margin: 0;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Карточка преимущества кредитования */
.credit-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 36px 30px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: relative;
  transition:
    transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.35s ease;
  will-change: transform, box-shadow;
}

/* Ховер состояние карточки */
.credit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(233, 89, 11, 0.35);
  box-shadow:
    0 16px 36px rgba(18, 18, 18, 0.08),
    0 4px 12px rgba(233, 89, 11, 0.06);
}

.credit-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

/* Иконка с плавной анимацией при ховере */
.credit-card__icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(233, 89, 11, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 700;
  flex-shrink: 0;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.credit-card:hover .credit-card__icon-box {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.08);
}

.credit-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  transition: color 0.3s ease;
}

.credit-card:hover .credit-card__title {
  color: var(--color-primary);
}

.credit-card__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.credit-card__item {
  position: relative;
  padding-left: 22px;
}

/* Точки-маркеры с импульсом при наведении на карточку */
.credit-card__dot {
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.credit-card:hover .credit-card__dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 3px rgba(233, 89, 11, 0.2);
}

.credit-card__item-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.credit-card__item-desc {
  margin: 0;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Секция: Условия и требования (Табы) */
.credit-terms {
  padding: 90px 0;
  background: var(--color-white);
}

.credit-terms__header {
  margin-bottom: 36px;
}

.credit-terms__title {
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 10px;
}

.credit-terms__tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.credit-term-btn {
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  background: var(--color-white);
  color: #444;
  transition: all var(--transition-default);
}

.credit-term-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.credit-term-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.credit-terms__panel-card {
  border: 1px solid #e5e9ec;
  border-radius: 16px;
  padding: 36px 32px;
  background: var(--color-white);
  margin-bottom: 20px;
}

.credit-term-panel {
  display: none;
}

.credit-term-panel.is-active {
  display: block;
}

.credit-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.credit-checklist__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #222;
}

.credit-checklist__check {
  color: var(--color-primary);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(233, 89, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credit-terms__note {
  background: #fff8f4;
  border-left: 4px solid var(--color-primary);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.9375rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.credit-terms__note-icon {
  color: var(--color-primary);
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.credit-table {
  width: 100%;
  border-collapse: collapse;
}

.credit-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.credit-table tr:last-child {
  border-bottom: none;
}

.credit-table td {
  padding: 16px 0;
  color: #444;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.credit-table td:first-child {
  font-weight: 700;
  width: 36%;
  color: var(--color-dark);
}

.credit-psk-disclaimer {
  border: 1px dashed #ced4da;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
}

.credit-psk-disclaimer__icon {
  color: var(--color-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.credit-psk-disclaimer__text {
  margin: 0;
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.5;
}

/* Адаптив для планшетов и мобильных */
@media (max-width: 1024px) {
  .credit-adv__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-features--2x2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .credit-terms__title {
    font-size: 1.625rem;
  }

  .credit-table td {
    display: block;
    width: 100% !important;
    padding: 6px 0;
  }

  .credit-table tr {
    padding: 12px 0;
    display: block;
  }

  .credit-terms__panel-card {
    padding: 24px 18px;
  }
}
.credit-term-btn {
  font-family: inherit;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  background: var(--color-white);
  color: #444;
  transition: all var(--transition-default);
}
/* ==========================================================================
   ДЕТАЛЬНАЯ СТРАНИЦА АВТО (SINGLE CAR HERO)
   ========================================================================== */

.car-single {
  padding: 40px 0 70px;
  background: var(--color-white);
}

.car-single .breadcrumbs {
  margin-bottom: 24px;
}

/* Двухколоночная сетка */
.car-single__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

/* Левая колонка: Галерея */
.car-single__gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.car-single__main-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f4f4;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.car-single__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.car-single__main-wrap:hover .car-single__main-img {
  transform: scale(1.03);
}

.car-single__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.car-single__zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  z-index: 2;
  transition: background-color 0.2s ease;
}

.car-single__main-wrap:hover .car-single__zoom-btn {
  background: var(--color-primary);
}

/* Миниатюры */
.car-single__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.car-single__thumb {
  width: 90px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #f4f4f4;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
  opacity: 0.65;
}

.car-single__thumb:hover,
.car-single__thumb.is-active {
  border-color: var(--color-primary);
  opacity: 1;
}

.car-single__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Правая колонка: Информация */
.car-single__info {
  display: flex;
  flex-direction: column;
}

.car-single__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 18px;
  line-height: 1.25;
}

.car-single__price-box {
  background: #fafafa;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.car-single__price-label {
  display: block;
  font-size: 0.8125rem;
  color: #777;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.car-single__price {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.car-single__specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid #eee;
  padding-top: 18px;
}

.car-single__spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  border-bottom: 1px dashed #f0f0f0;
  padding-bottom: 8px;
}

.car-single__spec-name {
  color: #666;
}

.car-single__spec-val {
  font-weight: 600;
  color: var(--color-dark);
}

.car-single__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.car-single__btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
}

.car-single__btn-credit {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

/* Адаптив под планшеты и смартфоны */
@media (max-width: 992px) {
  .car-single__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .car-single__title {
    font-size: 1.5rem;
  }

  .car-single__price {
    font-size: 1.5rem;
  }
}
/* ==========================================================================
   КАТАЛОГ: КОМПАКТНЫЙ САЙДБАР И ЛИСТИНГ ПО 2 КАРТОЧКИ В РЯД
   ========================================================================== */

.catalog-page-header {
  padding: 24px 0 10px;
  background: var(--color-white, #fff);
}

.catalog-page-header__title {
  font-size: 2rem;
  font-weight: 700;
  margin: 10px 0 0;
  color: var(--color-dark, #111);
}

.catalog-view {
  padding: 24px 0 80px;
  background: #fbfbfb;
}

/* Двухколоночный макет */
.catalog-view__layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 32px;
  align-items: start;
}

/* Сайдбар: Липкая фиксация при скролле */
.catalog-sidebar {
  position: sticky;
  top: 85px;
  z-index: 10;
}

.catalog-sidebar__card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  max-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
}

.catalog-sidebar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.catalog-sidebar__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark, #111);
}

.catalog-sidebar__badge {
  font-size: 0.6875rem;
  font-weight: 600;
  background: #f5f5f5;
  color: #666;
  padding: 3px 8px;
  border-radius: 12px;
}

/* Список табов: компактные отступы и тонкая полоса прокрутки */
.catalog-filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.catalog-filter-list::-webkit-scrollbar {
  width: 4px;
}

.catalog-filter-list::-webkit-scrollbar-track {
  background: transparent;
}

.catalog-filter-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.catalog-filter-list::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Компактные кнопки фильтра */
.catalog-filter-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 7px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.84375rem;
  line-height: 1.25;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.catalog-filter-btn:hover {
  background: #f3f4f6;
  color: var(--color-primary, #ff5722);
}

.catalog-filter-btn.is-active {
  background: var(--color-primary, #ff5722);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(255, 87, 34, 0.22);
}

.catalog-filter-btn__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 6px;
}

/* Счетчик внутри кнопки */
.catalog-filter-btn__count {
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #6b7280;
  padding: 2px 7px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.catalog-filter-btn:hover .catalog-filter-btn__count {
  background: #ffffff;
  color: var(--color-primary, #ff5722);
}

.catalog-filter-btn.is-active .catalog-filter-btn__count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Сетка каталога: ровно 2 карточки в ряд */
.catalog-main {
  display: flex;
  flex-direction: column;
}

.catalog-main__header {
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: #6b7280;
}

.catalog-main__header strong {
  color: var(--color-dark, #111);
}

.catalog-main__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.catalog-empty-notice {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: #888;
  font-size: 1rem;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

/* Адаптивность под планшеты и мобильные */
@media (max-width: 992px) {
  .catalog-view__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .catalog-sidebar {
    position: static;
  }

  .catalog-sidebar__card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    max-height: none;
  }

  .catalog-sidebar__header {
    display: none;
  }

  .catalog-filter-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-filter-btn {
    width: auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 7px 12px;
  }

  .catalog-filter-btn.is-active {
    border-color: var(--color-primary, #ff5722);
  }
}

@media (max-width: 640px) {
  .catalog-main__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
/* ==========================================================================
   ПОДМЕНЮ 2-ГО И 3-ГО УРОВНЕЙ (ДЕСКТОП И МОБИЛЬНЫЕ)
   ========================================================================== */

/* 2-й уровень: выпадает вниз */
.nav__item {
  position: relative;
}

.dropdown-menu--level-2 {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
  list-style: none;
  margin: 0;
}

.dropdown-parent:hover > .dropdown-menu--level-2 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Элемент 2-го уровня с подменю */
.dropdown-subparent {
  position: relative;
}

.dropdown-subparent > .dropdown-menu__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
}

/* Иконка стрелки для 3-го уровня (смотрит вправо на ПК) */
.nav__link-icon--sub {
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

/* 3-й уровень: вылетает ВПРАВО от пункта 2-го уровня */
.dropdown-menu--level-3 {
  position: absolute;
  top: -8px;
  left: 100%;
  min-width: 220px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #eee;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
  z-index: 101;
  list-style: none;
  margin: 0;
}

.dropdown-subparent:hover > .dropdown-menu--level-3 {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dropdown-menu__link {
  display: block;
  padding: 9px 18px;
  font-size: 0.875rem;
  color: var(--color-dark, #222);
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-menu__link:hover {
  background: #f8f9fa;
  color: var(--color-primary, #ff5722);
  padding-left: 22px;
}

/* МОБИЛЬНАЯ ВЕРСИЯ (АККОРДЕОН ДЛЯ 2-ГО И 3-ГО УРОВНЕЙ) */
@media (max-width: 992px) {
  .mobile-drawer .dropdown-menu--level-2,
  .mobile-drawer .dropdown-menu--level-3 {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .mobile-drawer .dropdown-menu.is-open {
    display: block;
  }

  .mobile-drawer .nav__link-icon--sub {
    transform: rotate(0deg);
  }

  .mobile-drawer .dropdown-menu__link {
    font-size: 0.9375rem;
    padding: 8px 12px;
  }
}
.dropdown-menu .menu-item-has-children,
.dropdown-subparent {
  position: relative;
}

.dropdown-menu .menu-item-has-children > a,
.dropdown-subparent > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-menu .menu-item-has-children > a .nav__link-icon,
.dropdown-subparent > a .nav__link-icon,
.nav__link-icon--sub {
  margin-left: auto;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.dropdown-menu--level-3,
.dropdown-menu ul,
.dropdown-subparent > ul,
.dropdown-menu .menu-item-has-children > ul {
  position: absolute;
  top: -8px;
  left: 100%;
  min-width: 230px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #eeeeee;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  z-index: 105;
}

.dropdown-menu .menu-item-has-children:hover > ul,
.dropdown-subparent:hover > .dropdown-menu--level-3,
.dropdown-subparent:hover > ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.header__nav .dropdown-menu ul,
.header__nav .sub-menu ul,
.header__nav .dropdown-menu .sub-menu,
.header__nav .dropdown-menu .dropdown-menu {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.header__nav .dropdown-menu li:hover > ul,
.header__nav .sub-menu li:hover > ul,
.header__nav .dropdown-menu li:hover > .sub-menu,
.header__nav .dropdown-menu li:hover > .dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
/* ==========================================================================
   ИСПРАВЛЕНИЕ ОТОБРАЖЕНИЯ СЛАЙДЕРА И ЛАЙТБОКСА
   ========================================================================== */

.car-slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  width: 100%;
}

.car-slider__track {
  width: 100%;
  height: 100%;
  position: relative;
  transform: none !important;
}

.car-slider__slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.car-slider__slide.is-active {
  display: block;
  position: relative;
}

.car-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.car-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  cursor: pointer;
}

.car-slider__arrow--prev {
  left: 14px;
}

.car-slider__arrow--next {
  right: 14px;
}

.car-slider__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 14px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.car-slider__thumb {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
  opacity: 0.7;
}

.car-slider__thumb:hover,
.car-slider__thumb.is-active {
  opacity: 1;
  border-color: var(--color-primary, #ff5722);
}

.car-slider__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Модальный просмотр фото (Lightbox) */
.car-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.car-lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.car-lightbox__container {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}
/* Полное отключение прокрутки у миниатюр слайдера */
.car-slider__thumbs,
#sliderThumbs {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
}

.car-slider__thumbs::-webkit-scrollbar,
#sliderThumbs::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.breadcrumbs,
.breadcrumb,
.car-breadcrumbs,
.site-breadcrumbs,
.breadcrumbs a,
.breadcrumb a,
.breadcrumbs span,
.breadcrumb span,
.breadcrumbs li,
.breadcrumb li {
  color: #c3bbbb !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

.breadcrumbs a:hover,
.breadcrumb a:hover {
  color: #ff5b00 !important;
}

.breadcrumbs span.current,
.breadcrumb span.current,
.breadcrumbs .current,
.breadcrumb .current,
.breadcrumbs li:last-child {
  color: #111111 !important;
  font-weight: 500 !important;
}

.breadcrumbs,
.breadcrumb,
.car-breadcrumbs {
  margin-bottom: 12px !important;
  padding: 0 !important;
}
/* Blog Grid & Cards */
.blog-section {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__date {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.blog-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 20px;
  flex-grow: 1;
}

.blog-card__footer {
  margin-top: auto;
  justify-content: flex-start;
}

/* Blog Pagination (Centered) */
.blog-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.blog-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.blog-pagination .page-numbers .current,
.blog-pagination .page-numbers a:hover {
  background-color: #111;
  color: #fff;
  border-color: #111;
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-section {
    padding: 50px 0;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   Single Blog Post (Шаблон записи блога)
   ========================================================================== */

/* Кинематографичный Hero записи с эффектом Ken Burns */
.single-hero {
  position: relative;
  overflow: hidden;
  background-color: #0b0d12;
  isolation: isolate;
}

/* Слой с картинкой: плавный зум и проявление на GPU */
.single-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.08);
  filter: contrast(1.04) saturate(1.06);
  will-change: transform;
  animation: heroCinemaZoom 14s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Двойной художественный оверлей: затемнение под текст слева + мягкое свечение снизу */
.single-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 25%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 45%
    ),
    linear-gradient(
      90deg,
      rgba(10, 12, 16, 0.55) 100%,
      rgba(10, 12, 16, 0.32) 55%,
      rgba(10, 12, 16, 0.12) 100%
    );
  z-index: 1;
}

/* Тонкая световая линия на стыке Hero и белого полотна статьи */
.single-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  z-index: 2;
}

.single-hero__container {
  position: relative;
  z-index: 3;
}

/* Плавное появление контента поверх картинки */
.single-hero__content {
  animation: heroContentFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroCinemaZoom {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes heroContentFadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Отключение анимации, если у пользователя включена экономия движения */
@media (prefers-reduced-motion: reduce) {
  .single-hero__bg,
  .single-hero__content {
    animation: none;
    transform: none;
  }
}

/* Контентная секция: черный текст на белом фоне */
.single-article {
  background-color: #ffffff;
  color: #111111;
  padding: 72px 0 90px;
}

/* Центрированный блок шириной 960px */
.single-article__wrapper {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* Table of Contents (Оглавление первым блоком) */
.article-toc {
  background-color: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 44px;
}

.article-toc__title {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 16px;
}

.article-toc__list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-toc__item {
  font-size: 15px;
  line-height: 1.45;
  color: #111111;
}

.article-toc__item--h3 {
  margin-left: 18px;
  font-size: 14px;
}

.article-toc__link {
  color: #222222;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.article-toc__link:hover {
  color: #e31e24;
  border-bottom-color: #e31e24;
}

/* Типографика контента статьи */
.single-article__content {
  font-size: 17px;
  line-height: 1.75;
  color: #111111;
}

.single-article__content h2,
.single-article__content h3,
.single-article__content h4 {
  color: #111111;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 40px;
  margin-bottom: 18px;
  scroll-margin-top: 100px;
}

.single-article__content h2 {
  font-size: 26px;
}

.single-article__content h3 {
  font-size: 21px;
}

.single-article__content p {
  margin-top: 0;
  margin-bottom: 20px;
  color: #111111;
}

.single-article__content ul,
.single-article__content ol {
  margin: 0 0 24px;
  padding-left: 24px;
  color: #111111;
}

.single-article__content li {
  margin-bottom: 8px;
}

.single-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

.single-article__content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid #111111;
  background-color: #f7f8fa;
  border-radius: 0 10px 10px 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .single-article {
    padding: 48px 0 64px;
  }

  .article-toc {
    padding: 20px 22px;
    margin-bottom: 32px;
  }

  .single-article__content {
    font-size: 16px;
  }

  .single-article__content h2 {
    font-size: 22px;
  }

  .single-article__content h3 {
    font-size: 18px;
  }
}
/* Маркированные списки в тексте статьи */
.single-article__content ul {
  list-style: none;
  margin: 0 0 28px;
  padding-left: 0;
}

.single-article__content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  line-height: 1.65;
  color: #111111;
}

.single-article__content ul li:last-child {
  margin-bottom: 0;
}

/* Акцентный маркер первого уровня */
.single-article__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent, #e31e24);
}

/* Вложенные маркированные списки (второй уровень) */
.single-article__content ul ul {
  margin-top: 10px;
  margin-bottom: 0;
}

.single-article__content ul ul li::before {
  width: 6px;
  height: 6px;
  top: 11px;
  background-color: transparent;
  border: 1.5px solid #111111;
}

.single-hero__subtitle {
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 28px;
}
/* ==========================================================================
   404 Page (Светлая страница 404 с фото автомобиля)
   ========================================================================== */

.error-404 {
  position: relative;
  background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
  color: #111111;
  padding: 80px 0 100px;
  overflow: hidden;
}

.error-404__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.error-404__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.error-404__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent, #f25c05);
  box-shadow: 0 0 0 4px rgba(242, 92, 5, 0.16);
}

.error-404__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  color: #111111;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.error-404__title span {
  color: var(--color-accent, #f25c05);
}

.error-404__text {
  font-size: 17px;
  line-height: 1.65;
  color: #555555;
  max-width: 540px;
  margin: 0 0 36px;
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.error-404__btn--outline {
  background-color: #ffffff;
  color: #111111 !important;
  border: 1.5px solid #111111;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.error-404__btn--outline:hover {
  background-color: #111111;
  color: #ffffff !important;
}

.error-404__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.error-404__links-label {
  font-size: 14px;
  color: #777777;
}

.error-404__links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.error-404__links-list a {
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  padding: 6px 14px;
  background-color: #f1f3f6;
  border-radius: 6px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.error-404__links-list a:hover {
  background-color: var(--color-accent, #f25c05);
  color: #ffffff;
}

/* Правая визуальная часть с 404 и автомобилем */
.error-404__visual {
  position: relative;
  padding-top: 40px;
}

.error-404__code {
  position: absolute;
  top: -32px;
  right: 0;
  font-size: clamp(110px, 14vw, 190px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(17, 17, 17, 0.1);
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.09) 0%,
    rgba(17, 17, 17, 0.01) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.error-404__car-card {
  position: relative;
  z-index: 1;
}

.error-404__car-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-color: #ffffff;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(15, 20, 30, 0.1);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.error-404__car-img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.error-404__car-frame:hover .error-404__car-img {
  transform: scale(1.03);
}

/* Плавающий бейдж поверх фото автомобиля */
.error-404__float-card {
  position: absolute;
  left: 24px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: #ffffff;
  padding: 16px 22px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 20, 30, 0.12);
  border: 1px solid rgba(17, 17, 17, 0.06);
  max-width: calc(100% - 48px);
}

.error-404__float-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(242, 92, 5, 0.1);
  color: var(--color-accent, #f25c05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.error-404__float-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.error-404__float-info strong {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
}

.error-404__float-info span {
  font-size: 13px;
  color: #666666;
}

/* Адаптив */
@media (max-width: 991px) {
  .error-404 {
    padding: 56px 0 80px;
  }

  .error-404__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .error-404__visual {
    max-width: 640px;
  }
}

@media (max-width: 576px) {
  .error-404 {
    padding: 40px 0 64px;
  }

  .error-404__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-404__btn {
    justify-content: center;
    text-align: center;
  }

  .error-404__car-img {
    height: 250px;
  }

  .error-404__float-card {
    position: static;
    margin-top: 14px;
    max-width: 100%;
  }
}
/* ==========================================================================
   Thank You Page (Страница благодарности)
   ========================================================================== */

.thanks-section {
  background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
  padding: 80px 0 100px;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.thanks-card {
  max-width: 640px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 20, 30, 0.07);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.thanks-card__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background-color: rgba(242, 92, 5, 0.1);
  color: var(--color-accent, #f25c05);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(242, 92, 5, 0.04);
}

.thanks-card__badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: #f3f4f6;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #444444;
  margin-bottom: 18px;
}

.thanks-card__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #111111;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.thanks-card__title span {
  color: var(--color-accent, #f25c05);
}

.thanks-card__text {
  font-size: 16px;
  line-height: 1.65;
  color: #555555;
  max-width: 480px;
  margin: 0 auto 36px;
}

.thanks-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.thanks-card__btn--outline {
  background-color: #ffffff;
  color: #111111 !important;
  border: 1.5px solid #111111;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.thanks-card__btn--outline:hover {
  background-color: #111111;
  color: #ffffff !important;
}

.thanks-card__footer {
  padding-top: 24px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #777777;
}

.thanks-card__phone {
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.thanks-card__phone:hover {
  color: var(--color-accent, #f25c05);
}

@media (max-width: 576px) {
  .thanks-section {
    padding: 40px 0 64px;
  }

  .thanks-card {
    padding: 36px 22px;
    border-radius: 18px;
  }

  .thanks-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .thanks-card__btn {
    justify-content: center;
  }
}
/* ==========================================================================
   ФИКС ГОРИЗОНТАЛЬНОГО ПЕРЕПОЛНЕНИЯ КАТАЛОГА НА МОБИЛЬНЫХ (320px - 992px)
   ========================================================================== */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

.catalog-view,
.catalog-view__layout,
.catalog-sidebar,
.catalog-sidebar__card,
.catalog-main,
.catalog-main__grid,
.car-card {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 992px) {
  .catalog-view__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-filter-list {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  .catalog-main__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .car-card__footer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .car-card__price {
    font-size: 1.0625rem;
  }
}
.catalog-pagination, .catalog__pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 100%; padding: 0 4px; }

@media (max-width: 640px) { .catalog-pagination, .catalog__pagination { gap: 6px; margin-top: 28px; }

.catalog-pagination .pagination-btn, .catalog__pagination .pagination-btn { min-width: 36px; height: 36px; padding: 0 10px; font-size: 0.75rem; } }
/* ==========================================================================
   ПЛАШКА СОГЛАСИЯ С COOKIE В СТИЛЕ АВТОХАБ
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: calc(100% - 48px);
  max-width: 440px;
  background-color: rgba(22, 24, 27, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 22px;
  color: var(--color-white, #ffffff);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 1950;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-banner__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(233, 89, 11, 0.16);
  color: var(--color-primary, #e9590b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-banner__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white, #ffffff);
  margin: 0;
  line-height: 1.25;
}

.cookie-banner__text {
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.cookie-banner__link {
  color: var(--color-primary, #e9590b);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-banner__link:hover {
  color: var(--color-primary-hover, #ff6d24);
  text-decoration: none;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-banner__btn {
  width: 100%;
  padding: 11px 18px;
  font-size: 0.75rem;
  justify-content: center;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    padding: 16px 18px;
    gap: 12px;
  }
}