body {
    color: rgba(50, 50, 50, 1);
}

p {
    line-height: 32px;
}

/* PROGRESS BAR */
.solo-mobile {
    display: none;
}

.contenedor__menubar {
    background-color: #fff;
    position: fixed;
    top: 71px;
    z-index: 5;
    width: 100%;
    height: 10px;
    border: 1px solid var(--main-color-primary);
}

.content__menubar--inner {
    width: 100%;
    position: fixed;
    top: 71px;
    z-index: 5;
}

.progress-container {
    width: 100%;
    max-width: 980px;
    height: 56px;
    position: relative;
}

.progress-bar {
    height: 10px;
    background: var(--main-color-primary);
    width: 0%;
}

.menubar__container {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.menubar__container span {
    font-size: 14px;
    flex: auto;
    text-align: center;
}

/* MENU scrollspy  */
.flecha__scrollpy {
    display: flex;
    align-items: center;
    padding-right: 24px;
    padding-left: 24px;
}

.container__menu__scrollspy {
    width: 100%;
    position: fixed;
    left: 0;
    top: 73px;
    border: 1px solid #006AAF;
    background-color: #fff;
    z-index: 4;
}

.menu__scrollspy {
    display: flex;
    max-width: 980px;
}

.container__menu__scrollspy .fcorp-container {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 14px 0;
}

.nav-item {
    flex: auto;
    text-align: center;
}

.nav-item a {
    color: black;
    text-decoration: none;
}

.active__scrollspy {
    background: rgba(0, 106, 175, 1);
}

.active__scrollspy a {
    color: white;
    text-decoration: none;
}

.forbis-container__dos h1 {
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
}

.forbis-container__dos h2 {
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 4px;
}

/* section "Acerca de" */
.nosotros__navigate {
    margin-top: 75px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 80px;
}

.nosotros__navigate a {
    line-height: 0;
}

.nosotros__navigate span {
    font-size: 14px;
    line-height: 0;
}

.forbis-container__dos {
    width: 100%;
    max-width: calc(1100px + 30px);
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.tagsection__acercade--acercade .titulo_acerca_de {
    font-size: 48px;
    font-weight: 700;
    max-width: 736px;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 63.984px;
    color: black;
}

.tagsection__acercade--acercade div,
.tagsection__acercade--acercade p {
    line-height: 32px;
}

.custom__mision-vision p,
.tagsection__acercade--acercade p {
    margin-bottom: 24px;
    margin-top: 36px;
}

.acerca-data--container {
    padding-inline: 200px;
    position: relative;
    margin-top: -145px;
}

.ad-number {
    font-weight: 700;
    font-size: 48px;
    color: white;
}

.ad-text {
    color: white;
    margin: 0;
    padding: 0;
    line-height: 24px !important;
}

.acerca-data {
    display: flex;
    justify-content: center;
    background-color: #006AAF;
    align-items: center;
    gap: 100px;
    padding: 24px 56px;
    text-align: center;
}

/* section Propósito */
.title__propositos {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #323232;
}

.mision-vision--container {
    display: flex;
    gap: 20px;
    background-color: #F4F7FB;
    padding: 28px 41px;
    margin-bottom: 30px;
}

.mision-vision--container svg {
    width: 100%;
    max-width: 27px;
}

.mision-vision--title h3 {
    margin: 0;
    padding: 0;
    color: #006AAF;
    font-size: 24px;
}

.titulo-valores {
    color: #006AAF;
    font-size: 24px;
}

.valores--container {
    display: flex;
    gap: 20px;
}

.valores--content {
    background-color: #F4F7FB;
    text-align: center;
    width: 25%;
    padding: 24px 12px;
}

.valores--title h3 {
    font-size: 24px;
    color: #006AAF;
    line-height: 32px;
}

.valores--content p {
    line-height: 27px;
}

/* section Nuestra Historia  */
.tagsection__historia {
    margin-top: 36px;
}

.nuestra-historia--swiper {
    width: 100%;
    height: 100vh;
}

.nuestra-historia--swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.nuestra-historia--swiper-slide h3 {
    padding: 0;
    margin: 0;
    color: white;
    font-weight: 500;
    font-size: 32px;
    line-height: 32px;
    margin-bottom: 20px;
}

.nuestra-historia--swiper-slide h2 {
    padding: 0;
    margin: 0;
    color: white;
    font-weight: 700;
    font-size: 72px;
    line-height: 72px;
    margin-bottom: 10px;
}

.content-box {
    background-color: rgba(255, 255, 255, 1);
    padding: 20px;
    max-width: 542px;
    position: relative; /* También aseguramos que esta caja esté separada del pseudo-elemento */
    z-index: 3; /* Garantiza que esté por encima del filtro */
}

.content-box h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #006AAF;
}

.content-box p {
    font-size: 1rem;
    color: #333;
    line-height: 21px;
}

.historia-content {
    padding: 64px;
}

.historia-controls {
    display: flex;
    gap: 36px;
    margin-top: 25px;
}

.historia-controls div {
    cursor: pointer;
}

.swiper-button-disabled {
    cursor: default !important;
}

.swiper-button-disabled svg path {
    fill: #777777;
    stroke: #777777;
}

.swiper-button-disabled svg rect {
    stroke: #777777;
}

.swiper-pagination-bullet-active {
    background-color: #006AAF !important;
    border: 0 !important;
}

.swiper-pagination-bullet {
    border: 1px solid white;
    opacity: 1;
    background: transparent;
}

.historia-ceo--container {
    background-color: #006AAF;
    padding: 100px;
    display: flex;
    justify-content: center;
}

.ceo-content {
    display: flex;
    padding: 40px;
    background-color: white;
    gap: 40px;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
}

.ceo-content--text p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.ceo-content--text p strong {
    font-weight: 700;
    color: #006AAF;
}

.nuestra-historia--swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Asegura que nada se salga del contenedor */
}

