/* Hero lima a sangre: titular gigante a la izquierda, barras a la derecha. */
.hero {
  position: relative;
  display: grid;
  background: var(--lima);
  border-bottom: var(--hairline) solid var(--negro);
  overflow: hidden;
  isolation: isolate;
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 5vw, 4.5rem) var(--gutter) 0;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  max-width: 6.2ch;
  /* Anton de Google trae un ascendente alto: se compensa para que la tilde no empuje todo */
  padding-top: 0.06em;
}

.hero__subtitle {
  margin-top: clamp(0.9rem, 2.4vw, 1.6rem);
  font-size: var(--fs-lead);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 30ch;
}

.hero__copy .btn {
  margin-top: clamp(1.1rem, 2.6vw, 1.75rem);
}

.hero__media {
  position: relative;
  margin-top: -0.5rem;
  height: clamp(10.5rem, 46vw, 22rem);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 55%;
  animation: hero-drop 700ms var(--ease-snap) both;
}

/* Entrada del packaging: cae y rebota, una sola vez */
@keyframes hero-drop {
  from {
    transform: translateY(-14%) rotate(-5deg) scale(1.06);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: clamp(28rem, 36vw, 35rem);
    align-items: center;
  }

  .hero__copy {
    max-width: var(--maxw);
    width: 100%;
    margin: 0 auto;
    padding-top: clamp(2.5rem, 4vw, 4rem);
    padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  }

  .hero__media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 60%;
    height: auto;
    margin: 0;
    z-index: 0;
  }

  .hero__img {
    object-position: left center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img {
    animation: none;
  }
}
