/* Estilos para el footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-background);
    padding: 2rem 0;
    font-size: 0.9rem;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-content: center;
    align-items: start;
}

.footer-section {
    text-align: center;
}

footer .footer-section h3 {
    color: var(--secondary-color);
    margin-top: 0px;
    margin-bottom: 2rem;
    font-size: xx-large;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-background);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: large;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--secondary-color);
    margin-top: 2rem;
    font-size: 0.8rem;
}

.footer-section-sales-links {
    grid-column: span 4;
    /* Asegura que ocupe todo el ancho */
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.footer-section-sales-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0;
}

.footer-section-sales-links li {
    flex: 1 1 calc(33.333% - 1rem);
    /* Distribuye en 3 columnas */
    text-align: center;
}

/* Ajustes para pantallas medianas */
@media (max-width: 991px) {
    .footer-section-sales-links li {
        flex: 1 1 calc(50% - 1rem);
        /* 2 columnas en tablets */
    }
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 767px) {
    .footer-section-sales-links ul {
        flex-direction: column;
        /* Pone los enlaces en una sola columna */
        align-items: center;
    }

    .footer-section-sales-links li {
        flex: 1 1 100%;
        /* Cada enlace ocupa toda la línea */
    }
}