/* ==========================================================================
   STYLES - Senador Miguel Marquez Marquez
   Light, partisan (blue/white), citizen-friendly design
   ========================================================================== */

:root {
  --bg: #f0f5fa;
  --bg-2: #ffffff;
  --bg-3: #e8f0f8;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --border: #e2e8f0;
  --border-2: #cbd5e0;
  --text: #1a2332;
  --text-2: #4a5568;
  --text-3: #718096;
  --accent: #00a0e0;
  --accent-2: #0040a0;
  --accent-3: #0080e0;
  --gradient: linear-gradient(135deg, #00a0e0, #0040a0);
  --gradient-2: linear-gradient(135deg, #0080e0, #00a0e0);
  --hero-bg: linear-gradient(135deg, #0040a0 0%, #0060c0 50%, #00a0e0 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(0,64,160,0.08);
  --shadow-hover: 0 20px 60px rgba(0,64,160,0.12);
  --shadow-glow: 0 0 40px rgba(0,160,224,0.15);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --max: 1200px;
}

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

/* ==================== SPLASH SCREEN ==================== */
#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg, #0040a0 0%, #0060c0 50%, #00a0e0 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#splash.hidden { opacity: 0; visibility: hidden; }
.splash-content { display: flex; flex-direction: column; align-items: center; gap: 24px; position: relative; }
.splash-logo {
  width: 120px; height: 120px; object-fit: contain;
  background: rgba(255,255,255,0.95); border-radius: 24px; padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: splashLogoIn 0.8s cubic-bezier(0.34,1.56,0.64,1) both, splashLogoPulse 2s ease-in-out 0.8s infinite;
}
@keyframes splashLogoIn { 0% { opacity: 0; transform: scale(0.3) rotate(-20deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes splashLogoPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.splash-ring {
  position: absolute; width: 160px; height: 160px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.2); border-top-color: rgba(255,255,255,0.7);
  top: -20px; animation: splashRing 1s linear infinite;
}
@keyframes splashRing { to { transform: rotate(360deg); } }
.splash-text {
  font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff;
  letter-spacing: 1px; animation: splashTextIn 0.6s ease 0.4s both;
}
@keyframes splashTextIn { 0% { opacity: 0; transform: translateY(15px); } 100% { opacity: 1; transform: translateY(0); } }
.splash-bar { width: 180px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 4px; overflow: hidden; animation: splashTextIn 0.6s ease 0.5s both; }
.splash-bar span { display: block; height: 100%; background: #fff; border-radius: 4px; animation: splashBar 1.4s ease 0.3s both; }
@keyframes splashBar { 0% { width: 0; } 100% { width: 100%; } }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%;; }

/* Texto justificado en párrafos */
.section-desc, .hero-subtitle, .about-content p, .about-feature p,
.timeline-content p, .service-card p, .logro-card p, .prensa-card p,
.location-card-detail, .contact-info-card p, .footer-desc,
.insta-preview-msg p, .yt-preview-msg p, .cities-header p,
.locations-header p, .evento-follow { text-align: justify; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

::selection { background: var(--accent); color: #fff; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-family: var(--font); font-weight: 600; font-size: 15px;
  cursor: pointer; border: none; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 8px 24px rgba(0,64,160,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,64,160,0.35); }
.btn-secondary {
  background: #fff; color: var(--accent-2);
  border: 2px solid var(--accent);
}
.btn-secondary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,64,160,0.2); }
.btn-full { width: 100%; justify-content: center; }

/* ==================== NAVBAR ==================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all 0.4s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,64,160,0.06);
}
.nav-container { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: rgba(255,255,255,0.95); padding: 3px; box-shadow: 0 4px 16px rgba(0,64,160,0.2); transition: transform 0.3s; }
.nav-logo:hover .nav-logo-img { transform: scale(1.05); }
.nav-logo-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; box-shadow: 0 4px 20px rgba(0,64,160,0.3);
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; transition: color 0.4s; }
#navbar.scrolled .nav-logo-title { color: var(--text); }
.nav-logo-sub { font-size: 12px; color: rgba(255,255,255,0.8); transition: color 0.4s; }
#navbar.scrolled .nav-logo-sub { color: var(--text-3); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.85); transition: all 0.25s;
  display: flex; align-items: center; white-space: nowrap; line-height: 1;
}
#navbar.scrolled .nav-links a { color: var(--text-2); }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.15); }
#navbar.scrolled .nav-links a:hover { color: var(--accent-2); background: var(--bg-3); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
#navbar.scrolled .nav-toggle span { background: var(--text); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ==================== HERO ==================== */
#hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 100px 0 60px; overflow: hidden; background: var(--hero-bg); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; }
.hero-glow-1 { width: 600px; height: 600px; background: #00c0ff; top: -200px; right: -100px; }
.hero-glow-2 { width: 500px; height: 500px; background: #002080; bottom: -150px; left: -100px; }

.hero-container { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { animation: fadeInUp 0.8s ease; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px); font-size: 13px; color: rgba(255,255,255,0.9); margin-bottom: 24px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #51cf66; box-shadow: 0 0 10px #51cf66; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

.hero-gestion-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 100px;
  background: #fff;
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  color: var(--accent-2); margin-bottom: 28px; letter-spacing: 0.5px;
  box-shadow: 0 10px 40px rgba(0,32,80,0.25);
  animation: fadeInUp 0.6s ease 0.2s backwards;
}
.hero-gestion-tag i { font-size: 22px; color: var(--accent); }

.hero-title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1.05; margin-bottom: 24px; letter-spacing: -1.5px; color: #fff; }
.hero-title-accent { background: linear-gradient(135deg, #80e0ff, #ffffff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 500px; }
.hero-subtitle strong { color: #fff; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: #fff; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }

.hero-visual { position: relative; animation: fadeInRight 0.8s ease; }
.hero-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 4px solid rgba(255,255,255,0.2); box-shadow: 0 30px 80px rgba(0,32,80,0.4);
  aspect-ratio: 4/5; background: #fff;
}
.hero-card-img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; background: linear-gradient(to top, rgba(0,32,80,0.92), transparent); }
.hero-card-info { display: flex; gap: 12px; align-items: flex-start; }
.hero-card-info i { color: #80e0ff; font-size: 20px; margin-top: 4px; }
.hero-card-info p { font-size: 15px; color: #fff; font-style: italic; }
.hero-card-glow { position: absolute; inset: -20px; border-radius: var(--radius-lg); background: #00c0ff; filter: blur(60px); opacity: 0.2; z-index: -1; }

.hero-float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5); box-shadow: 0 10px 40px rgba(0,32,80,0.2);
  animation: floatAnim 4s ease-in-out infinite;
}
.hero-float-card i { font-size: 24px; }
.hero-float-card div { display: flex; flex-direction: column; }
.hero-float-card strong { font-size: 14px; color: var(--text); }
.hero-float-card span { font-size: 12px; color: var(--text-2); }
.hero-float-1 { top: 2%; left: -16%; animation-delay: 0s; }
.hero-float-2 { top: 38%; right: -16%; animation-delay: 1.5s; }
.hero-float-3 { bottom: 12%; left: -12%; animation-delay: 3s; }
@keyframes floatAnim { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; animation: bounce 2s infinite; }
.hero-scroll a { color: rgba(255,255,255,0.6); font-size: 24px; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==================== SECTIONS ==================== */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block; padding: 6px 18px; border-radius: 100px;
  background: var(--bg-3); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--accent-2); margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.section-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); font-weight: 700; margin-bottom: 16px; letter-spacing: -1px; color: var(--text); }
.section-desc { font-size: 17px; color: var(--text-2); }

/* ==================== ABOUT ==================== */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-hover); }
.about-image-badge {
  position: absolute; bottom: 20px; left: 20px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 100px;
  background: var(--accent-2); backdrop-filter: blur(10px);
  border: none; font-size: 14px; font-weight: 600; color: #fff;
  box-shadow: 0 8px 24px rgba(0,64,160,0.3);
}
.about-image-badge i { color: #80e0ff; }
.about-content h3 { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.about-role { color: var(--accent-2); font-size: 15px; font-weight: 600; margin-bottom: 24px; }
.about-content p { color: var(--text-2); margin-bottom: 16px; font-size: 16px; }
.about-content p strong { color: var(--text); }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.about-feature { display: flex; gap: 16px; align-items: flex-start; }
.about-feature i { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent-2); font-size: 18px; flex-shrink: 0; }
.about-feature strong { font-size: 16px; display: block; margin-bottom: 4px; color: var(--text); }
.about-feature p { font-size: 14px; color: var(--text-2); margin: 0; }

/* ==================== SERVICES ==================== */
.breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.breadcrumb-item { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text); }
.breadcrumb-item i { color: var(--accent-2); }
.breadcrumb-sep { color: var(--text-3); font-size: 12px; }
.breadcrumb-reset { margin-left: auto; padding: 8px 16px; border-radius: 10px; background: none; border: 1px solid var(--border-2); color: var(--text-2); cursor: pointer; font-size: 14px; font-family: var(--font); transition: all 0.25s; display: flex; align-items: center; gap: 8px; }
.breadcrumb-reset:hover { color: var(--accent-2); border-color: var(--accent); background: var(--bg-3); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  cursor: pointer; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden; animation: fadeInUp 0.5s ease backwards;
  box-shadow: var(--shadow);
}
.service-card::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s; }
.service-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-hover); }
.service-card:hover::before { opacity: 0.04; }
.service-card-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,64,160,0.15); transition: transform 0.35s;
}
.service-card:hover .service-card-icon { transform: scale(1.1) rotate(-5deg); }
.service-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.service-card p { font-size: 14px; color: var(--text-2); margin-bottom: 20px; line-height: 1.5; }
.service-card-cta { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-2); transition: gap 0.25s; }
.service-card:hover .service-card-cta { gap: 14px; }