.nuestra-historia--swiper-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Filtro negro al 50% */
    z-index: 1;
    /* Filtro debajo del contenido */
    pointer-events: none;
    /* Permite interacción con el contenido */
}

.historia-content {
    position: relative;
    /* Posiciona contenido en un nuevo contexto */
    z-index: 2;
    /* Asegura que el contenido esté por encima del filtro */
    padding: 64px;
    color: white;
    /* Opcional: mejora visibilidad */
}

/* section Certificaciones */
.tagsection__certificaciones {
    padding: 64px 56px;
}

.tagsection__certificaciones h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 4px;
    text-align: center;
    color: black;
}

.tagsection__certificaciones h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    color: black;
}

.certificaciones-swiper {
    width: 80%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certificaciones-swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.certificaciones-swiper-slide img {
    /* Ajusta el tamaño máximo de las imágenes */
    max-width: 60%;
    object-fit: contain;
}

.certificaciones-swiper-button-prev,
.certificaciones-swiper-button-next {
    color: #000;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 15px;
    font-weight: bold !important;
}

/* section Botones */
.certificaciones-buttons--container {
    background-color: #F4F7FB;
    display: flex;
    gap: 48px;
    padding: 96px 54px;
}

.certificaciones-buttons--container a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #006AAF;
    width: 25%;
    aspect-ratio: 1 / 1;
    color: white;
    text-decoration: none;
    padding: 32px;
    transition: linear 0.2s;
}

.certificaciones-buttons--container a:hover {
    background-color: black;
    transition: linear 0.2s;
}

@media (max-width: 950px) {
    .solo-mobile {
        display: block;
        z-index: 1;
    }

    .container__menu__scrollspy {
        display: none;
    }

    .nosotros__navigate {
        margin-top: 20px;
        margin-bottom: 0;
        display: none;
    }

    .tagsection__acercade {
        margin-top: 60px;
    }
}

@media (max-width: 850px) {
    .site-main {
        margin-top: 150px;
    }

    .contenedor__menubar,
    .progress-bar {
        height: 16px;
    }

    .contenedor_tabs {
        flex-wrap: wrap;
        gap: 16px;
        margin-top: 30px;
    }

    .estruct_corp__items__tabs {
        min-height: 56px;
    }
}

@media (max-width: 850px) {
    .tagsection__preguntas-frecuentes {
        padding-top: 30px;
        padding-bottom: 45px;
    }

    .container__tabs--preguntfrecuent {
        grid-template-columns: 1fr;
    }

    .custom__preguntas-frecuentes {
        grid-template-columns: 1fr;
    }

    .thumbs__top--custom .swiper-slide {
        text-align: center;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.20);
        height: auto;
    }

    .thumbs__top--custom .swiper-slide-thumb-active {
        font-size: 16px;
    }

    .thumbs__top--custom .swiper-slide-thumb-active:after {
        right: initial;
        left: 0;
        top: 96%;
        width: 100%;
        height: 5px;
    }

    .thumbs__top--custom {
        padding-right: 0;
        padding-bottom: 5px;
    }

    .grid__nuestros-valores {
        grid-template-columns: repeat(2, 1fr);
    }

    .nuestros-valores--items {
        min-height: 181px;
    }

    .subtitulo__secion--pregunfre {
        font-size: 32px;
    }

    .tagsection__acercade--acercade .titulo_acerca_de {
        font-size: 24px;
        line-height: 32px;
        width: 300px;
    }

    .estrategia__coorporativa--iframe {
        height: 270px;
    }

    .forbis-container__dos h2 {
        font-size: 16px;
    }

    .acerca-data--container {
        margin-top: 0;
        padding-inline: 0;
    }

    .acerca-data {
        flex-direction: column;
        align-items: center;
        padding: 12px;
        gap: 50px;
    }

    .ad-data--item {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .ad-data--item img {
        height: 64px;
    }

    .text--container {
        width: 40%;
        text-align: left;
    }

    .text--container p {
        padding: 0;
        margin: 0;
        font-size: 32px;
    }

    .ad-text {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .forbis-container__dos {
        padding-right: 32px;
        padding-left: 32px;
    }

    .acerca-image--container img {
        border-radius: 12px;
    }

    .mision-vision--container svg {
        width: 100%;
    }

    .valores--container {
        flex-direction: column;
    }

    .valores--content {
        width: 100%;
    }

    .historia-controls {
        justify-content: center;
    }

    .nuestra-historia--swiper-slide h2 {
        text-align: center;
    }

    .nuestra-historia--swiper-slide h3 {
        text-align: center;
        font-size: 24px;
        line-height: 32px;
    }

    .content-box h3 {
        text-align: left;
    }

    .historia-ceo--container {
        padding: 56px 32px;
    }

    .ceo-content {
        flex-direction: column;
        padding: 40px 24px;
        border-radius: 16px;
    }

    .tagsection__certificaciones h3 {
        text-align: left;
    }

    .tagsection__certificaciones h2 {
        text-align: left;
    }

    .certificaciones-buttons--container a {
        width: 48%;
    }

    .certificaciones-buttons--container a p {
        line-height: 24px;
        text-align: center;
        margin-bottom: 0;
    }

    .historia-content {
        padding: 64px 16px;
    }

    .tagsection__certificaciones {
        padding: 44px 32px;
    }

    .certificaciones-swiper {
        width: 100%;
        z-index: 0;
    }

    .certificaciones-buttons--container {
        padding: 48px 16px;
        flex-wrap: wrap;
        gap: 14px;
    }

    .nuestra-historia--swiper {
        z-index: 0;
    }
}