/* ==========================================================
   JUAN CARDJ — estilos compartidos
   ========================================================== */
:root {
  --bg: #07080a;
  --bg-2: #0d0f13;
  --card: #11141a;
  --line: rgba(255, 255, 255, .09);
  --ink: #eef1f4;
  --muted: #8d95a1;
  --accent: #19e3ff;
  --accent-2: #4d5bff;
  --glow: 0 0 40px rgba(25, 227, 255, .35);
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --radius: 18px;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
::selection { background: var(--accent); color: #000; }

.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
section { position: relative; padding-block: clamp(72px, 11vw, 140px); }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--body); font-weight: 600; font-size: 12.5px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 1.4rem;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 5vw, 58px); font-weight: 800; text-transform: uppercase; }
h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
p { margin: 0 0 1.3em; color: #c3c9d1; }
p strong { color: #fff; font-weight: 600; }
.lead { font-size: clamp(18px, 2vw, 21px); color: #dfe4ea; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, backdrop-filter .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(7, 8, 10, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 12px; border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--display); font-weight: 800; font-size: 17px;
  letter-spacing: .04em; color: #fff; text-transform: uppercase;
  display: flex; align-items: center; gap: .6em;
}
.logo i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: var(--glow); animation: pulse 1.6s ease-in-out infinite;
}
.logo:hover { color: #fff; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 8px 16px; border-radius: 99px;
  color: #cfd5dc; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.nav ul a:hover, .nav ul a[aria-current="page"] { color: #000; background: var(--accent); }
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 50%; background: transparent; cursor: pointer; position: relative; z-index: 60;
}
.burger span, .burger span::before {
  position: absolute; left: 12px; width: 16px; height: 2px; background: #fff; transition: .25s;
}
.burger span { top: 19px; }
.burger span::before { content: ''; left: 0; top: -6px; width: 16px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after {
  content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 2px; background: #fff; transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .burger { display: block; }
  .nav ul {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center;
    gap: 14px; background: rgba(7, 8, 10, .97);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav ul.open { opacity: 1; pointer-events: auto; }
  .nav ul a { font-family: var(--display); font-size: 26px; letter-spacing: 0; padding: 10px 24px; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 15px 28px; border-radius: 99px; border: 1px solid var(--accent);
  font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: #000; background: var(--accent); cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { color: #000; transform: translateY(-2px); box-shadow: var(--glow); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn.ghost:hover { color: #000; background: #fff; border-color: #fff; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; padding: 0; display: flex; align-items: flex-end;
  background: #000 url('../assets/a23.jpg') 88% 22% / cover no-repeat;
  isolation: isolate; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, .92) 0%, rgba(7, 8, 10, .45) 45%, transparent 75%),
    linear-gradient(0deg, var(--bg) 0%, transparent 38%);
}
.hero .wrap { padding-block: 160px 110px; }
.hero h1 {
  font-size: clamp(54px, 10vw, 156px); font-weight: 900; text-transform: uppercase;
  line-height: .88; letter-spacing: -.045em;
}
.hero h1 span { display: block; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.hero .tag {
  margin: 2rem 0 2.4rem; max-width: 460px; font-size: clamp(16px, 1.6vw, 19px); color: #d6dbe2;
}
.hero .tag b { color: var(--accent); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }

.eq {
  position: absolute; left: 0; right: 0; bottom: 0; height: 86px; z-index: -1;
  display: flex; align-items: flex-end; gap: 4px; padding-inline: 4px; opacity: .55;
  -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent);
}
.eq span {
  flex: 1; height: 100%; transform-origin: bottom; transform: scaleY(.1);
  background: linear-gradient(0deg, var(--accent), var(--accent-2));
  animation: bounce var(--d, 1s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes bounce { to { transform: scaleY(var(--h, .8)); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }

.scroll-hint {
  position: absolute; right: var(--gutter); bottom: 110px;
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.scroll-hint::after { content: ''; width: 1px; height: 60px; background: linear-gradient(var(--accent), transparent); }
@media (max-width: 760px) {
  .hero { background-position: 70% top; background-size: auto 62%; align-items: flex-end; }
  .hero::before {
    background:
      linear-gradient(0deg, var(--bg) 40%, rgba(7, 8, 10, .6) 62%, transparent 85%);
  }
  .hero .wrap { padding-block: 120px 90px; }
  .scroll-hint { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  padding: 0; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2);
}
.marquee .track-line { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee span {
  font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3.4vw, 40px);
  text-transform: uppercase; padding: 22px 28px; white-space: nowrap; color: #fff;
}
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); }
.marquee span::after { content: '✦'; color: var(--accent); margin-left: 56px; -webkit-text-stroke: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding-block: 60px; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { border-left: 1px solid var(--line); padding-left: 22px; }
.stat b {
  display: block; font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(34px, 5vw, 62px); color: #fff; line-height: 1;
}
.stat small { color: var(--muted); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: 1fr 1fr; } }

/* ---------- Layout de dos columnas ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.photo {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid var(--line);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.photo:hover img { transform: scale(1.04); }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent);
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: #cfd5dc;
}
figure { margin: 0; }

/* ---------- Sound / players ---------- */
.sound { background: var(--bg-2); border-block: 1px solid var(--line); }
.genres { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6rem 0 2rem; }
.chip {
  padding: 8px 18px; border-radius: 99px; border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: rgba(255, 255, 255, .03);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.players { display: grid; gap: 16px; }
.player {
  padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.player h3 { font-size: 13px; letter-spacing: .2em; font-family: var(--body); text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.player iframe { width: 100%; height: 150px; border: 0; border-radius: 10px; display: block; }

/* ---------- Historia / timeline ---------- */
.timeline { list-style: none; margin: 2.4rem 0 0; padding: 0 0 0 26px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li::before {
  content: ''; position: absolute; left: -31px; top: 9px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--accent); box-shadow: var(--glow);
}
.timeline b { font-family: var(--display); font-size: 22px; color: #fff; display: block; line-height: 1.2; }
.timeline span { color: var(--muted); font-size: 15px; }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 3rem; }
.gallery .photo { aspect-ratio: 4 / 5; }
.gallery .photo:nth-child(1) { aspect-ratio: auto; grid-row: span 1; }
.gallery .photo img { object-position: center top; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .photo { aspect-ratio: 4 / 4.4; }
}

/* ---------- Producciones ---------- */
.releases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; margin-top: 2.8rem; }
.release {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center;
  padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.release:hover { border-color: var(--accent); transform: translateY(-3px); }
.release img { width: 150px; height: 150px; object-fit: cover; border-radius: 12px; background: #000; }
.release h3 { font-size: 20px; font-weight: 700; text-transform: none; letter-spacing: -.01em; margin-bottom: .6rem; }
.release h3 a { color: #fff; }
.release h3 a:hover { color: var(--accent); }
.release dl { margin: 0; font-size: 14.5px; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.release dt { color: var(--muted); }
.release dd { margin: 0; }
@media (max-width: 520px) {
  .release { grid-template-columns: 1fr; }
  .release img { width: 100%; height: auto; aspect-ratio: 1; }
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.stores a {
  padding: 12px 24px; border: 1px solid var(--line); border-radius: 99px;
  color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.stores a:hover { background: var(--accent); border-color: var(--accent); color: #000; }

/* ---------- Apoyo (Teaming) ---------- */
.support { background: var(--bg-2); border-top: 1px solid var(--line); text-align: center; }
.support .eyebrow { justify-content: center; }
.support .widgets { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 2.4rem; }
.support iframe {
  width: 420px; max-width: 100%; height: 277px; border: 0; border-radius: var(--radius);
  background: #fff;
}
.support p { max-width: 560px; margin-inline: auto; }

/* ---------- Cabecera de páginas interiores ---------- */
.page-head { padding: 170px 0 60px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after {
  content: ''; position: absolute; width: 620px; height: 620px; right: -160px; top: -240px;
  background: radial-gradient(circle, rgba(77, 91, 255, .28), transparent 65%); z-index: -1;
}
.page-head h1 { font-size: clamp(24px, 7.6vw, 104px); font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; }
.page-head p { max-width: 560px; margin: 1.4rem 0 0; font-size: 19px; }

.sticky { position: sticky; top: 100px; }
@media (max-width: 860px) { .sticky { position: static; } }

.prose p { font-size: 18px; }
.prose a { border-bottom: 1px solid rgba(25, 227, 255, .4); }
.prose a:hover { border-color: #fff; }
.prose blockquote {
  margin: 2rem 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent);
  font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; color: #fff;
}

/* ---------- Footer ---------- */
footer { padding: 54px 0 40px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer p { margin: 0; font-size: 14px; color: var(--muted); }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer .links a { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #cfd5dc; }
footer .links a:hover { color: var(--accent); }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eq span, .marquee .track-line, .logo i { animation: none; }
  .eq span { transform: scaleY(.4); }
  .reveal { opacity: 1; transform: none; transition: none; }
}
