/* styles.css: mobile first. Colores en tokens.css */

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--band-h) + var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font: 400 var(--fs-md)/1.6 var(--f-sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-brand-700); text-underline-offset: 3px; }
a:hover { color: var(--c-brand-800); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-family: var(--f-display); letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-brand-500); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .hero :focus-visible { outline-color: var(--c-gold); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--c-ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 8px; color: #fff; }

/* ---------- Banda BORRADOR ---------- */
:root { --band-h: 0px; }
.draft-band {
  position: sticky; top: 0; z-index: 60;
  height: var(--band-h); overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 6px var(--gutter);
  background: var(--c-draft-bg)
    repeating-linear-gradient(135deg, transparent 0 14px, rgb(255 211 77 / 0.08) 14px 28px);
  color: var(--c-draft-ink);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.01em; line-height: 1.3;
}
.draft-band strong { letter-spacing: 0.12em; margin-right: 4px; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: var(--band-h); z-index: 50;
  background: rgb(15 27 51 / 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  color: #fff;
}
.site-header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--c-brand-600); display: grid; place-items: center; flex: none; }
.brand__mark svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1rem; letter-spacing: -0.01em; }
.brand__text small { font-size: 0.72rem; color: var(--c-brand-200); }
.brand__list { font-weight: 900; font-size: 0.85rem; background: var(--c-green-600); color: #fff; border-radius: 7px; padding: 3px 7px; font-style: italic; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.18); color: #fff;
  border-radius: var(--r-pill); padding: 8px 14px; cursor: pointer; font-size: var(--fs-sm); font-weight: 600;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav {
  position: fixed; left: 0; right: 0; top: calc(var(--band-h) + var(--header-h));
  background: var(--c-ember); border-bottom: 1px solid rgb(255 255 255 / 0.1);
  max-height: calc(100vh - var(--band-h) - var(--header-h)); overflow-y: auto;
  display: none;
}
.nav-open .site-nav { display: block; }
.site-nav ul { padding: 8px var(--gutter) 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.site-nav a {
  display: block; padding: 12px 14px; border-radius: var(--r-sm);
  color: #fff; text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
  background: rgb(255 255 255 / 0.05);
}
.site-nav a:hover, .site-nav a.is-active { background: var(--c-brand-600); color: #fff; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; padding: 0; gap: 2px; }
  .site-nav a { background: none; padding: 8px 10px; font-size: 0.86rem; color: rgb(255 255 255 / 0.82); }
  .site-nav a:hover { background: rgb(255 255 255 / 0.08); color: #fff; }
  .site-nav a.is-active { background: none; color: #fff; box-shadow: inset 0 -2px 0 var(--c-brand-400); border-radius: 0; }
}

/* ---------- Avisos ---------- */
.notice { padding: 10px var(--gutter); font-size: var(--fs-sm); text-align: center; }
.notice--local { background: var(--c-example-bg); color: var(--c-example-ink); }
.notice--silence { background: var(--c-pending-bg); color: var(--c-pending-ink); border-bottom: 2px solid var(--c-pending-line); font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-weight: 700; }

/* ---------- Marcas de borrador ---------- */
.pending {
  display: inline; background: var(--c-pending-bg); color: var(--c-pending-ink);
  border: 1px dashed var(--c-pending-line); border-radius: 6px; padding: 1px 6px;
  font-weight: 600; font-style: normal; font-size: 0.92em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.soon { color: var(--c-ink-3); font-style: italic; }
.section--dark .soon { color: rgb(255 255 255 / 0.6); }
.tag { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 6px; padding: 2px 7px; vertical-align: 0.1em; }
.tag--example { background: var(--c-example-bg); color: var(--c-example-ink); }
.tag--new { background: var(--c-gold); color: var(--c-ink); }
.tag--past { background: var(--c-line); color: var(--c-ink-2); margin-top: 6px; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: var(--fs-xs); color: var(--c-ink-3); }
.meta--small { margin-top: var(--sp-5); }
.meta__src { color: inherit; }
a.meta__src { color: var(--c-ink-2); }
.meta--light, .meta--light a.meta__src, .section--dark .meta, .section--dark a.meta__src { color: rgb(255 255 255 / 0.72); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; border-radius: var(--r-pill); padding: 2px 9px; font-size: 0.7rem; letter-spacing: 0.02em; }
.chip--verify { background: var(--c-pending-bg); color: var(--c-pending-ink); }
.chip--verify::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-pending-line); }
.chip--ok { background: var(--c-green-50); color: var(--c-green-700); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-pill);
  font-weight: 700; font-size: var(--fs-md); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 20px; height: 20px; }
.btn--primary { background: var(--c-brand-600); color: #fff; box-shadow: 0 8px 22px -10px rgb(234 88 12 / 0.8); }
.btn--primary:hover { background: var(--c-brand-700); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.45); }
.btn--ghost:hover { background: rgb(255 255 255 / 0.1); color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--small { min-height: 38px; padding: 7px 14px; font-size: var(--fs-sm); background: var(--c-surface); color: var(--c-brand-700); border-color: var(--c-line-strong); }
.btn--small:hover { border-color: var(--c-brand-600); }
.btn--listen { background: var(--c-green-600); color: #fff; }
.btn--listen:hover { background: var(--c-green-700); color: #fff; }
.btn--listen.is-on { background: var(--c-ink); }
.btn--xl { min-height: 60px; font-size: var(--fs-lg); padding: 14px 28px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--card { margin-top: var(--sp-4); width: 100%; background: rgb(255 255 255 / 0.08); color: #fff; border-color: rgb(255 255 255 / 0.2); font-size: var(--fs-sm); }
.btn--card:hover { background: var(--c-brand-600); border-color: var(--c-brand-600); color: #fff; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-surface); cursor: pointer; font-size: 1rem; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Portada ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--c-ember); color: #fff;
  min-height: calc(100svh - var(--band-h) - var(--header-h));
  display: flex; flex-direction: column;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 70% at 85% 0%, rgb(234 88 12 / 0.75), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgb(234 88 12 / 0.45), transparent 60%),
    linear-gradient(180deg, var(--c-ember-2), var(--c-ember));
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero__media { margin: 0; position: relative; z-index: -1; height: 46svh; min-height: 300px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(15 27 51 / 0) 40%, var(--c-ember) 98%); }
.hero__content { position: relative; margin-top: -84px; padding-bottom: var(--sp-7); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--r-pill); padding: 6px 12px; font-size: var(--fs-xs); font-weight: 600;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand-400); box-shadow: 0 0 0 4px rgb(251 146 60 / 0.25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(251 146 60 / 0); } }

.hero__title { margin-top: var(--sp-4); font-size: var(--fs-hero); font-weight: 900; line-height: 0.88; letter-spacing: -0.045em; text-transform: uppercase; }
.hero__first { display: block; font-size: 0.42em; letter-spacing: -0.01em; color: #fff; margin-bottom: 0.06em; }
.hero__last {
  position: relative; display: inline-block;
  background: linear-gradient(95deg, #fdba74 0%, var(--c-brand-400) 45%, var(--c-brand-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.12em;
}
.hero__check { position: absolute; left: -0.04em; bottom: -0.12em; width: 0.9em; height: 0.3em; overflow: visible; }
.hero__check path { fill: none; stroke: var(--c-green-500); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s .4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__role { margin-top: var(--sp-4); font-size: var(--fs-xl); font-weight: 600; color: var(--c-brand-100); letter-spacing: -0.01em; }

.hero__list { display: flex; align-items: center; gap: 14px; margin-top: var(--sp-5); }
.hero__list p { font-size: var(--fs-sm); line-height: 1.35; color: rgb(255 255 255 / 0.85); font-weight: 600; }
.list-badge {
  flex: none; width: 74px; height: 74px; border-radius: 16px;
  background: linear-gradient(160deg, var(--c-green-500), var(--c-green-700));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -10px rgb(21 128 61 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.list-badge small { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.list-badge strong { font-size: 2.1rem; font-weight: 900; font-style: italic; line-height: 0.9; letter-spacing: -0.04em; }

.hero__quote { margin: var(--sp-5) 0 0; padding-left: 16px; border-left: 3px solid var(--c-brand-400); font-size: var(--fs-lg); max-width: 34rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-5); }
.hero__ctas .btn { flex: 1 1 auto; }

@media (min-width: 900px) {
  .hero { flex-direction: row; align-items: stretch; min-height: min(860px, calc(100vh - var(--band-h) - var(--header-h))); }
  .hero__media { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; height: auto; }
  .hero__media img { object-position: 50% 15%; }
  .hero__media::after { background: linear-gradient(90deg, var(--c-ember) 0%, rgb(15 27 51 / 0.3) 35%, rgb(15 27 51 / 0) 60%), linear-gradient(0deg, rgb(15 27 51 / 0.85), transparent 30%); }
  .hero__content { margin-top: 0; align-self: center; padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
  .hero__content > * { max-width: 620px; }
  .hero__ctas .btn { flex: 0 0 auto; }
}

/* ---------- Secciones ---------- */
.section { padding: var(--sp-8) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-ember); color: #fff; position: relative; overflow: hidden; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 0%, rgb(234 88 12 / 0.35), transparent 70%); pointer-events: none; }
.section--dark > .wrap { position: relative; }
.section-head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: var(--sp-6); }
.section-head__num { font-family: var(--f-display); font-weight: 900; font-size: 3.4rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--c-brand-500); letter-spacing: -0.04em; }
.kicker { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-brand-600); margin-bottom: 6px; }
.kicker--light, .section-head--light .kicker { color: var(--c-brand-300); }
.section-title { font-size: var(--fs-2xl); font-weight: 850; letter-spacing: -0.03em; }
.sub { font-size: var(--fs-lg); font-weight: 800; margin: var(--sp-6) 0 var(--sp-4); letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lg); color: var(--c-ink-2); max-width: 46rem; }
.lead--light { color: rgb(255 255 255 / 0.82); }
.note { font-size: var(--fs-sm); color: var(--c-ink-3); margin-top: var(--sp-3); max-width: 46rem; }
.note--light { color: var(--c-brand-200); }
.empty { padding: var(--sp-6); text-align: center; border: 1px dashed var(--c-line-strong); border-radius: var(--r-md); color: var(--c-ink-2); }
.inline-src { font-size: var(--fs-xs); white-space: nowrap; }

/* ---------- Biografía ---------- */
.bio { display: grid; gap: var(--sp-6); }
.bio__photo { margin: 0; position: relative; max-width: 420px; }
.bio__photo::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: var(--r-lg); background: linear-gradient(140deg, var(--c-brand-400), var(--c-brand-600)); z-index: -1; }
.bio__photo { isolation: isolate; }
.bio__photo img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 460 / 600; object-fit: cover; object-position: top; box-shadow: var(--shadow-2); }
.bio__title { font-size: var(--fs-xl); font-weight: 800; margin-bottom: var(--sp-3); }
.facts { display: grid; gap: 12px; margin-top: var(--sp-5); }
.fact { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-1); border-left: 4px solid var(--c-brand-500); }
.fact__label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-brand-700); }
.fact__text { margin-top: 4px; font-weight: 600; }
@media (min-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .bio { grid-template-columns: 5fr 7fr; align-items: start; gap: var(--sp-8); } }

/* ---------- Plan ---------- */
.plan-tools {
  display: grid; gap: 12px; margin-top: var(--sp-5); padding: 16px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  position: sticky; top: calc(var(--band-h) + var(--header-h) + 8px); z-index: 5;
}
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label { font-size: var(--fs-xs); font-weight: 700; color: var(--c-ink-2); }
.field input, .field select {
  width: 100%; min-height: 46px; border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm);
  background: var(--c-bg); padding: 10px 12px; font-size: 1rem;
}
.field input:focus, .field select:focus { border-color: var(--c-brand-600); outline: none; box-shadow: 0 0 0 3px rgb(234 88 12 / 0.2); }
.input-ico { position: relative; }
.input-ico .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--c-ink-3); }
.input-ico input { padding-left: 38px; }
.plan-tools .btn--listen { align-self: end; }
@media (max-width: 699px) { .plan-tools { position: static; } }
@media (min-width: 700px) { .plan-tools { grid-template-columns: 2fr 1.3fr 1.3fr auto; align-items: end; } }
.plan-count { margin: var(--sp-4) 0 var(--sp-3); font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink-3); }
.ejes { display: grid; gap: 14px; }
@media (min-width: 640px) { .ejes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ejes { grid-template-columns: repeat(3, 1fr); } }
.eje {
  position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-1);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.eje:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--c-brand-200); }
