/* Footer Responsivo */
.footer {
    background-color: #2c3e50;
    color: white;
    font-size: 15px;
    padding: 40px 24px 24px;
    margin-top: 20px;
}

.footer__container {
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Certificados */
.footer__certificates {
    max-width: 360px;
    height: auto;
    display: block;
}

/* Información de la empresa */
.footer__company-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 0;
    color: white;
    font-weight: bold;
}

.footer__company-info p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: white;
}

.footer__company-info .address {
    font-style: italic;
    margin-bottom: 15px;
}

.footer__company-info .schedule {
    padding: 15px 0;
    border-radius: 8px;
    margin-top: 15px;
}

.footer__company-info .schedule p {
    margin-bottom: 5px;
}

.footer__company-info .schedule p:first-child {
    font-weight: bold;
    margin-bottom: 10px;
}

/* Contacto */
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.footer__contact-info a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer__contact-info a:hover {
    color: #3498db;
}

.footer__contact-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Navegación */
.footer__nav {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.footer__nav a {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin: 5px 8px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.footer__nav a:hover {
    background-color: #34495e;
}

/* MEDIA QUERIES - RESPONSIVE */

/* Tablet - 768px y superior */
@media (min-width: 768px) {
    .footer {
        padding: 50px 24px 30px;
    }
    
    .footer__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        text-align: left;
        align-items: start;
    }
    
    .footer__certificates {
        justify-self: center;
        grid-column: 1 / -1;
        margin-bottom: 10px;
    }
    
    .footer__company-info {
        grid-column: 1;
    }
    
    .footer__contact {
        grid-column: 2;
    }
    
    .footer__nav {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        margin-top: 30px;
    }
    
    .footer__nav a {
        margin: 0;
    }
}

/* Desktop - 1024px y superior */
@media (min-width: 1024px) {
    .footer {
        padding: 60px 24px 40px;
    }
    
    .footer__container {
        grid-template-columns: auto 1fr 1fr auto;
        gap: 50px;
        text-align: left;
    }
    
    .footer__certificates {
        grid-column: 1;
        justify-self: start;
        max-width: 300px;
        margin: auto;
        margin-bottom: 0;
    }
    
    .footer__company-info {
        grid-column: 2;
    }
    
    .footer__contact {
        grid-column: 3;
    }
    
    .footer__nav {
        grid-column: 1 / -1;
        margin-top: 40px;
    }
}

/* Desktop grande - 1200px y superior */
@media (min-width: 1200px) {
    .footer__container {
        padding: 0 50px;
    }
    
    .footer__certificates {
        max-width: 400px;
    }
    
    .footer__company-info h3 {
        font-size: 22px;
    }
    
    .footer__contact-info {
        align-items: flex-start;
    }
}