.hero {
  width: 100%;
}

.hero__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 16px 8px;
}

.hero__banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: center;
  gap: 12px;
  min-height: 220px;
  padding: 24px 20px 28px;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 215, 96, 0.22), transparent 22%),
    radial-gradient(circle at 70% 80%, rgba(80, 190, 255, 0.28), transparent 34%),
    linear-gradient(118deg, #0a3b72 0%, #1463aa 46%, #1c92c9 100%);
}

.hero__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(243, 210, 122, 0.18);
  color: #f6d98a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  max-width: 14ch;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 10px 0 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.45;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  color: #0b3d6e;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.hero__cta:hover {
  background: #eef6fd;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hero__fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.hero__fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #f6d98a;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.hero__logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  background: transparent;
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(8, 32, 64, 0.28);
}

.hero__bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero__bubble--lg {
  top: 12%;
  left: 4%;
  width: 18px;
  height: 18px;
}

.hero__bubble--sm {
  right: 8%;
  bottom: 22%;
  width: 10px;
  height: 10px;
}

.hero__bubble--gold {
  top: 18%;
  right: 2%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, #ffe9a3, #d4a030);
}

.hero__waves {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 56px;
  pointer-events: none;
}

[data-theme="dark"] .hero__banner {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 215, 96, 0.16), transparent 22%),
    radial-gradient(circle at 70% 80%, rgba(80, 190, 255, 0.18), transparent 34%),
    linear-gradient(118deg, #062544 0%, #0c4a80 46%, #14658f 100%);
}

@media (min-width: 768px) {
  .hero__inner {
    padding: 24px 24px 12px;
  }

  .hero__banner {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.7fr);
    min-height: 280px;
    padding: 36px 36px 40px;
    border-radius: 24px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__lead {
    margin-top: 12px;
    font-size: 17px;
  }

  .hero__cta {
    margin-top: 20px;
  }

  .hero__facts {
    gap: 10px;
    margin-top: 20px;
  }

  .hero__fact {
    font-size: 14px;
  }

  .hero__logo {
    width: 200px;
    height: 200px;
  }

  .hero__bubble--lg {
    width: 28px;
    height: 28px;
  }

  .hero__bubble--sm {
    width: 14px;
    height: 14px;
  }

  .hero__bubble--gold {
    width: 16px;
    height: 16px;
  }

  .hero__waves {
    height: 72px;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    padding: 28px 32px 12px;
  }

  .hero__banner {
    min-height: 320px;
    padding: 44px 48px 48px;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__logo {
    width: 236px;
    height: 236px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__logo {
    animation: hero-float 5.5s ease-in-out infinite;
  }

  .hero__bubble {
    animation: hero-bubble 4.8s ease-in-out infinite;
  }

  .hero__bubble--sm {
    animation-delay: -1.6s;
  }

  .hero__bubble--gold {
    animation-delay: -2.8s;
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes hero-bubble {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }

  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
}
