/* ---------- Portada ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: #fff;
  text-align: center;
  background: radial-gradient(120% 90% at 50% 100%, #2a3d1f 0%, var(--night) 60%);
  transition: transform 0.9s var(--ease), opacity 0.8s ease 0.1s, visibility 0s 1s;
}

.intro.is-leaving {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
}

.intro__glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(120vw, 900px);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 210, 63, 0.28), transparent 62%);
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    scale: 1.12;
    opacity: 0.8;
  }
}

.intro__flies {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.fly {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 12px 4px rgba(255, 226, 110, 0.75);
  animation: fly var(--t, 14s) ease-in-out infinite alternate, twinkle 3s ease-in-out infinite;
  animation-delay: var(--dl, 0s);
}

@keyframes fly {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(var(--dx, 60px), var(--dy, -120px));
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

.intro__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  max-width: 720px;
}

/* Margarita grande que florece */
.intro__daisy {
  width: clamp(170px, 34vw, 270px);
  filter: drop-shadow(0 0 34px rgba(255, 200, 30, 0.55));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

.intro__daisy .petals path {
  transform-origin: 0 0;
  opacity: 0;
  animation: bloom 0.8s var(--ease) forwards;
  animation-delay: calc(0.05s + var(--i) * 0.03s);
}

.intro__daisy .petals--back path {
  animation-delay: calc(0.15s + var(--i) * 0.03s);
}

@keyframes bloom {
  from {
    opacity: 0;
    scale: 0.1;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.intro__daisy .core {
  animation: core-in 0.7s var(--ease) 0.7s backwards;
}

@keyframes core-in {
  from {
    r: 0;
  }
}

.intro__daisy .seeds {
  fill: rgba(60, 30, 0, 0.45);
  animation: fade-in 0.7s ease 0.9s backwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.intro__kicker {
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 3.4vw, 1.7rem);
  color: var(--gold-soft);
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.45s forwards;
}

.intro__title {
  font-size: clamp(3rem, 12vw, 6.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 6px 24px rgba(255, 183, 0, 0.25));
}

.intro__title .word {
  display: block;
}

.intro__title .word--small {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.34em;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: -0.1em;
}

.intro__title .ch {
  display: inline-block;
  background: linear-gradient(180deg, #fff7c2 10%, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.01em;
  opacity: 0;
  transform: translateY(0.6em) rotate(6deg);
  animation: rise-letter 0.7s var(--ease) forwards;
  animation-delay: calc(0.5s + var(--i) * 0.05s);
}

@keyframes rise-letter {
  to {
    opacity: 1;
    transform: none;
  }
}

.intro__sub {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  animation: rise 0.7s var(--ease) 1s forwards;
}

.intro .btn {
  margin-top: 0.6rem;
  opacity: 0;
  animation: rise 0.7s var(--ease) 1.25s forwards, pulse-glow 2.8s ease-in-out 2s infinite;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
