/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', -apple-system, sans-serif; color: #1a1a2e; line-height: 1.6; overflow-x: hidden; background: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== LOADER ===== */
.loader { position: fixed; inset: 0; z-index: 99999; background: #0a1628; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s, visibility 0.5s; }
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo { width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 24px; animation: loaderPulse 1s ease infinite; }
.loader-bar { width: 180px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.loader-bar-fill { height: 100%; background: linear-gradient(90deg, #ffd54f, #1565c0); border-radius: 4px; animation: loaderFill 1.2s ease forwards; }
@keyframes loaderPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes loaderFill { 0% { width: 0; } 100% { width: 100%; } }

/* ===== GRADIENTS ===== */
.text-gradient { background: linear-gradient(135deg, #1565c0, #42a5f5); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-gold { background: linear-gradient(135deg, #ffd54f, #ffb300); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-red { background: linear-gradient(135deg, #e53935, #ff7043); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0); backdrop-filter: blur(0px); transition: all 0.4s; }
.navbar.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name { font-weight: 700; font-size: 0.88rem; color: #fff; line-height: 1.2; transition: color 0.4s; }
.nav-brand-sub { font-size: 0.68rem; color: rgba(255,255,255,0.7); font-weight: 400; transition: color 0.4s; }
.navbar.scrolled .nav-brand-name { color: #0d47a1; }
.navbar.scrolled .nav-brand-sub { color: #666; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 8px 14px; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.85); border-radius: 10px; transition: all 0.3s; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.15); }
.navbar.scrolled .nav-link { color: #555; }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: #0d47a1; background: #e3f2fd; }
.btn-plataforma-nav { padding: 8px 16px; font-size: 0.78rem; font-weight: 600; color: #fff; border-radius: 10px; display: flex; align-items: center; gap: 5px; transition: all 0.3s; }
.btn-plataforma-nav.docente { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
.btn-plataforma-nav.docente:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,125,50,0.4); color: #fff; }
.btn-plataforma-nav.admin { background: linear-gradient(135deg, #6a1b9a, #4a148c); }
.btn-plataforma-nav.admin:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(106,27,154,0.4); color: #fff; }
.btn-votar-nav { padding: 9px 20px; font-size: 0.82rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #d32f2f, #b71c1c); border-radius: 12px; display: flex; align-items: center; gap: 6px; transition: all 0.3s; }
.btn-votar-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(211,47,47,0.4); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: #fff; cursor: pointer; padding: 8px; transition: color 0.4s; }
.navbar.scrolled .nav-toggle { color: #333; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 100px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, #0a1628 0%, #0d2847 25%, #0d47a1 50%, #1565c0 75%, #1976d2 100%); }
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.hero-circles { position: absolute; inset: 0; }
.hero-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); }
.c1 { width: 500px; height: 500px; top: -100px; right: -100px; animation: floatCircle 20s linear infinite; }
.c2 { width: 300px; height: 300px; bottom: -50px; left: -50px; animation: floatCircle 15s linear infinite reverse; }
.c3 { width: 200px; height: 200px; top: 40%; left: 20%; border-color: rgba(255,215,0,0.08); animation: floatCircle 25s linear infinite; }
.c4 { width: 150px; height: 150px; top: 20%; right: 30%; border-color: rgba(255,255,255,0.04); animation: floatCircle 18s linear infinite reverse; }
@keyframes floatCircle { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 60px; }
.hero-badge-row { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 7px 16px; border-radius: 50px; font-size: 0.78rem; color: rgba(255,255,255,0.9); font-weight: 500; border: 1px solid rgba(255,255,255,0.15); }
.badge-gold { background: rgba(255,215,0,0.15); border-color: rgba(255,215,0,0.3); color: #ffd54f; }
.hero-title { font-family: 'Inter', sans-serif; font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 20px; }
.hero-title-accent { display: block; font-family: 'Playfair Display', serif; font-size: 3.4rem; font-weight: 800; background: linear-gradient(135deg, #ffd54f 0%, #ffb300 50%, #ff8f00 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.15; }
.hero-title-accent2 { display: block; font-family: 'Playfair Display', serif; font-size: 3.4rem; font-weight: 800; background: linear-gradient(135deg, #ffb300 0%, #ffd54f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.15; }
.hero-lema { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.hero-lema-line { width: 40px; height: 3px; background: linear-gradient(90deg, #ffd54f, transparent); border-radius: 3px; flex-shrink: 0; }
.hero-lema p { font-size: 1rem; color: rgba(255,255,255,0.8); letter-spacing: 1px; }
.hero-lema strong { color: #fff; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 14px; font-size: 0.9rem; font-weight: 600; transition: all 0.3s; cursor: pointer; border: none; }
.btn-hero-primary { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(10px); }
.btn-hero-primary:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn-hero-votar { background: linear-gradient(135deg, #d32f2f, #b71c1c); color: #fff; position: relative; overflow: hidden; box-shadow: 0 8px 30px rgba(211,47,47,0.4); }
.btn-hero-votar:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(211,47,47,0.5); }
.btn-votar-pulse { position: absolute; inset: 0; background: rgba(255,255,255,0.1); animation: btnPulse 2s ease infinite; border-radius: 14px; }
@keyframes btnPulse { 0%, 100% { opacity: 0; transform: scale(1); } 50% { opacity: 1; transform: scale(1.03); } }
.hero-stats-inline { display: flex; gap: 28px; }
.hero-stat-inline { display: flex; align-items: center; gap: 10px; }
.hero-stat-inline i { font-size: 1.4rem; color: rgba(255,215,0,0.7); }
.hero-stat-inline strong { display: block; font-size: 1.1rem; color: #fff; line-height: 1; }
.hero-stat-inline span { font-size: 0.7rem; color: rgba(255,255,255,0.5); }

/* Hero Right - Logo */
.hero-right { display: flex; justify-content: center; align-items: center; }
.hero-logo-wrapper { position: relative; width: 320px; height: 320px; display: flex; align-items: center; justify-content: center; }
.hero-logo-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); }
.ring1 { width: 100%; height: 100%; animation: ringRotate 20s linear infinite; border-style: dashed; }
.ring2 { width: 85%; height: 85%; animation: ringRotate 15s linear infinite reverse; border-color: rgba(255,215,0,0.15); }
.ring3 { width: 110%; height: 110%; animation: ringRotate 25s linear infinite; border-color: rgba(255,255,255,0.05); }
@keyframes ringRotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.hero-logo-img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 80px rgba(21,101,192,0.3); border: 4px solid rgba(255,255,255,0.2); position: relative; z-index: 2; animation: logoFloat 6s ease-in-out infinite; }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 3; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ===== TICKER ===== */
.ticker { background: linear-gradient(135deg, #0d47a1, #1565c0); padding: 14px 0; overflow: hidden; }
.ticker-track { display: flex; }
.ticker-content { display: flex; align-items: center; gap: 32px; animation: tickerScroll 20s linear infinite; white-space: nowrap; }
.ticker-content span { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 8px; }
.ticker-content i { color: #ffd54f; }
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.3); flex-shrink: 0; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-light { background: #f7f9fc; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge { display: inline-block; background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #0d47a1; padding: 6px 18px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.badge-light { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.15); }
.badge-red { background: linear-gradient(135deg, #ffebee, #ffcdd2); color: #c62828; }
.section-title { font-size: 2.6rem; font-weight: 800; color: #1a1a2e; line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 1rem; color: #666; max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ===== PILARES ===== */
.pilares-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pilar-card { background: #fff; border-radius: 24px; padding: 40px 28px 32px; position: relative; overflow: hidden; border: 1px solid #f0f0f5; transition: all 0.4s; }
.pilar-card:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0,0,0,0.08); border-color: transparent; }
.pilar-number { position: absolute; top: 16px; right: 20px; font-size: 3rem; font-weight: 900; color: rgba(0,0,0,0.03); line-height: 1; }
.pilar-icon-wrap { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; background: var(--pilar-color); margin-bottom: 20px; box-shadow: 0 8px 25px color-mix(in srgb, var(--pilar-color) 30%, transparent); }
.pilar-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.pilar-card p { font-size: 0.84rem; color: #666; line-height: 1.65; }
.pilar-line { height: 3px; width: 40px; background: var(--pilar-color); border-radius: 3px; margin-top: 20px; transition: width 0.3s; }
.pilar-card:hover .pilar-line { width: 80px; }

/* ===== SEDES SECTION DARK ===== */
.section-dark { position: relative; padding: 100px 0; overflow: hidden; }
.section-dark-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0a1628, #0d2847, #102c54); }
.section-dark-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(21,101,192,0.15), transparent 60%), radial-gradient(circle at 70% 30%, rgba(255,215,0,0.05), transparent 50%); }
.sedes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sede-card-new { position: relative; border-radius: 24px; overflow: hidden; transition: all 0.4s; }
.sede-card-new:hover { transform: translateY(-8px); }
.sede-card-glow { position: absolute; inset: 0; border-radius: 24px; background: var(--sede-color); opacity: 0; transition: opacity 0.4s; filter: blur(40px); }
.sede-card-new:hover .sede-card-glow { opacity: 0.15; }
.sede-card-inner { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 36px 28px; text-align: center; transition: border-color 0.4s; }
.sede-card-new:hover .sede-card-inner { border-color: rgba(255,255,255,0.2); }
.sede-icon-box { width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; margin: 0 auto 20px; }
.sede-card-inner h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.sede-tipo { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.sede-desc-new { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 20px; }
.sede-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sede-tags span { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); padding: 5px 14px; border-radius: 8px; font-size: 0.73rem; font-weight: 500; }

/* ===== GOBIERNO ESCOLAR ===== */
.gobierno-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gobierno-quote { background: linear-gradient(135deg, #f8f9fc, #eef2f7); border-radius: 20px; padding: 28px 32px; margin-bottom: 28px; position: relative; border-left: 4px solid #1565c0; }
.gobierno-quote i { font-size: 2rem; color: #bbdefb; position: absolute; top: 12px; right: 16px; }
.gobierno-quote p { font-size: 0.95rem; color: #333; font-style: italic; line-height: 1.6; font-weight: 500; }
.gobierno-cargos { display: flex; flex-direction: column; gap: 18px; }
.gobierno-cargo { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 20px; border: 1px solid #f0f0f5; transition: all 0.3s; }
.gobierno-cargo:hover { border-color: #e3f2fd; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transform: translateX(6px); }
.cargo-icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; flex-shrink: 0; }
.cargo-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: #1a1a2e; }
.cargo-info p { font-size: 0.82rem; color: #666; line-height: 1.5; }

/* Votar Card */
.votar-card-new { background: linear-gradient(135deg, #b71c1c, #d32f2f, #e53935); border-radius: 28px; padding: 50px 40px; text-align: center; position: relative; overflow: hidden; box-shadow: 0 25px 60px rgba(183,28,28,0.25); }
.votar-card-bg { position: absolute; inset: 0; overflow: hidden; }
.votar-confetti { position: absolute; width: 8px; height: 8px; border-radius: 2px; opacity: 0.15; }
.votar-confetti.c1 { background: #ffd54f; top: 10%; left: 10%; animation: confettiFloat 8s ease infinite; }
.votar-confetti.c2 { background: #fff; top: 20%; right: 15%; width: 12px; height: 12px; border-radius: 50%; animation: confettiFloat 6s ease infinite 1s; }
.votar-confetti.c3 { background: #ffd54f; bottom: 20%; left: 20%; width: 6px; height: 6px; animation: confettiFloat 10s ease infinite 2s; }
.votar-confetti.c4 { background: #fff; bottom: 30%; right: 10%; animation: confettiFloat 7s ease infinite 0.5s; }
.votar-confetti.c5 { background: #ffd54f; top: 50%; left: 50%; width: 10px; height: 10px; border-radius: 50%; animation: confettiFloat 9s ease infinite 3s; }
@keyframes confettiFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(180deg); } }
.votar-card-content { position: relative; z-index: 2; }
.votar-icon-large { width: 80px; height: 80px; border-radius: 24px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; margin: 0 auto 20px; border: 1px solid rgba(255,255,255,0.2); }
.votar-anio { display: inline-block; background: rgba(255,255,255,0.2); padding: 5px 16px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; color: #fff; letter-spacing: 1px; margin-bottom: 14px; }
.votar-card-new h3 { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.votar-card-new p { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-bottom: 28px; line-height: 1.5; }
.btn-votar-main { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #b71c1c; padding: 16px 40px; border-radius: 16px; font-size: 1.05rem; font-weight: 800; transition: all 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.btn-votar-main:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 40px rgba(0,0,0,0.3); color: #b71c1c; }
.votar-seguridad { margin-top: 18px; font-size: 0.75rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ===== CIFRAS ===== */
.section-cifras { padding: 80px 0; background: linear-gradient(135deg, #0d47a1, #1565c0); }
.cifras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.cifra-item { text-align: center; }
.cifra-icon { font-size: 2rem; color: rgba(255,215,0,0.8); margin-bottom: 10px; }
.cifra-number { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 4px; }
.cifra-label { font-size: 0.82rem; color: rgba(255,255,255,0.6); font-weight: 400; }

/* ===== CONTACTO ===== */
.contacto-grid-new { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.contacto-item { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 18px; padding: 24px; border: 1px solid #f0f0f5; transition: all 0.3s; }
.contacto-item:hover { border-color: #e3f2fd; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transform: translateY(-3px); }
.contacto-item-icon { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #1565c0, #0d47a1); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contacto-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; color: #1a1a2e; }
.contacto-item p { font-size: 0.84rem; color: #666; }
.social-section { text-align: center; }
.social-title { font-size: 0.85rem; color: #999; font-weight: 500; margin-bottom: 16px; }
.social-links { display: flex; justify-content: center; gap: 14px; }
.social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 14px; font-size: 0.85rem; font-weight: 600; color: #fff; transition: all 0.3s; }
.social-btn:hover { transform: translateY(-3px); color: #fff; }
.facebook { background: linear-gradient(135deg, #1877f2, #0d6efd); box-shadow: 0 6px 20px rgba(24,119,242,0.3); }
.facebook:hover { box-shadow: 0 10px 30px rgba(24,119,242,0.4); }
.gmail { background: linear-gradient(135deg, #e53935, #c62828); box-shadow: 0 6px 20px rgba(229,57,53,0.3); }
.gmail:hover { box-shadow: 0 10px 30px rgba(229,57,53,0.4); }

/* ===== FOOTER ===== */
.footer { background: #0a1628; padding: 0; }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.footer-name { font-weight: 700; font-size: 0.9rem; color: #fff; }
.footer-lema { font-size: 0.72rem; color: rgba(255,255,255,0.4); font-style: italic; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer-links a:hover { color: #64b5f6; }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-credits { margin-top: 4px; }
.footer-credits a { color: #64b5f6; font-weight: 500; }
.footer-credits a:hover { color: #90caf9; }

/* ===== ANIMATIONS ===== */
[data-animate] { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }
[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-right { display: none; }
    .hero-badge-row { justify-content: center; }
    .hero-lema { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-stats-inline { justify-content: center; }
    .pilares-grid { grid-template-columns: repeat(2, 1fr); }
    .gobierno-layout { grid-template-columns: 1fr; }
    .cifras-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .nav-link { color: #555 !important; padding: 12px 16px; width: 100%; }
    .nav-link:hover { background: #e3f2fd !important; color: #0d47a1 !important; }
    .btn-plataforma-nav { justify-content: center; margin-top: 4px; }
    .btn-votar-nav { justify-content: center; margin-top: 8px; }
    .nav-toggle { display: block; }

    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-title { font-size: 1.6rem; }
    .hero-title-accent, .hero-title-accent2 { font-size: 2.2rem; }
    .hero-stats-inline { flex-direction: column; gap: 14px; align-items: center; }

    .section { padding: 70px 0; }
    .section-title { font-size: 1.8rem; }
    .pilares-grid { grid-template-columns: 1fr; }
    .sedes-grid { grid-template-columns: 1fr; }
    .contacto-grid-new { grid-template-columns: 1fr; }
    .cifras-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .cifra-number { font-size: 2.2rem; }
    .votar-card-new { padding: 36px 24px; }
    .votar-card-new h3 { font-size: 1.4rem; }

    .footer-top { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.3rem; }
    .hero-title-accent, .hero-title-accent2 { font-size: 1.7rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .cifras-grid { grid-template-columns: 1fr 1fr; }
}
