@font-face {
  font-family: Tenet;
  font-display: swap;
  src: url("../files/fonts/Tenet.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Tenet;
  font-display: swap;
  src: url("../files/fonts/Tenet-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.3;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

:root {
  --black: #3e3a39;
  --primary: #c30d23;
  --dark: #212121;
  --gray: #998e83;
  --ghost: #f3f4f6;
  --red: #dc3232;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent;
}

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

img {
  max-width: 100%;
  user-select: none;
}

.body-hidden {
  overflow: hidden;
  touch-action: none;
}

.body {
  font-family: "Tenet", sans-serif;
  letter-spacing: 0.03em;
  font-size: 18px;
  color: var(--black);
}

.body.error404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.body.error404 main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.container {
  --content-width: 1620px;
  --offset-width: 15px;
  --container-width: calc(var(--content-width) + (var(--offset-width) * 2));
  max-width: var(--container-width);
  width: 100%;
  padding: 0 var(--offset-width);
  margin: 0 auto;
}

.container-b {
  --content-width: 1710px;
  --offset-width: 15px;
  --container-width: calc(var(--content-width) + (var(--offset-width) * 2));
  max-width: var(--container-width);
  width: 100%;
  padding: 0 var(--offset-width);
  margin: 0 auto;
}

.btn-s {
  --background: var(--black);
  --border: var(--black);
  --color: white;
  --background-h: var(--primary);
  --border-h: var(--primary);
  --color-h: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  width: fit-content;
  outline: none;
  padding: 15px 26px;
  min-height: 56px;
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--color);
  user-select: none;
  font-size: 13px;
  line-height: 108%;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.btn-s._blur {
  --border: white;
  --background: rgba(255, 255, 255, 0.1);
  --color: white;
  --border-h: var(--primary);
  --background-h: rgba(255, 255, 255, 0.1);
  --color-h: white;
  backdrop-filter: blur(4px);
}

.btn-s._outline {
  --border: var(--dark);
  --background: transparent;
  --color: var(--dark);
  --border-h: var(--primary);
  --background-h: transparent;
  --color-h: var(--primary);
}

.btn-s svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.list {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.b-title {
  font-weight: 400;
  font-size: 50px;
  line-height: 96%;
  letter-spacing: 0.02em;
  margin: 0;
}

.s-title {
  font-weight: 400;
  font-size: 40px;
  line-height: 120%;
  margin: 0;
}

.s-title span {
  color: var(--primary);
}

.l-title {
  font-weight: 400;
  font-size: 36px;
  line-height: 133%;
  margin: 0;
}

.m-title {
  font-weight: 400;
  font-size: 30px;
  line-height: 160%;
  margin: 0;
}

[data-tab] {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

[data-tab]._active {
  display: block;
}

[data-tab]._show {
  opacity: 1;
}

.content-box > * {
  margin: 0;
}

.content-box > *:not(:last-child) {
  margin-bottom: 1rem;
}

.content-box a {
  color: var(--primary);
  text-decoration: underline;
}

.content-box ul {
  padding-left: 0;
  list-style: none;
}

.content-box ul li {
  position: relative;
  padding-left: 26px;
}

.content-box ul li::before {
  position: absolute;
  content: "";
  background-color: currentColor;
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  left: 11px;
  top: 9px;
}

.slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  gap: 4px;
}

.slider-pagination .swiper-pagination-bullet {
  width: 48px;
  height: 4px;
  background-color: var(--dark);
  opacity: 0.4;
  border-radius: 0px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    opacity 0.3s ease;
}

.slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--primary);
  opacity: 1;
}

.slider-scrollbar {
  margin-top: 60px;
  width: 100%;
  height: 1px;
  background-color: var(--dark);
}

.slider-scrollbar .swiper-scrollbar-drag {
  position: relative;
  background-color: var(--primary);
}

.slider-scrollbar .swiper-scrollbar-drag::before {
  position: absolute;
  content: "";
  inset: -1px 0px;
  background-color: var(--primary);
}

.sect-m {
  margin: 90px 0px;
  scroll-margin-top: 90px;
}

.sect-p {
  padding: 90px 0px;
}

.sect-p.bg-ghost + .sect-p.bg-ghost {
  padding-top: 0 !important;
}

.sect-head {
  margin-bottom: 60px;
}

.bg-ghost {
  background-color: var(--ghost);
}

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

.card-car__gallery {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1/0.65;
  padding: 10px 24px;
}

.card-car__gallery img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-car__gallery-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(100% 0%, 75% 100%, 0% 100%, 25% 0%);
  overflow: hidden;
  background-color: #e7e7e7;
  padding-top: 10px;
}

.card-car__gallery-background .item-text {
  padding: 6px 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: white;
  width: fit-content;
  background-color: var(--primary);
  clip-path: polygon(100% 0%, 95% 100%, 0% 100%, 5% 0%);
  margin-left: 20%;
}

.card-car__title {
  margin-top: 30px;
  display: block;
  width: fit-content;
  transition: color 0.3s ease;
}

.card-car__content {
  margin: 20px 0px 0px 0px;
  color: var(--gray);
  margin-top: 20px;
}

.card-car__price {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 30px;
  gap: 20px;
  row-gap: 15px;
  flex-wrap: wrap;
}

.card-car__price .item-title {
  margin-bottom: 5px;
  font-size: 16px;
}

.card-car__price .item-price {
  font-size: 26px;
  letter-spacing: 0.04em;
}

.card-car__buttons {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 20px;
  gap: 20px;
}

.card-car__btn {
  width: 100%;
  justify-content: space-between;
}

.fancybox__backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.modal {
  display: none;
  width: 650px;
  max-width: 100%;
  padding: 40px 30px 30px 30px;
}

.modal {
  cursor: auto;
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  width: 26px;
  height: 26px;
  transition: opacity 0.3s ease;
}

.modal__close svg {
  width: 100%;
  height: 100%;
}

.modal__body {
  width: 100%;
}

.modal__content {
  margin: 20px 0px 0px 0px;
}

.modal__form {
  margin-top: 30px;
}

.modal__form .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.modal__form .btn-s[type="submit"] {
  width: 100%;
}

.input-control {
  width: 100%;
}
.input-control .wpcf7-not-valid-tip {
  display: none;
}

.input {
  --background: transparent;
  --border: var(--dark);
  --color: var(--dark);
  --background-a: transparent;
  --border-a: var(--primary);
  --color-a: var(--dark);
  width: 100%;
  line-height: 108%;
  padding: 15px 20px;
  outline: none;
  border-radius: 0px;
  border: 1px solid var(--border);
  background-color: var(--background);
  display: grid;
  font-size: 16px;
  color: var(--color);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.input:focus {
  border-color: var(--border-a);
  background-color: var(--background-a);
  color: var(---color-a);
}

.input::placeholder {
  color: inherit;
  opacity: 0.7;
}

.input._outline-white {
  --background: transparent;
  --border: white;
  --color: white;
  --background-a: transparent;
  --border-a: var(--primary);
  --color-a: white;
}
.input.wpcf7-not-valid,
.input._outline-white.wpcf7-not-valid {
  --border: var(--red);
  --border-a: var(--red);
  --color: var(--red);
  --color-a: var(--red);
}

.form-check {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.check-wrapper {
  --url: url("../img/check.svg");
  position: relative;
}
.check-wrapper .wpcf7-list-item {
  margin-left: 0;
}
.check-wrapper .wpcf7-not-valid-tip {
  display: none !important;
}

.check-wrapper._white {
  --url: url("../img/check-white.svg");
}

.check-wrapper._white .wpcf7-list-item-label {
  --border: white;
  --color: rgba(255, 255, 255, 0.75);
  --color-l: var(--primary);
}
.check-wrapper .wpcf7-not-valid .wpcf7-list-item-label {
  --border: var(--red);
  --color: var(--red);
  --color-l: var(--red);
}

.check-wrapper input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
}

.check-wrapper input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background: var(--url) center/12px auto no-repeat;
  background-color: var(--background);
}

.check-wrapper .wpcf7-list-item-label {
  --border: var(--black);
  --color: rgba(153, 142, 131, 0.75);
  --color-l: var(--dark);
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 15px;
  cursor: pointer;
  font-size: 15px;
  color: var(--color);
}

.check-wrapper .wpcf7-list-item-label a {
  color: var(--color-l);
}

.check-wrapper .wpcf7-list-item-label::before {
  display: block;
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
}

.select {
  position: relative;
}

.select._open .select-btn .arrow {
  transform: rotate(180deg);
}

.select._open .select-body {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.select-btn {
  --color: var(--dark);
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--color);
}

.select-btn._white {
  --color: white;
}

.select-btn .input {
  pointer-events: none;
  padding-right: 40px;
}

.select-btn .arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  right: 20px;
  transition: transform 0.3s ease;
}

