.hero {
  position: relative;
  min-height: clamp(640px, 50.1563vw, 963px);
  height: clamp(640px, 50.1563vw, 963px);
  padding-top: calc(var(--header-top) + var(--header-h) + clamp(20px, 2vw, 38px));
  padding-bottom: clamp(32px, 3.5vw, 70px);
  overflow: hidden;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero__truck {
  position: absolute;
  left: -32px;
  right: -32px;
  top: 34.9%;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__truck img {
  position: absolute;
  top: 0.01%;
  left: 1.7%;
  width: 131.71%;
  max-width: none;
  height: 102.51%;
}

.hero__ellipse {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(19, 24, 28, 0.92) 0%,
    rgba(19, 24, 28, 0.5) 40%,
    rgba(19, 24, 28, 0) 72%
  );
}

.hero__ellipse--1 {
  left: -260px;
  top: -260px;
  width: clamp(480px, 61.0938vw, 1173px);
  height: clamp(480px, 61.0938vw, 1173px);
}

.hero__ellipse--2 {
  left: calc(6.25% + 47px);
  top: -205px;
  width: clamp(420px, 52.1354vw, 1001px);
  height: clamp(420px, 52.1354vw, 1001px);
}

.hero__ellipse--3 {
  left: calc(12.5% + 67px);
  top: -11px;
  width: clamp(280px, 32.1354vw, 617px);
  height: clamp(280px, 32.1354vw, 617px);
}

.hero__ellipse--4 {
  left: calc(68.75% + 73px);
  top: -34px;
  width: clamp(280px, 32.1354vw, 617px);
  height: clamp(280px, 32.1354vw, 617px);
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hero__title {
  position: relative;
  font-weight: 600;
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  text-transform: uppercase;
}

.hero__word--lead {
  display: block;
  width: max-content;
  max-width: 100%;
}

.hero__title-row {
  position: relative;
  display: block;
  min-height: var(--lh-hero);
  margin-top: 0;
}

.hero__word--trail {
  display: block;
  margin-left: clamp(100px, 50%, 910px);
  width: max-content;
  max-width: calc(100% - clamp(100px, 50%, 910px));
}

.hero__subtitle {
  position: absolute;
  left: clamp(60px, 29.95%, 545px);
  top: 50%;
  transform: translateY(-40%);
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: var(--fs-hero-sub);
  line-height: var(--lh-hero-sub);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.hero__cards {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(12px, 0.8333vw, 16px);
  margin-top: auto;
  padding-top: clamp(24px, 4vw, 80px);
}

.hero__offer {
  position: relative;
  z-index: 2;
  width: var(--hero-card-w);
  min-height: var(--hero-card-h);
  padding: clamp(12px, 0.7813vw, 15px);
  background-color: var(--color-white);
  border-radius: var(--radius);
  color: var(--color-black);
  display: flex;
  flex-direction: column;
}

.hero__offer-star {
  width: clamp(24px, 1.6667vw, 32px);
  height: clamp(24px, 1.6667vw, 32px);
  flex-shrink: 0;
}

.hero__offer-star img {
  width: 100%;
  height: 100%;
}

.hero__offer-body {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.5vw, 28px);
}

.hero__offer-text {
  font-weight: 500;
  font-size: var(--fs-card);
  line-height: 1.2;
}

.hero__offer-text--price {
  line-height: 1.45;
}

.hero__cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: var(--hero-cta-w);
  min-height: var(--hero-card-h);
  padding: clamp(20px, 1.5104vw, 29px) clamp(12px, 0.7813vw, 15px) clamp(16px, 1.1458vw, 22px);
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
}

.hero__cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
}

.hero__cta-arrow {
  width: clamp(40px, 2.8646vw, 55px);
  height: auto;
}

.hero__cta-label {
  font-weight: 600;
  font-size: var(--fs-cta);
  line-height: 1.25;
  text-transform: uppercase;
  text-align: left;
}

.hero__cta:hover {
  opacity: 0.92;
}

@media (max-width: 1279px) {
  .hero__word--trail {
    margin-left: clamp(40px, 30%, 400px);
  }

  .hero__subtitle {
    left: clamp(24px, 18%, 280px);
  }

  .hero__truck img {
    left: 0;
  }
}

@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: auto;
    padding-bottom: 0;
  }

  .hero__title-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
  }

  .hero__word--trail {
    order: -1;
    margin-left: 0;
    max-width: 100%;
  }

  .hero__subtitle {
    position: static;
    transform: none;
    white-space: normal;
    order: 1;
    margin-top: 4px;
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.25;
  }

  .hero__offer-text {
    font-size: clamp(17px, 4.5vw, 20px);
  }

  .hero__cta-label {
    font-size: clamp(17px, 4.5vw, 20px);
  }

  .hero__cards {
    flex-direction: column;
    margin-top: 28px;
    padding-top: 0;
    gap: 12px;
  }

  .hero__offer,
  .hero__cta {
    width: 100%;
    min-height: 180px;
    border-radius: var(--radius);
  }

  .hero__truck {
    position: relative;
    left: 0;
    right: 0;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    margin-top: 20px;
    aspect-ratio: 16 / 10;
  }

  .hero__truck img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    object-position: center;
  }

  .hero__ellipse--3,
  .hero__ellipse--4 {
    display: none;
  }
}
