/*
 * /transparencia. Referencia visual: docs/prompts/2026-10-19-transparencia-prototipo.html.
 * Usa la base .lp de sitio.css (tokens, .band, .head2, .btn, .link, .num) y
 * todo lo propio va bajo .tp con prefijo tp-.
 */

/* Encabezado: .head2 (CONTEXTO 3.3, una columna) y la cita debajo. */
.tp .tp-quote { margin: 28px 0 0; max-width: 520px; border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; }
.tp .tp-quote b { display: block; font: 700 1.15rem var(--f-display); line-height: 1.3; }
.tp .tp-quote span { display: block; margin-top: 8px; font-size: .85rem; color: var(--muted); }
.tp .tp-sin-top { padding-top: 0; }

/* Encabezados de las secciones internas (diseño propio, como en el prototipo). */
.tp .tp-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.tp .tp-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); max-width: 80%; }
.tp .tp-head p { color: var(--muted); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.tp .tp-lbl { font: 700 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.tp .tp-lbl--no { color: #ff8a8a; }
.tp .tp-muted { color: var(--muted); font-size: .93rem; }
.tp .tp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(0,219,231,.6); animation: tp-pulso 2s infinite; margin-right: 6px; vertical-align: 1px; }
@keyframes tp-pulso { 70% { box-shadow: 0 0 0 8px rgba(0,219,231,0); } 100% { box-shadow: 0 0 0 0 rgba(0,219,231,0); } }
@media (prefers-reduced-motion: reduce) { .tp .tp-dot { animation: none; } }

.tp .tp-card { border: 1px solid var(--ink-3); border-radius: 20px; background: linear-gradient(180deg, rgba(42,29,87,.5), rgba(29,18,64,.4)); padding: 24px; min-width: 0; }

/* En vivo */
.tp .tp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.tp .tp-kpi { display: flex; flex-direction: column; gap: 6px; }
.tp .tp-kpi b { font: 800 clamp(1.8rem, 3.4vw, 2.5rem) var(--f-display); }
.tp .tp-kpi em { font-style: normal; font-size: .85rem; color: var(--muted); }
.tp .tp-abierto { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; border-color: rgba(0,219,231,.45); background: linear-gradient(135deg, rgba(0,219,231,.1), rgba(139,92,255,.12)); }
.tp .tp-abierto b { font: 700 clamp(1.05rem, 1.6vw, 1.3rem) var(--f-display); line-height: 1.25; }
.tp .tp-abierto .btn { width: fit-content; min-height: 42px; }
.tp .tp-sedes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tp .tp-sede h3 { font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.tp .tp-sede--pronto { opacity: .75; }
.tp .tp-badge { font: 700 .68rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.tp .tp-badge--on { color: var(--cyan); border-color: rgba(0,219,231,.4); background: rgba(0,219,231,.08); }
.tp .tp-badge--pronto { color: var(--gold); border-color: rgba(255,200,87,.4); background: rgba(255,200,87,.06); }
.tp .tp-badge--ok { color: #7ef0a8; border-color: rgba(126,240,168,.4); background: rgba(126,240,168,.06); }
.tp .tp-seats { display: grid; grid-template-columns: repeat(var(--n, 20), 1fr); gap: 4px; margin: 8px 0 10px; }
.tp .tp-seats i { aspect-ratio: 1; border-radius: 4px; background: var(--ink-3); }
.tp .tp-seats i.f { background: var(--cyan); }
.tp .tp-sede dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: .88rem; }
.tp .tp-sede dt { color: var(--muted); white-space: nowrap; }
.tp .tp-sede dd { margin: 0; font-weight: 700; text-align: right; }
/* Una sola sede: ocupa todo el ancho; cuadritos y datos con tope para que no se estiren. */
.tp .tp-sede:only-child { grid-column: 1 / -1; }
.tp .tp-sede:only-child .tp-seats { grid-template-columns: repeat(var(--n, 20), minmax(0, 30px)); }
.tp .tp-sede:only-child dl { max-width: 680px; }

/* En qué se usa cada dólar: solo porcentajes. */
.tp .tp-ubar { display: flex; height: 22px; border-radius: 999px; overflow: hidden; gap: 3px; margin: 6px 0 18px; }
.tp .tp-ubar i { flex: 0 0 0; background: var(--c); }
.tp .tp-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tp .tp-grp { border-top: 4px solid var(--c); }
.tp .tp-pct { font: 800 2rem var(--f-display); color: var(--c); }
.tp .tp-grp h3 { font-size: 1rem; margin: 4px 0 10px; }
.tp .tp-grp ul { margin: 0; padding-left: 18px; font-size: .88rem; color: var(--muted); display: flex; flex-direction: column; gap: 6px; list-style: disc; }
.tp .tp-sum { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; margin-top: 16px; font-size: .92rem; color: var(--muted); }
.tp .tp-sum b { color: var(--fg); }
.tp .tp-note { margin-top: 18px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,200,87,.35); background: rgba(255,200,87,.06); font-size: .85rem; color: #e9dcb8; }

/* Cómo seguimos cada aporte */
.tp .tp-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: tp-paso; }
.tp .tp-flow li { counter-increment: tp-paso; padding: 18px; border-radius: 18px; border: 1px solid var(--ink-3); background: var(--ink-2); }
.tp .tp-flow li::before { content: counter(tp-paso); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cyan); color: var(--ink); font: 800 .9rem var(--f-body); margin-bottom: 12px; }
.tp .tp-flow b { display: block; margin-bottom: 6px; }
.tp .tp-flow span { font-size: .86rem; color: var(--muted); }

/* Publicamos / protegemos y estado de la fundación */
.tp .tp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tp .tp-lst { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tp .tp-lst li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .93rem; }
.tp .tp-lst li small { display: block; color: var(--muted); font-size: .85rem; }
.tp .tp-lst--si li::before { content: "✓"; color: var(--cyan); font-weight: 800; }
.tp .tp-lst--no li::before { content: "✕"; color: #ff8a8a; font-weight: 800; }
.tp .tp-docs { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; }
.tp .tp-docs li { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ink-3); }
.tp .tp-docs li:last-child { border-bottom: 0; }
.tp .tp-docs b { display: block; font-size: .95rem; }
.tp .tp-docs small { display: block; color: var(--muted); font-size: .84rem; }
.tp .tp-docs a { color: var(--cyan); font-weight: 700; text-decoration: none; font-size: .85rem; white-space: nowrap; }
.tp .tp-separacion { margin-top: 14px; }
.tp .tp-separacion p { margin-top: 10px; }

/* Llamado final */
.tp .tp-final { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.tp .tp-final h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); max-width: 820px; }
.tp .tp-final b { color: var(--fg); }

@media (max-width: 1000px) {
  .tp .tp-groups { grid-template-columns: 1fr 1fr; }
  .tp .tp-flow { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .tp .tp-kpis, .tp .tp-sedes, .tp .tp-two { grid-template-columns: 1fr; }
  .tp .tp-abierto { grid-column: auto; }
  .tp .tp-head h2 { max-width: none; }
  .tp .tp-head p { text-align: left; }
}
@media (max-width: 560px) {
  .tp .tp-groups { grid-template-columns: 1fr; }
  .tp .tp-seats { gap: 3px; }
}
