:root {
  --ink: #293337;
  --dark: #30363a;
  --deep: #293237;
  --blue: #00359a;
  --muted: #6b777c;
  --line: #e9e9e9;
  --container: 1170px;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f2f2f2;
}

body {
  max-width: 1920px;
  margin: 0;
  margin-inline: auto;
  background: #ffffff;
  color: var(--ink);
  font-family: "NotoSans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.compensate-for-scrollbar {
    margin: 0 auto !important;
    overflow: auto !important;
}

body.compensate-for-scrollbar {
    overflow: hidden;
}

a:focus,
button:focus,
input:focus,
select:focus {
  outline: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  height: 90px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 155px;
  height: 21px;
}

.dealer {
  height: 42px;
  padding-left: 20px;
  border-left: 1px solid var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.dealer strong {
  font-size: 20px;
  line-height: 1;
}

.dealer span {
  font-size: 14px;
  line-height: 1.15;
  text-transform: none;
}

.header-contacts {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 40px;
  font-style: normal;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.contact-item img {
  width: 24px;
  height: 24px;
}

.phone-link {
  font-size: 18px;
  font-weight: 700;
}

.outline-button,
.dark-button,
.muted-button,
.light-outline-button,
.white-button,
.blue-button {
  min-height: 54px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.outline-button:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.dark-button:hover,
.muted-button:hover {
  background: transparent;
  border-color: var(--dark);
  color: var(--dark);
}

.model-section--dark .dark-button:hover,
.model-section--dark .muted-button:hover {
  border-color: #fff;
  color: #fff;
}

.light-outline-button:hover,
.white-button:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.credit-copy .white-button:hover {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.blue-button:hover,
.lead-form button:hover,
.trade-form button:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.header-call {
  width: 260px;
  min-height: 50px;
  color: var(--dark);
  font-size: 14px;
}

.mobile-menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--dark);
}

.mobile-menu-toggle span,
.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.main-nav {
  height: 51px;
  position: sticky;
  top: 90px;
  z-index: 29;
  background: var(--dark);
  color: #fff;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  font-size: 14px;
}

.hero {
  height: 643px;
  position: relative;
  overflow: hidden;
  background: #edf2f6;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  inset: 29px 24px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--dark);
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.22;
  font-weight: 900;
  text-transform: uppercase;
}

.hero p {
  margin: 0;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 600;
}

.hero-button {
  width: 260px;
  min-height: 50px;
  margin-top: 10px;
}

.dark-button {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.dealer-ribbon {
  height: 79px;
  overflow: hidden;
  background: #293337;
  color: #fff;
  display: flex;
  align-items: center;
}

.ribbon-track {
  display: flex;
  align-items: center;
  gap: 50px;
  min-width: 2328px;
  font-size: 24px;
  font-weight: 500;
  white-space: nowrap;
  animation: ribbon-scroll 28s linear infinite;
  will-change: transform;
}

.ribbon-track i {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

@keyframes ribbon-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.countdown-section {
  height: 287px;
  background: #fff;
}

.countdown-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 508px;
  gap: 80px;
  align-items: start;
  padding-top: 50px;
  overflow: hidden;
}

.countdown-copy {
  min-width: 0;
}

.countdown-copy h2 {
  margin: 0 0 30px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.35;
  font-weight: 500;
  text-transform: uppercase;
}

.timer {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.timer > div[id^="timer"] {
  max-width: 100%;
}

.timer-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.digit-row {
  display: flex;
  gap: 5px;
}

.digit {
  width: 64px;
  height: 86px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "NotoSans", Arial, sans-serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
}

.digit-wide {
  width: 96px;
}

.digit::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.25);
}

.timer-label {
  font-family: "NotoSans", Arial, sans-serif;
  font-size: 12px;
  color: #000;
}

.lead-form {
  display: grid;
  gap: 10px;
  color: var(--dark);
}

.lead-form p {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 500;
}

.lead-form input,
.trade-form input,
.trade-form select {
  width: 100%;
  height: 54px;
  border: 0;
  background: #f3f3f3;
  padding: 0 21px;
  color: var(--dark);
  outline: none;
}

.lead-form button,
.trade-form button {
  width: 100%;
  height: 54px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--dark);
  font-size: 11px;
  line-height: 1.2;
  justify-content: flex-start;
  text-align: left;
}

.checkbox-line .check_ex,
.popup_container .check_ex {
  flex: 0 0 13px;
  display: flex;
  align-items: center;
  height: 13px;
  margin-top: 0;
  line-height: 1;
}

.checkbox-line > span:last-child,
.popup_container .form-agree > span:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.checkbox-line input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #0075ff;
}

