/* ========================================================= */
/* ESTILOS GLOBALES - PORTAL WEB ELECCIONES UNIMINUTO       */
/* Diseño: Blanco Limpio, Glassmorphism, Moderno y Dinámico  */
/* ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Paleta Oficial basada en el Logo Institucional */
  --color-primary: #ea580c;       /* Naranja VOTA */
  --color-primary-light: #ff7828;
  --color-primary-dark: #c2410c;
  --color-primary-soft: rgba(234, 88, 12, 0.08);
  --color-primary-glow: rgba(234, 88, 12, 0.25);

  --color-amber: #f59e0b;         /* Dorado UNIMINUTO */
  --color-amber-light: #fbbf24;
  --color-amber-soft: rgba(245, 158, 11, 0.12);

  --color-crimson: #e11d48;       /* Vértice VOTA */

  --color-accent-blue: #0284c7;   /* Azul Institucional */
  --color-accent-sky: #38bdf8;
  --color-accent-soft: rgba(2, 132, 199, 0.08);

  --color-emerald: #10b981;
  --color-emerald-soft: rgba(16, 185, 129, 0.1);

  --color-dark: #0f172a;          /* Slate Oscuro */
  --color-navy: #0b192c;          /* Azul Marino Fondo Profundo */
  --color-navy-card: #132238;
  --color-slate: #334155;
  --color-muted: #64748b;
  --color-light-slate: #94a3b8;

  /* Fondos Limpios y Blancos */
  --bg-body: #ffffff;
  --bg-alt: #f8fafc;
  --bg-subtle: #f1f5f9;

  /* Glassmorphism & Translucidez */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-bg-card: rgba(255, 255, 255, 0.92);
  --glass-bg-hover: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(226, 232, 240, 0.85);
  --glass-border-focus: rgba(234, 88, 12, 0.4);
  --glass-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 0 1px 1px rgba(226, 232, 240, 0.6);
  --glass-shadow-hover: 0 20px 40px -10px rgba(234, 88, 12, 0.14), 0 0 30px rgba(2, 132, 199, 0.08);

  /* Tipografías */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Transiciones */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--color-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Decorative Background Canvas / Grid Pattern */
.page-bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(rgba(2, 132, 199, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(234, 88, 12, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  pointer-events: none;
  z-index: -1;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 800;
  line-height: 1.2;
}

p {
  color: var(--color-slate);
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 980px;
}

/* Section Wrapper */
.section-padding {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
}

.section-title {
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  outline: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(234, 88, 12, 0.45);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-accent-blue) 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(2, 132, 199, 0.42);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-dark);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.btn-glass:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.09);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.05rem 2.15rem;
  font-size: 1.06rem;
  border-radius: var(--radius-md);
}

/* ========================================================= */
/* NAVBAR TRASLÚCIDA GLASSMORPHIC                            */
/* ========================================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.15rem 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.03);
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--color-slate);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-amber));
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  color: var(--color-dark);
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-normal);
}

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

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mobile-nav-links a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  display: block;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.mobile-nav-links a:hover {
  color: var(--color-primary);
}

/* ========================================================= */
/* HERO BANNER FULL-WIDTH CON PARALLAX MULTICAPA Y 3D TILT   */
/* (Sin bordes restrictivos, diseño inmersivo de ancho total)*/
/* ========================================================= */
.hero-slider-section {
  width: 100%;
  min-height: 86vh;
  min-height: 660px;
  padding-top: 7.5rem;
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 65%, #f8fafc 100%);
}

/* Capas de fondo con desplazamiento parallax de ancho 100% */
.hero-parallax-bg {
  position: absolute;
  inset: -15% 0 -15% 0;
  width: 100%;
  height: 130%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-parallax-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero-layer-grad {
  background:
    radial-gradient(circle at 85% 25%, rgba(234, 88, 12, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(2, 132, 199, 0.10) 0%, transparent 48%),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.07) 0%, transparent 55%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  will-change: transform;
}

.hero-orb-1 {
  width: 550px;
  height: 550px;
  top: 0%;
  left: -8%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.24), transparent 70%);
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  top: 20%;
  right: -6%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.22), transparent 70%);
}

