#inicio.hero {
  display: grid;
  align-items: center;
  isolation: isolate;
  min-height: clamp(570px, 47vw, 750px);
  padding: 62px 0;
  background: #102d24;
}

#inicio .hero-grid {
  display: block;
}

#inicio .hero-copy {
  max-width: 650px;
  padding-right: 32px;
}

#inicio h1 {
  color: #fffaf0;
  font-size: clamp(2.5rem, 4.6vw, 4.15rem);
  margin-bottom: 18px;
}

#inicio h1 em {
  color: #e3cfab;
}

#inicio .eyebrow,
#inicio .hero-diffs,
#inicio .hero-diffs span:before {
  color: #e3cfab;
}

#inicio .hero-copy > p {
  color: #f7f1e7;
}

#inicio .btn-primary {
  color: #102d24;
  background: #f2e2c7;
  border-color: #f2e2c7;
}

#inicio .btn-outline {
  background: #102d245c;
  color: #fffaf0;
  border-color: #fffaf0a8;
}

#inicio .btn:hover {
  background: #fffaf0;
  color: #102d24;
  border-color: #fffaf0;
}

#inicio .btn:focus-visible {
  outline: 2px solid #fffaf0;
  outline-offset: 3px;
}

.aya-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #102d24 url('/img/aya-hero-formal.webp') center 43% / cover no-repeat;
}

.aya-hero-media video,
.aya-hero-media::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aya-hero-media video {
  object-fit: cover;
  object-position: center 43%;
  transform: scaleX(-1);
}

.aya-hero-media::after {
  content: '';
  background: linear-gradient(90deg, #0a2119fa 0%, #0a2119f2 24%, #0a2119d9 45%, #0a211960 76%, #0a211944 100%);
  pointer-events: none;
}

#inicio .aya-hero-media .aya-motion-button {
  z-index: 2;
  right: max(16px, calc((100vw - 1180px) / 2));
  bottom: 16px;
}

@media (max-width: 760px) {
  #inicio.hero {
    align-items: end;
    min-height: 0;
    padding: 170px 0 70px;
  }

  #inicio .hero-copy {
    padding-right: 0;
  }

  #inicio .hero-copy h1 {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }

  #inicio .aya-hero-media .aya-motion-button {
    left: 16px;
    right: auto;
  }

  .aya-hero-media video {
    object-position: 35% top;
  }

  .aya-hero-media::after {
    background: linear-gradient(180deg, #0a211933 0%, #0a211977 14%, #0a2119ee 34%, #0a2119 100%);
  }
}

.aya-online {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  background: var(--aya-verde-escuro);
  color: var(--aya-off-white);
}

.aya-online strong {
  color: inherit;
}

.aya-globe {
  display: block;
  width: 88px;
  height: 88px;
}

.aya-motion-button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 44px;
  height: 44px;
  border: 1px solid #fff8;
  border-radius: 50%;
  background: #0b3028e8;
  color: white;
  cursor: pointer;
  font-size: 13px;
}

.aya-motion-button:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.aya-hero-media .aya-motion-button {
  background: #0b3028;
  border-color: #ffffffb3;
}

.aya-motion-card:focus-within {
  box-shadow: inset 0 -3px var(--aya-verde-salvia);
}

@media (prefers-reduced-motion: no-preference) {
  .aya-motion-card {
    transition: translate 250ms ease, box-shadow 250ms ease;
  }

  .aya-card-enter {
    animation: aya-card-enter 760ms cubic-bezier(.2,.7,.25,1) var(--aya-card-delay, 0ms) backwards;
  }

  @keyframes aya-card-enter {
    from {
      opacity: .1;
      transform: translateY(34px) scale(.975);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  @media (hover: hover) {
    .aya-motion-card:hover {
      position: relative;
      z-index: 1;
      translate: 0 -6px;
      box-shadow: 0 14px 30px #0b302824, inset 0 -3px var(--aya-verde-salvia);
    }
  }
}



.aya-hero-media.is-animated-fallback {
  background-image: url('/img/aya-hero-animado.webp');
}

.aya-hero-media.is-animated-fallback video {
  opacity: 0;
}

@media (max-width: 760px) {
  .aya-hero-media.is-animated-fallback {
    background-position: 65% top;
  }
}
