@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

:root {
  --nav-bg: #010E14;
  --nav-fg: #ffffff;
  --nav-height: 4.25rem;
  --nav-pad-x: clamp(1rem, 4vw, 3rem);
  --models-surface: #ebebec;
  --models-text: #0a0a0a;
  --models-segment-active: #2d8646;
  --models-segment-idle: #d5d5d3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: #010E14;
  color: #07121a;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

main {
  padding-top: calc(var(--nav-height) + 1.5rem);
}

.offers-hero {
  width: min(94rem, 95vw);
  min-height: 16.625rem;
  margin: 0 auto 2.5rem;
  padding: clamp(2rem, 5vw, 4.25rem) clamp(1rem, 3.6vw, 2.5rem);
  display: grid;
  place-items: center;
  text-align: center;
}

.offers-hero__content {
  max-width: 56rem;
}

.offers-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.offers-hero p {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 1.25vw, 1.2rem);
  line-height: 1.5;
  font-weight: 300;
}

.offers-vehicle-banner {
  width: min(94rem, 100%);
  margin: 0 auto 3rem;
  position: relative;
  overflow: hidden;
}

.offers-vehicle-banner__image-wrap {
  position: relative;
  width: 100%;
  min-height: clamp(17rem, 46vw, 34rem);
}

.offers-vehicle-banner__image-wrap picture {
  display: block;
  width: 100%;
}

.offers-vehicle-banner__image-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.offers-vehicle-banner__image-wrap::before,
.offers-vehicle-banner__image-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
}

.offers-vehicle-banner__image-wrap::before {
  top: 0;
  height: auto;
}

.offers-vehicle-banner__image-wrap::after {
  bottom: 0;
  height: auto;
}

@media (max-width: 1023px) {
  main {
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .offers-hero {
    width: 94vw;
    min-height: 13.75rem;
    margin-bottom: 2rem;
    padding-inline: clamp(1rem, 4vw, 2rem);
  }

  .offers-hero h1 {
    font-size: clamp(1.65rem, 4.6vw, 2.3rem);
  }

  .offers-hero p {
    margin-top: 0.5rem;
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  }

  .offers-vehicle-banner {
    margin-bottom: 2.25rem;
  }

  .offers-vehicle-banner__image-wrap {
    min-height: clamp(14rem, 48vw, 24rem);
  }

  .offers-vehicle-banner__image-wrap img {
    object-position: center top;
  }

  .offers-vehicle-banner__image-wrap::before {
    height: 34%;
  }

  .offers-vehicle-banner__image-wrap::after {
    height: 40%;
  }
}

@media (max-width: 640px) {
  .offers-hero {
    width: 100%;
    min-height: 12rem;
    margin-bottom: 1.5rem;
    padding: 1.65rem 1rem;
  }

  .offers-hero__content {
    max-width: 21rem;
  }

  .offers-hero h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .offers-hero p {
    margin-top: 0.45rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .offers-vehicle-banner {
    margin-bottom: 1.75rem;
  }

  .offers-vehicle-banner__image-wrap {
    min-height: 13rem;
  }

  .offers-vehicle-banner__image-wrap img {
    object-position: center top;
  }

  .offers-vehicle-banner__image-wrap::before {
    height: 32%;
  }

  .offers-vehicle-banner__image-wrap::after {
    height: 46%;
  }
}