/* ============================================================
   EM SOLUTIONS — Portal Hub
   Mismo lenguaje visual que sistema-prestamos (Clean Banking)
   ============================================================ */

:root {
  --primary:        #1d4ed8;
  --primary-hover:  #1e40af;
  --primary-light:  #eff6ff;
  --ink:            #0f172a;
  --sidebar-bg:     #1e293b;
  --success:        #16a34a;
  --success-light:  #f0fdf4;
  --warning:        #b45309;
  --warning-light:  #fffbeb;
  --danger:         #dc2626;
  --danger-light:   #fef2f2;
  --bg-body:        #f6f7f9;
  --card-bg:        #ffffff;
  --text-main:      #0f172a;
  --text-muted:     #64748b;
  --text-soft:      #94a3b8;
  --border:         #e5e7eb;
  --shadow-sm:      0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow:         0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-hover:   0 4px 8px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(15, 23, 42, 0.08);
  --radius:         10px;
  --radius-lg:      14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- Marca ---------- */
.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.2px;
  color: var(--text-main);
}
.marca-icono {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ---------- Barra superior ---------- */
.topnav {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topnav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topnav-acciones { display: flex; align-items: center; gap: 6px; }

.nav-boton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.nav-boton:hover { background: var(--bg-body); color: var(--text-main); }
.nav-boton.activo { color: var(--primary); background: var(--primary-light); }
.nav-boton.salir:hover { color: var(--danger); background: var(--danger-light); }

.usuario-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  margin-left: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.usuario-nombre { font-weight: 600; font-size: 0.85rem; line-height: 1.2; }
.usuario-rol { font-size: 0.72rem; color: var(--text-muted); text-transform: capitalize; line-height: 1.2; }

/* ---------- Contenido ---------- */
.contenido {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.encabezado { margin-bottom: 24px; }
.encabezado h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.4px; }
.encabezado p { color: var(--text-muted); margin-top: 4px; }

.seccion-titulo {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ---------- Tarjetas de módulos ---------- */
.modulos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.modulo {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.modulo:hover { box-shadow: var(--shadow-hover); border-color: #cbd5e1; transform: translateY(-2px); }
.modulo-cabecera { display: flex; align-items: flex-start; justify-content: space-between; }
.modulo-icono {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}
.modulo h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.2px; }
.modulo p { color: var(--text-muted); font-size: 0.85rem; margin-top: 2px; }
.modulo-pie {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--primary);
}
.modulo-pie i { transition: transform 0.2s; }
.modulo:hover .modulo-pie i { transform: translateX(3px); }

.modulo.deshabilitado { cursor: default; background: #fafbfc; box-shadow: none; }
.modulo.deshabilitado:hover { transform: none; box-shadow: none; border-color: var(--border); }
.modulo.deshabilitado .modulo-icono { filter: grayscale(1); opacity: 0.55; }
.modulo.deshabilitado h3, .modulo.deshabilitado p { color: var(--text-soft); }
.modulo.deshabilitado .modulo-pie { color: var(--text-soft); }

/* ---------- Pastillas / badges ---------- */
.pastilla {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.pastilla::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pastilla-activo   { background: var(--success-light); color: var(--success); }
.pastilla-pronto   { background: #f1f5f9; color: var(--text-muted); }
.pastilla-admin    { background: var(--primary-light); color: var(--primary); }
.pastilla-operador { background: var(--success-light); color: var(--success); }
.pastilla-auditoria { background: var(--warning-light); color: var(--warning); }

.chip-modulo {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: #f1f5f9;
  border-radius: 6px;
  padding: 2px 8px;
}

/* ---------- Tarjetas genéricas ---------- */
.tarjeta {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.tarjeta-cabecera {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tarjeta-cabecera h2 { font-size: 1rem; font-weight: 700; }
.tarjeta-cabecera span { color: var(--text-muted); font-size: 0.8rem; }
.tarjeta-cuerpo { padding: 20px; }

/* ---------- Formularios ---------- */
.campo { margin-bottom: 16px; }
.campo label, .etiqueta {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-main);
  margin-bottom: 6px;
}
.input, .select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text-main);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12); }

.input-con-icono { position: relative; }
.input-con-icono i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-soft); font-size: 0.85rem; }
.input-con-icono .input { padding-left: 38px; }

.casillas { display: flex; flex-wrap: wrap; gap: 8px; }
.casilla {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, background 0.15s;
}
.casilla:hover { border-color: #cbd5e1; }
.casilla:has(input:checked) { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.casilla input { accent-color: var(--primary); }

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.boton-primario { background: var(--primary); color: #fff; }
.boton-primario:hover { background: var(--primary-hover); }
.boton-secundario { background: #fff; color: var(--text-main); border-color: var(--border); }
.boton-secundario:hover { background: var(--bg-body); }
.boton-bloque { width: 100%; }

.boton-icono {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}
.boton-icono:hover { background: var(--bg-body); color: var(--primary); }
.boton-icono.peligro:hover { background: var(--danger-light); color: var(--danger); }

.alerta-error {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--danger-light);
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* ---------- Tabla ---------- */
.tabla { width: 100%; border-collapse: collapse; }
.tabla th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 10px 20px;
  background: #fafbfc;
  border-bottom: 1px solid var(--border);
}
.tabla td { padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: none; }
.tabla .acciones { text-align: right; white-space: nowrap; }
.tabla .usuario-celda { display: flex; align-items: center; gap: 10px; }
.tabla .usuario-celda small { display: block; color: var(--text-soft); font-size: 0.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }

.fila-edicion td { background: #fafbfc; }
.tabla tr[hidden] { display: none !important; }
.form-edicion { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; padding: 4px 0; }
.form-edicion .campo-ancho { grid-column: 1 / -1; }
.form-edicion-acciones { grid-column: 1 / -1; display: flex; gap: 8px; }

/* ---------- Página de usuarios ---------- */
.layout-usuarios {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  align-items: start;
}

/* ---------- Login ---------- */
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--card-bg);
}
.login-visual {
  position: relative;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.85) 100%),
    url('https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?q=80&w=1600&auto=format&fit=crop') center / cover no-repeat;
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-visual .marca { color: #fff; }
.login-visual .marca-icono { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(6px); }
.login-visual h2 { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.6px; line-height: 1.2; max-width: 420px; }
.login-visual p { color: rgba(255, 255, 255, 0.75); margin-top: 10px; max-width: 420px; }

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.login-form { width: 100%; max-width: 360px; }
.login-form .marca { margin-bottom: 32px; display: none; }
.login-form h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.4px; }
.login-form .subtitulo { color: var(--text-muted); margin: 4px 0 28px; }
.login-form .boton { margin-top: 8px; padding: 12px 16px; }
.login-pie { margin-top: 28px; color: var(--text-soft); font-size: 0.78rem; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .login { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-form .marca { display: inline-flex; }
  .layout-usuarios { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topnav-inner { padding: 10px 16px; }
  .contenido { padding: 24px 16px 40px; }
  .usuario-chip .usuario-texto { display: none; }
  .usuario-chip { padding: 4px; }
  .nav-boton span { display: none; }
  .marca-texto { display: none; }

  /* Tabla de usuarios → tarjetas */
  .tabla thead { display: none; }
  .tabla, .tabla tbody, .tabla tr, .tabla td { display: block; width: 100%; }
  .tabla tr:not(.fila-edicion) { border-bottom: 1px solid var(--border); padding: 12px 16px; position: relative; }
  .tabla td { border: none; padding: 4px 0; }
  .tabla .acciones { position: absolute; top: 12px; right: 12px; width: auto; }
  .form-edicion { grid-template-columns: 1fr; }
}

/* ---------- Página de error ---------- */
.pagina-error { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.pagina-error-caja { max-width: 420px; width: 100%; padding: 32px; text-align: center; }
.pagina-error-icono {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: inline-grid; place-items: center; font-size: 1.3rem; margin-bottom: 12px;
}
.pagina-error-codigo { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.pagina-error h1 { font-size: 1.3rem; margin: 4px 0 6px; }
.pagina-error p { color: var(--text-muted); margin-bottom: 20px; }
.pagina-error-acciones { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ---------- Usuario sin aplicaciones ---------- */
.sin-aplicaciones { display: flex; align-items: center; gap: 14px; padding: 18px 20px; max-width: 520px; }
.sin-aplicaciones i { color: var(--text-soft); font-size: 1.2rem; }
.sin-aplicaciones p { color: var(--text-muted); font-size: 0.85rem; }

/* ============================================================
   NAVIDAD
   - .cuenta-navidad: contador en Aplicaciones (1 nov – 7 ene)
   - .tema-navidad: tema de temporada en todo el portal (1 dic – 7 ene)
   ============================================================ */

/* ---------- Contador para Navidad ---------- */
.cuenta-navidad {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; margin-bottom: 28px;
  border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(120deg, #7f0a1d 0%, #c8102e 50%, #1f7a4d 100%);
  box-shadow: var(--shadow);
}
.cuenta-navidad::after {
  content: '🎄'; position: absolute; right: 150px; bottom: -22px;
  font-size: 96px; opacity: 0.18; pointer-events: none;
}
.cuenta-navidad > * { position: relative; z-index: 1; }
.cuenta-navidad-numero {
  flex-shrink: 0; min-width: 78px; text-align: center;
  padding: 8px 12px; border-radius: 14px;
  background: rgba(7, 42, 31, 0.5); border: 2px solid #d4a017;
  box-shadow: 0 0 18px rgba(212, 160, 23, 0.4);
}
.cuenta-navidad-numero strong { display: block; font-size: 2rem; line-height: 1; color: #ffe08a; font-variant-numeric: tabular-nums; }
.cuenta-navidad-numero span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.85); }
.cuenta-navidad-texto { flex: 1; min-width: 0; }
.cuenta-navidad-texto h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.2px; }
.cuenta-navidad-texto p { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; margin-top: 2px; }
.cuenta-navidad-boton { flex-shrink: 0; background: #fff; color: #c8102e; border-radius: 999px; }
.cuenta-navidad-boton:hover { background: #fff8e1; }

/* ---------- Tema de temporada ---------- */
body.tema-navidad {
  --primary: #c8102e; --primary-hover: #a50d26; --primary-light: #fff1f2;
  background-color: #072a1f;
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(200, 16, 46, 0.28) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 10%, rgba(212, 160, 23, 0.16) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(31, 122, 77, 0.55) 0%, transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.5px);
  background-size: auto, auto, auto, 26px 26px;
  background-attachment: fixed;
}
.tema-navidad .contenido, .tema-navidad .pagina-error, .tema-navidad .login { position: relative; z-index: 1; }

/* Barra superior roja con luces */
.tema-navidad .topnav { background: linear-gradient(180deg, #c8102e 0%, #7f0a1d 100%); border-bottom: none; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); z-index: 20; }
.tema-navidad .topnav .marca { color: #fff; }
.tema-navidad .topnav .marca-icono { background: radial-gradient(circle at 35% 30%, #3fa46d, #1f7a4d 55%, #0b3d2c); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18), 0 0 16px rgba(212, 160, 23, 0.45); }
.tema-navidad .nav-boton { color: rgba(255, 255, 255, 0.85); border-radius: 999px; }
.tema-navidad .nav-boton:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.tema-navidad .nav-boton.activo { background: #d4a017; color: #072a1f; }
.tema-navidad .nav-boton.salir:hover { background: rgba(0, 0, 0, 0.22); color: #fff; }
.tema-navidad .usuario-chip { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.tema-navidad .usuario-chip .avatar { background: #fff; color: #c8102e; }
.tema-navidad .usuario-rol { color: rgba(255, 255, 255, 0.75); }

.luces { display: flex; justify-content: space-around; height: 16px; margin-bottom: -16px; position: relative; overflow: hidden; }
.luces::before {
  content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 12px;
  border-bottom: 2px solid #1b3b2c; border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.luces i {
  position: relative; top: 3px; width: 8px; height: 12px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--color-luz); box-shadow: 0 2px 10px 1px var(--color-luz);
  animation: parpadeo 1.6s ease-in-out infinite;
}
.luces i::before { content: ''; position: absolute; top: -3px; left: 2px; width: 4px; height: 4px; background: #2f3b33; border-radius: 1px; }
.luces i:nth-child(4n+1) { --color-luz: #ff4d5e; }
.luces i:nth-child(4n+2) { --color-luz: #ffd447; animation-delay: 0.4s; }
.luces i:nth-child(4n+3) { --color-luz: #43e08a; animation-delay: 0.8s; }
.luces i:nth-child(4n+4) { --color-luz: #5ab8ff; animation-delay: 1.2s; }
.luces i:nth-child(odd)  { top: 5px; }
@keyframes parpadeo { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; box-shadow: none; } }

/* Nieve (public/js/nieve.js) */
.nieve { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.copo { position: absolute; top: -20px; color: #fff; user-select: none; animation: caer linear infinite; text-shadow: 0 0 6px rgba(255, 255, 255, 0.6); }
@keyframes caer {
  0%   { transform: translate3d(0, -20px, 0) rotate(0deg); }
  50%  { transform: translate3d(var(--deriva, 30px), 50vh, 0) rotate(180deg); }
  100% { transform: translate3d(0, 105vh, 0) rotate(360deg); }
}

/* Textos sobre el fondo verde */
.tema-navidad .encabezado h1 {
  font-family: 'Mountains of Christmas', 'Inter', serif; font-size: 2.3rem; line-height: 1.1;
  color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); letter-spacing: 0;
}
.tema-navidad .encabezado p { color: rgba(244, 239, 230, 0.75); }
.tema-navidad .seccion-titulo { color: #ffe08a; }
.tema-navidad .cuenta-navidad { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.tema-navidad .modulo, .tema-navidad .tarjeta { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(0, 0, 0, 0.2); }
.tema-navidad .modulo-pie { color: #c8102e; }
.tema-navidad .pagina-error h1 { font-family: 'Mountains of Christmas', 'Inter', serif; font-size: 1.9rem; color: #c8102e; }

/* Login */
.tema-navidad .login { background: transparent; }
.tema-navidad .login-visual {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px),
    linear-gradient(150deg, #7f0a1d 0%, #c8102e 45%, #1f7a4d 100%);
  overflow: hidden;
}
.tema-navidad .login-visual::after {
  content: '🎄'; position: absolute; right: 30px; bottom: -30px;
  font-size: 220px; opacity: 0.22; pointer-events: none;
}
.tema-navidad .login-visual > * { position: relative; z-index: 1; }
.tema-navidad .login-visual h2 { font-family: 'Mountains of Christmas', 'Inter', serif; font-size: 3rem; letter-spacing: 0; }
.tema-navidad .login-panel { background: #fffdf8; }
.tema-navidad .login-form h1 { font-family: 'Mountains of Christmas', 'Inter', serif; font-size: 2.2rem; color: #c8102e; letter-spacing: 0; }
.tema-navidad .marca-icono { background: radial-gradient(circle at 35% 30%, #3fa46d, #1f7a4d 55%, #0b3d2c); }
.tema-navidad .input:focus { border-color: #c8102e; box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.14); }

@media (max-width: 640px) {
  .cuenta-navidad { flex-wrap: wrap; padding: 16px; gap: 12px 14px; }
  .cuenta-navidad::after { right: -10px; }
  .cuenta-navidad-boton { width: 100%; }
  .tema-navidad .encabezado h1 { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .luces i, .copo { animation: none !important; }
  .nieve { display: none; }
}
