.ndp-home-hero {
  --ndp-hero-accent: #ddb142;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  background: #171716;
  box-shadow: 0 14px 40px rgba(31, 26, 18, 0.12);
}

.ndp-home-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 588px;
  background-image:
    linear-gradient(90deg, rgba(13, 13, 12, 0.98) 0%, rgba(13, 13, 12, 0.9) 32%, rgba(13, 13, 12, 0.42) 58%, rgba(13, 13, 12, 0.08) 100%),
    url('/upload/ndparts/home/ndparts-diesel-hero-v1.webp');
  background-position: center, center;
  background-size: cover;
  background-repeat: no-repeat;
}

.ndp-home-hero__visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: '';
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%, rgba(0, 0, 0, 0.08));
}

.ndp-home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: center;
  min-height: 588px;
  width: min(61%, 690px);
  padding: 54px 56px 142px;
}

.ndp-home-hero__eyebrow {
  margin-bottom: 16px;
  color: var(--ndp-hero-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ndp-home-hero__title {
  max-width: 670px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 3.15vw, 58px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.ndp-home-hero__title span {
  color: var(--ndp-hero-accent);
}

.ndp-home-hero__lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.55;
}

.ndp-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.ndp-home-hero__button.btn {
  min-width: 190px;
  min-height: 52px;
  padding: 16px 24px;
  border: 1px solid var(--ndp-hero-accent);
  border-radius: 8px;
  color: #1d1a14;
  background: var(--ndp-hero-accent);
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.ndp-home-hero__button.btn:hover,
.ndp-home-hero__button.btn:focus {
  border-color: #edc765;
  color: #1d1a14;
  background: #edc765;
}

.ndp-home-hero__button--secondary.btn {
  color: #fff;
  background: rgba(20, 19, 17, 0.64);
  backdrop-filter: blur(6px);
}

.ndp-home-hero__button--secondary.btn:hover,
.ndp-home-hero__button--secondary.btn:focus {
  color: #fff;
  background: rgba(221, 177, 66, 0.2);
}

.ndp-home-hero__cities {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-height: 88px;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
  background: rgba(8, 8, 8, 0.48);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.ndp-home-hero__city {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 22px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.ndp-home-hero__city:last-child {
  border-right: 0;
}

.ndp-home-hero__city::before {
  display: none !important;
  content: none !important;
}

.ndp-home-hero__city-marker {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--ndp-hero-accent);
  box-shadow: 0 0 0 4px rgba(221, 177, 66, 0.13);
}

@media (max-width: 1350px) {
  .ndp-home-hero__visual {
    min-height: 558px;
    background-position: center, 58% center;
  }

  .ndp-home-hero__content {
    min-height: 558px;
    width: 64%;
    padding: 46px 42px 134px;
  }

  .ndp-home-hero__title {
    font-size: clamp(34px, 3.2vw, 48px);
  }

}

@media (max-width: 767px) {
  .ndp-home-hero {
    border-radius: 10px;
  }

  .ndp-home-hero__visual {
    min-height: 720px;
    background-image:
      linear-gradient(90deg, rgba(13, 13, 12, 0.97) 0%, rgba(13, 13, 12, 0.86) 68%, rgba(13, 13, 12, 0.54) 100%),
      url('/upload/ndparts/home/ndparts-diesel-hero-v1.webp');
    background-position: center, 66% center;
  }

  .ndp-home-hero__content {
    justify-content: flex-end;
    min-height: 720px;
    width: 100%;
    padding: 36px 24px 214px;
  }

  .ndp-home-hero__eyebrow {
    margin-bottom: 12px;
  }

  .ndp-home-hero__title {
    font-size: clamp(32px, 9vw, 43px);
  }

  .ndp-home-hero__lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .ndp-home-hero__actions {
    margin-top: 24px;
  }

  .ndp-home-hero__button.btn {
    width: 100%;
  }

  .ndp-home-hero__cities {
    grid-template-columns: repeat(2, 1fr);
  }

  .ndp-home-hero__city,
  .ndp-home-hero__city:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .ndp-home-hero__city:nth-child(even) {
    border-right: 0;
  }

  .ndp-home-hero__city:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}
