/* ============================================================
   FONTS — TENET Sans
============================================================ */
@font-face {
  font-family: 'TENETSans';
  src: url('../fonts/TENETSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TENETSans';
  src: url('../fonts/TENETSans-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'TENETSans';
  src: url('../fonts/TENETSans-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TENETSans';
  src: url('../fonts/TENETSans-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'TENETSans';
  src: url('../fonts/TENETSans-SemiExpandedBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   RESET
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}
body {
  font-family:
    'TENETSans',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}
p, h1, h2, h3, h4, h5, h6, span, a, label, td, th {
  overflow-wrap: break-word;
  word-break: break-word;
}
.smart-captcha {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  z-index: -1 !important;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,
ol {
  list-style: none;
}
button,
input,
textarea {
  font: inherit;
  border: none;
  outline: none;
}

/* ============================================================
   TOKENS
============================================================ */
:root {
  --brand: #eb9201;
  --brand-h: #d08000;
  --brand-tint: #fff5e6;
  --beige: #c7b9ab;
  --cream: #f7f0eb;
  --dark: #3e3a39;
  --white: #ffffff;
  --border: #e4dbd6;
  --muted: #6b5c54;
  --dim: #a09490;
  --shadow-s: 0 2px 10px rgba(0, 0, 0, 0.07);
  --shadow-m: 0 4px 20px rgba(0, 0, 0, 0.11);
  --r: 10px;
  --rs: 6px;
  --pad: clamp(16px, 4vw, 64px);
  --max: 1280px;
  /* legacy aliases */
  --red: #eb9201;
  --red-h: #d08000;
  --red-tint: #fff5e6;
}

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.section--white {
  background: var(--white);
}
.section--cream {
  background: var(--cream);
}
.section--dark {
  background: var(--dark);
}
#testdrive {
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.72), rgba(13, 13, 13, 0.62)),
    url('../img/testdrive-bg.jpg') center/cover no-repeat;
}

.section__title {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 8px;
}
.section__title--light {
  color: #fff;
}
.section__title--light span {
  color: var(--beige);
}
.section__sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 36px;
}
.section__title + .section__sub {
  margin-top: 8px;
}
.section__title:not(+ .section__sub) {
  margin-bottom: 36px;
}

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--dark);
  transition: box-shadow 0.3s;
  overflow: hidden;
}
.header--scrolled {
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--pad);
  max-width: 1920px;
  margin: 0 auto;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--beige);
}
.logo-sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.22);
}
.logo-dealer-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-dealer {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}
.logo-dealer-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.header__logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.header__contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.header__addr {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.nav a:hover {
  color: #fff;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}
.header__phone:hover {
  color: var(--beige);
}
.header__phone svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-radius: var(--rs);
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--brand {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn--brand:hover {
  background: var(--brand-h);
  border-color: var(--brand-h);
  box-shadow: 0 4px 14px rgba(235, 146, 1, 0.35);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn--outline:hover {
  background: var(--brand);
  color: #fff;
}
.btn--dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.btn--dark:hover {
  background: #2a2726;
  border-color: #2a2726;
}
.btn--sm {
  padding: 9px 18px;
  font-size: 11px;
}
.btn--lg {
  padding: 15px 34px;
  font-size: 13px;
}

/* ============================================================
   BURGER + MOBILE MENU
============================================================ */
.burger {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.burger span:nth-child(1) {
  top: 7px;
}
.burger span:nth-child(2) {
  top: 15px;
}
.burger span:nth-child(3) {
  top: 23px;
}
.burger--active span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}
.burger--active span:nth-child(2) {
  opacity: 0;
}
.burger--active span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.mobile-menu--open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  padding: 10px 0;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--beige);
}
.mm-phone {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--beige) !important;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(62, 58, 57, 0.93) 0%,
    rgba(62, 58, 57, 0.75) 48%,
    rgba(62, 58, 57, 0.45) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(140px, 18vw, 200px) var(--pad) clamp(80px, 10vw, 130px);
  display: flex;
  align-items: flex-end;
}
.hero__text h1 {
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 32px;
  max-width: 700px;
}
.hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 32px;
}
.hero__bullets li {
  font-size: clamp(14px, 1.1vw, 16px);
  color: rgba(255, 255, 255, 0.88);
  padding-left: 20px;
  position: relative;
}
.hero__bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--beige);
  font-weight: 700;
}
.hero__bullets strong {
  color: #fff;
  font-weight: 700;
}
.hero__note {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 28px;
}

