/* ===== VARIABLES DE COLOR ===== */
:root {
    --footer-blue: #1a2f2f;
    --footer-dark: #0f1f1f;
    --footer-gold: #B8860B;
    --footer-light-gold: #DAA520;
    --footer-red: #800000;
    --footer-white: #FFFFFF;
    --footer-gray: #e0e0e0;
    --footer-light-gray: #f5f5f5;
    --footer-text: #cccccc;
}

/* ===== ESTILOS DEL FOOTER ===== */
.valida-footer {
    background: linear-gradient(135deg, var(--footer-blue) 0%, var(--footer-dark) 100%);
    color: var(--footer-white);
    margin-top: 4rem;
    border-top: 5px solid var(--footer-gold);
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== SECCIÓN SUPERIOR ===== */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo i {
    font-size: 3rem;
    color: var(--footer-gold);
    background: rgba(255, 255, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--footer-white);
}

.logo-text p {
    margin: 0.3rem 0 0 0;
    color: var(--footer-text);
    font-size: 0.95rem;
}

.footer-mission {
    color: var(--footer-text);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-column h4 {
    color: var(--footer-light-gold);
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 2px solid var(--footer-gold);
    padding-bottom: 0.5rem;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-column li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-column a {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-column a:hover {
    color: var(--footer-light-gold);
    transform: translateX(5px);
}

.link-column i {
    color: var(--footer-gold);
    width: 20px;
}

/* ===== SECCIÓN MEDIA - SELLOS ===== */
.footer-middle {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.official-seals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.seal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--footer-gold);
    transition: all 0.3s ease;
}

.seal-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.seal-icon {
    font-size: 1.8rem;
    color: var(--footer-light-gold);
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-text h5 {
    margin: 0 0 0.3rem 0;
    color: var(--footer-white);
    font-size: 1.1rem;
}

.seal-text p {
    margin: 0;
    color: var(--footer-text);
    font-size: 0.9rem;
}

/* ===== SECCIÓN INFERIOR ===== */
.footer-bottom {
    padding: 2.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.copyright p {
    margin: 0 0 0.8rem 0;
    color: var(--footer-text);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer {
    font-size: 0.9rem !important;
    color: var(--footer-gold) !important;
    font-style: italic;
    border-left: 3px solid var(--footer-gold);
    padding-left: 1rem;
    margin-top: 1rem !important;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.legal-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: var(--footer-light-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--footer-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--footer-gold);
    transform: translateY(-3px);
    color: var(--footer-white);
}

/* ===== BARRA DE GOBIERNO ===== */
.government-bar {
    background: linear-gradient(90deg, var(--footer-red) 0%, #a52a2a 100%);
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid var(--footer-gold);
}

.government-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--footer-white);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

.veracruz-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--footer-white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .footer-top {
        gap: 2rem;
    }
    
    .official-seals {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-legal {
        align-items: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .official-seals {
        grid-template-columns: 1fr;
    }
    
    .government-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .government-strip {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .separator {
        display: none;
    }
    
    .link-column h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .footer-top,
    .footer-middle,
    .footer-bottom {
        padding: 2rem 0;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .seal-item {
        flex-direction: column;
        text-align: center;
    }
    
    .seal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ===== ANIMACIONES ===== */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== EFECTO DE GRADIENTE EN BORDES ===== */
.valida-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--footer-gold) 20%, 
        var(--footer-red) 50%, 
        var(--footer-gold) 80%, 
        transparent 100%);
}

/* ===== ESTILOS PARA ENLACES ACTIVOS ===== */
.link-column a.active {
    color: var(--footer-light-gold);
    font-weight: 600;
    position: relative;
}

.link-column a.active::before {
    content: '▶';
    position: absolute;
    left: -15px;
    color: var(--footer-gold);
}

/* ===== ESTILOS PARA ICONOS DE REDES SOCIALES ===== */
.social-link.facebook:hover {
    background: #1877F2;
}

.social-link.twitter:hover {
    background: #1DA1F2;
}

.social-link.youtube:hover {
    background: #FF0000;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

/* ===== EFECTO DE SOMBRA EN SELLOS ===== */
.seal-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.seal-item:hover::after {
    opacity: 1;
}

/* ===== ESTILOS PARA EL SCROLL SUAVE ===== */
html {
    scroll-behavior: smooth;
}