/* ==================== CITIES ==================== */
.cities-panel { animation: fadeIn 0.4s ease; }
.cities-header { text-align: center; margin-bottom: 40px; }
.cities-header h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.cities-header p { color: var(--text-2); margin-bottom: 24px; }
.cities-search { position: relative; max-width: 400px; margin: 0 auto; }
.cities-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.cities-search input { width: 100%; padding: 14px 18px 14px 48px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-2); color: var(--text); font-family: var(--font); font-size: 15px; outline: none; transition: all 0.25s; box-shadow: var(--shadow); }
.cities-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,160,224,0.12); }
.cities-search input::placeholder { color: var(--text-3); }

.cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.city-card {
  padding: 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 14px;
  animation: fadeInUp 0.4s ease backwards; box-shadow: var(--shadow);
}
.city-card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--bg-3); box-shadow: var(--shadow-hover); }
.city-card-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent-2); font-size: 16px; flex-shrink: 0; transition: all 0.3s; }
.city-card:hover .city-card-icon { background: var(--gradient); color: #fff; border-color: transparent; }
.city-card-name { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--text); }

/* ==================== LOCATIONS ==================== */
.locations-panel { animation: fadeIn 0.4s ease; }
.locations-header { margin-bottom: 40px; }
.btn-back { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--border-2); color: var(--accent-2); cursor: pointer; font-size: 14px; font-family: var(--font); font-weight: 600; transition: all 0.25s; margin-bottom: 20px; }
.btn-back:hover { color: #fff; background: var(--accent-2); border-color: var(--accent-2); }
.locations-header h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.locations-header p { color: var(--text-2); }

.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.location-card {
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: all 0.3s; animation: fadeInUp 0.4s ease backwards; box-shadow: var(--shadow);
}
.location-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-hover); }
.location-card-type { display: inline-block; padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.location-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; color: var(--text); }
.location-card-detail { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14px; color: var(--text-2); }
.location-card-detail i { color: var(--accent); margin-top: 3px; width: 16px; text-align: center; flex-shrink: 0; }
.location-card-map { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 16px; border-radius: 8px; background: var(--bg-3); border: 1px solid var(--border-2); font-size: 13px; font-weight: 600; color: var(--accent-2); transition: all 0.25s; }
.location-card-map:hover { background: var(--gradient); color: #fff; border-color: transparent; }

/* ==================== LOGROS ==================== */
.logros-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.logro-card { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: all 0.3s; box-shadow: var(--shadow); cursor: pointer; position: relative; }
.logro-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-hover); }
.logro-card.active { border-color: var(--accent); box-shadow: var(--shadow-hover); background: var(--bg-3); }
.logro-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; margin-bottom: 20px; box-shadow: 0 8px 24px rgba(0,64,160,0.15); transition: transform 0.35s; }
.logro-card:hover .logro-icon { transform: scale(1.1) rotate(-5deg); }
.logro-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.logro-card p { font-size: 14px; color: var(--text-2); }
.logro-expand { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--accent-2); transition: all 0.25s; }
.logro-card:hover .logro-expand { gap: 10px; }
.logro-card.active .logro-expand i { transform: rotate(180deg); }

