/* ==========================================================================
   PERUINFORMATIVO.COM ― PORTAL CÍVICO Y DIRECTORIO MUNICIPAL DEL PERÚ
   Paleta Institucional Cívica Premium: Azul Real Cívico, Pizarra y Esmeralda
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.25);
  --secondary: #0f172a;
  --secondary-hover: #1e293b;
  --secondary-light: #f8fafc;
  --color-civic-blue: #2563eb;
  --color-civic-sky: #0284c7;
  --color-civic-teal: #0d9488;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --navy: #0b1329;
  --navy-light: #1e293b;
  --dark-bg: #070d1e;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --danger: #e11d48;
  --danger-bg: #fff1f2;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-focus: #38bdf8;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 22px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 36px -8px rgba(15, 23, 42, 0.12);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#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, #0b1528 0%, #172554 50%, #0b1528 100%);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10000;
  min-height: 72px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 24px rgba(11, 21, 40, 0.28);
  border-bottom: 2px solid #38bdf8;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.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: #38bdf8;
  font-weight: 900;
}

.logo-tag {
  font-size: 10px;
  font-weight: 800;
  color: #93c5fd;
  letter-spacing: 0.8px;
  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 #cbd5e1;
  border-radius: 28px;
  padding: 0 16px;
  height: 42px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.header-search-white-box:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35);
}

.search-icon-lead {
  color: #0284c7;
  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.14);
  color: #38bdf8;
}

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

.nav-item-link.nav-link-hot:hover {
  background: #38bdf8;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

.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;
  }
}

/* ==========================================================================
   GOOGLE ADSENSE CONTAINER STYLES (Optimizados para evitar CLS y superposiciones)
   ========================================================================== */
.adsense-container {
  display: block;
  width: 100%;
  margin: 18px auto;
  text-align: center;
  overflow: hidden;
  clear: both;
}
.adsense-container-header {
  margin: 12px auto 18px auto;
  text-align: center;
  max-width: 100%;
}
.adsense-container.adsense-infeed_ad {
  margin: 22px auto;
  max-width: 728px;
}
.adsense-container.adsense-sidebar_ad {
  margin: 15px auto;
  min-height: 250px;
}
.adsense-container.adsense-footer_ad {
  margin: 28px auto 20px auto;
  max-width: 728px;
}

/* ==========================================================================
   PERU INFORMATIVO ― SUITE DE ESTILOS PROFESIONALES MEJORADOS PREMIUM (2026)
   Diseño de Alta Fidelidad: Glassmorphism, Micro-Iluminación y Tipografía Outfit
   ========================================================================== */

/* 1. SECCIÓN HERO ULTRA-PREMIUM (PÁGINA DE INICIO) ― PORTADA CÍVICA MAJESTUOSA */
.pro-hero-section {
  position: relative;
  min-height: clamp(680px, 86vh, 880px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #070d1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 105px 0 95px 0;
}

@media (max-width: 768px) {
  .pro-hero-section {
    min-height: 600px;
    padding: 70px 0 55px 0;
  }
}

.pro-hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.pro-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: brightness(0.88) contrast(1.04);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pro-hero-section:hover .pro-hero-img {
  transform: scale(1.04);
}

.pro-hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 36%, rgba(7, 13, 30, 0.44) 0%, rgba(7, 13, 30, 0.72) 85%),
              linear-gradient(180deg, rgba(11, 21, 40, 0.88) 0%, rgba(11, 21, 40, 0.22) 26%, rgba(7, 13, 30, 0.46) 65%, #070d1e 100%);
}

.pro-hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Contenido directo sin caja artificial (removido marco general) */
.pro-hero-content-direct,
.pro-hero-card-glass {
  width: 100% !important;
  max-width: 1220px !important;
  margin: 0 auto !important;
  text-align: center !important;
  padding: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.pro-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(11, 21, 40, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
  border-radius: 30px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.pro-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: proLivePulse 1.8s infinite;
}

@keyframes proLivePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pro-hero-title {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  max-width: 1100px;
  margin: 0 auto 20px auto;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.92), 0 1px 4px rgba(0, 0, 0, 0.95);
}

.text-gradient-civic {
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.6), 0 4px 14px rgba(0, 0, 0, 0.95) !important;
}

.text-gradient-sky {
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
  text-shadow: 0 0 24px rgba(125, 211, 252, 0.6), 0 4px 14px rgba(0, 0, 0, 0.95) !important;
}

.text-gradient-emerald {
  color: #4ade80 !important;
  -webkit-text-fill-color: #4ade80 !important;
  text-shadow: 0 0 24px rgba(74, 222, 128, 0.6), 0 4px 14px rgba(0, 0, 0, 0.95) !important;
}

.pro-hero-subtitle {
  font-size: clamp(15.5px, 1.9vw, 17.5px);
  color: #f1f5f9;
  line-height: 1.65;
  max-width: 900px;
  margin: 0 auto 38px auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Buscador Rápido del Hero */
.pro-hero-search-box {
  max-width: 680px;
  margin: 0 auto 28px auto;
  position: relative;
}

.pro-search-form {
  position: relative;
}

.pro-search-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 14px;
  padding: 6px 8px 6px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.pro-search-input-wrap:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.35);
}

.pro-search-icon {
  color: #64748b;
  font-size: 17px;
  margin-right: 12px;
}

.pro-hero-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #0f172a;
  font-family: inherit;
  background: transparent;
  padding: 6px 0;
}

