/* ============================================================
   FORJA · Sitio público (landing)
   Comparte los tokens de marca con la app (public/styles.css).
   Si cambiás un color de marca, cambialo en los dos archivos.

   Look & feel: editorial. Titulares geométricos pesados (Kumbh Sans 700)
   con contrapuntos en serif itálica (Instrument Serif), fondos de
   degradado difuso en los verdes de marca y grano fino encima.
   ============================================================ */

/* ---------- 1. tokens de marca (no cambian con el tema) ---------- */
:root {
  --brand-cyprus: #014651;
  --brand-malachite: #03d26f;
  --brand-starship: #cef431;
  --brand-aqua: #eaf4f4;
  --brand-cod: #161514;

  /* forma */
  --r-panel: 28px;
  --r-card: 22px;
  --r-field: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* tipografía */
  --font-display: 'Kumbh Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* movimiento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ritmo vertical */
  --container: 1160px;
  --section-y: clamp(72px, 10vw, 148px);
}

/* ---------- 2. tema oscuro (por defecto) ---------- */
:root,
:root[data-theme='dark'] {
  color-scheme: dark;

  --bg: #121211;
  --surface: #1c1c1a;
  --surface-2: #262723;
  --surface-3: #303129;
  --line: #2e302b;
  --line-strong: #414439;

  --text: #eaf4f4;
  --text-muted: #9aa398;
  --text-faint: #6b7166;

  --accent: #cef431;
  --accent-ink: #161514;
  --accent-dim: #a8c929;
  --accent-soft: rgba(206, 244, 49, 0.14);
  --accent-border: transparent;

  --ok: #03d26f;
  --ok-text: #03d26f;
  --ok-soft: rgba(3, 210, 111, 0.12);
  --warn: #ffc24b;
  --warn-text: #ffc24b;
  --warn-soft: rgba(255, 194, 75, 0.1);
  --warn-border: rgba(255, 194, 75, 0.28);

  --focus: #cef431;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-pop: 0 30px 70px rgba(0, 0, 0, 0.6);

  --logo-fg: #eaf4f4;
  --logo-accent: #cef431;

  /* degradados difusos del fondo */
  --bloom-1: rgba(206, 244, 49, 0.22);
  --bloom-2: rgba(3, 210, 111, 0.2);
  --bloom-3: rgba(1, 70, 81, 0.55);
  --grain-opacity: 0.05;
}

/* ---------- 3. tema claro ---------- */
:root[data-theme='light'] {
  color-scheme: light;

  --bg: #f4faf9;
  --surface: #ffffff;
  --surface-2: #f2f8f8;
  --surface-3: #e4efef;
  --line: #dbe9e8;
  --line-strong: #b0c9c9;

  --text: #04323a;
  --text-muted: #4a6068;
  --text-faint: #7c9299;

  --accent: #cef431;
  --accent-ink: #014651;
  --accent-dim: #b9e016;
  --accent-soft: rgba(206, 244, 49, 0.38);
  --accent-border: #014651;

  --ok: #03d26f;
  --ok-text: #07733f;
  --ok-soft: rgba(3, 210, 111, 0.16);
  --warn: #f0b400;
  --warn-text: #8a6205;
  --warn-soft: rgba(255, 221, 0, 0.18);
  --warn-border: rgba(138, 98, 5, 0.3);

  --focus: #014651;
  --shadow-card: 0 1px 2px rgba(1, 70, 81, 0.04), 0 10px 30px rgba(1, 70, 81, 0.06);
  --shadow-pop: 0 30px 70px rgba(1, 70, 81, 0.16);

  --logo-fg: #014651;
  --logo-accent: #03d26f;

  --bloom-1: rgba(206, 244, 49, 0.55);
  --bloom-2: rgba(3, 210, 111, 0.28);
  --bloom-3: rgba(1, 70, 81, 0.12);
  --grain-opacity: 0.035;
}

