html,
body {
  background: #000;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body {
  padding-top: 90px;
}

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  transition: transform 0.35s ease, padding 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
  transform: translateY(0);
}
.header.scrolled {
  padding: 15px 0;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.55);
}
.header.header--hidden {
  transform: translateY(-100%);
}
.header__logo {
  margin-left: 40px;
  z-index: 2000;
}
.header__logo img {
  max-width: 150px;
  height: auto;
  display: block;
}
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-right: 40px;
  cursor: pointer;
  z-index: 3000;
  background: transparent;
  border: none;
  padding: 0;
}
.header__burger span {
  width: 30px;
  height: 3px;
  background: #f4f1f5;
  transition: 0.4s ease;
  transform-origin: center;
  display: block;
}
.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.header__burger.active span:nth-child(2) {
  opacity: 0;
}
.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.header__nav {
  margin-right: 40px;
}
.header__nav ul {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.header__nav ul li {
  list-style: none;
  white-space: nowrap;
}
.header__nav ul li a {
  text-decoration: none;
  color: #f4f1f5;
  font-size: clamp(10px, 1.2vw, 14px);
  font-family: russoone;
  letter-spacing: 1px;
  white-space: nowrap;
  position: relative;
  transition: all 0.3s ease;
}
.header__nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background: linear-gradient(180deg, rgba(255, 155, 61, 0.7960784314) 0%, #ff6a00 100%);
  transition: transform 0.35s ease;
}
.header__nav ul li a:hover, .header__nav ul li a:focus, .header__nav ul li a:active {
  color: #ff6a00;
}
.header__nav ul li a:hover::after, .header__nav ul li a:focus::after, .header__nav ul li a:active::after {
  transform: translateX(-50%) scaleX(1);
}
.header__nav ul li:last-child a {
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(255, 155, 61, 0.7960784314) 0%, #ff6a00 100%);
  color: #f4f1f5;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(255, 106, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease;
}
.header__nav ul li:last-child a::after {
  display: none;
}
.header__nav ul li:last-child a:hover {
  transform: scale(1.05);
}
.header__nav ul li:last-child a:focus, .header__nav ul li:last-child a:active {
  transform: scale(1.01);
}
.header__nav--desktop {
  display: block;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1400;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  padding: 96px 22px 34px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  transition: transform 0.38s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu ul {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.mobile-menu li {
  width: 100%;
  list-style: none;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-menu li a {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #f4f1f5;
  font-size: clamp(17px, 5vw, 24px);
  line-height: 1.15;
  font-family: russoone;
  letter-spacing: 0.7px;
  border-radius: 12px;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.mobile-menu li a:hover, .mobile-menu li a:focus, .mobile-menu li a:active {
  color: #ff9b3d;
  background: rgba(255, 255, 255, 0.04);
}
.mobile-menu li:last-child a {
  margin-top: 6px;
  min-height: 56px;
  background: linear-gradient(180deg, rgba(255, 155, 61, 0.7960784314) 0%, #ff6a00 100%);
  color: #f4f1f5;
  justify-self: center;
}
.mobile-menu li:last-child a:hover, .mobile-menu li:last-child a:focus, .mobile-menu li:last-child a:active {
  color: #f4f1f5;
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.35);
}
.mobile-menu.active li {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.active li:nth-child(1) {
  transition-delay: 0.06s;
}
.mobile-menu.active li:nth-child(2) {
  transition-delay: 0.12s;
}
.mobile-menu.active li:nth-child(3) {
  transition-delay: 0.18s;
}
.mobile-menu.active li:nth-child(4) {
  transition-delay: 0.24s;
}
.mobile-menu.active li:nth-child(5) {
  transition-delay: 0.3s;
}
.mobile-menu.active li:nth-child(6) {
  transition-delay: 0.36s;
}
.mobile-menu.active li:nth-child(7) {
  transition-delay: 0.42s;
}

@media (max-width: 1024px) {
  .header__burger {
    display: flex;
  }
  .header__nav--desktop {
    display: none;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 76px;
  }
  .header__logo {
    margin-left: 20px;
  }
  .header__logo img {
    max-width: 100px;
  }
  .header__burger {
    margin-right: 20px;
  }
  .mobile-menu {
    padding: 28px 18px;
    border-radius: 20px;
  }
  .mobile-menu ul {
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .header__logo img {
    max-width: 80px;
  }
  .mobile-menu {
    padding: 24px 16px;
  }
  .mobile-menu li a {
    font-size: clamp(18px, 5vw, 24px);
  }
  .mobile-menu li:last-child a {
    width: 100%;
    max-width: 260px;
    padding: 14px 18px;
  }
}
@font-face {
  font-family: inter;
  src: url(../fonts/Inter_18pt-Medium.ttf);
}
@font-face {
  font-family: russoone;
  src: url(../fonts/RussoOne-Regular.ttf);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

@font-face {
  font-family: inter;
  src: url(../fonts/Inter_18pt-Medium.ttf);
}
@font-face {
  font-family: oswald;
  src: url(../fonts/Oswald-Medium.ttf);
}
@font-face {
  font-family: russoone;
  src: url(../fonts/RussoOne-Regular.ttf);
}
body.catalog-page {
  min-height: 100vh;
  background: #000000;
  color: #f4f1f5;
  font-family: inter, sans-serif;
}

.catalog-main {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 18% 18%, rgba(255, 106, 0, 0.12), transparent 26%), radial-gradient(circle at 88% 4%, rgba(255, 106, 0, 0.08), transparent 28%), linear-gradient(180deg, #050505 0%, #000000 100%);
}

.catalog-hero {
  position: relative;
  padding: 155px 40px 105px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.72)), radial-gradient(circle at 78% 42%, rgba(255, 106, 0, 0.18), transparent 32%), #000000;
  overflow: hidden;
}
.catalog-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.12);
  filter: blur(80px);
  pointer-events: none;
}
.catalog-hero::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.55), transparent);
}
.catalog-hero__container {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  margin: 0 auto;
}
.catalog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: end;
  gap: 70px;
}
.catalog-hero__content {
  max-width: 880px;
}
.catalog-hero__badge {
  width: fit-content;
  margin: 0 0 24px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 106, 0, 0.28);
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.08);
  color: #ff9b3d;
  font-family: russoone, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.catalog-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #f4f1f5;
  font-family: russoone, sans-serif;
  font-size: clamp(48px, 6vw, 94px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.catalog-hero h1 span {
  display: block;
  color: #ff6a00;
  text-shadow: 0 0 44px rgba(255, 106, 0, 0.28);
}
.catalog-hero__text {
  max-width: 680px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
}
.catalog-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.catalog-hero__btn, .catalog-hero__link {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: russoone, sans-serif;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.25s ease;
}
.catalog-hero__btn {
  background: linear-gradient(135deg, #ff6a00, #ff9b3d);
  color: #000000;
  box-shadow: 0 20px 55px rgba(255, 106, 0, 0.28);
}
.catalog-hero__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(255, 106, 0, 0.38);
}
.catalog-hero__link {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: #f4f1f5;
}
.catalog-hero__link:hover {
  border-color: rgba(255, 106, 0, 0.55);
  color: #ff9b3d;
}
.catalog-hero__panel {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)), rgba(10, 10, 10, 0.86);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}
.catalog-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.18), transparent 48%);
  pointer-events: none;
}
.catalog-hero__panel-top, .catalog-hero__panel-stat, .catalog-hero__panel-list {
  position: relative;
  z-index: 2;
}
.catalog-hero__panel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 800;
}
.catalog-hero__panel-top strong {
  color: #ff9b3d;
  font-family: russoone, sans-serif;
  font-weight: 400;
}
.catalog-hero__panel-stat {
  margin-bottom: 28px;
}
.catalog-hero__panel-stat strong {
  display: block;
  color: #f4f1f5;
  font-family: russoone, sans-serif;
  font-size: 78px;
  font-weight: 400;
  line-height: 0.9;
}
.catalog-hero__panel-stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 800;
}
.catalog-hero__panel-list {
  display: grid;
  gap: 12px;
}
.catalog-hero__panel-list p {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}
.catalog-hero__panel-list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6a00;
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.8);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 46px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 800;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s ease;
}
.breadcrumbs a:hover {
  color: #ff6a00;
}
.breadcrumbs span:last-child {
  color: #ff6a00;
}

