.hero-section1 {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: url(../images/conocenos/fondo-conocenos.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    aspect-ratio: 16 / 9;
    background-position: center center;
    padding: 0px;
    border-radius: 0px;
}

.hero-fullscreen {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    /*height: 100vh;*/
    /*padding: 0 0 0 100px;*/
}


.service-cards {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    min-height: 230px;
    transition: transform 0.2s ease-in-out, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid #000981;
    color: #363636;
    margin-bottom: 1.5rem;
}

.service-cards-valores {
    background-color: #ffffff;
    border-radius: 50px;
    padding: 1rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    min-height: 230px;
    transition: transform 0.2s ease-in-out, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid #000981;
    margin-bottom: 1.5rem;
}


.service-cards h2 {
    font-size: 4rem;
    font-family: "NexaXBold", sans-serif;
    font-weight: 800;
    color: #000981;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.service-cards p {
    font-size: 2.5rem;
    font-weight: 500;
    color: #000981;
    margin-bottom: 0rem;
    line-height: 1;
}

.banner-logistics-sections {
    background-image: url('../images/conocenos/fondo-nuestra-historia.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.banner-logistics-sections .title {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 0 !important;
    line-height: 1.2;
}

.banner-logistics-sections .subtitle {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    margin-bottom: 0 !important;
    line-height: 1.5;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 9, 129, 0.9) 0%, rgba(0, 9, 129, 0.5) 30%, rgba(0, 9, 129, 0.0) 100%);
    xz-index: 0;
}

.timeline-wrapper {
    position: relative;
    padding: 80px 0 100px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 auto;
}

.timeline-wrappers {
    position: relative;
    padding: 80px 0 100px;
    -webkit-overflow-scrolling: touch;
    margin: 0 auto;
}

.timeline {
    position: relative;
    height: 180px;
    display: flex;
    align-items: flex-start;
    min-width: 1000px;
    padding: 0 40px;
}

.timelines {
    position: relative;
    height: 4px;
    background-color: transparent;
    margin: 2rem 0;
}

/* Líneas de la cronología */
.timeline-start-line,
.timeline-end-line,
.timeline-dashed-line,
.timeline-fill-line {
    position: absolute;
    top: 80px;
    height: 4px;
    border-radius: 2px;
    xz-index: 7;
}

/* Línea inicial (continua) */
.timeline-start-line {
    left: 0;
    width: 147px;
    background-color: rgba(255, 255, 255, 1);
}

/* Línea central (discontinua) */
.timeline-dashed-line {
    left: 60px;
    /* Comienza después de la línea inicial */
    right: 60px;
    /* Termina antes de la línea final */
    /*background-image: linear-gradient(to right, rgba(255, 255, 255, 0.3) 50%, transparent 0%);*/
    background-position: 0 0;
    background-size: 20px 4px;
    /* Tamaño del guion y el espacio */
    background-repeat: repeat-x;
}

.timeline-dashed-lines {
    position: absolute;
    top: 80px;
    left: 0;
    height: 100%;
    width: 100%;
    border-top: 4px dashed #ccc;
    xz-index: 3;
}

/* Línea final (continua) */
.timeline-end-line {
    right: 0;
    width: 147px;
    /* Ajusta el ancho final de la línea continua */
    background-color: rgba(255, 255, 255, 1);
    /* Blanco un poco transparente */
}

/* Línea de relleno que se pinta (siempre continua y encima de las demás) */
.timeline-fill-line {
    left: 0;
    width: 0%;
    /* Inicialmente 0% de ancho */
    background-color: #fff;
    /* Color de la línea que se pinta (naranja/dorado) */
    xz-index: 2;
    transition: width 6s cubic-bezier(0.25, 0.46, 0.45, 0.7);
    /* Transición suave */
}

.timeline-fill-lines {
    position: absolute;
    top: 80px;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #3498db;
    animation: crecer 4s forwards;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    xz-index: 6;
    border-radius: 4px;
}

@keyframes crecer {
    to {
        width: 100%;
    }
}

/* Contenedor de eventos para distribuir los puntos y contenidos */
.timeline-events-container {
    position: absolute;
    top: 0;
    /* Ajusta para que los elementos estén al inicio del timeline */
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    /* Distribuye los eventos uniformemente */
    height: 100%;
    xz-index: 3;
    padding: 0 40px;
    /* Mismo padding que el timeline para alinear los puntos con las líneas */
}

