body {
    font-family: var(--font-family-ligth);
    font-size: var(--font-size-default);
    line-height: 1em;
    color: var(--font-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-style: normal;
}

header {
    position: fixed;
    top: -100px;
    left: 50%;
    width: calc(100% - 240px);
    transform: translateX(-50%);
    background-color: var(--primary-color);
    z-index: 999999;
    border-radius: 0 0 20px 20px;
}

html.loaded header {
    top: -0px;
    opacity: 1;
}

header .wrap_btn_menu,
header .wrap_btn_tools,
header .wrap_lang,
header .wrap_btn_search_search,
header .wrap_btn_search_search .wrap_btn_search {
    position: absolute;
    top: 0;
    left: 5px;
    width: 50px;
    height: 50px;
    color: white;
}

header .wrap_btn_tools {
    top: auto;
    bottom: 0;
}

header .wrap_lang {
    left: auto;
    right: 5px;
}

header .wrap_btn_search_search {
    top: auto;
    bottom: 0;
    left: auto;
    right: 5px;
}

header .wrap_btn_search_search .wrap_btn_search {
    left: 0;
}

header .wrap_btn_menu>a,
header .wrap_btn_tools>a,
header .wrap_lang>a,
header .wrap_btn_search_search .wrap_btn_search>a {
    color: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    display: block;
    text-align: center;
    font-size: 30px;
}

header .wrap_lang>a {
    font-size: 20px;
}

header .wrap_btn_menu>a i.la-times,
header .wrap_btn_tools>a i.la-times,
header .wrap_btn_search_search .wrap_btn_search>a i.la-times {
    display: none;
}

html.menu_open header .wrap_btn_menu>a i.la-bars,
html.tools_open header .wrap_btn_tools>a i.la-cog,
html.search_open header .wrap_btn_search_search .wrap_btn_search>a i.la-search {
    display: none;
}

html.menu_open header .wrap_btn_menu>a i.la-times,
html.tools_open header .wrap_btn_tools>a i.la-times,
html.search_open header .wrap_btn_search_search .wrap_btn_search>a i.la-times {
    display: inline-block;
}

html[lang='en'] header .wrap_lang>a.btn_lang_en,
html[lang='es'] header .wrap_lang>a.btn_lang_es {
    display: none;
}


header .wrap_btn_search_search .wrap_search {
    position: absolute;
    top: 0;
    right: 100%;
    width: 300px;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

html.search_open header .wrap_btn_search_search .wrap_search {
    max-width: 300px;
}

header .wrap_btn_search_search .wrap_search label {
    font-size: 20px;
    line-height: 50px;
    width: 70px;
    display: inline-block;
}

header .wrap_btn_search_search .wrap_search input {
    width: 230px;
    font-size: 20px;
    line-height: 25px;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid white;
    box-sizing: border-box;
    margin: 12px 0;
    color: white;
    font-family: var(--font-family-ligth);
}

header .wrap_menu {
    position: absolute;
    top: 100%;
    left: 0;
    color: white;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

html.menu_open header .wrap_menu {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.9);
}

header .wrap_menu .wrap_menu_top {
    padding: 20px 0;
    font-family: var(--font-family-text-bold);
    color: white;
    font-size: 18px;
    line-height: 25px;
}

header .wrap_menu .wrap_menu_top a {
    color: white;
    display: block;
    position: relative;
    font-size: 18px;
    line-height: 25px;
    padding-right: 30px;
    text-transform: uppercase;
}

header .wrap_menu .wrap_menu_top a>i {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 18px;
    line-height: 25px;
    display: none;
}

header .wrap_menu .wrap_menu_top ul li {
    margin-bottom: 10px;
}

header .wrap_menu .wrap_menu_top ul ul {
    display: none;
}

header .wrap_menu .wrap_menu_bottom {
    display: none;
}

header .wrap_logo {
    padding: 27px 0;
    text-align: center;
}

header .wrap_logo svg {
    height: 35px;
}

header .wrap_logo svg path {
    fill: white;
}

.home_block {
    width: 100%;
    position: relative;
}


.home_block.home_block_1 {
    min-height: 100vh;
}


.home_block.home_block_1 .video-cover {
    position: relative;
    width: 100%;
    height: 100vh;
    /* o la altura que quieras */
    overflow: hidden;
    /* oculta lo que sobresalga */
    z-index: 10;
}

.home_block.home_block_1 .video-cover iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 177.78vh;
    /* 100 * (16/9) → asegura cubrir en vertical */
    height: 56.25vw;
    /* 100 * (9/16) → asegura cubrir en horizontal */
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* opcional: evita clicks sobre el vídeo */
}


.home_block.home_block_1 .home_block_1_text {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 50px;
    font-family: var(--font-family-bold);
    opacity: 0;
    z-index: 11;
}

.home_block.home_block_1.show .home_block_1_text {
    top: 50%;
    opacity: 1;
}

.home_block.home_block_1 .home_block_1_line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: var(--primary-color);
    height: 0;
    z-index: 11;
}

