:root {
    /* COLOR */
    --brown: #733913;
    --yellow: #F9BD06;
    --green: #33E5AA;
    --dark-blue: #020082;
    --orange: #FF6A2D;
    --blue: #55BCF9;
    --black: #282425;
    --white: #F2F9F9;
    /* FONT */
    --primary-font: 'poppins';
    --secondary-font: 'inter';
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--primary-font);
}

p {
    font-family: var(--secondary-font);
    color: var(--black);
}

a,
span {
    font-family: var(--secondary-font);
    transition: all .3s;
}

.mt-small {
    margin-top: 3rem;
}

.mt-medium {
    margin-top: 5rem;
}

.mt-large {
    margin-top: 7rem;
}

.pt-small {
    padding-top: 3rem;
}

.pt-medium {
    padding-top: 5rem;
}

.pt-large {
    padding-top: 7rem;
}

.mb-small {
    margin-bottom: 3rem;
}

.mb-medium {
    margin-bottom: 5rem;
}

.mb-large {
    margin-bottom: 7rem;
}

.pb-small {
    padding-bottom: 3rem;
}

.pb-medium {
    padding-bottom: 5rem;
}

.pb-large {
    padding-bottom: 7rem;
}

.radius1 {
    border-radius: 5px;
}

.radius2 {
    border-radius: 10px;
}

.relative {
    position: relative;
}

.bg-orange {
    background: var(--orange);
}

.bg-black {
    background: var(--black);
}

.fondo-white {
    background: var(--white);
}

.c-white,
.c-white p {
    color: var(--white);
}

.c-black {
    color: var(--black);
}

.font-80 {
    font-size: 80px;
}

.font-60 {
    font-size: 60px;
}

.font-50 {
    font-size: 50px;
    font-weight: 800;
    line-height: 54px;
}

.font-24 {
    font-size: 24px;
    font-family: var(--secondary-font);
    font-weight: 800;
    margin-bottom: 0;
}

.font-28 {
    font-size: 28px;
    font-family: var(--secondary-font);
    font-weight: 900;
    margin-bottom: 0;
}

.font-18 {
    font-size: 18px;
}

.font-16 {
    font-size: 16px;
    line-height: 22px;
}

.weight-800 {
    font-weight: 800;
    line-height: 54px;
}

.btn-bili {
    border-radius: 4px;
    background: var(--black);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    display: block;
    width: fit-content;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid transparent;
}

.btn-bili:hover {
    background: var(--white);
    color: var(--black);
    border-color: #d0d0d0;
}

.btn-orange {
    background: var(--orange);
    color: var(--black);
    padding: 14px 60px;
    font-size: 14px;
}

/*--------------------------------Banner principal--------------------------------------------*/
.Imagen-banner {
    height: 850px;
    object-fit: cover;
    width: 100%;
    object-position: left;
}

.contenido-banner-ppal h1,
.contenido-banner-ppal h2,
.banner-title-interna h1 {
    font-weight: 900;
    line-height: 110%;
    font-size: 60px;
}

.contenido-banner-ppal {
    background: var(--green);
    position: absolute;
    bottom: 15%;
    left: 100px;
    max-width: 720px;
}

.description-banner p {
    font-size: 24px;
    line-height: 30px;
}

.bili-navigation {
    width: fit-content;
    z-index: 1;
    display: flex;
    align-items: center;
    column-gap: 15px;
    position: absolute;
    transition: opacity 0.4s ease;
}

.bili-navigation.fade-out {
    opacity: 0;
    pointer-events: none;
}

.bili-navigation.fade-in {
    opacity: 1;
    pointer-events: auto;
}

.flechas {
    background: var(--black);
    padding: 11px 12px;
    border-radius: 5px;
    border: 1px solid var(--black);
    transition: all .3s;
}

.flechas:hover {
    opacity: 0.9;
    border: 1px solid black;
}

.flechas svg {
    color: white;
    width: 20px;
}

.slide-count-indicator {
    font-size: 18px;
    width: 60px;
}

.flechas.swiper-button-disabled {
    opacity: 0.7;
}

.fondo-verde {
    background: var(--green);
}

.fondo-azul {
    background: var(--blue);
}

.fondo-naranja {
    background: var(--orange);
}

.fondo-amarillo {
    background: var(--yellow);
}

/*--------------------------------Imagen y texto--------------------------------------------*/

