/* ==========================================================================
   Hero
   Fondo exclusivamente por shader (desktop + mobile) — sin estilos de
   background adicionales sobre la sección, según .rules/style.md.
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__canvas--mobile {
  display: block;
}

.hero__canvas--desktop {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: calc(96px + 48px) 64px;
  text-align: center;
}

.hero__title {
  font-size: var(--display-xl-size);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  max-width: 20ch;
  margin-inline: auto;
}

.hero__subtitle {
  margin-block-start: 24px;
  margin-inline: auto;
  max-width: 56ch;
  font-size: var(--body-lg-size);
  color: #262546;
}

.hero__actions {
  margin-block-start: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 900px) {
  .hero__canvas--mobile {
    display: none;
  }

  .hero__canvas--desktop {
    display: block;
  }

  .hero__content {
    padding-block: calc(96px + 80px) 96px;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}