.select-body {
  --border: var(--dark);
  --background: white;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--background);
  border: 1px solid var(--border);
  max-height: 270px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 10;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.select-body::-webkit-scrollbar {
  width: 2px;
}

.select-body::-webkit-scrollbar-track {
  background: transparent;
}

.select-body::-webkit-scrollbar-thumb {
  background-color: var(--primary);
}

.select-item {
  --border: var(--dark);
  --background: transparent;
  --background-h: var(--ghost);
  --color: var(--dark);
  cursor: pointer;
  user-select: none;
  padding: 10px 12px;
  color: var(--color);
  transition: background-color 0.3s ease;
}

.select-item:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.card-promo {
  display: flex;
  flex-direction: column;
}

.card-promo__gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1/0.55;
}

.card-promo__gallery img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-promo__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 20px 50px 20px;
  background-color: white;
}

.card-promo__title {
  margin-bottom: 10px;
}

.card-promo__content {
  color: var(--gray);
  margin: 0px 0px 30px 0px;
}

.card-promo__btn {
  margin-top: auto;
  width: 100%;
  justify-content: space-between;
}

.header {
  position: sticky;
  top: 0;
  padding: 15px 0px;
  background-color: white;
  z-index: 100;
}

.header__wrap {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
}

.header__logo {
  display: block;
  width: 255px;
}

.header__logo img {
  display: block;
  width: 100%;
}

.header__nav {
  margin: 0 auto;
}

.header__list {
  display: flex;
  gap: 40px;
  font-size: 16px;
}

.header__list a {
  transition: color 0.3s ease;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
}

.header__tel {
  font-size: 20px;
  line-height: 110%;
  color: var(--primary);
  transition: color 0.3s ease;
}

.header__address {
  margin-top: 5px;
  font-size: 16px;
  line-height: 138%;
}

.header__address-mob {
  margin-top: 5px;
  font-size: 12px;
}
@media (min-width: 992px) {
 .header__address-mob {
    display: none;
  } 
}

.header__mob {
  display: flex;
  gap: 20px;
}

.header__mob-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transition: color 0.3s ease;
}

.header__mob-btn:active {
  color: var(--primary);
}

.header__mob-btn svg {
  width: 24px;
  height: 24px;
}

.header__burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  gap: 5px;
  transition: color 0.3s ease;
}

.header__burger-btn:active {
  color: var(--primary);
}

.header__burger-btn div {
  width: 100%;
  height: 3px;
  background-color: currentColor;
}

.burger-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.burger-overlay._active {
  opacity: 1;
  visibility: visible;
}

.burger {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: white;
  padding: 20px;
  width: 350px;
  max-width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 120;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s ease;
}