.logro-detail { margin-top: 32px; padding: 36px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-hover); animation: fadeInUp 0.4s ease; }
.logro-detail-close { margin-bottom: 24px; }
.logro-detail-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 24px; color: var(--text); display: flex; align-items: center; gap: 12px; }
.logro-detail-title i { font-size: 28px; }
.logro-detail-section { margin-bottom: 28px; }
.logro-detail-section:last-child { margin-bottom: 0; }
.logro-detail-section h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 14px; color: var(--accent-2); display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-3); }
.logro-detail-section h4 i { color: var(--accent); }
.logro-detail-list { display: flex; flex-direction: column; gap: 12px; }
.logro-detail-list li { font-size: 15px; color: var(--text-2); line-height: 1.6; text-align: justify; padding-left: 24px; position: relative; }
.logro-detail-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; font-size: 14px; }

/* ==================== TRAYECTORIA ==================== */
.trayectoria-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.trayectoria-timeline { position: relative; padding-left: 28px; }
.trayectoria-timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 3px; }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-year {
  display: inline-block; padding: 5px 16px; border-radius: 100px;
  background: var(--gradient); color: #fff; font-family: var(--font-display);
  font-size: 14px; font-weight: 700; margin-bottom: 10px; box-shadow: 0 4px 16px rgba(0,64,160,0.2);
}
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(0,160,224,0.15); z-index: 1;
}
.timeline-item-current::before { border-color: #51cf66; box-shadow: 0 0 0 4px rgba(81,207,102,0.2); }
.timeline-content { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: all 0.3s; }
.timeline-content:hover { box-shadow: var(--shadow-hover); border-color: var(--accent); }
.timeline-content h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.timeline-content p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

.trayectoria-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.trayectoria-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.trayectoria-card-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; margin-bottom: 16px; box-shadow: 0 6px 20px rgba(0,64,160,0.2); }
.trayectoria-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.trayectoria-subtitle { font-size: 13px; font-weight: 700; color: var(--accent-2); margin: 12px 0 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.trayectoria-subtitle:first-of-type { margin-top: 0; }
.trayectoria-list { display: flex; flex-direction: column; gap: 6px; }
.trayectoria-list li { font-size: 14px; color: var(--text-2); padding-left: 18px; position: relative; }
.trayectoria-list li::before { content: '•'; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.trayectoria-link { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 12px; background: var(--gradient); color: #fff; font-size: 14px; font-weight: 600; transition: all 0.25s; box-shadow: 0 6px 20px rgba(0,64,160,0.2); }
.trayectoria-link:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,64,160,0.3); }

/* ==================== PRENSA ==================== */
.prensa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.prensa-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: all 0.3s; display: flex; flex-direction: column; }
.prensa-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.prensa-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; margin-bottom: 20px; box-shadow: 0 8px 24px rgba(0,64,160,0.15); transition: transform 0.35s; }
.prensa-card:hover .prensa-icon { transform: scale(1.1) rotate(-5deg); }
.prensa-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.prensa-card p { font-size: 14px; color: var(--text-2); margin-bottom: 20px; flex: 1; line-height: 1.5; }
.prensa-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-2); transition: gap 0.25s; }
.prensa-card:hover .prensa-cta { gap: 14px; }