.hero-orb-3 {
  width: 420px;
  height: 420px;
  bottom: -5%;
  left: 38%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.20), transparent 70%);
}

/* Contenedor del Hero a todo el ancho disponible */
.hero-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4.5rem);
  position: relative;
  z-index: 2;
}

.slider-container {
  position: relative;
  min-height: 520px;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.98) translateX(24px);
  display: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateX(0);
  position: relative;
  display: block;
}

/* Layout abierto de ancho completo para el contenido del slide */
.slide-glass-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: 1.5rem 0;
}

.slide-content-left {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  z-index: 2;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(234, 88, 12, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--color-primary);
  width: fit-content;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.slide-title {
  font-size: clamp(2.4rem, 4.4vw, 3.85rem);
  letter-spacing: -0.035em;
  color: var(--color-dark);
  line-height: 1.12;
}

.slide-title span.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.slide-desc {
  font-size: 1.15rem;
  color: var(--color-slate);
  line-height: 1.68;
  max-width: 640px;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-top: 0.5rem;
}

.slide-content-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* 3D Floating Showcase Box */
.slide-visual-box {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 35px rgba(234, 88, 12, 0.08);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  will-change: transform;
}

.slide-visual-logo {
  max-width: 260px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 10px 20px rgba(234, 88, 12, 0.18));
}

.floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  transition: transform 0.3s ease;
}

.pill-pos-1 { top: -14px; left: -16px; }
.pill-pos-2 { bottom: -14px; right: -16px; }

/* Visual Elements Generados Dinámicamente */
.slide-visual-emoji {
  font-size: 4rem;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.1));
}

.slide-visual-titulo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
}

.slide-visual-subtitulo {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Temas de Color por Slide */
.slide-theme-1 .slide-badge {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.25);
}
.slide-theme-1 .slide-visual-box {
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 35px rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.25);
}

.slide-theme-2 .slide-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.3);
}
.slide-theme-2 .slide-visual-box {
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 35px rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.slide-theme-3 .slide-badge {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.3);
}
.slide-theme-3 .slide-visual-box {
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 35px rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}

/* Slider Controls & Floating Indicators */
.slider-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 0 0.5rem;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(203, 213, 225, 0.85);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
}

.dot.active {
  width: 42px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-amber));
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.35);
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.arrow-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}

/* ========================================================= */
/* BARRA DE CUENTA REGRESIVA & STATUS                        */
/* ========================================================= */
.countdown-strip {
  background: linear-gradient(135deg, var(--color-navy) 0%, #172554 50%, #0f172a 100%);
  color: #ffffff;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-xl);
  margin-top: -1.75rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 45px rgba(11, 25, 44, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.countdown-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.countdown-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.countdown-info h3 {
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.countdown-info p {
  color: #94a3b8;
  font-size: 0.92rem;
}

.countdown-timer-grid {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.timer-unit {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  min-width: 72px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timer-number {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--color-amber-light);
  font-family: var(--font-heading);
  display: block;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
}

.timer-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #cbd5e1;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 0.35rem;
}

/* ========================================================= */
/* SECCIÓN 1: ¿QUÉ SE ELIGE? (CUERPOS COLEGIADOS)             */
/* ========================================================= */
.tab-filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.filter-tab-btn {
  padding: 0.7rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-slate);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.filter-tab-btn:hover {
  background: var(--bg-alt);
  color: var(--color-primary);
  border-color: rgba(234, 88, 12, 0.35);
  transform: translateY(-1px);
}

.filter-tab-btn.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, #c2410c 100%);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.32);
}

.cuerpos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.cuerpo-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.cuerpo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-amber));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.cuerpo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(234, 88, 12, 0.3);
}