.catalog-cars {
  position: relative;
  padding: 95px 40px 120px;
}
.catalog-cars::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 72%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.cars-container {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.cars__title {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  align-items: end;
  gap: 42px;
  margin-bottom: 48px;
}
.cars__title h2 {
  margin: 0;
  color: #f4f1f5;
  font-family: russoone, sans-serif;
  font-size: clamp(34px, 4.5vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.cars__title h2 span {
  color: #ff6a00;
}

.cars__title-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 26px;
}
.cars__title-inner p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.catalog-search input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  color: #f4f1f5;
  font-family: inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.catalog-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}
.catalog-search input:focus {
  border-color: rgba(255, 106, 0, 0.65);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.1);
}

.cars__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.cars-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.1), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)), #0b0c0f;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.cars-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 106, 0, 0.45);
  box-shadow: 0 34px 90px rgba(255, 106, 0, 0.13);
}
.cars-card:hover img {
  transform: scale(1.055);
}
.cars-card:hover .cars-card__arrow {
  background: #ff6a00;
  color: #000000;
  border-color: #ff6a00;
}
.cars-card:focus-visible {
  outline: 2px solid rgba(255, 106, 0, 0.8);
  outline-offset: 4px;
}
.cars-card__image {
  position: relative;
  overflow: hidden;
  height: 245px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.09), transparent 48%), #050505;
}
.cars-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.cars-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  max-width: calc(100% - 96px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.92);
  box-shadow: 0 12px 30px rgba(255, 106, 0, 0.25);
  color: #000000;
  font-family: russoone, sans-serif;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}
