/* predictoface.css: generado desde las páginas de landing (fase 2). Ver DESIGN.md. */
/* ---------- PredictoFace: páginas del servicio ---------- */
.pf-hero h1.display { max-width: 20ch; }
.pf-soft { background: var(--bg-subtle); }
.pf-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.25rem; }
.pf-card-light { background: var(--bg-elevated); border: 1px solid var(--rule); border-radius: 4px; padding: 2rem; }
.pf-card-light p { color: var(--graphite); line-height: 1.7; }
.pf-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--cyan-ink) !important;
  margin-bottom: 0.8rem;
  text-wrap: balance;
}
.pf-sub { margin: 0 0 0.6rem; font-family: var(--font-body); font-size: 0.8125rem; color: #4B5563 !important; font-weight: 600; }
.pf-card-light .pf-tecnicas + .pf-sub, .pf-card-light p + .pf-sub { margin-top: 1.1rem; }
.pf-tecnicas { margin: 0 0 0 1.1rem; display: grid; gap: 0.35rem; color: var(--graphite); }
.pf-dl { display: grid; gap: 1.1rem; margin-top: 2rem; max-width: 80ch; }
.pf-dl div { display: grid; grid-template-columns: 14rem 1fr; gap: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--rule-strong); }
.pf-dl dt { font-family: var(--font-body); font-size: 0.8125rem; color: var(--cyan-ink); padding-top: 0.2rem; font-weight: 600; }
.pf-dl dd { color: var(--graphite); font-size: 0.97rem; line-height: 1.65; }
#t-ley { max-width: 30ch; text-wrap: balance; }
.pf-h3 { margin-top: 3rem; font-size: 1.4rem !important; max-width: 40ch; }
.pf-tesis { margin-top: 1.25rem; }
.pf-nos { margin-top: 1.25rem; max-width: 80ch; color: var(--ink); font-weight: 600; line-height: 1.7; }
.pf-puntos {
  list-style: none;
  counter-reset: punto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 1.25rem;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
}
.pf-puntos li { counter-increment: punto; background: var(--bg-elevated); padding: 1.6rem 1.75rem; }
.pf-puntos li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pf-puntos li::before {
  content: counter(punto, decimal-leading-zero);
  display: block;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--cyan-ink);
  margin-bottom: 0.6rem;
}
.pf-puntos h4 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--ink); }
.pf-puntos p { color: var(--graphite); font-size: 0.95rem; line-height: 1.65; }
.pf-nacional { margin-top: 3rem; padding: 2rem; background: var(--bg-brand-soft); border-radius: 4px; max-width: 86ch; }
.pf-nacional h3.display { font-size: 1.4rem; }
.pf-nacional p { color: var(--graphite); line-height: 1.7; }
.pf-nacional ul { margin: 0.75rem 0 1rem 1.1rem; display: grid; gap: 0.5rem; color: var(--graphite); line-height: 1.65; }
.pf-videos { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
sup a { font-size: 0.68em; text-decoration: none; color: var(--cyan-ink); margin-left: 0.08em; }
sup a:hover { text-decoration: underline; }
.pf-fuentes { padding: 3.5rem 0 4rem; }
.pf-fuentes h2 { font-size: 1.4rem; }
.pf-fuentes ol { margin: 1.25rem 0 0 1.2rem; display: grid; gap: 0.5rem; font-size: 0.875rem; color: #4B5563; line-height: 1.6; max-width: 90ch; }
.pf-fuentes a { color: var(--ink); text-underline-offset: 2px; }
.pf-fuentes li:target { background: var(--bg-brand-soft); }
.pf-nota { margin-top: 1.25rem; font-size: 0.875rem; color: #4B5563; max-width: 90ch; }
::selection { background: var(--sky); color: var(--ink); }
@media (max-width: 860px) {
  .pf-dos, .pf-puntos { grid-template-columns: 1fr; }
  .pf-dl div { grid-template-columns: 1fr; gap: 0.35rem; }
  .pf-card-light, .pf-nacional { padding: 1.4rem; }
}
/* ---------- Gancho «encargado nacional» (2026-11-16) ---------- */
.pf-gancho { margin-top: 1.75rem; max-width: 640px; }
.pf-gancho a {
  display: block;
  padding: 1.15rem 1.35rem;
  background: var(--bg-brand-soft);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.pf-gancho-t { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.pf-gancho-go { display: block; margin-top: 0.55rem; font-size: 0.88rem; font-weight: 600; color: var(--cyan-ink); }
.pf-gancho a:hover, .pf-gancho a:focus-visible { background: var(--ink); color: var(--paper); }
.pf-gancho a:hover .pf-gancho-go, .pf-gancho a:focus-visible .pf-gancho-go { color: var(--sky); }
#encargado-nacional { scroll-margin-top: calc(var(--nav-h, 73px) + 3.5rem); }
.pf-nacional .pf-lema, .pf-lema { margin-bottom: 0.6rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--cyan-ink) !important; text-wrap: balance; }
.pf-nacional .pf-sub { margin-top: 1.4rem; }
.pf-nacional .pf-sub + ul { margin-top: 0; }
/* ---------- Comparación «proveedor internacional vs colombiano» (2026-11-16) ---------- */
.pf-cmp-intro { max-width: 72ch; }
.pf-cmp-intro .lead { max-width: none; color: var(--ink); }
.pf-cmp-intro p + p { margin-top: 1rem; color: var(--graphite); line-height: 1.7; }
.pf-cmp { width: 100%; max-width: 980px; margin-top: 2.5rem; border-collapse: separate; border-spacing: 0; background: var(--bg-elevated); border: 1px solid var(--rule-strong); border-radius: 4px; overflow: hidden; }
.pf-cmp-cap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pf-cmp th, .pf-cmp td { padding: 1.15rem 1.5rem; text-align: start; vertical-align: top; line-height: 1.55; }
.pf-cmp thead th { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding-top: 1.3rem; padding-bottom: 1.3rem; }
.pf-cmp thead .pf-cmp-int { color: #4B5563; }
.pf-cmp thead .pf-cmp-col { background: var(--ink); color: var(--paper); }
.pf-cmp tbody tr + tr th, .pf-cmp tbody tr + tr td { border-top: 1px solid var(--rule); }
.pf-cmp tbody tr:first-child th, .pf-cmp tbody tr:first-child td { border-top: 1px solid var(--rule-strong); }
.pf-cmp tbody th { width: 24%; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.pf-cmp tbody .pf-cmp-int { width: 34%; color: #4B5563; }
.pf-cmp tbody .pf-cmp-col { background: var(--bg-brand-soft); color: var(--ink); font-weight: 600; }
.pf-cmp-ref { display: block; margin-top: 0.3rem; font-size: 0.8125rem; font-weight: 400; color: var(--cyan-ink); }
.pf-cmp-remate { margin-top: 2rem; max-width: 980px; font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--cyan-ink); text-wrap: balance; }
.pf-cmp-mas { margin-top: 2.25rem; max-width: 80ch; }
.pf-cmp-mas p { color: var(--graphite); line-height: 1.7; }
.pf-cmp-mas p + p { margin-top: 0.9rem; }
.pf-cmp-mas .pf-sub { margin-top: 1.6rem; margin-bottom: -0.4rem; }
.pf-cmp-mas a { color: var(--ink); text-underline-offset: 2px; }
@media (max-width: 720px) {
  .pf-cmp, .pf-cmp tbody, .pf-cmp tr, .pf-cmp th, .pf-cmp td { display: block; width: 100%; }
  .pf-cmp { border: 0; background: transparent; border-radius: 0; overflow: visible; }
  .pf-cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pf-cmp tbody { display: grid; gap: 0.9rem; }
  .pf-cmp tbody tr { background: var(--bg-elevated); border: 1px solid var(--rule-strong); border-radius: 4px; overflow: hidden; }
  .pf-cmp tbody tr + tr th, .pf-cmp tbody tr + tr td, .pf-cmp tbody tr:first-child th, .pf-cmp tbody tr:first-child td { border-top: 0; }
  .pf-cmp tbody th { width: 100%; padding: 1rem 1.15rem 0.6rem; font-size: 1.05rem; }
  .pf-cmp tbody td, .pf-cmp tbody .pf-cmp-int, .pf-cmp tbody .pf-cmp-col { width: 100%; padding: 0.75rem 1.15rem 0.9rem; }
  .pf-cmp tbody td + td { border-top: 1px solid var(--rule); }
  .pf-cmp tbody td::before { content: attr(data-col); display: block; margin-bottom: 0.25rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #4B5563; }
  .pf-cmp tbody .pf-cmp-col::before { color: var(--cyan-ink); }
}