/* preferencia del sistema, sólo si el visitante no eligió explícitamente */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;

    --bg: #f4faf9;
    --surface: #ffffff;
    --surface-2: #f2f8f8;
    --surface-3: #e4efef;
    --line: #dbe9e8;
    --line-strong: #b0c9c9;

    --text: #04323a;
    --text-muted: #4a6068;
    --text-faint: #7c9299;

    --accent-ink: #014651;
    --accent-dim: #b9e016;
    --accent-soft: rgba(206, 244, 49, 0.38);
    --accent-border: #014651;

    --ok-text: #07733f;
    --ok-soft: rgba(3, 210, 111, 0.16);
    --warn: #f0b400;
    --warn-text: #8a6205;
    --warn-soft: rgba(255, 221, 0, 0.18);
    --warn-border: rgba(138, 98, 5, 0.3);

    --focus: #014651;
    --shadow-card: 0 1px 2px rgba(1, 70, 81, 0.04), 0 10px 30px rgba(1, 70, 81, 0.06);
    --shadow-pop: 0 30px 70px rgba(1, 70, 81, 0.16);

    --logo-fg: #014651;
    --logo-accent: #03d26f;

    --bloom-1: rgba(206, 244, 49, 0.55);
    --bloom-2: rgba(3, 210, 111, 0.28);
    --bloom-3: rgba(1, 70, 81, 0.12);
    --grain-opacity: 0.035;
  }
}