.pro-hero-input::placeholder {
  color: #94a3b8;
  font-size: 14px;
}

.btn-pro-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pro-search:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .btn-pro-search span {
    display: none;
  }
  .btn-pro-search {
    padding: 12px 16px;
  }
}

.pro-hero-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  z-index: 100;
  text-align: left;
}

.pro-hero-result-item {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: #0f172a;
  transition: background 0.15s ease;
}

.pro-hero-result-item:last-child {
  border-bottom: none;
}

.pro-hero-result-item:hover {
  background: #f8fafc;
}

.pro-hero-result-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 14px;
  flex-shrink: 0;
}

.pro-hero-result-text {
  flex: 1;
  min-width: 0;
}

.pro-hero-result-text strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.pro-hero-result-text small {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

.pro-hero-result-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
}

.pro-hero-no-results {
  padding: 16px 20px;
  color: #64748b;
  font-size: 13.5px;
  text-align: center;
}

.pro-hero-quicktags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 14px;
}

.quicktags-label {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-tag-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}

.hero-tag-chip:hover {
  background: #38bdf8;
  color: #0b1528;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

/* Métricas del Hero */
.pro-metrics-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 16px 36px;
  background: rgba(11, 21, 40, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .pro-metrics-strip {
    gap: 16px;
    padding: 12px 20px;
    border-radius: 20px;
  }
}

.pro-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pro-metric-num {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.pro-metric-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 2px;
}

.pro-metric-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 16px;
}

/* 2. DIRECTORIO DE 25 REGIONES EN TARJETAS */
.pro-section {
  padding: 38px 0;
}

.pro-section-head {
  margin-bottom: 28px;
}

.pro-section-head.text-center {
  text-align: center;
}

.pro-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.pro-section-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.pro-section-desc {
  font-size: 14px;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

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

@media (max-width: 1200px) {
  .pro-regions-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .pro-regions-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .pro-regions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .pro-regions-grid { grid-template-columns: 1fr; }
}

.pro-region-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
}

.pro-region-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.12);
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.pro-region-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.pro-region-code-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b1528 0%, #1e293b 100%);
  color: #38bdf8;
  font-weight: 900;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.pro-region-card:hover .pro-region-code-badge {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
}

.pro-region-info {
  flex: 1;
  min-width: 0;
}

.pro-region-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pro-region-action {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.pro-region-card:hover .pro-region-action {
  color: #2563eb;
}

.pro-arrow-icon {
  font-size: 9px;
  transition: transform 0.2s ease;
}

.pro-region-card:hover .pro-arrow-icon {
  transform: translateX(3px);
}

/* 3. GUÍA DE TRÁMITES */
.pro-services-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 34px 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.pro-procedures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1080px) {
  .pro-procedures-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pro-procedures-grid { grid-template-columns: 1fr; }
}

