﻿/* General */
:root {
    scroll-behavior: smooth;
    --afi-color: #00699E;
    --secondary-color: #062D3F;
    --afi-gray: #C8DAE2;
    --afi-white: #F3F3F3;
    --black: #000000;
    --white: #ffffff;
    --hover-color: #062D3F;
    --header-shadow: 0px 0 18px rgba(55, 66, 59, 0.08);
    --navbar-font: "Roboto Serif", serif;
    --header-font: "Roboto Serif", serif;
    --common-font: "Roboto Serif", serif;
    --navbar-mobile-color: rgba(32, 38, 34, 0.9);
    --hero-bg: rgba(0, 0, 0, 0.4);
    --section-bg: #F3F3F3;
    --gray-DDD: #dddddd;
    --gray-666: #666666;
    --gray-EFEFEF: #efefef;
    --red-error: #CC0000;
    --green-success: #009432;
    --black-loading-transparent: rgba(0, 0, 0, 0.3);
    --red-error-transparent: rgba(204, 0, 0, 0.5);
    --green-success-transparent: rgba(0, 148, 50, 0.5);
}

body {
    font-family: var(--common-font);
}

a {
    color: var(--afi-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--afi-color);
}

    a:hover {
        color: var(--afi-color);
        text-decoration: none;
        border-bottom: 0px;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--header-font);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--afi-color);
    width: 40px;
    height: 40px;
    border-radius: 0px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 28px;
        color: var(--white);
        line-height: 0;
    }

    .back-to-top:hover {
        background: var(--hover-color);
        color: var(--white);
    }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/* Header */
#header {
    background: var(--white);
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
    box-shadow: var(--header-shadow);
}

/* Te lo explicamos botón */
.get-started-btn {
    margin-left: 22px;
    background: var(--afi-color);
    color: var(--white);
    border-radius: 0px;
    padding: 8px 25px;
    white-space: nowrap;
    transition: 0.3s;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
}

    .get-started-btn:hover {
        background: var(--hover-color);
        color: var(--white);
    }

/* Navbar */
.navbar, .navbar-toggler {
    padding: 0px !important;
}

    .navbar a {
        border-bottom: hidden;
    }

.navbar-brand {
    padding-top: 0px;
    padding-bottom: 0px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Adjust padding for the nav-link */
.nav-link {
    padding-top: 0px;
    padding-bottom: 0px;
}

.dropdown-menu img {
    width: 20px;
    margin-right: 4px;
}

.dropdown-item {
    padding: 4px 16px;
}

.img-fluid {
    width: 200px;
}

/* Navbar link styles */
.navbar-nav .nav-link {
    font-family: "Roboto Serif", serif;
    font-size: 15px;
    line-height: 24px;
    color: var(--afi-color);
}


    .navbar-nav .nav-link.active {
        color: var(--secondary-color);
    }

    .navbar-nav .nav-link:hover {
        color: var(--secondary-color);
    }

/* Button styles */
.btn {
    font-family: "Roboto Serif", serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 15px;
    color: var(--white);
    background-color: var(--afi-color);
    padding: 8px 24px 9px;
    border-radius: 0px;
    border: 0;
}

    .btn:hover {
        background-color: var(--secondary-color);
        text-decoration: none;
    }

/* Main */
#main {
    background-color: var(--afi-white);
    padding: 50px 0px;
}

/* Secondary */
#secondary {
    background-color: var(--white);
    padding: 100px 0px;
}

#third {
    background-color: var(--afi-white);
    padding: 100px 0px;
    border-bottom: solid 1px var(--white);
}

/* Contacto */
#contact {
    padding: 60px 0;
}

.form-group {
    font-family: "Roboto Serif", serif;
}

/* Call center */
#call-center {
    padding: 60px 0;
}

/* Hero Section */
.hero {
    background: url("../img/hero-bg.jpg") 100% 30%;
}

#hero {
    width: 100%;
    background-size: cover;
    position: relative;
}

    #hero:before {
        content: "";
        /*background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);*/
        background-color: rgba(0, 0, 0, 0.1);
        opacity: 0.9;
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }

    #hero .container {
        width: 1320px;
        display: flex;
        justify-content: start;
    }

    #hero .container-info {
        width: 688px;
        justify-content: start;
    }

    #hero .container-paragraph {
        width: 509px;
    }

    #hero h1 {
        font-size: 56px;
        font-weight: 500;
        line-height: 1.2;
        color: var(--white);
        font-family: "Roboto Serif", serif;
    }

    #hero h2 {
        color: #eee;
        margin: 10px 0 0 0;
        font-size: 18px;
        line-height: 28px;
        font-weight: 600;
        letter-spacing: -0.02em;
        font-family: "Roboto Serif", serif;
    }

    #hero .btn-get-started {
        font-family: var(--header-font);
        font-weight: 500;
        font-size: 18px;
        line-height: 15px;
        gap: 2px;
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 24px 16px 24px;
        border-radius: 0px;
        transition: 0.5s;
        margin-top: 30px;
        border: 2px solid var(--afi-color);
        color: var(--white);
        text-decoration: none;
        background: var(--afi-color);
    }

        #hero .btn-get-started:hover {
            background: var(--afi-color);
            border: 2px solid var(--afi-color);
        }

/* Hero servicios */
/* Hero section */
.asesoramiento {
    background: url("../img/call-center-bg.jpg") 100% 40%;
}

.informes-y-estudios {
    background: url("../img/informes_y_estudios.png") 100% 40%;
}

.diseno-de-productos {
    background: url("../img/cta-bg.jpg") 100% 40%;
}

.soluciones-digitales {
    background: url("../img/canal-etico-bg.jpg") 100% 40%;
}

.formacion {
    background: url("../img/formacion.png") center center/cover;
}

.contacto {
    background: url("../img/contacto.jpg") center center/cover;
}

.hero {
    width: 100%;
    height: 600px; /*antes 65vh*/
    margin-top: 90px;
    background-size: cover;
    position: relative;
}

.hero2 {
    width: 100%;
    height: 0vh;
    margin-top: 90px;
    background-size: cover;
    position: relative;
}

.hero:before {
    content: "";
    /*background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);*/
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 0.9;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

/* Afi info */

.afi-info {
    max-width: 1290px;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    padding: 32px;
    gap: 8px;
    background-color: var(--white);
    border: 0px;
}

    .afi-info h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.8px;
        margin: 0;
    }

    .afi-info p {
        font-family: "Roboto Serif", serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 28px;
        letter-spacing: -0.2px;
        margin: 0;
    }



/* Afi novedades */

.afi-novedades {
    width: 1290px;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    padding: 32px;
    gap: 8px;
    background-color: var(--white);
    border: 0px;
}

    .afi-novedades h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 32px;
        letter-spacing: -0.8px;
        color: var(--black);
        margin: 0;
    }



    .afi-novedades h3 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
    }

    .afi-novedades .line {
        width: 103px;
        height: 2px;
        background-color: var(--afi-color);
    }

    .afi-novedades p {
        font-family: "Roboto Serif", serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 28px;
        margin: 0;
    }

/* Quienes Somos */

