/* ══════════════════════════════════════════════
   hero.css  —  Hero section · Animaciones de entrada
   ══════════════════════════════════════════════ */

#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center;
  padding: 120px 5% 80px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, #ffe4f0 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, #f0e4ff 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 10%, #ffe8d6 0%, transparent 70%),
    var(--white);
  position: relative;
}
.hero-sparkles {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.hero-star {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--rose-300);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%,100% { opacity: 0.2; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.2); }
}
.hero-eyebrow {
  font-family: var(--ff-serif); font-style: italic; font-size: 15px;
  color: var(--rose-500); letter-spacing: 0.12em; margin-bottom: 16px;
  animation: fade-down 0.8s ease both;
}
.hero-title {
  font-family: var(--ff-magic); font-size: clamp(54px, 9vw, 96px);
  color: var(--rose-600); line-height: 1.1;
  animation: fade-down 0.9s 0.1s ease both;
}
.hero-subtitle {
  font-size: clamp(15px, 2.5vw, 20px); color: var(--text-mid);
  max-width: 540px; line-height: 1.7; margin: 20px auto 36px;
  font-weight: 300;
  animation: fade-down 1s 0.2s ease both;
}
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: fade-down 1.1s 0.3s ease both;
}
@keyframes fade-down {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-wand {
  font-size: clamp(60px, 12vw, 110px); margin-bottom: 12px;
  animation: wand-float 4s ease-in-out infinite;
  display: block;
}
@keyframes wand-float {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-14px) rotate(5deg); }
}
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-soft); letter-spacing: 0.1em;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,6px)} }
.scroll-arrow { width: 18px; height: 18px; border-right: 2px solid var(--rose-300); border-bottom: 2px solid var(--rose-300); transform: rotate(45deg); }

/* ── Preview cards (index snippets) ─────────── */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.preview-card {
  background: var(--rose-50);
  border: 1px solid var(--rose-100);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  position: relative; overflow: hidden;
}
.preview-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--rose-300), var(--lilac-2));
  opacity: 0; transition: opacity 0.3s;
}
.preview-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(200,100,150,0.14); border-color: var(--rose-200); }
.preview-card:hover::before { opacity: 1; }
.preview-icon { font-size: 36px; }
.preview-title {
  font-family: var(--ff-serif); font-size: 18px; color: var(--rose-700); font-weight: 500;
}
.preview-desc { font-size: 13px; color: var(--text-mid); line-height: 1.65; font-weight: 300; }
.preview-card .btn { margin-top: 8px; font-size: 13px; padding: 9px 22px; }

/* ── Section intro (páginas internas) ───────── */
.page-hero {
  min-height: 36vh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center;
  padding: 130px 5% 60px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, #ffe4f0 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, #f0e4ff 0%, transparent 60%),
    var(--white);
  position: relative;
}
.page-hero .hero-sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