.home_block.home_block_1.show .home_block_1_line {
    height: calc(50% - 40px);
}

.home_block.home_block_2 {
    position: relative;
    padding-top: 200px;
}

.home_block.home_block_2 .home_block_2_line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: var(--primary-color);
    height: 0;
}

.home_block.home_block_2.show .home_block_2_line {
    height: 180px;
}


.home_block.home_block_2 .home_block_2_numbers {
    width: 100%;
    margin-bottom: 50px;
}

.home_block.home_block_2 .home_block_2_numbers .home_block_2_numbers_number,
.home_block.home_block_2 .home_block_2_text {
    position: relative;
    opacity: 0;
    top: 100px;
}

.home_block.home_block_2.show .home_block_2_numbers .home_block_2_numbers_number,
.home_block.home_block_2.show .home_block_2_text {
    opacity: 1;
    top: 0px;
}

.home_block.home_block_2 .home_block_2_text {
    width: 900px;
    margin: 0 auto;
}

.home_block_2_orange_box {
    background-color: var(--primary-color);
    padding: 60px 100px !important;
    border-radius: 40px;
    box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.1);
}

.home_block_2_orange_box p {
    color: black !important;
    font-size: 22px;
    line-height: 1.5;
    font-family: var(--font-family-text-regular);
    margin-bottom: 30px;
    padding-bottom: 25px;
}

.home_block_2_orange_box p:last-child {
    margin-bottom: 0;
}

.home_block.home_block_3 {
    position: relative;
    width: calc(100% - 80px);
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 200px;
}


/*.home_block.home_block_3 .home_block_3_contents {}*/


/* Sección horizontal “pinneada” */
.h-pin {
    padding-top: 200px;
    position: relative;
    height: 670px;
    /* ocupa toda la pantalla mientras está fijada */
    overflow: clip;
    /* oculta overflow vertical durante el pin */
    margin-bottom: 100px;
    z-index: 4;
    position: relative;
}


.home_block.home_block_3 .home_block_3_line_2 {
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: var(--primary-color);
    height: 0;
    z-index: 2;
    display: none;
}

.home_block.home_block_3.show .home_block_3_line_2 {
    height: calc(100% - 1000px);
}

.h-track {
    height: 100%;
    display: flex;
    width: max-content;
    /* ancho = suma de slides */
    margin: 0 auto;
    padding: 0 150px;
    z-index: 4;
    position: relative;
}

.h-track:before {
    content: "";
    position: absolute;
    top: -200px;
    left: 0;
    width: 100%;
    height: 400px;
    background-color: #e5e5e5;
    opacity: 0;
}

.home_block.home_block_3.show .h-track:before {
    opacity: 1;
}


.h-slide {
    width: 850px;
    /* un panel por viewport; cambia si quieres tarjetas más pequeñas */
    height: 470px;
}

.home_block_3_content_letter {
    position: relative;
    padding: 20px;
    width: 700px;
    min-width: 700px;
    margin: 0 auto;
    top: 100px;
    opacity: 0;
}

.home_block_3.show .home_block_3_content_letter {
    top: 0px;
    opacity: 1;
}


.home_block.home_block_3 .home_block_3_line_1 {
    position: absolute;
    top: 200px;
    left: 100%;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    z-index: 8;
    display: none;
}

.home_block.home_block_3.show .home_block_3_line_1 {
    width: 150px;
}

.home_block_3_content_letter:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 0 0 20px 20px;
    z-index: 9;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