#quienes-somos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

    #quienes-somos .qs-container {
        max-width: 1290px;
        margin: 0 auto;
    }

    #quienes-somos .qs-header h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
        color: var(--secondary-color);
        margin: 48px 0 24px 0;
    }

    #quienes-somos .qs-grid {
        display: flex;
        flex-wrap: wrap;
        grid-gap: 32px;
        width: 100%;
    }

    #quienes-somos .qs-card {
        width: 629px;
        height: auto;
        background-color: var(--white);
        border: 0px;
        display: flex;
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        align-items: flex-start;
    }

    #quienes-somos .icon-title-line {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

        #quienes-somos .icon-title-line img {
            width: 60px;
        }

        #quienes-somos .icon-title-line h3 {
            font-family: "Roboto Serif", serif;
            font-weight: 500;
            font-size: 18px;
            line-height: 24px;
            color: var(--black);
        }

        #quienes-somos .icon-title-line .line {
            width: 103px;
            height: 2px;
            background-color: var(--afi-color);
        }




/* Introduccion afi */

#introduccion-afi {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

    #introduccion-afi .qs-container {
        max-width: 1290px;
        margin: 0 auto;
    }

    #introduccion-afi .qs-header h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
        color: var(--afi-color);
        margin: 48px 0 24px 0;
    }

    #introduccion-afi .qs-grid {
        display: flex;
        flex-wrap: wrap;
        grid-gap: 32px;
        width: 100%;
    }

    #introduccion-afi .qs-card {
        width: 524px;
        height: auto;
        background-color: var(--afi-white);
        border: 1px solid #eeeeee;
        display: flex;
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        align-items: flex-start;
    }

    #introduccion-afi .icon-title-line {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

        #introduccion-afi .icon-title-line img {
            width: 60px;
        }

        #introduccion-afi .icon-title-line h3 {
            font-family: "Roboto Serif", serif;
            font-weight: 500;
            font-size: 18px;
            line-height: 24px;
            color: #000;
        }

        #introduccion-afi .icon-title-line .line {
            width: 103px;
            height: 2px;
            background-color: var(--afi-color);
        }



.notice {
    display: flex;
    background-color: var(--afi-white);
    justify-content: space-between;
    align-items: start;
    padding: 32px;
    gap: 16px;
    width: 1080px;
    margin: 0 auto;
}

    .notice p {
        padding: 0;
        margin: 0;
    }

    .notice .line {
        width: 3px;
        height: 50px;
        background-color: var(--afi-color);
    }

.paso-a-paso {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    width: 1290px;
    margin: 0 auto;
    gap: 24px;
}

    .paso-a-paso span {
        font-weight: 600;
        color: color: var(--secondary-color);
    }

    .paso-a-paso p {
        font-size: 18px;
        list-style: 28px;
        color: color: var(--secondary-color);
    }

.paso-container {
    display: flex;
    gap: 32px;
}

.paso-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.paso-card {
    background-color: var(--white);
    padding: 24px;
    color: var(--black);
}

    .paso-card img {
        margin-bottom: 8px;
    }

.paso-row .line {
    width: 2px;
    height: 32px;
    background-color: var(--afi-color);
}

#quienes-somos .qs-card p {
    font-family: "Roboto Serif", serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
}

/* Fondo Bolsa Social */

#fondo-bolsa-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    #fondo-bolsa-social .fbs-container {
        max-width: 1290px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    #fondo-bolsa-social h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
        color: var(--black);
    }

    #fondo-bolsa-social .fbs-row {
        display: flex;
        gap: 32px;
    }

    #fondo-bolsa-social .fbs-card {
        background-color: var(--afi-white);
        display: flex;
        flex-direction: column;
        width: 629px;
    }

    #fondo-bolsa-social .icon-title-line {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 32px 24px 16px 24px;
    }

        #fondo-bolsa-social .icon-title-line h3 {
            font-family: "Roboto Serif", serif;
            font-weight: 500;
            font-size: 18px;
            line-height: 24px;
        }

        #fondo-bolsa-social .icon-title-line .line {
            width: 103px;
            height: 2px;
            background-color: var(--afi-color);
        }

        #fondo-bolsa-social .icon-title-line p {
            font-family: "Roboto Serif", serif;
            font-weight: 500;
            font-size: 18px;
            line-height: 28px;
            letter-spacing: -1%;
        }



/* INICIO estilos "Informes y estudios" */



.informes-y-estudios-info {
    width: 1290px;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    padding: 32px;
    gap: 8px;
    background-color: var(--afi-white);
    border: 1px solid #eeeeee;
}

    .informes-y-estudios-info h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.8px;
        color: var(--secondary-color);
        margin: 0;
    }

    .informes-y-estudios-info p {
        font-family: "Roboto Serif", serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 28px;
        letter-spacing: -0.2px;
        margin: 0;
    }

.informes-y-estudios-icon {
    background-color: transparent;
    height: 34px;
    width: 34px;
    padding: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
    border-style: hidden;
    outline: none;
}



/* FIN estilos "Informes y estudios" */







/*
#conocimiento-recursos-aprendizaje .cra-grid {
  display: flex;
flex-wrap: wrap;
grid-gap: 32px;
width: 100%;
}



#conocimiento-recursos-aprendizaje .cra-row {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 32px;
  width: 100%;
}
#conocimiento-recursos-aprendizaje .cra-card {
  background-color: var(--white);
  display: flex;
  flex-direction: column;
}

#conocimiento-recursos-aprendizaje .icon-title-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 24px 16px 24px;
}

#conocimiento-recursos-aprendizaje .icon-title-line h3 {
  font-family: "Roboto Serif", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #727272;
}

#conocimiento-recursos-aprendizaje .icon-title-line .line {
  width: 103px;
  height: 2px;
  background-color: #00699E;
}

#conocimiento-recursos-aprendizaje .icon-title-line p {
  font-family: "Roboto Serif", serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -1%;
	max-width:475px;
}

*/

/* También somos expertos en */