.checkbox-line a,
.form-agree a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hidden-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-group.has-danger input,
.form-group.has-danger select {
  box-shadow: inset 0 0 0 1px #d71920;
}

.not_agree button[type="submit"] {
  background: #cacaca !important;
  border-color: #cacaca !important;
  color: #fff !important;
  cursor: default;
}

.agree_error .agree_field,
.agree_error .checkbox-line {
  color: #d71920;
}

#form_popup,
.popup-template {
  display: none;
}

.popup_container {
  width: min(420px, calc(100vw - 24px));
  padding: 34px 30px 28px;
  background: #fff;
  color: var(--ink);
}

.popup_container .form_title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 700;
  text-align: center;
}

.popup_container .desc {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.popup_container .form-group {
  margin-bottom: 10px;
}

.popup_container input[type="tel"] {
  width: 100%;
  height: 54px;
  border: 0;
  background: #f3f3f3;
  padding: 0 21px;
  color: var(--dark);
  outline: none;
}

.popup_container button[type="submit"] {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
}

.popup_container button[type="submit"]:hover {
  background: var(--dark);
  border-color: var(--dark);
}

.popup_container .form-agree {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--dark);
  font-size: 11px;
  line-height: 1.25;
  justify-content: flex-start;
  text-align: left;
}

.check_ex input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #0075ff;
}

