/* ==========================================================
   SOCAVÓN — sistema visual
   Concepto: laboratorio. «Hacemos crecer tus canciones».
   SOCAVÓN es un music lab: se escucha, se prueba y se ajusta
   hasta encontrar la fórmula de cada idea y darle impulso.
   Negro de estudio, hueso, cobre que se enciende a ámbar.
   ========================================================== */

:root {
  --bg: #0d0c0a;
  --bg-2: #13120f;
  --surface: #191714;
  --surface-2: #211f1b;
  --line: rgba(236, 228, 214, 0.09);
  --line-2: rgba(236, 228, 214, 0.16);
  --text: #ece4d6;
  --text-2: #b9b1a3;
  --muted: #7f786d;
  --accent: #e07a3f;
  --accent-2: #f19a62;
  --accent-ink: #1a0d05;
  --accent-soft: rgba(224, 122, 63, 0.12);
  --ok: #8fb19b;
  --ok-soft: rgba(143, 177, 155, 0.12);
  --warn: #d9b45f;
  --warn-soft: rgba(217, 180, 95, 0.12);
  --bad: #e2705f;
  --bad-soft: rgba(226, 112, 95, 0.12);

  --big: "League Spartan", "Jost", ui-sans-serif, sans-serif; /* letras grandes */
  --display: "Jost", "Futura", "Century Gothic", ui-sans-serif, sans-serif; /* afín al logotipo */
  --sans: "Questrial", ui-sans-serif, system-ui, -apple-system, sans-serif; /* párrafos e interfaz */
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --gutter: 16px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grano sutil */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .05;
  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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#root { position: relative; z-index: 1; min-height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; }
svg[aria-hidden] { width: 18px; height: 18px; flex: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.demo-flag {
  position: fixed; z-index: 60; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + 10px + env(safe-area-inset-bottom));
  font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 99px; white-space: nowrap;
  background: rgba(13, 12, 10, .85); border: 1px solid var(--line-2); color: var(--muted);
  backdrop-filter: blur(8px); pointer-events: none;
}
body.no-nav .demo-flag { bottom: calc(14px + env(safe-area-inset-bottom)); }
body.has-sticky .demo-flag { display: none; }
@media (min-width: 960px) { .demo-flag { bottom: 16px !important; left: auto; right: 16px; transform: none; } }

/* ---------- tipografía ---------- */
.eyebrow { font: 500 11.5px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.display { font: 700 clamp(40px, 10.5vw, 92px)/.95 var(--big); letter-spacing: -.035em; margin: 0; }
.display em, .h1 em, .h2 em { font-style: normal; color: var(--accent-2); }
.h1 { font: 700 clamp(30px, 7vw, 50px)/1 var(--big); letter-spacing: -.03em; margin: 0; }
.h2 { font: 600 clamp(23px, 5.4vw, 34px)/1.08 var(--big); letter-spacing: -.02em; margin: 0; }
.h3 { font: 500 18px/1.3 var(--display); margin: 0; letter-spacing: 0; }
.lead { font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 46ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .01em; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wordmark { font: 500 14px/1 var(--sans); letter-spacing: .32em; }
.wordmark b { color: var(--accent); font-weight: 500; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.stack > * + * { margin-top: var(--s, 16px); }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap-it { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: initial; } .hide-lg { display: none; } }
.divider { height: 1px; background: var(--line); border: 0; margin: 20px 0; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: 99px; font-weight: 500; font-size: 15px;
  border: 1px solid var(--line-2); background: var(--surface); transition: .2s var(--ease); white-space: nowrap;
}
.btn:hover { border-color: var(--text-2); }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.primary:hover { background: var(--accent-2); }
.btn.light { background: var(--text); color: var(--bg); border-color: transparent; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; border: 1px solid var(--line); }
.icon-btn svg { width: 18px; height: 18px; }
.link { color: var(--accent-2); border-bottom: 1px solid rgba(241, 154, 98, .35); }

/* ---------- superficies ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.card.flat { background: transparent; }
.card.tight { padding: 14px 16px; border-radius: var(--r); }
.card.accent { background: linear-gradient(160deg, rgba(224,122,63,.16), rgba(224,122,63,.02) 60%), var(--surface); border-color: rgba(224,122,63,.3); }
.card-link { display: block; transition: .2s var(--ease); }
.card-link:hover { border-color: var(--line-2); transform: translateY(-1px); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px;
  font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line);
}
.pill.accent { background: var(--accent-soft); color: var(--accent-2); border-color: transparent; }
.pill.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.pill.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.dot { width: 6px; height: 6px; border-radius: 99px; background: currentColor; }

/* ---------- formularios ---------- */
.field { display: block; }
.field > span { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 7px; }
.input, .textarea, .select {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--r); background: var(--bg-2);
  border: 1px solid var(--line-2); outline: none; transition: .15s; font-size: 16px;
}
.textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); background: var(--surface); }
.input.sm, .select.sm { height: 38px; font-size: 14px; padding: 0 12px; border-radius: 10px; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin: 1px 0 0; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; transition: .15s;
}
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: transparent; }