.exp-container {
    width: 1290px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.div-container {
    width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.div-container-sin-margin {
    width: 1080px;    
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

/* Asesoramiento independiente */

.ademas-podras {
    display: flex;
}

.ademas-podras-container {
    width: 50%;
}

    .ademas-podras-container h2 {
        font-weight: 600;
        color: var(--secondary-color);
    }

.ademas-podras .line {
    width: 103px;
    height: 2px;
    background-color: #00699E;
    margin-top: 20px;
}

.exp-header {
    font-family: "Roboto Serif", serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    color: var(--secondary-color);
}

.row-container {
    display: flex;
    border: 1px solid #eee;
    justify-content: space-between;
}

.row-container-seguros {
    display: flex;
    justify-content: space-between;
}


.seguros-container {
    width: 50%;
}

    .seguros-container h2 {
        font-weight: 600;
        color: var(--secondary-color);
    }



.produt-hipoteca-inversa {
    display: flex;
}

.produt-hipoteca-inversa-container {
    width: 50%;
}

    .produt-hipoteca-inversa-container h2 {
        font-weight: 600;
        color: var(--secondary-color);
    }

.produt-hipoteca-inversa .line {
    width: 103px;
    height: 2px;
    background-color: var(--afi-color);
    margin-top: 20px;
}


.bigger-gap {
    margin-bottom: 20px;
}

.box-container {
    background-color: var(--afi-white);
    padding: 24px;
    display: flex;
}

.row-container img {
    width: 704px;
    object-fit: cover;
    flex-shrink: 0;
    /* Prevent the image from shrinking on desktop */
}

.row-container-seguros img {
    width: 804px;
    object-fit: cover;
    flex-shrink: 0;
    /* Prevent the image from shrinking on desktop */
}

.row-container-seguros .line {
    width: 103px;
    height: 2px;
    background-color: var(--afi-color);
    margin-top: 20px;
}

.inner-row {
    display: flex;
    flex: 1 0 calc(33.333% - 32px);
    /* 33.333% width minus gap */
}

.ademas-inner-row {
    display: flex;
    flex: 1 0 calc(40% - 32px);
    /* 33.333% width minus gap */
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.text-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .text-container span {
        font-weight: 600;
    }

    .text-container h5 {
        font-family: "Roboto Serif", serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 24px;
    }

    .text-container h6 {
        font-family: "Roboto Serif", serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 24px;
    }

    .text-container img {
        width: 28px;
    }

        .text-container img.check-verified {
            width: 34px !Important;
        }

p {
    font-family: "Roboto Serif", serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.button-container {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 16px 24px;
    border: 1px solid var(--afi-color);
    border-radius: 0px;
    background-color: var(--white);
    color: var(--afi-color);
    font-family: "Roboto Serif", serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 15px;
    max-width: fit-content;
    /* Hug feature */
    white-space: nowrap;
    /* Prevents text wrapping */
}

.mas-info {
    font-family: "Roboto Serif", serif;
    font-weight: 500;
    line-height: 24px;
    border-bottom: hidden;
    max-width: fit-content;
    /* Hug feature */
    white-space: nowrap;
    /* Prevents text wrapping */
    display: flex;
    align-items: center;
}

    .mas-info ion-icon {
        font-size: 15px;
    }

.button-container ion-icon {
    font-size: 15px;
}


/* Sections */
section {
    overflow: hidden;
}

.section-bg {
    background-color: var(--section-bg);
}

.section-title {
    padding-bottom: 40px;
    text-align: center;
}

    .section-title h2 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
        color: var(--black);
        text-transform: uppercase;
        font-family: var(--navbar-font);
    }

        .section-title h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 50px;
            height: 3px;
            background: var(--afi-color);
            bottom: 0;
            left: calc(50% - 25px);
        }

    .section-title p {
        font-size: 18px;
        line-height: 32px;
    }

.breadcrumbs {
    margin-top: 73px;
    text-align: center;
    background: var(--afi-color);
    padding: 30px 0;
    color: var(--white);
}

    .breadcrumbs h2 {
        font-size: 32px;
        font-weight: 500;
    }

    .breadcrumbs p {
        font-size: 14px;
        margin-bottom: 0;
    }

/* ¿Qué es la hipoteca inversa? */
.what-is-this .icon-box {
    text-align: center;
    padding: 30px 20px;
    transition: all ease-in-out 0.3s;
    background: var(--white);
}

    .what-is-this .icon-box .icon {
        margin: 0 auto;
        width: 72px;
        height: 72px;
        background: var(--section-bg);
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        transition: ease-in-out 0.3s;
    }

        .what-is-this .icon-box .icon i {
            color: var(--afi-color);
            font-size: 28px;
        }

    .what-is-this .icon-box h4 {
        font-weight: 700;
        margin-bottom: 30px;
        font-size: 24px;
    }

        .what-is-this .icon-box h4::after {
            content: "";
            position: relative;
            display: block;
            width: 100px;
            height: 2px;
            background: var(--afi-color);
            bottom: 0;
            left: calc(50% - 50px);
            top: 15px;
        }

    /*.what-is-this .icon-box h4 a {color: #384046; transition: ease-in-out 0.3s;}*/
    .what-is-this .icon-box p {
        line-height: 26px;
        font-size: 16px;
        margin-bottom: 0;
    }

    .what-is-this .icon-box:hover {
        border-color: var(--white);
        box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
    }

        .what-is-this .icon-box:hover h4 a,
        .what-is-this .icon-box:hover .icon i {
            color: var(--afi-color);
        }

/* ¿Quieres saber más? */
.want-to-know-more .content {
    padding: 30px;
    background: var(--afi-color);
    border-radius: 0px;
    color: var(--white);
}

    .want-to-know-more .content h3 {
        font-weight: 700;
        font-size: 34px;
        margin-bottom: 30px;
    }

    .want-to-know-more .content p {
        margin-bottom: 30px;
    }

    .want-to-know-more .content .more-btn {
        display: inline-block;
        background: rgba(255, 255, 255, 0.2);
        padding: 6px 30px 8px 30px;
        color: var(--white);
        border-radius: 0px;
        transition: all ease-in-out 0.4s;
    }

        .want-to-know-more .content .more-btn i {
            font-size: 14px;
        }

        .want-to-know-more .content .more-btn:hover {
            color: var(--afi-color);
            background: var(--white);
        }

.want-to-know-more .icon-boxes .icon-box {
    text-align: center;
    background: var(--white);
    padding: 40px 30px;
    width: 100%;
    border: 1px solid #eef0ef;
}

    .want-to-know-more .icon-boxes .icon-box i {
        font-size: 32px;
        padding: 18px;
        color: var(--afi-color);
        margin-bottom: 30px;
        background: var(--white);
        border-radius: 50px;
    }

    .want-to-know-more .icon-boxes .icon-box h4 {
        font-size: 20px;
        font-weight: 700;
        margin: 0 0 30px 0;
    }

        .want-to-know-more .icon-boxes .icon-box h4::after {
            content: "";
            position: relative;
            display: block;
            width: 100px;
            height: 2px;
            background: var(--afi-color);
            bottom: 0;
            left: calc(50% - 50px);
            top: 15px;
        }

    .want-to-know-more .icon-boxes .icon-box p {
        font-size: 16px;
    }

/* About */
.about .content h3 {
    font-weight: 700;
    font-size: 36px;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

    .about .content ul li {
        padding-bottom: 10px;
    }

    .about .content ul i {
        font-size: 20px;
        padding-right: 4px;
        color: var(--afi-color);
    }

.about .content .learn-more-btn {
    background: var(--afi-color);
    color: var(--white);
    border-radius: 0px;
    padding: 16px 24px 16px 24px;
    white-space: nowrap;
    transition: 0.3s;
    font-size: 18px;
    display: inline-block;
}

    .about .content .learn-more-btn:hover {
        background: var(--hover-color);
        color: var(--white);
    }


.about p,
.about ul li {
    font-size: 18px;
}

/* Equipo */
.equipo .member {
    text-align: center;
    margin-bottom: 20px;
    background: var(--white);
    border: 1px solid var(--gray-EFEFEF);
}

    .equipo .member img {
        margin: -1px -1px 30px -1px;
    }

    .equipo .member .member-content {
        padding: 0 20px 30px 20px;
    }

    .equipo .member h4 {
        font-weight: 700;
        margin-bottom: 2px;
        font-size: 18px;
    }

    .equipo .member span {
        display: block;
        font-size: 14px;
    }

    .equipo .member .social {
        margin-top: 15px;
    }

        .equipo .member .social a {
            color: var(--afi-color);
            transition: 0.3s;
            border-bottom: 0px;
        }

            .equipo .member .social a:hover {
                color: var(--hover-color);
            }

        .equipo .member .social i {
            font-size: 18px;
            margin: 0 2px;
        }

/* Cta */
.cta {
    background: linear-gradient(rgba(12, 13, 14, 0.5), rgba(12, 13, 14, 0.5)), url("../img/cta-bg.jpg") fixed center center;
    background-size: cover;
    padding: 120px 0;
}

    .cta h3 {
        color: var(--white);
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .cta p {
        color: var(--white);
        font-size: 18px;
    }

    .cta .cta-btn,
    .faq-btn {
        font-family: var(--header-font);
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 12px 35px;
        border-radius: 0px;
        transition: 0.5s;
        margin-top: 20px;
        background: var(--afi-color);
        color: var(--white);
        text-decoration: none;
    }

        .cta .cta-btn:hover,
        .faq .faq-btn:hover {
            background: var(--afi-color);
            color: var(--white);
        }

/* Te llamamos */
.call-center {
    background: linear-gradient(rgba(12, 13, 14, 0.5), rgba(12, 13, 14, 0.5)), url("../img/call-center-bg.jpg") fixed center center;
    background-size: cover;
}

    .call-center h3 {
        color: var(--white);
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .call-center p {
        color: var(--white);
        font-size: 18px;
    }

    .call-center .call-center-btn {
        font-family: var(--header-font);
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 12px 35px;
        border-radius: 0px;
        transition: 0.5s;
        margin-top: 20px;
        background: var(--afi-color);
        color: var(--white);
        text-decoration: none;
    }

        .call-center .call-center-btn:hover {
            background: var(--afi-color);
            color: var(--white);
        }

    /*.call-center form {margin-top: 30px; background: var(--white); padding: 6px 10px; position: relative; border-radius: 50px; box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); text-align: left;}*/
    .call-center form input[type=text] {
        border: 0;
        padding: 4px 8px;
        width: calc(100% - 100px);
    }

    .call-center form input[type=tel] {
        border: 0;
        padding: 4px 8px;
        width: calc(100% - 100px);
    }

    .call-center form input[type=submit] {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        border: 0;
        background: none;
        font-size: 16px;
        padding: 0 20px;
        background: var(--afi-color);
        color: var(--white);
        transition: 0.3s;
        border-radius: 0px;
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    }

        .call-center form input[type=submit]:hover {
            background: var(--hover-color);
        }

    .call-center form input[type=text]:focus {
        border-color: var(--afi-color);
    }

    .call-center #capaInputs {
        margin-top: 30px;
        background: var(--white);
        padding: 6px 10px;
        position: relative;
        border-radius: 0px;
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
        text-align: left;
    }

.lnk-politica-privacidad {
    color: var(--white);
}

    .lnk-politica-privacidad a {
        text-decoration: underline;
        color: var(--white);
        text-decoration: none;
        border-bottom: 1px dotted var(--white);
    }

.call-center .loading {
    /*display: none;*/
    background: var(--black-loading-transparent);
    text-align: center;
    padding: 15px;
    color: var(--white);
}

    .call-center .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid var(--green-success);
        border-top-color: #eee;
        -webkit-animation: animate-loading 1s linear infinite;
        animation: animate-loading 1s linear infinite;
    }

.call-center .error-message {
    /*display: none;*/
    color: var(--white);
    background: var(--red-error-transparent);
    text-align: center;
    padding: 15px;
    font-weight: 600;
    font-size: 13px;
}

    .call-center .error-message br + br {
        margin-top: 25px;
    }

.call-center .sent-message {
    /*display: none;*/
    color: var(--white);
    background: var(--green-success-transparent);
    text-align: center;
    padding: 15px;
    font-weight: 600;
    font-size: 13px;
}

/* Canal ético */
.canal-etico {
    background: linear-gradient(rgba(12, 13, 14, 0.5), rgba(12, 13, 14, 0.5)), url("../img/canal-etico-bg.jpg") fixed center center;
    background-size: cover;
    padding: 120px 0;
}

    .canal-etico h3 {
        color: var(--white);
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .canal-etico p {
        color: var(--white);
        font-size: 18px;
    }

    .canal-etico .canal-etico-btn {
        font-family: var(--header-font);
        font-weight: 500;
        font-size: 18px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 16px 24px;
        border-radius: 0px;
        transition: 0.5s;
        margin-top: 20px;
        background: var(--afi-color);
        color: var(--white);
        text-decoration: none;
    }

        .canal-etico .canal-etico-btn:hover {
            background: var(--afi-color);
            color: var(--white);
        }

/* Organizaciones que nos acreditan */
.organizations .organizations-wrap {
    border-top: 1px solid #eceff0;
    border-left: 1px solid #eceff0;
}

.organizations .organizations-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #eceff0;
    border-bottom: 1px solid #eceff0;
    overflow: hidden;
    background: var(--white);
    padding: 40px;
    margin-bottom: 3px;
}

    .organizations .organizations-logo img {
        max-width: 50%;
        filter: grayscale(100);
    }

    .organizations .organizations-logo:hover img {
        filter: none;
        transform: scale(1.1);
    }

.organizations img {
    transition: all 0.4s ease-in-out;
}


/* Características */
.caracteristicas {
    overflow: hidden;
    padding-top: 60px;
    border-bottom: solid 1px var(--white);
}

    .caracteristicas .nav-tabs {
        border: 0;
    }

    .caracteristicas .nav-link {
        border: 0;
        padding: 12px 15px 12px 0;
        transition: 0.3s;
        color: var(--gray-666);
        border-radius: 0;
        border-right: 2px solid var(--afi-gray);
        font-weight: 600;
        font-size: 16px;
    }

        .caracteristicas .nav-link:hover {
            color: var(--afi-color);
        }

        .caracteristicas .nav-link.active {
            border-color: var(--afi-color);
            color: var(--afi-color);
        }

    .caracteristicas .tab-pane.active {
        -webkit-animation: fadeIn 0.5s ease-out;
        animation: fadeIn 0.5s ease-out;
    }

    .caracteristicas .details h3 {
        margin-bottom: 20px;
        font-weight: 700;
        font-size: 36px;
    }

    .caracteristicas .details p,
    .features ul li {
        font-size: 18px;
    }

        .caracteristicas .details p:last-child {
            margin-bottom: 0;
        }

    .caracteristicas .details ul {
        list-style: none;
    }

        .caracteristicas .details ul li {
            padding-bottom: 10px;
        }

        .caracteristicas .details ul i {
            font-size: 20px;
            padding-right: 4px;
            color: var(--afi-color);
        }

    /* Faq */
    .caracteristicas .details .faq {
        padding: 60px 0;
    }

        .caracteristicas .details .faq .faq-list {
            padding: 0;
            list-style: none;
        }

            .caracteristicas .details .faq .faq-list li {
                border-bottom: 1px solid #eceefe;
                margin-bottom: 20px;
                padding-bottom: 20px;
            }

                .caracteristicas .details .faq .faq-list li ul li {
                    border-bottom: none;
                    margin: 20px 0 0 20px;
                    list-style: circle;
                }

            .caracteristicas .details .faq .faq-list .question {
                display: block;
                position: relative;
                font-size: 18px;
                line-height: 24px;
                font-weight: 600;
                padding-left: 25px;
                cursor: pointer;
                color: var(--afi-color);
                transition: 0.3s;
            }

            .caracteristicas .details .faq .faq-list i {
                font-size: 16px;
                position: absolute;
                left: 0;
                top: -2px;
            }

            .caracteristicas .details .faq .faq-list p {
                margin-bottom: 0;
                padding: 10px 0 0 25px;
                margin-top: 10px;
            }

            .caracteristicas .details .faq .faq-list .icon-show {
                display: none;
            }

            .caracteristicas .details .faq .faq-list .collapsed {
                color: var(--black);
            }

                .caracteristicas .details .faq .faq-list .collapsed:hover {
                    color: var(--afi-color);
                }

                .caracteristicas .details .faq .faq-list .collapsed .icon-show {
                    display: inline-block;
                    transition: 0.6s;
                }

                .caracteristicas .details .faq .faq-list .collapsed .icon-close {
                    display: none;
                    transition: 0.6s;
                }

/* Footer */
#footer-main {
    background-color: var(--afi-white);
    padding: 80px 100px;
}

.footer-main {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1290px;
}

    .footer-main img {
        width: 200px;
        margin-bottom: 20px;
    }

.footer-column {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(25% - 16px);
    margin-bottom: 24px;
}

    .footer-column h4 {
        font-family: "Roboto Serif", serif;
        font-size: 15px;
        line-height: 14px;
        color: var(--secondary-color);
        margin-bottom: 12px;
    }

    .footer-column p,
    .footer-column a {
        font-family: "Roboto Serif", serif;
        font-size: 13px;
        line-height: 24px;
        font-weight: 500;
        color: var(--secondary-color);
        text-decoration: none;
        border-bottom: hidden;
    }

    .footer-column p {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 0;
    }

    .footer-column a:hover {
        text-decoration: underline;
    }

.alert-recaptcha {
    text-align: center;
    border-top: solid 1px var(--gray-DDD);
    padding: 20px 0;
    font-size: 12px;
    padding: 20px 0;
    color: var(--secondary-color);
}

/* Contacto */
.contact .info {
    padding: 20px 20px;
    background: var(--section-bg);
    color: var(--secondary-color);
    text-align: center;
    border: 1px solid var(--white);
}

    .contact .info i {
        font-size: 48px;
        color: var(--afi-color);
        margin-bottom: 15px;
    }

    .contact .info h4 {
        padding: 0;
        margin: 0 0 10px 0;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        font-family: var(--navbar-font);
    }

    .contact .info p {
        font-size: 15px;
    }

.contact .php-email-form {
    width: 100%;
}

    .contact .php-email-form .error-message {
        /*display: none;*/
        color: var(--white);
        background: var(--red-error);
        text-align: center;
        padding: 15px;
        font-weight: 600;
        font-size: 13px;
    }

        .contact .php-email-form .error-message br + br {
            margin-top: 25px;
        }

    .contact .php-email-form .sent-message {
        /*display: none;*/
        color: var(--white);
        background: var(--green-success);
        text-align: center;
        padding: 15px;
        font-weight: 600;
        font-size: 13px;
    }

    .contact .php-email-form .loading {
        /*display: none;*/
        background: var(--white);
        text-align: center;
        padding: 15px;
    }

        .contact .php-email-form .loading:before {
            content: "";
            display: inline-block;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            margin: 0 10px -6px 0;
            border: 3px solid var(--green-success);
            border-top-color: #eee;
            -webkit-animation: animate-loading 1s linear infinite;
            animation: animate-loading 1s linear infinite;
        }

    .contact .php-email-form label {
        font-family: var(--navbar-font);
        margin-bottom: 5px;
        color: #6f7177;
    }

    .contact .php-email-form input,
    .contact .php-email-form textarea {
        border-radius: 0;
        box-shadow: none;
        font-size: 14px;
    }

        .contact .php-email-form input:focus,
        .contact .php-email-form textarea:focus {
            border-color: var(--afi-color);
        }

    .contact .php-email-form input {
        padding: 10px 15px;
    }

    .contact .php-email-form textarea {
        padding: 12px 15px;
    }

    .contact .php-email-form button[type=submit] {
        background: var(--white);
        border: 2px solid var(--afi-color);
        padding: 10px 24px;
        color: var(--afi-color);
        transition: 0.4s;
        border-radius: 0px;
        margin-top: 5px;
    }

        .contact .php-email-form button[type=submit]:hover {
            background: var(--afi-color);
            color: var(--white);
        }


.contact .loading {
    /*display: none;*/
    background: var(--black-loading-transparent);
    text-align: center;
    padding: 15px;
    color: var(--white);
}

    .contact .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid var(--green-success);
        border-top-color: #eee;
        -webkit-animation: animate-loading 1s linear infinite;
        animation: animate-loading 1s linear infinite;
    }

.contact .error-message {
    /*display: none;*/
    color: var(--white);
    background: var(--red-error-transparent);
    text-align: center;
    padding: 15px;
    font-weight: 600;
    font-size: 13px;
}

    .contact .error-message br + br {
        margin-top: 25px;
    }

.contact .sent-message {
    /*display: none;*/
    color: var(--white);
    background: var(--green-success-transparent);
    text-align: center;
    padding: 15px;
    font-weight: 600;
    font-size: 13px;
}




/* Asesoramiento independiente */
.tag {
    font-family: "Roboto Serif", serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 15px;
    color: var(--secondary-color);
    background-color: var(--white);
    border-radius: 0px;
    padding: 6px 14px 6px 14px;
}

.title-servicios {
    margin-top: 20px;
}

ases-container {
    width: 100%;
    padding: 0;
}

.content-container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 75px 16px;
}

    .content-container h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
        color: var(--black);
        margin-bottom: 32px;
    }

    .content-container .flex-row {
        display: flex;
        gap: 32px;
    }

    .content-container .feature-box {
        flex: 1;
        background-color: var(--afi-white);
        padding: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .content-container .check-icon {
        font-size: 24px;
        color: #EE8C6E;
        margin-bottom: 24px;
    }

    .content-container p {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 28px;
        color: color: var(--secondary-color);
        text-align: center;
        margin: 0;
    }

    .content-container span {
        font-weight: 600;
    }



.digital-solutions-content-container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 75px 16px;
}

    .digital-solutions-content-container h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
        color: var(--black);
        margin-bottom: 32px;
    }

    .digital-solutions-content-container .flex-row {
        display: flex;
        gap: 32px;
    }

    .digital-solutions-content-container .feature-box {
        flex: 1;
        background-color: var(--white);
        padding: 24px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }


    .digital-solutions-content-container .check-icon {
        font-size: 24px;
        color: #EE8C6E;
        margin-bottom: 24px;
    }

    .digital-solutions-content-container p {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 28px;
        color: var(--black);
        text-align: left;
        margin: 0;
    }

    .digital-solutions-content-container span {
        font-weight: 600;
    }



