:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f5f7;
  --text: #111111;
  --muted: #666666;
  --border: #e8e8ef;
  --black: #050505;
  --white: #ffffff;
  --violet: #7c2cff;
  --shadow: 0 25px 70px rgba(124, 44, 255, 0.14);
}

body.dark {
  --bg: #070707;
  --surface: #111111;
  --surface-soft: #171717;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --border: #2b2b2b;
  --black: #ffffff;
  --white: #080808;
  --shadow: 0 25px 70px rgba(124, 44, 255, 0.22);
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

body.dark .header {
  background: rgba(7, 7, 7, 0.9);
}

.nav {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 95px;
  width: auto;
  object-fit: contain;
}

.logo-dark {
  display: none;
}

body.dark .logo-light {
  display: none;
}

body.dark .logo-dark {
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 800;
}

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

.menu-toggle {
  display: none;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--violet);
  color: var(--violet);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.2s;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--violet);
  color: white;
}

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

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--violet);
  color: white;
}

.hero {
  padding: 72px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(460px, 1.45fr);
  gap: 42px;
  align-items: center;
}

.tag,
.eyebrow {
  color: var(--violet);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 13px;
}

h1 {
  margin-top: 18px;
  font-size: clamp(45px, 6vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-title {
  text-transform: none;
}

.hero-title .accent {
  color: var(--violet);
}

h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
}

.hero p,
.lead {
  margin-top: 24px;
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
  min-height: clamp(560px, 78vh, 820px);
}

.hero-img {
  position: relative;
  height: 100%;
  min-height: clamp(560px, 78vh, 820px);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface-soft);
}

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

.services {
  padding: 80px 0;
  background: var(--surface-soft);
}

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

.service {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
}

.service h3 {
  font-size: 24px;
}

.service p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.reviews {
  padding: 90px 0;
}

.reviews-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.reviews-header .lead {
  margin-left: auto;
  margin-right: auto;
}

.reviews-score {
  margin: 28px auto 0;
  width: fit-content;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-soft);
}

.reviews-score strong {
  color: var(--violet);
  font-size: 42px;
  line-height: 1;
}

.reviews-score > div {
  display: grid;
  gap: 4px;
  text-align: left;
  font-weight: 800;
}

.reviews-score > div span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.stars {
  color: #f5b301;
  letter-spacing: 0.08em;
  font-size: 18px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
}

.review-card p {
  margin-top: 16px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 700;
}

.review-card footer {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.review-card footer strong {
  color: var(--text);
}

.reviews-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.page {
  padding: 90px 0;
}

.page-title {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 46px;
}

.page-title .lead {
  margin-left: auto;
  margin-right: auto;
}

.search {
  max-width: 620px;
  margin: 0 auto 40px;
}

.search input {
  width: 100%;
  height: 58px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  color: var(--text);
  background: var(--surface);
}

.catalog-tools {
  margin: 0 auto 34px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface-soft);
}

.catalog-tools label {
  display: grid;
  gap: 7px;
}

.catalog-tools label span {
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
}

.catalog-tools select,
.catalog-tools input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

.filter-toggle,
.filter-reset,
.compare-button {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.filter-toggle.active,
.compare-button.active {
  border-color: var(--violet);
  background: rgba(124, 44, 255, 0.1);
  color: var(--violet);
}

.filter-reset {
  color: var(--muted);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--violet);
  color: white;
  font-weight: 900;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.car-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  transition: 0.25s;
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.car-img {
  height: 245px;
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
}

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

.car-img span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: var(--surface);
  color: var(--violet);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 950;
}

.favorite-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.favorite-button.active {
  color: var(--violet);
}

.car-body {
  padding: 24px;
}

.car-body h3 {
  font-size: 23px;
}

.car-specs {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.car-specs p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.car-specs b {
  color: var(--text);
}

.see-more {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 15px;
  border: none;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  text-align: center;
}

.car-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
}

.car-actions .see-more {
  margin-top: 0;
}

.compare-button {
  border-radius: 999px;
}

