/* ===================================================== */
/* FOOTER – FIDELITAS                                    */
/* ===================================================== */

/* ================= SPACING SUPERIOR ================= */
footer{
    position: relative;
    bottom: 0;
    
}
.footer-spacing {
    height: 22vh;
    width: 100%;
}
/* ================= FOOTER TOP ================= */

.footer-top {
    background: radial-gradient(
    circle,
    var(--fid-secondary) 0%,
    #00458B 80%,
    var(--fid-primary) 100%
    );
    max-height: 35vh;
    width: 100%;
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: space-between;
}

/* TEXTO */
.footer-top-text{
    width: 50%;;
}
.footer-top-text h3 {
    color: white;
}

/* IMAGEN DESKTOP (ORIGINAL) */
.footer-top-img {
    position: relative;
    margin-right:10vh;
}

.footer-top-img .img {
    width: 100%;
    height: 50vh;
    position: relative;
    transform: translateY(-35%);
    border-radius: 4px;
}

/* BOTÓN */
.btn-contratar-fidelitas {
    border-radius: 24px;
    background-color: var(--fid-dark);
    color: white;
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-contratar-fidelitas:hover {
    background-color: white;
    color: var(--fid-primary);
}

/* ================= FOOTER BASE ================= */

.footer {
    background-color: var(--fid-primary);
    padding-right: 5vw !important;
    padding-left: 5vw !important;  
}

/* LOGO */
.footer-logo {
    margin-top: 1vw;
    margin-left: 4vw;
}

.FooterLogoImg {
    height: 3vh;
}

/* NAV */
.footer-nav-container {
    padding-top: 3vh;
    padding-bottom: 3vh;
    margin: 0 4vw;
    border-bottom: 0.5px solid white;
}

.footer-nav {
    gap: 3vw;
}

.footer-nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.footer-nav a:hover {
    color: white;
    text-decoration: underline;
}

/* INFO */
.contact-info, .contact-info-item a{
    color: white;
    text-decoration: none;
}
.contact-info-item a:hover {
    color: inherit;
    text-decoration: underline;
}

.container-arg span {
    color: white;
    font-size:12px;
}

/* BOTÓN DATOS */
.btn-upd-dpers {
    border-radius: 24px;
    border: none;
    background-color: white;
    color: var(--fid-primary);
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-upd-dpers:hover {
    background-color: var(--fid-dark);
    color: white;
}

/* ===================================================== */
/* TABLET ≤ 992px                                        */
/* ===================================================== */

@media (max-width: 992px) {

    .footer-spacing {
        height: 15vh;
    }

    .footer-top {
        max-height: none;
        padding: 40px 20px 80px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-top-text,
    .footer-top-img {
        width: 100% !important;
    }

    .footer-top-img{
        margin: 0;
    }
    /* AJUSTE SOLO RESPONSIVE */
    .footer-top-text {
        transform: translateY(-60%);
    }
    .footer-top-img{
        transform: translateY(-30%);
    }
    .footer-top-img .img {
        height: auto;
        max-width: 700px;
        transform: translateY(0%);
        margin-bottom: 20px;
    }

    .FooterLogoImg {
        height: 28px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .footer-items {
        flex-wrap: wrap;
        gap: 30px;
        text-align: center;
        
    }
    .footer-top-inner {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .container-btn-footer {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* ===================================================== */
/* MOBILE ≤ 768px                                        */
/* ===================================================== */

@media (max-width: 768px) {

    .footer-spacing {
        height: 10vh;
    }

    .footer-top {
        padding: 50px 20px;
    }

    .footer-top-text h3 {
        font-size: 20px;
    }
    
    .footer-top-img .img {
      max-width: 500px;
      margin-bottom: 0px;
    }

    .btn-contratar-fidelitas {
        margin-top: 15px;
        font-size: 14px;
    }

    .footer-logo {
        margin-left: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-nav-container {
        padding: 20px 10px;
        margin: 0;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-items {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 20px;
    }

    .container-arg img {
        width: 70px;
    }

    .btn-upd-dpers {
        width: 100%;
        max-width: 280px;
        padding: 10px 12px;
    }
}

/* ===================================================== */
/* MOBILE SMALL ≤ 480px                                  */
/* ===================================================== */

@media (max-width: 480px) {
    .footer-top-text {
        transform: translateY(-30%);
    }
    .footer-top-text h3 {
        font-size: 18px;
    }
    .footer-nav a {
        font-size: 14px;
    }

    .contact-info-item span,
    .contact-info address {
        font-size: 14px;
    }

    .btn-contratar-fidelitas,
    .btn-upd-dpers {
        font-size: 12px;
        padding: 8px 14px;
    }
}