/* ---------- 4. base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* grano fino sobre todo el sitio */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, .hd {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--ok-text); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg, video { max-width: 100%; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.skip-link:focus { left: 16px; text-decoration: none; }

/* contrapunto en serif itálica, la marca editorial de la página */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ---------- 5. layout ---------- */
.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

.section { position: relative; padding-block: var(--section-y); }

/* el ancho va en rem, no en ch: `ch` se resuelve contra el font-size del
   contenedor (16px), no contra el del titular, y deja la columna angosta */
.section-head { max-width: 34rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.wide { max-width: 48rem; }
.section-head h2 { font-size: clamp(32px, 5vw, 58px); }
.section-head .lead {
  max-width: 52ch;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: clamp(16px, 1.6vw, 18px);
}

.eyebrow {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ok-text);
  margin-bottom: 16px;
}

.micro {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
}

/* degradado difuso de fondo */
.bloom {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bloom::before,
.bloom::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.bloom::before {
  width: min(760px, 90vw);
  height: min(760px, 90vw);
  top: -18%;
  right: -12%;
  background: radial-gradient(circle at 50% 50%, var(--bloom-1), transparent 68%);
}
.bloom::after {
  width: min(680px, 85vw);
  height: min(680px, 85vw);
  bottom: -22%;
  left: -14%;
  background: radial-gradient(circle at 50% 50%, var(--bloom-2), transparent 68%);
}

/* ---------- 6. botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.12s;
}
.btn:hover {
  border-color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}
.btn:active { transform: scale(0.985); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform 0.18s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn.primary {
  background: var(--accent);
  border-color: var(--accent-border);
  color: var(--accent-ink);
  font-weight: 700;
}
.btn.primary:hover { background: var(--accent-dim); border-color: var(--accent-border); }

.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--line); }

.btn.sm { min-height: 38px; padding: 9px 18px; font-size: 13px; }
.btn.lg { min-height: 54px; padding: 16px 34px; font-size: 15.5px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 7. header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { height: 26px; width: auto; flex-shrink: 0; display: block; }
.brand-logo .logo-fg { fill: var(--logo-fg); }
.brand-logo .logo-accent { fill: var(--logo-accent); }

.site-nav {
  display: flex;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.site-nav a {
  padding: 8px 15px;
  border-radius: var(--r-pill);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }

.header-end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-strong); }
.theme-toggle svg { width: 17px; height: 17px; }
:root[data-theme='light'] .theme-toggle .i-moon { display: none; }
:root:not([data-theme='light']) .theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-toggle .i-moon { display: none; }
  :root:not([data-theme]) .theme-toggle .i-sun { display: inline; }
}

@media (max-width: 940px) { .site-nav { display: none; } }
@media (max-width: 560px) {
  .header-end .btn:not(.primary) { display: none; }
  .header-end .btn.primary { white-space: nowrap; }
}

/* ---------- 8. hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(60px, 9vw, 110px) 0;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)), url(/img/og.png) center / cover no-repeat;
}
.hero .container { max-width: 1000px; }
.hero h1 {
  font-size: clamp(40px, 7.4vw, 88px);
  margin-bottom: 26px;
  color: #ffffff;
}
.hero h1 .serif { display: block; }
.hero-lead {
  max-width: 56ch;
  margin-inline: auto;
  font-size: clamp(16.5px, 1.8vw, 19.5px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 34px;
}
.hero .btn-row { justify-content: center; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: rgba(255, 255, 255, 0.75); }

.hero-stage {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 7vw, 84px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  justify-items: center;
  padding-bottom: clamp(60px, 8vw, 110px);
}

.hero-image {
  width: 100%;
  max-width: min(900px, 90vw);
  border-radius: var(--r-panel);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
}
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* tira de datos duros bajo el hero */
.facts { border-block: 1px solid var(--line); }
.facts .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.fact { padding: 30px 0; }
.fact + .fact { border-inline-start: 1px solid var(--line); padding-inline-start: 32px; }
.fact b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.fact span { color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 720px) {
  .fact + .fact { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
}

/* ---------- 9. tarjetas ---------- */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.card {
  padding: 30px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.card h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.card p { color: var(--text-muted); font-size: 15px; }

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
:root:not([data-theme='light']) .card-icon { color: var(--accent); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .card-icon { color: var(--accent-ink); }
}
.card-icon svg { width: 21px; height: 21px; }

/* ---------- 10. lista numerada 01/02/03 ---------- */
.numbered { display: flex; flex-direction: column; }
.numbered li { list-style: none; padding: 24px 0 24px 0; border-top: 1px solid var(--line); }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered .n {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ok-text);
  display: block;
  margin-bottom: 8px;
}
.numbered h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.025em; }
.numbered p { color: var(--text-muted); font-size: 15px; max-width: 46ch; }

/* ---------- 11. bloque partido ---------- */
.split {
  display: grid;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.split-text h2 { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 20px; }
.split-text > p { color: var(--text-muted); }

.check-list { margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding-inline-start: 32px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 15.5px;
}
.check-list li:last-child { margin-bottom: 0; }
.check-list li b { color: var(--text); font-weight: 600; }
.check-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  background: var(--ok-soft);
  border: 1.5px solid var(--ok);
}
/* tilde dibujado dentro del círculo */
.check-list li::after {
  content: '';
  position: absolute;
  inset-inline-start: 5.5px;
  top: 10px;
  width: 7px;
  height: 4px;
  border-inline-start: 1.8px solid var(--ok-text);
  border-bottom: 1.8px solid var(--ok-text);
  transform: rotate(-45deg);
}

/* ---------- 12. mockup del producto ---------- */
.device {
  position: relative;
  width: min(330px, 84vw);
  border-radius: 42px;
  padding: 11px;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-pop);
}
.device-screen {
  border-radius: 32px;
  background: var(--bg);
  padding: 20px 16px 24px;
  overflow: hidden;
}
.device::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 20px;
  border-radius: 0 0 14px 14px;
  background: var(--surface-3);
  z-index: 2;
}

.m-hello { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.m-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.m-title i { font-style: normal; color: var(--ok-text); }

.m-chips { display: flex; gap: 7px; margin-bottom: 14px; }
.m-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 600;
}
.m-chip svg { width: 12px; height: 12px; color: var(--accent-dim); }
.m-chip b { font-weight: 800; }

.m-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.m-bar { flex: 1; height: 7px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--accent); }
.m-pct { font-size: 11.5px; font-weight: 700; color: var(--text-muted); }