.home_block_3_content_letter .home_block_3_content_letter_image {
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.home_block_3_content_letter .home_block_3_content_letter_image img {
    width: 400px;
    aspect-ratio: 1/0.75;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
}

.home_block_3_content_letter .home_block_3_content_letter_bottom {
    display: flex;
    position: relative;
    z-index: 11;
}

.home_block_3_content_letter .home_block_3_content_letter_bottom>div {
    width: 50%;
}

.home_block_3_content_letter .home_block_3_content_letter_bottom .home_block_3_content_letter_bottom_button a {
    display: inline-block;
    font-family: var(--font-family-black);
    color: black;
    background-color: var(--primary-color);
    padding: 5px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    text-align: center;
}

.home_block_3_content_letter .home_block_3_content_letter_bottom .home_block_3_content_letter_bottom_text {
    text-transform: uppercase;
    font-size: 13px;
}

.home_block_3_content_letter .home_block_3_content_letter_bottom .home_block_3_content_letter_bottom_text span {
    color: var(--primary-color);
    font-family: var(--font-family-black);
    font-size: 35px;
    line-height: 37px;
    display: block;
    margin-top: 10px;
}

.stf_spacer {
    height: 100px;
}

.stf_spacer_last {
    height: 100vh;
}

.home_block_3_content_page {
    position: relative;
    width: 900px;
    height: 400px;
    margin: 0 auto;
    top: 100px;
    opacity: 0;
    will-change: transform;
    /* rendimiento al moverlas */
    z-index: 10;
}

#stf_page_1 {
    position: relative;
    z-index: 1000 !important;
}

#stf_page_2 {
    position: relative;
    z-index: 2000 !important;
}

#stf_page_3 {
    position: relative;
    z-index: 3000 !important;
}

#stf_page_4 {
    position: relative;
    z-index: 4000 !important;
}

#stf_page_5 {
    position: relative;
    z-index: 5000 !important;
}

#stf_page_6 {
    position: relative;
    z-index: 6000 !important;
}

#stf_page_7 {
    position: relative;
    z-index: 7000 !important;
}

#stf_page_8 {
    position: relative;
    z-index: 8000 !important;
}

#stf_page_9 {
    position: relative;
    z-index: 9000 !important;
}

#stf_page_10 {
    position: relative;
    z-index: 10000 !important;
}

#stf_page_11 {
    position: relative;
    z-index: 11000 !important;
}

#stf_page_12 {
    position: relative;
    z-index: 12000 !important;
}

#stf_page_13 {
    position: relative;
    z-index: 13000 !important;
}

#stf_page_14 {
    position: relative;
    z-index: 14000 !important;
}

#stf_page_15 {
    position: relative;
    z-index: 15000 !important;
}

#stf_page_16 {
    position: relative;
    z-index: 16000 !important;
}

#stf_page_17 {
    position: relative;
    z-index: 17000 !important;
}


.home_block_3.show .home_block_3_content_page {
    top: 0px;
    opacity: 1;

}

.home_block_3_content_page:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 100%;
    background-color: white;
    border-radius: 0 0 20px 20px;
    z-index: 9;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

