:root {
  --red: #e52d27;
  --red-dark: #c91f1a;
  --ink: #232323;
  --text: #5f6570;
  --muted: #9097a2;
  --line: #e8e8e8;
  --soft: #f7f7f7;
  --white: #fff;
  --black: #111;
  --shadow: 0 15px 38px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
}

.topline {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

.topline__inner {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
  padding: 13px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.logo__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.nav__links a {
  padding: 12px 0;
}

.sell-link {
  padding: 13px 22px !important;
  background: var(--red);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 8px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: var(--white);
}

.hero__slides,
.hero__slide,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__slides {
  background: #111;
}

.hero__slide {
  background-position: center;
  background-size: cover;
  animation: fadeSlide 18s infinite;
  opacity: 0;
}

.hero__slide--one {
  background-image: url("assets/vehicles/hero-vehicle-export.png");
}

.hero__slide--two {
  background-image: url("assets/vehicles/byd-seal.jpg");
  animation-delay: 6s;
}

.hero__slide--three {
  background-image: url("assets/vehicles/chery-tiggo-8-pro.jpg");
  animation-delay: 12s;
}

.hero__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.62)), linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.18));
}

@keyframes fadeSlide {
  0%, 100% { opacity: 0; transform: scale(1.04); }
  8%, 30% { opacity: 1; transform: scale(1); }
  38% { opacity: 0; transform: scale(1.02); }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 720px;
  padding-top: 120px;
}

.hero__caption {
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 600;
  line-height: 1.08;
}

.hero p {
  margin: 18px 0 0;
  font-size: 21px;
  color: rgba(255,255,255,.86);
}

.hero strong {
  color: var(--red);
}

.search-panel {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr 1fr 190px;
  gap: 0;
  max-width: 1020px;
  margin: 42px auto 0;
  padding: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}

.search-panel label {
  display: grid;
  gap: 6px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-panel input,
.search-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 0 13px;
  color: var(--text);
  background: var(--white);
}

.search-panel button,
.quote-form button {
  border: 0;
  min-height: 48px;
  color: var(--white);
  background: var(--red);
  font-weight: 700;
  cursor: pointer;
}

.search-panel button:hover,
.quote-form button:hover {
  background: var(--red-dark);
}

.search-note {
  grid-column: 1 / -1;
  margin: 10px 10px 0 !important;
  color: var(--red) !important;
  font-size: 14px !important;
}

.section {
  padding: 84px 0;
}

.body-types {
  padding: 0;
  background: var(--soft);
}

.body-types__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  transform: translateY(-46px);
}

.body-types a {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 25px 22px;
  border-bottom: 3px solid transparent;
  background: var(--white);
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  transition: .2s ease;
}

.body-types a:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.body-types img {
  width: 70px;
  height: 38px;
  object-fit: contain;
}

.body-types strong {
  color: var(--ink);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 20px;
}

.body-types span {
  color: var(--muted);
}

.heading-panel {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.heading-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.14;
}

.heading-panel h2 span {
  color: var(--red);
}

.heading-panel p {
  margin: 13px 0 0;
  color: var(--muted);
}

.featured,
.brands {
  background: var(--soft);
}

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

.car-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.ribbon {
  position: absolute;
  top: 18px;
  left: -34px;
  z-index: 3;
  width: 130px;
  padding: 5px 0;
  transform: rotate(-45deg);
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.car-card__image {
  position: relative;
  overflow: hidden;
}

.car-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
}

.car-card:hover img {
  transform: scale(1.05);
}

.price-tag {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(0,0,0,.82);
  font-weight: 700;
}

.car-card__body {
  padding: 18px;
}

