/* ================= Footer ================= */

.footer {
    width: 100%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    z-index: 10;
}

.footer .grupo-1 {
    width: min(100%, 1400px);
    display: grid;
    grid-template-columns: 1fr 2.5fr 1.2fr;
    gap: 3rem;
    padding: 1.5rem 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .footer .grupo-1 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

.footer .grupo-1 p {
    text-align: start;
}

.footer .grupo-1 img {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-height: 130px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 768px) {
    .footer .grupo-1 img {
        object-position: center;
        min-height: 120px;
    }
}

.footer .grupo-1 h2 {
    font-size: 20px;
    margin-bottom: 1rem;
    color: inherit;
    text-align: left;
    width: 100%;
}

.footer .grupo-1 ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    width: 100%;
}

.footer .grupo-1 li {
    padding: 4px;
    text-align: left;
}

.footer .grupo-1 > div {
    width: 100%;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer .grupo-1 > div:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 180px;
    padding: 0.5rem 0;
}

.footer .grupo-1 > div:first-child a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .footer .grupo-1 > div:first-child {
        min-height: 150px;
        justify-content: center;
    }
}

.footer .grupo-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: var(--bg-color-light);
    padding: 15px 10px;
}

.footer .grupo-2 small {
    font-size: 15px;
}

.footer .red-social {
    display: flex;
    gap: 1rem;
}

.footer .red-social a {
    display: inline-block;
    width: 45px;
    aspect-ratio: 1;
    line-height: 45px;
    color: var(--bg-color);
    background-color: var(--gray);
    text-align: center;
    transition: box-shadow 300ms ease, background-color 300ms ease;
    border-radius: 8px;
}

.footer .red-social a:hover {
    background-color: color-mix(in hsl shorter hue, var(--white), var(--black) 25%);
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, 0.5);
}

.footer .red-social a.x-social {
    display: flex;
    align-items: center;
    justify-content: center;
}
