/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--verde-oscuro);
    color: var(--crema);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* ========================================
   FOOTER SECTIONS
   ======================================== */

.footer-section h3 {
    font-family: var(--font-titulos);
    font-size: 1.5rem;
    color: var(--dorado);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: var(--crema);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--dorado);
}

/* Logo en footer */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
}

.footer-logo span {
    font-family: var(--font-titulos);
    font-size: 1.4rem;
    color: var(--blanco);
}

.footer-description {
    color: var(--crema);
    line-height: 1.8;
}

/* ========================================
   FOOTER LINKS
   ======================================== */

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   CONTACTO EN FOOTER
   ======================================== */

.footer-contact-item {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: var(--dorado);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact-item a {
    display: block;
}

/* ========================================
   REDES SOCIALES EN FOOTER
   ======================================== */

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--dorado);
    transform: translateY(-3px);
}

.footer-social a i {
    color: var(--blanco);
    font-size: 1.1rem;
}

/* ========================================
   FOOTER BOTTOM
   ======================================== */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

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

.footer-bottom a {
    color: var(--dorado);
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links a::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-logo img {
        width: 50px;
        height: 50px;
    }
    
    .footer-logo span {
        font-size: 1.2rem;
    }
}