/* =========================================================
   LUCÍA GEA · THE ART OF DJING — curso de DJ online
   Estética: cabina nocturna. Negro, rojo y blanco.
   ========================================================= */

:root {
  --ink: #0b0b0c;
  --ink-2: #141416;
  --ink-3: #1d1d21;
  --line: rgba(244, 243, 241, 0.12);
  --bone: #f4f3f1;
  --bone-dim: rgba(244, 243, 241, 0.62);
  --acid: #e8172a;
  --on-acid: #ffffff;
  --coral: #ffffff;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--acid); color: var(--on-acid); }

/* Grano sutil sobre toda la página */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.acid { color: var(--acid); }
.dim { color: var(--bone-dim); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .95; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(36px, 6.2vw, 92px); }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; line-height: 1.1; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--bone-dim); max-width: 46ch; }

/* ---------- Splash: aguja sobre el disco ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink);
  animation: splashOut .6s var(--ease) 4.5s forwards; /* red de seguridad CSS */
}
.splash.is-done { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.splash__inner { display: flex; align-items: center; gap: 18px; }
.splash__disc {
  width: 56px; height: 56px; border-radius: 50%;
  background: repeating-radial-gradient(circle, #222 0 2px, #111 2px 4px);
  position: relative; animation: spin 1.2s linear infinite;
}
.splash__disc::after { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: var(--acid); }
.splash__bar { width: 140px; height: 2px; background: var(--line); overflow: hidden; }
.splash__bar span { display: block; height: 100%; width: 40%; background: var(--acid); animation: load 1s var(--ease) infinite; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 12px 0; border-color: var(--line); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.logo__mark { width: 26px; height: 26px; border-radius: 50%; background: repeating-radial-gradient(circle, var(--bone) 0 1px, transparent 1px 3px); position: relative; animation: spin 6s linear infinite; }
.logo__mark::after { content: ""; position: absolute; inset: 36%; border-radius: 50%; background: var(--acid); }
.nav__links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--bone-dim); transition: color .25s; position: relative; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--bone); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--acid); }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); color: var(--bone); border-radius: 999px; padding: 8px 14px; font: 600 13px var(--body); cursor: pointer; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--acid); --fg: var(--on-acid);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 15px/1 var(--body); text-decoration: none; letter-spacing: .01em;
  border: 1px solid var(--bg);
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s;
  will-change: transform;
}
.btn:hover { box-shadow: 0 10px 40px -10px rgba(232, 23, 42, .55); }
.btn--ghost { --bg: transparent; --fg: var(--bone); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--bone); box-shadow: none; }
.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 48px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 80% 60% at 70% 35%, rgba(232,23,42,.08), transparent 60%), linear-gradient(to top, var(--ink) 4%, transparent 45%); pointer-events: none; }
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: auto; padding-top: 24px; }
.bpm { display: flex; align-items: center; gap: 12px; }
.bpm__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(232,23,42,.6); animation: beat .484s infinite; }
@keyframes beat { 0% { transform: scale(1.25); box-shadow: 0 0 0 0 rgba(232,23,42,.5); } 60% { transform: scale(1); box-shadow: 0 0 0 12px rgba(232,23,42,0); } 100% { transform: scale(1); } }
.hero__title { font-size: clamp(56px, 13.5vw, 220px); line-height: .84; letter-spacing: -.045em; text-transform: uppercase; margin: 40px 0 34px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--acid); }
.hero__title .outline { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }
.hero__foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Entrada del titular (solo animación de entrada, nunca oculta contenido sin JS) */
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .is-loaded .hero__title .line > span { transform: none; }
.js .is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .09s; }
.js .is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .18s; }

