/* Nuestros Fondos.
   CSS por página escrito a mano, como el resto del sitio. No pasa por Mix.

   Sigue el patrón de Quiénes somos: el título y la bajada van sobre el fondo
   celeste del body, con la trama decorativa arriba a la izquierda, y el
   contenido arranca recién en el bloque blanco de abajo. */

/* ---- Encabezado sobre el fondo celeste ---- */

.intro {
    position: relative;
    /* Este padding es el que despeja el header fijo. No hace falta tocar main. */
    padding-top: 208px;
}

/* La trama. El background-image lo inyecta el Blade, porque asset() no se
   puede usar desde una hoja estatica. */
.intro:before,
.intro:after {
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    width: 25%;
    height: 100%;
    position: absolute;
}

.intro:before {
    top: 20px;
    left: 0;
    background-position: left top;
}

.intro:after {
    right: 0;
    bottom: 0;
    background-position: right bottom;
}

.heading {
    font-family: PlayfairDisplay-Bold, serif;
    font-size: 45px;
    line-height: 72px;
    color: #020226;
    margin-bottom: 30px;
}

.subheading {
    font-family: Poppins-Regular, sans-serif;
    font-size: 22px;
    line-height: 32px;
    color: #66667C;
    margin-bottom: 2rem;
    padding-bottom: 60px;
}

.subheading span {
    font-family: Poppins-Medium, sans-serif;
    color: #020226;
}

/* ---- El bloque blanco con los fondos ---- */

.fondos-container {
    background-color: #FFFFFF;
    padding-top: 70px;
    padding-bottom: 120px;
}

/* Separados por una linea, no en tarjetas: sobre fondo blanco una tarjeta
   blanca no se ve, y el sitio no usa tarjetas en ninguna otra pagina. */
.fondo {
    border-top: 1px solid #E4E7F2;
    padding: 45px 0;
}

.fondo:first-child {
    border-top: 0;
    padding-top: 0;
}

.fondo-nombre {
    font-family: PlayfairDisplay-Bold, serif;
    font-size: 32px;
    line-height: 42px;
    color: #020226;
    margin: 0 0 6px;
}

.fondo-gerente {
    font-family: Poppins-SemiBold, sans-serif;
    font-size: 15px;
    line-height: 26px;
    color: #003184;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 18px;
}

.fondo-tipo {
    font-family: Poppins-Medium, sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #020226;
    margin: 0 0 16px;
}

.fondo-descripcion {
    font-family: Poppins-Regular, sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #66667C;
    margin: 0 0 28px;
    max-width: 900px;
}

.fondo-factsheet {
    font-family: Poppins-SemiBold, sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #FFFFFF;
    background-color: #003184;
    border-radius: 10px;
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    transition: all 0.3s;
}

.fondo-factsheet:hover,
.fondo-factsheet:focus {
    background-color: #020226;
    color: #FFFFFF;
    text-decoration: none;
}

/* ---- Disclaimer ---- */

.disclaimer {
    font-family: Poppins-Regular, sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #8A8AA0;
    border-top: 1px solid #E4E7F2;
    margin: 0;
    padding-top: 40px;
}

/* ---- Contacta a un asesor (mismo bloque que el resto del sitio) ---- */

#contact {
    padding-top: 98px;
    padding-bottom: 98px;
    position: relative;
}

#contact:before,
#contact:after {
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    width: 40%;
    height: 100%;
    position: absolute;
    z-index: -1;
}

#contact:before {
    bottom: 0;
    left: 0;
    background-position: left bottom;
}

#contact:after {
    right: 0;
    top: 0;
    background-position: right top;
}

#contact * {
    text-align: center;
}

.contact-heading {
    font-family: PlayfairDisplay-Bold, serif;
    font-size: 55px;
    line-height: 65px;
    color: #020226;
}

.contact-details {
    font-family: Poppins-Regular, sans-serif;
    font-size: 24px;
    line-height: 37px;
    color: #66667C;
    max-width: 969px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 45px;
}

.wsp-btn {
    font-family: Poppins-SemiBold, sans-serif;
    font-size: 20px;
    line-height: 35px;
    color: #FFFFFF;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border-radius: 10px;
    padding: 16px;
    background-color: #2BB741;
    max-width: 420px;
    width: 100%;
}

.wsp-btn img {
    max-width: 30px;
    margin-right: 8px;
}

.wsp-btn:hover,
.wsp-btn:focus {
    text-decoration: none;
    color: #FFFFFF;
    background-color: #66667C;
}

@media only screen and (max-width: 1023px) {
    .intro:before,
    .intro:after,
    #contact:before,
    #contact:after {
        width: 78%;
    }

    .heading {
        font-size: 40px;
        line-height: 45px;
        margin-bottom: 20px;
    }

    .subheading {
        font-size: 18px;
        line-height: 32px;
        padding-bottom: 40px;
    }

    .fondos-container {
        padding-top: 45px;
        padding-bottom: 80px;
    }

    .fondo {
        padding: 32px 0;
    }

    .fondo-nombre {
        font-size: 26px;
        line-height: 34px;
    }

    .fondo-tipo,
    .fondo-descripcion {
        font-size: 16px;
        line-height: 27px;
    }

    .fondo-factsheet {
        font-size: 16px;
        text-align: center;
        width: 100%;
    }

    .contact-heading {
        font-size: 34px;
        line-height: 47px;
    }

    .contact-details {
        font-size: 18px;
        margin-bottom: 32px;
    }
}
