/* ==========================================================================
   CSS PREMIUM - ANDINOS POR EL CAMBIO UAC 2026
   Diseño de Interfaces Avanzado & Branding Político-Institucional
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@500;700;800&display=swap');

:root {
    /* Paleta de Colores Oficial */
    --brand-blue: #0B2545;
    --brand-blue-dark: #051427;
    --brand-blue-light: #134074;
    --brand-red: #D61C22;
    --brand-red-hover: #B51218;
    
    /* Colores de Fondo y Texto */
    --bg-light: #F8FAFC;
    --bg-gray: #EEF2F6;
    --text-main: #0F172A; /* Ligeramente más oscuro para mejor contraste */
    --text-muted: #475569;
    
    /* Tipografías */
    --font-headings: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Sistema de Diseño: Radios y Espaciados */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 50px;
    
    /* Sistema de Sombras Moderno (Multi-capa) */
    --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.1), 0 1px 2px rgba(11, 37, 69, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(11, 37, 69, 0.1), 0 2px 4px -1px rgba(11, 37, 69, 0.06);
    --shadow-premium: 0 10px 25px -5px rgba(11, 37, 69, 0.08), 0 8px 10px -6px rgba(11, 37, 69, 0.04);
    --shadow-hover: 0 20px 25px -5px rgba(11, 37, 69, 0.12), 0 10px 10px -5px rgba(11, 37, 69, 0.04);
    
    /* Variables de Entorno y Efectos */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   RESET & ESTILOS BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn {
    font-family: var(--font-headings);
}

a, a:hover, a:focus, a:active {
    text-decoration: none !important;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   COMPONENTES UI: BOTONES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-bounce);
    cursor: pointer;
    position: relative;
    border: none;
}

.btn:focus-visible {
    outline: 3px solid rgba(214, 28, 34, 0.5);
    outline-offset: 4px;
}

.btn-primary, .btn-accent {
    background-color: var(--brand-red);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover, .btn-accent:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
    color: #ffffff;
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    padding: 1.2rem 0;
}

.navbar-scrolled {
    padding: 0.8rem 0;
    background: rgba(11, 37, 69, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-sm);
}

.navbar-scrolled .nav-link { color: rgba(255, 255, 255, 0.85); }
.navbar-scrolled .nav-link:hover { color: #ffffff; }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item { position: relative; }

.nav-link {
    color: var(--brand-blue);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.nav-link:hover { color: var(--brand-red); }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #ffffff;
    min-width: 260px;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(11, 37, 69, 0.05);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-item {
    display: block;
    padding: 0.7rem 1.2rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background: var(--bg-gray);
    color: var(--brand-red);
    transform: translateX(5px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    color: #ffffff;
    overflow: hidden;
    background-color: var(--brand-blue-dark);
}

.hero .container { position: relative; z-index: 2; width: 100%; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 780px;
    text-align: left;
}

.hero-badge-container {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tag-accent.hero-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: #ffffff;
    background-color: var(--brand-red);
    padding: 0.6rem 1.2rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title .highlight-box {
    display: inline-block;
    background-color: var(--brand-red);
    color: #ffffff;
    padding: 0.2rem 1rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 20px rgba(214, 28, 34, 0.4);
    margin-top: 0.5rem;
}

.hero-lead {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    position: relative;
}

.candidate-png {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    vertical-align: bottom;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Slider Fondo */
.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    background-color: var(--brand-blue-dark);
}

.hero-slider .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slider .slide.active { opacity: 1; }

/* ==========================================================================
   SECCIONES Y TARJETAS
   ========================================================================== */
.section { padding: 6rem 0; position: relative; }
.section-light { background-color: var(--bg-light); }
.section-gray { background-color: var(--bg-gray); }
.section-dark { background-color: var(--brand-blue); color: #ffffff; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-red);
    margin-bottom: 1rem;
    background: rgba(214, 28, 34, 0.1);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.section-dark .section-header h2 { color: #ffffff; }

.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
}
.section-dark .lead { color: rgba(255, 255, 255, 0.7); }

/* Grid Genérico */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Tarjetas Base (Principios/Emblemáticas) */
.card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    border: 1px solid rgba(11, 37, 69, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(214, 28, 34, 0.1);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--brand-red);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 1rem;
}

.card-body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
    align-self: flex-start;
}
.tag-accent { background: rgba(214, 28, 34, 0.1); color: var(--brand-red); }
.tag-primary { background: rgba(11, 37, 69, 0.1); color: var(--brand-blue); }

/* ==========================================================================
   EQUIPO DE GOBIERNO
   ========================================================================== */
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.candidato-block {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-bounce);
}

.candidato-block:hover { transform: translateY(-10px); }

.candidato-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    text-align: center;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.candidato-block:hover .candidato-card { box-shadow: var(--shadow-premium); }

.candidato-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 110%;
    background-color: var(--bg-gray);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.candidato-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.candidato-block:hover .candidato-img { transform: scale(1.08); }

.candidato-cargo {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.candidato-nombre {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-blue);
    padding: 0 1.5rem;
    line-height: 1.3;
}

.candidato-action { margin-top: 1.5rem; }

.btn-block-propuesta {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--brand-red);
    color: #ffffff;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
}

.candidato-block:hover .btn-block-propuesta {
    background-color: var(--brand-red-hover);
    box-shadow: var(--shadow-premium);
    transform: translateY(-2px);
}

/* ==========================================================================
   EJES ESTRATÉGICOS
   ========================================================================== */
.ejes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.eje-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    transition: var(--transition-bounce);
}

