/* Kit · kit.cape.stream — misma paleta que cape.stream */
:root {
  --bg: #0b0f14; --bg-2: #111820; --surface: #161e28; --surface-2: #1c2530; --line: #243040;
  --ink: #f5f7f9; --muted: #9aa7b4; --dim: #78838f;
  --gold: #e8a838; --gold-hover: #f2b74f; --gold-ink: #241a06; --gold-text: #f0b854;
  --cyan: #45c9dd; --cyan-text: #7fe0ef;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radio: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.55; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2 { font-weight: 650; line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 600; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .86em; background: var(--surface-2); border-radius: 6px; padding: .1em .4em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 40px); }

/* ---------- barra ---------- */
.barra { position: sticky; top: 0; z-index: 10; background: rgba(11, 15, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.barra .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.marca svg { width: 30px; height: 30px; flex: none; }
.marca span { color: var(--muted); font-weight: 500; }
.barra nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.barra nav a:hover { color: var(--ink); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 14px;
  font-weight: 650; font-size: 16px; background: var(--surface-2); color: var(--ink); transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--line); }
.btn.pri { background: var(--gold); color: var(--gold-ink); }
.btn.pri:hover { background: var(--gold-hover); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- portada del kit ---------- */
.hero { padding-top: clamp(56px, 10vw, 112px); padding-bottom: clamp(36px, 6vw, 64px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gold-text); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 168, 56, .18); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); max-width: 14ch; }
.hero .bajada { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 46ch; margin-top: 20px; }

.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filtros button { font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); background: var(--surface); border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.filtros button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.filtros button span { opacity: .6; margin-left: 4px; }

.catalogo { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); padding-bottom: 96px; }
.ficha { background: var(--surface); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), background .2s; }
a.ficha:hover { transform: translateY(-3px); background: var(--surface-2); }
.ficha .portada { aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; position: relative; }
.ficha .portada img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ficha .cuerpo { padding: 20px 22px 22px; display: grid; gap: 8px; flex: 1; align-content: start; }
.ficha .tipo { font-size: 13px; font-weight: 600; color: var(--gold-text); display: flex; gap: 8px; align-items: center; }
.ficha .tipo span { color: var(--dim); font-weight: 500; }
.ficha h3 { font-size: 22px; }
.ficha p { color: var(--muted); font-size: 15.5px; }
.ficha.pronto { border: 1.5px dashed var(--line); background: none; justify-content: center; min-height: 200px; }
.ficha.pronto .cuerpo { align-content: center; text-align: center; }
.ficha.pronto .tipo { justify-content: center; }
.vacio { color: var(--dim); text-align: center; padding: 48px 0; grid-column: 1 / -1; }

/* ---------- página de una herramienta ---------- */
.volver { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; margin: 28px 0 0; }
.volver:hover { color: var(--ink); }
.prod { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(48px, 8vw, 96px); }
@media (min-width: 900px) { .prod { grid-template-columns: 1fr 1.08fr; } }
.prod h1 { font-size: clamp(44px, 7vw, 72px); }
.prod .bajada { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); margin: 18px 0 28px; max-width: 34ch; }
.descarga { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.meta { font-size: 14px; color: var(--dim); }
.meta b { color: var(--muted); font-weight: 600; }
.gratis { font-size: 13px; font-weight: 700; color: var(--cyan-text); background: rgba(69, 201, 221, .12); border-radius: 999px; padding: 4px 10px; }

/* capturas: PC + celular superpuestos */
.escena { position: relative; padding: 0 0 12% 0; }
.pantalla-pc { border-radius: 14px; overflow: hidden; background: var(--bg-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); border: 1px solid var(--line); }
.pantalla-pc .chrome { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--surface); }
.pantalla-pc .chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.celu { border-radius: 34px; overflow: hidden; border: 6px solid #1f2833; background: #000; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.escena .celu { position: absolute; width: 34%; right: -2%; bottom: 0; }

section.banda { padding: clamp(56px, 9vw, 104px) 0; }
section.alt { background: var(--bg-2); }
.titulo-sec { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 14px; }
.sub-sec { color: var(--muted); font-size: 18px; max-width: 52ch; margin-bottom: 40px; }

.pasos { display: grid; gap: 18px; counter-reset: p; }
@media (min-width: 760px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.paso { background: var(--surface); border-radius: var(--radio); padding: 24px; counter-increment: p; }
.paso::before { content: counter(p); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 800; margin-bottom: 16px; }
.paso h3 { font-size: 19px; margin-bottom: 6px; }
.paso p { color: var(--muted); font-size: 15.5px; }

.funciones { display: grid; gap: 14px; }
@media (min-width: 640px) { .funciones { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .funciones { grid-template-columns: repeat(3, 1fr); } }
.funcion { background: var(--surface); border-radius: var(--radio); padding: 22px; }
.funcion svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 14px; }
.funcion h3 { font-size: 18px; margin-bottom: 6px; }
.funcion p { color: var(--muted); font-size: 15px; }

.galeria-celus { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.galeria-celus figure { scroll-snap-align: start; }
.galeria-celus figcaption { color: var(--muted); font-size: 14.5px; margin-top: 12px; text-align: center; }

.avisos { display: grid; gap: 14px; }
@media (min-width: 860px) { .avisos { grid-template-columns: repeat(3, 1fr); } }
.aviso { border: 1px solid var(--line); border-radius: var(--radio); padding: 22px; }
.aviso h3 { font-size: 17px; margin-bottom: 8px; }
.aviso p { color: var(--muted); font-size: 15px; }

.preguntas { display: grid; gap: 10px; max-width: 760px; }
.preguntas details { background: var(--surface); border-radius: 16px; padding: 0 20px; }
.preguntas summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .2s; }
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { color: var(--muted); padding: 0 0 18px; font-size: 15.5px; }

.cierre { text-align: center; }
.cierre .descarga { justify-content: center; margin-top: 28px; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--dim); font-size: 14px; }
footer .wrap { display: grid; gap: 10px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
.sha { font-family: ui-monospace, Consolas, monospace; font-size: 12px; word-break: break-all; }

@media (max-width: 600px) {
  .barra nav { display: none; }
  .btn { width: 100%; }
  .escena .celu { width: 38%; right: 0; }
}