.compare-bar {
  position: sticky;
  bottom: 20px;
  z-index: 40;
  width: min(760px, calc(100% - 30px));
  margin: 0 auto 28px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.compare-bar[hidden] {
  display: none;
}

.compare-bar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-bar button:not(.btn) {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.compare-bar .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.see-more:hover {
  background: var(--violet);
  color: white;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(0, 0, 0, 0.78);
  padding: 20px;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

body.modal-open {
  overflow: hidden;
}

.modal-box {
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--surface);
  color: var(--text);
  border-radius: 34px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
  z-index: 2;
}

.modal-box > img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.vehicle-gallery {
  position: relative;
  width: 100%;
  height: 430px;
  overflow: hidden;
  background: #050505;
}

.vehicle-gallery > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vehicle-gallery:fullscreen {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
}

.gallery-arrow,
.gallery-zoom {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(5, 5, 5, 0.72);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.gallery-arrow {
  top: 50%;
  width: 48px;
  height: 58px;
  border-radius: 18px;
  transform: translateY(-50%);
  font-size: 34px;
}

.gallery-prev {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

.gallery-zoom {
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 22px;
}

.gallery-count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.72);
  color: white;
  font-size: 13px;
  font-weight: 900;
  transform: translateX(-50%);
}

.modal-content {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
}

.modal-content .lead {
  white-space: pre-line;
}

.modal-details {
  background: var(--surface-soft);
  padding: 26px;
  border-radius: 26px;
}

.modal-details strong {
  display: block;
  color: var(--violet);
  font-size: 32px;
  margin-bottom: 20px;
}

.modal-details p {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.modal-contact {
  width: 100%;
  margin-top: 22px;
}

.share-section {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.share-section > span:first-child {
  font-weight: 900;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-actions a,
.share-actions button {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.share-feedback {
  min-height: 20px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 800;
}

.compare-box {
  width: min(1180px, 100%);
}

.compare-content {
  padding: 42px;
}

.compare-content > h2 {
  margin-top: 12px;
}

.comparison-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.comparison-car {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-soft);
}

.comparison-car img {
  width: 100%;
  height: 180px;
  border-radius: 18px;
  object-fit: cover;
}

.comparison-car h3 {
  margin-top: 18px;
}

.comparison-car > strong {
  display: block;
  margin-top: 8px;
  color: var(--violet);
  font-size: 22px;
}

.comparison-car dl {
  margin: 16px 0;
}

.comparison-car dl div {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.comparison-car dt {
  font-weight: 900;
}

.comparison-car dd {
  color: var(--muted);
  text-align: right;
}

.recent-section {
  padding-top: 80px;
}

.recent-section[hidden] {
  display: none;
}

.section-heading h2 {
  margin-top: 12px;
}

.recent-cars {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.recent-card {
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.recent-card img {
  width: 76px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: cover;
}

.recent-card span {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.recent-card strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-card small {
  color: var(--violet);
  font-weight: 900;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.address-box {
  margin-top: 30px;
  padding: 32px;
  border-radius: 30px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.address-box p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.address-box h2 {
  font-size: 24px;
  line-height: 1.2;
}

.map {
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

.map-consent {
  min-height: 450px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 34px;
  text-align: center;
  background: var(--surface-soft);
}

.map-pin {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--violet);
  color: white;
  font-size: 38px;
  box-shadow: 0 14px 34px rgba(124, 44, 255, 0.28);
}

.map-consent h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.map-consent p {
  max-width: 520px;
  color: var(--muted);
}

.map-actions,
.status-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.map-consent small {
  color: var(--muted);
  font-weight: 800;
}

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

.contact-vehicle {
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface-soft);
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-vehicle[hidden] {
  display: none;
}

.contact-vehicle h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 44px);
}

.contact-vehicle p {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.contact-vehicle-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-card {
  padding: 36px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  transition: 0.25s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.social-icons {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 950;
  font-size: 22px;
  transition: 0.25s;
}

.social-icon.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-icon.tiktok {
  background: #050505;
  border: 1px solid var(--border);
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.04);
}

footer {
  border-top: 1px solid var(--border);
  padding: 35px 0;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--violet);
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin-top: 38px;
  font-size: 26px;
}

.legal-content p,
.legal-content li {
  margin-top: 12px;
  color: var(--muted);
}

.legal-content ul {
  padding-left: 22px;
}

.legal-warning {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--violet);
  border-radius: 20px;
  background: var(--surface-soft);
}

.empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  background: var(--surface-soft);
  border-radius: 24px;
  font-weight: 800;
}

.catalog-status {
  grid-column: 1 / -1;
  width: min(720px, 100%);
  min-height: 360px;
  margin: 10px auto;
  padding: clamp(34px, 7vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.catalog-status h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.catalog-status p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.status-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--violet);
  color: white;
  font-size: 32px;
  font-weight: 950;
}

.loading-spinner {
  width: 54px;
  height: 54px;
  border: 5px solid var(--border);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: loading-spin 0.8s linear infinite;
}

.cache-notice {
  grid-column: 1 / -1;
  width: min(720px, 100%);
  margin: 0 auto 8px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.cache-notice span {
  margin-right: 8px;
  color: var(--violet);
  font-size: 20px;
}

@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    padding: 11px 14px;
    font-weight: 900;
    cursor: pointer;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: calc(100% - 8px);
    right: 20px;
    min-width: 220px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .primary-nav.open {
    display: flex;
  }

  .nav {
    min-height: 100px;
  }

  .logo img {
    height: 78px;
  }

  .hero-grid,
  .location-grid,
  .modal-content {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    gap: 14px;
    min-height: clamp(420px, 68vh, 640px);
  }

  .hero-img {
    min-height: clamp(420px, 68vh, 640px);
  }

  .cars-grid,
  .contact-grid,
  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-tools,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent-cars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 620px) {
  .nav {
    min-height: 86px;
  }

  .logo img {
    height: 66px;
  }

  .cars-grid,
  .contact-grid,
  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .catalog-tools,
  .comparison-grid,
  .recent-cars {
    grid-template-columns: 1fr;
  }

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

  .compare-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .compare-bar > div {
    justify-content: space-between;
  }

  .vehicle-gallery {
    height: 320px;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
  }

  .hero-img {
    min-height: 380px;
  }
}