.hb-hero {
  --hb-hero-red: #eb4640;
  --hb-hero-ink: #101820;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin: 0 0 40px;
  transform: translateX(-50%);
  overflow: hidden;
  border-radius: 0;
  background: var(--hb-hero-ink);
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.14);
}

.hb-hero .swiper,
.hb-hero__slide {
  min-height: clamp(350px, 25vw, 460px);
}

.hb-hero__slide {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hb-hero__media,
.hb-hero__media img,
.hb-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hb-hero__media {
  margin: 0;
}

.hb-hero__media img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.hb-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.9) 0%, rgba(7, 12, 17, 0.68) 35%, rgba(7, 12, 17, 0.16) 67%, rgba(7, 12, 17, 0.34) 100%);
  pointer-events: none;
}

.hb-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  align-items: center;
  gap: clamp(32px, 4.5vw, 72px);
  box-sizing: border-box;
  width: var(--hb-shell-width, min(calc(100vw - 40px), var(--hb-layout-max, 1480px)));
  margin: 0 auto;
  padding: 38px clamp(84px, 9vw, 136px);
}

body#index #carousel .hb-hero__inner.section-container-min {
  box-sizing: border-box;
  width: var(--hb-shell-width, min(calc(100vw - 40px), var(--hb-layout-max, 1480px))) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.hb-hero__copy {
  max-width: 540px;
  margin-left: clamp(48px, 4vw, 72px);
  color: #fff;
}

.hb-hero__title {
  max-width: 540px;
  margin: 0 0 14px;
  color: var(--hb-hero-red);
  font-size: clamp(34px, 2.7vw, 46px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.hb-hero__title strong,
.hb-hero__title em,
.hb-hero__title span {
  color: var(--hb-hero-red);
  font-style: normal;
}

.hb-hero__description {
  max-width: 500px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.4;
}

.hb-hero__description > :last-child {
  margin-bottom: 0;
}

.hb-hero__cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--hb-hero-red);
  border-radius: 8px;
  background: var(--hb-hero-red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(235, 70, 64, 0.28);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.hb-hero__cta:hover,
.hb-hero__cta:focus-visible {
  transform: translateY(-2px);
  background: #d93833;
  color: #fff;
  box-shadow: 0 14px 30px rgba(235, 70, 64, 0.36);
}

.hb-hero__features {
  display: grid;
  gap: 20px;
  margin-right: clamp(48px, 4vw, 72px);
}

.hb-hero-feature {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--hb-hero-ink);
  box-shadow: 0 10px 28px rgba(5, 12, 18, 0.18);
  backdrop-filter: blur(8px);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hb-hero-feature:hover,
.hb-hero-feature:focus-visible {
  transform: translateX(-4px);
  border-color: var(--hb-hero-red);
  color: var(--hb-hero-ink);
  box-shadow: 0 14px 34px rgba(5, 12, 18, 0.24);
}

.hb-hero-feature__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #fff2f1;
  color: var(--hb-hero-red);
}

.hb-hero-feature__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hb-hero-feature strong,
.hb-hero-feature small {
  display: block;
}

.hb-hero-feature strong {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.hb-hero-feature small {
  color: #5a626a;
  font-size: 11.5px;
  line-height: 1.35;
}

.hb-hero .hb-hero__arrow {
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  background: rgba(5, 12, 18, 0.48);
  backdrop-filter: blur(4px);
}

.hb-hero .hb-hero__arrow svg {
  width: 9px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1199px) {
  .hb-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 290px);
    gap: 32px;
  }

  .hb-hero__copy {
    margin-left: 24px;
  }

  .hb-hero__features {
    margin-right: 24px;
  }

  .hb-hero-feature {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 82px;
    padding: 13px 15px;
  }

  .hb-hero-feature__icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 991px) {
  .hb-hero {
    width: 100vw;
    margin-top: 0;
    border-radius: 0;
  }

  .hb-hero .swiper,
  .hb-hero__slide {
    min-height: 620px;
  }

  .hb-hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 12, 17, 0.78) 0%, rgba(7, 12, 17, 0.46) 48%, rgba(7, 12, 17, 0.84) 100%);
  }

  .hb-hero__inner {
    grid-template-columns: 1fr;
    align-content: space-between;
    gap: 34px;
    padding: 48px 0 38px;
  }

  .hb-hero__copy {
    max-width: 600px;
    margin-left: 0;
  }

  .hb-hero__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-right: 0;
  }

  .hb-hero-feature {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 150px;
  }

  .hb-hero-feature:hover,
  .hb-hero-feature:focus-visible {
    transform: translateY(-3px);
  }
}

@media (max-width: 767px) {
  .hb-hero {
    width: 100vw;
    margin: 0 0 28px;
    border-radius: 0;
  }

  .hb-hero .swiper,
  .hb-hero__slide {
    min-height: clamp(580px, 150vw, 680px);
  }

  .hb-hero__media img {
    object-position: center center;
  }

  .hb-hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 12, 17, 0.58) 0%, rgba(7, 12, 17, 0.16) 38%, rgba(7, 12, 17, 0.12) 62%, rgba(7, 12, 17, 0.72) 100%);
  }

  .hb-hero__inner {
    grid-template-rows: auto 1fr auto;
    align-content: stretch;
    gap: 0;
    min-height: inherit;
    padding: 34px 12px 38px;
  }

  body#index #carousel .hb-hero__inner.section-container-min {
    padding: 34px 12px 38px !important;
  }

  .hb-hero__copy {
    width: min(100%, 500px);
    justify-self: center;
    margin: 0;
    text-align: center;
  }

  .hb-hero__title {
    margin-bottom: 10px;
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.15;
  }

  .hb-hero__description {
    max-width: 500px;
    margin: 0 auto 16px;
    font-size: 14px;
    line-height: 1.4;
  }

  .hb-hero__cta {
    min-height: 42px;
    padding: 11px 18px;
    font-size: 12px;
  }

  .hb-hero__features {
    grid-row: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: end;
    gap: 7px;
    width: 100%;
  }

  .hb-hero-feature {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 100px;
    padding: 9px 5px;
    text-align: center;
  }

  .hb-hero-feature__icon {
    width: 34px;
    height: 34px;
  }

  .hb-hero-feature__icon svg {
    width: 21px;
    height: 21px;
  }

  .hb-hero-feature strong {
    margin: 0;
    font-size: 10px;
    line-height: 1.18;
  }

  .hb-hero-feature small {
    display: none;
  }

  .hb-hero .hb-hero__arrow {
    top: 35%;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 374px) {
  .hb-hero__inner {
    padding-top: 48px;
    padding-bottom: 38px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .hb-hero-feature {
    min-height: 92px;
    padding-right: 3px;
    padding-left: 3px;
  }

  .hb-hero-feature strong {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-hero__cta,
  .hb-hero-feature {
    transition: none;
  }
}
