/* ==========================================================================
   HERO SECTION (M2 Block)
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-height, 80px) + 36px);
  padding-bottom: 60px;
  position: relative;
  background-color: var(--bg-primary, #06152B);
  overflow: hidden;
}

/* Ambient Brand Shape #01 (Nautilus Wave) */
.hero-brand-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.hero-brand-shape--right {
  top: 10px;
  right: -50px;
  width: 440px;
  max-width: 36vw;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(9, 102, 162, 0.45));
  animation: heroShapeFloat 8s ease-in-out infinite alternate;
}

.hero-brand-svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes heroShapeFloat {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  100% { transform: translateY(-18px) rotate(1.5deg) scale(1.02); }
}

@media (max-width: 991px) {
  .hero-brand-shape--right {
    opacity: 0.2;
    right: -100px;
    width: 280px;
  }
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4.5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-primary, #FFFFFF);
  margin-bottom: 28px;
  max-width: 1100px;
}

.hero-title span {
  display: block;
}

/* Hero Media Display */
.hero-media-wrapper {
  position: relative;
  width: 100%;
  height: clamp(340px, 36vw, 560px);
  min-height: 320px;
  border: 1px solid var(--border-color, rgba(137, 182, 226, 0.2));
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-secondary, #092244);
  margin-bottom: 36px;
  box-shadow: 0 16px 40px rgba(4, 14, 30, 0.6);
}

.hero-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.08);
  transition: transform 0.8s ease;
  display: block;
}

.hero-media-wrapper:hover .hero-media-video {
  transform: scale(1.02);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 21, 43, 0.1) 0%, rgba(6, 21, 43, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  z-index: 2;
}

.hero-media-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-media-text {
  max-width: 720px;
}

.hero-media-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Hero Partner Logos Grid Underneath (6 partners) */
.hero-partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--border-color, rgba(137, 182, 226, 0.15));
  border-left: 1px solid var(--border-color, rgba(137, 182, 226, 0.15));
  border-radius: 8px;
  overflow: hidden;
}

.hero-partner-item {
  border-right: 1px solid var(--border-color, rgba(137, 182, 226, 0.15));
  border-bottom: 1px solid var(--border-color, rgba(137, 182, 226, 0.15));
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  background: rgba(9, 34, 68, 0.6);
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-partner-item:hover {
  background: rgba(9, 102, 162, 0.25);
  transform: translateY(-2px);
}

.hero-partner-item img {
  height: 34px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.85;
  filter: contrast(1.1);
  transition: all 0.25s ease;
}

.hero-partner-item:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.hero-partner-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #89B6E2;
  text-align: center;
}

.hero-partner-item:hover .hero-partner-label {
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height, 80px) + 20px);
    padding-bottom: 36px;
  }
  .hero-title {
    font-size: clamp(20px, 5.5vw, 32px);
    margin-bottom: 20px;
  }
  .hero-media-wrapper {
    height: clamp(240px, 52vw, 300px);
    min-height: unset;
    margin-bottom: 24px;
  }
  .hero-media-overlay {
    padding: 18px;
  }
  .hero-media-desc {
    font-size: 14px;
    line-height: 1.45;
  }
  .hero-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-partner-item {
    padding: 12px 8px;
  }
  .hero-partner-item img {
    height: 26px;
  }
  .hero-partner-label {
    font-size: 10px;
  }
}