.home_block_3_content_page .home_block_3_content_page_left {
    position: relative;
    z-index: 10;
    width: 350px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.home_block_3_content_page .home_block_3_content_page_left .home_block_3_content_page_left_title {
    font-family: var(--font-family-text-bold);
    color: var(--primary-color);
    font-size: 30px;
    line-height: 35px;
    margin-bottom: 20px;
    text-transform: uppercase;

}

.home_block_3_content_page .home_block_3_content_page_left .home_block_3_content_page_left_text {
    font-family: var(--font-family-text-regular);
    margin-bottom: 20px;
}

.home_block_3_content_page .home_block_3_content_page_left .home_block_3_content_page_left_text p {
    margin-bottom: 10px;
}

.home_block_3_content_page .home_block_3_content_page_left .home_block_3_content_page_left_text p:first-child {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
}

.home_block_3_content_page .home_block_3_content_page_left .home_block_3_content_page_left_button {
    text-align: center;
}

.home_block_3_content_page .home_block_3_content_page_left .home_block_3_content_page_left_button a {
    display: inline-block;
    font-family: var(--font-family-black);
    color: black;
    background-color: var(--primary-color);
    padding: 5px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    text-align: center;
}

.home_block_3_content_page .home_block_3_content_page_image {
    position: absolute;
    top: 0;
    right: 0;
    width: 550px;
    height: calc(100% - 30px);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    z-index: 11;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

.home_block_3_content_page .home_block_3_content_page_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: white;
    z-index: 999;
    box-sizing: border-box;
    padding: 10px 20px;
    line-height: 20px;
    font-size: 12px;
    font-family: var(--font-family-text-regular);
    display: flex;
}

footer a {
    color: black;
}

footer .copy_footer {
    width: 500px;
}

footer .menu_footer {
    width: calc(100% - 120px);
    text-align: right;
}

footer .menu_footer li {
    display: inline-block;
    margin-left: 15px;
}

/* gv_number_big */
.gv_number_big {
    text-align: center;
    font-family: var(--font-family-black);
}

.gv_number_big .gv_number_big_number_type {
    white-space: nowrap;
    color: var(--primary-color);
}

.gv_number_big .gv_number_big_number_type .gv_number_big_number {
    font-size: 70px;
    line-height: 105px;
}

.gv_number_big .gv_number_big_number_type .gv_number_big_type {
    font-size: 25px;
    line-height: 65px;
}

.gv_number_big .gv_number_big_number_text {
    color: black;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
}

#main {
    position: relative;
}

#main:after {
    content: '';
    width: calc(100% - 80px);
    height: calc(100vh - 40px);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 0 0 20px 20px;
}


html.home.loaded #main:after {
    background-color: #e5e5e5;
}

#main #content_main {
    position: relative;
    z-index: 10;
}

@media screen and (min-width: 1024px) and (max-width: 1300px) {
    .home_block_2 .gv_number_big .gv_number_big_number_type .gv_number_big_number {
        font-size: 30px;
        line-height: 60px;
    }
}