.eje__head { display: flex; justify-content: space-between; align-items: center; }
.eje__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c-brand-50); color: var(--c-brand-600); }
.eje__ico .ico { width: 26px; height: 26px; }
.eje__n { font-weight: 900; font-size: 1.4rem; color: var(--c-line-strong); letter-spacing: -0.03em; }
.eje__title { font-size: 1.2rem; font-weight: 800; }
.eje__frase { font-size: var(--fs-md); }
.eje__more summary { cursor: pointer; font-weight: 700; color: var(--c-brand-700); font-size: var(--fs-sm); list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.eje__more summary::-webkit-details-marker { display: none; }
.eje__more summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-brand-50); font-weight: 900; }
.eje__more[open] summary::before { content: "−"; }
.eje__more p { padding: 8px 0 4px; color: var(--c-ink-2); font-size: var(--fs-sm); }
.eje__link { font-size: var(--fs-sm); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.eje__where { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--c-ink-3); font-weight: 600; padding-top: 6px; border-top: 1px solid var(--c-line); }
.plan-pdf { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--c-surface); border: 1.5px dashed var(--c-line-strong); }
.plan-pdf > .ico { width: 32px; height: 32px; color: var(--c-brand-600); }
.plan-pdf .meta { flex-basis: 100%; margin-top: 0; }

