.footer {
    flex-shrink: 0;
    padding: 1rem 0px 1rem 4.5rem;
    background-color: #212529;
    color: #fff;
}
.footer .container {
    max-width: 95%;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    color: #fff;
    align-items: center;
}

.col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    box-sizing: border-box;
}

.legal-links .title,
.contact-block .title {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.list-unstyled {
    list-style: none;
    padding-left: 0;
    margin: 0;
    text-align: left;
    font-family: var(--font-secondary);
}

.link {
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease, font-size 0.3s ease;
}

.icon {
    margin-right: 0.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.legal-links .link {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
}
.legal-links .icon {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}
.legal-links .link:hover,
.legal-links .link:hover .icon {
    transform: scale(1.1);
}

.contact-info .link:hover,
.contact-info .link:hover .icon {
    transform: scale(1.1);
}

.text-start {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-end {
    text-align: right !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.contact-block .contact-info {
    font-family: var(--font-secondary);
    text-align: right;
}
.contact-block .contact-info>div {
    font-family: var(--font-secondary);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.contact-block .icon {
    margin-right: 0.5rem;
    font-style: normal;
}

.copyright-text {
    padding-top: 0;
    display: block;
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 0;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.direccion {
    margin-right: -10px;
}

@media (max-width: 736px) {
    .footer .col-md-4:nth-child(1) {
        flex: 0 0 49%;
        max-width: 49%;
        order: 1;
        text-align: center;
    }
    .footer .col-md-4:nth-child(2) {
        flex: 0 0 100%;
        max-width: 100%;
        order: 3;
        text-align: center;
    }
    .footer .col-md-4:nth-child(3) {
        flex: 0 0 49%;
        max-width: 49%;
        order: 2;
        text-align: center;
    }
    .footer .row {
        align-items: start !important;
    }

    .text-end {
        text-align: left s;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 1rem 0.25rem;
        height: auto;
    }
}

@media (max-width: 396px) {
    .footer .row {
        flex-direction: column;
    }

    .justify-content-between {
        width: 100%;
        margin: 0 auto;
    }

    .list-unstyled {
        text-align: left;
    }

    .footer .col-md-4:nth-child(3),
    .footer .col-md-4:nth-child(1) {
        flex: 0 0 100%;
        max-width: 100%;
        order: unset;
        text-align: center;
        margin-bottom: 1rem;
    }

    .contact-block .contact-info>div,
    .list-unstyled {
        text-align: center;
        justify-content: center;
    }

    .text-start, .text-end {
        text-align: center !important;
    }
}