/* Footer Styles - Prioridad alta para evitar conflictos */
/* Estos estilos deben tener prioridad sobre cualquier otro CSS de página */

/* Asegurar que el footer tenga prioridad */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html footer,
body footer {
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-radius: 22px 22px 22px 22px;
    background-color: #f7faff;
}

footer {
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-radius: 22px 22px 22px 22px;
    background-color: #f7faff;
}

.upper-footer {
    margin: 0 17px;
    padding: 80px 110px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
}

.footer-title {
    color: #00122B;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    cursor: default;
    margin-top: 20px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
    height: 1px;
    background-color: #7B88A3;
    max-width: 245px;
    min-width: 75%;
}

.footer-links {
    list-style: none;
    margin-top: 25px;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #00122B;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    font-weight: 400;
}

.footer-links a:hover {
    color: #2271e0;
}

.language-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

/* Estilos para el language-selector del footer */
.language-container {
    justify-self: end;
    font-weight: 500;
}

.language-selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 700;
    gap: 8px;
}

.language-code {
    display: flex;
    align-items: center;
    width: 24px;
}

.language-code img {
    border: 2px solid #f7faff;
    border-radius: 200px;
    width: 24px !important;
    height: 24px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-select {
    padding: 0.25rem;
    border: none;
    background-color: transparent;
    color: #00122B;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    outline: none;
}

.footer-email {
    display: block;
    color: #00122b;
    text-decoration: none;
    font-size: 19px;
    margin-bottom: 20px;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-logo {
    width: 72px;
    height: 72px;
}

.company-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 11px;
    max-width: 128px;
    font-weight: lighter;
    color: #00122B;
}

.partners-title {
    font-size: 19px;
    font-weight: 500;
    position: relative;
    padding-bottom: 10px;
    color: #00122B;
    margin-bottom: 15px;
}

.partners-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
    height: 1px;
    background-color: #7B88A3;
    min-width: 243px;
}

.partners-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
}

.partner {
    width: 169px;
    height: 56px;
}

.lower-footer {
    background-color: #0a2269;
    color: white;
    padding: 30px 6% 30px 6%;
    height: 285px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.ifs-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ifs-logo img {
    width: 124px;
    height: auto;
}

.ifs-text p {
    font-size: 13px;
    line-height: 9px;
    font-weight: lighter;
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links p {
    font-size: 14px;
    font-weight: lighter;
}

.global-locations {
    width: 268px;
    display: flex;
    flex-direction: column;
    background-image: url("../../public/world-icon.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    gap: 15px;
}

.global-title {
    font-size: 19px;
    font-weight: lighter;
    color: #E8EFFC;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.global-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
    height: 1px;
    background-color: #E8EFFC;
    min-width: 100%;
}

.locations-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.location-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    transition: transform 0.1s ease;
}

.location-item:hover {
    transform: scale(1.08);
}

.location-item img {
    width: 15px;
    height: auto;
}

.social-icons-footer {
    margin-top: 16px;
}

.social-icons-footer a {
    text-decoration: none;
}

.footer-social-icon {
    width: 42px;
    height: 20px;
}

.powered-by {
    font-size: 12px;
    color: white;
    text-align: center;
    margin-top: 20px;
    font-weight: 200;
    position: absolute;
    bottom: 10px;
    left: 50%;
    right: 0;
    transform: translateX(-50%);
    z-index: 1000;
}

.powered-by a {
    color: white;
    font-weight: 400;
    text-decoration: none;
}

/* Estilos para iconos de webtools */
.webtool-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover .webtool-icon {
    opacity: 1;
}

/* Footer responsive styles */
@media (max-width: 767px) {
    .upper-footer {
        padding: 40px 30px;
        margin: 0;
    }

    .lower-footer {
        padding: 30px 20px;
        padding-bottom: 60px;
        height: auto;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-column {
        flex: 0 0 100%;
    }

    .footer-columns {
        flex-direction: column;
    }
}
