/* ==========================================================================
   Hero Section — full-bleed background banner, content overlaid on top
   (background image spans the entire width, dark scrim on the left keeps
   the overlaid text readable, matching the reference layout).
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-navy-900);
  margin-bottom: 68px;
}

.hero__banner {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: inherit;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 15, 30, 0.92) 0%,
    rgba(6, 15, 30, 0.82) 32%,
    rgba(6, 15, 30, 0.45) 58%,
    rgba(6, 15, 30, 0.12) 78%,
    rgba(6, 15, 30, 0) 100%
  );
}

.hero__content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 90px 24px;
  padding-left: max(24px, calc((100vw - var(--container-width)) / 2 + 24px));
}

.hero__content {
  max-width: 600px;
  transition: opacity 0.18s ease;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__stars {
  color: #ffb020;
  font-size: 13px;
  letter-spacing: 1px;
}

.hero__title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.hero__subtitle {
  margin-top: 20px;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.hero__checklist {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  font-weight: 500;
}

.hero__checklist svg {
  width: 20px;
  height: 20px;
  color: var(--color-red-500);
  flex-shrink: 0;
}

.btn-cta {
  margin-top: 34px;
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: 0 12px 28px rgba(230, 57, 70, 0.35);
}
.btn-cta:hover { box-shadow: 0 16px 34px rgba(230, 57, 70, 0.45); }

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-blue-700);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.15s ease, color 0.15s ease;
}
.hero__arrow:hover { background: var(--color-white); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* Tab carousel — floating card overlapping the banner's bottom edge */
.hero__tabs {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: min(calc(100% - 48px), var(--container-width));
  z-index: 3;
}

.hero__tabs-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 10px;
  background: var(--color-white);
  color: var(--color-ink-500);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-right: 1px solid var(--color-gray-200);
  transition: background 0.2s ease, color 0.2s ease;
}

.hero__tab:last-child { border-right: none; }

.hero__tab svg {
  width: 24px;
  height: 24px;
}

.hero__tab:hover {
  background: var(--color-gray-50);
  color: var(--color-blue-700);
}

.hero__tab.is-active {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: inset 0 -3px 0 var(--color-red-500);
}

@media (max-width: 992px) {
  .hero { margin-bottom: 0; }
  .hero__banner { min-height: 560px; padding-bottom: 40px; }
  .hero__content-wrap { padding: 70px 20px; }
  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(6, 15, 30, 0.55) 0%,
      rgba(6, 15, 30, 0.85) 55%,
      rgba(6, 15, 30, 0.95) 100%
    );
  }
  .hero__tabs {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 24px;
  }
  .hero__tabs-inner {
    grid-template-columns: repeat(3, 1fr);
    border-radius: 0;
    box-shadow: none;
  }
  .hero__tab { border-bottom: 1px solid var(--color-gray-200); }
}

@media (max-width: 560px) {
  .hero__banner { min-height: 620px; }
  .hero__arrow { display: none; }
  .hero__tabs-inner { grid-template-columns: repeat(2, 1fr); }
}