/* Hero form card */
.hero__form {
  background: #fff;
  border-radius: var(--r);
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}
.form-timer-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}
.timer__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 10px 4px;
}
.timer--inv .timer__cell {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}
.timer--inv .timer__val {
  color: #fff;
}
.timer--inv .timer__lab {
  color: rgba(255, 255, 255, 0.5);
}
.timer__val {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: var(--dark);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.timer__lab {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dim);
  margin-top: 4px;
}

/* ============================================================
   TIMER STRIP (below hero)
============================================================ */
.timer-strip {
  background: #f0f0f0;
  border-bottom: 1px solid #ddd;
  padding: 22px 0;
}
.timer-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.timer-strip__left {
  flex: 1;
  min-width: 0;
}
.timer-strip__title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}
.timer-strip__form {
  background: none;
  box-shadow: none;
  padding: 0;
  border: none;
}
.timer-strip__row {
  display: flex;
  gap: 0;
  margin-bottom: 8px;
}
.timer-strip__row .form__input {
  border-radius: var(--rs) 0 0 var(--rs);
  border-right: none;
  flex: 1;
  min-width: 0;
  background: #fff;
}
.timer-strip__row .btn {
  border-radius: 0 var(--rs) var(--rs) 0;
  white-space: nowrap;
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: 0.09em;
}
.timer-strip__form .form__agree {
  margin-top: 8px;
  font-size: 13px;
  color: #555;
  gap: 10px;
}
.timer-strip__form .form__agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.timer-strip__form .form__agree + .form__agree {
  margin-top: 6px;
}
.timer-strip__right {
  flex-shrink: 0;
}
.flip-timer {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.flip-timer__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.flip-timer__val {
  display: block;
  background: #1a1a1a;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  border-radius: 6px;
  padding: 8px 14px;
  min-width: 54px;
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35);
}
.flip-timer__lab {
  font-size: 10px;
  color: #777;
  text-transform: lowercase;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ============================================================
   FORMS
============================================================ */
.form__group {
  margin-bottom: 12px;
}
.form__label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
  font-weight: 500;
}
.form__input {
  width: 100%;
  padding: 12px 15px;
  font-size: 14px;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  transition: border-color 0.2s;
}
.form__input::placeholder {
  color: var(--dim);
}
.form__input:focus {
  border-color: var(--red);
}
.form__btn {
  width: 100%;
  margin-top: 6px;
}
.form__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--dim);
  line-height: 1.5;
}
.form__agree input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}
.form__agree span {
  display: block;
  min-height: 18px;
  line-height: 1.4;
}
.form__agree a {
  color: var(--muted);
  text-decoration: underline;
}

.form--card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 36px;
  box-shadow: var(--shadow-m);
}

.form__success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form__success svg {
  width: 44px;
  height: 44px;
  color: #28a745;
  margin: 0 auto 10px;
}
.form__success p {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.form__success span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

/* ============================================================
   UTP BLOCK
============================================================ */
.utp {
  background: #fff;
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--border);
}
.utp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.utp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 28px 20px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
  cursor: default;
}
.utp-item:last-child {
  border-right: none;
}
.utp-item:hover {
  background: var(--cream);
}
.utp-item__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.utp-item__icon svg {
  width: 68px;
  height: 68px;
  color: var(--beige);
  transition: color 0.2s;
}
.utp-item:hover .utp-item__icon svg {
  color: var(--brand);
}
.utp-item__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
}
.utp-item__sub {
  font-size: 12px;
  line-height: 1.4;
  color: var(--brand);
  font-weight: 400;
  margin-top: -8px;
}

