/* ═══════════════════════════════════════════════════════════════════════════
   HCT — Portal administrativo · Hoja de estilos
   Marca Hayim School (regla 60-30-10):
     60% Blanco / Crema  (#FFFFFF · #f0f4fa)
     30% Azul institucional (#012f65)
     10% Rojo acento     (#c72629)
   Fuentes: Playfair Display (títulos) · Inter (cuerpo)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --navy:        #012f65;
  --navy-light:  #013a7a;
  --navy-dark:   #011e42;
  --red:         #c72629;
  --red-light:   #d94446;
  --red-pale:    #fdeaea;
  --cream:       #f0f4fa;
  --white:       #ffffff;
  --text:        #0d1b2e;
  --text-mid:    #3d5170;
  --text-light:  #7a8fa8;
  --border:      #cdd8e8;
  --border-soft: #e2e9f3;
  --ok:          #166534;
  --ok-bg:       #f0fdf4;
  --warn:        #92400e;
  --warn-bg:     #fffbeb;

  --shadow-sm: 0 1px 3px rgba(1,47,101,.08);
  --shadow-md: 0 6px 20px rgba(1,47,101,.10);
  --shadow-lg: 0 16px 44px rgba(1,47,101,.16);
  --radius:    8px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --transition: 200ms ease;
  --max-w: 1160px;
}

/* ─── Reset / base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--navy); }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-light); }

/* ─── Barra superior (header + navegación) ───────────────────────────────── */
/* Header y subnav van juntos en un solo contenedor sticky. Antes el subnav
   tenía su propio `top` en píxeles, que había que mantener igual a la altura
   del header: si el header crecía (fuente distinta, nombre largo, otro rol) el
   subnav se metía por debajo al hacer scroll. Con el contenedor no hay número
   mágico que mantener. */
.hct-topbar { position: sticky; top: 0; z-index: 100; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.hct-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 40px);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.hct-header__brand { display: flex; align-items: center; gap: 12px; }
.hct-header__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--white); border-radius: 10px; padding: 6px;
  box-shadow: var(--shadow-sm);
}
.hct-header__mark img { width: 100%; height: 100%; object-fit: contain; }
.hct-header__name { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 800; color: var(--white); }
.hct-header__name small { display: block; font-family: 'Inter', sans-serif; font-weight: 400; font-size: .68rem; letter-spacing: .04em; opacity: .72; text-transform: uppercase; }
.hct-header__nav { display: flex; align-items: center; gap: 18px; font-size: .9rem; }
.hct-header__user { opacity: .85; }
.hct-header__nav a { color: var(--white); opacity: .85; transition: opacity var(--transition); }
.hct-header__nav a:hover { opacity: 1; color: var(--white); text-decoration: underline; }

/* ─── Navegación de secciones ────────────────────────────────────────────── */
/* Barra secundaria bajo el header. Es sticky junto con él para que cambiar de
   sección no obligue a subir hasta arriba en listados largos. En móvil se
   desplaza horizontalmente en vez de romper a varias líneas. */
.hct-subnav {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.hct-subnav__list {
  display: flex; align-items: stretch; gap: 4px;
  list-style: none;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(8px, 4vw, 40px);
  overflow-x: auto;
  scrollbar-width: thin;
}
.hct-subnav__link {
  display: flex; align-items: center;
  padding: 13px 16px;
  font-size: .88rem; font-weight: 600; white-space: nowrap;
  color: var(--text-mid);
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.hct-subnav__link:hover { color: var(--navy); background: var(--cream); }
.hct-subnav__link.is-active { color: var(--navy); border-bottom-color: var(--red); }

@media (max-width: 640px) {
  /* En pantallas chicas el header se apila y la barra completa comería
     demasiado alto útil, así que deja de ser fija. */
  .hct-topbar { position: static; }
}

/* ─── Layout principal ───────────────────────────────────────────────────── */
.hct-main { max-width: var(--max-w); margin: 0 auto; padding: clamp(20px, 4vw, 40px); }

/* ─── Dashboard ──────────────────────────────────────────────────────────── */
.hct-dashboard h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.hct-dashboard__subtitle { color: var(--text-mid); margin: 4px 0 24px; }
.hct-cards {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-top: 8px;
}
.hct-card {
  display: block; position: relative;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.hct-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--navy); opacity: 0; transition: opacity var(--transition);
}
a.hct-card { cursor: pointer; }
a.hct-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border); }
a.hct-card:hover::before { opacity: 1; }
.hct-card h2 { font-size: 1.15rem; margin-bottom: 4px; }
.hct-card p { font-size: .82rem; color: var(--text-light); }
a.hct-card p { color: var(--navy); font-weight: 600; }
.hct-card__icon {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 11px; background: var(--cream); color: var(--navy);
  margin-bottom: 14px; transition: background var(--transition), color var(--transition);
}
.hct-card__icon svg { width: 22px; height: 22px; }
a.hct-card:hover .hct-card__icon { background: var(--navy); color: var(--white); }