.title-img-text {
    line-height: 64px;
    font-weight: 800;
    font-style: italic;
}

.description-img-text p {
    font-size: 20px;
    line-height: 26px;
    margin: 0;
}

.imagen-comp {
    width: 100%;
    max-width: 368px;
    display: block;
}

/*----------------------------Cifras home---------------------------------------*/

.ct-cifras-home .fondo:before {
    content: "";
    width: 80%;
    height: 100%;
    background: var(--white);
    display: block;
    position: absolute;
    z-index: 2;
    border-radius: 0 5px 5px 0;
}

.ct-cifras-home .fondo:after {
    content: "";
    width: 100%;
    height: 75%;
    background: var(--orange);
    display: block;
    position: absolute;
    top: -1px;
    right: 0;
}

.z-2 {
    z-index: 2;
}

.title-cifras {
    font-weight: 800;
}

.description-cifra p {
    font-size: 30px;
    line-height: 34px;
}

.d-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

img.imagen-cifras {
    width: 100%;
}

/*----------------------------------Tabs verticales-------------------------*/
.tabs-nav {
    display: none;
}

.tabs-mobile {
    display: block;
}

.bg-negro {
    background: var(--black);
}

.bg-negro .title-tabs {
    color: var(--white);
}

.bg-negro .tabs-nav {
    gap: 0;
}

.bg-negro .tab-link {
    border-radius: 0;
    background: #302C2D;
    color: white;
}

.bg-negro .tab-link.active {
    color: var(--black);
}

.bg-negro .tab-link:first-child {
    border-radius: 5px 5px 0 0;
}

.bg-negro .tab-link:last-child {
    border-radius: 0 0 5px 5px;
}

.bg-negro .contenido_tabs_bili p {
    color: var(--white);
}

.bg-negro .contenido_tabs_bili {
    padding: 25px;
    background: #302c2d;
}

.contenido_tabs_bili ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.contenido_tabs_bili ol > li {
    counter-increment: item;
    position: relative;
    padding-left: 65px;
    margin-bottom: 30px;
}

.contenido_tabs_bili ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--orange);
    /* color del círculo */
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}


.contenido_tabs_bili ol li ul li {
    list-style: disc;
}

.contenido_tabs_bili ol li ul {
    padding-left: 25px;
}

.contenido_tabs_bili ol > li strong {
    font-size: 20px;
    padding-bottom: 10px;
    display: block;
}

@media (min-width: 768px) {

    .tabs-mobile {
        display: none !important;
    }

    .tabs-wrapper {
        display: flex;
        gap: 30px;
    }

    .tabs-nav {
        display: flex;
        flex-direction: column;
        width: 30%;
        gap: 15px;
    }

    .tab-link {
        background: var(--white);
        border: none;
        padding: 16px;
        border-radius: 5px;
        text-align: left;
        font-size: 14px;
        font-family: var(--secondary-font);
        transition: all .3s;
    }

    .tab-link.active,
    .tab-link:hover {
        background: var(--orange);
        font-weight: 700;
    }

    .tabs-content {
        width: 70%;
    }
}

.tabs-mobile {
    display: block;
    margin-bottom: 16px;
    position: relative;
}

