/* =========== Página de inicio =========== */

.section { padding-block: clamp(72px, 10vw, 120px); }
.section-tint { background: var(--paper-deep); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  /* pentagrama de fondo */
  content: "";
  position: absolute;
  inset: auto -10% 12% -10%;
  height: 120px;
  background: repeating-linear-gradient(to bottom, transparent 0 22px, rgba(214, 200, 180, 0.55) 22px 23px);
  transform: rotate(-4deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero h1 { margin-bottom: 22px; }
.hero .underline {
  background: linear-gradient(transparent 62%, var(--gold-soft) 62% 92%, transparent 92%);
  padding-inline: 2px;
}
.hero .lead { margin-bottom: 30px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: var(--sage); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  background: var(--sage-soft); border-radius: 50%; padding: 3px;
}

.hero-art {
  position: relative;
  min-height: 460px;
}
.hero-vinyl {
  position: absolute;
  width: min(400px, 82%);
  top: 0;
  right: 0;
}
.hero-lyric {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: min(360px, 88%);
  transform: rotate(-3deg);
}
.hero-lyric .note {
  position: absolute;
  right: -18px;
  bottom: -38px;
  color: var(--coral);
  font-size: 1.45rem;
  transform: rotate(-4deg);
  white-space: nowrap;
}
.hero-sticker {
  position: absolute;
  top: 34px;
  left: 6%;
  display: grid;
  place-items: center;
  text-align: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--plum);
  box-shadow: var(--shadow);
  transform: rotate(-12deg);
  padding: 14px;
}
.hero-sticker .hand { font-size: 1.9rem; line-height: 1; }
.hero-sticker small { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; line-height: 1.25; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 400px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) {
  .hero-art { min-height: 360px; }
  .hero-sticker { width: 100px; height: 100px; }
  .hero-sticker .hand { font-size: 1.5rem; }
  .hero-lyric { font-size: 1rem; padding: 22px; }
  .hero-lyric .note { right: 0; }
}

/* ---------- Pasos ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.step:nth-child(2) .step-num { background: var(--gold-soft); color: #9a6d10; }
.step:nth-child(3) .step-num { background: #efe1ee; color: var(--plum); }
.step p { color: var(--ink-soft); margin: 0; }
.step:nth-child(2) { transition-delay: 0.08s; }
.step:nth-child(3) { transition-delay: 0.16s; }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Ocasiones ---------- */
.occasions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.occasion {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.occasion:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.occasion-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--tint);
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.occasion-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.occasion-hint { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 900px) { .occasions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .occasion { padding: 18px 16px; } }

/* ---------- Estilos (banda oscura) ---------- */
.section-dark {
  background: var(--plum);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.eyebrow-gold { color: var(--gold); }
.lead-light { color: rgba(255, 255, 255, 0.78); margin-bottom: 30px; }

.styles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.style-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.style-chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
}
.vinyl.mini {
  width: 30px;
  box-shadow: none;
}
.vinyl.mini::after { background: var(--plum); }

@media (max-width: 860px) { .styles-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 6px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper-deep);
  font-family: var(--font-body);
  font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--coral-soft); color: var(--coral); }
.faq details p { color: var(--ink-soft); padding-bottom: 14px; margin: 0; max-width: 70ch; }

/* ---------- CTA final ---------- */
.final-cta { padding-bottom: clamp(72px, 10vw, 120px); }
.final-cta-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  background: var(--coral-soft);
  border-radius: 32px;
  padding: clamp(32px, 6vw, 64px);
  overflow: hidden;
}
.final-vinyl { width: clamp(140px, 22vw, 240px); --label: var(--gold); }
.final-vinyl::after { background: var(--coral-soft); }
.final-cta h2 { margin-bottom: 10px; }
.final-cta .lead { margin-bottom: 26px; }

@media (max-width: 680px) {
  .final-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .final-vinyl { margin-inline: auto; }
  .final-cta .lead { margin-inline: auto; }
}

/* ---------- Ventajas ---------- */
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--coral-soft);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature:nth-child(2) .feature-icon { background: var(--gold-soft); }
.feature:nth-child(3) .feature-icon { background: #efe1ee; }
.feature:nth-child(4) .feature-icon { background: var(--sage-soft); }
.feature:nth-child(2) { transition-delay: 0.06s; }
.feature:nth-child(3) { transition-delay: 0.12s; }
.feature:nth-child(4) { transition-delay: 0.18s; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Para aprender ---------- */
.learn-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.learn-grid h2 { margin-bottom: 16px; }
.learn-grid .lead { margin-bottom: 20px; }
.learn-points {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
}
.learn-points li { position: relative; padding-left: 28px; }
.learn-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 700;
}
.learn-art { position: relative; padding-bottom: 40px; }
.learn-lyric { transform: rotate(2deg); max-width: 420px; margin-left: auto; }
.learn-lyric .note {
  position: absolute;
  left: 0;
  bottom: -40px;
  color: var(--sage);
  font-size: 1.35rem;
  transform: rotate(-3deg);
  white-space: nowrap;
}
@media (max-width: 860px) {
  .learn-grid { grid-template-columns: 1fr; }
  .learn-lyric { margin-inline: auto; }
}

/* 10 tipos de canción: 5 por fila en escritorio */
.occasions { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .occasions { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .occasions { grid-template-columns: repeat(2, 1fr); } }
