/* Hero Section */
.section-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(122, 176, 224, 0.84) 0%, rgba(77, 141, 200, 0.88) 100%);
  color: #f4f8ff;
  padding: clamp(1.5rem, 4vw, 3rem) 1rem clamp(1.75rem, 4vw, 3.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  text-align: center;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 50% 85%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 100%);
  filter: blur(26px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.25rem;
  align-items: stretch;
}

.hero-video-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: stretch;
}

.hero-video-card {
  min-width: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 60px rgba(3, 15, 28, 0.25);
  backdrop-filter: blur(8px);
}

.hero-video-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: rgba(10, 24, 40, 0.28);
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 961px) {
  .section-hero {
    align-items: flex-start;
    padding-top: 0.8rem;
    padding-bottom: 0.4rem;
  }

  .hero-container {
    padding-top: 0;
  }

  .hero-video-frame {
    aspect-ratio: 4 / 4.85;
  }
}

.hero-legend {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 248, 255, 0.96);
}

/* Media Queries */
@media (max-width: 960px) {
  .hero-video-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78vw, 1fr);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.2rem;
    -webkit-overflow-scrolling: touch;
  }

  .hero-video-carousel::-webkit-scrollbar {
    display: none;
  }

  .hero-video-card {
    scroll-snap-align: center;
  }
}

@media (max-width: 700px) {
  .section-hero {
    min-height: auto;
    padding: 1.25rem 0.9rem 1.75rem;
  }

  .hero-container {
    gap: 0.85rem;
  }

  .hero-video-carousel {
    grid-auto-columns: minmax(86vw, 1fr);
    gap: 0.55rem;
  }

  .hero-video-card {
    border-radius: 1.05rem;
  }

  .hero-video-frame {
    aspect-ratio: 16 / 11;
  }

  .hero-legend {
    letter-spacing: 0.14em;
    font-size: 0.95rem;
  }
}