/* ============================================================
   SPECIAL OFFERS
============================================================ */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.spec-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}
.spec-card:hover {
  box-shadow: var(--shadow-s);
  transform: none; /* Hover animation on card removed */
}
.spec-card__img {
  position: relative;
  height: 240px;
  background: #f7f7f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.spec-card__img img {
  max-height: 220px;
  width: 100%;
  object-fit: contain;
}

/* Interactive Hover / Swipe Car Slider */
.spec-slider {
  position: relative;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
.spec-slider__img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spec-slider__img {
  max-height: 215px;
  width: 100%;
  object-fit: contain;
  pointer-events: none;
}
.spec-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--dark);
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.2s,
    background 0.2s,
    color 0.2s;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.spec-slider:hover .spec-slider__btn {
  opacity: 1;
}
.spec-slider__btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.spec-slider__btn--prev {
  left: 10px;
}
.spec-slider__btn--next {
  right: 10px;
}

.spec-slider__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.spec-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  transition:
    background 0.2s,
    transform 0.2s;
}
.spec-slider__dot--active {
  background: var(--brand);
  transform: scale(1.4);
}

/* Spec Slider Zoom Button */
.spec-slider__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  cursor: pointer;
  z-index: 6;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.spec-slider__zoom svg {
  width: 16px;
  height: 16px;
}
.spec-slider__zoom:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox--open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(10px);
}
.lightbox__content {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1100px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0;
}
.lightbox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.lightbox__info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lightbox__title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.lightbox__counter {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}
.lightbox__close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.lightbox__close:hover {
  background: var(--brand);
  transform: scale(1.1);
}
.lightbox__stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  overflow: hidden;
}
.lightbox__img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}
.lightbox__nav {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 5;
  transition:
    background 0.2s,
    transform 0.2s;
  backdrop-filter: blur(4px);
}
.lightbox__nav:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: scale(1.1);
}
.lightbox__thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px 0;
  overflow-x: auto;
}
.lightbox__thumb {
  width: 70px;
  height: 45px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.2s,
    opacity 0.2s,
    transform 0.2s;
  opacity: 0.6;
}
.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox__thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.lightbox__thumb--active {
  border-color: var(--brand);
  opacity: 1;
}
.spec-card__stock {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--dark);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--rs);
  z-index: 6;
}
.spec-card__body {
  padding: 20px 20px 24px;
}
.spec-card__body h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 14px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.spec-table td {
  font-size: 13px;
  padding: 4px 0;
  vertical-align: top;
}
.spec-table td:first-child {
  color: var(--muted);
  width: 90px;
}
.spec-table td:last-child {
  color: var(--dark);
  font-weight: 500;
}
.spec-card__savings {
  padding: 10px 14px;
  background: var(--brand-tint);
  border: 1px solid rgba(235, 146, 1, 0.25);
  border-radius: var(--rs);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.spec-card__savings strong {
  font-size: 19px;
  font-weight: 800;
  color: var(--brand);
}
.spec-card__cta {
  width: 100%;
}

/* ============================================================
   MODELS — карточки с выбором цвета
============================================================ */
.models-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.model-card {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  box-shadow: var(--shadow-s);
  transition: box-shadow 0.25s;
}
.model-card:hover {
  box-shadow: var(--shadow-m);
}

/* Левая колонка — фото + цвета */
.model-card__visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.model-card__img-wrap {
  position: relative;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.model-card__img {
  max-height: 260px;
  max-width: 100%;
  object-fit: contain;
  transition:
    opacity 0.3s,
    transform 0.4s;
}
.model-card__img.is-fading {
  opacity: 0;
  transform: scale(0.97);
}
.model-card__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  color: var(--dark);
  opacity: 0;
  transition: opacity 0.2s;
}
.model-card__img-wrap:hover .model-card__zoom {
  opacity: 1;
}
.model-card__zoom:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.model-card__zoom svg {
  width: 16px;
  height: 16px;
}

/* Кнопки цветов */
.model-card__colors {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.model-card__color-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.color-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  padding: 0;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.color-btn:hover {
  transform: scale(1.12);
  filter: saturate(1.1);
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.color-btn--active {
  border-color: var(--brand) !important;
  box-shadow:
    0 0 0 4px rgba(235, 146, 1, 0.22),
    inset 0 0 0 2px rgba(255, 255, 255, 0.7);
  transform: scale(1.12);
}

/* Правая колонка */
.model-card__info {
  display: flex;
  flex-direction: column;
}
.model-card__offer {
  width: 100%;
  white-space: normal;
  line-height: 1.35;
  padding-top: 14px;
  padding-bottom: 14px;
}
.model-card__info h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 16px;
}

/* ============================================================
   MODEL LIGHTBOX
============================================================ */
.model-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.model-lightbox--open {
  opacity: 1;
  visibility: visible;
}
.model-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 17, 0.92);
  backdrop-filter: blur(8px);
}
.model-lightbox__box {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 900px;
  background: #1a1816;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.model-lightbox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.model-lightbox__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.model-lightbox__close {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: #fff;
}
.model-lightbox__close:hover {
  background: var(--brand);
}
.model-lightbox__close svg {
  width: 16px;
  height: 16px;
}
.model-lightbox__stage {
  display: flex;
  align-items: center;
  padding: 24px 16px;
  gap: 12px;
  flex: 1;
  min-height: 0;
}
.model-lightbox__img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 380px;
}
.model-lightbox__img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.25s;
}
.model-lightbox__img.is-fading {
  opacity: 0;
}
.model-lightbox__nav {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.model-lightbox__nav:hover {
  background: var(--brand);
  border-color: var(--brand);
}
.model-lightbox__colors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px 0;
  flex-wrap: wrap;
}
.model-lightbox__colors .color-btn {
  width: 32px;
  height: 32px;
}
.model-lightbox__counter {
  text-align: center;
  padding: 10px 24px 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.model-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--cream);
  color: var(--muted);
  border: 1px solid var(--border);
}
.tag--red {
  background: var(--red-tint);
  color: var(--red);
  border-color: #f0c8cd;
}
.model-row__gifts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}
.model-row__gifts li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.model-row__gifts li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--brand);
  font-weight: 700;
}
.model-row__gifts li strong {
  color: var(--brand);
}
.model-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.model-row__btns-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}