.cars-card__grade {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
  color: #f4f1f5;
  font-family: russoone, sans-serif;
  font-size: 12px;
  line-height: 1;
}
.cars-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.cars-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.cars-card__title {
  margin: 0;
  color: #f4f1f5;
  font-family: russoone, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
}
.cars-card__complectation {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.cars-card__meta {
  display: none;
}
.cars-card__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.cars-card__specs div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.035);
}
.cars-card__specs span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cars-card__specs strong {
  display: block;
  overflow: hidden;
  color: #f4f1f5;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
}
.cars-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cars-card__price-label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cars-card__price {
  color: #f4f1f5;
  font-family: russoone, sans-serif;
  font-size: 19px;
  line-height: 1.2;
}
.cars-card__arrow {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  color: #f4f1f5;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.catalog-loading,
.catalog-empty {
  grid-column: 1/-1;
  min-height: 140px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.09), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.cars-card__modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cars-card__modal.active {
  display: flex;
}

.cars-card__modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
}

.cars-card__modal-body {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 106, 0, 0.1), transparent 24%), linear-gradient(145deg, #101114, #050506);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
}

.cars-card__modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f1f5;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.cars-card__modal-close:hover {
  background: #ff6a00;
  color: #000000;
}

.cars-card__modal-scroll {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  max-height: calc(100vh - 48px);
  padding: 34px;
  overflow-y: auto;
}

.cars-card__modal-image {
  overflow: hidden;
  min-height: 430px;
  border-radius: 26px;
  background: #080808;
}
.cars-card__modal-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cars-card__modal-content {
  padding: 10px 0;
}

.cars-card__modal-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.16);
  color: #ff9b3d;
  font-family: russoone, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
}

.cars-card__modal-title {
  margin: 0 0 16px;
  color: #f4f1f5;
  font-family: russoone, sans-serif;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.05;
}