.switch { position: relative; display: inline-block; vertical-align: middle; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; position: absolute; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-2); transition: .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 99px; background: var(--muted); transition: .2s var(--ease); }
.switch input:checked + i { background: var(--accent); border-color: transparent; }
.switch input:checked + i::after { left: 21px; background: var(--accent-ink); }

.seg { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { height: 30px; padding: 0 12px; border-radius: 99px; font: 500 12px/1 var(--mono); color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 99px; height: 44px; }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; }
.stepper button svg { width: 16px; height: 16px; }
.stepper output { min-width: 32px; text-align: center; font-family: var(--mono); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: 60px; display: flex; align-items: center;
  background: rgba(13, 12, 10, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--text-2); }
.topbar nav a:hover { color: var(--text); }

/* ==========================================================
   HOME
   ========================================================== */
.hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
.hero .display { max-width: 11ch; }
.hero-grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .hero { padding: 90px 0 80px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; align-items: center; }
}
.lab-grid { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 70% at 70% 60%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 70% at 70% 60%, #000, transparent 75%); }
.lab-light { position: absolute; inset: auto -10% -30% -10%; height: 75%; pointer-events: none;
  background: radial-gradient(55% 65% at 50% 100%, rgba(224, 122, 63, .24), rgba(255, 208, 138, .06) 50%, transparent 76%); }
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particles span { position: absolute; bottom: -8px; width: 3px; height: 3px; border-radius: 99px; background: #f1c48f;
  box-shadow: 0 0 8px 1px rgba(241, 196, 143, .45); opacity: 0; animation: rise 12s ease-in-out infinite; }
.particles span:nth-child(3n) { width: 2px; height: 2px; background: var(--text); }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .7; } 50% { transform: translate(10px, -260px); } 85% { opacity: .3; } 100% { transform: translate(-4px, -520px); opacity: 0; } }

.rec-orb { position: relative; width: min(78vw, 340px); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.rec-orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-2); }
.rec-orb .ring:nth-child(2) { inset: 12%; border-color: var(--line); }
.rec-orb .ring:nth-child(3) { inset: 24%; border-color: rgba(224,122,63,.25); }
.rec-orb .ring.pulse { animation: pulse 3.2s var(--ease) infinite; border-color: rgba(224,122,63,.5); }
@keyframes pulse { 0% { transform: scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.05); opacity: 0; } }
.rec-btn {
  position: relative; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(224,122,63,.1), 0 20px 60px -10px rgba(224,122,63,.5);
  transition: transform .25s var(--ease);
}
.rec-btn:hover { transform: scale(1.04); }
.rec-btn svg { width: 34%; height: 34%; }
.rec-btn.recording { background: var(--bad); animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 22px rgba(226,112,95,.12), 0 20px 60px -10px rgba(226,112,95,.5); } }
.rec-caption { text-align: center; margin-top: 18px; }

.section { padding: 64px 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .section { padding: 110px 0; } }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; }
@media (min-width: 960px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 56px; } }

.journey { list-style: none; margin: 0; padding: 0; counter-reset: j; }
.journey li { display: grid; grid-template-columns: 100px 1fr; gap: 4px 14px; padding: 22px 0; border-top: 1px solid var(--line); position: relative; }
.journey li:last-child { border-bottom: 1px solid var(--line); }
.journey .phase { font: 500 11px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; padding-top: 7px; white-space: nowrap; }
.journey .h3 { font: 500 22px/1.15 var(--display); }
.journey p { grid-column: 2; margin: 4px 0 0; color: var(--text-2); max-width: 52ch; }
@media (min-width: 960px) {
  .journey li { grid-template-columns: 120px 1fr 1.2fr; align-items: baseline; padding: 30px 0; }
  .journey p { grid-column: 3; margin: 0; }
  .journey .h3 { font-size: 27px; }
}