.burger._open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

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

.burger__logo {
  display: block;
  width: 230px;
}

.burger__logo img {
  display: block;
  width: 100%;
}

.burger__close {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.burger__close svg {
  width: 100%;
  height: 100%;
}

.burger__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.burger__list a {
  transition: color 0.3s ease;
}

.burger__contacts {
  margin-top: auto;
}

.burger__tel {
  font-size: 20px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.burger__address {
  margin-top: 5px;
}

.s-intro__slider .slider-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 10;
}

.s-intro__slide {
  padding: 130px 0px;
  color: white;
  box-sizing: border-box;
  z-index: 1;
  min-height: 100%;
  min-height: 740px;
  height: auto !important;
}

.s-intro__slide::before {
  position: absolute;
  content: "";
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 8.68%, rgba(0, 0, 0, 0) 56.13%),
    linear-gradient(0deg, rgba(0, 0, 0, 0) 1.59%, rgba(0, 0, 0, 0.6) 70.14%);
  z-index: -1;
}

.s-intro__slide-inside {
  max-width: 935px;
}

.s-intro__slide-logo {
  display: block;
  margin-bottom: 40px;
}

.s-intro__slide-content {
  max-width: 845px;
  margin-top: 20px;
}

.s-intro__slide-btn {
  margin-top: 40px;
}

.s-adv {
  padding: 24px 0px;
  background-color: var(--ghost);
}

.s-adv__wrap {
  display: flex;
  justify-content: center;
  gap: 75px;
  row-gap: 25px;
  flex-wrap: wrap;
}

.s-adv__item {
  display: flex;
  gap: 75px;
  height: auto;
}

.s-adv__item:not(:last-child)::after {
  display: block;
  content: "";
  width: 1px;
  background-color: currentColor;
  flex-shrink: 0;
  height: 100%;
}

.s-adv__item .item-name {
  font-size: 36px;
  line-height: 133%;
  color: var(--primary);
}

.s-catalog {
  overflow: hidden;
  padding-bottom: 2px;
}

.s-catalog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 25px;
}

.s-catalog__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.s-catalog__nav-title {
  color: var(--gray);
}

.s-catalog__nav-wrap {
  display: flex;
  gap: 20px;
}

.s-catalog__nav-btn {
  --background: transparent;
  --border: var(--dark);
  --color: var(--dark);
  --background-h: var(--dark);
  --border-h: var(--primary);
  --color-h: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 10px 15px;
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--color);
  text-align: center;
  user-select: none;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.s-catalog__nav-btn._active {
  pointer-events: none;
  background-color: var(--background-h);
  color: var(--color-h);
  border-color: var(--border-h);
}

.s-catalog__nav-btn._active .logo-dark {
  display: none;
}

.s-catalog__nav-btn._active .logo-white {
  display: block;
}

.s-catalog__nav-btn img {
  transition: opacity 0.3s ease;
}

.s-catalog__nav-btn .logo-white {
  opacity: 1;
  display: none;
}

.s-catalog__tab-head {
  margin-bottom: 60px;
}

.s-catalog__toggle {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  row-gap: 16px;
}

.s-catalog__toggle-btn {
  position: relative;
  display: flex;
  cursor: pointer;
  gap: 20px;
  user-select: none;
  white-space: nowrap;
}

.s-catalog__toggle-btn::before {
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  height: 1px;
  bottom: 0;
  background-color: var(--primary);
  transition: right 0.3s ease;
}

.s-catalog__toggle-btn:not(:last-child)::after {
  content: "";
  height: 100%;
  width: 1px;
  background-color: currentColor;
  flex-shrink: 0;
}

.s-catalog__toggle-btn._active {
  pointer-events: none;
}

.s-catalog__toggle-btn._active::before {
  right: 20px;
}

.s-catalog__slider .swiper-slide {
  height: auto !important;
  box-sizing: border-box;
}

.s-catalog__slider .swiper-slide .card-car {
  height: 100%;
}

.s-promo {
  overflow: hidden;
}

.s-promo__slider {
  overflow: visible !important;
}

.s-promo__slider .swiper-slide {
  box-sizing: border-box;
  height: auto !important;
  width: 535px !important;
  max-width: 100%;
}

.s-promo__slider .swiper-slide .card-promo {
  height: 100%;
}

.s-offer__wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.s-offer__img {
  display: block;
  width: 740px;
}

.s-offer__info {
  flex: 0 1 865px;
  padding: 30px 0px;
}

.s-offer__content {
  color: var(--gray);
  margin: 20px 0px 0px 0px;
}

.s-offer__form {
  margin-top: 40px;
}

.s-offer__form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.s-offer__form .form-grid .btn-s[type="submit"],
.s-offer__form .form-grid .form-check {
  width: 100%;
  grid-column: 2 span;
}

.s-tradein {
  position: relative;
  color: white;
  padding: 60px 0px;
  z-index: 1;
}

.s-tradein::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: rgba(38, 38, 38, 0.8);
  z-index: -1;
}

.s-tradein__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.s-tradein__info {
  max-width: 750px;
}

.s-tradein__btn {
  justify-content: space-between;
  width: 405px;
  max-width: 100%;
  margin-top: 50px;
}

.s-tradein__img {
  display: block;
  width: 800px;
}

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

.s-steps__item {
  display: flex;
  align-items: center;
  gap: 25px;
}

.s-steps__item .item-img {
  display: block;
  width: 90px;
  flex-shrink: 0;
}

.s-steps__item .item-title {
  font-weight: 400;
  font-size: 30px;
  line-height: 160%;
}

.s-steps__item .item-content {
  color: var(--gray);
  margin-top: 25px;
}

.s-credit__wrapper {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}

.s-credit__main {
  flex: 0 1 635px;
}

