/* ===== FOOTER ===== */
footer {
    background: var(--bg-primario);
    padding: 80px 0 30px;
    border-top: 2px solid var(--dorado);
    position: relative;
    overflow: hidden;
}

body.modo-claro footer {
    border-top: 2px solid var(--dorado-oscuro);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--dorado), var(--dorado-oscuro), var(--dorado));
    animation: shine 3s linear infinite;
}

body.modo-claro footer::before {
    background: linear-gradient(90deg, var(--dorado-oscuro), var(--dorado), var(--dorado-oscuro));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    max-width: 180px;
    margin-bottom: 10px;
    filter: brightness(1.2) contrast(1.1);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-tagline {
    color: var(--texto-secundario);
    font-size: 1.1rem;
    margin-bottom: 30px;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--dorado);
    margin-bottom: 25px;
    font-size: 1.2rem;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    font-family: 'Oswald', sans-serif;
}

body.modo-claro .footer-column h4 {
    color: var(--dorado-oscuro);
}

.footer-column:nth-child(1) h4 { animation-delay: 0.2s; }
.footer-column:nth-child(2) h4 { animation-delay: 0.4s; }
.footer-column:nth-child(3) h4 { animation-delay: 0.6s; }

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.footer-column:nth-child(1) li { animation-delay: 0.3s; }
.footer-column:nth-child(2) li { animation-delay: 0.5s; }
.footer-column:nth-child(3) li { animation-delay: 0.7s; }

.footer-column a {
    color: var(--texto-secundario);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

.footer-column a:hover {
    color: var(--dorado);
    padding-left: 10px;
    transform: translateX(5px);
}

body.modo-claro .footer-column a:hover {
    color: var(--dorado-oscuro);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--texto-terciario);
    font-size: 0.9rem;
    animation: fadeInUp 1s ease-out 0.5s both;
    font-family: 'Montserrat', sans-serif;
}

body.modo-claro .footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Estilos para el logo de High Value Makers */
.developed-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.modo-claro .developed-by {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.developed-by p {
    color: var(--texto-terciario);
    font-size: 0.9rem;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.hvm-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hvm-logo img {
    height: 35px;
    width: auto;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.3s ease;
    object-fit: contain;
}

.hvm-logo:hover {
    transform: scale(1.05);
}

.hvm-logo:hover img {
    filter: brightness(1.1) drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

body.modo-claro .hvm-logo:hover img {
    filter: brightness(1) drop-shadow(0 0 8px rgba(184, 134, 11, 0.3));
}

.hvm-name {
    color: var(--dorado) !important;
    font-weight: 600;
    font-size: 1rem !important;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

body.modo-claro .hvm-name {
    color: var(--dorado-oscuro) !important;
}

.footer-bottom .footer-tagline {
    margin-top: 15px;
    color: var(--texto-terciario);
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

/* ===== RESPONSIVE PARA FOOTER ===== */
@media (max-width: 1200px) {
    .footer-content {
        gap: 40px;
    }
    
    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo-container {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column h4 {
        margin-bottom: 20px;
        font-size: 1.1rem;
    }
    
    .footer-column a:hover {
        padding-left: 0;
        transform: translateX(0);
    }
    
    .developed-by {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hvm-logo img {
        height: 30px;
    }
    
    .hvm-name {
        font-size: 0.95rem !important;
    }
    
    .footer-tagline {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .footer-logo-img {
        height: 60px;
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo-img {
        height: 50px;
        max-width: 130px;
    }
    
    .footer-tagline {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .developed-by {
        padding: 10px 0;
    }
    
    .footer-bottom .footer-tagline {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        gap: 25px;
    }
    
    .footer-column h4 {
        font-size: 1rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
    
    .hvm-logo img {
        height: 25px;
    }
    
    .hvm-name {
        font-size: 0.9rem !important;
    }
    
    .developed-by p {
        font-size: 0.85rem;
    }
}