.tabs-mobile-selected {
    width: 100%;
    background: var(--orange);
    font-family: var(--secondary-font);
    padding: 15px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tabs-mobile-menu {
    display: none;
    background: var(--white);
    margin-top: 15px;
    border-radius: 5px;
    padding: 10px 0;
}

.tabs-mobile.open .tabs-mobile-menu {
    display: block;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.tabs-mobile-item {
    padding: 14px 15px;
    font-size: 15px;
    font-family: var(--secondary-font);
    cursor: pointer;
}

.tabs-mobile-item:hover {
    background: #e8e8e8;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/*----------------------------------------Cards destacadas------------------------------------------*/
.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.description-card p {
    font-size: 18px;
    line-height: 24px;
    color: white;
}

.card-title {
    font-weight: 900;
    line-height: 54px;
}

.imagen-card-destacada {
    object-fit: cover;
    max-height: 385px;
    border-radius: 5px 5px 0 0;
}

.contenido-card {
    border-radius: 0 0 5px 5px;
    padding: 40px;
}

/*------------------------------------Galería de videos-------------------------------------------*/
.column3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

/*-------------------------------------Banner interna-------------------------------------------*/
.contenido-banner-interna {
    max-width: 720px;
}

.b-interna p {
    margin-bottom: 0;
}

.imagen-banner-interna {
    position: absolute;
    top: 0;
    z-index: 1;
    height: 65%;
    object-fit: cover;
    width: 100%;
}

.ct-banner-interna {
    padding-top: 100px;
    margin-top: 100px;
}

.bg-banner-blanco .bg-black {
    background: var(--white);
}

.bg-banner-blanco .bg-black h1,
.bg-banner-blanco .bg-black .b-interna p {
    color: var(--black);
}

.btn-banner-interna {
    padding: 12px 25px;
}

/*--------------------------Banner secundario-----------------------------*/
.img-banner-2 {
    width: 50%;
    height: 354px;
    object-fit: cover;
}

.cont-banner-2:before {
    content: "";
    width: 80%;
    height: 100%;
    position: absolute;
    top: 0;
    background: var(--black);
    border-radius: 5px;
}

.p-banner {
    padding: 35px 0 35px 35px;
}

.ct-contb2 {
    display: flex;
    flex-direction: column;
    height: -webkit-fill-available;
    justify-content: space-between;
}

/*-------------------------Cards informativas-------------------------*/
.bgcard-negro .ct-card-info {
    background: var(--black);
}

.bgcard-naranja .ct-card-info {
    background: var(--orange);
}

.ct-card-info {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.titulo-car-info {
    max-width: 350px;
}

.bgcard-negro:before {
    content: "";
    width: 100%;
    height: 62%;
    position: absolute;
    bottom: 0;
    background: var(--orange);
    z-index: -1;
}

.bgcard-negro {
    padding-bottom: 140px;
    margin-bottom: -70px;
}

.imagen-icono {
    width: 40px;
}

.desc-car-info p {
    margin: 0;
}

.bgcard-naranja:before {
    content: "";
    width: 100%;
    height: 65%;
    position: absolute;
    top: 0;
    background: var(--black);
    z-index: -1;
}

.bgcard-naranja h2 {
    color: var(--white);
    padding-top: 50px;
}

/*---------------------------------------Webform-------------------------*/
.webform-bili {
    padding-bottom: 120px;
}

.webform-bili:before {
    content: "";
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    background: var(--orange);
    z-index: -1;
}

.title-webform-bili h3 {
    font-size: 42px;
    line-height: 46px;
    font-weight: 800;
}

.container-webform-bili {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.webform-bili label {
    font-family: var(--secondary-font);
    font-size: 16px;
}

.webform-bili label:after {
    color: black;
    filter: grayscale(1);
}

.container-webform-bili input,
.container-webform-bili select {
    border: 0;
    border-bottom: 1px solid #C1C7CD;
    padding: 12px;
    margin: 8px 0 5px;
    border-radius: 8px;
}

.container-webform-bili input::placeholder {
    color: #9B9B9B;
    font-family: var(--secondary-font);
}

.container-webform-bili select {
    font-family: var(--secondary-font);
}

.container-webform-bili .webform-element-description {
    color: #6A8B8B;
    font-size: 14px;
}

.terminos {
    display: flex;
    align-items: center;
    gap: 7px;
}

.terminos a {
    color: var(--black);
}

/*-----------------Miga de Pan----------------------*/
.breadcrumb {
    max-width: min(1320px, 90%);
    margin: auto;
    padding: 30px 0 0;
}

.breadcrumb li:first-child:before {
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20400%20360%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M200%2030L20%20170h60v160h80v-90h80v90h80V170h60L200%2030z%22%2F%3E%3C%2Fsvg%3E') 0 0 no-repeat;
}

.bg-negro .breadcrumb li:first-child:before {
    background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20400%20360%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M200%2030L20%20170h60v160h80v-90h80v90h80V170h60L200%2030z%22%2F%3E%3C%2Fsvg%3E') 0 0 no-repeat;
}

.breadcrumb-item {
    color: var(--black) !important;
    font-family: var(--secondary-font);
}

.bg-negro .breadcrumb-item {
    color: var(--white) !important;
}

.breadcrumb-item:last-child {
    font-weight: 700;
    color: var(--black);
}

.breadcrumb li:first-child a {
    display: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--black);
    font-weight: 400;
}

.bg-negro .breadcrumb-item + .breadcrumb-item::before {
    color: var(--white);
}

/*-----------Transversales 404, 403, gracias------------*/
.imagen-transversales {
    width: 100%;
    max-width: 540px;
}