/* Media queries */
/* Responsive */


@media (max-width: 1200px) {

    /* Div Container */

    .div-container {
        width: 100%;
        /* Full width on smaller screens */
        padding: 0 16px;
        /* Add some padding on the sides */
    }

    /* Expertos */

    .exp-container {
        width: 100%;
        padding: 100px 16px;
    }

    /* Main */

    #main {
        padding: 100px 16px;
    }

    /* Hero */
    #hero .container {
        margin: 16px;
    }

    #hero:before {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    }

    /* Afi info */
    .afi-info {
        width: 100%;
    }

    /* Afi novedades */
    .afi-novedades {
        width: 100%;
    }

    /* informes-y-estudio info */
    .informes-y-estudios-info {
        width: 100%;
    }

    /* Quienes somos */

    #quienes-somos .qs-grid {
        flex-wrap: wrap;
    }

    #quienes-somos {
        gap: 48px;
    }

        #quienes-somos .qs-card {
            width: 47%;
        }

        #quienes-somos .qs-grid {
            grid-gap: 24px;
            width: 100%;
            margin: 0 auto;
        }

    /* Secondary */

    #secondary {
        padding: 100px 16px;
    }

    #third {
        padding: 100px 16px;
    }

    /* Fondo Bolsa Social */

    #fondo-bolsa-social .fbs-row {
        flex-direction: column;
    }

    #fondo-bolsa-social .fbs-card {
        max-width: 100%;
    }

        #fondo-bolsa-social .fbs-card img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

    #fondo-bolsa-social .fbs-row {
        flex-direction: row;
        gap: 16px;
    }

    .notice {
        width: 100%;
        margin: 0 auto;
    }

    .paso-a-paso {
        width: 100%;
        margin: 0 auto;
        gap: 24px;
    }


    .afi-edificio {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: 20% 100%;
    }

    .paso-card {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .row-container {
        flex-direction: column;
    }

        .row-container img {
            width: 100%;
            /* Full width on smaller screens */
            height: auto;
            /* Maintain aspect ratio */
            object-fit: cover;
            flex-shrink: 1;
            /* Allow the image to shrink on smaller screens */
        }

    .row-container-seguros {
        flex-direction: column;
    }

        .row-container-seguros img {
            width: 100%;
            /* Full width on smaller screens */
            height: auto;
            /* Maintain aspect ratio */
            object-fit: cover;
            flex-shrink: 1;
            /* Allow the image to shrink on smaller screens */
        }

    .text-container img {
        width: 24px;
    }

    .inner-row {
        flex: 1 0 calc(50% - 16px);
        /* 50% width minus half the gap */
    }
}