/* ============================================================
   DAILY OFFERS
============================================================ */
.daily-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.daily-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-s);
  transition: none;
}
.daily-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
}
.daily-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.daily-card--dark {
  background: var(--dark);
  border-color: transparent;
}
.daily-card--dark .daily-card__label {
  color: #fff;
}
.daily-card__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   CONFIGURATOR / TABS
============================================================ */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}
.tab {
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  border-radius: var(--rs) var(--rs) 0 0;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.tab:hover {
  color: var(--dark);
  background: rgba(0, 0, 0, 0.03);
}
.tab--active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  background: #fff;
}

.tab-panels {
}
.tab-panel {
  display: none;
}
.tab-panel--active {
  display: block;
}

.config-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.config-item {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 20px 24px;
  box-shadow: var(--shadow-s);
  transition: border-color 0.2s;
}
.config-item:hover {
  border-color: var(--beige);
}
.config-item__img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
}
.config-item__img img {
  max-height: 96px;
  width: auto;
  object-fit: contain;
}
.config-item__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.config-item__info strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}
.config-item__info span {
  font-size: 14px;
  color: var(--muted);
}
.config-item__savings {
  color: var(--muted) !important;
}
.config-item__savings b {
  color: var(--brand);
  font-size: 15px;
}

/* ============================================================
   CREDIT
============================================================ */
.section--credit {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.74), rgba(13, 13, 13, 0.5)),
    url('../img/credit-bg.jpg') center/cover no-repeat;
}
.section--tradein {
  position: relative;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.72), rgba(13, 13, 13, 0.46)),
    url('../img/tradein-bg.webp') center/cover no-repeat;
  padding: clamp(72px, 9vw, 120px) 0;
}
.section--tradein .container {
  position: relative;
  z-index: 1;
}
.section--tradein .offer-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: clamp(28px, 4vw, 48px);
  backdrop-filter: blur(2px);
}
.section--tradein .offer-block__text h2,
.section--tradein .offer-block__text p {
  color: #fff;
}
.credit-inner {
  position: relative;
  width: 100%;
  min-height: 480px;
  margin: 0 auto;
}
.credit-bg {
  display: none;
}
.credit-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.credit-overlay {
  display: none;
}
.credit-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 4vw, 72px);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--pad);
}
.credit-text {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  backdrop-filter: blur(1px);
}
.credit-text h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 32px;
}
.credit-text h2 span {
  color: var(--brand);
}
.credit-about {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.credit-about__item {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  gap: 8px;
  line-height: 1.4;
}
.credit-about__item span {
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}
.form--card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a09490' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.credit-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.credit-stat {
  background: #fff;
  border-radius: var(--r);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-s);
  min-width: 90px;
}
.credit-stat__val {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}
.credit-stat__lab {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-top: 5px;
}
.credit-form-wrap {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r);
  box-shadow: var(--shadow-m);
}
.credit-form-wrap .form--card {
  width: 100%;
  max-width: 440px;
}

