/* Ocultar versiones no correspondientes por defecto */
.pc-version,
.pc-footer {
    display: none;
}

.mobile-version,
.mobile-footer {
    display: block;
}

/* Footer móvil */
.mobile-footer {
    background-color: var(--color-gris);
    border-radius: 16px;
    padding-top: 18px;
    max-width: 100%;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    align-items: center;
    width: clamp(160px, 18vw, 220px);
    height: auto;
}

.footer-contact-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-contact {
    text-align: center;
}

.footer-contact p {
    font-size: 12px;
    color: var(--color-secundario);
    margin: 10px 0;
    font-family: var(--fuente-poppins);
}

.footer-contact a {
    text-decoration: none;
    color: var(--color-secundario);
}

.footer-contact a:hover {
    color: var(--color-terceiario);
}

.footer-social {
    margin-top: 0px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 16px;
    font-family: var(--fuente-poppins);
}

.footer-social a {
    text-decoration: none;
    color: var(--color-secundario);
}

.footer-social a:hover {
    color: var(--color-terceiario);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    text-align: left;
    font-size: 15px;
    font-family: var(--fuente-poppins);
    margin-top: 20px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    align-items: center;
    text-align: center;
}

.footer-section-title,
.footer-link {
    text-decoration: none;
    color: var(--color-secundario);
    margin: 6px 0;
    transition: color 0.3s ease;
}

.footer-section-title {
    font-size: 15px;
    font-family: var(--fuente-poppins);
}

.footer-section-title:hover,
.footer-link:hover {
    color: var(--color-terceiario);
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    flex-wrap: wrap;
    font-size: 12px;
    font-family: var(--fuente-poppins);

}

.footer-bottom-links a {
    display: flex;
    align-items: center;
    position: relative;
    color: var(--color-secundario);
    text-decoration: none;
    white-space: nowrap;
    padding: 0 5px 0 5px;
    flex-shrink: 0;
}

.footer-bottom-links a:not(:last-child)::after {
    content: "|";
    margin-left: 14px;
    color: var(--color-secundario);
    align-self: center;
    font-weight: normal;
    font-size: 14px;
    font-family: var(--fuente-poppins);
}

/* Footer inferior común */
.footer-bottom-bar {
    width: 100vw;
    margin-top: 0px;
}

.footer-primary-bar {
    background-color: var(--color-primario);
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.footer-pattern {
    height: 40px;
    width: auto;
    margin: 0;
    padding: 0;
    display: block;
}

.footer-text {
    color: var(--color-secundario);
    font-size: 10px;
    font-family: var(--fuente-poppins);
    margin: 0;
    text-align: center;
    flex: 1 1 100%;
    padding: 5px 0;
}

/* Media queries para pantallas más grandes (PC) */
@media (min-width: 721px) {

    .pc-version,
    .pc-footer {
        display: block;
    }

    .mobile-version,
    .mobile-footer {
        display: none;
    }

    /* Footer PC */
    .pc-footer {
        border-radius: 15px;
        margin-top: 50px;
        max-width: 100%;
        background-color: var(--color-gris);
        padding: 40px 20px;
        color: var(--color-primario);
    }

    .footer-contiene {
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-column {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .footer-column:first-child {
        align-items: flex-start;
    }

    .footer-column:nth-child(2) {
        align-items: center;
    }

    .footer-column:last-child {
        align-items: flex-end;
    }

    .footer-link {
        color: var(--color-primario);
        text-decoration: none;
        margin-bottom: 8px;
        font-size: 14px;
        font-family: var(--fuente-poppins);
        transition: color 0.3s;
        margin-right: 30px;
    }

    .footer-link:hover {
        color: var(--color-terceiario);
        text-decoration: underline;
    }

    .footer-contact-social {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }

    .footer-contact {
        font-size: 10px;
        font-family: var(--fuente-poppins);
        color: var(--color-primario);
        text-align: center;
    }

    .footer-contact a {
        color: var(--color-primario);
        text-decoration: none;
    }

    .footer-contact a:hover {
        text-decoration: underline;
        color: var(--color-terceiario);
    }

    .footer-social {
        display: flex;
        gap: 25px;
        font-size: 18px;
        font-family: var(--fuente-poppins);
    }

    .footer-social a {
        color: var(--color-primario);
        transition: color 0.3s;
    }

    .footer-social a:hover {
        color: var(--color-terceiario);
    }

    .footer-logo {
        width: 120px;
        height: auto;
        margin-bottom: 4px;
    }
}