@media screen and (max-width: 1023px) {
    header {
        width: 100%;
        border-radius: 0;
    }

    .espacio {
        display: none !important;
    }

    .gv_flex_gap_30 {
        display: flex;
        gap: 20px;
    }

    .gv_number_big .gv_number_big_number_type .gv_number_big_number {
        font-size: 50px;
        line-height: 60px;
    }

    header .wrap_btn_menu_menu {
        /* asegurar que el header quede dentro */
        max-width: 100vw;
        /* overflow: hidden; */
        /* COMENTADO PARA PERMITIR SCROLL DEL MENU */
    }

    /* Adaptar los bloques apilados de la home a móviles (columnas) */
    .home_block_3_content_page {
        width: 90%;
        height: auto;
        display: flex;
        flex-direction: column-reverse;
        /* imagen arriba, texto abajo */
        top: 0;
        margin-bottom: 30px;
    }

    .home_block_3_content_page:after {
        width: 100%;
        height: 100%;
        border-radius: 20px;
    }

    .home_block_3_content_page .home_block_3_content_page_left {
        width: 100%;
        padding: 30px 20px;
        height: auto;
    }

    .home_block_3_content_page .home_block_3_content_page_image {
        position: relative;
        width: 100%;
        height: 250px;
        top: auto;
        right: auto;
        border-radius: 20px 20px 0 0;
    }

    /* En móvil no queremos todo este espacio vacío ni espaciadores fijos */
    .stf_spacer {
        height: 0px !important;
        display: none;
    }

    .stf_spacer_last {
        height: 0px !important;
        display: none;
    }

    /* Pie de página a columnas en movil */
    footer .menu_footer,
    footer .copy_footer {
        text-align: center;
        margin-bottom: 20px;
    }

    #main:after {
        width: 100%;
        border-radius: 0;
    }

    /* Textos en interior */
    .home_block_3_content_page .home_block_3_content_page_left .home_block_3_content_page_left_title {
        font-size: 22px;
        line-height: 26px;
    }

    /* Corrección del ancho desmedido de home_block_2_text y el título principal */
    .home_block.home_block_2 .home_block_2_text {
        width: 100% !important;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .home_block_2_orange_box {
        padding: 40px 20px !important;
        border-radius: 25px;
    }

    .home_block_2_orange_box p {
        font-size: 18px !important;
        line-height: 1.4;
        margin-bottom: 20px;
        padding-bottom: 25px;
    }

    .home_block.home_block_1 .home_block_1_text {
        font-size: 30px !important;
        line-height: 1.2;
        width: 90%;
    }

    /* Ajuste general del ancho en la home */
    .home_block.home_block_3 {
        width: 100% !important;
        padding-bottom: 50px !important;
    }

    /* Adaptar los bloques horizontales de la home a móviles (columnas) */
    .h-pin {
        height: auto !important;
        padding-top: 50px !important;
        margin-bottom: 50px !important;
        overflow: visible !important;
    }

    .h-track {
        flex-direction: column;
        width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box;
    }

    .h-track:before {
        display: none !important;
    }

    .h-slide {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 30px;
    }

    .home_block_3_content_letter {
        width: 100% !important;
        min-width: 100% !important;
        padding: 20px !important;
        box-sizing: border-box;
        top: 0 !important;
        opacity: 1 !important;
    }

    .home_block_3_content_letter .home_block_3_content_letter_image img {
        width: 100% !important;
        height: auto !important;
    }

    .home_block_3_content_letter .home_block_3_content_letter_bottom {
        flex-direction: column;
    }

    .home_block_3_content_letter .home_block_3_content_letter_bottom>div {
        width: 100% !important;
        text-align: center;
        margin-bottom: 15px;
    }

    /* Reducción del tipo de menú en móviles para que quepa */
    header .wrap_menu {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    html.menu_open header .wrap_menu {
        max-height: calc(100vh - 100px) !important;
        /* Ajustado para dejar espacio al header */
        padding: 10px 20px;
    }

    header .wrap_menu .wrap_menu_top {
        font-size: 14px;
        line-height: 18px;
        padding: 10px 0;
    }

    header .wrap_menu .wrap_menu_top a {
        font-size: 14px;
        line-height: 18px;
        padding-right: 20px;
    }

    header .wrap_menu .wrap_menu_top ul li {
        margin-bottom: 5px;
    }

    /* Evitar todo overflow horizontal a nivel body/html */
    body,
    html {
        overflow-x: hidden;
    }

    html.menu_open,
    html.menu_open body {
        overflow: hidden;
        height: 100%;
    }
}

/* Modo Tablet y Pantallas bajas: Altura <= 760px o Ancho <= 1024px */
@media screen and (max-height: 760px) and (min-width: 1025px),
screen and (width: 1024px) {
    .home_block_3_content_letter .home_block_3_content_letter_bottom .home_block_3_content_letter_bottom_text span {
        color: var(--primary-color);
        font-family: var(--font-family-black);
        font-size: 25px !important;
        line-height: 37px;
        display: block;
        margin-top: 10px;
    }

    .home_block_3_content_page {
        width: 800px;
        height: 310px !important;
        top: 0 !important;
        opacity: 1 !important;
        margin-bottom: 50px;
        display: flex;
        flex-direction: row;
        position: relative;
    }

    .home_block_3_content_page:after {
        width: 400px;
        height: 100%;
        border-radius: 20px;
    }

    .home_block_3_content_page .home_block_3_content_page_left {
        width: 350px;
        padding: 20px;
        height: 100%;
    }

    .home_block_3_content_page .home_block_3_content_page_left .home_block_3_content_page_left_title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .home_block_3_content_page .home_block_3_content_page_left .home_block_3_content_page_left_text p:first-child {
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }

    .home_block_3_content_page .home_block_3_content_page_image {
        position: relative;
        width: 450px;
        height: 100%;
        right: auto;
        border-radius: 0 20px 20px 0;
    }

    .stf_spacer {
        display: none;
    }

    .h-pin {
        height: 520px !important;
        padding-top: 100px !important;
        margin-bottom: 50px !important;
    }

    .h-slide {
        width: 600px !important;
        height: 380px !important;
    }

    .home_block_3_content_letter {
        width: 550px !important;
        min-width: 550px !important;
        padding: 15px !important;
    }

    .home_block_3_content_letter .home_block_3_content_letter_image img {
        width: 300px !important;
        aspect-ratio: 16/9 !important;
    }
}