.timeline-event {
    position: relative;
    /* Para posicionar el dot y el contenido relativo al evento */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    /* Para distribuir el espacio entre los eventos */
    color: #fff;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

.timeline-event.active {
    opacity: 1;
}

.timeline-year-label {
    position: absolute;
    top: 0px;
    /* Posición de la etiqueta del año sobre la línea */
    font-size: 1.5rem;
    font-family: "NexaBlack", sans-serif;
    color: rgba(255, 255, 255, 0.9);
    /* Blanco para el año */
    width: 80px;
    /* Ancho fijo para centrar bien */
    margin-left: 0px;
    /* Centra la etiqueta sobre el punto */
}

.timeline-event.active .timeline-year-label {
    color: #fff;
    /* Color del año cuando está activo */
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background-color: #2a52f3;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 71px;
    /* Posición vertical del punto, para que esté en la línea */
    xz-index: 4;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.timeline-event.active .timeline-dot {
    background-color: #2A52F3;
    border-color: #FFFFFF;
    transform: scale(1.2);
}

.timeline-content {
    margin-top: 100px;
    /* Espacio entre el punto y el contenido (debajo) */
    max-width: 120px;
    font-size: 0.9em;
    line-height: 1.3;
}

.timeline-description {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.9);
    padding-top: 40px;
    line-height: 1.2;
}


.content h1.title {
    margin-bottom: 0rem;
    /* Ajusta este valor si necesitas más o menos espacio */
}

.timeline-year-label-1 {

    font-size: 0.7rem;

}

/* Wrapper para todo el contenido (título, subtítulo, botón) dentro del hero-body */
.banner-content-wrapper {
    /* Antes era .hero-body directamente */
    position: relative;
    z-index: 2;
    /* Mayor que el xz-index del overlay */
    width: 100%;
    /* Ocupa todo el ancho */
    padding-top: 4rem;
    /* Espacio desde el top para el título */
    padding-bottom: 4rem;
    /* Espacio desde el fondo para el contenido inferior */
    /*display: flex;*/
    flex-direction: column;
    /* Apila el título y el contenido inferior verticalmente */
    justify-content: space-between;
    /* Espacio entre el título (arriba) y el contenido inferior (abajo) */
}


.banner-content-wrapper {
    flex-grow: 1;
    /*display: flex;*/
    flex-direction: column;
    justify-content: space-between;
}

.texto-valores {
    font-size: 2rem;
    font-family: "NexaBlack", sans-serif;
    color: #000981;
}


@media (max-width: 767px) {

    .hero-sectionc {
        position: static;
        width: 100%;
        background: no-repeat;
        background-image: url(../images/conocenos/bg_tramaco_conocenos_movil.png);
        background-position: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        border-radius: 10px;
    }

    .slide-itemc {
        width: calc(100vw - 0px);
        margin-right: 5px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .slide-itemc {
        scroll-snap-align: start;
    }

    .banner-content-wrapperc {
        padding-top: 3rem;
        padding-bottom: 0rem;

    }

    .timeline-wrapper {
        padding: 30px 0;
        overflow-x: hidden;
    }

    .timeline {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        min-width: max-content;
        padding: 0 10px 0 10px;
    }

    .timeline-start-line,
    .timeline-end-line,
    .timeline-dashed-line,
    .timeline-fill-line {
        left: 30px;
        width: 4px;
        height: auto;
        top: 0;
        bottom: 0;
    }

    .timeline-start-line {
        top: -38px;
        height: 60px;
        left: 30px;
    }

    .timeline-dashed-line {
        top: 60px;
        bottom: 60px;
        background-position: 0 0;
        background-size: 4px 20px;
        background-repeat: repeat-y;
        left: 30px;
    }

    .timeline-end-line {
        bottom: -16px;
        height: 60px;
        top: unset;
        left: 30px;
    }

    .timeline-fill-line {
        height: 0%;
        top: 0;
        left: 30px;
        width: 4px;
        transition: height 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .timeline-events-container {
        flex-direction: column;
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        width: 100%;
        height: auto;
        padding: 0;
    }

    .timeline-event {
        flex-direction: column;
        text-align: left;
        align-items: center;
        margin-bottom: 20px;
        margin-top: 15px;
        width: 100%;
        justify-content: flex-start;
    }

    .timeline-year-label {
        position: relative;
        top: unset;
        left: unset;
        font-size: 2rem;
        margin-right: 15px;
        width: auto;
        margin-left: 0;
    }



    .timeline-description {
        font-size: 1.3em;
        color: rgba(255, 255, 255, 0.9);
        padding-top: 0px;
        line-height: 1.2;
    }

    .timeline-dot {
        position: absolute;
        top: 5px;
        left: 10px;
        margin-right: 0px;
        z-index: 10;
    }

    .timeline-content {
        margin-top: 0;
        text-align: center;
        max-width: calc(100% - 100px);
    }

    .padding-conoce {
        padding-right: 0 !Important;
    }

    .content h2 {
        font-size: 2rem;
        margin-bottom: .5714em;
    }

    .service-cards-valores {

        border-radius: 20px;

        min-height: 150px;
    }

    .img-ico {
        height: auto;
        max-width: 50%;
    }

    .texto-valores {
    font-size: 1rem;
    font-family: "NexaBlack", sans-serif;
    color: #000981;
    }

    .imgc {
        height: 100%;
        max-width: 100%;
        padding-bottom: 20px;
    }

    .contenth2 {
        font-size: 4rem;
        margin-bottom: .5714em;
    }

}