/* Tarjeta de una sección que aún no existe: se ve claramente inerte para que
   nadie la intente clicar, pero sigue legible (no un gris ilegible). */
.hct-card--pendiente { background: transparent; border-style: dashed; box-shadow: none; }
.hct-card--pendiente h2 { color: var(--text-mid); }
.hct-card--pendiente .hct-card__icon { background: transparent; color: var(--text-light); box-shadow: inset 0 0 0 1px var(--border-soft); }

/* Encabezado que agrupa un bloque de tarjetas. */
.hct-section-title {
  font-family: 'Inter', sans-serif;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-light);
  margin: 30px 0 12px;
}
.hct-section-title:first-of-type { margin-top: 18px; }

/* ─── Panel (páginas de gestión) ─────────────────────────────────────────── */
.hct-panel {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(18px, 3vw, 28px);
}
.hct-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.hct-panel__head h1 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); }
.hct-panel__hint { font-size: .85rem; color: var(--text-mid); margin: 2px 0 18px; }

/* ─── Filtros ────────────────────────────────────────────────────────────── */
.hct-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
.hct-filters input, .hct-filters select { max-width: 260px; }

/* ─── Tablas ─────────────────────────────────────────────────────────────── */
.hct-table-wrap { overflow-x: auto; border: 1px solid var(--border-soft); border-radius: var(--radius); }
.hct-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--white); }
.hct-table th {
  text-align: left; padding: 12px 14px;
  background: var(--navy); color: var(--white);
  font-weight: 600; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase;
  white-space: nowrap;
}
.hct-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-soft); color: var(--text); }
.hct-table tbody tr { transition: background var(--transition); }
.hct-table tbody tr:hover { background: var(--cream); }
.hct-table tbody tr:last-child td { border-bottom: none; }
.hct-table__empty { text-align: center; color: var(--text-light); padding: 28px; }
.hct-table__count { font-size: .8rem; color: var(--text-light); margin-top: 12px; }
.hct-table__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hct-table__actions form { display: inline; }

/* ─── Botones ────────────────────────────────────────────────────────────── */
.hct-btn, button, input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: .9rem; font-weight: 600;
  padding: 10px 18px; min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy);
  cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.hct-btn:hover, button:hover { background: var(--cream); border-color: var(--navy); }
.hct-btn--primary, button[type="submit"] {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.hct-btn--primary:hover, button[type="submit"]:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--white); box-shadow: var(--shadow-md); }
.hct-btn--danger { background: var(--red); color: var(--white); border-color: var(--red); }
.hct-btn--danger:hover { background: var(--red-light); border-color: var(--red-light); color: var(--white); }
.hct-link-btn { background: none; border: none; color: var(--navy); text-decoration: underline; padding: 4px 6px; min-height: auto; }
.hct-link-btn:hover { color: var(--red); background: none; }
button:disabled, .hct-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.hct-badge {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  background: var(--cream); color: var(--text-mid); border: 1px solid var(--border-soft);
}
.hct-badge--publicado, .hct-badge--activo, .hct-badge--completado, .hct-badge--disponible,
.hct-badge--abierta { background: var(--ok-bg); color: var(--ok); border-color: #bbf7d0; }
.hct-badge--borrador, .hct-badge--pendiente, .hct-badge--en_progreso,
.hct-badge--programada { background: var(--warn-bg); color: var(--warn); border-color: #fde68a; }
.hct-badge--archivado, .hct-badge--inactivo, .hct-badge--cancelado, .hct-badge--abandonado,
.hct-badge--cerrada { background: var(--red-pale); color: var(--red); border-color: #f7c6c6; }
/* sin_ventana usa el estilo neutro por defecto de .hct-badge */

/* ─── Formularios ────────────────────────────────────────────────────────── */
label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font-family: inherit; font-size: .92rem; color: var(--text);
  padding: 10px 12px; min-height: 42px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(1,47,101,.14);
}
.hct-form { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.hct-form--grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: none; }
.hct-form--inline { flex-direction: row; align-items: flex-end; flex-wrap: wrap; max-width: none; }
.hct-option-row { display: flex; gap: 10px; align-items: center; }
.hct-option-row input { width: auto; min-height: auto; }
.hct-section-list { display: grid; gap: 10px; margin: 8px 0; }
.hct-detail-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--text-mid); font-size: .88rem; margin: 6px 0 20px; }
.hct-temp-password {
  font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--navy-dark); color: #e8f0fc; padding: 4px 10px; border-radius: var(--radius-sm);
  letter-spacing: .06em; font-weight: 600; display: inline-block;
}