.s-credit__content {
  color: var(--gray);
  margin-top: 25px;
}

.s-credit__form {
  margin-top: 45px;
}

.s-credit__form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.s-credit__form .btn-s[type="submit"],
.s-credit__form .form-check {
  width: 100%;
  grid-column: 2 span;
}

.s-credit__info {
  flex: 0 1 810px;
}

.s-credit__info-content {
  color: var(--gray);
  margin-top: 20px;
}

.s-credit__info-banks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 45px;
}

.s-credit__info-bank {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(62, 58, 57, 0.5);
  background-color: var(--ghost);
  width: 100%;
  min-height: 115px;
}

.s-about__wrapper {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 45px;
}

.s-about__info {
  flex: 0 1 800px;
}

.s-about__content {
  margin-top: 40px;
}

.s-about__adv-block {
  margin-top: 40px;
}

.s-about__adv-title {
  font-size: 30px;
  line-height: 160%;
  font-weight: 400;
  margin: 0;
}

.s-about__adv-title span {
  color: var(--primary);
}

.s-about__adv-list {
  display: grid;
  gap: 20px;
  row-gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  max-width: 840px;
  margin-top: 40px;
}

.s-about__adv-list li {
  display: flex;
  align-items: start;
  gap: 10px;
}

.s-about__adv-list li::before {
  content: "";
  width: 3px;
  height: 3px;
  background-color: var(--primary);
  flex-shrink: 0;
  margin-top: 10px;
  transform: rotate(45deg);
}

.s-about__gallery {
  position: sticky;
  width: 700px;
  flex-shrink: 0;
  top: 90px;
}

.s-about__gallery .slider-scrollbar {
  margin-top: 40px;
}

.s-about__slider .swiper-slide {
  aspect-ratio: 1/0.56;
  overflow: hidden;
}

.s-about__slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s linear;
}

.s-about__thumb-slider {
  margin-top: 20px;
}

.s-about__thumb-slider .swiper-slide {
  cursor: pointer;
  aspect-ratio: 1/0.87;
}

.s-about__thumb-slider .swiper-slide.swiper-slide-thumb-active::before {
  opacity: 1;
}

.s-about__thumb-slider .swiper-slide::before {
  position: absolute;
  content: "";
  inset: 0;
  border: 2px solid var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.s-connect {
  position: relative;
  color: white;
  z-index: 1;
}

.s-connect::before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0) 27.93%,
    rgba(26, 26, 26, 0.6) 41.09%,
    rgba(27, 27, 27, 0.8) 49.98%,
    rgba(27, 27, 27, 0.8) 60.24%,
    rgba(38, 38, 38, 0.8) 100%
  );
  z-index: -1;
}

.s-connect__info {
  max-width: 750px;
}

.s-connect__content {
  margin-top: 30px;
  max-width: 600px;
}

.s-connect__form {
  margin-top: 60px;
}

.s-connect__form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.s-connect__form .form-grid .btn-s[type="submit"],
.s-connect__form .form-grid .form-check {
  width: 100%;
  grid-column: 2 span;
}

.s-contacts__wrapper {
  display: flex;
  background-color: white;
}

.s-contacts__main {
  background-color: white;
  width: 445px;
  padding: 60px 40px;
}

.s-contacts__logo {
  display: block;
  width: 320px;
}

.s-contacts__tel {
  display: block;
  width: fit-content;
  margin-top: 60px;
  font-size: 28px;
  line-height: 50%;
  transition: color 0.3s ease;
}

.s-contacts__info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.s-contacts__info-item .item-title {
  color: var(--gray);
  margin-bottom: 10px;
}

.s-contacts__buttons {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.s-contacts__buttons .btn-s {
  justify-content: space-between;
  width: 100%;
}

.s-contacts__map {
  height: auto;
  flex: 1;
}

[data-car-tab] {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-car-tab]._active {
  display: block;
}

[data-car-tab]._show {
  opacity: 1;
}

.s-car__wrapper {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
}

.s-car__main {
  flex-shrink: 0;
  width: 800px;
}

.s-car__gallery {
  display: block;
  transition: opacity 0.3s ease;
}

.s-car__gallery._hide {
  opacity: 0;
}

.s-car__slider {
  width: 100%;
}

.s-car__tag {
  position: absolute;
  top: 20px;
  left: 0;
  clip-path: polygon(100% 0%, 95% 100%, 0% 100%, 0% 0%);
  padding: 10px 40px 10px 20px;
  background-color: var(--primary);
  color: white;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 10;
}

.s-car__slide {
  aspect-ratio: 1/0.62;
  overflow: hidden;
}

.s-car__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s linear;
}

.s-car__thumb-slider {
  margin-top: 30px;
}

.s-car__thumb-slide {
  cursor: pointer;
  display: block;
  aspect-ratio: 1/0.6;
}

.s-car__thumb-slide.swiper-slide-thumb-active {
  pointer-events: none;
}

.s-car__thumb-slide.swiper-slide-thumb-active::before {
  opacity: 1 !important;
}

.s-car__thumb-slide::before {
  position: absolute;
  content: "";
  inset: 0;
  border: 2px solid var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.s-car__info {
  padding: 40px;
  background-color: white;
  flex: 0 1 730px;
}

.s-car__content {
  margin-top: 20px;
  color: var(--gray);
}

.s-car__price {
  display: flex;
  flex-wrap: wrap;
  gap: 55px;
  row-gap: 20px;
  margin-top: 30px;
}

.s-car__price .item-title {
  font-size: 16px;
}

.s-car__price .item-val {
  margin-top: 5px;
  font-size: 26px;
  letter-spacing: 0.04em;
}

.s-car__variations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  row-gap: 25px;
  margin-top: 30px;
}

.s-car__variation .variation-title {
  margin-bottom: 15px;
}

