/* «Revopol en cifras» · maqueta de conversión (2026-09-24).
   Va justo después de la demo. Tarjetas blancas sobre azul muy claro, cifras en tinta y
   color solo para identificar cada tipo de ejercicio (la misma muestra en la barra y en su tarjeta).
   Paleta de la barra validada con el script de dataviz: azul, naranja, verde azulado, ámbar y violeta. */

.cifras { position: relative; background: linear-gradient(180deg, #f3f7fe 0%, #fff 72%); }
.cifras .section-head { margin-bottom: 34px; }

/* ---------- Total ---------- */
.cf-total {
  display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 24px 48px; align-items: center;
  padding: 30px 34px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  box-shadow: var(--shadow-soft);
}
.cf-total-label { font-size: 14px; font-weight: 750; color: var(--muted); }
.cf-hero { display: block; margin-top: 4px; font-size: clamp(56px, 6.2vw, 86px); font-weight: 870; letter-spacing: -0.045em; line-height: 0.95; color: var(--ink); white-space: nowrap; }
.cf-total-note { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

.cf-bar { display: flex; gap: 2px; height: 22px; border-radius: 6px; overflow: hidden; clip-path: inset(0 calc((1 - var(--p, 1)) * 100%) 0 0 round 6px); }
.cf-seg { flex: var(--v) 1 0; min-width: 4px; background: var(--c); cursor: default; transition: opacity 0.2s, filter 0.2s; }
.cf-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.cf-legend li { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: center; padding: 2px 0; transition: opacity 0.2s; }
.cf-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.cf-legend span { font-size: 13px; font-weight: 650; color: var(--ink-2); line-height: 1.25; }
.cf-legend b { grid-column: 2; font-size: 19px; font-weight: 820; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.cf-legend small { grid-column: 2; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cf-total.has-focus .cf-seg:not(.is-focus), .cf-total.has-focus .cf-legend li:not(.is-focus) { opacity: 0.28; }
.cf-grid.has-focus .cf-tile[data-key]:not(.is-focus) { opacity: 0.55; }

/* ---------- Rejilla de tarjetas ---------- */
.cf-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  grid-template-areas:
    "tests tests vf flash"
    "tests tests psico games"
    "temario temario temario temario"
    "oficial simu videos videos"
    "podcast schemas videos videos";
}
.cf-tests { grid-area: tests; }
.cf-vf { grid-area: vf; }
.cf-flash { grid-area: flash; }
.cf-psico { grid-area: psico; }
.cf-games { grid-area: games; }
.cf-temario { grid-area: temario; }
.cf-videos { grid-area: videos; }
.cf-oficial { grid-area: oficial; }
.cf-simu { grid-area: simu; }
.cf-podcast { grid-area: podcast; }
.cf-schemas { grid-area: schemas; }

.cf-tile {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 22px 22px 20px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(10, 33, 79, 0.03);
  transition: opacity 0.25s, box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.cf-tile:hover { border-color: var(--line-2); box-shadow: var(--shadow-soft); }
.cf-tile-copy { position: relative; }
.cf-ic { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-3); color: var(--blue); }
.cf-ic .i { width: 19px; height: 19px; }
.cf-num { display: block; padding-right: 44px; font-size: clamp(34px, 3.1vw, 44px); font-weight: 860; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.cf-tests .cf-num { font-size: clamp(44px, 4.6vw, 64px); }
.cf-name { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 16px; font-weight: 750; color: var(--ink); line-height: 1.3; }
.cf-key { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.cf-desc { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.cf-desc b { color: var(--ink); font-weight: 750; }
.cf-stage { position: relative; margin-top: auto; }

.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chips li { padding: 7px 11px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.cf-chips b { font-weight: 820; color: var(--ink); }

.cf-mini { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.cf-mini li { font-size: 14px; color: var(--muted); }
.cf-mini b { font-size: 17px; font-weight: 820; color: var(--ink); letter-spacing: -0.01em; }

/* ---------- Test: pregunta oficial que se resuelve ---------- */
.cfq { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 12px; background: var(--soft); }
.cfq { justify-content: center; }
.cfq-card { padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(10, 33, 79, 0.06); transition: opacity 0.35s, transform 0.35s; }
.cfq-card.is-out { opacity: 0; transform: translateY(8px); }
.cfq-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.cfq-src { color: var(--blue-2); }
.cfq-q { margin-top: 10px; min-height: 2.7em; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.cfq-opts { display: grid; gap: 8px; margin-top: 14px; }
.cfq-opts li {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14.5px; color: var(--ink-2); opacity: 0; transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
}
.cfq-opts li.is-in { opacity: 1; transform: none; }
.cfq-opts li i { display: grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; background: var(--soft-2); font-size: 12px; font-style: normal; font-weight: 800; color: var(--blue-2); text-transform: uppercase; transition: background 0.3s, color 0.3s; }
.cfq-opts li.is-pick { border-color: var(--blue); background: #f5f9ff; }
.cfq-opts li.is-ok { border-color: #3aa57a; background: #ebf8f2; color: var(--ink); font-weight: 650; }
.cfq-opts li.is-ok i { background: var(--dom); color: #fff; }
.cfq-opts li.is-dim { opacity: 0.45; }
.cfq-ref { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; font-weight: 650; color: var(--dom); opacity: 0; transition: opacity 0.3s; }
.cfq-ref.is-in { opacity: 1; }
.cfq-dots { display: flex; justify-content: center; gap: 6px; }
.cfq-dots i { width: 18px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background 0.3s, width 0.3s; }
.cfq-dots i.is-on { width: 28px; background: var(--blue); }

/* ---------- V/F ---------- */
.cfv { padding: 14px; border-radius: 12px; background: var(--soft); }
.cfv-topic { font-size: 12px; font-weight: 700; color: var(--muted); }
.cfv-text { margin-top: 6px; min-height: 4.1em; font-size: 14.5px; font-weight: 650; line-height: 1.38; color: var(--ink); transition: opacity 0.3s; }
.cfv-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.cfv-btns span {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 13.5px; font-weight: 750; color: var(--ink-2); transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.cfv-btns .i { width: 15px; height: 15px; }
.cfv-btns span.is-ok { border-color: #3aa57a; background: #ebf8f2; color: var(--dom); transform: scale(1.03); }
.cfv-btns span.is-dim { opacity: 0.45; }
.cfv-why { margin-top: 8px; min-height: 2.6em; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); opacity: 0; transition: opacity 0.3s; }
.cfv-why.is-in { opacity: 1; }
.cfv-why b { color: var(--dom); }

/* ---------- Flashcards ---------- */
.cff { flex: 1; min-height: 158px; perspective: 900px; cursor: pointer; }
.cff-card { position: relative; height: 100%; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.3, 0.7, 0.2, 1); }
.cff.is-flipped .cff-card { transform: rotateY(180deg); }
.cff-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.cff-front { border: 1px solid var(--line); background: var(--soft); }
.cff-back { border: 1px solid #b9e3d2; background: #effaf5; transform: rotateY(180deg); }
.cff-tag { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 750; color: var(--muted); }
.cff-back .cff-tag { color: var(--dom); }
.cff-face p { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.cff-face small { margin-top: auto; font-size: 12px; color: var(--muted); }

/* ---------- Psicotécnicos ---------- */
.cfp { padding: 14px; border-radius: 12px; background: var(--soft); }
.cfp-q { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cfp-seq { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
.cfp-seq li {
  display: grid; place-items: center; min-width: 0; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity 0.25s, transform 0.25s, background 0.3s, border-color 0.3s;
}
.cfp-seq li.is-in { opacity: 1; transform: none; }
.cfp-seq li.is-ask { border: 1.5px dashed var(--blue); color: var(--blue); }
.cfp-seq li.is-ok { border: 1px solid #3aa57a; background: #ebf8f2; color: var(--dom); }
.cfp-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.cfp-opts li { display: grid; place-items: center; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13.5px; font-weight: 750; color: var(--ink-2); transition: background 0.25s, border-color 0.25s, opacity 0.25s; }
.cfp-opts li.is-ok { border-color: #3aa57a; background: #ebf8f2; color: var(--dom); }
.cfp-opts li.is-dim { opacity: 0.45; }

/* ---------- Juegos: cinta de nombres ---------- */
.cfg { display: grid; gap: 8px; overflow: hidden; margin-inline: -22px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.cfg-row { display: flex; gap: 8px; width: max-content; animation: cf-marquee 38s linear infinite; }
.cfg-row.is-rev { animation-direction: reverse; animation-duration: 44s; }
.cfg-row span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.cfg-row span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7c4dff; }
.cfg-row span.is-duel { border-color: #d6ccff; background: #f5f2ff; color: #4a2fc2; }
.cf-games:hover .cfg-row { animation-play-state: paused; }
@keyframes cf-marquee { to { transform: translateX(-50%); } }

/* ---------- Temario: 45 casillas ---------- */
.cf-temario { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 32px; align-items: start; }
.cft { margin-top: 0; }
.cft-blocks { display: flex; gap: 12px; }
.cft-block { display: grid; gap: 6px; }
.cft-block > small { font-size: 11.5px; font-weight: 750; color: var(--muted); white-space: nowrap; }
.cft-cells { display: grid; grid-template-columns: repeat(var(--cols), 26px); gap: 4px; }
.cft-cell {
  all: unset; box-sizing: border-box; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px;
  background: var(--bgc, var(--none)); color: var(--fg, var(--ink)); font-size: 10.5px; font-weight: 800; cursor: pointer;
  opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.3s, box-shadow 0.2s;
}
.cft.is-in .cft-cell { opacity: 1; transform: none; transition-delay: calc(var(--i) * 18ms); }
.cft-cell:hover, .cft-cell:focus-visible, .cft-cell.is-sel { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); transition-delay: 0s; }
.cft-detail {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 10px; margin-top: 14px; padding: 12px 14px;
  border-radius: 12px; background: var(--soft); min-height: 84px;
}
.cft-detail p { grid-column: 1 / -1; font-size: 13.5px; font-weight: 750; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cft-detail p small { font-weight: 600; color: var(--muted); }
.cft-detail span { display: grid; font-size: 11.5px; color: var(--muted); }
.cft-detail span b { font-size: 17px; font-weight: 820; color: var(--ink); letter-spacing: -0.01em; }
.cft-scale { display: flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.cft-scale span:first-child { margin-right: 4px; }
.cft-scale span:last-child { margin-left: 4px; }
.cft-scale i { width: 16px; height: 8px; border-radius: 2px; }
.cft-scale i:nth-of-type(1) { background: #dbe8ff; }
.cft-scale i:nth-of-type(2) { background: #9dc0ff; }
.cft-scale i:nth-of-type(3) { background: #4d8dff; }
.cft-scale i:nth-of-type(4) { background: #0a4fd0; }

/* ---------- Videoclases ---------- */
.cfvid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 0; }
.cfvid > * { min-width: 0; }
.cfvid-player {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; padding: 14px 16px; border-radius: 12px;
  background: radial-gradient(120% 90% at 85% 10%, #3f86ff 0%, #0c4ad9 55%, #0b3aa8 100%); color: #fff;
}
.cfvid-player::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, 0.08); }
.cfvid-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-size: 11.5px; font-weight: 700; }
.cfvid-title { margin-top: 10px; max-width: 78%; font-size: clamp(15px, 1.5vw, 19px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; transition: opacity 0.3s; }
.cfvid-play { position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.cfvid-play .i { width: 18px; height: 18px; margin-left: 3px; fill: currentColor; stroke: none; }
.cfvid-bar { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.cfvid-bar i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.cfvid-list { display: grid; gap: 4px; }
.cfvid-list li { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); transition: background 0.3s, color 0.3s; }
.cfvid-list li::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; }
.cfvid-list li.is-done::before { border-color: var(--dom); background: var(--dom) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.cfvid-list li.is-now { background: var(--blue-3); color: var(--ink); font-weight: 700; }
.cfvid-list li.is-now::before { border: 5px solid var(--blue); }
.cfvid-list li span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cfvc { margin: auto 0 0; }
.cfvc figcaption { margin-bottom: 8px; font-size: 12px; font-weight: 750; color: var(--muted); }
.cfvc-bars { display: grid; grid-template-columns: repeat(22, minmax(0, 1fr)); gap: 4px; align-items: end; height: 96px; }
.cfvc-col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; cursor: default; }
.cfvc-col i { width: 100%; max-width: 18px; height: calc(var(--h) * 0.72%); min-height: 3px; border-radius: 4px 4px 0 0; background: #9dc0ff; transform-origin: bottom; transform: scaleY(0); transition: transform 0.5s cubic-bezier(0.3, 0.7, 0.2, 1), background 0.2s; transition-delay: calc(var(--i) * 30ms); }
.cfvc-bars.is-in .cfvc-col i { transform: none; }
.cfvc-col.is-t8 i { background: var(--blue); }
.cfvc-col:hover i { background: var(--blue-2); }
.cfvc-col em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.cfvc-col small { margin-top: 4px; font-size: 10px; font-weight: 650; color: var(--muted); font-variant-numeric: tabular-nums; }
.cfvc-col.is-t8 small { color: var(--ink); font-weight: 800; }

/* ---------- Oficiales ---------- */
.cfo { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.cfo li {
  display: grid; justify-items: center; gap: 2px; padding: 10px 2px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft);
  opacity: 0; transform: translateY(8px) rotate(-3deg); transition: opacity 0.35s, transform 0.35s;
}
.cfo.is-in li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 110ms); }
.cfo li b { font-size: 15px; font-weight: 820; color: var(--ink); }
.cfo li small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cfo-cap { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.cfo li::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #c60b1e 0 33%, #ffc400 33% 66%, #c60b1e 66%); margin-bottom: 4px; }

/* ---------- Simulacros ---------- */
.cfs { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--soft); }
.cfs-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.cfs-row b { font-size: 15px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.cfs-row.is-ko b { color: var(--weak); }
.cfs-row.is-net { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line-2); color: var(--ink); font-weight: 700; }
.cfs-row.is-net b { font-size: 19px; color: var(--dom); }

/* ---------- Podcast ---------- */
.cfa { display: flex; align-items: center; gap: 3px; height: 64px; padding: 0 14px; border-radius: 12px; background: var(--soft); }
.cfa i { flex: 1; height: calc(var(--h) * 1%); min-height: 4px; border-radius: 3px; background: var(--blue); opacity: 0.35; transform-origin: center; }
.cfa i.is-played { opacity: 1; }
.cf-podcast.is-live .cfa i { animation: cf-wave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -90ms); }
@keyframes cf-wave { from { transform: scaleY(0.45); } to { transform: scaleY(1); } }

/* ---------- Esquemas ---------- */
.cfe { width: 100%; height: auto; max-height: 110px; }
.cfe-box { fill: #fff; stroke: var(--blue); stroke-width: 1.5; }
.cfe-root { fill: var(--blue); }
.cfe text { font: 700 10.5px Inter, system-ui, sans-serif; fill: var(--ink); text-anchor: middle; }
.cfe .cfe-root + text { fill: #fff; }
.cfe-link { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.cfe-leaf { fill: var(--blue-3); }
.js .cfe .cfe-link { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.2s ease 0.2s; }
.js .cfe .cfe-box, .js .cfe text, .js .cfe .cfe-leaf { opacity: 0; transition: opacity 0.4s ease; }
.js .cfe.is-in .cfe-link { stroke-dashoffset: 0; }
.js .cfe.is-in .cfe-box, .js .cfe.is-in text, .js .cfe.is-in .cfe-leaf { opacity: 1; }
.js .cfe.is-in rect:nth-of-type(n + 2), .js .cfe.is-in text:nth-of-type(n + 2) { transition-delay: 0.6s; }
.js .cfe.is-in .cfe-leaf { transition-delay: 1.1s; }

/* ---------- Funcionalidades ---------- */
.cf-feats-wrap { margin-top: 56px; }
.cf-feats-title { margin-bottom: 20px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 830; letter-spacing: -0.025em; text-align: center; color: var(--ink); }
.cf-feats-title span { color: var(--blue); }
.cf-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cf-feats li { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cf-feats li:nth-child(2) { transition-delay: 0.06s; } .cf-feats li:nth-child(3) { transition-delay: 0.12s; } .cf-feats li:nth-child(4) { transition-delay: 0.18s; }
.cf-feats li:nth-child(6) { transition-delay: 0.06s; } .cf-feats li:nth-child(7) { transition-delay: 0.12s; } .cf-feats li:nth-child(8) { transition-delay: 0.18s; }
.cf-fic { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-3); color: var(--blue); }
.cf-fic .i { width: 19px; height: 19px; }
.cf-feats b { font-size: 15px; font-weight: 780; color: var(--ink); line-height: 1.3; }
.cf-feats small { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

.cf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 30px; }
.cf-asof { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }

/* ---------- Tooltip ---------- */
.cf-tip {
  position: fixed; z-index: 60; max-width: 280px; padding: 9px 12px; border-radius: 10px; background: var(--ink); color: #fff;
  font-size: 13px; line-height: 1.4; pointer-events: none; box-shadow: 0 12px 30px rgba(10, 33, 79, 0.25); transform: translate(-50%, calc(-100% - 12px));
}
.cf-tip b { font-weight: 780; }
.cf-tip small { display: block; color: #b9c8e6; }

/* ---------- Tamaños ---------- */
@media (max-width: 1180px) {
  .cf-total { grid-template-columns: 1fr; gap: 20px; }
  .cf-temario { grid-template-columns: 1fr; }
  .cfvid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .cf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "tests tests" "vf flash" "psico games" "temario temario" "videos videos" "oficial simu" "podcast schemas";
  }
  .cfvid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .cf-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cfvid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cf-total { padding: 22px 18px; }
  .cf-hero { font-size: clamp(52px, 16vw, 68px); }
  .cf-legend { grid-template-columns: 1fr; gap: 0; }
  .cf-legend li { grid-template-columns: auto 1fr auto 3.6em; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
  .cf-legend li:first-child { border-top: 0; }
  .cf-legend span { font-size: 14px; }
  .cf-legend b { grid-column: auto; font-size: 16px; }
  .cf-legend small { grid-column: auto; text-align: right; }
  .cf-chips li { border-radius: 12px; }
  .cft-block > small { white-space: normal; }
  .cft-detail p { white-space: normal; }
  .cf-grid { grid-template-columns: 1fr; grid-template-areas: "tests" "vf" "flash" "psico" "games" "temario" "videos" "oficial" "simu" "podcast" "schemas"; gap: 14px; }
  .cf-tile { padding: 18px 16px 16px; }
  .cfq { padding: 10px; }
  .cfq-card { padding: 14px 14px 12px; }
  .cfq-q { font-size: 15.5px; }
  .cfg { margin-inline: -16px; }
  .cft-blocks { flex-wrap: wrap; }
  .cft-cells { grid-template-columns: repeat(var(--cols-m, var(--cols)), 26px); }
  .cft-detail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cf-feats { grid-template-columns: 1fr; }
  .cf-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .cf-asof { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .cfvc-col i { transform: none; transition: none; }
  .cfg-row, .cf-podcast.is-live .cfa i { animation: none; }
  .cft-cell, .cfo li, .cfq-opts li, .cfp-seq li { transition: none; }
}