/* ---------- Trayectoria ---------- */
.stats { display: grid; gap: 14px; margin-top: var(--sp-6); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 22px;
  background: linear-gradient(160deg, var(--c-ember-2), var(--c-ember)); color: #fff;
}
.stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgb(234 88 12 / 0.55), transparent 70%); }
.stat__val { font-size: clamp(2.8rem, 2rem + 3vw, 3.8rem); font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: var(--c-brand-300); }
.stat__val span { display: block; font-size: 0.95rem; letter-spacing: 0; color: #fff; font-weight: 700; margin-top: 4px; }
.stat__txt { margin-top: 10px; color: rgb(255 255 255 / 0.9); }
.stat__note { margin-top: 8px; font-size: var(--fs-xs); color: var(--c-brand-200); }
.stat .meta { color: rgb(255 255 255 / 0.7); }
.stat a.meta__src { color: rgb(255 255 255 / 0.8); }

.tray-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 980px) { .tray-grid { grid-template-columns: 5fr 7fr; gap: var(--sp-8); } }
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--c-brand-500), var(--c-green-500)); }
.tl__item { position: relative; padding-bottom: var(--sp-5); }
.tl__item::before { content: ""; position: absolute; left: -26px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--c-bg); border: 3px solid var(--c-brand-500); }
.tl__year { font-weight: 900; color: var(--c-brand-600); font-size: 1.05rem; letter-spacing: -0.01em; }
.tl__body h4 { font-size: 1.05rem; margin-top: 2px; }
.tl__body p { color: var(--c-ink-2); font-size: var(--fs-sm); margin-top: 4px; }