.s-car__variation .variation-title span {
  color: var(--gray);
}

.s-car__variation .variation-wrap {
  display: flex;
  gap: 15px;
}

.s-car__variation .variation-item {
  position: relative;
  aspect-ratio: 1/1;
  cursor: pointer;
  width: 35px;
}

.s-car__variation .variation-item::before {
  position: absolute;
  content: "";
  inset: 0;
  border: 2px solid var(--primary);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.s-car__variation .variation-item._active {
  pointer-events: none;
}

.s-car__variation .variation-item._active::before {
  opacity: 1 !important;
}

.s-car__complectations {
  margin-top: 30px;
}

.s-car__complecataton-title {
  margin-bottom: 15px;
}

.s-car__complectation-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.s-car__complectation-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 15px 18px;
  border: 1px solid rgba(62, 58, 57, 0.2);
  font-size: 13px;
  line-height: 108%;
  letter-spacing: 0.08em;
  user-select: none;
  text-align: center;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.s-car__complectation-btn._active {
  border-color: var(--primary);
  pointer-events: none;
}

.s-car__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  row-gap: 20px;
  margin-top: 50px;
}

.s-car__buttons .btn-s {
  width: 100%;
}

.s-car__spec {
  margin-top: 60px;
}

.s-car__spec-title {
  margin-bottom: 20px;
}

.s-car__spec-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  row-gap: 15px;
  margin-bottom: 30px;
}

.s-car__spec-nav-btn {
  cursor: pointer;
  padding: 15px 24px;
  border: 1px solid rgba(62, 58, 57, 0.2);
  user-select: none;
  font-size: 13px;
  line-height: 108%;
  letter-spacing: 0.08em;
  text-align: center;
  transition: border-color 0.3s ease;
}

.s-car__spec-nav-btn._active {
  pointer-events: none;
  border-color: var(--primary);
}

.s-car__spec-spollers {
  border-top: 1px solid var(--dark);
}

.s-car__spec-spoller {
  border-bottom: 1px solid var(--dark);
}

.s-car__spec-spoller-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  padding: 15px 0px;
}

.s-car__spec-spoller-btn._spoller-active .rect::before {
  transform: rotate(0deg);
}

.s-car__spec-spoller-btn .rect {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.s-car__spec-spoller-btn .rect::before,
.s-car__spec-spoller-btn .rect::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

.s-car__spec-spoller-btn .rect::before {
  transform: rotate(90deg);
}

.s-car__spec-spoller-body {
  color: var(--gray);
  padding-bottom: 20px;
}

.s-methods {
  position: relative;
  z-index: 1;
}

.s-methods::before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0) 34.64%,
    rgba(255, 255, 255, 0.64) 50.59%,
    rgba(255, 255, 255, 0.82) 62.57%,
    rgba(255, 255, 255, 0.95) 78.17%,
    #fff 92.2%
  );
  z-index: -1;
}

.s-methods__info {
  max-width: 750px;
}

.s-methods__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
  max-width: 730px;
}

.s-methods__item {
  border: 1px solid var(--dark);
  padding: 30px;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.35);
}

.s-methods__item .item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.s-methods__item .item-num {
  font-size: 70px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--primary);
}

.s-methods__item .item-icon {
  display: block;
  width: 90px;
  flex-shrink: 0;
}

.s-methods__item .item-title {
  font-size: 32px;
  line-height: 150%;
  letter-spacing: 0.03em;
}

.s-methods__item .item-text {
  color: var(--gray);
}

.s-notfound {
  display: flex;
  align-items: center;
  text-align: center;
  flex: 1;
}

.s-notfound__num {
  font-weight: 600;
  font-size: 140px;
}

.s-notfound__descr {
  margin: 20px 0;
}

.s-notfound__btn {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
}

.footer {
  padding: 50px 0px;
  background-color: var(--black);
  color: white;
}

.footer__wrapper {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
}

.footer__main {
  max-width: 350px;
}

.footer__logo {
  display: block;
  width: 300px;
}

.footer__logo img {
  display: block;
  width: 100%;
}

.footer__main-content {
  font-size: 14px;
  opacity: 0.5;
  margin: 25px 0px 0px 0px;
}