.cuerpo-card:hover::before {
  opacity: 1;
}

.cuerpo-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cuerpo-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.08);
}

.cuerpo-scope-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-accent-blue);
  margin-bottom: 0.4rem;
}

.cuerpo-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-dark);
}

.cuerpo-card-desc {
  font-size: 0.94rem;
  color: var(--color-slate);
  line-height: 1.6;
}

.cuerpo-card-meta {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  font-size: 0.86rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.meta-item:last-child {
  margin-bottom: 0;
}

.meta-label {
  color: var(--color-muted);
  font-weight: 600;
}

.meta-val {
  color: var(--color-dark);
  font-weight: 700;
}

/* Temas de color para tarjetas */
.cuerpo-theme-1 .cuerpo-icon-box,
.cuerpo-theme-1 .cuerpo-scope-badge {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
}

.cuerpo-theme-2 .cuerpo-icon-box,
.cuerpo-theme-2 .cuerpo-scope-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.cuerpo-theme-3 .cuerpo-icon-box,
.cuerpo-theme-3 .cuerpo-scope-badge {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

.cuerpo-theme-4 .cuerpo-icon-box,
.cuerpo-theme-4 .cuerpo-scope-badge {
  background: rgba(225, 29, 72, 0.08);
  color: #e11d48;
}

/* ========================================================= */
/* SECCIÓN 2: CRONOGRAMA ELECTORAL (LÍNEA DE TIEMPO)         */
/* ========================================================= */
.timeline-wrapper {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-emerald) 0%, var(--color-primary) 50%, var(--color-accent-blue) 100%);
  border-radius: var(--radius-full);
}

.timeline-item {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 2.25rem;
  position: relative;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--color-primary);
  box-shadow: 0 0 0 6px rgba(234, 88, 12, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary);
  flex-shrink: 0;
  z-index: 2;
  font-family: var(--font-heading);
}

.timeline-item.completed .timeline-marker {
  border-color: var(--color-emerald);
  color: var(--color-emerald);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.18);
}

.timeline-item.active .timeline-marker {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 0 8px rgba(234, 88, 12, 0.3);
  animation: pulseGlow 2s infinite;
}

.timeline-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.85rem;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-fast);
}

.timeline-card:hover {
  transform: translateX(4px);
  box-shadow: var(--glass-shadow-hover);
}

.timeline-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.timeline-date-badge {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.timeline-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--color-dark);
}

.timeline-desc {
  font-size: 0.94rem;
  color: var(--color-slate);
  line-height: 1.6;
}

/* ========================================================= */
/* SECCIÓN 3: REQUISITOS POR ESTAMENTO                       */
/* ========================================================= */
.requirements-container {
  background: var(--bg-alt);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.req-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.req-tab-btn {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.req-tab-btn .tab-icon {
  font-size: 1.6rem;
}

.req-tab-btn .tab-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-slate);
}

.req-tab-btn:hover {
  border-color: rgba(234, 88, 12, 0.3);
  transform: translateY(-2px);
}

.req-tab-btn.active {
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.16);
}

.req-tab-btn.active .tab-text {
  color: var(--color-primary);
}

.req-content-pane {
  display: none;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
}

.req-content-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.req-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
}

.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.96rem;
  color: var(--color-slate);
  line-height: 1.55;
}

.req-list li span.check-icon {
  color: var(--color-emerald);
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.3;
}

