/* Musicantes — landing hub
   Paleta tomada de musicantesec.com (Puentes Sonoros). Cada herramienta aporta
   su propio --accent para mantener su identidad dentro de la marca madre. */

:root {
  --ink: #200448;        /* morado profundo */
  --ink-2: #221c45;
  --purple: #624394;     /* barra de navegación actual */
  --yellow: #f7e71c;
  --pink: #e71664;
  --pink-soft: #f6c9de;
  --paper: #fffaf3;
  --text: #221c45;
  --muted: #5d5873;
  --radius: 18px;
  --wrap: 1160px;
  --display: "Anton", Impact, sans-serif;
  --body: "Nunito", "Filson Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--yellow); padding: 8px 12px; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem;
  transition: transform .15s ease, background .15s ease;
  cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .55em 1.1em; font-size: .8rem; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--purple { background: var(--ink); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.link { color: var(--purple); font-weight: 800; text-underline-offset: 3px; }
.link--light { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; color: var(--yellow); margin-bottom: .75em; }
.eyebrow--dark { color: var(--pink); }

.badge {
  display: inline-block; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em; padding: .35em .8em; border-radius: 999px;
}
.badge--line { background: transparent; border: 1px solid currentColor; color: var(--accent, #fff); }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--purple); color: #fff; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.nav__brand img { height: 32px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 24px; }
.nav__menu a:not(.btn) { color: #fff; text-decoration: none; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.nav__menu a:not(.btn):hover { color: var(--yellow); }
.nav__toggle { display: none; background: none; border: 2px solid #fff; color: #fff; border-radius: 999px; padding: .4em 1em; font: inherit; font-weight: 800; }

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; inset: 64px 0 auto; flex-direction: column; align-items: flex-start;
    background: var(--purple); padding: 16px; gap: 16px; display: none;
  }
  .nav__menu.is-open { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 9vw, 110px); }
.hero__wave { position: absolute; inset: auto 0 0 0; width: 100%; height: 22%; opacity: .3; }
.hero__wave path { fill: none; stroke: var(--pink); stroke-width: 2; }
.hero__wave path + path { stroke: var(--yellow); }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(3.2rem, 11vw, 8.5rem); text-transform: uppercase; margin-bottom: .35em; }
.hero__title span { display: inline-block; margin-right: .18em; }
.hero__title span:nth-child(2) { color: var(--yellow); }
.hero__title span:nth-child(3) { color: var(--pink-soft); }
.hero__lead { max-width: 38ch; font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: #e8e2f5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero__chips li { border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: .3em .9em; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Animaciones de scroll (assets/js/animations.js) ----------
   .js-rb existe solo mientras GSAP prepara el estado inicial: evita el parpadeo
   del contenido antes de animarse. Sin JS, nada se oculta. */
.js-rb .hero__title, .js-rb .hero .eyebrow, .js-rb .hero__lead, .js-rb .hero__ctas, .js-rb .hero__chips,
.js-rb .section__head .eyebrow, .js-rb .section__head h2, .js-rb .signup h2,
.js-rb .manifesto__mission, .js-rb .manifesto__quote, .js-rb .support, .js-rb .signup > div > p,
.js-rb .podcast, .js-rb .tool, .js-rb .path__step, .js-rb .plan, .js-rb .community__item, .js-rb .team, .js-rb .signup__form {
  visibility: hidden;
}
.rb-word { display: inline-block; will-change: transform, filter, opacity; }

/* ---------- Manifiesto ---------- */
.manifesto { background: var(--pink-soft); padding: clamp(48px, 8vw, 88px) 0; text-align: center; }
.manifesto__mission { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 800; color: var(--ink); max-width: 30ch; margin: 0 auto 1.2em; line-height: 1.3; }
.manifesto__quote { margin: 0 auto; max-width: 60ch; color: var(--muted); font-style: italic; }
.manifesto__quote cite { font-style: normal; font-weight: 800; font-size: .85rem; color: var(--purple); }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 10vw, 112px) 0; }
.section__head { margin-bottom: 40px; }
.section--pink { background: #fbe6ef; }
.section--dark { background: #0e0a1c; color: #f3f0fa; }
.section--purple { background: var(--ink); color: #fff; }
.section--yellow { background: var(--yellow); }

/* ---------- Podcasts ---------- */
.podcasts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.podcast { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(32, 4, 72, .08); display: flex; flex-direction: column; }
.podcast__media { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.podcast__media img { width: 100%; height: 100%; object-fit: cover; }
.podcast__media .badge { position: absolute; top: 16px; left: 16px; }
.podcast__placeholder {
  height: 100%; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(circle at 20% 30%, var(--yellow) 0 12%, transparent 13%),
    radial-gradient(circle at 80% 70%, var(--pink) 0 16%, transparent 17%),
    linear-gradient(135deg, var(--purple), var(--ink));
}
.podcast__placeholder span { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.4rem); color: #fff; text-transform: uppercase; line-height: 1; }
.podcast__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.podcast__audience { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--pink); margin-bottom: .4em; }
.podcast__tagline { font-weight: 800; color: var(--purple); }
.podcast__player { width: 100%; height: 152px; border: 0; border-radius: 12px; margin-bottom: 16px; }
.podcast__links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ---------- Herramientas ---------- */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.tool { min-width: 0;
  position: relative; display: flex; flex-direction: column;
  background: #17122b; border: 1px solid #2b2445; border-top: 4px solid var(--accent);
  border-radius: var(--radius); padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.tool:hover { transform: translateY(-4px); border-color: var(--accent); }
.tool--soon { opacity: .85; }
.tool__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.tool__area { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.tool h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: #fff; overflow-wrap: anywhere; } /* nombres largos como OrquestationLabs */
.tool p { color: #c9c3dc; font-size: .98rem; }
.tool__facts { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.tool__facts li { background: #231c3d; border-radius: 6px; padding: .2em .6em; font-size: .78rem; color: #e4def3; }
.tool__cta { margin-top: auto; text-wrap: balance; color: var(--accent); font-weight: 800; text-decoration: none; }
.tool__cta:hover span { margin-left: 4px; }

/* ---------- Ruta ---------- */
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.path__step { position: relative; padding: 24px 20px; border-radius: var(--radius); background: #fff; border: 2px solid #eee6f6; }
.path__step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 30px; font-weight: 800; color: var(--purple); z-index: 1;
}
.path__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; margin-bottom: 12px; }
.path__step h3 { font-size: 1.7rem; text-transform: uppercase; }
.path__step p { color: var(--muted); font-size: .95rem; }
.path__ref { font-weight: 800; font-size: .85rem; color: var(--purple); }

@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; }
  .path__step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -22px; }
}

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid #3a2a63; border-radius: var(--radius); padding: 32px 28px; background: rgba(255,255,255,.03); }
.plan .badge { position: absolute; top: -12px; right: 20px; }
.plan--featured { background: var(--purple); border-color: var(--yellow); }
.plan h3 { font-size: 2rem; text-transform: uppercase; }
.plan__price { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--yellow); }
.plan__price span { font-family: var(--body); font-size: .9rem; color: #d8d0ea; }
.plan ul { padding-left: 1.1em; margin: 0 0 28px; color: #e8e2f5; }
.plan li { margin-bottom: .4em; }
.plan .btn { margin-top: auto; }
.support { margin: 0 auto; max-width: 760px; text-align: center; color: #d8d0ea; }
.plans + .support { margin-top: 56px; border-top: 1px solid #3a2a63; padding-top: 40px; }
.support > p { max-width: 62ch; margin: 0 auto 24px; }
.donate { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; align-items: flex-start; }
.donate__btn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 130px; padding: 12px 18px; border: 1px solid var(--yellow); border-radius: var(--radius); color: #fff; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.donate__btn span { font-size: .75rem; color: #d8d0ea; }
.donate__btn:hover, .donate__btn:focus-visible, .donate__qr[open] .donate__btn { background: var(--yellow); color: var(--ink); }
.donate__btn:hover span, .donate__btn:focus-visible span, .donate__qr[open] .donate__btn span { color: var(--ink); }
.donate__qr summary { list-style: none; }
.donate__qr summary::-webkit-details-marker { display: none; }
.donate__qr img { display: block; margin: 10px auto 0; width: 180px; height: 180px; background: #fff; padding: 8px; border-radius: var(--radius); }

/* ---------- Comunidad y equipo ---------- */
.community { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.community__item { padding: 20px 0; border-top: 2px solid #eee6f6; }
.community__price { font-weight: 800; color: var(--pink); margin-bottom: 12px; }
.minis { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mini { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 2px solid #eee6f6; border-radius: 999px; background: #fff; color: var(--purple); font-weight: 800; font-size: .85rem; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
.mini:hover, .mini:focus-within, .mini--qr[open] { border-color: var(--purple); background: #f7f2fc; }
.mini summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; outline: none; }
.mini summary::-webkit-details-marker { display: none; }
.mini__icon { flex: none; }
.mini--qr img { position: absolute; z-index: 5; top: calc(100% + 8px); left: 0; width: 160px; height: 160px; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(32, 4, 72, .18); }
.team { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(32, 4, 72, .08); display: grid; gap: 20px; }
.team img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; background: #fff; }
.team__role { color: var(--pink); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.community__quote { margin-top: clamp(40px, 6vw, 64px); padding-top: 32px; border-top: 2px solid #eee6f6; text-align: center; }
.team__links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 820px) { .community { grid-template-columns: 1fr; } }

/* ---------- Lista de espera ---------- */
.signup { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.signup h2 { color: var(--ink); }
.signup__form { background: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.signup__form > label { font-weight: 800; }
.signup__form input[type="email"] { font: inherit; padding: .8em 1em; border-radius: 12px; border: 2px solid #ddd3ea; }
.signup__form input[type="email"]:focus { border-color: var(--purple); outline: none; }
.signup__form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.signup__form legend { font-weight: 800; margin-bottom: 8px; }
.check { display: inline-flex; align-items: center; gap: 6px; padding: .35em .8em; border: 2px solid #ddd3ea; border-radius: 999px; font-size: .9rem; cursor: pointer; }
.check:has(input:checked) { border-color: var(--purple); background: #f1ebfa; }
.hp { position: absolute; left: -9999px; }
.signup__msg { min-height: 1.6em; margin: 0; font-weight: 800; color: var(--purple); }

@media (max-width: 820px) { .signup { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cfc6e4; padding: 32px 0; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer img { height: 28px; width: auto; }
.footer p { margin: 0; }
.footer a { color: var(--yellow); }
.podcast__title-link { color: inherit; text-decoration: none; }
.podcast__title-link:hover, .podcast__title-link:focus-visible { text-decoration: underline; text-underline-offset: .15em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Páginas internas de WordPress (tema Musicantes Hub) ---------- */
.entry { padding: clamp(40px, 7vw, 80px) 0; max-width: 760px; }
.entry__title { font-size: clamp(2.2rem, 6vw, 3.6rem); text-transform: uppercase; color: var(--ink); margin-bottom: .4em; }
.entry__media img, .entry__content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.entry__content a { color: var(--purple); font-weight: 800; }
.entry__content h2, .entry__content h3 { color: var(--ink); margin-top: 1.6em; }
.entry__list { list-style: none; padding: 0; margin: 0; }
.entry__list li { padding: 24px 0; border-top: 2px solid #eee6f6; }
.entry__list-title { font-family: var(--display); font-size: 1.6rem; color: var(--ink); text-decoration: none; text-transform: uppercase; }
.entry__meta { font-size: .85rem; color: var(--muted); margin: .2em 0 .6em; }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