.pro-procedure-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.pro-procedure-card.border-top-blue { border-top: 4px solid #2563eb; }
.pro-procedure-card.border-top-emerald { border-top: 4px solid #10b981; }
.pro-procedure-card.border-top-amber { border-top: 4px solid #f59e0b; }
.pro-procedure-card.border-top-rose { border-top: 4px solid #e11d48; }

.pro-procedure-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.proc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

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

.bg-blue-subtle { background: #eff6ff; }
.text-blue { color: #2563eb; }
.bg-emerald-subtle { background: #ecfdf5; }
.text-emerald { color: #059669; }
.bg-amber-subtle { background: #fffbeb; }
.text-amber { color: #d97706; }
.bg-rose-subtle { background: #fff1f2; }
.text-rose { color: #e11d48; }
.text-sky { color: #0284c7; }
.text-cyan { color: #06b6d4; }
.text-purple { color: #8b5cf6; }

.proc-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.proc-tag {
  font-size: 11px;
  color: #64748b;
  display: block;
}

.proc-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 14px;
}

.proc-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
}

.proc-link {
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease;
}

.proc-link:hover {
  gap: 9px;
  text-decoration: underline;
}

/* 4. PILARES CÍVICOS */
.pro-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .pro-pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .pro-pillars-grid { grid-template-columns: 1fr; }
}

.pro-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.pro-pillar-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.pro-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  font-size: 18px;
}

.pro-pillar-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.pro-pillar-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.pro-editorial-footer-note {
  font-size: 11.5px;
  color: #64748b;
  text-align: justify;
  line-height: 1.65;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

/* ==========================================================================
   5. PLANTILLA DE PÁGINAS TERRITORIALES (ENCUESTA_V9_MASTER)
   ========================================================================== */

/* Hero V2 */
.premium-hero-v2 {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin: 18px 0 22px 0;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
  background: #0b1528;
  color: #ffffff;
}

.hero-cover-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.58) saturate(1.15);
  transform: scale(1.02);
  transition: transform 1.2s ease;
}

.premium-hero-v2:hover .hero-cover-img {
  transform: scale(1.04);
}

.hero-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,21,40,0.85) 0%, rgba(15,23,42,0.65) 50%, rgba(11,21,40,0.96) 100%);
}

.hero-content-v2 {
  position: relative;
  z-index: 2;
  padding: 38px 36px 34px 36px;
}

@media (max-width: 640px) {
  .hero-content-v2 {
    padding: 24px 18px 22px 18px;
  }
}

/* Breadcrumbs */
.pro-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.pro-breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s ease;
}

.pro-breadcrumbs a:hover {
  color: #38bdf8;
}

.pro-bc-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
}

.pro-bc-current {
  color: #ffffff;
  font-weight: 700;
}

/* Badges strip */
.hero-badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  align-items: center;
}

.badge-status-live {
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.live-dot-glow {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: proLivePulse 1.8s infinite;
}

.badge-territory-pill {
  background: rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-title-v2 {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: clamp(24px, 4.2vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 14px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.5px;
}

.hero-summary-v2 {
  font-size: 14.5px;
  color: #e2e8f0;
  line-height: 1.65;
  max-width: 920px;
  margin: 0 0 24px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Glass Stats Grid */
.hero-stats-glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 12px;
  max-width: 980px;
  align-items: stretch;
  margin-bottom: 22px;
}

.hero-stat-card {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.border-glow-blue:hover { border-color: #38bdf8; }
.border-glow-amber:hover { border-color: #fbbf24; }
.border-glow-emerald:hover { border-color: #34d399; }
.border-glow-cyan:hover { border-color: #22d3ee; }
.border-glow-purple:hover { border-color: #a78bfa; }

.stat-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.stat-card-top small {
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-stat-card strong {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.25;
}

/* Hero CTA Quick Bar */
.hero-cta-quick-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-cta-danger {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}
.btn-cta-danger:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-cta-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-cta-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-cta-secondary:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-1px); }

.btn-cta-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.btn-cta-warning:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Sticky QuickNav */
.civic-quicknav-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 74px;
  z-index: 99;
}

.quicknav-inner {
  display: flex;
  gap: 8px;
  align-items: center;
}

.quicknav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
}

.quicknav-pill:hover {
  background: #0b1528;
  color: #ffffff;
  border-color: #0b1528;
  transform: translateY(-1px);
}

.quicknav-pill i {
  color: #0284c7;
}

.quicknav-pill:hover i {
  color: #38bdf8;
}

/* Layout 2 Cols */
.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  margin-bottom: 40px;
}

@media (max-width: 991px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Content Card Generic */
.pro-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 26px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
}

.card-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.card-head-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-head-subtitle {
  color: #64748b;
  font-size: 12.5px;
  display: block;
  margin-top: 3px;
}

.chip-count-pro {
  font-size: 11.5px;
  font-weight: 800;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Territory Children Grid */
.territory-children-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.territory-child-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.territory-child-card:hover {
  background: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}

.territory-child-badge {
  font-size: 11px;
  font-weight: 800;
  color: #2563eb;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.territory-child-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.territory-child-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.btn-territory-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #0b1528;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-territory-card:hover {
  background: #2563eb;
}

/* Emergency Balanced 2x2 */
.emergency-grid-balanced {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .emergency-grid-balanced {
    grid-template-columns: 1fr;
  }
}

.emergency-card-pro {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.emergency-card-pro:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.emergency-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
}

.emergency-card-pro.serenazgo::before { background: #2563eb; }
.emergency-card-pro.pnp::before { background: #059669; }
.emergency-card-pro.salud::before { background: #e11d48; }
.emergency-card-pro.bomberos::before { background: #d97706; }

.emergency-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.emergency-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.emergency-title {
  font-size: 14.5px;
  color: #0f172a;
  display: block;
}

.emergency-tag {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
}

.emergency-desc {
  font-size: 12.5px;
  color: #475569;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.badge-emergency-live {
  font-size: 11.5px;
  font-weight: 800;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-call-emergency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 16px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.18s ease;
  margin-top: 12px;
  width: 100%;
  box-sizing: border-box;
}

.btn-call-emergency:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.btn-call-emergency.blue { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%); }
.btn-call-emergency.green { background: linear-gradient(135deg, #047857 0%, #059669 100%); }
.btn-call-emergency.red { background: linear-gradient(135deg, #be123c 0%, #e11d48 100%); }
.btn-call-emergency.amber { background: linear-gradient(135deg, #b45309 0%, #d97706 100%); }

/* Sede Institucional */
.badge-registered-entity {
  font-size: 11.5px;
  font-weight: 800;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 4px 12px;
  border-radius: 20px;
}

.muni-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  font-size: 13.5px;
}

.muni-detail-block {
  padding: 14px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.muni-detail-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.muni-detail-value {
  color: #0f172a;
  font-size: 15px;
  display: block;
  margin-top: 2px;
}

.muni-detail-text {
  color: #334155;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.muni-phone-link {
  color: #2563eb;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.muni-cta-bar {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.muni-cta-tag {
  font-size: 12px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-pro-map {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-pro-map:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Barómetro Vecinal */
.barometro-tag-top {
  font-size: 11px;
  font-weight: 800;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.badge-votes-count {
  font-size: 12px;
  font-weight: 800;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.barometro-option-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.barometro-option-card:hover {
  border-color: #93c5fd;
  transform: translateX(3px);
}

.barometro-option-card.voted {
  border-color: #3b82f6;
  background: #eff6ff;
}

.barometro-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(219, 234, 254, 0.8) 0%, rgba(191, 219, 254, 0.5) 100%);
  z-index: 1;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.barometro-option-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.barometro-option-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.barometro-check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.barometro-check-circle.checked {
  border-color: #2563eb;
  background: #2563eb;
}

.barometro-option-text {
  font-size: 14px;
  color: #1e293b;
  font-weight: 700;
}

.barometro-option-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.barometro-pct {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}

.btn-votar-barometro {
  background: #1d4ed8;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-votar-barometro.is-voted {
  background: #059669;
}

.alert-success-barometro {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 16px;
  text-align: center;
}

/* Procedures Balanced */
.badge-tupa-active {
  font-size: 11.5px;
  font-weight: 800;
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  padding: 4px 12px;
  border-radius: 20px;
}

.proc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 10px;
  gap: 8px;
}

.channel-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.channel-badge.presencial { background: #eff6ff; color: #1d4ed8; }
.channel-badge.virtual { background: #ecfdf5; color: #047857; }

.proc-num-badge {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 700;
}

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

.proc-card-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.proc-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proc-time-tag {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 700;
}

.proc-consult-link {
  color: #2563eb;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
}

/* Comentarios Ciudadanos */
.badge-comments-count {
  font-size: 12px;
  font-weight: 800;
  background: #f0fdf4;
  color: #166534;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}

.comment-form-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}

.comment-form-heading {
  margin: 0 0 12px 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.comment-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.comment-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  display: block;
  margin-bottom: 4px;
}

.comment-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.comment-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
}

/* Star Rating Selector Interactivo */
.star-rating-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
}

.star-btn {
  font-size: 20px;
  color: #cbd5e1;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-btn.active {
  color: #f59e0b;
}

.star-btn:hover {
  transform: scale(1.15);
}

.star-rating-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  margin-left: 8px;
}

.comment-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.comment-rules-tag {
  font-size: 11.5px;
  color: #64748b;
}

.btn-publish-comment {
  background: #0b1528;
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease;
}

.btn-publish-comment:hover {
  background: #2563eb;
}

.comment-status-box {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
}

.comment-status-box.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.comment-status-box.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Comment Item */
.comment-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-user-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0b1528;
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.comment-author-name {
  font-size: 14px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-neighbor-tag {
  font-size: 10px;
  font-weight: 800;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 1px 6px;
  border-radius: 10px;
}

.comment-stars {
  color: #f59e0b;
  font-size: 13px;
  display: block;
}

.comment-meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-time-ago {
  font-size: 11.5px;
  color: #64748b;
}

.btn-helpful {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-helpful:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.comment-body-text {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
  margin: 6px 0 0 0;
}

.no-comments-box {
  text-align: center;
  padding: 30px 20px;
  color: #0f172a;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
}

/* Cultura y Turismo Grid */
.culture-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.culture-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
}

.culture-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.culture-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.culture-title {
  font-size: 14.5px;
  color: #0f172a;
}

.culture-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: #475569;
}

.culture-desc {
  font-size: 12.5px;
  color: #475569;
  margin: 0;
  line-height: 1.55;
}

/* FAQs Accordion */
.faqs-stream {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item[open] {
  background: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.08);
}

.faq-summary {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon-chevron {
  transition: transform 0.24s ease;
  color: #64748b;
  font-size: 13px;
}

.faq-accordion-item[open] .faq-icon-chevron {
  transform: rotate(180deg);
  color: #0284c7;
}

.faq-body {
  font-size: 14px;
  color: #475569;
  margin: 14px 0 0 0;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

/* Sidebar Widgets */
.sidebar-area {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-pro-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.02);
}

.sidebar-widget-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-dial-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-dial-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.dial-pnp { background: #fef2f2; border-color: #fee2e2; }
.dial-bomberos { background: #fffbeb; border-color: #fef3c7; }
.dial-samu { background: #f0fdf4; border-color: #dcfce7; }
.dial-mujer { background: #eff6ff; border-color: #dbeafe; }

.dial-name {
  color: #0f172a;
  display: block;
  font-size: 13px;
}

.dial-sub {
  color: #64748b;
  font-size: 11px;
}

.btn-dial-quick {
  color: #ffffff;
  font-weight: 800;
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.btn-dial-quick:hover { opacity: 0.9; }
.btn-dial-red { background: #dc2626; }
.btn-dial-amber { background: #d97706; }
.btn-dial-green { background: #16a34a; }
.btn-dial-blue { background: #2563eb; }

.sidebar-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sci-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
}

.sci-item small {
  display: block;
  color: #64748b;
  font-size: 11px;
}

.sci-item strong, .sci-item span {
  color: #0f172a;
  font-weight: 700;
}

.sidebar-links-stream {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.sidebar-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #334155;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f8fafc;
  transition: all 0.15s ease;
}

.sidebar-link-row:hover {
  background: #eff6ff;
  color: #2563eb;
  padding-left: 12px;
}

.arrow-mini {
  font-size: 10px;
  color: #cbd5e1;
}

.adsense-sidebar-box {
  margin-top: 6px;
}

/* ==========================================================================
   PERU INFORMATIVO ― ALINEACIÓN VERTICAL Y BOTONES INTELIGENTES (V10 2026)
   Alineación Perfecta a 1260px, Botones Full-Width y Barómetro con Iconos
   ========================================================================== */

/* 1. CONTENEDORES Y ALINEACIÓN VERTICAL 100% ARMONIOSA */
.hero-outer-container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.quicknav-outer-wrap {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto 24px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.quicknav-outer-wrap .civic-quicknav-bar {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

/* 2. BOTONES ADAPTABLES INTELIGENTES (RESPONSIVE FULL-WIDTH) */
.hero-cta-quick-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

@media (max-width: 768px) {
  .hero-cta-quick-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }
  .btn-hero-cta {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .hero-cta-quick-bar {
    grid-template-columns: 1fr;
  }
}

/* Botones de tarjetas de territorio */
.btn-territory-card {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  padding: 9px 14px;
}

/* Botones de consulta en trámites */
.btn-proc-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
  box-sizing: border-box;
}

.btn-proc-consult:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

@media (max-width: 640px) {
  .proc-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .btn-proc-consult {
    width: 100%;
    text-align: center;
  }
  .btn-pro-map {
    width: 100%;
    justify-content: center;
  }
  .muni-cta-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-publish-comment {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
  .comment-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* 3. BARÓMETRO VECINAL ULTRA-PREMIUM CON ICONOS DESTACADOS */
.barometro-box-premium {
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.barometro-cards-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.barometro-pro-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.barometro-pro-card:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.12);
}

.barometro-pro-card.voted {
  border-color: #10b981 !important;
  background: #f0fdf4 !important;
}

/* Barra de progreso interactiva */
.barometro-bar-fill-pro {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Contenido de la tarjeta */
.barometro-pro-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Iconos temáticos dedicados */
.barometro-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Temas Cromáticos */
.theme-blue .barometro-icon-badge {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.theme-blue .barometro-bar-fill-pro {
  background: linear-gradient(90deg, rgba(219, 234, 254, 0.75) 0%, rgba(191, 219, 254, 0.35) 100%);
  border-right: 3px solid #2563eb;
}

.theme-emerald .barometro-icon-badge {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.theme-emerald .barometro-bar-fill-pro {
  background: linear-gradient(90deg, rgba(209, 250, 229, 0.75) 0%, rgba(167, 243, 208, 0.35) 100%);
  border-right: 3px solid #059669;
}

.theme-amber .barometro-icon-badge {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.theme-amber .barometro-bar-fill-pro {
  background: linear-gradient(90deg, rgba(254, 243, 199, 0.75) 0%, rgba(253, 230, 138, 0.35) 100%);
  border-right: 3px solid #d97706;
}

.theme-purple .barometro-icon-badge {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.theme-purple .barometro-bar-fill-pro {
  background: linear-gradient(90deg, rgba(237, 233, 254, 0.75) 0%, rgba(221, 214, 254, 0.35) 100%);
  border-right: 3px solid #7c3aed;
}

.theme-rose .barometro-icon-badge {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}
.theme-rose .barometro-bar-fill-pro {
  background: linear-gradient(90deg, rgba(255, 228, 230, 0.75) 0%, rgba(254, 205, 211, 0.35) 100%);
  border-right: 3px solid #e11d48;
}

/* Bloque de Textos */
.barometro-text-block {
  flex: 1;
  min-width: 0;
}

.barometro-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.barometro-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.barometro-check-indicator {
  font-size: 11px;
  font-weight: 800;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.barometro-card-desc {
  font-size: 12.5px;
  color: #64748b;
  margin: 3px 0 0 0;
  line-height: 1.45;
}

/* Bloque de Acción y Porcentaje */
.barometro-action-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.barometro-pct-pro {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  min-width: 54px;
  text-align: right;
}

.btn-votar-barometro-pro {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-votar-barometro-pro:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-votar-barometro-pro.is-voted {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25) !important;
}

.alert-success-barometro-pro {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}

.alert-success-barometro-pro i {
  font-size: 24px;
  color: #10b981;
  flex-shrink: 0;
}

/* Responsividad para móviles en el Barómetro */
@media (max-width: 680px) {
  .barometro-pro-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .barometro-action-block {
    width: 100%;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  .btn-votar-barometro-pro {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
  }
  .barometro-pct-pro {
    text-align: left;
    min-width: auto;
  }
}

/* Sidebar Widgets extras */
.btn-sidebar-all-regions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.btn-sidebar-all-regions:hover {
  background: #2563eb;
  color: #ffffff;
}

.widget-transparencia {
  background: linear-gradient(135deg, #0b1528 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.transp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.transp-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.transp-title {
  color: #ffffff;
  font-size: 13.5px;
  display: block;
}

.transp-sub {
  color: #94a3b8;
  font-size: 11px;
}

.transp-desc {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 12px;
}

.btn-transparencia-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.15s ease;
}

.btn-transparencia-link:hover {
  background: #1d4ed8;
}

/* ==========================================================================
   PERU INFORMATIVO ― BOTONES FULL-WIDTH SIN ESPACIO VACÍO (2026)
   Los 4 botones del Hero se expanden al 100% del ancho del contenedor
   ========================================================================== */

/* 1. HERO CTA BOTONES AL 100% DEL ANCHO (SIN DEJAR ESPACIO) */
.hero-cta-quick-bar {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  margin-top: 10px !important;
}

.hero-cta-quick-bar .btn-hero-cta {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 18px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  transition: all 0.22s ease !important;
  white-space: nowrap !important;
  flex: 1 1 0 !important;
}

@media (max-width: 1100px) {
  .hero-cta-quick-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 580px) {
  .hero-cta-quick-bar {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .hero-cta-quick-bar .btn-hero-cta {
    padding: 13px 14px !important;
    font-size: 13.5px !important;
    white-space: normal !important;
  }
}

/* 2. STATS CARDS Y RESUMEN DEL HERO AL 100% DEL ANCHO */
.hero-stats-glass-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
  margin-bottom: 22px !important;
}

.hero-summary-v2 {
  width: 100% !important;
  max-width: 100% !important;
}

.hero-content-v2 {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 3. BOTONES EN OTRAS SECCIONES AL 100% DEL ANCHO */

/* Botones de tarjetas territoriales */
.btn-territory-card {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  padding: 10px 14px !important;
  margin-top: 12px !important;
  border-radius: 8px !important;
}

/* Botones de centrales de emergencia */
.btn-call-emergency {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  box-sizing: border-box !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  margin-top: 12px !important;
}

/* Botones de consulta en trámites */
.proc-card-footer {
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.btn-proc-consult {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1d4ed8 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  padding: 9px 14px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
}

.btn-proc-consult:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

/* Botón Google Maps en sede */
@media (max-width: 768px) {
  .btn-pro-map {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Botón de publicar opinión ciudadana */
@media (max-width: 768px) {
  .btn-publish-comment {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px !important;
  }
  .comment-form-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
}

/* Enlaces del sidebar */
.btn-sidebar-all-regions {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.btn-transparencia-link {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   PERU INFORMATIVO ― BOTONES QUICKNAV SIN MARCO GENERAL Y A ANCHO COMPLETO
   Saca los botones de su marco blanco y los expande al 100% del contenedor
   ========================================================================== */

.quicknav-outer-wrap {
  width: 100% !important;
  max-width: 1260px !important;
  margin: 0 auto 28px auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  position: sticky !important;
  top: 72px !important;
  z-index: 99 !important;
}

/* Eliminar completamente el marco general blanco, su borde y su sombra */
.civic-quicknav-bar {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: static !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Fila de botones que ocupa el 100% del ancho del contenedor */
.quicknav-inner {
  display: flex !important;
  width: 100% !important;
  gap: 12px !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
}

/* Cada botón se expande de manera equitativa ocupando todo el ancho */
.quicknav-pill {
  flex: 1 1 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 13px 14px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #1e293b !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.quicknav-pill i {
  color: #0284c7 !important;
  font-size: 14px !important;
  transition: color 0.18s ease !important;
}

/* Hover de alto impacto premium */
.quicknav-pill:hover {
  background: #0b1528 !important;
  color: #ffffff !important;
  border-color: #0b1528 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(11, 21, 40, 0.18) !important;
}

.quicknav-pill:hover i {
  color: #38bdf8 !important;
}

/* Píldora activa destacada */
.quicknav-pill.active-pill {
  background: #eff6ff !important;
  border-color: #3b82f6 !important;
  color: #1d4ed8 !important;
}

.quicknav-pill.active-pill i {
  color: #2563eb !important;
}

.quicknav-pill.active-pill:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}

.quicknav-pill.active-pill:hover i {
  color: #ffffff !important;
}

/* En tablets y móviles permite desplazamiento horizontal suave si no caben los 7 botones */
@media (max-width: 1080px) {
  .civic-quicknav-bar {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 0 !important;
  }
  .civic-quicknav-bar::-webkit-scrollbar {
    display: none !important;
  }
  .quicknav-inner {
    width: max-content !important;
    min-width: 100% !important;
    gap: 8px !important;
  }
  .quicknav-pill {
    flex: 0 0 auto !important;
    min-width: 130px !important;
    padding: 10px 16px !important;
  }
}

/* ==========================================================================
   PERU INFORMATIVO ― BOTONES INTELIGENTES SIN SCROLL (CONTENT-AWARE & WRAP)
   Sin scroll horizontal. Cada botón se dimensiona según su contenido
   y se acomoda inteligentemente llenando todo el ancho disponible.
   ========================================================================== */

/* 1. BARRA RÁPIDA (QUICKNAV): SIN SCROLL, FLEX-WRAP INTELIGENTE */
.quicknav-outer-wrap {
  width: 100% !important;
  max-width: 1260px !important;
  margin: 0 auto 26px auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  position: sticky !important;
  top: 72px !important;
  z-index: 99 !important;
  overflow: visible !important;
}

.civic-quicknav-bar {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: static !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important; /* CERO SCROLLBAR */
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.quicknav-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 8px !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
}

/* Cada botón se dimensiona inteligentemente de acuerdo a su contenido
   y se expande proporcionalmente (flex: 1 1 auto) para llenar el 100% del ancho sin scroll */
.quicknav-pill {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 10px 13px !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #1e293b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.quicknav-pill i {
  color: #0284c7 !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
  transition: color 0.18s ease !important;
}

.quicknav-pill span {
  display: inline-block !important;
}

.quicknav-pill:hover {
  background: #0b1528 !important;
  color: #ffffff !important;
  border-color: #0b1528 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(11, 21, 40, 0.18) !important;
}

.quicknav-pill:hover i {
  color: #38bdf8 !important;
}

/* 2. BOTONES DEL HERO: ADAPTABILIDAD INTELIGENTE (FLEX 1 1 AUTO) */
.hero-cta-quick-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  margin-top: 10px !important;
  overflow: visible !important;
}

.hero-cta-quick-bar .btn-hero-cta {
  flex: 1 1 auto !important;
  min-width: 170px !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  padding: 13px 20px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  transition: all 0.22s ease !important;
  white-space: nowrap !important;
}

@media (max-width: 580px) {
  .hero-cta-quick-bar .btn-hero-cta {
    min-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
  }
}

/* 3. ANULACIÓN TOTAL DE CUALQUIER SCROLL HORIZONTAL */
@media (max-width: 1080px) {
  .civic-quicknav-bar {
    overflow-x: visible !important;
    overflow: visible !important;
  }
  .quicknav-inner {
    width: 100% !important;
    min-width: 0 !important;
  }
  .quicknav-pill {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
}

/* ==========================================================================
   PERU INFORMATIVO ― BOTONES INTELIGENTES MULTI-NÚMERO Y TRÁMITES (2026)
   - Cada número telefónico se separa en su propio botón individual interactivo
   - Sin scroll, cada botón con el tamaño necesario adaptándose inteligentemente
   - Guía de trámites con botón de consulta proporcional y equilibrado
   ========================================================================== */

/* 1. CONTENEDOR Y BOTONES INTELIGENTES PARA NÚMEROS TELEFÓNICOS SEPARADOS */
.smart-phone-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 12px !important;
  overflow: visible !important;
}

.btn-smart-phone {
  flex: 1 1 auto !important;
  min-width: 130px !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 15px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  text-align: center !important;
  white-space: nowrap !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

.btn-smart-phone i {
  font-size: 14px !important;
  flex-shrink: 0 !important;
}

/* Colores temáticos de emergencia y auxilio */
.btn-smart-phone.blue {
  background: #0284c7 !important;
  color: #ffffff !important;
  border: 1px solid #0284c7 !important;
}
.btn-smart-phone.blue:hover {
  background: #0369a1 !important;
  color: #ffffff !important;
  border-color: #0369a1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.32) !important;
}

.btn-smart-phone.green {
  background: #059669 !important;
  color: #ffffff !important;
  border: 1px solid #059669 !important;
}
.btn-smart-phone.green:hover {
  background: #047857 !important;
  color: #ffffff !important;
  border-color: #047857 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.32) !important;
}

.btn-smart-phone.red {
  background: #e11d48 !important;
  color: #ffffff !important;
  border: 1px solid #e11d48 !important;
}
.btn-smart-phone.red:hover {
  background: #be123c !important;
  color: #ffffff !important;
  border-color: #be123c !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.32) !important;
}

.btn-smart-phone.amber {
  background: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid #d97706 !important;
}
.btn-smart-phone.amber:hover {
  background: #b45309 !important;
  color: #ffffff !important;
  border-color: #b45309 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.32) !important;
}

/* Teléfonos de Sede Institucional (Estilo elegante de alto contraste) */
.btn-smart-phone.outline-emerald {
  background: #f0fdf4 !important;
  color: #065f46 !important;
  border: 1.5px solid #86efac !important;
}
.btn-smart-phone.outline-emerald:hover {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.25) !important;
}
.btn-smart-phone.outline-emerald:hover i {
  color: #ffffff !important;
}

/* 2. TELÉFONOS EN EL SIDEBAR (MESA DE PARTES & CONTACTO) */
.sidebar-phone-pills-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 5px !important;
  width: 100% !important;
}

.sidebar-phone-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  background: #f0fdf4 !important;
  border: 1px solid #86efac !important;
  color: #065f46 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
}

.sidebar-phone-pill i {
  color: #059669 !important;
  font-size: 11px !important;
}

.sidebar-phone-pill:hover {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  transform: translateY(-1px) !important;
}

.sidebar-phone-pill:hover i {
  color: #ffffff !important;
}

/* 3. GUÍA DE TRÁMITES: DISEÑO ELEGANTE Y PROPORCIONADO */
.proc-card-footer {
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 14px !important;
  margin-top: auto !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

.proc-time-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  background: #f8fafc !important;
  padding: 6px 11px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  flex: 0 0 auto !important;
}

.proc-time-tag i {
  color: #0284c7 !important;
  font-size: 12px !important;
}

.btn-proc-consult {
  width: auto !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #eff6ff !important;
  border: 1.5px solid #bfdbfe !important;
  color: #1d4ed8 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 8px 18px !important;
  border-radius: 9px !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08) !important;
}

.btn-proc-consult:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  transform: translateY(-1px) translateX(2px) !important;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.25) !important;
}

.btn-proc-consult:hover i {
  transform: translateX(3px) !important;
}

@media (max-width: 480px) {
  .proc-card-footer {
    flex-wrap: wrap !important;
  }
  .btn-proc-consult {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* 4. TARJETAS DE TRÁMITES TUPA ULTRA-PREMIUM */
.procedures-compact-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  margin-top: 20px !important;
  box-sizing: border-box !important;
}

@media (max-width: 820px) {
  .procedures-compact-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

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

.procedure-card-pro:hover {
  border-color: #93c5fd !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
  transform: translateY(-2px) !important;
}

.proc-card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 12px !important;
}

.channel-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.channel-badge.presencial {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

.channel-badge.virtual {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
}

.proc-num-badge {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
}

.proc-card-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 0 0 8px 0 !important;
}

.proc-card-desc {
  font-size: 13.5px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin: 0 0 16px 0 !important;
}

/* ==========================================================================
   5. HUB DE ACCIONES DE PORTADA CÍVICA (HOME) ― A TODO EL ANCHO DEL CONTENEDOR
   ========================================================================== */
.pro-hero-hub-actions {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 1220px !important;
  margin: 0 auto 36px auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 992px) {
  .pro-hero-hub-actions {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 520px) {
  .pro-hero-hub-actions {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

.btn-hero-hub {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 16px 20px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  text-align: center !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

.btn-hero-hub i {
  font-size: 16px !important;
  flex-shrink: 0 !important;
}

.btn-hero-hub.btn-hub-primary {
  background: #0284c7 !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
}
.btn-hero-hub.btn-hub-primary:hover {
  background: #0369a1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35) !important;
}

.btn-hero-hub.btn-hub-blue {
  background: #1e40af !important;
  color: #ffffff !important;
  border: 1px solid #60a5fa !important;
}
.btn-hero-hub.btn-hub-blue:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.35) !important;
}

.btn-hero-hub.btn-hub-emerald {
  background: #059669 !important;
  color: #ffffff !important;
  border: 1px solid #34d399 !important;
}
.btn-hero-hub.btn-hub-emerald:hover {
  background: #047857 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35) !important;
}

.btn-hero-hub.btn-hub-amber {
  background: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid #fbbf24 !important;
}
.btn-hero-hub.btn-hub-amber:hover {
  background: #b45309 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35) !important;
}

/* ==========================================================================
   6. SECCIÓN IDENTIDAD, PATRIMONIO CULTURAL Y TRADICIÓN (CONTENIDO PROFESIONAL)
   ========================================================================== */
.patrimonio-block {
  margin-bottom: 22px !important;
}

.patrimonio-subtitle {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 0 14px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.patrimonio-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
}

@media (max-width: 768px) {
  .patrimonio-grid {
    grid-template-columns: 1fr !important;
  }
}

.patrimonio-card {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.patrimonio-card:hover {
  background: #ffffff !important;
  border-color: #93c5fd !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05) !important;
}

.patrimonio-icon {
  width: 40px !important;
  height: 40px !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1d4ed8 !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
}

.patrimonio-title {
  display: block !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 6px !important;
  line-height: 1.3 !important;
}

.patrimonio-desc {
  font-size: 13px !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

.patrimonio-identity-row {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  margin-top: 14px !important;
}

@media (max-width: 768px) {
  .patrimonio-identity-row {
    grid-template-columns: 1fr !important;
  }
}

.identity-box {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 18px !important;
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
}

.identity-box.festividad {
  border-left: 4px solid #f59e0b !important;
}

.identity-box.gastronomia {
  border-left: 4px solid #f43f5e !important;
}

.ib-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
  background: #f8fafc !important;
}

.identity-box.festividad .ib-icon {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #d97706 !important;
}

.identity-box.gastronomia .ib-icon {
  background: #fff1f2 !important;
  border: 1px solid #fecdd3 !important;
  color: #e11d48 !important;
}

.ib-label {
  display: block !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #94a3b8 !important;
  margin-bottom: 4px !important;
}

.ib-title {
  display: block !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.4 !important;
}

.ib-text {
  font-size: 13px !important;
  color: #475569 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* ==========================================================================
   SUITE CÍVICA Y TERRITORIAL 2026: BADGES, ESTADOS EN VIVO Y DIFUSIÓN VECINAL
   ========================================================================== */

/* 1. Badge de Verificación Oficial Cívica */
.badge-civic-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.badge-civic-verified i {
  font-size: 13px;
  color: #10b981;
}

/* 2. Badge de Estado de Mesa de Partes en Tiempo Real */
.badge-office-status {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  margin-top: 4px;
}

.badge-office-status.open {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #166534;
}

.badge-office-status.closed {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
}

.live-dot-green {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: statusPulseGreen 1.8s infinite;
  flex-shrink: 0;
}

.live-dot-red {
  width: 9px;
  height: 9px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: statusPulseRed 1.8s infinite;
  flex-shrink: 0;
}

@keyframes statusPulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes statusPulseRed {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.badge-office-status .status-strong {
  font-weight: 800;
  letter-spacing: -0.1px;
}

.badge-office-status .status-divider {
  opacity: 0.5;
}

.badge-office-status .status-sub {
  font-size: 11.5px;
  opacity: 0.9;
}

/* 3. Filtro en Tiempo Real de Provincias y Distritos */
.territory-live-filter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.territory-live-filter-box .filter-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 7px 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.territory-live-filter-box .filter-input-wrap:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.territory-live-filter-box .filter-input-wrap i {
  color: #94a3b8;
  font-size: 14px;
}

.territory-live-filter-box .input-territory-live-filter {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 13.5px;
  color: #0f172a;
}

.territory-live-filter-box .input-territory-live-filter::placeholder {
  color: #94a3b8;
}

.territory-filter-count {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

/* 4. Tarjeta Viral de Difusión Vecinal en WhatsApp */
.barometro-share-card {
  margin-top: 24px;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border: 1.5px solid #10b981;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.35);
  color: #ffffff;
}

.barometro-share-card .share-card-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 250px;
}

.barometro-share-card .share-whatsapp-icon-circle {
  width: 46px;
  height: 46px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.barometro-share-card .share-card-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #f0fdf4;
  margin-bottom: 2px;
}

.barometro-share-card .share-card-sub {
  margin: 0;
  font-size: 12.5px;
  color: #a7f3d0;
  line-height: 1.4;
}

.btn-share-whatsapp-civic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #25d366;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
}

.btn-share-whatsapp-civic:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-share-whatsapp-civic i {
  font-size: 17px;
}

@media (max-width: 640px) {
  .btn-share-whatsapp-civic {
    width: 100%;
  }
}

/* 5. Cuadrícula de Distritos Vecinos y Jurisdicciones Limítrofes (Interlinking) */
.sibling-grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.sibling-grid-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.sibling-grid-chip:hover {
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
}

.sibling-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.sibling-grid-chip:hover .sibling-chip-icon {
  background: #0284c7;
  color: #ffffff;
}

.sibling-chip-text {
  flex: 1;
  min-width: 0;
}

.sibling-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sibling-sub {
  display: block;
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sibling-chip-arrow {
  color: #cbd5e1;
  font-size: 12px;
  transition: transform 0.2s, color 0.2s;
}

.sibling-grid-chip:hover .sibling-chip-arrow {
  color: #0284c7;
  transform: translateX(3px);
}