.gallery { display: grid; gap: 18px; margin-top: var(--sp-4); }
@media (min-width: 640px) and (max-width: 979px) { .gallery { grid-template-columns: 1fr 1fr; } }
.ba { margin: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.ba__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-alt); }
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px; }
.ba__before .ph { background: repeating-linear-gradient(135deg, #e4e8ee 0 12px, #dbe0e8 12px 24px); align-items: flex-start; }
.ba__after .ph { background: linear-gradient(135deg, var(--c-brand-100), var(--c-green-100)); align-items: flex-end; text-align: right; }
.ph__label { font-weight: 900; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-ink); }
.ph__txt { font-size: var(--fs-xs); max-width: 48%; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--c-brand-600); border: 3px solid #fff; box-shadow: var(--shadow-2); }
.ba__handle span::before, .ba__handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 5px solid transparent; margin-top: -5px; }
.ba__handle span::before { left: 5px; border-right-color: #fff; }
.ba__handle span::after { right: 5px; border-left-color: #fff; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__range:focus-visible + .ba__handle, .ba__frame:focus-within .ba__handle span { outline: 3px solid var(--c-gold); }
.ba__tag {
  position: absolute; top: 12px; padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgb(15 27 51 / 0.78); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.ba__before .ba__tag { left: 12px; }
.ba__after .ba__tag { right: 12px; background: var(--c-brand-600); }
.ba__ref { font-size: var(--fs-xs) !important; color: var(--c-ink-3); font-style: italic; margin-top: 2px; }
.ba figcaption { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.ba figcaption span { font-size: var(--fs-sm); color: var(--c-ink-3); }

.fff {
  margin-top: var(--sp-8); position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, var(--c-brand-500) 0%, var(--c-brand-600) 45%, var(--c-brand-700) 78%, var(--c-brand-800) 100%);
  display: grid;
}
.fff__art { opacity: 0.95; padding: 20px 20px 0; }
.fff__art svg { width: 100%; max-width: 280px; margin: 0 auto; display: block; }
.fff__body { padding: 8px 22px 28px; }
.fff__title { font-size: clamp(1.9rem, 1.3rem + 2.5vw, 3rem); font-weight: 900; letter-spacing: -0.03em; }
.fff__text { margin-top: 12px; font-size: var(--fs-lg); color: rgb(255 255 255 / 0.92); max-width: 40rem; }
.fff__list { margin-top: var(--sp-5); display: grid; gap: 10px; }
.fff__list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: rgb(0 0 0 / 0.18); border: 1px solid rgb(255 255 255 / 0.12); }
.fff__list strong { font-size: 1.3rem; font-weight: 900; color: var(--c-gold); }
.fff__list span { font-size: var(--fs-sm); }
.fff__list a { color: var(--c-brand-100); font-size: var(--fs-xs); white-space: nowrap; }
.fff__prop { margin-top: var(--sp-5); }
@media (min-width: 900px) {
  .fff { grid-template-columns: 2fr 3fr; align-items: center; }
  .fff__art { padding: 40px; }
  .fff__art svg { max-width: 360px; }
  .fff__body { padding: 44px 44px 44px 0; }
}

/* ---------- Verdad o bulo ---------- */
.bulos { display: grid; gap: 16px; margin-top: var(--sp-5); }
@media (min-width: 720px) { .bulos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bulos { grid-template-columns: repeat(3, 1fr); } }
.bulo {
  display: flex; flex-direction: column; padding: 22px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.03));
  border: 1px solid rgb(255 255 255 / 0.12);
}
.bulo__top { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.verdict { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); }
.verdict--pendiente { background: rgb(255 211 77 / 0.15); color: var(--c-draft-ink); border: 1px dashed rgb(255 211 77 / 0.6); }
.verdict--verdad { background: var(--c-green-600); color: #fff; }
.verdict--bulo { background: #b91c1c; color: #fff; }
.verdict--impreciso { background: var(--c-gold); color: var(--c-ink); }
.bulo__q { font-size: 1.25rem; font-weight: 800; margin: 14px 0 6px; }
.bulo__label { margin-top: 14px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-brand-300); }
.bulo__rumor, .bulo__ctx { margin-top: 4px; color: rgb(255 255 255 / 0.86); font-size: var(--fs-sm); }
.bulo__ans { margin-top: 4px; font-size: var(--fs-sm); }
.bulo .meta { margin-top: auto; padding-top: 14px; }
.bulo .btn--card { margin-top: 12px; }

/* ---------- Redes ---------- */
.socials { display: grid; gap: 12px; margin-top: var(--sp-5); }
@media (min-width: 640px) { .socials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .socials { grid-template-columns: repeat(3, 1fr); } }
.social { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-1); }
.social > a, .social > div { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--c-ink); }
.social__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c-ember); color: #fff; flex: none; }
.social__ico .ico { width: 26px; height: 26px; }
.social__txt { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.social__txt strong { font-size: 1.05rem; }
.social__txt > span { font-size: var(--fs-sm); color: var(--c-ink-3); }
.social__go { margin-left: auto; color: var(--c-brand-600); }
.social > a:hover .social__ico { background: var(--c-brand-600); }
.social--off .social__ico { background: var(--c-ink-3); }

/* ---------- Agenda ---------- */
.agenda { margin-top: var(--sp-5); display: grid; gap: 12px; }
.ag { display: grid; grid-template-columns: 76px 1fr; gap: 14px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-1); }
.ag--example { border-style: dashed; }
.ag--past { opacity: 0.6; }
.ag__date { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: var(--r-md); background: linear-gradient(160deg, var(--c-brand-500), var(--c-brand-700)); color: #fff; padding: 10px 4px; line-height: 1; align-self: start; }
.ag--example .ag__date { background: var(--c-ink-2); }
.ag__day { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.03em; }
.ag__mon { text-transform: uppercase; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; margin-top: 2px; }
.ag__dow { font-size: 0.68rem; opacity: 0.85; margin-top: 4px; }
.ag__body h3 { font-size: 1.08rem; font-weight: 800; }
.ag__line { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; font-size: var(--fs-sm); color: var(--c-ink-2); }
.ag__line .ico { margin-top: 3px; color: var(--c-brand-600); }
.ag__par { font-weight: 700; }
.silence-box { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: var(--c-pending-bg); color: var(--c-pending-ink); border: 2px dashed var(--c-pending-line); font-weight: 600; }
.silence-box .ico { width: 28px; height: 28px; }
@media (min-width: 760px) { .agenda { grid-template-columns: 1fr 1fr; } }

/* ---------- Equipo ---------- */
.team { display: grid; gap: 14px; }
@media (min-width: 600px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { display: flex; gap: 14px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-1); }
.member__photo { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; flex: none; background: var(--c-bg-alt); }
.member__photo--ph { display: grid; place-items: center; position: relative; color: var(--c-line-strong); background: repeating-linear-gradient(135deg, var(--c-bg-alt) 0 8px, #e3e8ef 8px 16px); }
.member__photo--ph .ico { width: 40px; height: 40px; }
.member__photo--ph span { position: absolute; bottom: 6px; right: 8px; font-weight: 900; color: var(--c-brand-600); }
.member__role { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-green-700); }
.member__name { font-size: 1.05rem; margin: 2px 0 4px; }
.member__body > p:not(.member__role):not(.meta) { font-size: var(--fs-sm); color: var(--c-ink-2); }

/* ---------- Prensa ---------- */
.press { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) { .press { grid-template-columns: 2fr 1fr; gap: var(--sp-7); } .press--solo { grid-template-columns: 1fr; } .press--solo .news { grid-template-columns: 1fr 1fr; } }
.news { display: grid; gap: 12px; }
.news__item { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 18px; }
.news__date { font-size: var(--fs-xs); font-weight: 800; color: var(--c-brand-600); text-transform: uppercase; letter-spacing: 0.08em; }
.news__item h4 { font-size: 1.1rem; margin: 4px 0 6px; }
.news__item p:not(.news__date):not(.meta) { font-size: var(--fs-sm); color: var(--c-ink-2); }
.press__contact { align-self: start; background: var(--c-ember); color: #fff; border-radius: var(--r-lg); padding: 4px 20px 20px; }
.press__contact .meta { color: rgb(255 255 255 / 0.7); }
.contact { display: grid; gap: 12px; }
.contact li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.contact .ico { margin-top: 3px; color: var(--c-brand-300); }
.contact a { color: #fff; }
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .photos { grid-template-columns: repeat(3, 1fr); } }
.photo { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.photo img { aspect-ratio: 1; object-fit: cover; object-position: top; width: 100%; }
.photo__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.photo__title { font-weight: 700; font-size: var(--fs-sm); }
.photo__credit { font-size: var(--fs-xs); }
.photo .btn { margin-top: auto; }

/* ---------- Accesibilidad ---------- */
.acc { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) { .acc { grid-template-columns: 3fr 2fr; gap: var(--sp-7); } }
.acc__listen .btn--xl { margin-top: var(--sp-5); }
.font-ctl { display: flex; align-items: center; gap: 8px; margin-top: var(--sp-5); font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink-2); flex-wrap: wrap; }
.font-ctl button { min-width: 48px; min-height: 44px; border-radius: var(--r-sm); border: 1.5px solid var(--c-line-strong); background: var(--c-surface); cursor: pointer; font-weight: 800; }
.font-ctl button:hover { border-color: var(--c-brand-600); color: var(--c-brand-700); }
.acc__kichwa { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 20px; border-top: 5px solid var(--c-green-600); }
.acc__kichwa .sub { margin-top: 0; }
.acc__kichwa audio { width: 100%; margin-top: 12px; }

/* ---------- Pie ---------- */
.site-footer { background: #0a1324; color: rgb(255 255 255 / 0.78); padding: var(--sp-7) 0 calc(var(--sp-7) + env(safe-area-inset-bottom)); font-size: var(--fs-sm); }
.site-footer__in { display: grid; gap: var(--sp-5); }
@media (min-width: 800px) { .site-footer__in { grid-template-columns: 1fr 2fr; } }
.site-footer__name { font-family: var(--f-display); font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.site-footer__name span { color: var(--c-brand-300); }
.site-footer__legal p + p { margin-top: 8px; }
.site-footer a { color: var(--c-brand-200); }
.site-footer__meta { font-size: var(--fs-xs); opacity: 0.7; }

/* ---------- Diálogo de imagen ---------- */
.card-dialog { border: 0; padding: 0; border-radius: var(--r-lg); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--c-surface); color: var(--c-ink); box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.6); }
.card-dialog::backdrop { background: rgb(20 8 3 / 0.75); backdrop-filter: blur(3px); }
.card-dialog__in { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card-dialog__head { display: flex; align-items: center; justify-content: space-between; }
.card-dialog__head h2 { font-size: 1.1rem; }
.card-dialog img { width: 100%; height: auto; max-height: 58vh; object-fit: contain; border-radius: var(--r-md); background: var(--c-ember); }
.card-dialog__note { font-size: var(--fs-xs); color: var(--c-ink-3); }
.card-dialog__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.card-dialog__actions .btn { flex: 1 1 auto; }

/* =========================================================
   Interactividad
   ========================================================= */

/* Barra de progreso de lectura */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-brand-500), var(--c-gold)); transform-origin: 0 50%; transform: scaleX(0); }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Chips de filtro */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: var(--sp-5) 0 0; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.chip-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px;
  border-radius: var(--r-pill); border: 1.5px solid var(--c-line-strong); background: var(--c-surface);
  color: var(--c-ink-2); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.chip-btn .ico { width: 18px; height: 18px; color: var(--c-brand-600); }
.chip-btn:hover { border-color: var(--c-brand-500); transform: translateY(-1px); }
.chip-btn[aria-pressed="true"] { background: var(--c-ember); border-color: var(--c-ember); color: #fff; }
.chip-btn[aria-pressed="true"] .ico { color: var(--c-brand-300); }

.tag--sample { background: var(--c-bg-alt); color: var(--c-ink-3); border: 1px solid var(--c-line-strong); letter-spacing: .06em; }
.note--sample { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag--next { background: var(--c-brand-500); color: #fff; margin-bottom: 6px; }

/* Tarjetas de eje */
.eje { cursor: pointer; }
.eje__head .tag--sample { margin-left: auto; margin-right: 10px; }
.eje__count { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--c-green-600); }
.eje__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.eje__open, button.eje__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: var(--r-pill);
  font: inherit; font-size: var(--fs-sm); font-weight: 700; cursor: pointer; transition: background .15s, color .15s;
}
.eje__open { background: var(--c-brand-50); color: var(--c-brand-700); border: 1.5px solid var(--c-brand-200); }
.eje__open:hover { background: var(--c-brand-600); border-color: var(--c-brand-600); color: #fff; }
button.eje__link { background: transparent; color: var(--c-ink-2); border: 1.5px solid var(--c-line-strong); }
button.eje__link:hover { border-color: var(--c-ink-2); color: var(--c-ink); }

/* Bloque del PDF */
.plan-pdf { gap: 18px; align-items: center; background: linear-gradient(135deg, var(--c-surface), var(--c-brand-50)); border-style: solid; border-color: var(--c-line); }
.plan-pdf__cover {
  flex: none; width: 86px; height: 112px; border-radius: 8px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--c-ember-2), var(--c-ember)); color: #fff; box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; transform: rotate(-4deg);
}
.plan-pdf__cover::before { content: ""; position: absolute; right: -20px; top: -20px; width: 70px; height: 70px; border-radius: 50%; background: rgb(234 88 12 / 0.6); }
.plan-pdf__cover span { font-size: .6rem; font-weight: 800; letter-spacing: .14em; color: var(--c-brand-300); position: relative; }
.plan-pdf__cover strong { font-size: 1.6rem; font-weight: 900; font-style: italic; position: relative; line-height: 1; }
.plan-pdf__body { flex: 1 1 220px; }
.plan-pdf__title { font-weight: 800; font-size: 1.1rem; }
.plan-pdf__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* Cuenta regresiva */
.countdown { display: flex; align-items: center; gap: 8px; margin-top: var(--sp-5); flex-wrap: wrap; }
.cd { min-width: 64px; padding: 8px 10px; border-radius: 12px; text-align: center; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cd strong { display: block; font-size: 1.6rem; font-weight: 900; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.cd span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-brand-200); font-weight: 700; }
.cd__label { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.75); line-height: 1.3; margin-left: 4px; }
.cd__label b { color: #fff; }
.btn--icon { flex: 0 0 auto !important; width: 48px; padding: 0; background: rgb(255 255 255 / 0.08); color: #fff; border-color: rgb(255 255 255 / 0.3); }
.btn--icon:hover { background: rgb(255 255 255 / 0.16); color: #fff; }

/* Cifras animadas */
.num { font-weight: inherit; font-variant-numeric: tabular-nums; }

/* Agenda */
.ag__cal {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 36px; padding: 6px 12px;
  border-radius: var(--r-pill); border: 1.5px solid var(--c-line-strong); background: var(--c-surface);
  font: inherit; font-size: var(--fs-xs); font-weight: 700; color: var(--c-ink-2); cursor: pointer;
}
.ag__cal:hover { border-color: var(--c-brand-600); color: var(--c-brand-700); }
.ag--next { border-color: var(--c-brand-400); box-shadow: 0 0 0 3px rgb(251 146 60 / 0.25), var(--shadow-1); }
.agenda .empty { grid-column: 1 / -1; }

/* Hoja de detalle del eje */
.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 640px; max-height: 88vh;
  border-radius: 24px 24px 0 0; background: var(--c-surface); color: var(--c-ink); box-shadow: 0 -20px 60px -20px rgb(0 0 0 / .5);
}
.sheet[open] { animation: sheetUp .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sheet::backdrop { background: rgb(10 19 36 / 0.6); backdrop-filter: blur(3px); }
.sheet__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.sheet__body { padding: 26px 22px 28px; overflow-y: auto; max-height: 88vh; }
@media (min-width: 700px) { .sheet { margin: auto; border-radius: 24px; } }
.ed__top { display: flex; align-items: center; gap: 12px; }
.ed__top .eje__ico { width: 52px; height: 52px; }
.ed__top .kicker { margin: 0; }
.ed__title { font-size: var(--fs-2xl); font-weight: 850; margin-top: 14px; letter-spacing: -0.02em; padding-right: 30px; }
.ed__frase { font-size: var(--fs-lg); color: var(--c-brand-700); font-weight: 700; margin-top: 8px; }
.ed__h { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-3); margin: 20px 0 8px; }
.ed__list { display: grid; gap: 8px; }
.ed__list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--c-bg); }
.ed__list .ico { color: var(--c-green-600); margin-top: 3px; }
.ed__where { display: flex; gap: 6px; align-items: flex-start; color: var(--c-ink-2); font-size: var(--fs-sm); }
.ed__where .ico { margin-top: 3px; color: var(--c-brand-600); }
.ed__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ed__nav { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: var(--fs-sm); color: var(--c-brand-700); }