/* ==================== EVENTOS ==================== */
.eventos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.evento-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; display: flex; flex-direction: column; }
.evento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.evento-card-header { display: flex; align-items: center; gap: 10px; padding: 18px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.evento-card-header i { font-size: 24px; }
.evento-card-header h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; flex: 1; color: var(--text); }
.evento-follow { font-size: 13px; font-weight: 600; color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; background: var(--bg-3); border: 1px solid var(--border); transition: all 0.25s; white-space: nowrap; }
.evento-follow:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.evento-embed { padding: 16px; display: flex; justify-content: center; align-items: flex-start; min-height: 400px; overflow: hidden; }
.evento-embed iframe { max-width: 100%; width: 100%; border-radius: 12px; border: none; }
.evento-embed .twitter-timeline { max-width: 100% !important; width: 100% !important; }
.evento-facebook .evento-card-header i { color: #1877f2; }
.evento-twitter .evento-card-header i { color: #000; }
.evento-instagram .evento-card-header i { color: #e4405f; }

.evento-instagram-preview { flex-direction: column; gap: 20px; padding: 28px; width: 100%; align-items: stretch; }
.insta-preview-top { display: flex; align-items: center; gap: 14px; }
.insta-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #feda75, #d62976, #962fbf, #4f5bd5); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; flex-shrink: 0; }
.insta-info { display: flex; flex-direction: column; }
.insta-info strong { font-size: 16px; color: var(--text); }
.insta-info span { font-size: 13px; color: var(--text-2); }
.insta-preview-msg { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 24px; background: var(--bg-3); border-radius: 12px; }
.insta-preview-msg i { font-size: 40px; color: #e4405f; }
.insta-preview-msg p { font-size: 14px; color: var(--text-2); }
.insta-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; background: linear-gradient(135deg, #feda75, #d62976, #962fbf, #4f5bd5); color: #fff; font-size: 14px; font-weight: 600; transition: all 0.25s; justify-content: center; }
.insta-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(214,41,118,0.3); }

.evento-youtube .evento-card-header i { color: #ff0000; }
.evento-youtube-preview { flex-direction: column; gap: 20px; padding: 28px; width: 100%; align-items: stretch; }
.yt-preview-top { display: flex; align-items: center; gap: 14px; }
.yt-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #ff0000, #cc0000); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; flex-shrink: 0; }
.yt-info { display: flex; flex-direction: column; }
.yt-info strong { font-size: 16px; color: var(--text); }
.yt-info span { font-size: 13px; color: var(--text-2); }
.yt-preview-msg { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 24px; background: var(--bg-3); border-radius: 12px; }
.yt-preview-msg i { font-size: 40px; color: #ff0000; }
.yt-preview-msg p { font-size: 14px; color: var(--text-2); }
.yt-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; background: linear-gradient(135deg, #ff0000, #cc0000); color: #fff; font-size: 14px; font-weight: 600; transition: all 0.25s; justify-content: center; }
.yt-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,0,0,0.3); }

/* ==================== CONTACT ==================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-info-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; box-shadow: 0 6px 20px rgba(0,64,160,0.2); }
.contact-info-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.contact-info-card p { font-size: 14px; color: var(--text-2); }
.contact-social { display: flex; gap: 12px; margin-top: 8px; }
.contact-social-link { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; color: var(--accent-2); font-size: 18px; transition: all 0.25s; box-shadow: var(--shadow); }
.contact-social-link:hover { background: var(--gradient); color: #fff; border-color: transparent; transform: translateY(-3px); }

.contact-form-wrap { padding: 36px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-hover); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 16px; border-radius: 12px; background: var(--bg-3);
  border: 1px solid var(--border-2); color: var(--text); font-family: var(--font); font-size: 15px; outline: none; transition: all 0.25s; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,160,224,0.12); background: #fff; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group select option { background: #fff; color: var(--text); }
.form-message { padding: 14px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; display: none; }
.form-message.success { display: block; background: #e6f9ed; border: 1px solid #51cf66; color: #2b8a3e; }
.form-message.error { display: block; background: #fff0f1; border: 1px solid #ff6b7a; color: #c9183a; }
.form-message.loading { display: block; background: var(--bg-3); border: 1px solid var(--accent); color: var(--accent-2); }

#submitBtn.loading { pointer-events: none; opacity: 0.7; }
#submitBtn.loading span::after { content: '...'; animation: dots 1s infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

/* ==================== RECAPTCHA ==================== */
.recaptcha-group { gap: 6px; }
.recaptcha-group > div { display: flex; justify-content: flex-start; }

/* ==================== PRIVACY CONSENT ==================== */
.privacy-consent { margin-top: 4px; }
.privacy-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.privacy-checkbox input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.privacy-checkmark { flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--border-2); background: #fff; transition: all 0.2s; position: relative; margin-top: 1px; }
.privacy-checkmark::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; transition: opacity 0.2s; }
.privacy-checkbox input:checked ~ .privacy-checkmark { background: var(--accent); border-color: var(--accent); }
.privacy-checkbox input:checked ~ .privacy-checkmark::after { opacity: 1; }
.privacy-checkbox input:focus ~ .privacy-checkmark { box-shadow: 0 0 0 3px rgba(0,160,224,0.15); }
.privacy-text a { color: var(--accent); font-weight: 600; text-decoration: none; }
.privacy-text a:hover { text-decoration: underline; }

/* ==================== PRIVACY MODAL ==================== */
.privacy-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 24px; }
.privacy-modal.show { display: flex; animation: fadeIn 0.3s ease; }
.privacy-modal-overlay { position: absolute; inset: 0; background: rgba(0, 16, 48, 0.85); backdrop-filter: blur(8px); }
.privacy-modal-box { position: relative; background: #fff; border-radius: var(--radius-lg); max-width: 680px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 30px 100px rgba(0, 16, 48, 0.5); animation: welcomeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.privacy-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.9); border: 1px solid var(--border); color: var(--text-2); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.25s; z-index: 5; }
.privacy-close:hover { background: #c9183a; color: #fff; border-color: transparent; transform: rotate(90deg); }
.privacy-modal-header { display: flex; align-items: center; gap: 16px; padding: 32px 36px 20px; border-bottom: 1px solid var(--border); }
.privacy-modal-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; flex-shrink: 0; }
.privacy-modal-header h2 { font-family: var(--font-display); font-size: 22px; color: var(--text); margin: 0; }
.privacy-modal-body { padding: 28px 36px; }
.privacy-modal-body p { font-size: 14px; line-height: 1.7; color: var(--text-2); margin-bottom: 14px; }
.privacy-modal-body h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 22px 0 8px; }
.privacy-modal-body ul { margin: 0 0 14px 20px; }
.privacy-modal-body ul li { font-size: 14px; line-height: 1.7; color: var(--text-2); margin-bottom: 6px; }
.privacy-modal-body a { color: var(--accent); font-weight: 600; text-decoration: none; }
.privacy-modal-body a:hover { text-decoration: underline; }
.privacy-updated { font-size: 12px !important; color: var(--text-3) !important; font-style: italic; margin-top: 24px !important; }
.privacy-modal-actions { padding: 0 36px 32px; display: flex; justify-content: flex-end; }
.privacy-modal-actions .btn { min-width: 200px; justify-content: center; }

/* ==================== FOOTER ==================== */
.footer { position: relative; padding: 80px 0 40px; overflow: hidden; background: var(--accent-2); }
.footer-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0040a0 0%, #002080 100%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-col-main .nav-logo { margin-bottom: 20px; }
.footer-col-main .nav-logo-title { color: #fff !important; }
.footer-col-main .nav-logo-sub { color: rgba(255,255,255,0.7) !important; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 24px; max-width: 400px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.25s; }
.footer-social a:hover { background: #fff; color: var(--accent-2); border-color: transparent; }
.footer-col h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a, .footer-col ul li { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.25s; display: flex; align-items: center; gap: 8px; }
.footer-col ul a:hover { color: #80e0ff; }
.footer-col ul li i { color: #80e0ff; width: 16px; }
.footer-bottom { position: relative; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-made i { animation: heartBeat 1.5s infinite; color: #ff6b7a; }
@keyframes heartBeat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* ==================== BACK TO TOP ==================== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 14px; background: var(--gradient); border: none; color: #fff; font-size: 18px; cursor: pointer; z-index: 999; opacity: 0; pointer-events: none; transition: all 0.3s; box-shadow: 0 8px 24px rgba(0,64,160,0.3); }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); }

/* ==================== GALERÍA CARRUSEL ==================== */
.gallery-carousel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
}

.gallery-viewport {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #0a1a2a;
}

.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 40px;
  color: var(--text-3);
}

.gallery-empty i { font-size: 48px; color: var(--border-2); }
.gallery-empty p { font-size: 16px; }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--accent-2);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 64, 160, 0.1);
}

.gallery-nav:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(0, 64, 160, 0.3);
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 8px;
  background: var(--surface);
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.gallery-dot:hover { background: var(--accent); }

.gallery-dot.active {
  background: var(--gradient);
  width: 30px;
  border-radius: 5px;
}

.gallery-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 0 20px;
  text-align: center;
  background: var(--surface);
}

.gallery-caption strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.gallery-caption span {
  font-size: 14px;
  color: var(--text-2);
  max-width: 600px;
}

.gallery-thumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 0;
  background: none;
  transition: all 0.3s;
  opacity: 0.6;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent-2);
  box-shadow: 0 4px 16px rgba(0, 64, 160, 0.2);
}

/* ==================== WELCOME VIDEO MODAL ==================== */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.welcome-modal.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.welcome-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 16, 48, 0.85);
  backdrop-filter: blur(8px);
}