/* ---------- Ticker de géneros ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ink); }
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { font-family: var(--display); font-size: clamp(22px, 3vw, 40px); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.ticker__item::after { content: "●"; color: var(--acid); font-size: .45em; }
.ticker__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--bone-dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(90px, 13vw, 180px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.section--bone { background: var(--bone); color: var(--ink); }
.section--bone .dim, .section--bone .lede { color: rgba(11,11,12,.64); }
.section--bone .mono.acid { color: var(--on-acid); background: var(--acid); padding: 4px 8px; display: inline-block; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }

/* Manifiesto con vinilo */
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.manifesto__text h2 { margin-bottom: 36px; }
.vinyl { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: end; }
.vinyl__disc { position: absolute; inset: 0; border-radius: 50%; background:
  radial-gradient(circle, var(--acid) 0 15.5%, #0b0b0c 15.6% 16.5%, transparent 16.6%),
  conic-gradient(from 30deg, rgba(255,255,255,.10), transparent 12%, rgba(255,255,255,.07) 30%, transparent 45%, rgba(255,255,255,.12) 62%, transparent 75%, rgba(255,255,255,.08) 90%, rgba(255,255,255,.10)),
  repeating-radial-gradient(circle, #151517 0 1.5px, #0d0d0f 1.5px 3.5px);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.06);
  will-change: transform;
}
.vinyl__label { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.vinyl__label svg { width: 31%; height: 31%; }
.vinyl__arm { position: absolute; top: -4%; right: -2%; width: 44%; height: 70%; transform-origin: 82% 8%; transform: rotate(-18deg); transition: transform 1.4s var(--ease); pointer-events: none; }
.vinyl.is-playing .vinyl__arm { transform: rotate(4deg); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 70px; }
.step { padding: 40px 32px 10px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 32px; }
.step:last-child { border-right: 0; }
.step__num { font-family: var(--display); font-size: 64px; font-weight: 300; color: var(--acid); line-height: 1; margin-bottom: 26px; display: block; }
.step h3 { margin-bottom: 14px; }
.step p { color: var(--bone-dim); font-size: 16px; }

/* ---------- Crossfader interactivo ---------- */
.mixer { margin-top: 64px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 48px); }
.mixer__decks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.deck { position: relative; border-radius: 18px; background: var(--ink-3); padding: 26px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: opacity .15s linear; }
.deck__label { display: flex; justify-content: space-between; }
.deck__name { font-family: var(--display); font-size: clamp(26px, 3.4vw, 46px); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: -.02em; }
.deck__wave { display: flex; align-items: center; gap: 3px; height: 56px; }
.deck__wave i { flex: 1; background: currentColor; border-radius: 2px; height: 20%; transition: height .12s linear; }
.deck--a { color: var(--acid); }
.deck--b { color: var(--coral); }
.deck .deck__name, .deck .mono { color: var(--bone); }
.fader { margin-top: 34px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.fader input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--acid), var(--line) 50%, var(--coral)); outline: none; cursor: grab; }
.fader input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 54px; height: 34px; border-radius: 8px; background: var(--bone); border: 0; box-shadow: 0 6px 20px rgba(0,0,0,.6), inset 0 -3px 0 rgba(0,0,0,.25); background-image: linear-gradient(90deg, transparent 47%, var(--ink) 47% 53%, transparent 53%); }
.fader input[type=range]::-moz-range-thumb { width: 54px; height: 34px; border-radius: 8px; background: var(--bone); border: 0; box-shadow: 0 6px 20px rgba(0,0,0,.6); }
.fader input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--acid); outline-offset: 3px; }
.mixer__caption { margin-top: 26px; text-align: center; font-size: 15px; color: var(--bone-dim); min-height: 1.6em; }

