/* ==========================================================================
   PERUINFORMATIVO.COM ― OBSERVATORIO ELECTORAL NACIONAL
   Paleta Institucional: JNE Voto Informado (Rojo Carmesí, Azul ERM, Pizarra y Oro Cívico)
   ========================================================================== */

:root {
  --primary: #be1717;
  --primary-hover: #8b0f0f;
  --primary-light: #fbe9e9;
  --primary-glow: rgba(190, 23, 23, 0.22);
  --secondary: #2e5c7e;
  --secondary-hover: #244a65;
  --secondary-light: #eaf2f8;
  --color-jne-red: #be1717;
  --color-jne-red-dark: #8b0f0f;
  --color-erm-blue: #2e5c7e;
  --color-erm-teal: #5fb0a4;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --dark-bg: #0a1120;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --danger: #be1717;
  --danger-bg: #fef2f2;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-focus: #f87171;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 32px -8px rgba(15, 23, 42, 0.14);
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

#main {
  flex: 1 0 auto;
  padding: 24px 0 40px;
}

#main.main-fullscreen {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.container-fluid-full {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   UNIFIED ROBUST HEADER & NAVIGATION (Peru Informativo - JNE Palette)
   ========================================================================== */
.unified-header {
  background: linear-gradient(135deg, #7a0b0b 0%, #be1717 55%, #8f0d0d 100%);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10000;
  min-height: 74px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.18);
  border-bottom: 3px solid #fbbf24;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  box-sizing: border-box;
}

.logo-unified {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
}

.logo-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.4px;
}

.logo-name b {
  color: #fde68a;
  font-weight: 900;
}

.logo-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #fecaca;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Buscador Mejorado con Fondo Blanco Permanente */
.header-search-wrap {
  flex: 1;
  max-width: 380px;
  position: relative;
}

.header-search-white-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 28px;
  padding: 0 16px;
  height: 42px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.header-search-white-box:focus-within {
  border-color: #fbbf24;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.search-icon-lead {
  color: #be1717;
  font-size: 14px;
  margin-right: 10px;
}

.header-search-white-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  font-family: inherit;
}

.header-search-white-box input::placeholder {
  color: #94a3b8;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 10000;
}

.search-res-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.15s ease;
}

.search-res-item:hover {
  background: #fbe9e9;
  color: #be1717;
}

.search-type-badge {
  font-size: 10.5px;
  background: #fbe9e9;
  color: #be1717;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 800;
}

/* Nav Desktop Robusto Con Separadores Verticales y Mayúsculas */
.unified-nav {
  display: block;
}

.unified-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.unified-nav-list > li {
  display: flex;
  align-items: center;
  position: relative;
}

.unified-nav-list > li:not(:last-child)::after {
  content: '';
  display: block;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.24);
  margin: 0 4px;
}

.nav-item-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.nav-item-link:hover, .nav-item-link.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fde68a;
}

.nav-item-link.nav-link-hot {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-item-link.nav-link-hot:hover {
  background: #ffffff;
  color: #be1717;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.nav-arrow {
  font-size: 10px;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-wrap:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Mega-Submenú Full-Width para las 25 Regiones (Desde Logo hasta Botón App) */
.header-container {
  position: relative !important;
}

.mega-submenu-fullwidth {
  position: absolute;
  top: calc(100% + 4px);
  left: 16px;
  right: 16px;
  width: calc(100% - 32px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  border: 1.5px solid #cbd5e1;
  display: none;
  overflow: hidden;
  z-index: 10005;
  animation: slideDownFull 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-submenu-fullwidth.active,
.mega-submenu-fullwidth:hover {
  display: block;
}

@keyframes slideDownFull {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-full-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-bottom: 3px solid #fbbf24;
}

.mega-full-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mega-full-header h3 {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 2px 0;
  letter-spacing: -0.3px;
}

.mega-full-header p {
  font-size: 12.5px;
  color: #cbd5e1;
  margin: 0;
}

.mega-full-see-all {
  background: #be1717;
  color: #ffffff;
  border: 1px solid #8b0f0f;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(190, 23, 23, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mega-full-see-all:hover {
  background: #8b0f0f;
  transform: translateY(-1px);
}

.mega-full-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 0;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 16px;
}

.mega-full-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 14px;
  background: #ffffff;
  border: none;
  border-radius: 0;
  color: #1e293b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.mega-full-item i {
  color: #be1717;
  font-size: 12px;
  transition: transform 0.15s ease;
}

.mega-full-item:hover {
  background: #fbe9e9;
  border-color: #be1717;
  color: #be1717;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(190, 23, 23, 0.12);
}

.mega-full-item:hover i {
  transform: scale(1.2);
}

.mega-full-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.mega-footer-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
}

.mega-full-footer a {
  font-size: 12.5px;
  font-weight: 700;
  color: #2e5c7e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #eaf2f8;
  transition: all 0.15s ease;
}

.mega-full-footer a:hover {
  background: #be1717;
  color: #ffffff;
}

.mega-full-footer a:hover i {
  color: #ffffff;
}

@media (max-width: 1100px) {
  .mega-full-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .mega-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.btn-nav-app {
  background: #10b981;
  color: #ffffff;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-nav-app:hover {
  background: #059669;
  transform: translateY(-1px);
}

.mobile-hamburger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 19px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .unified-nav {
    display: none !important;
  }
  .mobile-hamburger-btn {
    display: flex !important;
  }
  .header-search-wrap {
    display: block !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    margin: 0 6px !important;
  }
  .header-search-white-box {
    height: 38px !important;
    padding: 0 12px !important;
  }
  .header-search-white-box input {
    font-size: 12.5px !important;
  }
  .search-icon-lead {
    font-size: 13px !important;
    margin-right: 6px !important;
  }
  .header-container {
    padding: 8px 10px !important;
    gap: 8px !important;
  }
  .logo-text-group {
    display: none !important;
  }
  .logo-icon-box {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    border-radius: 8px !important;
  }
  .mobile-hamburger-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  .container,
  .main-container,
  .content-wrapper,
  .container-custom {
    padding-left: 8px !important;
    padding-right: 8px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .content-grid,
  .survey-grid,
  .layout-grid {
    gap: 12px !important;
  }
}

.dropdown-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-height: 320px;
  overflow-y: auto;
}

.dropdown-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #1e293b;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.dropdown-link-item i {
  color: #be1717;
  font-size: 11px;
}

.dropdown-link-item:hover {
  background: #fbe9e9;
  color: #be1717;
  transform: translateX(3px);
}