.footer__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  row-gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.footer__list a {
  transition: color 0.3s ease;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer__address {
  text-align: right;
}

.footer__tel {
  display: block;
  width: fit-content;
  font-size: 24px;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  row-gap: 20px;
  margin-top: 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer__bottom a {
  transition: color 0.3s ease;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__bottom-list {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  row-gap: 20px;
}

@media (min-width: 992px) {
  .header__mob {
    display: none;
  }

  .burger-overlay {
    display: none !important;
  }

  .burger {
    display: none !important;
  }

  .s-car__info {
    position: sticky;
    top: 80px;
  }
}

@media (min-width: 1200px) {
  .s-car__info {
    top: 100px;
  }
}

@media (max-width: 1679px) {
  .s-car__buttons {
    gap: 25px;
    row-gap: 20px;
  }
}

@media (max-width: 1539px) {
  .header__list {
    gap: 25px;
  }

  .header__tel {
    font-size: 18px;
  }

  .header__address {
    font-size: 14px;
  }

  .s-intro__slide {
    padding: 100px 0px;
  }

  .s-tradein__img {
    width: 700px;
  }

  .s-car__main {
    width: 700px;
  }

  .s-car__buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1365px) {
  .b-title {
    font-size: 42px;
  }

  .s-title {
    font-size: 36px;
  }

  .l-title {
    font-size: 32px;
  }

  .m-title {
    font-size: 26px;
  }

  .slider-scrollbar {
    margin-top: 40px;
  }

  .sect-head {
    margin-bottom: 40px;
  }

  .card-car__price .item-price {
    font-size: 22px;
  }

  .header__logo {
    width: 200px;
  }

  .header__list {
    gap: 15px;
    font-size: 15px;
  }

  .header__tel {
    font-size: 16px;
  }

  .header__address {
    font-size: 12px;
  }

  .s-adv__wrap {
    gap: 40px;
  }

  .s-adv__item {
    gap: 40px;
  }

  .s-catalog__tab-head {
    margin-bottom: 40px;
  }

  .s-offer__wrapper {
    gap: 30px;
  }

  .s-offer__img {
    width: 600px;
  }

  .s-tradein__img {
    width: 600px;
  }

  .s-steps__grid {
    gap: 30px;
  }

  .s-about__adv-title {
    font-size: 26px;
  }

  .s-about__gallery {
    width: 550px;
  }

  .s-contacts__main {
    width: 400px;
    padding: 40px 30px;
  }

  .s-contacts__tel {
    font-size: 24px;
    margin-top: 40px;
  }

  .s-contacts__info {
    margin-top: 30px;
  }

  .s-car__wrapper {
    gap: 30px;
  }

  .s-car__main {
    width: 600px;
  }

  .s-car__variation .variation-title {
    font-size: 16px;
  }

  .s-car__complecataton-title {
    font-size: 16px;
  }

  .s-car__spec {
    margin-top: 40px;
  }

  .footer {
    padding: 40px 0px;
  }

  .footer__main {
    max-width: 300px;
  }

  .footer__list {
    font-size: 16px;
    gap: 20px;
  }

  .footer__address {
    font-size: 16px;
  }

  .footer__bottom {
    justify-content: start;
  }
}

@media (max-width: 1199px) {
  .sect-m {
    margin: 80px 0px;
    scroll-margin-top: 80px;
  }

  .sect-p {
    padding: 80px 0px;
  }

  .header {
    padding: 20px 0px;
  }

  .header__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header__logo {
    width: 230px;
  }

  .header__nav {
    margin: 0px;
  }

  .header__list {
    font-size: 14px;
  }

  .header__contacts {
    display: none;
  }

  .s-intro__slide {
    min-height: 600px;
  }

  .s-adv__wrap {
    gap: 30px;
  }

  .s-adv__item {
    gap: 30px;
  }

  .s-offer__img {
    width: 480px;
  }

  .s-tradein__img {
    width: 500px;
  }

  .s-steps__grid {
    grid-template-columns: 1fr;
  }

  .s-credit__wrapper {
    flex-wrap: wrap;
  }

  .s-credit__main {
    flex: auto;
    width: 100%;
  }

  .s-credit__info {
    flex: auto;
    width: 100%;
  }

  .s-about__adv-list {
    grid-template-columns: 1fr;
  }

  .s-about__gallery {
    width: 480px;
  }

  .s-connect__form {
    margin-top: 40px;
  }

  .s-car__main {
    width: calc(50% - 15px);
  }

  .s-car__tag {
    top: 10px;
    font-size: 16px;
    padding: 10px 20px;
  }

  .s-car__info {
    padding: 30px 20px;
  }

  .s-car__content {
    font-size: 16px;
  }

  .s-car__buttons {
    margin-top: 30px;
  }

  .footer__wrapper {
    display: flex;
    flex-wrap: wrap;
  }

  .footer__main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: none;
    width: 100%;
    gap: 30px;
    row-gap: 20px;
  }

  .footer__main-content {
    margin-top: 0;
  }

  .footer__list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: none;
  }

  .footer__contacts {
    align-items: start;
    width: 100%;
    text-align: start;
  }
}

@media (max-width: 991px) {
  .body {
    font-size: 16px;
  }

  .b-title {
    font-size: 38px;
  }

  .s-title {
    font-size: 32px;
  }

  .l-title {
    font-size: 28px;
  }

  .m-title {
    font-size: 22px;
  }

  .content-box ul li::before {
    top: 7px;
  }

  .slider-scrollbar {
    margin-top: 30px;
  }

  .sect-m {
    margin: 60px 0px;
    scroll-margin-top: 60px;
  }

  .sect-p {
    padding: 60px 0px;
  }

  .sect-head {
    margin-bottom: 30px;
  }

  .header {
    padding: 15px 0px;
  }

  .header__nav {
    position: absolute;
    z-index: -9999;
    left: -9999px;
  }

  .s-intro__slide {
    padding: 90px 0px;
  }

  .s-intro__slide-logo {
    margin-bottom: 25px;
  }

  .s-adv__wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .s-adv__item:not(:last-child)::after {
    display: none;
  }

  .s-catalog__head {
    align-items: start;
  }

  .s-catalog__nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
  }

  .s-catalog__tab-head {
    margin-bottom: 30px;
  }

  .s-catalog__toggle {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 15px 10px 15px;
    margin: 15px -15px 0 -15px;
  }

  .s-catalog__toggle-btn {
    gap: 16px;
  }

  .s-catalog__toggle-btn._active::before {
    right: 16px;
  }

  .s-catalog__slider {
    overflow: visible !important;
  }

  .s-catalog__slider .swiper-slide {
    width: 400px !important;
    max-width: 100%;
  }

  .s-offer__wrapper {
    flex-direction: column-reverse;
    padding: 60px 0px;
  }

  .s-offer__img {
    display: none;
  }

  .s-offer__info {
    flex: auto;
    width: 100%;
  }

  .s-offer__info {
    padding: 0;
  }

  .s-tradein__wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .s-tradein__info {
    max-width: none;
    width: 100%;
  }

  .s-tradein__btn {
    margin-top: 30px;
  }

  .s-tradein__img {
    width: 800px;
  }

  .s-credit__info-banks {
    margin-top: 30px;
  }

  .s-about__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .s-about__info {
    flex: auto;
  }

  .s-about__content {
    margin-top: 25px;
  }

  .s-about__adv-block {
    margin-top: 30px;
  }

  .s-about__adv-title {
    font-size: 22px;
  }

  .s-about__adv-list {
    margin-top: 25px;
    grid-template-columns: repeat(2, 1fr);
  }

  .s-about__gallery {
    position: static;
    width: 700px;
    max-width: 100%;
  }

  .s-about__gallery .slider-scrollbar {
    margin-top: 30px;
  }

  .s-connect::before {
    background: rgba(26, 26, 26, 0.6);
  }

  .s-connect__form {
    margin-top: 30px;
  }

  .s-contacts__wrapper {
    flex-wrap: wrap;
  }

  .s-contacts__main {
    width: 100%;
  }

  .s-contacts__map {
    flex: auto;
    width: 100%;
    min-height: 400px;
  }

  .s-car__wrapper {
    flex-wrap: wrap;
  }

  .s-car__main {
    width: 100%;
  }

  .s-car__thumb-slider {
    margin-top: 20px;
  }

  .s-car__info {
    flex: auto;
    width: 100%;
  }

  .s-car__price .item-val {
    font-size: 22px;
  }

  .s-car__variations {
    grid-template-columns: 1fr;
  }

  .s-car__buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .s-car__spec {
    margin-top: 30px;
  }

  .s-car__spec-nav {
    margin-bottom: 20px;
  }

  .s-methods::before {
    background: linear-gradient(
      270deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.64) 50.59%,
      rgba(255, 255, 255, 0.82) 62.57%,
      rgba(255, 255, 255, 0.95) 78.17%,
      #fff 92.2%
    );
  }

  .s-methods__item {
    padding: 25px;
  }

  .s-methods__item .item-num {
    font-size: 60px;
  }

  .s-methods__item .item-icon {
    width: 80px;
  }

  .s-methods__item .item-title {
    font-size: 28px;
  }

  .footer__bottom {
    margin-top: 30px;
  }
}