.m-month { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; margin-bottom: 8px; }
.m-pills { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.m-pill {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
}
.m-pill.on { background: var(--accent); border-color: var(--accent-border); color: var(--accent-ink); }

.m-list { display: flex; flex-direction: column; gap: 9px; }
.m-ex {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.m-ex.done { border-color: var(--accent-dim); }
.m-ex.issue { border-color: var(--warn-border); }
.m-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: transparent;
}
.m-check svg { width: 13px; height: 13px; }
.m-ex.done .m-check { background: var(--accent); border-color: var(--accent-dim); color: var(--accent-ink); }
.m-name { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.m-ex.done .m-name span:first-child { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--accent-dim); }
.m-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent-border);
}
.m-tag.warn { background: var(--warn); color: #161514; border-color: transparent; }
.m-meta { display: flex; flex-wrap: wrap; gap: 3px 11px; margin-top: 7px; font-size: 11px; color: var(--text-muted); }
.m-meta b { color: var(--text); font-weight: 700; }
.m-issue {
  margin-top: 8px;
  font-size: 11px;
  color: var(--warn-text);
  background: var(--warn-soft);
  border: 1px solid var(--warn-border);
  border-radius: 10px;
  padding: 7px 10px;
}

/* tarjetas flotantes junto al teléfono en el hero */
.stage-float {
  position: absolute;
  width: 250px;
  padding: 16px 18px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-pop);
  text-align: start;
}
.stage-float .micro { margin-bottom: 8px; }
.stage-float p { font-size: 13.5px; color: var(--text-muted); }
.stage-float b { color: var(--text); }
.float-a { top: 12%; inset-inline-start: 0; }
.float-b { bottom: 14%; inset-inline-end: 0; }
@media (max-width: 1040px) { .stage-float { display: none; } }

/* ---------- 13. panel de actividad (mockup ancho) ---------- */
.panel-mock {
  border-radius: var(--r-panel);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.panel-bar span { margin-inline-start: 10px; font-size: 12px; color: var(--text-faint); }
.panel-rows { padding: 8px 0; }
.log-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  font-size: 14px;
}
.log-row + .log-row { border-top: 1px solid var(--line); }
.log-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--ok); }
.log-dot.warn { background: var(--warn); }
.log-who { font-weight: 600; flex-shrink: 0; }
.log-what { color: var(--text-muted); flex: 1; min-width: 0; }
.log-when { color: var(--text-faint); font-size: 12.5px; flex-shrink: 0; }
@media (max-width: 620px) {
  .log-row { flex-wrap: wrap; gap: 6px 12px; }
  .log-what { flex-basis: 100%; }
}

/* ---------- 14. FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: 19px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: currentColor;
  color: var(--text-muted);
  clip-path: polygon(45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%, 0 45%, 45% 45%);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--text-muted); max-width: 64ch; }

/* ---------- 15. banda de cierre a sangre ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--brand-cyprus);
  isolation: isolate;
}
/* Capa de foto de la banda de cierre */
.band-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/img/entrenando.png') center / cover no-repeat;
  opacity: 0.5;
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 12% 110%, rgba(3, 210, 111, 0.5), transparent 66%),
    radial-gradient(760px 460px at 88% -10%, rgba(206, 244, 49, 0.42), transparent 64%),
    linear-gradient(180deg, rgba(1, 30, 35, 0.55), rgba(1, 30, 35, 0.8));
}
.band .container { padding-block: clamp(72px, 10vw, 128px); text-align: center; }
.band .eyebrow { color: var(--brand-starship); }
.band h2 { font-size: clamp(32px, 5.4vw, 62px); color: #ffffff; }
.band p {
  max-width: 52ch;
  margin: 22px auto 34px;
  color: rgba(234, 244, 244, 0.85);
  font-size: clamp(16px, 1.7vw, 18px);
}
.band .btn-row { justify-content: center; }
.band .btn:not(.primary) {
  background: transparent;
  border-color: rgba(234, 244, 244, 0.45);
  color: #ffffff;
}
.band .btn:not(.primary):hover { background: rgba(234, 244, 244, 0.12); border-color: #ffffff; }
.band .btn.primary { background: var(--brand-starship); color: var(--brand-cyprus); border-color: transparent; }
.band .btn.primary:hover { background: #ffffff; }
.band-note { margin-top: 22px; font-size: 13.5px; color: rgba(234, 244, 244, 0.7); }

/* ---------- 16. footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px; }
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