.eje-card:hover {
    background: #ffffff;
    color: var(--brand-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.eje-number {
    font-family: var(--font-headings);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    transition: var(--transition-smooth);
}

.eje-card:hover .eje-number { color: rgba(214, 28, 34, 0.15); }

.eje-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 1.5rem 0 1rem 0;
}

.eje-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    transition: var(--transition-smooth);
}

.eje-card:hover .eje-link { gap: 0.8rem; } /* Efecto de flecha moviéndose */

/* ==========================================================================
   VISIÓN SECTION
   ========================================================================== */
.vision-section {
    background: #ffffff;
    padding: 8rem 0;
}

.vision-statement {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.4;
    color: var(--brand-blue);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--brand-blue-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--brand-red);
    transform: translateX(5px);
}

.social-links { display: flex; gap: 1rem; }
.social-icon {
    width: 45px; height: 45px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: var(--transition-bounce);
}

.social-icon:hover {
    background: var(--brand-red);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   BOTONES FLOTANTES
   ========================================================================== */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px;
    bottom: 30px; right: 30px;
    background-color: #25D366; color: #FFF !important;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition-bounce);
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: translateY(-5px) scale(1.1);
}

.inti-float {
    position: fixed; bottom: 110px; right: 30px;
    z-index: 9999;
    animation: intiBounce 3s ease-in-out infinite;
}

.inti-float img {
    width: 90px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: var(--transition-bounce);
}

.inti-float:hover img { transform: scale(1.15); }

@keyframes intiBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE MENU
   ========================================================================== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.mobile-toggle span {
    width: 30px; height: 3px;
    background-color: var(--brand-blue);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.navbar-scrolled .mobile-toggle span { background-color: #ffffff; }

.mobile-cta {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-content { margin: 0 auto; }
    .hero-badge-container { justify-content: center; }
    .hero-actions { justify-content: center; }
    .mobile-toggle { display: flex; }
    
    .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 85%; max-width: 400px; height: 100vh;
    background: #ffffff;
    box-shadow: -20px 0 50px rgba(0,0,0,0.15);
    flex-direction: column; align-items: flex-start;
    padding: 6rem 2.5rem;
    transition: var(--transition-smooth);
    z-index: 1000; /* below mobile-toggle */
}
    
    .nav-menu.active { right: 0; }
    .nav-link { font-size: 1.25rem; padding: 1rem 0; width: 100%; }
    
    /* Asegurar visibilidad de enlaces en el menú móvil al hacer scroll (evitar que se pongan blancos) */
    .navbar-scrolled .nav-link,
    .nav-menu .nav-link {
        color: var(--brand-blue) !important;
    }
    .navbar-scrolled .nav-link:hover,
    .nav-menu .nav-link:hover {
        color: var(--brand-red) !important;
    }

    .section { padding: 4rem 0; }

    /* ── Dropdown móvil: inline, no flotante ── */
    .nav-menu .nav-item.dropdown {
        width: 100%;
    }

    .nav-menu .nav-item.dropdown > .nav-link {
        justify-content: space-between;
    }

    .nav-menu .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: var(--bg-gray);
        border-radius: var(--radius-sm);
        padding: 0.5rem 0;
        min-width: unset;
        width: 100%;
        /* Ocultar por defecto en móvil, mostrar con .open */
        display: none;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
    }

    /* Anula el centrado del escritorio al abrir o tocar el menú en móvil */
    .nav-menu .nav-item.dropdown.open .dropdown-menu,
    .nav-menu .nav-item:hover .dropdown-menu {
        display: block;
        transform: none !important;
        position: static !important;
    }

    .nav-menu .dropdown-item {
        font-size: 1rem;
        padding: 0.65rem 1.2rem;
        color: var(--text-main);
        border-radius: var(--radius-sm);
    }

    .nav-menu .dropdown-item:hover {
        transform: translateX(4px);
        color: var(--brand-red);
        background: rgba(214, 28, 34, 0.07);
    }

    /* Rotar el chevron cuando está abierto */
    .nav-item.dropdown.open .nav-link .fa-chevron-down {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }
    .nav-item.dropdown .nav-link .fa-chevron-down {
        transition: transform 0.3s ease;
    }
}