.welcome-modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 100px rgba(0, 16, 48, 0.5);
  animation: welcomeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes welcomeIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.welcome-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.welcome-close:hover {
  background: #c9183a;
  color: #fff;
  border-color: transparent;
  transform: rotate(90deg);
}

.welcome-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 28px 20px;
}

.welcome-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  padding: 4px;
  background: var(--bg-3);
  box-shadow: 0 4px 16px rgba(0, 64, 160, 0.1);
}

.welcome-modal-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.welcome-video-wrap {
  padding: 0 28px;
  border-radius: 14px;
  overflow: hidden;
}

.welcome-video-wrap iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 12px;
}

.welcome-video-wrap video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  object-fit: contain;
  background: #0a1a2a;
}

.welcome-enter-btn {
  margin: 24px 28px 28px;
  width: calc(100% - 56px);
  justify-content: center;
}

/* ==================== INFORME DE GOBIERNO ==================== */
.informe-card {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.informe-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,160,224,0.06), transparent 70%);
  border-radius: 50%;
  transform: translate(40%, -40%);
}

.informe-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff4d4d, #c9183a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(201, 24, 58, 0.25);
}

.informe-card-body {
  flex: 1;
  position: relative;
  z-index: 1;
}

.informe-card-body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.informe-card-body p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.6;
}

