/* Estilos del footer extraídos de footer.ejs */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
}

/* Footer moderno con gradientes */
.modern-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 0 !important;
    background-attachment: fixed;
}
.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}
.footer-main {
    position: relative;
    z-index: 2;
}
.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 2px;
}
.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}
.logo-footer {
    transition: all 0.3s ease;
    filter: brightness(1.1);
}
.logo-footer:hover {
    transform: scale(1.05);
    filter: brightness(1.3);
}
.footer-links {
    margin: 0;
    padding: 0;
}
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-left: 0.5rem;
    margin-left: -0.5rem;
}
.footer-link:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
    padding-left: 1rem;
}
.footer-link i {
    font-size: 0.9rem;
    width: 20px;
    opacity: 0.7;
}
.social-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}
.social-links {
    gap: 1rem;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}
.social-link:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.social-link:hover::before {
    transform: scale(1);
}
.social-link.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}
.social-link.facebook {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
}
.social-link.twitter {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}
.social-link.youtube {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}
.social-link.tiktok {
    background: linear-gradient(45deg, #000000, #ff0050);
}
.contact-info {
    margin: 0;
}
/* Eliminamos .contact-item ya que usamos clases de Bootstrap */
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-text {
    flex: 1;
}
.contact-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}
.contact-link {
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-link:hover {
    color: #3498db;
}
.contact-link {
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-link:hover {
    color: #3498db;
}
.newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}
.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 25px 0 0 25px;
}
.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
    color: #fff;
}
.newsletter-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    border-radius: 0 25px 25px 0;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}
.newsletter-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: scale(1.05);
}
.footer-stats {
    display: flex;
    gap: 1rem;
}
.stat-item {
    text-align: center;
    flex: 1;
}
.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}
.footer-badges .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}
.back-btn-container {
    z-index: 1020;
}
.back-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}
.back-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-5px) scale(1.1);
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.footer-section {
    animation: fadeInUp 0.6s ease-out;
}
.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }
    .contact-item {
        padding: 0.5rem;
    }
    .footer-stats {
        justify-content: center;
        margin-top: 2rem;
    }
    .stat-item {
        max-width: 80px;
    }
    .footer-badges {
        margin-top: 1rem;
    }
}
.modern-footer {
    background-attachment: fixed;
}
.footer-section:hover .footer-title::after {
    width: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.footer-section {
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