.btn-nav-app {
  background: #10b981;
  color: #ffffff;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-nav-app:hover {
  background: #059669;
  transform: translateY(-1px);
}

.mobile-hamburger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99990;
}

.mobile-drawer-overlay.open {
  display: block;
}

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 99999;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer-panel.open {
  right: 0;
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, #8b0f0f 0%, #be1717 100%);
  color: #ffffff;
}

.logo-drawer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
}

.logo-drawer b {
  color: #fde68a;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 6px;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #1e293b;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.15s ease;
}

.mobile-link:hover, .mobile-link.hot {
  background: #fbe9e9;
  color: #be1717;
}

.mobile-app-btn {
  background: #10b981;
  color: #ffffff;
  border: none;
  padding: 11px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.mobile-drawer-regions {
  padding: 14px;
  border-top: 1px solid #e2e8f0;
}

.regions-drawer-title {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.regions-drawer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.region-drawer-item {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  background: #f8fafc;
  color: #1e293b;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   ERM 2026 HERO SECTION ― PANORAMIC BACKGROUND & 5-BLOCK CIVIC GRID
   ========================================================================== */
/* ==========================================================================
   ERM 2026 HERO SECTION ― PANORAMIC BACKGROUND & CURVED BOTTOM WAVE
   ========================================================================== */
/* ==========================================================================
   ERM 2026 HERO SECTION ― PANORAMIC BACKGROUND & 3 LUMINOUS PILLARS
   ========================================================================== */
.erm-hero-section {
  position: relative;
  background: #0a1120 url('/assets/images/hero-peru-bg.jpg') center center / cover no-repeat;
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0 68px;
  margin: 0 !important;
  color: #ffffff;
  overflow: hidden;
  width: 100%;
}

/* Overlay Suave que Realza el Contraste y Permite Ver los Detalles del Fondo */
.erm-hero-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.42) 50%, rgba(10, 17, 32, 0.72) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 1;
}

.erm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1220px;
}

/* Remate Curvo Inferior Suave */
.erm-hero-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 48px;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

.erm-hero-wave-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Fila Superior: Marca ERM 2026 y Reloj Regresivo Directos Sin Fondo ni Marco */
.erm-hero-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 28px;
}

