/* Hero Block – matches Figma "Header / 50" */

.nb-hero-block {
  position: relative;
  width: 100%;
  min-height: 420px;
  color: #ffffff;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow: hidden;
}

.nb-hero-block__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nb-hero-block__bg-img,
.nb-hero-block__bg-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nb-hero-block__bg-placeholder {
  background: #101318;
}

.nb-hero-block__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.nb-hero-block__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 160px 80px 140px;
  display: flex;
  align-items: flex-end;
}

.nb-hero-block__content {
  max-width: 590px;
}

.nb-hero-block__title {
  margin: 0 0 20px;
  font-weight: 900;
  font-size: 62px;
  line-height: 1.1;
  letter-spacing: 3.75px;
  text-transform: uppercase;
}

.nb-hero-block__text {
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.nb-hero-block__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 30px;
  border-radius: 30px;
  background: #ff8000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease-out, transform 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

.nb-hero-block__btn:hover {
  background: #ff9326;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.nb-hero-block__btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .nb-hero-block__inner {
    padding: 120px 24px 120px;
  }

  .nb-hero-block__title {
    font-size: 40px;
    letter-spacing: 2px;
  }

  .nb-hero-block__text {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .nb-hero-block__inner {
    padding: 100px 20px 100px;
  }

  .nb-hero-block__title {
    font-size: 32px;
    letter-spacing: 1.5px;
  }
}