@media (max-width: 992px) {

    #hero .container-info {
        padding-top: 100px;
        width: auto;
        justify-content: center;
    }

    #hero .container-paragraph {
        width: auto;
    }

    .breadcrumbs {
        margin-top: 63px;
    }

    #quienes-somos .qs-card {
        width: 100%;
    }

    .paso-container {
        flex-direction: column;
    }

    .paso-row {
        order: 2;
    }
}

@media (max-width: 991px) {
    .footer-column {
        flex: 0 0 calc(50% - 16px);
    }

    .navbar-nav .nav-item:first-child .nav-link {
        padding-top: 8px;
    }

    .navbar-nav .nav-item {
        margin-bottom: 8px;
        margin-top: 8px;
    }

    .navbar .btn {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .dropdown-menu a {
        padding: 8px 16px;
    }

    #footer-main {
        padding: 40px;
    }
}

/* Disable aos animation delay on mobile device */
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }

    #main {
        padding: 40px 16px;
    }

    #secondary {
        padding: 40px 16px;
    }

    #third {
        padding: 40px 16px;
    }

    .exp-container {
        padding: 20px 0px;
    }

    .hero {
        background: url("../img/hero-bg.jpg") 67% 65%;
        background-repeat: no-repeat;
    }

    .asesoramiento {
        background: url("../img/call-center-bg.jpg") center center/cover;
        background-repeat: no-repeat;
    }

    .ademas-podras {
        display: flex;
        flex-direction: column;
    }

    .ademas-podras-container {
        width: 100%;
        margin: 0 16px;
        margin-bottom: 32px;
    }

    .produt-hipoteca-inversa {
        display: flex;
        flex-direction: column;
    }

    .produt-hipoteca-inversa-container {
        width: 100%;
        margin: 0 16px;
        margin-bottom: 32px;
    }



    .seguros-container {
        width: 100%;
        margin: 0 16px;
        margin-bottom: 32px;
    }

    .content-container {
        width: 100%;
        padding: 75px 16px;
    }

        .content-container .flex-row {
            gap: 16px;
        }

        .content-container h2 {
            font-size: 24px;
            line-height: 32px;
            margin-bottom: 32px;
        }

    .digital-solutions-content-container {
        width: 100%;
        padding: 75px 16px;
    }

        .digital-solutions-content-container .flex-row {
            gap: 16px;
        }

        .digital-solutions-content-container h2 {
            font-size: 24px;
            line-height: 32px;
            margin-bottom: 32px;
        }


    .informes-y-estudios {
        background: url("../img/informes_y_estudios.png") center center/cover;
        background-repeat: no-repeat;
    }

    .diseno-de-productos {
        background: url("../img/cta-bg.jpg") center center/cover;
        background-repeat: no-repeat;
    }

    .soluciones-digitales {
        background: url("../img/canal-etico-bg.jpg") center center/cover;
        background-repeat: no-repeat;
    }

    .formacion {
        background: url("../img/formacion.png") center center;
        background-repeat: no-repeat;
    }

    .contacto {
        background: url("../img/contacto.jpg") center center;
        background-repeat: no-repeat;
    }

    /* Get started button */
    .get-started-btn {
        margin: 0 15px 0 0;
        padding: 6px 18px;
    }

    /* Quienes somos */
    #quienes-somos .qs-grid {
        flex-wrap: wrap;
    }

    /* Hero */

    .hero {
        height: 75vh;
    }

    #hero h1 {
        font-size: 44px;
        line-height: 1.2;
    }

    #hero h2 {
        font-size: 18px;
        line-height: 24px;
    }

    /* About */
    .about .content .learn-more-btn {
        margin: 0 48px 0 0;
        padding: 6px 18px;
    }

    /* Contact */
    .contact .php-email-form {
        padding: 15px 0 0 0;
    }

    /* Fondo Bolsa Social */

    #fondo-bolsa-social .fbs-row {
        flex-direction: column;
        gap: 16px;
    }

    .inner-row {
        flex: 1 0 100%;
        /* Full width */
    }

    .afi-edificio {
        flex-grow: 1;
    }

    .conocimiento-frame-menu {
        margin-top: 10px;
        text-align: center;
    }

    .conocimiento-frame-texto {
        text-align: center;
    }
}