.cat-title {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.car-card h3 {
  margin: 7px 0;
  color: var(--ink);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.25;
}

.location {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.car-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.car-card li {
  padding: 7px 8px;
  color: var(--text);
  background: #f4f4f4;
  font-size: 13px;
}

.car-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.car-card__foot a {
  color: var(--red);
  font-weight: 800;
}

.cta-pairs {
  background: var(--white);
}

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

.cta-pairs article {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  min-height: 260px;
  overflow: hidden;
  background: #f5f5f5;
}

.cta-pairs article > div {
  padding: 34px;
}

.cta-pairs h3 {
  margin: 0;
  color: var(--red);
  font-size: 18px;
}

.cta-pairs h2 {
  margin: 6px 0 10px;
  color: var(--ink);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 28px;
  line-height: 1.2;
}

.cta-pairs p {
  margin: 0 0 18px;
}

.cta-pairs a {
  color: var(--red);
  font-weight: 800;
}

.cta-pairs img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.stats-band {
  padding: 78px 0;
  color: var(--white);
  background: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)), url("assets/vehicles/haval-h6.jpg") center / cover fixed;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.stats-band strong {
  display: block;
  color: var(--red);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 42px;
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}

.brand-strip a {
  display: grid;
  min-height: 116px;
  place-items: center;
  padding: 18px 10px;
  border: 1px solid var(--line);
  background: var(--white);
}

.brand-strip img {
  width: 62px;
  height: 44px;
  object-fit: contain;
  filter: grayscale(100%) opacity(.65);
  transition: .2s ease;
}

.brand-strip a:hover img {
  filter: grayscale(0) opacity(1);
}

.brand-strip span {
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
}

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

.process-grid div {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.process-grid b {
  color: var(--red);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 30px;
}

.process-grid h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-family: Poppins, "Segoe UI", sans-serif;
}

.process-grid p {
  margin: 0;
}

.inquiry {
  color: var(--white);
  background: #1d1d1d;
}

.inquiry__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.inquiry h2 {
  margin: 0;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.inquiry p,
.inquiry li {
  color: rgba(255,255,255,.72);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 26px;
  background: var(--white);
}

.quote-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 0 14px;
}

.wide {
  grid-column: span 2;
}

.quote-form p {
  min-height: 20px;
  margin: 0;
  color: var(--red);
  font-weight: 700;
}

.footer {
  padding: 54px 0;
  color: rgba(255,255,255,.7);
  background: #111;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer h3,
.footer h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: Poppins, "Segoe UI", sans-serif;
}

.footer p {
  margin: 0;
}

.floating-contact {
  position: fixed;
  right: 18px;
  top: 46%;
  z-index: 50;
  display: grid;
  gap: 10px;
}

.floating-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 118px;
  padding: 10px 12px;
  color: var(--red);
  background: var(--white);
  box-shadow: var(--shadow);
  font-weight: 800;
}

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

@media (max-width: 980px) {
  .topline {
    display: none;
  }

  .nav__inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 12px;
  }

  .hero,
  .hero__content {
    min-height: 650px;
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .search-panel button {
    grid-column: span 2;
  }

  .body-types__grid,
  .car-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cta-pairs__grid,
  .inquiry__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1170px);
  }

  .logo {
    font-size: 20px;
  }

  .hero,
  .hero__content {
    min-height: auto;
  }

  .hero__content {
    padding-top: 124px;
    padding-bottom: 66px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

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

  .search-panel {
    grid-template-columns: 1fr;
    margin-top: 28px;
    padding: 14px;
  }

  .search-panel button,
  .wide {
    grid-column: auto;
  }

  .body-types__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    transform: none;
    padding-top: 18px;
  }

  .body-types a {
    min-height: 112px;
    padding: 15px 12px;
  }

  .body-types img {
    width: 50px;
    height: 30px;
  }

  .body-types strong {
    font-size: 17px;
  }

  .body-types span {
    font-size: 13px;
  }

  .section {
    padding: 56px 0;
  }

  .heading-panel {
    margin-bottom: 26px;
  }

  .heading-panel h2 {
    font-size: clamp(26px, 8vw, 32px);
  }

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

  .car-card__body {
    padding: 12px;
  }

  .car-card h3 {
    font-size: 16px;
  }

  .location {
    font-size: 12px;
  }

  .car-card ul {
    gap: 5px;
  }

  .car-card li {
    padding: 6px;
    font-size: 11px;
  }

  .car-card__foot {
    display: grid;
    padding: 10px 12px;
  }

  .ribbon {
    font-size: 10px;
  }

  .price-tag {
    padding: 6px 8px;
    font-size: 12px;
  }

  .cta-pairs article {
    grid-template-columns: 1fr;
  }

  .cta-pairs article > div {
    padding: 24px;
  }

  .cta-pairs img {
    height: 190px;
  }

  .brand-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .brand-strip a {
    min-height: 92px;
    padding: 12px 8px;
  }

  .brand-strip img {
    width: 52px;
    height: 36px;
  }

  .process-grid,
  .quote-form,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    right: 12px;
    top: auto;
    bottom: 12px;
    grid-auto-flow: column;
  }

  .floating-contact a {
    min-width: 0;
    padding: 9px;
  }

  .floating-contact a {
    font-size: 0;
  }
}

@media (max-width: 380px) {
  .car-grid {
    gap: 9px;
  }

  .car-card ul {
    display: none;
  }

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