.svc-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.svc-row { background: var(--bg); padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.svc-row .h3 { font: 500 21px/1.15 var(--display); }
.svc-row p { margin: 0; color: var(--text-2); font-size: 14px; grid-column: 1 / -1; }
.svc-row .price { text-align: right; }
@media (min-width: 720px) { .svc-row { grid-template-columns: 1.1fr 1.5fr auto; padding: 26px 28px; } .svc-row p { grid-column: auto; } }

.tiers { display: grid; gap: 0; }
.tier { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; position: relative; }
.tier::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: var(--w, 30%); background: var(--accent); }
.tier .name { font: 500 22px/1.1 var(--display); }
.tier .pct { font: 500 27px/1 var(--big); color: var(--accent-2); }

.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font: 500 18px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--text-2); margin: 10px 0 0; max-width: 60ch; }

.footer { padding: 48px 0 calc(90px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* ==========================================================
   AUTH
   ========================================================== */
.auth { min-height: 100vh; display: grid; }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-side { display: none; position: relative; overflow: hidden; border-right: 1px solid var(--line); padding: 40px; }
@media (min-width: 960px) { .auth-side { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-main { display: flex; flex-direction: column; padding: 20px var(--gutter) 40px; }
.auth-form { width: 100%; max-width: 400px; margin: auto; padding: 32px 0; }
.demo-accounts { display: grid; gap: 10px; }
.demo-account { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); border: 1px dashed var(--line-2); text-align: left; transition: .15s; }
.demo-account:hover { border-color: var(--accent); background: var(--accent-soft); }

.avatar { width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; flex: none; background: var(--surface-2); border: 1px solid var(--line-2); font: 500 13px/1 var(--mono); color: var(--text-2); }
.avatar.lg { width: 48px; height: 48px; font-size: 15px; }

/* ==========================================================
   APP SHELL (cliente / admin)
   ========================================================== */
.shell { min-height: 100vh; padding-bottom: calc(var(--nav-h) + 40px + env(safe-area-inset-bottom)); }
.shell-main { padding: 22px 0 40px; }
@media (min-width: 960px) {
  .shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); padding-bottom: 0; }
  .shell-main { padding: 36px 0 80px; }
}
.side { display: none; }
@media (min-width: 960px) {
  .side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; padding: 24px 14px; border-right: 1px solid var(--line); background: var(--bg-2); }
  .side .wordmark { padding: 6px 12px 28px; }
  .side a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 10px; color: var(--text-2); font-size: 14.5px; }
  .side a svg { width: 18px; height: 18px; }
  .side a:hover { color: var(--text); background: var(--surface); }
  .side a.on { color: var(--text); background: var(--surface-2); }
  .side .spacer { flex: 1; }
  .side .side-label { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 18px 12px 8px; }
}
.app-top { display: flex; align-items: center; justify-content: space-between; height: 58px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; background: rgba(13,12,10,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
@media (min-width: 960px) { .app-top { display: none; } }

.tabbar {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(19, 18, 15, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font: 500 10.5px/1 var(--sans); color: var(--muted); }
.tabbar a svg { width: 21px; height: 21px; }
.tabbar a.on { color: var(--text); }
.tabbar a.fab span { width: 50px; height: 50px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin-top: -22px; box-shadow: 0 10px 30px -6px rgba(224,122,63,.6), 0 0 0 5px var(--bg); }
.tabbar a.fab svg { width: 22px; height: 22px; }
@media (min-width: 960px) { .tabbar { display: none; } }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.back svg { width: 16px; height: 16px; }
.back:hover { color: var(--text); }

/* barra de impulso: cada etapa cumplida se enciende de cobre a ámbar */
.pulse-bar { display: flex; gap: 3px; height: 4px; }
.pulse-bar i { flex: 1; border-radius: 2px; background: var(--surface-2); }
.pulse-bar i.on { background: var(--c, var(--accent)); }
.pulse-bar i.now { background: var(--c, var(--accent-2)); box-shadow: 0 0 10px var(--c, rgba(241,154,98,.7)); }

.project-card { display: grid; gap: 14px; }
.project-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.rise { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; }
.rise li { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: start; position: relative; padding-bottom: 20px; }
.rise li::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 1px; background: var(--line-2); }
.rise li:first-child { padding-bottom: 0; }
.rise li:first-child::before { display: none; }
.rise li.done::before, .rise li.now::before { background: linear-gradient(var(--accent-2), var(--accent)); }
.rise .node { width: 21px; height: 21px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; }
.rise .node svg { width: 12px; height: 12px; }
.rise li.done .node { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.rise li.now .node { border-color: var(--accent-2); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 14px rgba(241, 154, 98, .55); }
.rise li.now .node::after { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--accent-2); }
.rise li.todo { color: var(--muted); }

.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.kv dd.discount { color: var(--ok); }
.kv .total { font: 600 27px/1 var(--big); color: var(--text); }

.list { display: grid; }
.list > * { padding: 14px 0; border-top: 1px solid var(--line); }
.list > *:first-child { border-top: 0; }

.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { height: 34px; padding: 0 14px; border-radius: 99px; font-size: 13.5px; color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--text); background: var(--surface-2); border-color: var(--line-2); }

.empty { text-align: center; padding: 32px 16px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }

/* ==========================================================
   WIZARD / RECORDER
   ========================================================== */
.steps { display: flex; gap: 6px; margin-bottom: 26px; }
.steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--surface-2); }
.steps i.on { background: var(--accent); }
.recorder { display: grid; justify-items: center; gap: 18px; padding: 28px 16px; text-align: center; }
.recorder .rec-orb { width: min(64vw, 260px); }
.timer { font: 500 48px/1 var(--big); font-variant-numeric: tabular-nums; }
.wave { width: 100%; height: 64px; }
.audio-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); width: 100%; }
.audio-card .play { width: 44px; height: 44px; border-radius: 99px; background: var(--text); color: var(--bg); display: grid; place-items: center; flex: none; }
.audio-card .play svg { width: 18px; height: 18px; }
.bars { display: flex; align-items: center; gap: 2px; height: 32px; flex: 1; min-width: 0; overflow: hidden; }
.bars i { width: 3px; flex: none; border-radius: 2px; background: var(--muted); }
.bars i.p { background: var(--accent); }
.dropzone { display: grid; place-items: center; gap: 8px; padding: 26px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); text-align: center; cursor: pointer; transition: .15s; width: 100%; }
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone svg { width: 24px; height: 24px; color: var(--accent); }
.ref-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.ref-badge { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font: 600 10px/1 var(--mono); flex: none; }
.ref-badge.youtube { background: #3a1513; color: #ff6b5e; }
.ref-badge.spotify { background: #12301e; color: #4fdc84; }
.ref-badge.soundcloud { background: #3a2010; color: #ff9442; }
.ref-badge.apple { background: #3a1626; color: #ff6f9b; }
.ref-badge.link { background: var(--surface-2); color: var(--text-2); }
.ref-item .url { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================
   CONFIGURADOR
   ========================================================== */
.config { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .config { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } .config .summary { position: sticky; top: 24px; } }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-align: left; width: 100%; transition: .15s; }
.opt:hover { border-color: var(--line-2); }
.opt[aria-checked="true"] { border-color: var(--accent); background: linear-gradient(0deg, var(--accent-soft), var(--accent-soft)), var(--surface); }
.opt .radio { width: 20px; height: 20px; border-radius: 99px; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.opt[aria-checked="true"] .radio { border-color: var(--accent); }
.opt[aria-checked="true"] .radio::after { content: ""; width: 10px; height: 10px; border-radius: 99px; background: var(--accent); }
.opt .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.opt .box svg { width: 13px; height: 13px; opacity: 0; }
.opt[aria-checked="true"] .box { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.opt[aria-checked="true"] .box svg { opacity: 1; }
.opt .desc { grid-column: 2 / -1; font-size: 13.5px; color: var(--muted); }
.opt .price { font-family: var(--mono); font-size: 13.5px; text-align: right; }

.sticky-total { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(19,18,15,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.sticky-total .t { font: 600 23px/1 var(--big); }
@media (min-width: 960px) { .sticky-total { display: none; } }
body.has-sticky .tabbar { display: none; }

.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--warn-soft); color: var(--warn); font-size: 14px; }
.notice.info { background: var(--accent-soft); color: var(--accent-2); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.notice p { margin: 0; color: var(--text-2); }

/* ==========================================================
   CHECKOUT
   ========================================================== */
.gateway { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 14px; align-items: center; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); text-align: left; width: 100%; background: var(--surface); }
.gateway[aria-checked="true"] { border-color: var(--accent); }
.gw-logo { width: 44px; height: 30px; border-radius: 6px; display: grid; place-items: center; font: 700 10px/1 var(--sans); letter-spacing: .02em; }
.gw-logo.mp { background: #00b1ea; color: #fff; }
.gw-logo.stripe { background: #635bff; color: #fff; }
.gw-logo.paypal { background: #ffc439; color: #003087; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; }
.events li { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: start; }
.events .ev-dot { width: 8px; height: 8px; border-radius: 99px; margin: 6px 4px; background: var(--muted); }
.events .ok .ev-dot { background: var(--ok); }
.events .warn .ev-dot { background: var(--warn); }
.events .bad .ev-dot { background: var(--bad); }

/* ==========================================================
   BENEFICIOS
   ========================================================== */
.tier-hero { position: relative; overflow: hidden; padding: 26px 22px; border-radius: var(--r-lg); border: 1px solid rgba(224,122,63,.3); background: radial-gradient(120% 90% at 100% 0%, rgba(224,122,63,.25), transparent 60%), var(--surface); }
.tier-hero .impulse, .auth-side .impulse { position: absolute; right: 0; bottom: 0; width: 55%; height: auto; opacity: .6; pointer-events: none; }
.tier-hero > :not(.impulse) { position: relative; }
.auth-side .impulse { right: auto; left: 0; width: 80%; opacity: .9; }
.progress { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.coupon { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.coupon::before, .coupon::after { content: ""; position: absolute; right: 92px; width: 16px; height: 16px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); }
.coupon::before { top: -9px; } .coupon::after { bottom: -9px; }
.coupon .code { font: 500 15px/1 var(--mono); letter-spacing: .1em; }
.coupon .val { grid-row: 1 / 3; grid-column: 2; width: 80px; text-align: center; font: 500 30px/1 var(--big); color: var(--accent-2); border-left: 1px dashed var(--line-2); padding-left: 12px; display: grid; place-items: center; }
.coupon.used { opacity: .45; }

/* ==========================================================
   AGENDA
   ========================================================== */
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-snap-type: x mandatory; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 62px; height: 76px; border-radius: var(--r); border: 1px solid var(--line); display: grid; place-content: center; gap: 4px; text-align: center; scroll-snap-align: start; }
.day b { font: 500 22px/1 var(--display); }
.day small { font: 500 10.5px/1 var(--mono); text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.day[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: transparent; }
.day[aria-pressed="true"] small { color: var(--bg); opacity: .6; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { height: 48px; border-radius: 12px; border: 1px solid var(--line-2); font: 500 14px/1 var(--mono); }
.slot:hover { border-color: var(--text-2); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.slot[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

/* ==========================================================
   ADMIN
   ========================================================== */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 960px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.kpi b { display: block; font: 500 27px/1.1 var(--display); margin-top: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
table.t th { text-align: left; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
table.t td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t .input, table.t .select { height: 36px; font-size: 13.5px; border-radius: 9px; padding: 0 10px; }
table.t .select { padding-right: 30px; }
.pipeline { display: flex; height: 10px; border-radius: 99px; overflow: hidden; gap: 2px; }
.pipeline i { display: block; height: 100%; }
.admin-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 22px; padding: 0 var(--gutter); }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs a { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 99px; font-size: 13.5px; color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.admin-tabs a.on { color: var(--text); background: var(--surface-2); border-color: var(--line-2); }
@media (min-width: 960px) { .admin-tabs { display: none; } }
.mail { padding: 16px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.mail pre { white-space: pre-wrap; font: 400 13.5px/1.55 var(--sans); color: var(--text-2); margin: 10px 0 0; }

/* ==========================================================
   MODAL / TOAST
   ========================================================== */
.modal-back { position: fixed; inset: 0; z-index: 80; background: rgba(5,5,4,.7); backdrop-filter: blur(4px); display: grid; align-items: end; animation: fade .2s; }
@media (min-width: 720px) { .modal-back { place-items: center; } }
.modal { width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px 24px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); animation: up .3s var(--ease); }
@media (min-width: 720px) { .modal { border-radius: 24px; padding: 28px; } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.sim-gw { border: 1px dashed var(--warn); border-radius: var(--r); padding: 14px; background: var(--warn-soft); }

#toasts { position: fixed; z-index: 90; top: 12px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { padding: 12px 16px; border-radius: 14px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); animation: up .3s var(--ease); display: flex; gap: 10px; align-items: center; }
.toast svg { width: 16px; height: 16px; flex: none; }
.toast.ok { background: var(--ok); }
.toast.bad { background: var(--bad); }

.fade-in { animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
[data-cap] { display: inline-block; }
[data-cap]::first-letter { text-transform: uppercase; }

/* ==========================================================
   EL SONIDO · cadena de señal
   ========================================================== */
.sound { background: radial-gradient(80% 50% at 85% 0%, rgba(224,122,63,.08), transparent 70%); }
.sound-stats { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.sound-stats > div { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; }
.sound-stats > div + div { border-top: 1px solid var(--line); }
.sound-stats b { font: 500 52px/1 var(--big); color: var(--accent-2); min-width: 2.2ch; }
.sound-stats small { font: 500 12px/1 var(--mono); margin-left: 4px; color: var(--muted); }
.sound-stats span { color: var(--text-2); font-size: 14.5px; }
@media (min-width: 720px) {
  .sound-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sound-stats > div { flex-direction: column; gap: 8px; padding: 26px 24px 26px 0; }
  .sound-stats > div + div { border-top: 0; border-left: 1px solid var(--line); padding-left: 24px; }
  .sound-stats b { font-size: 64px; }
}
.pillars > div { padding-top: 14px; border-top: 1px solid var(--line-2); }
.pillars .h3 { font: 500 20px/1.2 var(--display); margin: 8px 0 6px; }
.pillars p { margin: 0; color: var(--text-2); font-size: 14.5px; }

.chain { list-style: none; margin: 0; padding: 0; position: relative; }
.chain::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--accent), rgba(224,122,63,.15)); }
.chain > li { position: relative; display: grid; gap: 14px; padding: 0 0 30px 30px; }
.chain > li:last-child { padding-bottom: 0; }
.chain-node { position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border-radius: 99px; background: var(--bg); border: 2px solid var(--accent); }
.chain-node::after { content: ""; position: absolute; inset: 2px; border-radius: 99px; background: var(--accent); animation: signal 2.4s ease-in-out infinite; }
.chain > li:nth-child(2) .chain-node::after { animation-delay: .3s; }
.chain > li:nth-child(3) .chain-node::after { animation-delay: .6s; }
.chain > li:nth-child(4) .chain-node::after { animation-delay: .9s; }
.chain > li:nth-child(5) .chain-node::after { animation-delay: 1.2s; }
.chain > li:nth-child(6) .chain-node::after { animation-delay: 1.5s; }
@keyframes signal { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
.chain-head .h3 { font: 500 22px/1.15 var(--display); margin-top: 2px; }
.chain-head p { margin: 4px 0 0; }
.gear-list { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.gear { padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.gear-name { font: 500 18.5px/1.2 var(--display); }
.gear p { margin: 0; color: var(--text-2); font-size: 14px; }
@media (min-width: 720px) { .gear-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .chain::before { left: 6px; }
  .chain > li { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding-bottom: 40px; }
}

.gear-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gear-chips span { font-size: 12.5px; padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text-2); }
.gear-chips span.a { border-color: rgba(224,122,63,.4); color: var(--accent-2); }
.gear .qty { font: 500 13px/1 var(--mono); color: var(--accent-2); margin-right: 8px; vertical-align: 3px; }
.gear.compact { padding: 12px 16px; gap: 4px; }
.gear.compact .gear-name { font-size: 16.5px; }
@media (min-width: 960px) { .gear-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.combos { display: grid; gap: 8px; margin-top: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .combos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.combo { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); border: 1px dashed rgba(224,122,63,.4); background: var(--accent-soft); }
.combo-pct { font: 500 34px/1 var(--big); color: var(--accent-2); min-width: 2.6ch; }
.cur-tabs button { height: 36px; padding: 0 16px; font-size: 12.5px; }
.svc-row .price .num { font-size: 15px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 55; right: 16px; bottom: calc(52px + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 99px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366; color: #06301a; font: 600 14px/1 var(--sans);
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55), 0 0 0 4px rgba(13, 12, 10, .6);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float span { display: none; }
body:not(.no-nav) .wa-float { bottom: calc(var(--nav-h) + 48px + env(safe-area-inset-bottom)); }
body.has-sticky .wa-float { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) {
  .wa-float, body:not(.no-nav) .wa-float, body.has-sticky .wa-float { bottom: 24px; right: 24px; width: auto; padding: 0 20px 0 16px; }
  .wa-float span { display: inline; }
  .demo-flag { left: 50% !important; right: auto !important; transform: translateX(-50%) !important; }
}

/* ---------- Logotipo ---------- */
.logo { display: block; width: auto; color: inherit; }
.wordmark { display: inline-flex; align-items: center; color: var(--text); }
.wordmark .logo { height: 16px; }
.side .wordmark .logo { height: 19px; width: auto; }
.side a.wordmark { height: auto; padding: 8px 12px 30px; }
@media (min-width: 960px) { .auth-main .wordmark { display: none; } }
.lockup { display: inline-flex; flex-direction: column; align-items: center; gap: .42em; font-size: 26px; color: var(--text); }
.lockup .logo { height: 1em; }
.lockup-sub { font: 300 .3em/1 var(--sans); letter-spacing: .95em; margin-right: -.95em; color: var(--text-2); }
.auth-lockup .lockup { font-size: 44px; align-items: flex-start; }
.auth-lockup .lockup-sub { margin-left: .2em; }
.hero .display { max-width: 13ch; }
.opt.product { grid-template-columns: minmax(0, 1fr) auto; }
.opt.product .desc { grid-column: 1 / -1; }
.opt.product .price { text-align: left; margin-top: 4px; }
.stepper.sm { height: 38px; } .stepper.sm button { width: 38px; height: 38px; }
/* Questrial tiene un solo peso: botones y énfasis usan Jost para tener negrita real */
.btn, .chip, .tabs button, .admin-tabs a, .toast, b, strong { font-family: var(--display); font-weight: 500; }

/* ---------- Datos de pago manual ---------- */
.gw-logo.crypto { background: #26a17b; color: #fff; }
.pay-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.pay-row:first-of-type { border-top: 0; }
.pay-val { overflow-wrap: anywhere; font-size: 13.5px; }

/* ---------- QR Naranja X ---------- */
.gw-logo.naranjax { background: #fe5000; color: #fff; }
.qr-box { display: grid; justify-items: center; gap: 8px; padding: 16px; border-radius: var(--r); background: var(--surface-2, rgba(255,255,255,.04)); }
.qr-box img, .qr-box .qr { width: min(220px, 100%); height: auto; aspect-ratio: 1; border-radius: 10px; background: #fff; display: block; }
.qr-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text-2); }
.qr-thumb { width: 72px; height: 72px; object-fit: contain; border-radius: 6px; background: #fff; }

/* ---------- Comprobantes ---------- */
.proof-img { display: block; width: 100%; max-height: 320px; object-fit: contain; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.proof-img.sm { width: 64px; height: 64px; max-height: none; object-fit: cover; }
.proof-card .proof-img { max-height: 200px; }
.events li > span, .proof-ref { min-width: 0; overflow-wrap: anywhere; }
.pay-row { grid-template-columns: 82px minmax(0, 1fr) auto; } .pay-val.mono { font-size: 12.5px; }

/* ---------- Carga inicial ---------- */
.boot { min-height: 80vh; display: grid; place-items: center; }
.boot-dot { width: 12px; height: 12px; border-radius: 99px; background: var(--accent); animation: boot 1s ease-in-out infinite alternate; }
@keyframes boot { from { opacity: .25; transform: scale(.8); } to { opacity: 1; transform: scale(1.2); } }
a.toast { pointer-events: auto; cursor: pointer; }

/* Selector «Una idea / Canción grabada» del paso 1 */
.mode-seg { display: flex; width: 100%; margin-bottom: 6px; }
.mode-seg button { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--display); font-size: 15px; min-height: 44px; height: auto; padding: 6px 8px; line-height: 1.15; white-space: normal; text-align: left; }
.mode-seg button svg { width: 18px; height: 18px; flex: none; }

/* ---------- Redes sociales ---------- */
.socials { display: flex; gap: 10px; align-items: center; justify-content: center; }
.socials a { width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: color .2s, border-color .2s, background .2s; }
.socials a:hover { color: var(--accent-2); border-color: var(--accent); background: var(--accent-soft); }
.socials svg { width: 19px !important; height: 19px !important; }
.socials.start { justify-content: flex-start; }
/* Redes en la barra de arriba, al lado del logo */
.brand-row { display: flex; align-items: center; gap: 14px; min-width: 0; }
.socials.top { gap: 2px; }
.socials.top a { width: 32px; height: 32px; border: 0; color: var(--muted); }
.socials.top a:hover { background: var(--accent-soft); color: var(--accent-2); }
.socials.top svg { width: 17px !important; height: 17px !important; }
@media (max-width: 380px) { .brand-row { gap: 6px; } .socials.top a { width: 28px; height: 28px; } }

/* ---------- Trabajos (producción, mezcla y máster por canción) y perfil del artista ---------- */
.job-card { display: grid; gap: 10px; }
.job-card .h3 { margin: 0; }
.job-card svg { width: 16px; height: 16px; color: var(--muted); }
.song-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.song-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-chip i { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); flex: none; }
.song-chip.accent i { background: var(--accent); }
.song-chip.ok i { background: var(--ok); }
.type-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* 4 productos: 2 × 2 */
.type-card { display: grid; gap: 8px; align-content: start; }
.type-card .icon-btn { margin-bottom: 4px; }
.jsteps { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.jsteps li { display: grid; gap: 6px; font-size: 11.5px; color: var(--muted); text-align: center; }
.jsteps i { height: 4px; border-radius: 99px; background: var(--line); }
.jsteps li.done i { background: var(--text); }
.jsteps li.now i { background: var(--accent); }
.jsteps li.now { color: var(--text); font-weight: 600; }
@media (max-width: 560px) { .jsteps span { display: none; } .jsteps li.now span { display: block; position: absolute; } .jsteps { position: relative; padding-bottom: 18px; } }
.file-row { display: grid; gap: 8px; padding: 12px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.file-row audio { width: 100%; height: 36px; }
.file-row.locked { opacity: .8; }
.file-row svg { width: 16px; height: 16px; }
.icon-btn.sm { width: 30px; height: 30px; }
.track-note summary { cursor: pointer; color: var(--muted); }
.track-note[open] { display: grid; gap: 8px; }
.studio-note { margin: 0; padding: 12px 16px; border-left: 2px solid var(--accent); font-size: 14px; white-space: pre-wrap; }
.studio-note span { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.btn.disabled { opacity: .45; pointer-events: none; }
.deliver { display: grid; gap: 8px; padding: 12px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.deliver .btn { justify-self: start; }
.ico-line { display: flex; align-items: center; gap: 6px; }
.ico-line svg { width: 14px; height: 14px; flex: none; }
.file-row audio, .track audio { color-scheme: dark; }
.track .select.sm { width: auto; flex: none; }
.track > .row.between { gap: 12px; align-items: flex-start; }
.notice > div { min-width: 0; }
.jobs-t .job-title { min-width: 220px; }
.jobs-t .job-title a { color: var(--text); font-size: 16px; text-decoration: none; }
.jobs-t .job-title a:hover { text-decoration: underline; }
.feedback { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--r); border-left: 2px solid var(--warn); background: var(--surface); }
.feedback.ok { border-left-color: var(--ok); }
.feedback svg { width: 14px; height: 14px; vertical-align: -2px; }
.deliver .select, .deliver .input { width: 100%; min-width: 0; max-width: 100%; }
.avatar-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; font: 600 26px/1 var(--display, inherit); }
.avatar-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar.has-photo { padding: 0; overflow: hidden; }
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.artist-link { color: inherit; text-decoration: none; }
.artist-link:hover b { text-decoration: underline; }
.track .select.sm { padding-right: 34px; }

/* ---------- Soca IA (asistente de ideas) ---------- */
.soca-face { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; }
.soca-face svg { width: 100%; height: 100%; }
.soca-face.xs { width: 22px; height: 22px; }
.soca-face.lg { width: 46px; height: 46px; }
.soca-btn { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 14px; border-radius: var(--r); border: 1px solid rgba(224,122,63,.35); background: linear-gradient(160deg, rgba(224,122,63,.14), rgba(224,122,63,.03) 70%), var(--surface-2); color: var(--text); cursor: pointer; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.soca-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.soca-txt { display: grid; gap: 2px; min-width: 0; }
.soca-txt b { font: 600 15px/1.2 var(--display); }
.soca-txt small { color: var(--text-2); font-size: 12.5px; line-height: 1.35; }
.soca-eyebrow { display: flex; align-items: center; gap: 6px; }
.soca-chat { display: grid; gap: 12px; }
.soca-log { display: grid; gap: 10px; max-height: 46vh; overflow-y: auto; padding: 4px 2px; }
.soca-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; }
.soca-msg > div { padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.soca-msg.soca > div { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.soca-msg.artist { margin-left: auto; }
.soca-msg.artist > div { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.soca-typing { display: flex; gap: 4px; padding: 14px 13px !important; }
.soca-typing i { width: 6px; height: 6px; border-radius: 99px; background: var(--muted); animation: soca-dot 1s infinite ease-in-out; }
.soca-typing i:nth-child(2) { animation-delay: .15s; } .soca-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes soca-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.soca-input { display: flex; gap: 8px; align-items: flex-end; }
.soca-input .textarea { flex: 1; min-height: 44px; max-height: 140px; resize: none; }
.soca-input .icon-btn { flex: none; width: 44px; height: 44px; }
.soca-input .icon-btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.soca-input .icon-btn.on { background: var(--bad); color: #fff; border-color: transparent; animation: soca-rec 1.2s infinite; }
@keyframes soca-rec { 50% { opacity: .55; } }
.soca-note summary { cursor: pointer; list-style: none; }
.soca-note summary::-webkit-details-marker { display: none; }
.soca-body { white-space: pre-wrap; margin-top: 8px; color: var(--text-2); }