/* Visor de PDF */
.pdfv { border: 0; padding: 0; width: min(1000px, 100vw); height: min(92vh, 1100px); max-width: 100vw; max-height: 100vh; border-radius: 18px; background: var(--c-ember); color: #fff; display: none; flex-direction: column; overflow: hidden; }
.pdfv[open] { display: flex; }
.pdfv::backdrop { background: rgb(10 19 36 / 0.75); }
.pdfv__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; flex-wrap: wrap; }
.pdfv__head h2 { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.pdfv__page { font-size: var(--fs-xs); color: var(--c-brand-200); }
.pdfv__actions { display: flex; gap: 8px; align-items: center; }
.pdfv__actions .icon-btn { background: rgb(255 255 255 / 0.1); color: #fff; border-color: rgb(255 255 255 / 0.2); }
.pdfv iframe { flex: 1; width: 100%; border: 0; background: #525659; }
.pdfv__hint { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.65); padding: 8px 14px 12px; }
@media (max-width: 599px) { .pdfv { width: 100vw; height: 100%; border-radius: 0; } }

/* Botón subir y aviso */
.to-top {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c-brand-600); color: #fff; box-shadow: 0 10px 24px -8px rgb(194 65 12 / 0.7);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .2s, transform .2s;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--c-ember); color: #fff; padding: 10px 18px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm);
  box-shadow: var(--shadow-2); transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Frase de portada con su fuente */
.hero__quote cite { display: block; margin-top: 6px; font-style: normal; font-size: var(--fs-xs); color: var(--c-brand-200); letter-spacing: .02em; }

/* Objetivo general del plan */
.goal {
  margin-top: var(--sp-5); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--c-ember-2), var(--c-ember)); color: #fff; display: grid;
  box-shadow: var(--shadow-2);
}
.goal__main { padding: 22px 22px 18px; position: relative; }
.goal__main::after { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgb(234 88 12 / .45), transparent 70%); pointer-events: none; }
.goal__kicker { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-brand-300); }
.goal__text { margin-top: 10px; font-size: var(--fs-lg); line-height: 1.5; font-weight: 600; max-width: 52rem; position: relative; }
.goal__list { display: grid; gap: 1px; background: rgb(255 255 255 / .08); }
.goal__list li { display: flex; gap: 12px; padding: 14px 22px; background: rgb(255 255 255 / .03); font-size: var(--fs-sm); color: rgb(255 255 255 / .85); }
.goal__n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand-500); color: #fff; font-weight: 800; font-size: .8rem; }
@media (min-width: 900px) { .goal__list { grid-template-columns: repeat(3, 1fr); } }