.erm-brand-frameless {
  flex: 1 1 540px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.erm-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(190, 23, 23, 0.7);
  border: 1px solid rgba(254, 202, 202, 0.6);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.erm-title-composite {
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.erm-word-erm {
  font-size: 68px;
  font-weight: 900;
  color: #be1717;
  letter-spacing: -2px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9), 0 0 30px rgba(190, 23, 23, 0.6);
}

.erm-word-year {
  font-size: 68px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -2px;
  margin-left: 3px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.erm-official-subtitle {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 6px 0 0 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.erm-lead-text {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.6;
  margin: 8px 0 0 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.erm-lead-text strong {
  color: #fde047;
}

/* Contador Regresivo Oficial Sin Marco ni Fondo */
.erm-countdown-frameless {
  flex: 0 1 auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-label-top {
  font-size: 16px;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.countdown-label-bottom {
  font-size: 13.5px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.pro-mega-clock-frameless {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
}

.pro-mega-clock-frameless .countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 54px;
}

.pro-mega-clock-frameless .countdown-unit .num {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  font-family: monospace, sans-serif;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 255, 255, 0.4);
}

.pro-mega-clock-frameless .countdown-unit .lbl {
  font-size: 10px;
  font-weight: 900;
  color: #fbbf24;
  text-transform: uppercase;
  margin-top: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.5px;
}

.pro-mega-clock-frameless .cd-colon {
  font-size: 36px;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   LLAMADO A LA ACCIÓN MASIVO ERM 2026 (Diseño Abierto, Luminoso y de Alto Impacto)
   ========================================================================== */
.erm-hero-voting-callout {
  max-width: 1080px;
  margin: 18px auto 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.voting-callout-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(190, 23, 23, 0.85);
  color: #ffffff;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1.5px solid rgba(254, 202, 202, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  margin-bottom: 14px;
}

.live-blink-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseLed 1.2s infinite;
}

.voting-main-title {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 0 0 14px 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 0 32px rgba(0, 0, 0, 0.8);
}

.highlight-region {
  color: #fca5a5;
  text-decoration: underline;
  text-decoration-color: #ef4444;
  text-underline-offset: 4px;
}

.highlight-prov {
  color: #93c5fd;
  text-decoration: underline;
  text-decoration-color: #3b82f6;
  text-underline-offset: 4px;
}

.highlight-dist {
  color: #86efac;
  text-decoration: underline;
  text-decoration-color: #22c55e;
  text-underline-offset: 4px;
}

.voting-lead-paragraph {
  font-size: 16.5px;
  color: #ffffff;
  line-height: 1.65;
  max-width: 900px;
  margin: 0 auto 24px auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.voting-lead-paragraph strong {
  color: #fde047;
  font-weight: 800;
}

/* 3 Tarjetas de Nivel Electoral Traslúcidas y Elegantes */
.voting-levels-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-bottom: 24px;
}

.vote-level-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-align: left;
}

.card-lvl-regional {
  background: rgba(185, 28, 28, 0.72);
  border: 1.5px solid rgba(254, 202, 202, 0.55);
}

.card-lvl-regional:hover {
  background: rgba(185, 28, 28, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(185, 28, 28, 0.5);
  border-color: #ffffff;
}

.card-lvl-provincial {
  background: rgba(30, 58, 138, 0.72);
  border: 1.5px solid rgba(147, 197, 253, 0.55);
}

.card-lvl-provincial:hover {
  background: rgba(30, 58, 138, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(30, 58, 138, 0.5);
  border-color: #ffffff;
}

.card-lvl-distrital {
  background: rgba(6, 95, 70, 0.72);
  border: 1.5px solid rgba(110, 231, 183, 0.55);
}

.card-lvl-distrital:hover {
  background: rgba(6, 95, 70, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(6, 95, 70, 0.5);
  border-color: #ffffff;
}

.vote-lvl-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.vote-lvl-info {
  flex: 1;
  min-width: 0;
}

.lvl-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.vote-lvl-info strong {
  display: block;
  font-size: 14.5px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.vote-lvl-info small {
  display: block;
  font-size: 11px;
  color: #e2e8f0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vote-lvl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  color: #0f172a;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 900;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.vote-level-card:hover .vote-lvl-btn {
  transform: translateX(2px);
}

/* Botón Maestro Destacado de Acción */
.voting-primary-action-wrap {
  margin-top: 4px;
}

.btn-vote-master-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #be1717 0%, #dc2626 50%, #991b1b 100%);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 15px 36px;
  border-radius: 36px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 30px rgba(190, 23, 23, 0.65), 0 0 24px rgba(251, 191, 36, 0.35);
  transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulseButton 3s infinite;
}

.btn-vote-master-cta:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 12px 36px rgba(190, 23, 23, 0.85), 0 0 30px rgba(251, 191, 36, 0.5);
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #ffffff;
}

@media (max-width: 992px) {
  .erm-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* Tarjeta 1: Alta Izquierda (Rojo Carmesí) */
.erm-card-tall-red {
  grid-row: span 2;
  background: linear-gradient(150deg, #991b1b 0%, #be1717 50%, #7f1d1d 100%);
  border: 2px solid rgba(254, 202, 202, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 28px;
  min-height: 390px;
}

.card-bg-watermark {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 140px;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  line-height: 1;
}

.tall-card-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.tall-card-title {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 14px 0;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.tall-card-desc {
  font-size: 15.5px;
  color: #ffffff;
  line-height: 1.6;
  margin: 0 0 26px 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.tall-card-desc strong {
  color: #fde047;
}

.btn-tall-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  color: #be1717;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.btn-tall-card-action:hover {
  background: #fbe9e9;
  color: #8b0f0f;
  transform: translateX(4px);
}

/* Tarjeta 2: Azul Información Educativa */
.erm-card-blue {
  background: linear-gradient(135deg, #1e3d59 0%, #172b4d 100%);
  border: 1.5px solid #3b82f6;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px;
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #93c5fd;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.card-text-block h3 {
  font-size: 18.5px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.card-text-block p {
  font-size: 14.5px;
  color: #f8fafc;
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.card-corner-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
}

.erm-card:hover .card-corner-arrow {
  color: #ffffff;
  transform: translateX(3px);
}

/* Tarjeta 3: Teal Pacto Ético */
.erm-card-teal {
  background: linear-gradient(135deg, #0d5c58 0%, #06403d 100%);
  border: 1.5px solid #2a9d8f;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px;
}

.erm-card-teal .card-icon-box {
  color: #6ee7b7;
}

/* Tarjeta 4: Inferior Ancha (Zona de Debate ERM 2026 ― Próximamente) */
.erm-card-debate-wide {
  grid-column: 2 / span 2;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid #64748b;
  padding: 24px 30px;
  display: flex;
  align-items: center;
}

.debate-metallic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}

.debate-left-tag {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: #f1f5f9;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.debate-left-tag i {
  color: #f87171;
  font-size: 15px;
}

.debate-center-titles {
  display: flex;
  align-items: center;
  gap: 14px;
}

.debate-title-main {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.debate-badge-erm-wrap {
  display: flex;
  flex-direction: column;
}

.erm-red-tag {
  background: #be1717;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.3px;
  display: inline-block;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(190, 23, 23, 0.4);
}

.debate-badge-erm-wrap small {
  font-size: 12.5px;
  color: #f8fafc;
  font-weight: 700;
  margin-top: 3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.debate-proximamente-text {
  font-size: 16px;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   DIRECTORIO DE 25 REGIONES (Tablero Ordenado)
   ========================================================================== */
.regions-board-container {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 34px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.regions-board-header {
  text-align: center;
  margin-bottom: 28px;
}

.regions-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fbe9e9;
  color: #be1717;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.regions-board-header h2 {
  font-size: 25px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.4px;
}

.regions-board-header p {
  color: #475569;
  font-size: 15px;
  margin: 0;
}

.regions-board-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.region-board-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.18s ease;
}

.region-board-chip .chip-name {
  display: flex;
  align-items: center;
  gap: 9px;
}

.region-board-chip .chip-name i {
  color: #be1717;
  font-size: 13px;
}

.region-board-chip .chip-arrow {
  color: #94a3b8;
  font-size: 11px;
  transition: transform 0.18s ease;
}

.region-board-chip:hover {
  background: #fbe9e9;
  border-color: #be1717;
  color: #be1717;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(190, 23, 23, 0.15);
}

.region-board-chip:hover .chip-arrow {
  color: #be1717;
  transform: translateX(3px);
}

/* ==========================================================================
   BLOQUE COMPACTO EDITORIAL Y METODOLOGÍA SEO (Acordeón Desplegable Inteligente)
   ========================================================================== */
.seo-compact-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.seo-compact-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.seo-compact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  cursor: pointer;
  background: #ffffff;
  transition: background 0.15s ease;
  user-select: none;
  gap: 16px;
}

.seo-compact-header:hover {
  background: #f8fafc;
}

.seo-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.seo-icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fbe9e9;
  color: #be1717;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid #fecaca;
}

.seo-title-group h3 {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 2px 0;
  letter-spacing: -0.2px;
}

.seo-title-group p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.seo-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.seo-quick-pills {
  display: flex;
  gap: 6px;
}

.qpill {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e2e8f0;
}

.qpill i {
  color: #be1717;
}

.btn-seo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
  font-family: inherit;
}

.btn-seo-toggle:hover {
  background: #be1717;
  transform: translateY(-1px);
}

.seo-expanded-body {
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 28px 24px;
}

.seo-inner-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.editorial-executive-summary {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #be1717;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px 16px 48px;
  text-align: left;
}

.summary-quote-icon {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 18px;
  color: #be1717;
  opacity: 0.85;
}

.editorial-executive-summary p {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

.editorial-executive-summary strong {
  color: #0f172a;
}

/* Grilla de Dos Tarjetas Principales */
.editorial-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.editorial-subcard {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s ease;
}

.editorial-subcard:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.subcard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 14px;
}

.subcard-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.icon-panorama {
  background: #fbe9e9;
  color: #be1717;
  border: 1.5px solid #fecaca;
}

.icon-metodologia {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1.5px solid #bfdbfe;
}

.subcard-title-group h4 {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.subcard-title-group span {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
}

.subcard-body p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.key-elections-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}

.key-box-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: #be1717;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.key-elections-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.election-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.15s ease;
}

.election-tag:hover {
  background: #be1717;
  color: #ffffff;
  border-color: #be1717;
}

/* Lista de Metodología y Cómputo Seguro */
.method-features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.method-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
}

.method-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.method-feature-text strong {
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 2px;
}

.method-feature-text span {
  display: block;
  font-size: 11.5px;
  color: #475569;
  line-height: 1.4;
}

/* Franja Inferior de Estadísticas */
.editorial-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  padding: 18px 24px;
  color: #ffffff;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  font-size: 28px;
  color: #fbbf24;
  opacity: 0.95;
}

.stat-numbers strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.stat-numbers span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
}

/* ==========================================================================
   DIRECTORIO EJECUTIVO DE LAS 25 REGIONES (departamentos.php)
   ========================================================================== */

/* Hero Banner del Directorio */
.regions-executive-hero {
  background: linear-gradient(135deg, #0a1120 0%, #0f172a 50%, #1e293b 100%);
  border-radius: 20px;
  padding: 44px 28px 36px 28px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(10, 17, 32, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.regions-executive-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(190, 23, 23, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-center-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(190, 23, 23, 0.2);
  border: 1px solid rgba(254, 202, 202, 0.4);
  color: #fca5a5;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-live-pill .live-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseDot 1.6s infinite;
}

.hero-executive-heading {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-executive-lead {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.hero-executive-lead strong {
  color: #fca5a5;
}

/* Filtros de Zona Geográfica */
.regions-zone-pills {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.zone-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}

.zone-pill:hover {
  color: #0f172a;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.zone-pill.active-pill {
  background: #007bff !important;
  color: #ffffff !important;
  border-color: #007bff !important;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
}

/* Lista Compacta de las 25 Regiones del Perú (Tipo Lista) */
.regions-compact-list {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.region-list-row {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.region-list-row:first-child {
  border-top: 1px solid #e2e8f0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.region-list-row:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.region-list-row::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3.5px;
  background: #007bff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.region-list-row:hover {
  background: #f8fafc;
}

.region-list-row:hover::before {
  opacity: 1;
}

/* Columna Izquierda: Índice, Ícono, Nombre y Badges */
.reg-list-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.reg-list-idx {
  font-size: 12px;
  font-weight: 900;
  color: #94a3b8;
  font-family: var(--font-mono, monospace);
  width: 20px;
  flex-shrink: 0;
}

.reg-list-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.reg-list-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.reg-list-name {
  font-size: 14.5px;
  font-weight: 900;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.reg-list-name:hover {
  color: #2563eb;
}

.reg-list-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.reg-zone-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.reg-zone-tag.costa {
  background: #e0f2fe;
  color: #0369a1;
}

.reg-zone-tag.sierra {
  background: #fef3c7;
  color: #b45309;
}

.reg-zone-tag.selva {
  background: #dcfce7;
  color: #15803d;
}

.reg-ubigeo-tag {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Columna Zona */
.reg-list-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

/* Columna Central: Estadísticas */
.reg-list-stats {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #475569;
  font-weight: 600;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.stat-pill i {
  color: #be1717;
  font-size: 12px;
}

.stat-pill strong {
  color: #0f172a;
}

/* Columna Derecha: Botones de Acción (Pegados a la derecha) */
.reg-list-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.lbl-short {
  display: none;
}

.lbl-full {
  display: inline;
}

.btn-list-provs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-list-provs:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

.btn-list-vote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  background: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
  white-space: nowrap;
}

.btn-list-vote .list-arr {
  font-size: 11px;
  transition: transform 0.18s ease;
}

.btn-list-vote:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  color: #ffffff;
  background: #0069d9;
}

.btn-list-vote:hover .list-arr {
  transform: translateX(3px);
}

/* ==========================================================================
   VISTA DETALLADA DE DEPARTAMENTO (Provincias y Distritos)
   ========================================================================== */
.dep-detail-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dep-detail-hero {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px 30px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.dep-hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.dep-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.dep-badge-pill.gold {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.dep-badge-pill.green {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.dep-detail-title {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.dep-detail-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 20px 0;
}

.dep-detail-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.btn-vote-regional-master {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  background: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
  transition: all 0.2s ease;
}

.btn-vote-regional-master:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
  color: #ffffff;
  background: #0069d9;
}

.btn-back-regions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 25px;
  font-size: 13.5px;
  font-weight: 800;
  color: #334155;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-back-regions:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Desglose de Provincias */
.dep-provincias-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dep-provincias-heading {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dep-provincias-heading i {
  color: #007bff;
}

.dep-provincias-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.provincia-block-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
}

.provincia-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 12px;
}

.provincia-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.prov-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.provincia-header-info h3 {
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.provincia-header-info span {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.btn-prov-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.18s ease;
  margin-left: auto;
  white-space: nowrap;
}

.btn-prov-action:hover {
  background: #0069d9;
  color: #ffffff;
  transform: translateY(-1px);
}

.distritos-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.distrito-chip-link {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  padding: 7px 10px;
  border-radius: 8px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 8px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.distrito-chip-link .chip-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  font-weight: 800;
}

.distrito-chip-link .chip-label {
  flex: 1;
  text-align: left !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0f172a;
  font-weight: 800;
}

.distrito-chip-link .chip-arr {
  font-size: 11px;
  font-weight: 800;
  color: #0284c7;
  background: #eff6ff;
  border: 1px solid #bae6fd;
  padding: 4px 9px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.distrito-chip-link:hover {
  background: #ffffff;
  border-color: #007bff;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.distrito-chip-link:hover .chip-label {
  color: #007bff;
}

.distrito-chip-link:hover .chip-arr {
  background: #007bff;
  color: #ffffff;
  border-color: #007bff;
  transform: translateX(2px);
}

/* Grilla Macrorregional SEO */
.regional-macro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.macro-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
}

.macro-card h4 {
  font-size: 14.5px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.macro-card p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.regional-faq-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
}

.faq-accordion-item {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.faq-accordion-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-accordion-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.faq-accordion-item p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 992px) {
  .erm-features-grid-custom {
    grid-template-columns: 1fr;
  }
  .erm-card-debate-wide {
    grid-column: 1;
  }
}

/* Micro-Animaciones de Tarjetas */
.card-animated-hover {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-animated-hover:hover {
  transform: translateY(-6px) scale(1.015) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45) !important;
}

.floating-icon {
  animation: floatIcon 3.5s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.pulse-btn {
  animation: pulseButton 2.5s infinite;
}

@keyframes pulseButton {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }
  50% { box-shadow: 0 6px 24px rgba(190, 23, 23, 0.6); }
}

.live-blink-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  margin-right: 4px;
  animation: pulseLed 1s infinite;
}

.bounce-icon {
  animation: bounceMini 2s infinite;
}

@keyframes bounceMini {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-3px); }
  60% { transform: translateY(-1.5px); }
}

@keyframes pulseGold {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #fbbf24); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 8px #fbbf24); }
}
  line-height: 1;
  color: #ffffff;
  font-family: monospace, sans-serif;
  letter-spacing: -0.5px;
}

.countdown-unit .lbl {
  font-size: 8.5px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  margin-top: 4px;
}

.cd-colon {
  font-size: 22px;
  font-weight: 900;
  color: #f87171;
  line-height: 1;
  margin-bottom: 12px;
}

.countdown-target-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Grilla de 5 Bloques (Inspirada en Voto Informado) */
.erm-features-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.erm-card {
  position: relative;
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.erm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

/* Tarjeta 1: Alta Izquierda (Rojo Carmesí) */
.erm-card-tall-red {
  grid-row: span 2;
  background: linear-gradient(150deg, #991b1b 0%, #be1717 50%, #7f1d1d 100%);
  border: 2px solid rgba(254, 202, 202, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 26px;
  min-height: 380px;
}

.card-bg-watermark {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 140px;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  line-height: 1;
}

.tall-card-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tall-card-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 12px 0;
  letter-spacing: -0.4px;
}

.tall-card-desc {
  font-size: 14px;
  color: #fee2e2;
  line-height: 1.55;
  margin: 0 0 24px 0;
}

.btn-tall-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  color: #be1717;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.btn-tall-card-action:hover {
  background: #fbe9e9;
  color: #8b0f0f;
  transform: translateX(4px);
}

/* Tarjeta 2: Azul Información Educativa */
.erm-card-blue {
  background: linear-gradient(135deg, #1e3d59 0%, #172b4d 100%);
  border: 1.5px solid #2e5c7e;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.card-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #60a5fa;
  flex-shrink: 0;
}

.card-text-block h3 {
  font-size: 16.5px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.card-text-block p {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.card-corner-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}

.erm-card:hover .card-corner-arrow {
  color: #ffffff;
  transform: translateX(3px);
}

/* Tarjeta 3: Teal Pacto Ético */
.erm-card-teal {
  background: linear-gradient(135deg, #0d5c58 0%, #06403d 100%);
  border: 1.5px solid #2a9d8f;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.erm-card-teal .card-icon-box {
  color: #34d399;
}

/* Tarjeta 4: Debate ERM 2026 */
.erm-card-debate {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid #475569;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.debate-tag-strip {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #94a3b8;
  text-transform: uppercase;
}

.debate-body-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0;
}

.debate-body-title .txt-debate {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.debate-body-title .txt-erm {
  font-size: 18px;
  font-weight: 900;
  color: #be1717;
}

.debate-sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(190, 23, 23, 0.2);
  border: 1px solid rgba(190, 23, 23, 0.45);
  color: #fca5a5;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  width: fit-content;
}

/* Tarjeta 5: Pregúntale a tu Candidato */
.erm-card-interactive {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.ask-balloon-title {
  display: flex;
  flex-direction: column;
}

.ask-lead {
  font-size: 20px;
  font-weight: 900;
  color: #be1717;
  line-height: 1;
}

.ask-sub {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ask-sub i {
  color: #be1717;
  font-size: 16px;
}

.interactive-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 6px 0 10px 0;
}

.interactive-footer-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.civic-avatar-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.civic-avatar-badge i {
  color: #be1717;
}

/* ==========================================================================
   DIRECTORIO DE 25 REGIONES (Tablero Ordenado)
   ========================================================================== */
.regions-board-container {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 0;
  box-shadow: none;
}

.regions-board-header {
  text-align: center;
  margin-bottom: 26px;
}

.regions-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fbe9e9;
  color: #be1717;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.regions-board-header h2 {
  font-size: 23px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.4px;
}

.regions-board-header p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

.regions-board-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.region-board-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #ffffff;
  border: none;
  border-radius: 0;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.region-board-chip .chip-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.region-board-chip .chip-name i {
  color: #be1717;
  font-size: 13px;
  width: 14px;
  text-align: center;
}

.region-board-chip .chip-arrow {
  color: #94a3b8;
  font-size: 10px;
  transition: transform 0.18s ease;
}

.region-board-chip:hover {
  background: #fbe9e9;
  color: #be1717;
}

.region-board-chip:hover .chip-arrow {
  color: #be1717;
  transform: translateX(2px);
}

/* ==========================================================================
   CONTENIDO EDITORIAL & SEO PROFESIONAL DE ALTA AUTORIDAD
   ========================================================================== */
.seo-editorial-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 34px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.editorial-header {
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.editorial-kicker {
  font-size: 11.5px;
  font-weight: 900;
  color: #be1717;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.editorial-header h2 {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: -0.4px;
}

.editorial-lead {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.editorial-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.editorial-col h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.editorial-col p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 12px 0;
}

.editorial-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editorial-list li {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  position: relative;
  padding-left: 18px;
}

.editorial-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 900;
}

.editorial-summary-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #0f172a;
  border-radius: 12px;
  padding: 18px 24px;
  color: #ffffff;
  text-align: center;
}

.sum-item strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1.1;
}

.sum-item span {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
}

/* Responsiveness */
@media (max-width: 992px) {
  .erm-features-grid {
    grid-template-columns: 1fr;
  }
  .erm-card-tall-red {
    grid-row: auto;
    min-height: auto;
  }
  .editorial-columns-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .regions-board-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .editorial-summary-bar {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .erm-main-title {
    font-size: 38px;
  }
  .erm-hero-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .erm-countdown-wrap {
    align-items: flex-start;
    width: 100%;
  }
  .countdown-clock-box {
    width: 100%;
    justify-content: center;
  }
  .regions-board-grid {
    grid-template-columns: 1fr 1fr;
  }
  .editorial-summary-bar {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   UNIFIED FOOTER (PeruInformativo.com)
   ========================================================================== */
/* ==========================================================================
   UNIFIED FOOTER (PeruInformativo.com ― Respaldado por Datum e Ipsos)
   ========================================================================== */
.unified-footer {
  background: #080e1a;
  color: #ffffff;
  padding: 48px 0 28px;
  border-top: 3.5px solid #be1717;
}

/* Franja Superior: Respaldo y Rigor Metodológico Datum e Ipsos */
.footer-endorsement-lead-bar {
  background: rgba(255, 255, 255, 0.035);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 26px 30px;
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.endorsement-lead-title h3 {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.endorsement-lead-title p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

.endorsement-lead-title strong {
  color: #fbbf24;
}

.lead-sparkle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fbbf24;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-certification-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.cert-seal-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.cert-seal-pill:hover {
  border-color: #fbbf24;
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.95);
}

.cert-seal-pill i {
  font-size: 24px;
  flex-shrink: 0;
}

.cert-seal-pill strong {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.cert-seal-pill span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
}

.seal-datum i { color: #ef4444; }
.seal-ipsos i { color: #60a5fa; }
.seal-iso i { color: #fbbf24; }
.seal-sha i { color: #34d399; }

/* 4 Columnas del Footer */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr 1.2fr;
  gap: 34px;
  margin-bottom: 38px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-logo i {
  color: #be1717;
  font-size: 24px;
}

.footer-logo b {
  color: #fde68a;
}

.footer-col-desc {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-cert-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.mini-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mini-tag i {
  color: #fbbf24;
}

.footer-social-links {
  display: flex;
  gap: 8px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-links a:hover {
  background: #be1717;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 14.5px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col h4 i {
  color: #be1717;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-list li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.footer-link-list li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.link-see-all-footer {
  color: #fbbf24 !important;
  font-weight: 800 !important;
}

/* Pie Inferior: Copyright y Descargo Legal */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-bottom-row p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.footer-bottom-row strong {
  color: #ffffff;
}

.footer-security-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-security-tags span {
  font-size: 11.5px;
  font-weight: 800;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-security-tags span i {
  color: #10b981;
}

.footer-legal-note {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.footer-legal-note strong {
  color: #94a3b8;
}

@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
}

.footer-link-list li a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-bottom-row p {
  color: #94a3b8;
  font-size: 12.5px;
  margin: 0;
}

.footer-bottom-row p strong {
  color: #ffffff;
}

.footer-security-tags {
  display: flex;
  gap: 12px;
}

.footer-security-tags span {
  font-size: 11px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-security-tags span i {
  color: #10b981;
}

.footer-legal-note {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .unified-nav {
    display: none;
  }
  .mobile-hamburger-btn {
    display: flex;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .header-search-wrap {
    display: none;
  }
}

.nav-item {
  position: relative;
  display: inline-block;
}

.nav-item.has-mega {
  position: static;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 11px;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link i:first-child {
  color: var(--primary);
  font-size: 13px;
}

.nav-link .nav-arrow {
  font-size: 9.5px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #fdf2f2;
}

.nav-item:hover .nav-link .nav-arrow {
  transform: rotate(180deg);
}

.nav-link.btn-lima-destacado {
  background: #fbe9e9;
  color: #be1717;
  border-radius: 8px;
  padding: 6px 12px;
  margin: 4px 0;
  border: 1px solid #fecaca;
  font-weight: 800;
  font-size: 12.5px;
}

.nav-badge-hot {
  background: #be1717;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  animation: pulseGlow 1.5s infinite;
}

.dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--primary);
  border-radius: 0 0 10px 10px;
  padding: 8px;
  list-style: none !important;
  min-width: 250px;
  margin: 0 !important;
  z-index: 9999;
}

.nav-item:hover > .dropdown-menu {
  display: flex !important;
  flex-direction: column !important;
  animation: megaFadeIn 0.2s ease forwards;
}

.dropdown-menu li {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13px !important;
  line-height: 1.4;
  color: #334155;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #fbe9e9;
  color: var(--primary);
  transform: translateX(4px);
}

.mega-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 20px !important;
  right: 20px !important;
  width: calc(100% - 40px) !important;
  background: #ffffff;
  box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.16);
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--primary);
  border-radius: 0 0 10px 10px;
  padding: 18px 24px 22px;
  z-index: 99999;
  box-sizing: border-box;
}

.nav-item:hover > .mega-menu {
  display: block !important;
  animation: megaFadeIn 0.2s ease forwards;
}

@keyframes megaFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 8px;
}

.mega-header h4 {
  margin: 0;
  font-size: 13px !important;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-header h4 i {
  color: var(--primary);
}

.mega-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mega-col {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
}

.mega-col.mega-col-red {
  border-top: 3px solid #be1717;
  background: linear-gradient(180deg, #fdf2f2 0%, #ffffff 40px);
}

.mega-col.mega-col-blue {
  border-top: 3px solid #2e5c7e;
  background: linear-gradient(180deg, #eaf2f8 0%, #ffffff 40px);
}

.mega-col.mega-col-teal {
  border-top: 3px solid #5fb0a4;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 40px);
}

.mega-col.mega-col-amber {
  border-top: 3px solid #f59e0b;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 40px);
}

.mega-col-title {
  font-size: 13px !important;
  font-weight: 800;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mega-col ul li a:hover {
  background: #fdf2f2 !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
  transform: translateX(4px);
}

/* ==========================================================================
   HERO PORTADA ― PERUINFORMATIVO.COM (Voto Informado JNE Aesthetic)
   ========================================================================== */
.homepage-hero-fullwidth {
  width: 100%;
  position: relative;
  background: linear-gradient(180deg, #1e0606 0%, #2e0d0d 40%, #0f172a 100%);
  padding: 60px 0 54px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.homepage-hero-fullwidth::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(190, 23, 23, 0.45) 0%, rgba(46, 92, 126, 0.2) 60%, transparent 85%);
  pointer-events: none;
}

.homepage-hero-fullwidth .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-peru-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fecaca;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-peru-tag i {
  color: #fbbf24;
}

.hero-peru-tag .keyword-highlight {
  color: #ffffff;
  font-weight: 900;
  border-bottom: 2px solid #fbbf24;
}

.live-voters-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.18);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  backdrop-filter: blur(10px);
  color: #34d399;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
}

.live-led-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981, 0 0 16px #10b981;
  animation: blinkLed 1.2s infinite ease-in-out;
}

@keyframes blinkLed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-peru-title {
  color: #ffffff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.6px;
  max-width: 940px;
}

.hero-dynamic-gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #fecaca 70%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-peru-desc {
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.65;
  max-width: 840px;
  margin: 0 auto 30px auto;
}

.hero-peru-desc strong {
  color: #ffffff;
}

/* Buscador Cívico Principal */
.hero-peru-search-box {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 28px auto;
  position: relative;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 50px;
  padding: 5px 6px 5px 22px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
  border: 2px solid transparent;
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

.search-input-group:focus-within {
  border-color: #be1717;
  box-shadow: 0 16px 42px rgba(190, 23, 23, 0.35), 0 0 0 4px rgba(190, 23, 23, 0.18);
}

.hero-peru-input {
  border: none;
  background: transparent !important;
  box-shadow: none !important;
  padding: 12px 10px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a !important;
  flex: 1;
  outline: none;
  width: 100%;
}

.hero-peru-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.btn-hero-search-submit {
  background: linear-gradient(135deg, #be1717 0%, #8b0f0f 100%);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(190, 23, 23, 0.45);
}

.btn-hero-search-submit:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(190, 23, 23, 0.6);
}

.hero-peru-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  text-align: left;
  padding: 6px 0;
}

.hero-search-res-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  background: #ffffff !important;
  transition: all 0.15s ease;
}

.hero-search-res-item:hover {
  background: #fbe9e9 !important;
}

.hero-search-res-item .item-title {
  color: #0f172a !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-search-res-item:hover .item-title {
  color: #be1717 !important;
}

.hero-search-res-item .item-tag {
  background: #fdf2f2;
  color: #be1717;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  border: 1px solid #fecaca;
}

/* Action Buttons */
.btn-participate {
  background: linear-gradient(135deg, #be1717 0%, #8b0f0f 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(190, 23, 23, 0.4);
}

.btn-participate:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(190, 23, 23, 0.55);
}

.btn-civic-secondary {
  background: linear-gradient(135deg, #2e5c7e 0%, #1e3d54 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px 22px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(46, 92, 126, 0.35);
}

.btn-civic-secondary:hover {
  background: linear-gradient(135deg, #376f98 0%, #2e5c7e 100%);
  transform: translateY(-2px);
}

/* KPIs Header */
.hero-peru-kpis {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-kpi-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.hero-kpi-chip i {
  color: #fbbf24;
}

/* ==========================================================================
   CRONOGRAMA ELECTORAL 2026 (Inspirado en Voto Informado JNE)
   ========================================================================== */
.cronograma-section {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 36px;
  margin: 36px 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.cronograma-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #f1f5f9;
}

.cronograma-header h2 {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.cronograma-header h2 i {
  color: #be1717;
}

.cronograma-badge-official {
  background: #fbe9e9;
  color: #be1717;
  border: 1px solid #fecaca;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cronograma-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.crono-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: all 0.2s ease;
}

.crono-card.active-stage {
  background: #ffffff;
  border-color: #be1717;
  box-shadow: 0 6px 20px rgba(190, 23, 23, 0.12);
}

.crono-card.active-stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #be1717 0%, #f59e0b 100%);
  border-radius: 12px 12px 0 0;
}

.crono-status-pill {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  width: fit-content;
}

.crono-status-pill.done {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.crono-status-pill.in-progress {
  background: #fbe9e9;
  color: #be1717;
  border: 1px solid #fecaca;
}

.crono-status-pill.upcoming {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.crono-card h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
}

.crono-date {
  font-size: 12px;
  font-weight: 700;
  color: #2e5c7e;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   25 REGIONES DEL PERÚ ― LISTADO ELEGANTE & LIMPIO
   ========================================================================== */
.regions-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 32px auto;
}

.region-text-link {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.region-text-link:hover {
  background: #be1717;
  border-color: #be1717;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(190, 23, 23, 0.45);
}

.region-text-link i {
  color: #fecaca;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.region-text-link:hover i {
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   POLL CARDS & BATTLE CARDS
   ========================================================================== */
.polls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.poll-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.poll-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #be1717 0%, #2e5c7e 100%);
}

.poll-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #be1717;
}

/* ==========================================================================
   SISTEMA RESPONSIVE MÓVIL Y TABLET ― ALINEACIÓN Y CENTRADO TOTAL
   ========================================================================== */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .header-container {
    padding: 0 16px;
  }
  .unified-nav {
    display: none;
  }
  .mobile-hamburger-btn {
    display: flex;
  }
  .erm-pillars-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .regions-board-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .editorial-dual-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .editorial-stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* Móvil (max-width: 768px) */
@media (max-width: 768px) {
  .header-search-wrap {
    display: none;
  }
  
  /* Hero y ERM 2026: Todo Centrado */
  .erm-hero-section {
    padding: 28px 0 44px 0;
  }
  .erm-hero-content {
    padding: 0 16px;
  }
  .erm-hero-topbar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
    margin-bottom: 22px !important;
  }
  
  .erm-brand-frameless {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }
  .erm-badge-pill {
    margin: 0 auto 8px auto !important;
  }
  .erm-title-composite {
    justify-content: center !important;
  }
  .erm-word-erm, .erm-word-year {
    font-size: 46px !important;
  }
  .erm-official-subtitle {
    text-align: center !important;
    font-size: 14.5px !important;
  }
  .erm-lead-text {
    text-align: center !important;
    font-size: 13.5px !important;
    max-width: 480px;
    margin: 8px auto 0 auto !important;
  }
  
  /* Reloj Regresivo: Centrado */
  .erm-countdown-frameless {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }
  .countdown-label-top, .countdown-label-bottom {
    justify-content: center !important;
    text-align: center !important;
  }
  .pro-mega-clock-frameless {
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .pro-mega-clock-frameless .countdown-unit {
    min-width: 42px !important;
  }
  .pro-mega-clock-frameless .countdown-unit .num {
    font-size: 32px !important;
  }
  .pro-mega-clock-frameless .cd-colon {
    font-size: 24px !important;
    margin-bottom: 10px !important;
  }

  /* Llamado de Votación en Móvil */
  .voting-main-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }
  .voting-lead-paragraph {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
  }
  .voting-levels-actions {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }
  .vote-level-card {
    padding: 12px 16px !important;
  }
  .btn-vote-master-cta {
    width: 100% !important;
    justify-content: center !important;
    font-size: 13px !important;
    padding: 13px 18px !important;
    letter-spacing: 0.5px !important;
  }

  /* 25 Regiones */
  .regions-board-container {
    padding: 24px 16px !important;
  }
  .regions-board-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1px !important;
  }
  .region-board-chip {
    padding: 10px 12px !important;
    font-size: 12.5px !important;
  }

  /* Sección Editorial */
  .seo-editorial-card-pro {
    padding: 24px 16px !important;
  }
  .editorial-main-heading {
    font-size: 20px !important;
  }
  .editorial-executive-summary {
    padding: 14px 14px 14px 44px !important;
  }
  .editorial-stats-strip {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 16px 14px !important;
  }

  /* =========================================================================
     FOOTER MÓVIL: TODO CENTRADO Y LIMPIO
     ========================================================================= */
  .unified-footer {
    text-align: center !important;
    padding: 36px 0 20px !important;
  }
  
  .footer-endorsement-lead-bar {
    text-align: center !important;
    align-items: center !important;
    padding: 20px 16px !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
  }
  .endorsement-lead-title {
    text-align: center !important;
  }
  .lead-sparkle-badge {
    justify-content: center !important;
    margin: 0 auto 6px auto !important;
  }
  
  .footer-certification-badges {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .cert-seal-pill {
    justify-content: center !important;
    text-align: left !important;
    padding: 10px 12px !important;
  }
  .cert-seal-pill strong {
    font-size: 12.5px !important;
  }
  .cert-seal-pill span {
    font-size: 10.5px !important;
  }
  
  .footer-main-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
    margin-bottom: 28px !important;
  }
  
  .footer-col-main {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-logo {
    justify-content: center !important;
  }
  .footer-cert-tags {
    justify-content: center !important;
  }
  .footer-social-links {
    justify-content: center !important;
  }
  
  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-col h4 {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }
  .footer-link-list {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .footer-link-list li a {
    justify-content: center !important;
    text-align: center !important;
  }
  
  .footer-bottom-row {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .footer-bottom-row p {
    text-align: center !important;
  }
  .footer-security-tags {
    justify-content: center !important;
  }
  .footer-legal-note {
    text-align: center !important;
    font-size: 11px !important;
  }
}

/* Pantallas Muy Pequeñas (max-width: 480px) */
@media (max-width: 480px) {
  .erm-word-erm, .erm-word-year {
    font-size: 38px !important;
  }
  .pro-mega-clock-frameless .countdown-unit {
    min-width: 36px !important;
  }
  .pro-mega-clock-frameless .countdown-unit .num {
    font-size: 26px !important;
  }
  .pro-mega-clock-frameless .cd-colon {
    font-size: 20px !important;
  }
  .regions-board-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .footer-certification-badges {
    grid-template-columns: 1fr !important;
  }
  .editorial-stats-strip {
    grid-template-columns: 1fr !important;
  }
}

/* Reglas Responsive para Directorio de Regiones y Departamentos (Ultra Compacto Móvil) */
@media (max-width: 768px) {
  /* Ocultar elementos innecesarios en móvil (Ubigeo, Zonas Costa/Sierra/Selva, Ficha Metodológica) */
  .seo-compact-card,
  .ficha-tecnica-seo,
  .editorial-home-section {
    display: none !important;
  }
  .reg-list-badges {
    display: none !important;
  }
  .reg-zone-tag {
    display: none !important;
  }
  .reg-ubigeo-tag {
    display: none !important;
  }
  .reg-list-stats {
    display: none !important;
  }
  .dep-badge-pill.gold,
  .dep-badge-pill.green {
    display: none !important;
  }
  .lbl-full {
    display: none !important;
  }
  .lbl-short {
    display: inline !important;
  }

  .regions-executive-hero {
    padding: 24px 16px 20px 16px !important;
    border-radius: 14px !important;
    margin-bottom: 20px !important;
  }
  .hero-executive-heading {
    font-size: 20px !important;
    margin-bottom: 6px !important;
  }
  .hero-executive-lead {
    font-size: 12.5px !important;
    margin-bottom: 16px !important;
  }
  .regions-zone-pills {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
    padding: 4px !important;
  }
  .zone-pill {
    justify-content: center !important;
    font-size: 11.5px !important;
    padding: 6px 8px !important;
  }

  /* Fila de Región Ultra-Compacta (Una sola línea horizontal) */
  .regions-compact-list {
    gap: 7px !important;
  }
  .region-list-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 12px !important;
    gap: 8px !important;
    border-radius: 10px !important;
  }
  .reg-list-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .reg-list-idx {
    font-size: 11.5px !important;
    width: 18px !important;
    color: #94a3b8 !important;
  }
  .reg-list-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
    border-radius: 7px !important;
    flex-shrink: 0 !important;
  }
  .reg-list-title-wrap {
    min-width: 0 !important;
  }
  .reg-list-name {
    font-size: 14px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }
  .reg-list-actions {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-left: auto !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }
  .btn-list-provs {
    padding: 6px 8px !important;
    font-size: 11.5px !important;
    border-radius: 7px !important;
  }
  .btn-list-vote {
    padding: 6px 12px !important;
    font-size: 11.5px !important;
    border-radius: 7px !important;
    font-weight: 800 !important;
  }

  /* Vista de Provincias Detalle */
  .dep-detail-hero {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }
  .dep-detail-title {
    font-size: 19px !important;
    margin-bottom: 8px !important;
  }
  .dep-detail-desc {
    font-size: 13px !important;
    margin-bottom: 14px !important;
  }
  .dep-detail-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .btn-vote-regional-master, .btn-back-regions {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
  }
  .provincia-block-card {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }
  .provincia-card-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
  }
  .provincia-header-info {
    gap: 10px !important;
  }
  .prov-icon-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }
  .provincia-header-info h3 {
    font-size: 15px !important;
  }
  .provincia-header-info span {
    font-size: 11.5px !important;
  }
  .btn-prov-action {
    width: 100% !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
  }
  .distritos-chips-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }
  .distrito-chip-link {
    padding: 8px 10px !important;
    font-size: 12px !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .distrito-chip-link .chip-label {
    text-align: left !important;
    flex: 1 !important;
  }
  .distrito-chip-link .chip-arr {
    margin-left: auto !important;
  }
  .regional-macro-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .distritos-chips-grid {
    grid-template-columns: 1fr !important;
  }
  .regions-zone-pills {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ==========================================================================
   LAYOUT PRINCIPAL Y CONTENEDOR MAESTRO (Alineación Perfecta Header-Body-Footer)
   ========================================================================== */
.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  max-width: 1260px;
  margin: 0 auto 48px auto;
  padding: 0 20px;
  align-items: start;
  box-sizing: border-box;
}

.layout-grid.full {
  grid-template-columns: 1fr;
}

.content-area {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-area {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.breadcrumb {
  max-width: 1260px;
  margin: 18px auto 14px auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  box-sizing: border-box;
}

.breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: #be1717;
}

.breadcrumb i.fa-angle-right {
  font-size: 10px;
  color: #94a3b8;
}

.breadcrumb span {
  color: #0f172a;
  font-weight: 800;
}

@media (max-width: 992px) {
  .layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 0 16px;
  }
  .sidebar-area {
    position: static;
  }
}

/* Stealth Protected Tracker */
#_waueqh,
#_wau5xn,
[id^="_wau"],
a[href*="whos.amung.us"],
img[src*="whos.amung.us"],
img[src*="waust.at"],
._wau_custom {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* FORCE TRUNCATION FOR ALL LONG NAMES ON MOBILE */
@media (max-width: 768px) {
  .reg-list-name, .chip-label, .provincia-header-info h3, .btn-prov-action span {
    display: block !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .distrito-chip-link, .provincia-header-info, .prov-text-wrap, .reg-list-left, .reg-list-title-wrap {
    min-width: 0 !important;
  }
}