.model-section {
  height: 689px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.model-section--dark {
  background: var(--ink);
  color: #fff;
}

.wave-bg {
  position: absolute;
  top: 100px;
  left: 0.18%;
  width: 99.64%;
  height: 279px;
  opacity: 1;
  pointer-events: none;
}

.wave-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.model-section--dark .wave-bg {
  opacity: 0.28;
}

.model-stage {
  position: relative;
  height: 100%;
}

.model-title-row {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 25px;
}

.model-title-row h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-badge {
  width: 234px;
  height: 92px;
  position: relative;
  color: var(--ink);
  text-align: center;
  flex: 0 0 auto;
}

.price-badge img {
  width: 234px;
  height: 80px;
}

.price-badge span,
.price-badge b {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 500;
}

.price-badge span {
  top: 11px;
  font-size: 16px;
}

.price-badge b {
  top: 29px;
  font-size: 24px;
  white-space: nowrap;
}

.car-frame {
  position: absolute;
  left: 0;
  top: 162px;
  width: 650px;
  height: 310px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-car-picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-car {
  max-width: none;
  width: 109%;
}

.model-car[data-color-target] {
  width: 100%;
  margin: 0;
}

.car-c5-red,
.car-c5-blue {
  margin-left: -4%;
  margin-top: -8%;
}

.car-c7 {
  margin-left: -7%;
  margin-top: -9%;
}

.benefits {
  position: absolute;
  left: 690px;
  top: 202px;
  width: 480px;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 15px;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.benefits img {
  width: 24px;
  height: 24px;
}

.benefits strong {
  font-weight: 700;
}

.color-row {
  position: absolute;
  left: 690px;
  top: 457px;
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 14px;
  font-weight: 500;
}

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

.swatches i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid transparent;
  position: relative;
  cursor: pointer;
}

.swatches i:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.swatches .selected::after {
  content: "";
  position: absolute;
  inset: 5px 4px 6px;
  background: url("../img/ui/swatch-check.png") center / contain no-repeat;
}

.red { background: #d7241f; }
.black { background: #000; }
.gray { background: #8a919b; }
.slate { background: #51565c; }
.blue { background: #3a4676; }
.teal { background: #335d66; }
.white { background: #fff; border-color: #434b56 !important; }

.model-actions {
  position: absolute;
  left: 0;
  right: 0;
  top: 514px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.model-actions a {
  width: 100%;
}

.model-actions a:nth-child(1) {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.model-actions a:nth-child(2) {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.model-actions a:nth-child(3) {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.model-section--dark .model-actions a:nth-child(1) {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.model-section--dark .model-actions a:nth-child(2) {
  background: #151515;
  color: #fff;
  border-color: #151515;
}

.model-section--dark .model-actions a:nth-child(3) {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.model-actions a:nth-child(1):hover {
  background: #293337;
  border-color: #293337;
  color: #fff;
}

.model-actions a:nth-child(2):hover {
  background: transparent;
  border-color: #293337;
  color: #293337;
}

.model-actions a:nth-child(3):hover {
  background: #293337;
  border-color: #293337;
  color: #fff;
}

.model-section--dark .model-actions a:nth-child(1):hover {
  background: #fff;
  border-color: #fff;
  color: #293337;
}

.model-section--dark .model-actions a:nth-child(2):hover {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.model-section--dark .model-actions a:nth-child(3):hover {
  background: #293337;
  border-color: #293337;
  color: #fff;
}

.muted-button {
  background: var(--muted);
  color: #fff;
  border-color: var(--muted);
}

.light-outline-button {
  color: #fff;
  border-color: #fff;
}

.equipment-section {
  min-height: 1081px;
  height: auto;
  padding: 60px 0 62px;
  background: #fff;
}

.equipment-stage {
  position: relative;
}

.equipment-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.35;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

.tabs {
  margin-top: 86px;
  display: flex;
  gap: 65px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.tabs button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-transform: inherit;
}

.tabs span:not(.active),
.tabs button:not(.active) {
  opacity: 0.35;
}

.tabs button:hover,
.tabs button.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.equipment-list {
  margin-top: 40px;
  display: grid;
  gap: 10px;
}

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

.equipment-card {
  min-height: 210px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 374px 1fr 256px;
  align-items: center;
  background: #fff;
}

.equipment-image {
  align-self: stretch;
  background: var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.equipment-image picture {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.equipment-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  margin-top: 0;
}

.equipment-info {
  padding-left: 44px;
}

.equipment-info h3 {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 500;
  white-space: nowrap;
}

.equipment-info h3 span {
  color: var(--blue);
}

.equipment-info p {
  margin: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.equipment-info p img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.equipment-actions {
  display: grid;
  gap: 10px;
  padding-right: 60px;
}

.equipment-actions a {
  min-height: 54px;
  padding-inline: 18px;
}

.blue-button {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.show-more {
  display: block;
  width: max-content;
  margin: 46px auto 0;
  font-size: 16px;
  font-weight: 500;
}

.credit-section,
.trade-section {
  height: 667px;
  position: relative;
  overflow: hidden;
}

.credit-bg,
.trade-bg {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.credit-bg img,
.trade-bg img,
.contacts-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.promo-stage {
  height: 100%;
  position: relative;
}

.credit-copy {
  position: absolute;
  left: 0;
  top: 234px;
  color: #fff;
}

.credit-copy h2,
.trade-form h2,
.contacts-copy h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.37;
  font-weight: 500;
  text-transform: uppercase;
}

.credit-copy p {
  margin: 13px 0 28px;
  font-size: 16px;
  font-weight: 500;
}

.white-button {
  width: 363px;
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.trade-form {
  position: absolute;
  left: 0;
  top: 55px;
  width: 365px;
  color: var(--ink);
}

.trade-form h2 {
  width: 600px;
}

.trade-form p {
  width: 430px;
  margin: 9px 0 26px;
  font-size: 16px;
  font-weight: 500;
}

.trade-form select,
.trade-form input,
.trade-form button {
  margin-bottom: 10px;
}

.trade-form input,
.trade-form select {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.trade-form input::placeholder {
  color: rgba(41, 51, 55, 0.82);
}

.trade-form select {
  appearance: none;
  background: transparent url("../img/ui/select-arrow.png") calc(100% - 20px) center / 11px 9px no-repeat;
}

.trade-form select option {
  color: var(--ink);
}

.trade-form button {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
}

.trade-form button:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.trade-form .checkbox-line,
.trade-form .checkbox-line a {
  color: var(--ink);
}

.contacts-section {
  height: 585px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
}

.contacts-left {
  position: relative;
  overflow: hidden;
}

.contacts-bg {
  position: absolute;
  inset: 0;
  display: block;
}

.contacts-copy {
  position: absolute;
  z-index: 1;
  top: 80px;
  left: max(24px, calc((100vw - var(--container)) / 2));
  width: 364px;
  color: #fff;
}

@media (min-width: 1920px) {
  .contacts-copy {
    left: 374px;
  }
}
@media (max-width: 1260px) {
  .contacts-copy {
    left: 24px;
    right: auto;
  }
}

.contacts-copy h3 {
  margin: 4px 0 25px;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 500;
  text-transform: uppercase;
}

.contacts-copy p {
  margin: 0 0 25px;
  font-size: 16px;
  font-weight: 500;
}

.contacts-hours {
  line-height: 1.35;
}

.contacts-hours strong {
  font-weight: 500;
}

.contacts-copy .light-outline-button {
  width: 364px;
}

.contacts-map {
  position: relative;
  overflow: hidden;
  background: #eef1f3;
}

.contacts-section__map-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef1f3;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.site-footer {
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 31px;
}

.footer-copy {
  display: grid;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}

.footer-copy p {
  margin: 0;
}

.footer-copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-inner img {
  width: 147px;
  height: 20px;
  margin-top: 2px;
}

.footer__disclamer {font-size:14px;display: none;text-align: left;padding-top: 35px;width: 100%;}

@media (max-width: 1180px) {
  .header-contacts {
    gap: 20px;
  }

  .header-call {
    width: 210px;
  }

  .model-title-row h2,
  .equipment-section h2,
  .credit-copy h2,
  .trade-form h2,
  .contacts-copy h2 {
    font-size: 42px;
  }

  .benefits,
  .color-row {
    left: 58%;
  }

  .car-frame {
    width: 58%;
    max-width: 580px;
  }

  .benefits {
    left: 60%;
    width: calc(40% - 20px);
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    height: auto;
  }

  .header-inner {
    min-height: 90px;
    flex-wrap: wrap;
    padding-block: 16px;
  }

  .header-contacts {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .main-nav {
    top: 148px;
    overflow-x: auto;
  }

  .nav-inner {
    width: max-content;
    min-width: 100%;
    padding-inline: 16px;
  }

  .hero {
    height: 520px;
    background-position: center bottom;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 24px;
  }

  .countdown-section {
    height: auto;
  }

  .countdown-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 42px;
  }

  .timer {
    flex-wrap: wrap;
    justify-content: center;
  }

  .model-section {
    height: auto;
    padding: 55px 0 64px;
  }

  .wave-bg {
    top: 95px;
    height: 180px;
  }

  .model-stage {
    display: grid;
    gap: 24px;
  }

  .model-title-row,
  .car-frame,
  .benefits,
  .color-row,
  .model-actions {
    position: relative;
    inset: auto;
  }

  .model-title-row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .car-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 650 / 310;
  }

  .model-actions {
    grid-template-columns: 1fr;
  }

  .benefits {
    width: auto;
  }

  .equipment-section {
    height: auto;
    padding: 35px 0 70px;
  }

  .equipment-stage,
  .equipment-section h2,
  .tabs,
  .equipment-list,
  .show-more {
    position: relative;
    inset: auto;
    transform: none;
  }

  .equipment-section h2 {
    margin-bottom: 24px;
  }

  .tabs {
    margin-top: 18px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
  }

  .equipment-list {
    gap: 16px;
  }

  .equipment-card {
    grid-template-columns: 1fr;
  }

  .equipment-image {
    min-height: 210px;
  }

  .equipment-info {
    padding: 24px;
  }

  .equipment-actions {
    padding: 0 24px 24px;
  }

  .show-more {
    display: block;
    margin-top: 30px;
    text-align: center;
  }

  .credit-section,
  .trade-section {
    height: auto;
    min-height: 560px;
  }

  .credit-bg,
  .trade-bg {
    background-size: cover;
    background-position: center;
  }

  .promo-stage {
    min-height: 560px;
    padding-block: 70px;
  }

  .credit-copy,
  .trade-form {
    position: relative;
    inset: auto;
  }

  .trade-form,
  .trade-form h2,
  .trade-form p {
    width: min(100%, 560px);
  }

  .contacts-section {
    height: auto;
    grid-template-columns: 1fr;
  }

  .contacts-left,
  .contacts-map {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 96px;
  }

  .header-inner {
    min-height: 96px;
    padding-block: 11px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 7px 10px;
  }

  .brand {
    width: auto;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    overflow: visible;
  }

  .brand-logo {
    width: 150px;
    height: 20px;
    flex: 0 0 150px;
    object-fit: contain;
  }

  .dealer {
    height: 32px;
    padding-left: 12px;
    min-width: 0;
  }

  .dealer strong {
    font-size: 13px;
    line-height: 1.1;
  }

  .dealer span {
    font-size: 10px;
    line-height: 1.1;
  }

  .header-contacts {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    order: initial;
    width: auto;
    justify-content: center;
    gap: 0;
    padding-left: 0;
  }

  .header-contacts .contact-item:first-child {
    display: none;
  }

  .phone-link {
    font-size: 18px;
    line-height: 1.2;
  }

  .phone-link img {
    width: 18px;
    height: 18px;
  }

  .header-call {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    width: 42px;
    height: 42px;
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .mobile-menu-toggle span,
  .mobile-menu-toggle::before,
  .mobile-menu-toggle::after {
    width: 34px;
    height: 3px;
  }

  .main-nav {
    display: none;
  }

  html.is-mobile-menu-open .main-nav {
    display: block;
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    height: auto;
    z-index: 40;
  }

  html.is-mobile-menu-open .nav-inner {
    width: 100%;
    min-width: 0;
    padding: 14px 10px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  html.is-mobile-menu-open .nav-inner a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero {
    height: 430px;
    background-position: center top;
  }

  .hero-media img {
    object-position: center top;
  }

  .hero-copy {
    top: 22px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero p {
    margin-top: 10px;
    font-size: 18px;
  }

  .credit-section,
  .trade-section {
    height: auto;
    min-height: 0;
    overflow: visible;
    background: #fff;
  }

  .credit-bg,
  .trade-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 945 / 589;
  }

  .credit-bg img,
  .trade-bg img {
    object-position: center top;
  }

  .dealer-ribbon {
    height: 58px;
  }

  .ribbon-track {
    gap: 24px;
    font-size: 16px;
  }

  .countdown-copy h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
  }

  .digit {
    width: 35px;
    height: 53px;
    font-size: 31px;
  }

  .digit-row {
    gap: 3px;
  }

  .timer {
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .countdown-copy,
  .timer {
    width: 100%;
  }

  .timer > div[id^="timer"] {
    flex: 0 0 590px;
    transform: scale(0.62) !important;
    transform-origin: center center !important;
  }

  .timer-label {
    font-size: 10px;
  }

  .lead-form {
    text-align: center;
  }

  .checkbox-line,
  .popup_container .form-agree {
    align-items: center;
    text-align: left;
  }

  .lead-form .checkbox-line input,
  .trade-form .checkbox-line input,
  .popup_container .form-agree input {
    width: 13px;
    height: 13px;
    min-height: 13px;
  }

  .lead-form .checkbox-line .check_ex,
  .trade-form .checkbox-line .check_ex,
  .popup_container .form-agree .check_ex {
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
  }

  .lead-form input,
  .lead-form button,
  .trade-form input,
  .trade-form select,
  .trade-form button {
    height: 50px;
  }

  .model-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 156px;
    align-items: center;
    gap: 8px;
  }

  .model-stage {
    gap: 12px;
  }

  .model-section {
    padding: 32px 0 38px;
  }

  .car-frame {
    order: 2;
    height: 160px;
    aspect-ratio: auto;
    overflow: visible;
  }

  .car-frame .model-car {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .color-row {
    order: 3;
  }

  .benefits {
    order: 4;
  }

  .model-actions {
    order: 5;
  }

  .model-title-row h2,
  .equipment-section h2,
  .credit-copy h2,
  .trade-form h2,
  .contacts-copy h2 {
    font-size: 30px;
  }

  .model-title-row h2 {
    font-size: 22px;
    text-align: left;
    white-space: normal;
  }

  .equipment-section h2 {
    margin-bottom: 0;
  }

  .price-badge {
    width: 156px;
    height: 62px;
  }

  .price-badge img {
    width: 156px;
    height: auto;
  }

  .price-badge span {
    top: 8px;
    font-size: 11px;
  }

  .price-badge b {
    top: 22px;
    font-size: 17px;
  }

  .benefits {
    gap: 11px;
    font-size: 13px;
  }

  .benefits img {
    width: 18px;
    height: 18px;
  }

  .color-row {
    justify-content: flex-start;
    gap: 14px;
    font-size: 11px;
  }

  .model-actions {
    gap: 8px;
  }

  .model-actions a {
    min-height: 50px;
    font-size: 13px;
  }

  .tabs {
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 13px;
    margin-top: 18px;
    margin-bottom: 22px;
    white-space: nowrap;
  }

  .equipment-tabs {
    width: 100%;
    justify-content: space-between;
    gap: clamp(4px, 1.8vw, 12px);
  }

  .tabs button {
    white-space: nowrap;
  }

  .equipment-tabs button {
    font-size: clamp(13px, 3.6vw, 16px);
  }

  .equipment-info h3 {
    font-size: 26px;
    white-space: normal;
  }

  .equipment-image img {
    width: auto;
  }

  .promo-stage {
    min-height: 0;
    padding-block: 32px 42px;
  }

  .equipment-section {
    padding: 12px 0 42px;
  }

  .trade-section {
    background: #293337;
  }

  .trade-form,
  .trade-form h2,
  .trade-form p {
    color: #fff;
  }

  .trade-form input,
  .trade-form select {
    border-color: #fff;
    color: #fff;
  }

  .trade-form input::placeholder {
    color: rgba(255, 255, 255, 0.92);
  }

  .trade-form button {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
  }

  .trade-form button:hover {
    background: transparent;
    border-color: #fff;
    color: #fff;
  }

  .trade-form .checkbox-line,
  .trade-form .checkbox-line a {
    color: #fff;
  }

  .credit-copy {
    color: var(--ink);
  }

  .credit-copy p,
  .trade-form p {
    width: 100%;
  }

  .credit-copy .white-button {
    background: transparent;
    border-color: var(--dark);
    color: var(--dark);
  }

  .white-button,
  .contacts-copy .light-outline-button {
    width: 100%;
  }

  .contacts-copy {
    width: calc(100% - 32px);
    top: 40px;
  }

  .contacts-map {
    height: 380px;
    min-height: 380px;
    margin-top: 16px;
  }

  .footer-inner {
    padding-top: 28px;
    display: grid;
    gap: 22px;
  }

  .site-footer {
    height: auto;
    padding-bottom: 32px;
  }
}

@media (max-width: 374px) {
  .container {
    width: calc(100% - 20px);
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 126px;
    height: 17px;
    flex-basis: 126px;
  }

  .dealer {
    height: 26px;
    padding-left: 8px;
  }

  .dealer strong {
    font-size: 11px;
  }

  .dealer span {
    font-size: 8.5px;
  }

  .phone-link {
    font-size: 16px;
  }
}