.ed__list--goal .ico { color: var(--c-brand-600); }

/* Trayectoria: documento, obras y áreas */
.tray-doc { margin-top: var(--sp-4); }
.obras { display: grid; gap: 14px; margin-top: var(--sp-3); }
@media (min-width: 680px) { .obras { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .obras { grid-template-columns: repeat(3, 1fr); } }
.obra { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--c-brand-500); }
.obra__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.obra__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c-brand-50); color: var(--c-brand-600); }
.obra__ico .ico { width: 22px; height: 22px; }
.obra__state { font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); text-align: right; }
.obra__state--concluida { background: var(--c-green-50); color: var(--c-green-700); }
.obra__state--posterior { background: #fef3c7; color: #92400e; }
.obra__title { font-size: 1.08rem; font-weight: 800; }
.obra__text { font-size: var(--fs-sm); color: var(--c-ink-2); }
.obra__inv { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink); }
.obra__inv .ico { margin-top: 3px; color: var(--c-brand-600); }
.obra .meta { margin-top: auto; }

.areas { display: grid; gap: 10px; }
@media (min-width: 900px) { .areas { grid-template-columns: 1fr 1fr; align-items: start; } }
.area { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.area__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.area__ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--c-ember); color: var(--c-brand-300); flex: none; }
.area__list { display: grid; gap: 6px; padding: 0 16px 16px; }
.area__list li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-ink-2); }
.area__list .ico { margin-top: 3px; color: var(--c-green-600); }