.cars-card__modal-price {
  margin-bottom: 24px;
  color: #f4f1f5;
  font-family: russoone, sans-serif;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
}

.cars-card__modal-grade,
.cars-card__modal-complectation {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}
.cars-card__modal-grade span,
.cars-card__modal-complectation span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.cars-card__modal-grade strong,
.cars-card__modal-complectation strong {
  color: #f4f1f5;
  font-size: 16px;
  line-height: 1.35;
}

.cars-card__modal-info {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.cars-card__modal-info div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cars-card__modal-info span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  font-weight: 700;
}
.cars-card__modal-info strong {
  color: #f4f1f5;
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
}

.cars-card__modal-link,
.cars-card__modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 8px;
  padding: 0 22px;
  border-radius: 15px;
  font-family: russoone, sans-serif;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cars-card__modal-link {
  margin-right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f1f5;
}
.cars-card__modal-link:hover {
  border-color: rgba(255, 106, 0, 0.55);
  color: #ff9b3d;
}

.cars-card__modal-btn {
  background: linear-gradient(135deg, #ff6a00, #ff9b3d);
  color: #000000;
}
.cars-card__modal-btn:hover {
  background: #ff9b3d;
}

@media (max-width: 1380px) {
  .catalog-hero {
    padding: 140px 32px 90px;
  }
  .catalog-hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 42px;
  }
  .catalog-hero__content {
    max-width: 820px;
  }
  .catalog-hero__panel {
    max-width: 520px;
  }
  .catalog-cars {
    padding: 82px 32px 105px;
  }
  .cars__title {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
  }
  .cars__title-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cars__title-inner p {
    max-width: 760px;
  }
  .cars__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .catalog-hero {
    padding: 118px 20px 70px;
  }
  .catalog-hero::before {
    right: -220px;
    bottom: -220px;
    width: 420px;
    height: 420px;
  }
  .catalog-hero::after {
    left: 20px;
    right: 20px;
  }
  .catalog-hero__grid {
    gap: 34px;
  }
  .catalog-hero h1 {
    font-size: clamp(38px, 12vw, 62px);
    line-height: 1;
    letter-spacing: -0.035em;
  }
  .catalog-hero__text {
    max-width: 100%;
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.55;
  }
  .catalog-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
  }
  .catalog-hero__btn, .catalog-hero__link {
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    font-size: 12px;
  }
  .catalog-hero__panel {
    width: 100%;
    max-width: none;
    padding: 22px;
    border-radius: 24px;
  }
  .catalog-hero__panel-top {
    margin-bottom: 26px;
    font-size: 13px;
  }
  .catalog-hero__panel-stat {
    margin-bottom: 24px;
  }
  .catalog-hero__panel-stat strong {
    font-size: 58px;
  }
  .catalog-hero__panel-stat span {
    font-size: 14px;
  }
  .catalog-hero__panel-list {
    gap: 10px;
  }
  .catalog-hero__panel-list p {
    font-size: 13px;
    line-height: 1.45;
  }
  .breadcrumbs {
    gap: 8px;
    margin-bottom: 32px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 12px;
  }
  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }
  .catalog-cars {
    padding: 64px 20px 86px;
  }
  .cars__title {
    margin-bottom: 34px;
  }
  .cars__title h2 {
    font-size: clamp(34px, 11vw, 54px);
    line-height: 1;
  }
  .cars__title-inner p {
    font-size: 14px;
    line-height: 1.55;
  }
  .catalog-search input {
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 14px;
  }
  .cars__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cars-card {
    min-height: auto;
    border-radius: 24px;
  }
  .cars-card:hover {
    transform: none;
  }
  .cars-card__image {
    height: 230px;
  }
  .cars-card__content {
    padding: 18px;
  }
  .cars-card__title {
    font-size: 19px;
  }
  .cars-card__specs {
    gap: 8px;
  }
  .cars-card__specs div {
    padding: 12px;
    border-radius: 15px;
  }
  .cars-card__specs strong {
    font-size: 12px;
  }
  .cars-card__price {
    font-size: 17px;
  }
  .cars-card__arrow {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
  .cars-card__modal {
    padding: 14px;
  }
  .cars-card__modal-body {
    max-height: calc(100vh - 28px);
    border-radius: 24px;
  }
  .cars-card__modal-scroll {
    grid-template-columns: 1fr;
    gap: 22px;
    max-height: calc(100vh - 28px);
    padding: 18px;
  }
  .cars-card__modal-image {
    min-height: 260px;
    border-radius: 18px;
  }
  .cars-card__modal-content {
    padding: 0;
  }
  .cars-card__modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
  .cars-card__modal-title {
    font-size: 28px;
  }
  .cars-card__modal-price {
    font-size: 23px;
  }
  .cars-card__modal-link,
  .cars-card__modal-btn {
    width: 100%;
    margin-right: 0;
  }
}
@media (max-width: 480px) {
  .catalog-hero {
    padding: 106px 16px 58px;
  }
  .catalog-hero h1 {
    font-size: clamp(34px, 13vw, 46px);
  }
  .catalog-hero__text {
    font-size: 14px;
    display: none;
  }
  .catalog-hero__btn, .catalog-hero__link {
    min-height: 50px;
    border-radius: 14px;
  }
  .catalog-hero__panel {
    padding: 18px;
    border-radius: 22px;
  }
  .catalog-hero__panel-stat strong {
    font-size: 48px;
  }
  .cars__inner {
    grid-template-columns: 1fr;
  }
  .breadcrumbs {
    margin-bottom: 26px;
  }
  .catalog-cars {
    padding: 54px 16px 72px;
  }
  .cars__title h2 {
    font-size: 34px;
  }
  .cars-card {
    border-radius: 22px;
  }
  .cars-card__image {
    height: 205px;
  }
  .cars-card__badge {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 82px);
    padding: 7px 10px;
    font-size: 9px;
  }
  .cars-card__grade {
    top: 12px;
    right: 12px;
    min-width: 42px;
    height: 28px;
    font-size: 11px;
  }
  .cars-card__specs {
    grid-template-columns: 1fr;
  }
  .cars-card__bottom {
    gap: 10px;
  }
  .cars-card__modal-info div {
    flex-direction: column;
    gap: 4px;
  }
  .cars-card__modal-info strong {
    text-align: left;
  }
  .cars-card__modal-image {
    min-height: 220px;
  }
}
.footer {
  width: 100%;
  padding: 64px 32px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
}
.footer-container {
  width: 100%;
  max-width: 1720px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 360px;
}
.footer__logo {
  font-size: 34px;
  line-height: 1;
  font-family: russoone;
  font-weight: 700;
  color: #f4f1f5;
  text-decoration: none;
}
.footer__logo span {
  color: #ff5a00;
}
.footer__text {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 320px;
}
.footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__socials a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.footer__socials a:hover {
  background: rgba(255, 106, 0, 0.08);
  transform: translateY(-2px);
}
.footer__socials a img {
  width: 100%;
  max-width: 48px;
  object-fit: contain;
}
.footer__nav, .footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer__nav h3, .footer__contacts h3 {
  font-size: 22px;
  line-height: 1.2;
  font-family: russoone;
  color: #f4f1f5;
  letter-spacing: 1px;
}
.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__nav a {
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__nav a:hover {
  color: #ff5a00;
}
.footer__contacts {
  gap: 20px;
}
.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__contact-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer__contact-item a,
.footer__contact-item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: #f4f1f5;
  text-decoration: none;
}
.footer__contact-item a:hover {
  color: #ff5a00;
}