/* ============================================================
   ABOUT
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.about-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  padding: 30px 22px;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.about-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--beige);
}
.about-card__num {
  font-size: 46px;
  font-weight: 900;
  color: var(--beige);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 10px;
}
.about-card__title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  margin-bottom: 8px;
}
.about-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ============================================================
   OFFER BLOCK (trade-in / best offer)
============================================================ */
.offer-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.offer-block__text h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}
.offer-block__text h2 span {
  color: var(--brand);
}
.offer-block__text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.offer-block__title--light {
  color: #fff !important;
}

/* ============================================================
   CONTACTS
============================================================ */
.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  margin-top: 40px;
}
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-item__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-bottom: 4px;
}
.contact-item__val {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.2s;
}
.contact-item__val a:hover {
  color: var(--brand);
}
.contacts-map {
  height: 400px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.contacts-map__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--dim);
  font-size: 13px;
}
.contacts-map__placeholder svg {
  color: var(--dim);
  opacity: 0.5;
}

/* ============================================================
   FOOTER
============================================================ */
.footer__top {
  background: var(--dark);
  padding: 44px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__top-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer__logo {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--beige);
  margin-bottom: 10px;
}
.footer__addr {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.6;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
  transition: color 0.2s;
}
.footer__nav a:hover {
  color: #fff;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer__phone {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}
.footer__phone:hover {
  color: var(--beige);
}

.footer__bottom {
  background: #fff;
  padding: 28px 0;
}
.footer__bottom .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__bottom p {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.38);
  line-height: 1.6;
}
.footer__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 12px;
}
.footer__docs a,
.footer__credit-link {
  font-size: 11px;
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
  transition: opacity 0.2s;
}
.footer__docs a:hover,
.footer__credit-link:hover {
  opacity: 0.75;
}

/* ============================================================
   POPUP
============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(62, 58, 57, 0.7);
  backdrop-filter: blur(5px);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.popup-overlay--open {
  opacity: 1;
  visibility: visible;
}
.popup {
  background: #fff;
  border-radius: var(--r);
  padding: 40px;
  max-width: 420px;
  width: calc(100% - 32px);
  position: relative;
  transform: translateY(14px);
  transition: transform 0.3s;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}
.popup-overlay--open .popup {
  transform: translateY(0);
}
.popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  background: var(--cream);
  border-radius: var(--rs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.popup__close:hover {
  background: var(--border);
}
.popup__close svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.popup__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 5px;
}
.popup__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ============================================================
   REVIEWS
============================================================ */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.reviews-header .section__title {
  margin-bottom: 0;
}
.reviews-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.reviews-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.review-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow-s);
  transition: box-shadow 0.25s;
}
.review-card:hover {
  box-shadow: var(--shadow-m);
}
.review-card__stars {
  font-size: 18px;
  color: #f5a623;
  margin-bottom: 12px;
}
.review-card__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}
.review-card__author {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.reviews-prev,
.reviews-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.reviews-prev:hover,
.reviews-next:hover {
  background: var(--brand);
  border-color: var(--brand);
}
.reviews-prev:hover svg,
.reviews-next:hover svg {
  stroke: #fff;
}
.reviews-prev svg,
.reviews-next svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
}