/* ─── Alertas ────────────────────────────────────────────────────────────── */
.hct-alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; border: 1px solid; margin-bottom: 14px; }
.hct-alert--info    { background: #eef4ff; color: var(--navy); border-color: #cdddf7; }
.hct-alert--success { background: var(--ok-bg); color: var(--ok); border-color: #bbf7d0; }
.hct-alert--error   { background: var(--red-pale); color: var(--red); border-color: #f7c6c6; }

/* ─── Login ──────────────────────────────────────────────────────────────── */
.hct-login {
  max-width: 400px; margin: clamp(24px, 8vh, 80px) auto;
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 40px);
}
.hct-login h1 { font-size: 1.7rem; margin-bottom: 4px; }
.hct-login__subtitle { color: var(--text-mid); font-size: .9rem; margin-bottom: 22px; }
.hct-login .hct-form { max-width: none; }

/* ─── Hero (landing pública) ─────────────────────────────────────────────── */
.hct-hero { text-align: center; padding: clamp(40px, 10vh, 96px) 20px; max-width: 720px; margin: 0 auto; }
.hct-hero h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 14px; }
.hct-hero p { color: var(--text-mid); font-size: 1.05rem; margin-bottom: 28px; }
.hct-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Acciones de rescate del panel en vivo: dos formularios lado a lado dentro
   de la celda, compactos para no ensanchar la tabla. */
.hct-table__actions form { display: flex; gap: 6px; align-items: center; }
.hct-table__actions .hct-btn { padding: 6px 12px; min-height: 34px; font-size: .82rem; }
.hct-select--mini { width: auto; min-height: 34px; padding: 4px 8px; font-size: .82rem; }

/* ─── Reportes (admin/reportes.php) ──────────────────────────────────────── */

/* Pestañas de tipo de reporte. */
.hct-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border-soft); margin: 18px 0 22px; }
.hct-tab {
  padding: 10px 16px; font-size: .88rem; font-weight: 600;
  color: var(--text-mid); border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.hct-tab:hover { color: var(--navy); background: var(--cream); }
.hct-tab.is-active { color: var(--navy); border-bottom-color: var(--red); }

/* Tarjetas de cifra grande. */
.hct-kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 6px; }
.hct-kpi {
  background: var(--cream); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 16px 18px;
}
.hct-kpi__valor {
  display: block; font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1;
}
.hct-kpi__etiqueta { display: block; font-size: .78rem; color: var(--text-mid); margin-top: 2px; }

/* Distribución de niveles. Barras en CSS puro: no vale la pena una librería
   de gráficas (y la CSP `script-src 'self'` impide traerla de un CDN). */
.hct-barras { display: grid; gap: 8px; }
.hct-barra { display: grid; grid-template-columns: 34px 1fr 84px; align-items: center; gap: 12px; }
.hct-barra__nivel { font-weight: 700; font-size: .85rem; color: var(--navy); }
.hct-barra__pista { background: var(--cream); border-radius: var(--radius-pill); height: 22px; overflow: hidden; }
.hct-barra__relleno {
  height: 100%; background: var(--navy); border-radius: var(--radius-pill);
  min-width: 2px; transition: width var(--transition);
}
.hct-barra__valor { font-size: .85rem; font-weight: 600; color: var(--text); text-align: right; }
.hct-barra__valor small { color: var(--text-light); font-weight: 400; margin-left: 4px; }