@media (any-hover: hover) and (max-width: 991px) {
  .s-catalog__toggle-btn:hover::before {
    right: 16px;
  }
}

@media (hover: none) and (max-width: 991px) {
  .s-catalog__toggle-btn:active::before {
    right: 16px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 10px;
  }

  .container-b {
    padding: 0 10px;
  }

  .b-title {
    font-size: 36px;
  }

  .m-title {
    font-size: 20px;
  }

  .slider-pagination .swiper-pagination-bullet {
    width: 38px;
    height: 3px;
  }

  .card-car__title {
    margin-top: 20px;
  }

  .card-car__price {
    padding-top: 20px;
  }

  .card-car__buttons {
    gap: 12px;
  }

  .modal {
    padding: 35px 20px 20px 20px;
  }

  .modal__close {
    width: 22px;
    height: 22px;
  }

  .modal__form .form-grid {
    gap: 16px;
  }

  .check-wrapper .wpcf7-list-item-label {
    font-size: 14px;
  }

  .check-wrapper .wpcf7-list-item-label::before {
    width: 20px;
    height: 20px;
  }

  .card-promo__body {
    padding: 25px 16px;
  }

  .header {
    padding: 10px 0px;
  }

  .s-intro__slide {
    padding: 60px 0px;
  }

  .s-catalog__nav {
    width: 100%;
    align-items: start;
  }

  .s-catalog__nav-wrap {
    flex-wrap: wrap;
  }

  .s-catalog__toggle {
    padding: 0 10px 10px 10px;
    margin: 15px -10px 0 -10px;
  }

  .s-offer__form .form-grid {
    gap: 16px;
  }

  .s-steps__item {
    gap: 20px;
  }

  .s-steps__item .item-img {
    width: 80px;
  }

  .s-steps__item .item-title {
    font-size: 26px;
  }

  .s-steps__item .item-content {
    margin-top: 15px;
  }

  .s-credit__form .form-grid {
    gap: 16px;
  }

  .s-credit__form .input-control {
    grid-column: 2 span;
  }

  .s-credit__info-banks {
    gap: 16px;
  }

  .s-about__adv-title {
    font-size: 20px;
  }

  .s-about__gallery .slider-scrollbar {
    margin-top: 20px;
  }

  .s-connect__form .form-grid {
    gap: 16px;
  }

  .s-contacts__main {
    padding: 30px 20px;
  }

  .s-contacts__tel {
    font-size: 20px;
    margin-top: 30px;
  }

  .s-contacts__info-item .item-title {
    margin-top: 6px;
  }

  .s-contacts__buttons {
    margin-top: 25px;
    gap: 16px;
  }

  .s-contacts__map {
    min-height: 350px;
  }

  .s-car__buttons {
    gap: 15px;
    grid-template-columns: 1fr;
  }

  .s-car__spec-spoller-btn {
    padding: 12px 0px;
  }

  .s-methods__grid {
    gap: 20px;
  }

  .s-methods__item {
    padding: 20px;
  }

  .s-methods__item .item-num {
    font-size: 50px;
  }

  .s-methods__item .item-icon {
    width: 70px;
  }

  .s-methods__item .item-title {
    font-size: 26px;
  }
}

