@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf'),
         url('../fonts/Roboto-Medium.ttf'),
         url('../fonts/Roboto-Bold.ttf'),
         url('../fonts/Roboto-Black.ttf');
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/Proxima Nova Font.otf'),
         url('../fonts/Proxima Nova Semibold.otf'),
         url('../fonts/Proxima Nova Bold.otf'),
         url('../fonts/Proxima Nova Black.otf');
}

:root {
    --black-text-color: #1c1c1c;
}

footer {
    font-family: 'Roboto', sans-serif;
    color: var(--text-primary-color);
}

/* ---------- FOOTER MAIN ---------- */

.footer {
    background-color: var(--background-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra horizontalmente */
    align-items: top;     /* Centra verticalmente */
    gap: 4em;
    padding: 2em 0;
    text-align: center; /* Para pantallas pequeñas */
}

.footer-content > div {
    flex: 1 1 350px;
    min-width: 220px;
    max-width: 400px;
}

/* Logo */
.footer-content__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row; /* ← Alinea logo y texto en una fila */
    gap: 1em; /* ← Espacio entre logo y texto */
    padding: 1.2em 0 0;
    text-align: left; /* Alinea el texto con el logo */
}

.footer-content__logo a {
    font-size: 1.3em;
    color: #212121;
    text-decoration: none;
}

.footer-content__logo a:focus,
.footer-content__logo a:visited {
    color: #005b8b;
}

.footer-content__logo img {
    height: 6em;
}

/* Link debajo del logo */
.footer-content__link {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 100;
    color: var(--text-primary-color);
    text-decoration: none;
}

/* Textos */
.footer-content h4 {
    margin-bottom: 1em;
}

/* ---------- CONTACTO, DIRECCIÓN ---------- */

.footer-content__contact ul,
.footer-content__address ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2;
}

.footer-content__contact ul li,
.footer-content__address ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    font-size: 0.9em;
    /* font-weight: 600; */
    color: var(--text-primary-color);
}

.footer-content__contact a,
.footer-content__address a {
    text-decoration: none;
    color: var(--text-primary-color);
    font-size: 0.9em;
}

/* ---------- REDES SOCIALES ---------- */

.footer-content__social-networks {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content__social-networks {
        text-align: left;
    }
}

.social-networks-footer {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
    margin-top: 1em;
}

@media (min-width: 768px) {
    .social-networks-footer {
        justify-content: center;
    }
}

.social-networks_icons {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

.social-networks_icons.fb {
    height: 22px;
    margin-top: 0.25rem;
}

.social-networks_icons_direccion {
    width: 28px;
    height: 28px;
}

/* ---------- TERMS ---------- */

.terms {
    background-color: var(--secondary-color);
}

.footer-terms {
    padding: 1em 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.footer-terms__description {
    color: var(--black-text-color);
    font-size: 0.8em;
    display: flex;
    flex-direction: column;
}

.footer-terms__link a {
    text-decoration: none;
    color: var(--black-text-color);
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer-terms__link a:hover,
.footer-terms__link a:focus {
    color: #005b8b;
    font-size: 15px;
}

.footer-terms__link a:visited {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .footer-terms {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer-content {
        text-align: left;
    }
}

/* ---------- FLOTANTE WHATSAPP ---------- */

.footer_wht {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 1000;
}

.footer_wht .footer_wht-link {
    display: block;
}

.footer_wht img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.footer_wht img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .footer_wht {
        bottom: 25px;
        right: 5px;
    }

    .footer_wht img {
        width: 30px;
        height: 30px;
    }
}

/* ---------- EXTRA (Opcional) ---------- */

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}
