/* =========================
   HERO
========================= */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(680px, 100vh);
  overflow: hidden;
  background-color: var(--color-black);
  font-family: 'Montserrat', sans-serif !important;
}

.hero__background-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  will-change: opacity, transform;
  transition:
    opacity 1.1s ease,
    transform 6s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.86) 0%,
      rgba(10, 10, 10, 0.68) 42%,
      rgba(10, 10, 10, 0.34) 100%
    );
}

.hero__container {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--container-padding) * 2), var(--container-width));
  margin-inline: auto;
  padding-top: calc(var(--header-height) + 32px);
}

.hero__content {
  max-width: 760px;
  color: var(--color-white);
}

.hero__badge {
  display: inline-flex;
  margin-bottom: 24px;
}

.hero__badge span {
  display: block;
  margin: 0 0 14px;
  color: #e31b33;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background-color: transparent; 
  padding: 0;
  min-height: auto;
}

.hero__title {
  font-family: 'Montserrat', sans-serif !important;
  margin: 0 0 24px;
  color: var(--color-white);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.04;
}

.hero__description {
  max-width: 720px;
  margin: 0 0 36px;
  color: rgba(245, 245, 245, 0.88);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn--large {
  min-height: 58px;
  padding: 0 30px;
  font-size: 1rem;
}

.hero__btn-primary {
  gap: 10px;
}

.hero__btn-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.hero__btn-icon svg {
  width: 100%;
  height: 100%;
}

.hero__btn-primary:hover .hero__btn-icon,
.hero__btn-primary:focus-visible .hero__btn-icon {
  transform: translateX(4px);
}

.hero__bottom-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 96px;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.26),
    rgba(10, 10, 10, 0)
  );
}

/* =========================
   LAPTOP
========================= */

@media (max-width: 1280px) {
  .hero__content {
    max-width: 700px;
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 991px) {
  .hero {
    min-height: 760px;
  }

  .hero__container {
    padding-top: calc(var(--header-height) + 24px);
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__title {
    font-size: clamp(2.4rem, 7vw, 4.5rem);
  }

  .hero__description {
    max-width: 620px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
  .hero {
    min-height: 680px;
  }

  .hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.72) 0%,
        rgba(10, 10, 10, 0.58) 45%,
        rgba(10, 10, 10, 0.78) 100%
      );
  }

  .hero__container {
    padding-top: calc(var(--header-height) + 16px);
  }

  .hero__badge {
    margin-bottom: 20px;
  }

  .hero__badge span {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.75rem;
  }

  .hero__title {
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    line-height: 1.06;
  }

  .hero__description {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--large {
    width: 100%;
    min-height: 54px;
    padding: 0 24px;
  }

  .hero__bottom-fade {
    height: 72px;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {
  .hero {
    min-height: 620px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero__description {
    font-size: 0.96rem;
  }
}

.about__badge {
  margin-bottom: 0; 
}

.about__badge span {
  display: block;
  margin: 0 0 14px;
  color: #e31b33;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background-color: transparent;
  padding: 0;
  min-height: auto;
}