.about-marquee {
    height: 100%;
    background-color: var(--bs-extralight);
    background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>\<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='2' stitchTiles='stitch'/></filter>\<rect width='100%' height='100%' filter='url(%23n)' opacity='0.4'/></svg>");
    margin-top: -16px;
}

.quote-marquee {
    padding: 16px 0;
}

.quote {
    margin-top: 80px;
    width: 50%;
    margin-left: 0;
    gap: 32px;
    margin-right: 0;
}

.quote-marquee .swiper-slide {
    flex: 0 0 auto;
    width: fit-content !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bs-secondary-500);
    font-size: 80px;
    line-height: 88px;
    font-weight: 900;
}

.quote-marquee .swiper-wrapper {
    width: max-content !important;
    transition-timing-function: linear !important;
}

.marquee-separator {
    display: inline-block;
    margin: 0 0.75rem;
    font-size: 48px;
    font-weight: 800;
    color: var(--bs-secondary-500);
    line-height: 48px;
    vertical-align: middle;
}

.timeline-date {
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 40px;
}


.timeline-description {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.services-wrapper{
    padding-top: 124px;
}

.services-desc-wrapper {
    padding-bottom: 80px;
}

.services-title {
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 40px;
    margin-bottom: 0;
}

.services-description p:first-child {
    margin-bottom: 40px;
}

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

.timeline-section {
    position: relative;
}

.timeline-wrapper {
    display: grid;
    position: relative;
}

.timeline-wrapper > * {
    grid-area: 1 / 1 / 2 / 2;
}

.timeline-item {
    min-height: 250px;
    padding: 2rem;
    will-change: transform, opacity;
}

/* Asegurar que todos los items estén en la misma posición */
.timeline-item:first-child {
    z-index: 4;
    position: relative;
}

.timeline-item:nth-child(2) {
    z-index: 3;
    position: relative;
}

.timeline-item:nth-child(n+3) {
    z-index: 2;
    position: relative;
}

.services-links-up, .services-links-down {
    margin-left: 0;
    margin-bottom: 0;
}


.li-item-links {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}


.quote-marquee-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.quote-marquee {
    display: flex;
    user-select: none;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.quote-marquee-track {
    display: flex;
    flex-shrink: 0;
    gap: 40px;
    min-width: max-content;
    animation: quoteScroll 30s linear infinite;
}

.quote-marquee-item {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    color: var(--bs-secondary-500);
    font-family: "DM Sans";
    font-size: 80px;
    font-style: normal;
    font-weight: 900;
    line-height: 88px;
    text-transform: uppercase;
}

/* Animación del desplazamiento */
@keyframes quoteScroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 32px)); } /* mitad del track */
}

.quote-desktop {
    color: var(--bs-black);
    font-family: "Work Sans";
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
    line-height: 40px;
    border-bottom: 1px solid var(--bs-medium);
    padding-top: 64px;
}

.quote-enum {
    padding-bottom: 32px;
}

.quote-enum svg {
    margin-left: 16px;
}


.quote-desktop strong {
    font-weight: 600;
}

.quote-desktop p {
    margin-bottom: 32px !important;
}

.timeline-desktop {
    padding-top: 32px;
    color: var(--bs-black);
    font-family: "Work Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    gap: 40px;
}

.timeline-dk-dc {
    width: 50%;
}

.background-marquee {
    align-self: flex-end;
}

.background-marquee img {
    max-width: 535px;
    max-height: 480px
}


/* Media Query para el rango entre 992px y 1399px */
@media (min-width: 992px) and (max-width: 1399px) {
    .background-marquee img {
        object-fit: contain;
        align-self: flex-end;
    }
}

@media screen and (max-width: 992px) {

    .quote-desktop {
        font-size: 16px;
        line-height: 24px;
        padding-top: 24px;
        border-bottom: none;
    }

    .quote-desktop svg {
        width: 26px;
        height: 16px;
    }

    .quote-enum svg {
        width: 19px;
        height: 12px;
        margin-left: 8px;
    }

    .quote-desktop p {
        margin-bottom: 0 !important;
    }

    .timeline-dk-dc {
        width: 100%;
    }

    .timeline-desktop {
        padding-top: 24px;
        font-size: 14px;
        line-height: 20px;
        flex-direction: column;
        gap: 0;
    }

    .background-marquee img {
        max-height: 293px;
    }
    
    .quote-marquee .swiper-slide {
        font-size: 32px !important;
        line-height: 40px !important
    }

    .quote-marquee-item {
        font-size: 32px;
        line-height: 40px;
    }

    .quote-marquee-track {
        gap: 16px;
    }

    .quote svg {
        width: 26px;
        height: 16px;
    }

    .marquee-separator {
        font-size: 32px;
    }

    .quote {
        margin-top: 0 !important;
        width: 100% !important;
    }

    .quote p {
        margin-bottom: 40px !important;
    }

    .timeline-wrapper {
        width: 100% !important;
    }

    .timeline-wrapper > * {
        grid-area: auto !important;
    }

    .timeline-item {
        padding: 0 !important;
        min-height: fit-content !important;
    }

    .timeline-date {
        font-size: 22px; 
        line-height: 24px;
    }

    .timeline-description {
        font-size: 14px;
        line-height: 20px;
    }

    .timeline-item:first-child p {
        margin-bottom: 40px !important;
    }

    .services-wrapper {
        padding-top: 40px !important;
        flex-direction: column;
    }

    .services-desc-wrapper {
        width: 100% !important;
        padding-bottom: 24px !important;
    }

    .background-marquee {
        width: 100% !important;
        justify-content: center !important;
    }

    .services-description {
        color: var(--bs-black);
        font-family: "Work Sans";
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }

    .services-title {
        font-size: 22px;
        line-height: 24px;
    }
}