/* Logos del movimiento y eslogan */
.brand__logo { height: 40px; width: auto; flex: none; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .35)); }
.hero__list { margin-top: var(--sp-5); }
.hero__logo { width: 124px; height: auto; filter: drop-shadow(0 10px 22px rgb(0 0 0 / .35)); }
@media (min-width: 900px) { .hero__logo { width: 170px; } }
.slogan { background: linear-gradient(180deg, var(--c-ember) 0 38%, var(--c-bg) 38% 100%); padding: 0 0 var(--sp-6); }
.slogan__img {
  width: 100%; max-width: 820px; margin: 0 auto; display: block;
  border-radius: 24px; box-shadow: 0 24px 60px -24px rgb(15 27 51 / .55);
}
.site-footer__brand { display: flex; gap: 18px; align-items: flex-start; }
.site-footer__logo { width: 96px; height: auto; flex: none; }
.site-footer__brand p + p { margin-top: 6px; }
.site-footer__ig { font-weight: 700; }

/* Panfletos de campaña */
.flyers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .flyers { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.flyer { background: var(--c-surface); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); border: 1px solid var(--c-line); display: flex; flex-direction: column; }
.flyer__open { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.flyer__open img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.flyer__open:hover img { transform: scale(1.03); }
.flyer__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; font-size: var(--fs-xs); font-weight: 700; color: var(--c-ink-2); }
.icon-link { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand-50); color: var(--c-brand-700); }
.icon-link:hover { background: var(--c-brand-600); color: #fff; }

/* Obras con foto */
.obra--foto { padding-top: 0; overflow: hidden; }
.obra__img { display: block; margin: 0 -18px 4px; padding: 0; border: 0; background: var(--c-bg-alt); cursor: zoom-in; overflow: hidden; }
.obra__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.obra__img:hover img { transform: scale(1.04); }
.obra--foto { border-top-width: 0; }
.obra--foto .obra__img { border-bottom: 4px solid var(--c-brand-500); }

/* Botón "Vota 62" del menú */
.site-nav a.nav-cta { background: var(--c-brand-600); color: #fff; }
.site-nav a.nav-cta:hover { background: var(--c-brand-700); }
@media (min-width: 1024px) { .site-nav a.nav-cta { border-radius: var(--r-pill); padding: 8px 16px; margin-left: 6px; box-shadow: none; } }

/* Galería: foto ampliable */
.photo__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.photo__open img { transition: transform .4s ease; }
.photo__open:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(960px, 96vw); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgb(10 19 36 / 0.88); }
.lightbox img { max-width: min(960px, 96vw); max-height: 84vh; width: auto; height: auto; border-radius: 14px; margin: 0 auto; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .7); }
.lightbox__cap { color: #fff; text-align: center; margin-top: 10px; font-weight: 700; }
.lightbox__close { position: absolute; top: -14px; right: -6px; z-index: 2; }

/* Cierre: vota Lista 62 */
.vote { position: relative; overflow: hidden; isolation: isolate; background: var(--c-ember); color: #fff; padding: var(--sp-8) 0; }
.vote__bg { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 90% at 100% 0%, rgb(234 88 12 / .55), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgb(21 128 61 / .35), transparent 60%); }
.vote__in { display: grid; gap: var(--sp-6); align-items: center; }
.vote__title { font-size: clamp(2.2rem, 1.4rem + 4vw, 4.2rem); font-weight: 900; line-height: 1; letter-spacing: -0.035em; margin-top: 8px; }
.vote__title span { background: linear-gradient(95deg, #fdba74, var(--c-brand-400), var(--c-brand-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vote__lead { margin-top: var(--sp-4); font-size: var(--fs-lg); color: rgb(255 255 255 / .82); max-width: 36rem; }
.vote__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-5); }
.vote__card { position: relative; max-width: 340px; justify-self: center; }
.vote__card img { border-radius: 26px; background: #fff; box-shadow: 0 30px 70px -25px rgb(0 0 0 / .7); transform: rotate(-3deg); }
.vote__badge {
  position: absolute; right: -18px; bottom: -18px; width: 132px; padding: 10px; border-radius: 20px;
  background: #fff; box-shadow: 0 16px 34px -12px rgb(0 0 0 / .55); transform: rotate(3deg);
}
.vote__badge img { width: 100%; height: auto; display: block; }
@media (min-width: 860px) { .vote__in { grid-template-columns: 1.4fr 1fr; } }

/* Flores de la FFF con movimiento suave */
.fff__art .spin { animation: spin 26s linear infinite; }
.fff__art .spin--rev { animation-duration: 34s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.fff:hover .fff__art .spin { animation-duration: 8s; }