.req-doc-box {
  background: var(--bg-alt);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.req-doc-box h4 {
  font-size: 1.05rem;
  color: var(--color-dark);
}

/* ========================================================= */
/* SECCIÓN 4: ¿CÓMO VOTAR? (PASO A PASO Y GARANTÍAS)         */
/* ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(2, 132, 199, 0.35);
}

.step-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-amber));
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.32);
  font-family: var(--font-heading);
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--color-slate);
  line-height: 1.6;
}

/* Voting Guarantee Box */
.voting-guarantee-card {
  background: linear-gradient(135deg, #0b192c 0%, #172554 50%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.75rem 3.25rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 25px 50px rgba(11, 25, 44, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.guarantee-left h3 {
  color: #ffffff;
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

.guarantee-left p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.65;
}

.guarantee-badges {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.guarantee-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
  color: #f8fafc;
}

/* ========================================================= */
/* SECCIÓN 5: DERECHOS Y DEBERES                             */
/* ========================================================= */
.rights-duties-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
}

.rights-duties-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
}

/* ========================================================= */
/* SECCIÓN 6: PREGUNTAS FRECUENTES (FAQ INTERACTIVO)         */
/* ========================================================= */
.faq-search-box {
  max-width: 680px;
  margin: 0 auto 2.25rem auto;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 1.05rem 1.75rem 1.05rem 3.4rem;
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 1.02rem;
  outline: none;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  font-family: inherit;
  transition: all var(--transition-fast);
}

.faq-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.18);
}

.faq-search-icon {
  position: absolute;
  left: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--color-muted);
}

.faq-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
}

.faq-cat-pill {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-slate);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-cat-pill.active, .faq-cat-pill:hover {
  background: var(--color-dark);
  color: #ffffff;
  border-color: var(--color-dark);
}

.faq-accordion-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(234, 88, 12, 0.35);
}

.faq-header {
  padding: 1.35rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.faq-question {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.45;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-dark);
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-body-content {
  padding: 0 1.75rem 1.75rem 1.75rem;
  font-size: 0.98rem;
  color: var(--color-slate);
  line-height: 1.7;
  border-top: 1px solid var(--bg-alt);
  padding-top: 1.15rem;
}

.faq-citation {
  margin-top: 0.85rem;
  font-size: 0.84rem;
  color: var(--color-muted);
  font-style: italic;
}

/* ========================================================= */
/* SECCIÓN 7: NORMATIVA DE CONSULTA                          */
/* ========================================================= */
.normativa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.normativa-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.normativa-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--glass-shadow-hover);
}

.normativa-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.normativa-card h3 {
  font-size: 1.25rem;
}

.normativa-card p {
  font-size: 0.92rem;
  color: var(--color-slate);
  line-height: 1.55;
}

/* ========================================================= */
/* FOOTER INSTITUCIONAL                                      */
/* ========================================================= */
.site-footer {
  background: var(--color-navy);
  color: #ffffff;
  padding: 5rem 0 2.5rem 0;
  margin-top: 5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin-top: 1.15rem;
  line-height: 1.65;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.35rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-list a {
  color: #cbd5e1;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-amber-light);
}

.footer-bottom {
  padding-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: #64748b;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.float-top {
  background: #ffffff;
  color: var(--color-dark);
  border: 1px solid var(--glass-border);
  opacity: 0;
  pointer-events: none;
}

.float-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.float-vote {
  background: linear-gradient(135deg, var(--color-primary), var(--color-amber));
  color: #ffffff;
}

.float-vote:hover, .float-top:hover {
  transform: scale(1.1);
}

/* Modal Window */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.75rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-alt);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .slide-glass-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .slide-content-left {
    align-items: center;
  }

  .slide-desc {
    max-width: 100%;
  }

  .slide-actions {
    justify-content: center;
  }

  .slide-content-right {
    margin: 0 auto;
  }

  .req-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .req-grid {
    grid-template-columns: 1fr;
  }

  .voting-guarantee-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-slider-section {
    padding-top: 6.5rem;
    min-height: auto;
  }

  .slide-title {
    font-size: 2.2rem;
  }

  .slide-visual-box {
    max-width: 100%;
    padding: 2rem 1.5rem;
  }

  .countdown-content {
    flex-direction: column;
    text-align: center;
  }

  .countdown-info {
    align-items: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .floating-actions {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