/* ==========================================================================
   ANIMACIONES SCROLL
   ========================================================================== */
.fade-in {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fade-in.appear { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ================= CORRECCIÓN DE BOTONES FLOTANTES (image_67e21d.png) ================= */

/* Contenedor flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Contenedor flotante de la Mascota Inti */
.inti-float {
  position: fixed;
  bottom: 100px;
  right: 15px;
  width: 85px;
  height: 85px;
  z-index: 9999;
  transition: transform 0.3s ease;
  display: block;
}

.inti-float:hover {
  transform: scale(1.08) translateY(-5px);
}

.inti-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Tooltip ajustado */
.inti-float-tooltip {
  position: absolute;
  right: 95px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #ffffff;
  color: #0b2545;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(11, 37, 69, 0.1);
  pointer-events: none;
  
  /* Estado inicial: Oculto */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Efecto Hover: Muestra el tooltip al pasar el mouse */
.inti-float:hover .inti-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================
   ESTILOS PÁGINA CANDIDATOS (Integrados)
   ========================================================== */

.candidatos-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.candidatos-intro-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.candidatos-intro-text h2 span { color: var(--brand-red); }

.candidatos-intro-text p {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.intro-highlight-box {
  background: var(--bg-gray);
  padding: 2rem;
  border-radius: 12px;
  border-left: 5px solid var(--brand-red);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin-top: 2rem;
}

.intro-highlight-box p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin-bottom: 0;
  font-style: italic;
}

.candidatos-intro-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.candidatos-intro-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.candidatos-intro-image:hover img { transform: scale(1.03); }

/* Detalle Académico */
.candidato-info-short {
  padding: 0.5rem 1.5rem;
  text-align: left;
  flex-grow: 1;
}

.candidato-bio-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.candidato-bio-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.candidato-bio-list li i {
  color: var(--brand-red);
  margin-top: 0.2rem;
}

/* Sección de Compromiso */
.compromiso-section {
  background: linear-gradient(rgba(11, 37, 69, 0.9), rgba(5, 20, 39, 0.95)), url('assets/images/hero3.webp') no-repeat center center/cover;
  color: #ffffff;
  padding: 6rem 0;
  text-align: center;
}

.compromiso-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.compromiso-text {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.compromiso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.compromiso-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.compromiso-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-5px); }

.compromiso-icon { font-size: 2.5rem; color: var(--brand-red); margin-bottom: 1.5rem; }

.compromiso-h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.8rem; color: #ffffff; }

.compromiso-p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); }

@media (max-width: 992px) {
  .candidatos-intro { grid-template-columns: 1fr; gap: 3rem; }
  .compromiso-grid { grid-template-columns: 1fr; }
}

/* Corrección de tamaño para el logo en el Footer */
.footer-brand img {
    max-width: 180px; /* Puedes ajustar este número si quieres que sea más pequeño */
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

/* Fuerza el color azul oscuro cuando el menú está abierto, ganándole al color blanco del scroll */
.mobile-toggle.active span {
    background-color: var(--brand-blue) !important;
}

/* Efecto visual adicional: Convierte la hamburguesa en una "X" al abrirse */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}