.footer {
    width: 100%;
    background-image: linear-gradient(180deg, #02254d8c 0%, #0e4a8f8c 100%), url("../images/FondoMenu.png");
    background-size: cover;
    background-position: top;
    color: #FFFFFF;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer h3,
.footer p,
.footer a,
.footer li {
    color: #FFFFFF;
}

.footer-container {
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 70px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column.left-col p {
    text-align: justify;
}

.footer-column.right-col {
    text-align: right;
}

.footer-column h3 {
    font-size: 1.35rem;
    border-bottom: 2px solid #1E90FF;
    width: fit-content;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.footer-column p,
.footer-column a,
.footer-column li {
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus {
    color: #76c4ff;
    padding-left: 4px;
    outline: none;
}

.footer-column a:focus {
    outline: 2px dashed #76c4ff;
    outline-offset: 2px;
}

.footer-emails .email-item a:hover,
.footer-emails .email-item a:focus {
    color: #76c4ff;
    text-decoration: underline;
}

.social {
    margin-top: 5px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-column.right-col .social {
    justify-content: flex-end;
}

.social a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    width: 35px;
    height: 35px;
    font-size: 25px;
    color: white;
    border-radius: 5px;
    border: 3px solid #00ABE4;
    transition: transform 0.5s ease, background 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.social b {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    width: 35px;
    height: 35px;
    font-size: 25px;
    color: white;
    border-radius: 5px;
    border: 3px solid white;
    text-decoration: none;
    overflow: hidden;
}

.social a:hover,
.social a:focus {
    transform: scale(1.05);
    background: #63B3FF;
}

.social a:focus {
    outline-offset: 3px;
}

.social a.linkedin { background-color: #0e76a8; }
.social a.facebook { background-color: #3b5998; }
.social a.instagram { background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045); }
.social a.whatsapp { background-color: #25D366; }

.footer-bottom {
    margin-top: 45px;
    padding: 14px 0;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    .footer-column.right-col {
        text-align: center;
    }

    .footer-container {
        gap: 30px;
        grid-template-columns: 1fr; /* Una columna por fila */
    }

    .footer-column.left-col,
    .footer-column.center-col {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-emails .email-item {
        justify-content: center;
        gap: 8px;
    }

    .footer-column.right-col .social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding-top: 35px;
    }

    .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .social a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .footer-bottom {
        padding: 20px 0;
        font-size: 0.9rem;
    }

    .footer-emails .email-item {
        justify-content: center;
        gap: 6px;
    }

    .footer-emails .email-item a {
        font-size: 0.95rem;
        text-align: center;
    }

    .footer-column.left-col,
    .footer-column.center-col {
        padding-left: 12px;
        padding-right: 12px;
    }
}