/* ---------- Tracklist (temario) ---------- */
.tracklist { list-style: none; margin: 60px 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: t; }
.section--bone .tracklist, .section--bone .track { border-color: rgba(11,11,12,.14); }
.track { display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .4s var(--ease); }
.track::before { content: ""; position: absolute; left: -100vw; right: -100vw; top: 0; bottom: 0; background: var(--acid); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.track:hover::before { transform: scaleY(1); }
.track:hover { color: var(--on-acid); padding-left: 14px; }
.track:hover .dim, .track:hover .track__desc { color: rgba(255,255,255,.8); }
.track { isolation: isolate; }
.track__n { font-family: var(--mono); font-size: 14px; }
.track__title { font-family: var(--display); font-size: clamp(20px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.track__desc { color: var(--bone-dim); font-size: 15px; margin: 10px 0 0; max-width: 60ch; }
.section--bone .track__desc { color: rgba(11,11,12,.64); }
.track__time { font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.tracklist-wrap { overflow: hidden; }

/* ---------- Fotos (con relleno elegante mientras no estén) ---------- */
.photo { position: relative; overflow: hidden; border-radius: 20px; background:
  radial-gradient(circle at 30% 20%, rgba(232,23,42,.18), transparent 45%),
  radial-gradient(circle at 80% 90%, rgba(255,255,255,.06), transparent 50%),
  repeating-radial-gradient(circle at 50% 120%, #19191c 0 2px, #111113 2px 6px);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.photo.is-in img { transform: scale(1); }
.photo figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 2; }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 16px; margin-top: 60px; }
.gallery .photo:first-child { grid-row: span 2; }
.gallery .photo:nth-child(4) { grid-column: span 2; }

/* ---------- Bloques de lista / beneficios ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 18px 0 18px 42px; border-bottom: 1px solid var(--line); position: relative; }
.section--bone .checklist li { border-color: rgba(11,11,12,.14); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.checklist strong { display: block; font-weight: 700; }
.checklist span { color: var(--bone-dim); font-size: 15px; }
.section--bone .checklist span { color: rgba(11,11,12,.64); }

/* ---------- Precios ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.plan { border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px; background: var(--ink-2); position: relative; overflow: hidden; }
.plan--featured { background: var(--acid); color: var(--on-acid); border-color: var(--acid); }
.plan--featured .dim, .plan--featured .checklist span { color: rgba(255,255,255,.82); }
.plan--featured .checklist li { border-color: rgba(255,255,255,.25); }
.plan--featured .checklist li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8172a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.plan--featured .btn { --bg: var(--ink); --fg: var(--on-acid); }
.plan__tag { position: absolute; top: 24px; right: 24px; background: var(--ink); color: var(--acid); padding: 6px 10px; border-radius: 999px; }
.plan__price { font-family: var(--display); font-size: clamp(56px, 7vw, 96px); font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.plan__price small { font-size: .3em; letter-spacing: 0; font-weight: 500; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.guarantee { margin-top: 28px; display: flex; gap: 18px; align-items: center; color: var(--bone-dim); font-size: 15px; }
.guarantee b { color: var(--bone); }

/* ---------- Página interior: cabecera ---------- */
.page-head { padding: clamp(150px, 20vw, 240px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(52px, 10vw, 156px); text-transform: uppercase; letter-spacing: -.045em; line-height: .86; }
.page-head h1 em { font-style: normal; color: var(--acid); }
.page-head .lede { margin-top: 34px; }
.page-head__eq { position: absolute; right: var(--gutter); top: 140px; display: flex; gap: 6px; align-items: flex-end; height: 120px; opacity: .9; }
.page-head__eq i { width: 8px; background: var(--acid); border-radius: 2px; animation: eq 1s ease-in-out infinite alternate; }
.page-head__eq i:nth-child(2n) { animation-duration: .7s; background: var(--bone); }
.page-head__eq i:nth-child(3n) { animation-duration: 1.3s; }
@keyframes eq { from { height: 12%; } to { height: 100%; } }

/* ---------- Escuela / instructora ---------- */
.portrait { aspect-ratio: 4 / 5; }
.quote { font-family: var(--display); font-size: clamp(26px, 3.6vw, 52px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.quote em { font-style: normal; color: var(--acid); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 60px; }
.value { background: var(--ink); padding: 34px 26px; transition: background .3s; }
.value:hover { background: var(--ink-2); }
.value .mono { display: block; margin-bottom: 30px; }
.value h3 { margin-bottom: 12px; font-size: 20px; }
.value p { font-size: 15px; color: var(--bone-dim); margin: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); margin-top: 50px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 60px 28px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2vw, 24px); letter-spacing: -.01em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--body); font-weight: 400; font-size: 22px; transition: transform .35s var(--ease), background .25s, color .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--acid); color: var(--on-acid); border-color: var(--acid); }
.faq summary:hover { color: var(--acid); }
.faq .answer { padding: 0 60px 30px 0; color: var(--bone-dim); max-width: 70ch; }

.contact-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 48px); position: sticky; top: 110px; }
.contact-card h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.contact-links { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-links li { border-top: 1px solid var(--line); }
.contact-links a { display: flex; justify-content: space-between; padding: 18px 0; text-decoration: none; font-weight: 600; transition: color .25s, padding .3s var(--ease); }
.contact-links a:hover { color: var(--acid); padding-left: 8px; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; padding: clamp(100px, 14vw, 200px) 0; position: relative; overflow: hidden; }
.cta-final h2 { font-size: clamp(48px, 10vw, 160px); text-transform: uppercase; letter-spacing: -.045em; line-height: .86; margin-bottom: 44px; }
.cta-final h2 em { font-style: normal; color: var(--acid); }
.cta-final .lede { margin: 0 auto 40px; }
.cta-final__rings { position: absolute; inset: 50% auto auto 50%; width: 140vmax; height: 140vmax; transform: translate(-50%, -50%); background: repeating-radial-gradient(circle, transparent 0 46px, rgba(237,234,227,.045) 46px 47px); z-index: -1; animation: spin 120s linear infinite; }
.cta-final { isolation: isolate; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 40px; font-size: 14px; color: var(--bone-dim); }
.footer__row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-end; }
.footer__big { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 15vw, 230px); letter-spacing: -.05em; line-height: .8; color: var(--ink-3); margin: 40px 0 30px; user-select: none; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--acid); }

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
/* Defensa: los textos partidos nunca pueden quedar invisibles */
.reveal[data-split] { opacity: 1 !important; transform: none !important; }

