/* ==========================================================================
   IACBT — Hero
   Signature element: slow-drifting soft aqua "calm" shapes behind a
   rotating slide of mission statements — evidence-based calm, not hype.
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  min-height: min(680px, 88vh);
  display: flex;
  align-items: center;
}

.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  animation: drift 14s var(--ease-in-out) infinite;
}

.hero__shape--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.45), transparent 70%);
  animation-duration: 18s;
}

.hero__shape--2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: 18%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 70%);
  animation-duration: 22s;
  animation-delay: -6s;
}

.hero__shape--3 {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: -60px;
  background: radial-gradient(circle at 30% 30%, rgba(22, 163, 74, 0.3), transparent 70%);
  animation-duration: 16s;
  animation-delay: -3s;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 3rem var(--container-pad) 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  width: 100%;
}

.hero__content {
  transform: translateY(40px);
}

.hero__title {
    color: #fff;
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    line-height: 1.08;
    margin-bottom: 1rem;
    max-width: 11ch;
}

.hero__title .accent {
  color: var(--color-accent);
}

.hero__text {
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__slides {
    position: relative;
    transform: translateY(-10px);
    width: 100%;
}

.hero__slide-track {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1;
    width: 100%;
    background: var(--color-primary-dark);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-in-out);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(15, 23, 42, 0.55) 0%,
    transparent 45%
  );
}

.hero__slide-dots {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero__slide-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  padding: 0;
  transition:
    background var(--dur-fast) var(--ease-out),
    width var(--dur-fast) var(--ease-out);
}

.hero__slide-dots button.is-active {
  background: #fff;
  width: 22px;
  border-radius: var(--radius-full);
}

.hero__quote-card {
  position: absolute;
  bottom: -12px;
  left: -28px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-lg);
  max-width: 260px;
  z-index: 2;
}

.hero__quote-card p {
  font-size: 0.8125rem;
  color: var(--color-text-body);
}

.hero__quote-card strong {
  display: block;
  font-size: 0.8rem;
  color: var(--color-primary);
  margin-top: 4px;
}

@media (max-width: 992px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 2.5rem var(--container-pad) 3rem;
  }

  .hero__slides {
    transform: none;
  }

  .hero__quote-card {
    position: static;
    margin-top: var(--space-md);
    max-width: none;
  }
}

@media (max-width: 576px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}