/* ============================================================
   ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.reveal--visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 {
  transition-delay: 0.1s;
}
.reveal--delay-2 {
  transition-delay: 0.2s;
}
.reveal--delay-3 {
  transition-delay: 0.3s;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1200px) {
  .utp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .utp-item:nth-child(3) {
    border-right: none;
  }
  .utp-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }
  .utp-item:nth-child(5) {
    border-top: 1px solid var(--border);
  }
  .utp-item:nth-child(6) {
    border-top: 1px solid var(--border);
    border-right: none;
  }
}

@media (max-width: 1100px) {
  .model-row {
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }
  .model-card {
    grid-template-columns: 320px 1fr;
    gap: 24px;
  }
  .model-card__img-wrap {
    height: 220px;
  }
  .config-item {
    grid-template-columns: 130px 1fr auto;
  }
  .credit-content {
    grid-template-columns: 1fr;
  }
  .reviews-slider {
    grid-template-columns: repeat(2, 1fr);
  }
  .flip-timer__val {
    font-size: 36px;
    padding: 6px 10px;
    min-width: 44px;
  }
  /* шапка — уменьшаем gaps и шрифты */
  .nav {
    gap: 18px;
  }
  .nav a {
    font-size: 10px;
    letter-spacing: 0.07em;
  }
  .header__inner {
    gap: 16px;
  }
  .logo-dealer {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .credit-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section--credit {
    padding: clamp(40px, 6vw, 60px) 0;
  }
  .credit-text {
    padding: 24px 20px;
  }
  .credit-text h2 {
    font-size: clamp(20px, 5vw, 26px);
    margin-bottom: 20px;
  }
  .credit-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .credit-stat {
    min-width: 0;
    padding: 14px 10px;
  }
  .credit-stat__val {
    font-size: 18px;
  }
  .credit-form-wrap {
    padding: 0 var(--pad) clamp(40px, 6vw, 60px);
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .credit-form-wrap .form--card {
    max-width: 100%;
  }
  .credit-about { margin-top: 16px; }
}

@media (max-width: 900px) {
  /* шапка — скрываем адрес, nav сжимаем */
  .header__addr {
    display: none;
  }
  .nav {
    gap: 12px;
  }
  .nav a {
    font-size: 10px;
  }
  .header__right {
    gap: 10px;
  }
  .header__right .btn--sm {
    padding: 8px 12px;
    font-size: 10px;
  }
  .spec-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .daily-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .offer-block {
    grid-template-columns: 1fr;
  }
  .contacts-inner {
    grid-template-columns: 1fr;
  }
  .model-row {
    grid-template-columns: 1fr;
  }
  .model-row__img {
    max-width: 360px;
    margin: 0 auto;
  }
  .model-card {
    grid-template-columns: 1fr;
  }
  .model-card__img-wrap {
    height: 240px;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
  .footer__top-inner {
    flex-wrap: wrap;
    gap: 28px;
  }
  .utp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .utp-item:nth-child(3) {
    border-right: none;
  }
  .utp-item:nth-child(4),
  .utp-item:nth-child(5),
  .utp-item:nth-child(6) {
    border-top: 1px solid var(--border);
  }
  .utp-item:nth-child(6) {
    border-right: none;
  }
  .reviews-slider {
    grid-template-columns: 1fr;
  }
  .timer-strip__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .timer-strip__right {
    align-self: stretch;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 4px;
    display: flex;
    justify-content: center;
  }
  .flip-timer {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav,
  .header__contact-info {
    display: none;
  }
  .header__right {
    display: none;
  }
  .burger {
    display: block;
    margin-left: auto;
  }
  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header__logo-img {
    height: 22px;
  }
  .logo-sep {
    height: 16px;
  }
  .logo-dealer {
    font-size: 11px;
  }
  .logo-dealer-sub {
    font-size: 9px;
  }
  .header__inner {
    padding: 12px 16px;
    gap: 10px;
    overflow: hidden;
  }
  .daily-grid {
    grid-template-columns: 1fr;
  }
  .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .tab {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 11px;
  }
  .config-item {
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
  .config-item > .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .footer__top-inner {
    flex-direction: column;
  }
  .footer__contact {
    align-items: flex-start;
  }
  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .model-row {
    padding: 20px;
    gap: 20px;
  }
  .model-row__actions {
    flex-direction: column;
  }
  .model-row__actions .btn {
    width: 100%;
  }
  .model-row__btns-top .btn {
    flex: 1;
  }
  .model-card {
    padding: 20px;
    gap: 16px;
  }
  .model-card__actions,
  .model-row__actions {
    flex-direction: column;
  }
  .model-card__info .model-row__actions .btn { width: 100%; }
  .model-lightbox__img-wrap { height: 240px; }
  .model-lightbox__box { width: 96%; }
  .model-lightbox__nav { width: 36px; height: 36px; font-size: 22px; }
  .timer-strip__row {
    flex-direction: column;
    gap: 8px;
  }
  .timer-strip__row .form__input {
    border-radius: var(--rs);
    border-right: 1.5px solid var(--border);
  }
  .timer-strip__row .btn {
    border-radius: var(--rs);
    width: 100%;
  }
  .flip-timer__val {
    font-size: 26px;
    padding: 5px 8px;
    min-width: 36px;
  }
  .utp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .utp-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 12px;
  }
  .utp-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
  .utp-item:last-child,
  .utp-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
  .utp-item__icon { width: 52px; height: 52px; }
  .utp-item__icon svg { width: 48px; height: 48px; }
  .utp-item__title { font-size: 12px; }
  .utp-item__sub { font-size: 11px; }
  .spec-grid {
    max-width: 100%;
  }
  .credit-text {
    padding-top: clamp(180px, 28vw, 260px);
  }
  .hero__text h1 {
    font-size: clamp(28px, 7vw, 44px);
  }
  .section__title {
    font-size: clamp(20px, 5vw, 28px);
  }
  .popup {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .header__inner {
    padding: 12px 16px;
  }
  .header__right {
    gap: 8px;
  }
  .hero__content {
    padding-left: 16px;
    padding-right: 16px;
  }
  .utp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .utp-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .utp-item:nth-child(odd) {
    border-right: 1px solid var(--border) !important;
  }
  .flip-timer {
    gap: 4px;
  }
  .flip-timer__val {
    font-size: 22px;
    padding: 4px 6px;
    min-width: 30px;
  }
  .daily-card {
    padding: 22px 18px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .spec-card__img {
    height: 200px;
  }
  .model-row__btns-top {
    flex-direction: column;
  }
  .model-row__btns-top .btn {
    width: 100%;
  }
  .form--card {
    padding: 24px 18px;
  }
  .timer-strip {
    padding: 20px 0;
  }
  .section {
    padding: clamp(40px, 8vw, 60px) 0;
  }
}

/* ============================================================
   SUCCESS POPUP
============================================================ */
.success-overlay {
    position: fixed; inset: 0;
    z-index: 26;
    display: flex; align-items: center; justify-content: center;
    background: rgba(62,58,57,.7);
    backdrop-filter: blur(5px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.success-overlay--open { opacity: 1; visibility: visible; }
.success-box {
    background: #fff;
    border-radius: var(--r);
    padding: 48px 40px;
    max-width: 380px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 12px 48px rgba(0,0,0,.2);
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    transform: translateY(16px);
    transition: transform .3s;
}
.success-overlay--open .success-box { transform: translateY(0); }
.success-box svg { width: 64px; height: 64px; }
.success-box h3 { font-size: 22px; font-weight: 800; color: var(--dark); }
.success-box p  { font-size: 15px; color: var(--muted); }