/* Barra de progreso de scroll */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--acid); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 28px; transform: translateY(-100%); transition: transform .6s var(--ease); }
  .nav__links a { font-family: var(--display); font-size: 34px; color: var(--bone); }
  .nav.is-open .nav__links { transform: none; }
  .nav__toggle { display: inline-block; position: relative; z-index: 2; }
  .nav__buy { display: none; }
  .hero__foot { grid-template-columns: 1fr; gap: 28px; }
  .hero__cta { justify-content: flex-start; }
  .manifesto, .grid-2 { grid-template-columns: 1fr; }
  .vinyl { justify-self: center; max-width: 420px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .values { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .page-head__eq { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__top .mono:last-child { display: none; }
  .mixer__decks { grid-template-columns: 1fr; }
  .deck { min-height: 170px; }
  .track { grid-template-columns: 44px 1fr; }
  .track__time { grid-column: 2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .gallery .photo:first-child { grid-column: span 2; grid-row: auto; }
  .gallery .photo:nth-child(4) { grid-column: span 2; }
  .values { grid-template-columns: 1fr; }
  .fader { grid-template-columns: 1fr; }
  .fader .mono { display: none; }
  .faq summary { padding-right: 52px; }
  .faq .answer { padding-right: 0; }
}

/* Solo se suavizan los efectos realmente intrusivos */
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .cta-final__rings { animation-duration: 120s; }
}

/* ---------- Fotos reales de Lucía ---------- */
.hero__photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__photo img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 35%; filter: saturate(1.05) contrast(1.05); opacity: .55; will-change: transform; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,.25) 55%, rgba(11,11,12,.6) 100%); }
.hero__credit { position: absolute; right: var(--gutter); top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); color: var(--bone-dim); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split .photo { aspect-ratio: 4 / 5; }
.split--rev { grid-template-columns: 7fr 5fr; }
.photo--wide { aspect-ratio: 16 / 9; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; border-top: 1px solid var(--line); padding-top: 28px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(34px, 4vw, 56px); line-height: 1; color: var(--acid); letter-spacing: -.03em; margin-bottom: 8px; }
.stat span { font-size: 14px; color: var(--bone-dim); }
.sticker { position: absolute; top: 22px; right: 22px; z-index: 3; background: var(--acid); color: var(--on-acid); padding: 8px 12px; border-radius: 999px; transform: rotate(6deg); }
@media (max-width: 960px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .hero__credit { display: none; }
}

