/* ========== VARIABLES FOOTER ========== */
:root {
    --footer-yellow: #FFD700;
    --footer-gold: #FFA500;
    --footer-white: #FFFFFF;
    --footer-black: #000000;
    --footer-bg: #0a0a0a;
    --footer-gray: #666666;
    --transition-footer: all 0.3s ease;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(180deg, var(--footer-black) 0%, var(--footer-bg) 100%);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--footer-yellow), var(--footer-gold), transparent);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== GRID DE COLUMNAS ========== */
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* ========== COLUMNAS ========== */
.footer__column {
    animation: fadeInUp 0.8s ease-out backwards;
}

.footer__column:nth-child(1) { animation-delay: 0.1s; }
.footer__column:nth-child(2) { animation-delay: 0.2s; }
.footer__column:nth-child(3) { animation-delay: 0.3s; }
.footer__column:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== LOGO ========== */
.footer__logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--footer-yellow);
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.3);
}

.footer__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer__badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border: 2px solid var(--footer-yellow);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--footer-yellow);
    letter-spacing: 0.5px;
}

/* ========== TÍTULOS DE COLUMNA ========== */
.footer__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--footer-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--footer-yellow), transparent);
}

/* ========== LISTAS ========== */
.footer__list {
    list-style: none;
}

.footer__item {
    margin-bottom: 12px;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: var(--transition-footer);
    display: inline-block;
    position: relative;
}

.footer__link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition-footer);
    color: var(--footer-yellow);
}

.footer__link:hover {
    color: var(--footer-yellow);
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.footer__link:hover::before {
    opacity: 1;
    left: -15px;
}

/* ========== CONTACTO ========== */
.footer__contact {
    list-style: none;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.5;
}

.footer__contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--footer-yellow);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__contact-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-footer);
}

.footer__contact-item a:hover {
    color: var(--footer-yellow);
}

/* ========== REDES SOCIALES ========== */
.footer__social-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer__social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer__social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: var(--transition-footer);
}

.footer__social-link svg {
    width: 22px;
    height: 22px;
    fill: var(--footer-white);
    transition: var(--transition-footer);
}

.footer__social-link:hover {
    background: var(--footer-yellow);
    border-color: var(--footer-yellow);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.footer__social-link:hover svg {
    fill: var(--footer-black);
    transform: scale(1.1);
}

/* ========== LÍNEA DIVISORIA ========== */
.footer__divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 40px 0;
}

/* ========== PARTE INFERIOR (COPYRIGHT) ========== */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
}

.footer__copyright {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer__credits {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer__credits-link {
    color: var(--footer-yellow);
    font-weight: 600;
    transition: var(--transition-footer);
}

.footer__credits-link:hover {
    color: var(--footer-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ========== RESPONSIVE - TABLET ========== */
@media screen and (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer__column:nth-child(1) {
        grid-column: 1 / -1;
    }
}

/* ========== RESPONSIVE - MÓVIL ========== */
@media screen and (max-width: 768px) {
    .footer {
        padding: 60px 0 20px;
    }

    .footer__container {
        padding: 0 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer__column:nth-child(1) {
        grid-column: 1;
    }

    .footer__logo {
        font-size: 1.8rem;
        text-align: center;
    }

    .footer__desc {
        text-align: center;
        font-size: 0.95rem;
    }

    .footer__badge {
        display: block;
        text-align: center;
        margin: 0 auto;
        width: fit-content;
    }

    .footer__title {
        text-align: center;
        font-size: 1.2rem;
    }

    .footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer__list {
        text-align: center;
    }

    .footer__link::before {
        display: none;
    }

    .footer__link:hover {
        transform: translateX(0);
    }

    .footer__contact {
        max-width: 300px;
        margin: 0 auto;
    }

    .footer__social-text {
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer__copyright,
    .footer__credits {
        font-size: 0.85rem;
    }
}