@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&ndisplay=swap');

body {
    font-family: 'Inter', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-gradient {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 50%, #1E3A8A 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

/* ===== ESTILOS DEL FOOTER ===== */
:root {
    --footer-bg: #1a1a2e;
    --footer-text: #f8f9fa;
    --footer-link: #b8c1ec;
    --footer-link-hover: #e94560;
    --footer-border: #2d3748;
    --footer-accent: #4361ee;
    --transition: all 0.3s ease;
}

/* Estilos base del footer */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin-top: 5rem;
}

/* Contenedor principal */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

/* Columnas del footer */
.footer-col {
    padding: 0 1rem;
}

/* Logo del footer */
.footer-logo a {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.footer-logo a:hover {
    color: var(--footer-link-hover);
}

/* Texto de descripción */
.footer-about {
    color: var(--footer-link);
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Títulos de sección */
.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--footer-accent);
}

/* Enlaces del footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--footer-link);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    transform: translateX(5px);
}

/* Sección de contacto */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    color: var(--footer-link);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--footer-accent);
    min-width: 20px;
    margin-top: 0.2rem;
}

.footer-contact a {
    color: var(--footer-link);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--footer-link-hover);
}

/* Iconos de redes sociales */
.social-icons, .footer-social-mobile {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icon, .footer-social-mobile a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover, .footer-social-mobile a:hover {
    background-color: var(--footer-accent);
    transform: translateY(-3px);
}

/* Formulario de newsletter */
.newsletter h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid var(--footer-border);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background-color: var(--footer-accent);
    color: white;
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #3a56d4;
}

/* Barra inferior del footer */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    margin-top: 3rem;
    padding: 1.5rem 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--footer-link);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--footer-link-hover);
}

.footer-legal span {
    color: var(--footer-border);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col {
        padding: 0;
    }
    
    .footer-social-desktop {
        display: none;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-legal span {
        display: none;
    }
}

@media (min-width: 769px) {
    .footer-social-mobile {
        display: none;
    }
}