@media (max-width: 568px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-column {
        flex: 0 0 100%;
        margin-bottom: 32px;
        align-self: stretch;
    }

        .footer-column p,
        .footer-column a {
            font-size: 15px;
            line-height: 24px;
        }

        .footer-column h4 {
            font-size: 16px;
            font-weight: 600;
        }

    .footer-main .footer-column:first-child {
        gap: 8px
    }

    .content-container .flex-row {
        flex-direction: column !important;
        align-items: center;
    }

    .digital-solutions-content-container .flex-row {
        flex-direction: column !important;
        align-items: center;
    }

    .ademas-inner-row {
        display: flex;
        flex: 100%;
    }
}

/* Min width */
@media (min-width: 768px) { /* Estilos para pantallas medianas y más grandes */
    .conocimiento-frame-menu {
        text-align: right; /* Alinear el contenido a la derecha */
    }
}

@media (min-width: 992px) {
    .navbar-nav > .nav-item {
        margin-right: 4px;
    }

    .navbar .btn {
        margin-left: 4px;
    }
}

@media (min-width: 993px) {
    .navbar .btn.mobile-only {
        display: none;
    }
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }

    .contact .php-email-form {
        padding: 30px 15px 15px 15px;
    }
}

/* Webkit & Keyframes */

@-webkit-keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/* Conocimiento y recursos para el aprendizaje */
#conocimiento-recursos-aprendizaje {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    #conocimiento-recursos-aprendizaje .cra-container {
        max-width: 1290px;
        margin: 0 auto;
    }

    #conocimiento-recursos-aprendizaje h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
        color: var(--black);
    }

    #conocimiento-recursos-aprendizaje .card {
        border: 1px solid #eeeeee;
        border-radius: 0;
    }

    #conocimiento-recursos-aprendizaje h5.card-title {
        font-family: "Roboto Serif", serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
        color: #727272;
    }

    #conocimiento-recursos-aprendizaje .line {
        width: 103px;
        height: 1.5px;
        background-color: var(--afi-color);
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    #conocimiento-recursos-aprendizaje .line2 {
        width: 103px;
        height: 1.5px;
        background-color: #6C230D;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    #conocimiento-recursos-aprendizaje .line3 {
        width: 103px;
        height: 1.5px;
        background-color: #FDB813;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    #conocimiento-recursos-aprendizaje p.card-text {
        font-family: "Roboto Serif", serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 28px;
        letter-spacing: -1%;
        max-width: 475px;
    }




