/* Hero interne — stile condiviso (Academy, Percorso, Metodo, Formati) */

.page-hero {
  position: relative;
  min-height: 60vh;
  height: 60vh;
  max-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.25rem 0;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
  border-bottom: none;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 60vh;
    height: auto;
    max-height: none;
  }
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: page-hero-float 14s ease-in-out infinite;
}

.page-hero__orb--1 {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  background: var(--teal);
  top: -20%;
  right: -10%;
}

.page-hero__orb--2 {
  width: min(320px, 55vw);
  height: min(320px, 55vw);
  background: var(--accent);
  bottom: -25%;
  left: -5%;
  animation-delay: -4s;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__eyebrow {
  color: #7dd3fc;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.page-hero h1 {
  margin: 0 0 0.85rem;
  max-width: min(28ch, 100%);
}

.page-hero__lead {
  margin: 0;
  max-width: 54ch;
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.page-hero__chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
}

@keyframes page-hero-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -18px) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__orb {
    animation: none;
  }
}