@media (max-width: 1440px) {
  .footer {
    padding: 56px 24px 36px;
  }
  .footer-container {
    gap: 40px;
  }
  .footer__logo {
    font-size: 52px;
  }
  .footer__text {
    font-size: 15px;
    max-width: 320px;
  }
  .footer__nav h3, .footer__contacts h3 {
    font-size: 20px;
  }
  .footer__nav a, .footer__contact-item a, .footer__contact-item p {
    font-size: 15px;
  }
}
@media (max-width: 1200px) {
  .footer {
    padding: 52px 20px 34px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }
  .footer__left {
    grid-column: 1/-1;
    max-width: 100%;
  }
  .footer__text {
    max-width: 520px;
  }
  .footer__logo {
    font-size: 30px;
  }
  .footer__nav h3, .footer__contacts h3 {
    font-size: 19px;
  }
}
@media (max-width: 992px) {
  .footer {
    padding: 48px 18px 30px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }
  .footer__left {
    gap: 18px;
  }
  .footer__logo {
    font-size: 28px;
  }
  .footer__text {
    font-size: 14px;
    line-height: 1.45;
  }
  .footer__nav, .footer__contacts {
    gap: 16px;
  }
  .footer__nav h3, .footer__contacts h3 {
    font-size: 18px;
  }
  .footer__nav ul {
    gap: 10px;
  }
  .footer__nav a {
    font-size: 14px;
  }
  .footer__contact-item {
    gap: 4px;
  }
  .footer__contact-item span {
    font-size: 12px;
  }
  .footer__contact-item a,
  .footer__contact-item p {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 60px 20px 30px;
  }
  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "left left" "nav contacts";
    gap: 32px;
    max-width: 100%;
  }
  .footer__left {
    grid-area: left;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .footer__logo {
    font-size: 24px;
  }
  .footer__text {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
  }
  .footer__socials {
    display: flex;
    gap: 12px;
  }
  .footer__socials a {
    width: 56px;
    height: 56px;
  }
  .footer__socials a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .footer__nav {
    grid-area: nav;
  }
  .footer__nav h3 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .footer__nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .footer__nav ul li a {
    font-size: 13px;
  }
  .footer__contacts {
    grid-area: contacts;
  }
  .footer__contacts h3 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .footer__contacts .footer__contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
  }
  .footer__contacts .footer__contact-item span {
    font-size: 11px;
    opacity: 0.6;
  }
  .footer__contacts .footer__contact-item a,
  .footer__contacts .footer__contact-item p {
    font-size: 13px;
    line-height: 1.4;
  }
}
@media (max-width: 576px) {
  .footer {
    padding: 40px 14px 24px;
  }
  .footer-container {
    gap: 24px;
  }
  .footer__left {
    gap: 16px;
  }
  .footer__logo {
    font-size: 24px;
  }
  .footer__text {
    font-size: 13px;
    line-height: 1.4;
  }
  .footer__socials a {
    width: 54px;
    height: 54px;
  }
  .footer__socials a img {
    width: 16px;
    height: 16px;
  }
  .footer__nav, .footer__contacts {
    gap: 14px;
  }
  .footer__nav h3, .footer__contacts h3 {
    font-size: 16px;
  }
  .footer__nav ul {
    gap: 8px;
  }
  .footer__nav a {
    font-size: 13px;
  }
  .footer__contact-item span {
    font-size: 11px;
  }
  .footer__contact-item a,
  .footer__contact-item p {
    font-size: 13px;
    line-height: 1.35;
  }
}
@media (max-width: 420px) {
  .footer {
    padding: 36px 12px 22px;
  }
  .footer-container {
    gap: 20px;
  }
  .footer__logo {
    font-size: 22px;
  }
  .footer__text {
    font-size: 12px;
  }
  .footer__socials {
    gap: 8px;
  }
  .footer__socials a {
    width: 42px;
    height: 42px;
  }
  .footer__socials a img {
    width: 52px;
    height: 42px;
  }
  .footer__nav h3, .footer__contacts h3 {
    font-size: 15px;
  }
  .footer__nav a, .footer__contact-item a, .footer__contact-item p {
    font-size: 12px;
  }
  .footer__contact-item span {
    font-size: 10px;
  }
}