/* --------------------------
           FOOTER
--------------------------- */

footer {
    background: linear-gradient(180deg, #111, #1a1a1a);
    color: white;
    padding: 50px 20px 0;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo sutil giratorio */
footer::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 60%);
    top: -50%;
    left: -50%;
    animation: shine 10s linear infinite;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
    padding-bottom: 30px;
}

/* -------- TITULOS MÁS INTERACTIVOS -------- */

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #00A651;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-section h3:hover {
    color: #ff9900;
    text-shadow: 0 0 10px rgba(255, 153, 0, 0.8);
    transform: scale(1.05);
}

/* Subrayado animado */
.footer-section h3::after {
    content: "";
    display: block;
    width: 0%;
    height: 3px;
    background: #ff9900;
    margin-top: 6px;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.footer-section h3:hover::after {
    width: 60%;
}

/* -------- ENLACES INTERACTIVOS -------- */

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Subrayado animado en enlaces */
.footer-section a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #00A651;
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: #00A651;
    transform: translateX(8px);
}

.footer-section a:hover::after {
    width: 100%;
}

/* -------- TEXTOS INTERACTIVOS -------- */

.footer-section p {
    margin: 8px 0;
    color: #ddd;
    transition: color .3s, transform .3s;
}

.footer-section p:hover {
    color: #ff9900;
    transform: translateX(5px);
}

/* -------- REDES SOCIALES -------- */

.footer-social a {
    color: white;
    font-size: 20px;
    margin-right: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    color: #00A651;
    transform: scale(1.2) rotate(5deg);
}

/* -------- LOGO -------- */

.footer-logo {
    width: 140px;
    height: auto;
    margin-bottom: 15px;
    margin-left: 50px;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.2));
}

.footer-logo:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.6));
}

/* -------- LÍNEA INFERIOR -------- */

.footer-bottom {
    text-align: center;
    padding: 15px;
    background: #0d0d0d;
    font-size: 14px;
    margin-top: 20px;
    border-top: 1px solid #222;
    transition: letter-spacing .3s ease;
}

.footer-bottom:hover {
    letter-spacing: 2px;
}

/* -------- RESPONSIVO -------- */

@media (max-width: 700px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        min-width: 100%;
    }

    .footer-social a {
        margin-right: 10px;
    }
    .footer-logo {
    margin-right: 50px;
    }
}