.informe-card-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.informe-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--border);
}

.informe-card-meta span i {
  color: var(--accent);
}

.informe-card-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.informe-card-deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 120px;
  color: var(--bg-3);
  z-index: 0;
  pointer-events: none;
}

/* Report Modal */
.report-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.report-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.report-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 16, 48, 0.85);
  backdrop-filter: blur(8px);
}

.report-modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 100px rgba(0, 16, 48, 0.5);
  animation: welcomeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.report-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.report-modal-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-modal-header h3 i {
  color: #c9183a;
}

.report-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-modal-download,
.report-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-2);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  text-decoration: none;
}

.report-modal-download:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.report-modal-close:hover {
  background: #c9183a;
  color: #fff;
  border-color: transparent;
}

.report-modal-content {
  flex: 1;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.report-modal-content iframe {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  border: none;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 980px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col-main { grid-column: 1 / -1; }
  .hero-float-1 { left: -6%; }
  .hero-float-2 { right: -6%; }
  .hero-float-3 { left: -4%; }
  .trayectoria-layout { grid-template-columns: 1fr; gap: 32px; }
  .trayectoria-sidebar { position: static; }
}
@media (max-width: 700px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); padding: 20px; gap: 4px; border-bottom: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,64,160,0.1); }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text-2) !important; }
  .nav-links a:hover { color: var(--accent-2) !important; background: var(--bg-3) !important; }
  .nav-toggle { display: flex; }
  .section { padding: 70px 0; }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .locations-grid { grid-template-columns: 1fr; }
  .hero-float-card { display: none; }
  .eventos-grid { grid-template-columns: 1fr; }
  .hero-gestion-tag { font-size: 16px; padding: 10px 24px; }
  .gallery-nav { width: 42px; height: 42px; font-size: 16px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-thumb { width: 60px; height: 45px; }
  .welcome-modal-box { max-width: 100%; }
  .welcome-modal-header { padding: 20px 20px 16px; }
  .welcome-video-wrap { padding: 0 20px; }
  .welcome-enter-btn { margin: 20px 20px 20px; width: calc(100% - 40px); }
  .informe-card { flex-direction: column; text-align: center; gap: 20px; padding: 28px; }
  .informe-card-icon { width: 64px; height: 64px; font-size: 28px; }
  .informe-card-deco { display: none; }
  .report-modal-box { max-width: 100%; max-height: 95vh; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-form-wrap { padding: 24px; }
  .privacy-modal-header { padding: 24px 20px 16px; }
  .privacy-modal-body { padding: 20px; }
  .privacy-modal-actions { padding: 0 20px 24px; }
  .privacy-modal-actions .btn { width: 100%; min-width: 0; }
}

/* ==================== EFECTOS DE CLIC ==================== */
.btn:active, .service-card:active, .city-card:active, .prensa-card:active,
.logro-card:active, .contact-social-link:active, .footer-social a:active,
.evento-follow:active, .trayectoria-link:active, .btn-back:active,
.breadcrumb-reset:active, .location-card-map:active, .insta-cta:active,
.yt-cta:active, .nav-logo:active {
  transform: scale(0.96);
}

/* Ripple */
.ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.5);
  transform: scale(0); animation: rippleAnim 0.6s ease-out; pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* Resaltado de sección al navegar */
.section-highlight { animation: sectionGlow 1.2s ease; }
@keyframes sectionGlow {
  0% { box-shadow: inset 0 0 0 0 rgba(0,160,224,0); }
  30% { box-shadow: inset 0 0 0 4px rgba(0,160,224,0.3); }
  100% { box-shadow: inset 0 0 0 0 rgba(0,160,224,0); }
}

/* Transición de entrada para tarjetas */
.service-card, .city-card, .prensa-card, .logro-card, .location-card, .timeline-content {
  animation: cardEntrance 0.4s ease backwards;
}
@keyframes cardEntrance { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
