/* Novedades (novedades.html, 18/10/2026): las dos pestañas (aplicación de
   oficina y app de conductores) y la lista de versiones de cada una. */

.nv-hero {
  padding: 64px 0 34px;
  background: radial-gradient(700px 320px at 85% 0%, rgba(47, 111, 237, .12), transparent 60%), var(--bg);
}
.nv-hero h1 { font-size: 42px; letter-spacing: -1px; margin: 14px 0 10px; }
.nv-hero .lead { font-size: 18px; color: var(--muted); max-width: 640px; margin-bottom: 28px; }

.nv-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 720px; }
.nv-tab {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--card); border: 2px solid var(--border); color: var(--navy); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.nv-tab svg { width: 30px; height: 30px; flex: none; color: var(--accent); }
.nv-tab strong { display: block; font-size: 16px; }
.nv-tab small { display: block; color: var(--muted); font-size: 13px; }
.nv-tab:hover { border-color: #c9d6f2; }
.nv-tab.activa { border-color: var(--accent); box-shadow: 0 6px 18px rgba(47, 111, 237, .14); }

.nv-cuerpo { padding: 28px 0 80px; }
.nv-panel { max-width: 860px; }
.nv-panel-cab { border-left: 4px solid var(--accent); padding: 2px 0 2px 16px; margin-bottom: 22px; }
.nv-panel-cab h2 { margin-bottom: 4px; }
.nv-panel-cab p { margin: 0; }

.nv-version {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; scroll-margin-top: 90px;
}
.nv-version + .nv-version { margin-top: 16px; }
.nv-version-cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.nv-version-cab h3 { margin: 0; font-size: 20px; }
.nv-fecha { color: var(--muted); font-size: 14px; }
.nv-ancla { color: inherit; text-decoration: none; }
.nv-ancla:hover { color: var(--accent-dark); text-decoration: underline; }
.nv-copiar {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.nv-copiar svg { width: 15px; height: 15px; }
.nv-copiar:hover { color: var(--accent-dark); border-color: #c9d6f2; }
.nv-copiar.nv-copiado { color: #13703f; border-color: #a9dcbf; background: #e9f7ef; }
/* La versión del enlace (#oficina-1.0.1): resaltada al llegar. */
.nv-version.nv-destacada { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 10px 24px rgba(47, 111, 237, .12); }
.nv-ultima { font-size: 12px; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; }
/* Imágenes de la versión (hasta 3), en su cabecera. */
.nv-imgs { display: grid; gap: 12px; margin: 14px 0 4px; }
.nv-imgs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-imgs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-imgs figure { margin: 0; }
.nv-imgs img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); background: #eef1f6; cursor: zoom-in; display: block; }
.nv-imgs-2 img, .nv-imgs-3 img { aspect-ratio: 16 / 10; }
.nv-imgs figcaption { margin-top: 5px; font-size: 13px; color: var(--muted); }
.nv-ampliada { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.nv-ampliada::backdrop { background: rgba(16, 35, 63, .85); }
.nv-ampliada img { max-width: 96vw; max-height: 86vh; display: block; border-radius: 10px; }
.nv-ampliada p { margin: 10px 0 0; color: #fff; text-align: center; }
.nv-resumen { margin: 10px 0 0; font-size: 16px; }
.nv-bloque { margin-top: 14px; }
.nv-bloque h4 { margin: 0 0 6px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nv-bloque ul { margin: 0; padding-left: 22px; }
.nv-bloque li { margin: 5px 0; line-height: 1.55; }
.nv-nuevo h4 { color: #13703f; }
.nv-corregido h4 { color: #8a5a00; }
.nv-cargando, .nv-vacio { color: var(--muted); }

@media (max-width: 640px) {
  .nv-imgs-2, .nv-imgs-3 { grid-template-columns: 1fr; }
  .nv-hero { padding: 40px 0 24px; }
  .nv-hero h1 { font-size: 32px; }
  .nv-tabs { grid-template-columns: 1fr; }
  .nv-version { padding: 16px; }
}