@media (max-width: 575px) {
  .s-intro__slide {
    min-height: 500px;
  }

  .s-adv__item .item-name {
    font-size: 28px;
  }

  .s-promo__slider .swiper-slide {
    width: 380px !important;
  }

  .s-offer__form .form-grid .input-control {
    grid-column: 2 span;
  }

  .s-steps__item .item-img {
    width: 60px;
  }

  .s-credit__info-banks {
    grid-template-columns: 1fr;
  }

  .s-about {
    overflow: hidden;
  }

  .s-about__adv-list {
    grid-template-columns: 1fr;
  }

  .s-about__thumb-slider {
    overflow: visible !important;
  }

  .s-about__thumb-slider .swiper-slide {
    width: 140px !important;
  }

  .s-connect__form .form-grid .input-control {
    grid-column: 2 span;
  }

  .s-car__tag {
    top: 5px;
    font-size: 14px;
    padding: 8px 15px;
  }

  .s-car__price {
    gap: 20px;
  }

  .s-car__price .item-val {
    font-size: 20px;
  }

  .s-car__complectation-btn {
    width: 100%;
  }

  .s-car__spec-nav-btn {
    width: 100%;
  }

  .s-methods__grid {
    grid-template-columns: 1fr;
  }

  .footer__wrapper {
    align-items: center;
    text-align: center;
  }

  .footer__main {
    flex-direction: column;
    align-items: center;
  }

  .footer__list {
    align-items: center;
    flex-direction: column;
  }

  .footer__contacts {
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__bottom-list {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .s-adv__wrap {
    gap: 20px;
  }

  .s-adv__item .item-name {
    font-size: 24px;
  }
}

@media (any-hover: hover) {
  .btn-s:hover {
    background-color: var(--background-h);
    border-color: var(--border-h);
    color: var(--color-h);
  }

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

  .slider-pagination .swiper-pagination-bullet:hover {
    opacity: 1;
  }

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

  .modal__close:hover {
    opacity: 0.8;
  }

  .check-wrapper .wpcf7-list-item-label a:hover {
    text-decoration: underline;
  }

  .select-item:hover {
    background-color: var(--background-h);
  }

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

  .header__tel:hover {
    color: var(--black);
  }

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

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

  .burger__tel:hover {
    color: var(--black);
  }

  .s-catalog__nav-btn:hover {
    background-color: var(--background-h);
    color: var(--color-h);
    border-color: var(--border-h);
  }

  .s-catalog__nav-btn:hover .logo-dark {
    display: none;
  }

  .s-catalog__nav-btn:hover .logo-white {
    display: block;
  }

  .s-catalog__toggle-btn:hover::before {
    right: 20px;
  }

  .s-about__slider .swiper-slide:hover img {
    transform: scale(1.08);
  }

  .s-about__thumb-slider .swiper-slide:hover::before {
    opacity: 0.5;
  }

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

  .s-car__slide:hover img {
    transform: scale(1.08);
  }

  .s-car__thumb-slide:hover::before {
    opacity: 0.5;
  }

  .s-car__variation .variation-item:hover::before {
    opacity: 1;
  }

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

  .s-car__spec-nav-btn:hover {
    border-color: var(--primary);
  }

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

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

  .footer__bottom a:hover {
    color: white;
  }
}

@media (hover: none) {
  .btn-s:active {
    background-color: var(--background-h);
    border-color: var(--border-h);
    color: var(--color-h);
  }

  .content-box a:active {
    text-decoration: none;
  }

  .slider-pagination .swiper-pagination-bullet:active {
    opacity: 1;
  }

  .card-car__title:active {
    color: var(--primary);
  }

  .modal__close:active {
    opacity: 0.8;
  }

  .check-wrapper .wpcf7-list-item-label a:active {
    text-decoration: underline;
  }

  .select-item:active {
    background-color: var(--background-h);
  }

  .header__list a:active {
    color: var(--primary);
  }

  .header__tel:active {
    color: var(--black);
  }

  .burger__close:active {
    color: var(--primary);
  }

  .burger__list a:active {
    color: var(--primary);
  }

  .burger__tel:active {
    color: var(--black);
  }

  .s-catalog__nav-btn:active {
    background-color: var(--background-h);
    color: var(--color-h);
    border-color: var(--border-h);
  }

  .s-catalog__nav-btn:active .logo-dark {
    display: none;
  }

  .s-catalog__nav-btn:active .logo-white {
    display: block;
  }

  .s-catalog__toggle-btn:active::before {
    right: 20px;
  }

  .s-about__slider .swiper-slide:active img {
    transform: scale(1.08);
  }

  .s-about__thumb-slider .swiper-slide:active::before {
    opacity: 0.5;
  }

  .s-contacts__tel:active {
    color: var(--primary);
  }

  .s-car__slide:active img {
    transform: scale(1.08);
  }

  .s-car__thumb-slide:active::before {
    opacity: 0.5;
  }

  .s-car__variation .variation-item:active::before {
    opacity: 1;
  }

  .s-car__complectation-btn:active {
    border-color: var(--primary);
  }

  .s-car__spec-nav-btn:active {
    border-color: var(--primary);
  }

  .footer__list a:active {
    color: var(--primary);
  }

  .footer__tel:active {
    color: var(--primary);
  }

  .footer__bottom a:active {
    color: white;
  }
}

.wpcf7-spinner,
.wpcf7-response-output {
  display: none !important;
}

.b-cookie {
  position: fixed;
  left: 15px;
  bottom: 15px;
  z-index: 500;
  border: #f7f4ed;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0px 0px 12px -3px rgba(0, 0, 0, 0.25);
  width: 500px;
  max-width: calc(100% - 30px);
  font-size: 15px;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}
.b-cookie._open {
  opacity: 1;
  transform: translate(0, 0);
  visibility: visible;
}
.b-cookie._hide {
  opacity: 0;
}
.b-cookie__body {
  padding: 15px 20px 20px 20px;
}
.b-cookie__content {
  margin: 0;
}
.b-cookie__content a {
  text-decoration: underline;
}
.b-cookie__content a:hover {
  text-decoration: none;
}
.b-cookie__btn {
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  width: 100%;
  max-width: 100%;
  padding: 12px 20px;
  border-radius: 4px;
  margin-top: 15px;

  user-select: none;
  background-color: var(--primary);
  color: white;

  transition: opacity 0.3s ease;
}
.b-cookie__btn:hover {
  opacity: 0.8;
}