/* Ajustes finales */
.section, .hero, .page-head { overflow-x: clip; }
.grid-2--faq { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 960px) { .grid-2--faq { grid-template-columns: 1fr; } }
.hero .btn--ghost { background: rgba(11,11,12,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 640px) {
  .hero__title { font-size: 18vw; }
  .hero__canvas { opacity: .45; }
  .hero__photo img { object-position: 46% 30%; }
}
.contact-links a span { overflow-wrap: anywhere; text-align: right; }
/* Titular ajustado al ancho real de Unbounded */
.hero__title { font-size: clamp(44px, 11vw, 190px); }
@media (max-width: 640px) { .hero__title { font-size: 12.5vw; } }

/* ---------- Lista de espera ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; padding: 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(20,20,22,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .25s; }
.waitlist:focus-within { border-color: var(--acid); }
.waitlist input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--bone); font: 600 16px var(--body); padding: 0 18px; }
.waitlist input[type=email]::placeholder { color: var(--bone-dim); }
.waitlist .btn { flex-shrink: 0; }
.waitlist.is-sending .btn { opacity: .6; pointer-events: none; }
.waitlist.is-done { display: none; }
.waitlist__msg { margin: 18px auto 0; min-height: 1.6em; font-weight: 700; max-width: 560px; }
.waitlist__msg.is-ok { color: var(--acid); font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; }
.waitlist__msg.is-error { color: var(--bone); text-decoration: underline; text-decoration-color: var(--acid); text-underline-offset: 5px; }
.waitlist__legal { font-size: 13px; color: var(--bone-dim); max-width: 46ch; margin: 6px auto 0; }
.btn:focus-visible, .waitlist input:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }
@media (max-width: 520px) {
  .waitlist { flex-direction: column; border-radius: 22px; padding: 10px; }
  .waitlist input[type=email] { padding: 14px 10px; }
  .waitlist .btn { justify-content: center; }
}

/* ---------- Módulos desplegables con sus lecciones ---------- */
.modules { list-style: none; margin: 60px 0 0; padding: 0; border-top: 1px solid var(--line); }
.module { border-bottom: 1px solid var(--line); }
.module summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 70px 1fr auto 40px; gap: 24px; align-items: center; padding: 28px 0; position: relative; isolation: isolate; transition: padding .4s var(--ease), color .25s; }
.module summary::-webkit-details-marker { display: none; }
.module summary::before { content: ""; position: absolute; left: -100vw; right: -100vw; top: 0; bottom: 0; background: var(--acid); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.module summary:hover::before { transform: scaleY(1); }
.module summary:hover { color: var(--on-acid); padding-left: 14px; }
.module summary:hover .module__n { color: var(--on-acid); }
.module summary:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }
.module__n { color: var(--bone-dim); font-size: 14px; }
.module__title { font-family: var(--display); font-size: clamp(20px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.module__count { font-size: 14px; white-space: nowrap; }
.module__icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; opacity: .7; position: relative; transition: transform .35s var(--ease), background .25s, opacity .25s; }
.module__icon::before, .module__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.module__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.module details[open] .module__icon { transform: rotate(45deg); background: var(--acid); border-color: var(--acid); color: var(--on-acid); opacity: 1; }
.module details[open] summary:hover .module__icon { background: var(--ink); border-color: var(--ink); color: var(--on-acid); }
.module__lessons { list-style: none; margin: 0; padding: 0 0 28px 94px; animation: lessonsIn .45s var(--ease); }
.module__lessons li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px dashed var(--line); font-size: 17px; }
.module__lessons li .mono { color: var(--acid); }
.module__note { margin: 0; padding: 0 0 28px 94px; color: var(--bone-dim); max-width: 60ch; animation: lessonsIn .45s var(--ease); }
@keyframes lessonsIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .module summary { grid-template-columns: 34px 1fr 36px; gap: 12px; padding: 22px 0; }
  .module__count { grid-column: 2; grid-row: 2; margin-top: -4px; color: var(--bone-dim); }
  .module__icon { grid-column: 3; grid-row: 1 / span 2; width: 36px; height: 36px; }
  .module__lessons, .module__note { padding-left: 46px; }
  .module__lessons li { grid-template-columns: 44px 1fr; font-size: 15px; }
}

/* Fotos en blanco y negro (negro · rojo · blanco); en ordenador recuperan el color al pasar el ratón */
.photo img, .hero__photo img { filter: grayscale(1) contrast(1.12); transition: transform 1.4s var(--ease), filter .6s ease; }
@media (hover: hover) { .photo:hover img { filter: grayscale(0) contrast(1.05); } }
.hero__photo img { opacity: .6; }
.deck--b .deck__wave i { background: var(--bone); }
/* Rojo algo más claro para textos pequeños sobre negro (mejor legibilidad) */
.acid, .module__lessons li .mono, .value .mono.acid { color: #ff4553; }
.section--bone .mono.acid { color: var(--on-acid); }