/* Diagnóstico de calidad de pregunta. Se apoya en .hct-badge. */
.hct-badge--muy_facil   { background: var(--warn-bg); color: var(--warn); border-color: #fde68a; }
.hct-badge--muy_dificil { background: var(--red-pale); color: var(--red); border-color: #f7c6c6; }
.hct-badge--correcta    { background: var(--ok-bg); color: var(--ok); border-color: #bbf7d0; }

@media (max-width: 640px) {
  .hct-barra { grid-template-columns: 28px 1fr 70px; gap: 8px; }
}

/* ─── Auditoría (admin/auditoria.php) ────────────────────────────────────── */
.hct-audit__id { color: var(--text-light); font-size: .8rem; }
/* Los valores antes/después pueden ser largos; se recortan para que la fila no
   se desborde, y el valor completo queda en el title del navegador. */
.hct-audit__valor {
  max-width: 220px; font-size: .84rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hct-badge--create { background: var(--ok-bg); color: var(--ok); border-color: #bbf7d0; }
.hct-badge--update { background: var(--warn-bg); color: var(--warn); border-color: #fde68a; }
.hct-badge--delete { background: var(--red-pale); color: var(--red); border-color: #f7c6c6; }
code {
  font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .85em; background: var(--cream); padding: 1px 6px;
  border-radius: 4px; color: var(--navy);
}

/* ─── Guía del alumno (student/index.php) ────────────────────────────────── */
.hct-guia { max-width: 700px; margin: 0 auto; }
.hct-guia h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.hct-guia__intro { color: var(--text-mid); margin: 8px 0 28px; }

.hct-pasos { list-style: none; counter-reset: hct-paso; margin-bottom: 26px; }
.hct-paso {
  counter-increment: hct-paso;
  position: relative;
  padding: 0 0 26px 56px;
}
/* Línea que conecta los pasos; el último no la lleva. */
.hct-paso::after {
  content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px;
  width: 2px; background: var(--border-soft);
}
.hct-paso:last-child { padding-bottom: 0; }
.hct-paso:last-child::after { display: none; }
.hct-paso::before {
  content: counter(hct-paso);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: .95rem; font-weight: 700;
}
.hct-paso h2 { font-size: 1.1rem; margin: 5px 0 6px; }
.hct-paso p { color: var(--text-mid); font-size: .93rem; margin-bottom: 10px; }
.hct-paso p:last-child { margin-bottom: 0; }

/* ─── Panel de desempeño en vivo ─────────────────────────────────────────── */
.hct-live-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--text-mid);
  padding: 6px 14px; background: var(--cream);
  border: 1px solid var(--border-soft); border-radius: var(--radius-pill); white-space: nowrap;
}
.hct-live-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 0 rgba(22,101,52,.5);
  animation: hct-pulse 1.8s infinite;
}
@keyframes hct-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,101,52,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(22,101,52,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,101,52,0); }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.hct-footer { text-align: center; color: var(--text-light); font-size: .82rem; padding: 28px 20px; margin-top: 20px; }

/* ─── Accesibilidad ──────────────────────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .hct-card:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px; border-radius: var(--radius-sm);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hct-header { flex-direction: column; align-items: flex-start; }
  .hct-header__nav { width: 100%; justify-content: space-between; }
  .hct-filters input, .hct-filters select { max-width: none; width: 100%; }
  .hct-form--inline { flex-direction: column; align-items: stretch; }
}

/* ── Validación pública de certificados (public/validar.php) ── */
.hct-validar { max-width: 660px; margin: 0 auto; }
.hct-validar > h1 { font-size: clamp(1.5rem, 4vw, 2rem); }

.hct-cert {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-top: 5px solid var(--ok);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: clamp(22px, 4vw, 34px);
    text-align: center;
    margin-top: 16px;
}
.hct-cert--invalido { border-top-color: var(--red); }

.hct-cert__estado {
    display: inline-block;
    font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 14px; border-radius: var(--radius-pill);
    background: var(--ok-bg); color: var(--ok); border: 1px solid #bbf7d0;
}
.hct-cert__estado--malo { background: var(--red-pale); color: var(--red); border-color: #f7c6c6; }

.hct-cert__nivel {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3rem, 12vw, 4.5rem); font-weight: 800;
    color: var(--navy); line-height: 1.05; margin: 14px 0 2px;
}
.hct-cert__nombre { font-size: 1.15rem; color: var(--text); margin-bottom: 18px; }
.hct-cert--invalido .hct-cert__nombre { color: var(--text-mid); font-size: 1rem; margin-top: 16px; }

.hct-cert__datos {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
    border-top: 1px solid var(--border-soft); padding-top: 16px; margin-top: 4px;
}
.hct-cert__datos dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-light); }
.hct-cert__datos dd { font-size: .95rem; font-weight: 600; color: var(--text); }

.hct-cert__subtitulo {
    font-size: 1rem; margin: 24px 0 8px; text-align: left;
    padding-top: 18px; border-top: 1px solid var(--border-soft);
}
.hct-cert .hct-table-wrap { text-align: left; }