/* Soluciones digitales herramientas */
#soluciones-digitales-herramientas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--afi-white);
    border-bottom: solid 1px var(--white);
}

    #soluciones-digitales-herramientas .cra-container {
        max-width: 1080px;
        margin: 0 auto;
    }

    #soluciones-digitales-herramientas h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
        color: var(--black);
    }

    #soluciones-digitales-herramientas .card {
        border: 1px solid var(--afi-white);
        border-radius: 0;
        background-color: var(--afi-white);
    }

    #soluciones-digitales-herramientas h5.card-title {
        font-family: "Roboto Serif", serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
        color: var(--secondary-color);
    }

    #soluciones-digitales-herramientas h3.card-title {
        font-family: "Roboto Serif", serif;
        font-weight: 400;
        font-size: 32px;
        line-height: 24px;
        color: var(--secondary-color);
    }

    #soluciones-digitales-herramientas .line {
        width: 103px;
        height: 1.5px;
        background-color: var(--afi-color);
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    #soluciones-digitales-herramientas .line2 {
        width: 103px;
        height: 1.5px;
        background-color: #6C230D;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    #soluciones-digitales-herramientas .line3 {
        width: 103px;
        height: 1.5px;
        background-color: #FDB813;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    #soluciones-digitales-herramientas p.card-text {
        font-family: "Roboto Serif", serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 28px;
        letter-spacing: -1%;
        max-width: 475px;
    }



/* Formacion */
#formacion-recursos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    #formacion-recursos .cra-container {
        max-width: 1290px;
        margin: 0 auto;
    }

    #formacion-recursos h2 {
        font-family: "Roboto Serif", serif;
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
        color: #000;
    }

    #formacion-recursos .card {
        border: 1px solid var(--afi-white);
        border-radius: 0;
    }

    #formacion-recursos h5.card-title {
        font-family: "Roboto Serif", serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
        color: #727272;
    }


    #formacion-recursos p.card-text {
        font-family: "Roboto Serif", serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 28px;
        letter-spacing: -1%;
        max-width: 475px;
    }






.custom-list {
    list-style-type: none; /* Oculta los iconos predeterminados de la lista */
    padding-left: 0; /* Elimina el relleno izquierdo predeterminado de la lista */
}

    .custom-list li {
        position: relative; /* Permite posicionar la imagen */
        padding-left: 30px; /* Agrega un espacio a la izquierda para la imagen */
        margin-bottom: 10px; /* Espacio entre elementos de la lista */
    }


    
.button-container-solid {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 16px 24px;
    border: 1px solid var(--afi-color);
    border-radius: 0px;
    background-color: var(--afi-color);
    color: var(--white);
    font-family: "Roboto Serif", serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 15px;
    max-width: fit-content;
    /* Hug feature */
    white-space: nowrap;
    /* Prevents text wrapping */
}

.button-container-solid a {
    color: var(--white) !important;
}

.button-blue-container-solid {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 16px 24px;
    border: 1px solid #00599C;
    border-radius: 0px;
    background-color: #00599C;
    color: var(--white);
    font-family: "Roboto Serif", serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 15px;
    max-width: fit-content;
    /* Hug feature */
    white-space: nowrap;
    /* Prevents text wrapping */
}


.fecha-publicacion {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 24px;
    color: #727272;
}

.bg-white {
    background: var(--white);
}

.bg-gray {
    background: var(--afi-white);
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: transparent !important;
}















