:root{
    --rojo-leon: #BD2520;
    --gris-oscuro: #525252;
    --gris-claro: #ebebeb;
    --gris-asociados: #b8b8b8;
    --gris-logo: #3c3c3b;
}
h1, h2, h3, h4, p, span {color: var(--gris-oscuro);}
h1, h2, h3, h4{ font-weight: 800;}
.banner-asociados div {
    position: relative;
}
img.logo-asociados {
    position: absolute;
    max-width: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
img.imagen-fondo {
    width: 100%;
}
.fondo-rojo{background-color: var(--rojo-leon);}
.contenedor-interno h1 {
    margin: 0;
    font-size: 2.4rem;
    text-align: center;
}
.contenedor-interno{display: flex; justify-content: center; align-items: center; padding: 20px 15px;}
.contenedor-interno h1 {color: #fff;}
.fondo-gris {background-color: var(--gris-claro);}
.fondo-gris {
    padding: 50px 0px;
}
.contenedor-texto {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
}
.contenedor-video iframe {
    width: 500px;
    height: 300px;
    border-radius: 15px;
}
.beneficios-asociados {
    padding: 40px 15px;
    text-align: center;
    flex-flow: column;
}
.beneficios-asociados h3 {
    font-weight: 700;
}
.beneficios-asociados .titulo {
    font-weight: 800;
}
.contenedor-interno .cont-img {
    background-color: var(--rojo-leon);
    padding: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 20px;
}
.contenedor-interno .cont-img img {
    display: block;
    max-width: 100%;
    height: auto;
}
.contenedor-img {
    display: flex;
    justify-content: center;
    align-items: center;
}
.extracto-asociados {
    margin: 50px 0px;
    text-align: center;
}
img.gif-ubicacion {
    width: 60px;
}
.contenedor-mapa .contenedor-texto {
    text-align: center;
}
.contenedor-mapa {
    border: solid 1px #b4b4b4;
    border-radius: 15px;
    margin: 50px 0px;
}
.contenedor-mapa .contenedor-texto h3 {
    font-weight: 700;
}
.contenedor-mapa span.rojo-leon {
    color: var(--rojo-leon);
}
a.btn-asociados {
    background-color: var(--rojo-leon);
    text-decoration: none;
    color: #fff;
    padding: 10px 30px;
    border-radius: 10px;
    font-weight: 700;
    transition: 300ms;
}
a.btn-asociados:hover {
    background-color: var(--gris-oscuro);
    transition: 300ms;
}
.extracto-asociados p {
    margin-bottom: 30px;
}
.leon-asociados {
    margin: 50px 0px;
}
.banner-asociados.interno img.imagen-fondo {
    filter: brightness(50%);
}
.banner-asociados.interno img.texto {
    position: absolute;
    max-width: 500px;
    top: 50%;
    left: 40%;
    transform: translate(-60%, -50%);
}
img.leon-corporeo {
    position: absolute;
    bottom: 0;
}
.banner-asociados.interno {
    position: relative;
}
.formulario-asociados {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    right: 5%;
    z-index: 1;
    width: 35%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
}
.formulario-asociados h1 {
    color: var(--rojo-leon);
    font-weight: 800;
    font-size: 1.1rem;
    border-bottom: solid 1px #b8b8b8;
    padding: 0px 15px 10px;
    margin-bottom: 10px;
    text-align: center;
    
}
.formulario-asociados .campos-form div {
    display: flex;
    flex-direction: column;
    margin-bottom: .5rem;
}
.formulario-asociados .campos-form div.enviar {
    margin-bottom: 0px;
}
.formulario-asociados .campos-form label {
    margin-bottom: 0px;
    font-weight: 700;
    color: var(--gris-logo);
    font-size: 15px;
}
.formulario-asociados .campos-form input, .formulario-asociados .campos-form textarea, .formulario-asociados .campos-form select {
    background-color: #ebebeb !important;
    border: 0;
    border-radius: 5px;
    padding: 4px 10px;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
}
.formulario-asociados .enviar {
    display: flex;
    justify-content: center;
    align-items: center;
}
.formulario-asociados button.btn-enviar {
    background-color: var(--rojo-leon);
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    color: var(--Blanco);
    font-weight: 700;
    width: 120px;
}
.formulario-asociados button.btn-enviar:hover {
    background-color: var(--gris-oscuro);
}
.volver {
    margin: 20px 0px;
}
a.btn-volver {
    text-decoration: none;
    color: var(--rojo-leon);
    font-weight: 700;
    font-size: 14px;
    background-color: #fff;
    border: solid 1px var(--rojo-leon);
    padding: 5px 30px;
    border-radius: 5px;
    transition: 300ms;
}
a.btn-volver:hover {
    color: #fff;
    background-color: var(--rojo-leon);
    transition: 300ms;
}
.nuestra-red {
    text-align: center;
}
.nuestra-red .titulo {
    color: var(--rojo-leon);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px !important;
}
.nuestra-red .contenedor-interno {
    display: flex;
    justify-content: center;
    align-items: normal;
    gap: 10px;
    padding-bottom: 70px;
}
.nuestra-red .contenedor-interno div.bloque-info {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    border-radius: 15px;
    padding: 20px 10px;
    flex: 1;
}
.nuestra-red .contenedor-interno .cont-img{
    margin-bottom: 10px;
}
.fondo-gris.asociados-interna {
    padding: 50px 0px 0px;
    margin-bottom: 80px;
    overflow: visible;
}
.bnt-ir-al-form {
    position: relative;
    text-align: center;
}
a.btn-asociados.ir-al-form {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 35px;
    font-size: 22px;
}
#modalAsociados {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
.cotenedor-modal-asociados {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}
.cotenedor-modal-asociados .imagen {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-modal {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.cotenedor-modal-asociados:before {
    content:"";
    background-image: url(../images/asociados/huella.svg);
    position: absolute;
    left: -3%;
    bottom: 0;
    width: 200px;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
    transform: scaleY(1.5);
}
.cotenedor-modal-asociados .container-verde {
    background-color: #ecfdf5;
    border-radius: 15px;
    text-align: center;
    padding: 20px;
    color: var(--GrisOsuro);
    z-index: 2;
    position: relative;
}
.cotenedor-modal-asociados .container-verde h2 {
    color: var(--rojo-leon);
    font-weight: 700;
}
.cotenedor-modal-asociados .container-verde p.texto-verde {
    color: var(--rojo-leon);
    font-weight: 700;
    margin: 0px;
}
.cotenedor-modal-asociados .container-verde p {
    font-size: 16px; font-weight: 700;
}
.cotenedor-modal-asociados .container-verde p.texto-rojo {
    font-weight: 700;
    color: var(--rojo-leon);
}
.cotenedor-modal-asociados .texto {
    text-align: center;
    background-color: #ebebeb;
    border-radius: 15px 0px 0px 15px;
    padding: 50px 20px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.cotenedor-modal-asociados .terminos p {
    margin: 15px 0px;
    font-size: .8rem;
    padding: 0px 15px;
}
.cotenedor-modal-asociados .terminos a {
    color: #000;
    text-decoration: underline;
    color: var(--GrisOscuro);
    font-size: .8rem;
}
.gif-ubicacion.mobile{display: none;}
.contenedor-botones {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 15px;
    border-bottom: solid 1px #b4b4b4;
}
.contenedor-botones p {
    margin: 0;
    font-weight: 700;
    color: var(--gris-oscuro);
    font-size: 1.2rem;
}
.contenedor-botones .botones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
button.btn-zona {
    border: 1px solid var(--rojo-leon);
    background-color: #fff;;
    color: var(--rojo-leon);
    font-weight: 700;
    padding: 5px 20px;
    text-decoration: none;
    min-width: 150px;
    text-align: center;
    border-radius: 5px;
    transition: 300ms;
    flex: 1;
}
button.btn-zona:hover,
button.btn-zona.activo {
    border: 1px solid var(--rojo-leon);
    background-color: var(--rojo-leon);
    color: #fff;
    transition: 300ms;
}
@media (max-width: 767px){
    img.imagen-fondo {
        height: 150px;
    }
    img.logo-asociados {
        max-width: 300px;
    }  
    .owl-carousel.beneficios-slider .owl-item img,
    .owl-carousel.asociados-slider .owl-item img {
        width: 100%!important;
    }
    .beneficios-asociados .owl-carousel .owl-nav,
    .asociados-interna .owl-carousel .owl-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        padding: 0 10px;
        pointer-events: none;
    }
    
    .beneficios-asociados .owl-carousel .owl-nav button,
    .asociados-interna .owl-carousel .owl-nav button {
        background: transparent;
        border: none;
        font-size: 2rem;
        color: #333;
        pointer-events: all;
    }
    .beneficios-asociados .owl-carousel .owl-nav button.owl-prev,
    .asociados-interna .owl-carousel .owl-nav button.owl-prev {
        left: -10px;
    }
    .beneficios-asociados .owl-carousel .owl-nav button.owl-next,
    .asociados-interna .owl-carousel .owl-nav button.owl-next {
        right: 15px;
    }
    .beneficios-asociados .owl-carousel .owl-nav button.owl-next, 
    .beneficios-asociados .owl-carousel .owl-nav button.owl-prev,
    .asociados-interna .owl-carousel .owl-nav button.owl-next,
    .asociados-interna .owl-carousel .owl-nav button.owl-prev {
        font-size: 40px !important;
        color: #000 !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer !important;
    }
    .contenedor-interno h1 {
        font-size: 24px;
        padding: 0px 20px;
    }
    .contenedor-texto {
        align-items: center;
        padding: 0;
    }
    .contenedor-texto p {
        text-align: center;
    }
    .contenedor-video {
        text-align: center;
    }
    .contenedor-video iframe {
        width: 350px;
        height: 200px;
    }
    .asociados h3, .asociados h2, .asociados h2 strong, .asociados h2 strong em {
        font-weight: 700 !important;
    }
    .contenedor-img {
        padding: 0 0 15px 0;
        margin-bottom: 20px;
        position: relative;
    }
    .col-md-5.contenedor-img.garantia::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 20%;
        border-bottom: solid 1px var(--gris-oscuro);
    }
    .contenedor-img img {
        max-width: 200px;
    }
    .gif-ubicacion.desktop{display: none;}
    .gif-ubicacion.mobile{display: flex; margin: auto;}
    .contenedor-img::after {display: none;}
    .contenedor-img.mapa {
        margin: 0;
        padding: 0;
    }
    .contenedor-img.mapa img, .leon-asociados .contenedor-img img {
        max-width: 100%;
        border-radius: 15px;
    }
    .contenedor-mapa .contenedor-texto h3 {
        margin-top: 30px;
    }
    .leon-asociados {
        flex-direction: column-reverse;
    }
    .leon-asociados .contenedor-texto {
        padding-bottom: 30px;
    }
    
    .leon-asociados .contenedor-texto h3 {
        text-align: center;
    }
    .banner-asociados .fondo-rojo img {
        display: none;
    }
    .banner-asociados .fondo-rojo {
        min-height: 520px;
    }
    .formulario-asociados {
        top: 64%;
        width: 90%;
    }
    .banner-asociados.interno img.texto {
        position: absolute;
        max-width: 280px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .banner-asociados.interno img.imagen-fondo {
        filter: none;
        width: 100%;
        height: auto;
    }
    .leon-asociados.sumate {
        margin: 30px 0 0;
    }
    a.btn-asociados.ir-al-form {
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 15px;
        font-size: 15px;
        width: 95%;
    }
    .nuestra-red .contenedor-interno {
        padding-bottom: 30px;
    }
    .nuestra-red .contenedor-interno div.bloque-info {
        box-shadow: none;
    }
    .cotenedor-modal-asociados {
        flex-direction: column;
        max-width: 400px;
        top: 50px;
    }
    .cotenedor-modal-asociados .container-verde {padding: 10px;}
    .cotenedor-modal-asociados .container-verde p {
        font-size: 14px;
    }
    .cotenedor-modal-asociados .terminos p {
        font-size: .7rem;
        margin: 5px 0px 10px;
    }
    .cotenedor-modal-asociados .texto {
        padding: 40px 15px 20px;
    }
    .cotenedor-modal-asociados .terminos a {
        font-size: .7rem;
        font-weight: 500;
    }
    .contenedor-botones {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 20px 15px;
        border-bottom: none;
        position: relative;
    }
    .contenedor-botones::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 80%;
        height: 2px;
        background-color: #b4b4b4;
        transform: translateX(-50%);
    }
    .contenedor-botones .botones {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 15px;
    }
    .contenedor-botones p {
        margin-bottom: 10px;
    }
    button.btn-zona {
        min-width: 200px;
    }
}