.frame7 {
    position: absolute;
    background-color: var(--white);
    height: 416px;
    width: 1440px;
    padding-left: 180px;
    padding-right: 180px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.frame141 {
    height: 256px;
    width: 1080px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 88px;
    left: 180px;
    top: 80px;
    position: relative;
}

.frame127 {
    height: 256px;
    width: 1080px;
    padding: 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
}

.frame97 {
    background-color: var(--afi-white);
    height: 256px;
    width: 1080px;
    padding: 24px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 48px;
    position: relative;
}

.frame84 {
    height: 208px;
    width: 1032px;
    align-self: flex-start;
    left: 24px;
    top: 24px;
    position: absolute;
    padding: 0px;
    display: flex;
    flex-direction: column;
}

.frame75 {
    height: 208px;
    width: 1032px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.frame74 {
    height: 208px;
    width: 1032px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.frame142 {
    height: 52px;
    width: 328px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-search-02 {
    background-color: var(--white);
    height: 24px;
    width: 24px;
    padding: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
    border-style: hidden;
    outline: none;
}

.icon {
    height: 20px;
    width: 18px;
    width: 18px;
    height: 20px;
    left: 4px;
    top: 2px;
    position: absolute;
}

.informesafiseniors {
    color: #ee8c6e;
    text-align: left;
    vertical-align: text-top;
    font-size: 18px;
    font-family: "Roboto Serif", serif;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    width: 328px;
}

.texto1 {
    color: #000000;
    text-align: left;
    vertical-align: text-top;
    font-size: 18px;
    font-family: "Roboto Serif", serif;
    letter-spacing: -2px;
    line-height: 28px;
    border-style: hidden;
    outline: none;
    width: 1032px;
}



/* AÑADIDO DORI */

.conocimiento-frame {
    position: absolute;
    background-color: var(--white);
    height: 64px;
    width: 1080px;
    padding: 0px;
}

/*
.conocimiento-frame-texto {
    color: var(--afi-color);
    text-align: left;
    vertical-align: text-top;
    font-size: 24px;
    font-family: "Roboto Serif", serif;
    line-height: 32px;
    border-style: hidden;
    outline: none;
    width: 548px;
    align-self: flex-start;
    display: flex;
    position: absolute;
    left: 0px;
    top: 0px;
}

.conocimiento-frame-menu {
    height: 24px;
    width: 365px;
    align-self: flex-start;
    left: 715px;
    top: 8px;
    position: absolute;
    padding: 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
} 
*/

.conocimiento-frame-texto {
    color: var(--afi-color);
    vertical-align: text-top;
    font-size: 24px;
    font-family: "Roboto Serif", serif;
    line-height: 32px;
    /*
    text-align: left;
    border-style: hidden;
    outline: none;
    width: 548px;
    align-self: flex-start;
    display: flex;
    position: absolute;
    left: 0px;
    top: 0px;
    */
}

.conocimiento-frame-menu {
    height: 24px;
    /*
    width: 365px;
    align-self: flex-start;
    left: 715px;
    top: 8px;
    position: absolute;
    padding: 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    */
}




.todo {
    color: #000000;
    vertical-align: text-top;
    font-size: 15px;
    font-family: "Roboto Serif", serif;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    align-self: flex-start;
    display: flex;
    position: absolute;
    left: 0px;
    top: 0px;
}

.todo-selected {
    color: var(--afi-color);
    vertical-align: text-top;
    font-size: 15px;
    font-family: "Roboto Serif", serif;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    align-self: flex-start;
    display: flex;
    position: absolute;
    left: 0px;
    top: 0px;
}

.informes {
    color: #000000;
    vertical-align: text-top;
    font-size: 15px;
    font-family: "Roboto Serif", serif;
    align-self: flex-start;
    left: 62px;
    top: 0px;
    position: absolute;
    height: 24px;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    display: flex;
}

.informes-selected {
    color: var(--afi-color);
    vertical-align: text-top;
    font-size: 15px;
    font-family: "Roboto Serif", serif;
    align-self: flex-start;
    left: 62px;
    top: 0px;
    position: absolute;
    height: 24px;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    display: flex;
}

.libros {
    color: #000000;
    vertical-align: text-top;
    font-size: 15px;
    font-family: "Roboto Serif", serif;
    align-self: flex-start;
    left: 153px;
    top: 0px;
    position: absolute;
    height: 24px;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    display: flex;
}

.libros-selected {
    color: var(--afi-color);
    vertical-align: text-top;
    font-size: 15px;
    font-family: "Roboto Serif", serif;
    align-self: flex-start;
    left: 153px;
    top: 0px;
    position: absolute;
    height: 24px;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    display: flex;
}

.videos {
    color: #000000;
    vertical-align: text-top;
    font-size: 15px;
    font-family: "Roboto Serif", serif;
    align-self: flex-start;
    left: 222px;
    top: 0px;
    position: absolute;
    height: 24px;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    display: flex;
}

.videos-selected {
    color: var(--afi-color);
    vertical-align: text-top;
    font-size: 15px;
    font-family: "Roboto Serif", serif;
    align-self: flex-start;
    left: 222px;
    top: 0px;
    position: absolute;
    height: 24px;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    display: flex;
}

.articulos {
    color: #000000;
    vertical-align: text-top;
    font-size: 15px;
    font-family: "Roboto Serif", serif;
    align-self: flex-start;
    left: 298px;
    top: 0px;
    position: absolute;
    height: 24px;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    display: flex;
}

.articulos-selected {
    color: var(--afi-color);
    vertical-align: text-top;
    font-size: 15px;
    font-family: "Roboto Serif", serif;
    align-self: flex-start;
    left: 298px;
    top: 0px;
    position: absolute;
    height: 24px;
    line-height: 24px;
    border-style: hidden;
    outline: none;
    display: flex;
}




/* estilos desarrollo */
.ocultar {
    display: none !important;
}

.mostrar {
    display: block !important;
}



/* estilos blogEntryDetail  */

.post-blog {
    margin-bottom: 60px;
    padding-bottom: 40px;
    margin-left: 10px;
    margin-right: 10px;
    border-bottom: 1px solid #dce4e6;
}

    .post-blog .blog-image {
        overflow: hidden;
        margin-bottom: 20px;
    }

        .post-blog .blog-image img {
            width: 100%;
            height: auto;
        }

    .post-blog .blog-content span {
        color: #666666;
        margin-right: 10px;
        font-size: 14px;
    }

        .post-blog .blog-content span a {
            color: #666666;
        }

            .post-blog .blog-content span a:hover {
                color: var(--afi-color);
            }

    .post-blog .blog-content h3 {
        margin: 0 0 25px 0;
        font-size: 24px;
        line-height: 30px;
        font-weight: 400;
        color: #000000;
    }

        .post-blog .blog-content h3 a {
            color: #000000;
        }

            .post-blog .blog-content h3 a:hover {
                color: var(--afi-color);
            }

.meta-date:after, .meta-comments:after {
    content: '/';
    margin-left: 10px;
    font-family: "Roboto Serif", serif;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 24px;
    color: #727272;
}

.meta-date-only {
    margin-left: 10px;
}

.dropdown-item {
    color: var(--afi-color);
}

    .dropdown-item:hover {
        color: var(--secondary-color);
        background-color: var(--white);
    }



.dropdown-menu {
    background-clip: padding-box;
    border: none;
    border-radius: 0 !important;
    border-top: 4px solid var(--afi-color) !important;
    padding: 14px 8px;
}

.color-secundario {
    color: var(--secondary-color);
}


/*@media (min-width: 1200px) {
  .hero::after {
    position: absolute;
    content: "";
    width: 50%;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    z-index: 1 !important;
	 margin-right:50%; height:1000%
  }
  }*/
#hero .container-info {
    width: 450px;
    justify-content: start;
    z-index: 210 !important;
}

#hero .container-paragraph {
    width: 450px;
}

#hero::before {
    content: "";
    background-color: var(--secondary-color);
    opacity: 1;
    position: absolute;
    width: 50%;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero h1 {
    font-size: 46px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    font-family: "Roboto Serif", serif;
}

@media (min-width: 992px) {
    .navbar-nav > .nav-item {
        padding-right: 30px;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1320px;
    }
}

.navbar, .navbar-toggler {
    padding-top: 23px !important;
    padding-bottom: 23px !important;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
}

.logo {
    width: 185px;
    margin-top: 2px;
}

@media (max-width: 991px) {
    #hero::before {
        display: none;
    }
}

dl, ol, ul {
    margin-left: 10px !important;
}

.custom-list li {
    position: relative;
    padding-left: 0px;
    margin-bottom: 10px;
    list-style-type: disc;
}

.bg_tucuvi {
    background-color: #18284d;
}

.bg_quida {
    background-color: #183f39;
}

.question {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    width: 100%;
}

    .question:focus {
        outline: none;
        box-shadow: 0 0 0 2px #00699E; /* o quítalo si no quieres nada */
    }

.conocimiento-frame-menu a:focus {
    outline: 2px solid #00699E;
    outline-offset: 2px;
}

@media (max-width: 1289px) {
    #introduccion-afi .qs-container, #quienes-somos .qs-container, #fondo-bolsa-social .fbs-container, .exp-container, .paso-a-paso, .informes-y-estudios-info, .digital-solutions-content-container, #formacion-recursos .cra-container, #conocimiento-recursos-aprendizaje .cra-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .afi-novedades, #quienes-somos .qs-card, #fondo-bolsa-social .fbs-card {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .ademas-podras-container {
        display: none;
    }
}
