.hero{
    height: 900px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: 50%;

    .hero-inner {
        padding-top: 152px;

        .hero-title {
            font-size: 80px;
            line-height: 88px;
            width: 700px;
            font-weight: 900;
            margin-bottom: 32px;
            margin-top: 0;
        }
    }

    .hero-cta {
        height: 48px;
        border-radius: 2px;
        padding: 12px 32px;
    }

    .hero-cta a {
        text-decoration: none;
    }

    .cta-title {
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        gap: 12px;
    }

    .cta-title img {
        width: 20px;
        height: 20px;
    }
}

.hero-marquee.swiper {
    padding-top: 116px;
    padding-bottom: 0;
}

.hero-marquee .swiper-wrapper {
    gap: 40px;
}

.hero-marquee .swiper-wrapper {
    transition-timing-function: linear !important;
    justify-content: center;
}

.hero-marquee .swiper-slide {
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--bs-black);
    white-space: nowrap;
    width: auto;
}

.characters-section {
    position: relative;
    z-index: 6;
}

.logo-advices {
    margin-top: 72px;
    position: relative;
    z-index: 7;
}

.hero-logos-header {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.hero-character {
    width: 411px;
    height: 632px;
    bottom: -200px;
    aspect-ratio: 56/79;
    overflow: hidden;
}

.hero-character-1 {
    left: -40px;
}

.hero-character-2 {
    right: -40px;
}

.cta-title-text {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.2em; /* Ajusta según tu line-height */
    line-height: 1.2;
}

.cta-title-text span {
    display: block;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.cta-title-text span:last-child {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

/* Hover */
.cta-title:hover .cta-title-text span:first-child {
    transform: translateY(-100%);
}

.cta-title:hover .cta-title-text span:last-child {
    transform: translateY(-100%);
}

.hero-greview {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.greviews-num {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
}

@media screen and (max-width: 992px) {   
    .hero-greview, .greviews-num {
        font-size: 12px;
        line-height: 16px;
    }

    .grw-wrapper {
        gap: 4px !important;
    }

    .hero-greview {
        font-weight: 600;
    }

    .greviews-num {
        font-weight: 500;
    }


    .hero-inner {
        padding-top: 24px !important;
        padding-inline: 24px !important;
    }

    .characters-section {
        z-index: 1;
    }
    
    .hero-title {
        font-size: 32px !important;
        line-height: 40px !important; 
        width: fit-content !important;
        margin-bottom: 16px !important;
    }

    .hero-title-wrapper {
        margin-bottom: 24px !important;
    }

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

    .hero-services {
        gap: 8px;
    }

    .hero-services-wrapper {
        gap:4px;
    }

    .hero-character {
        width: fit-content;
        height: min-content;
    }

    .logo-advices {
        margin-top: 16px;
        bottom: 32px;
        z-index: 2;
        align-self: center;
    }

    .hero {
        height: fit-content !important;
    }

    .mobile-reviews img {
        width: 77px;
        height: 58px;
        object-fit: contain;
    }

    .hero-logos {
        gap: 8px !important;
    }

    .hero-logos img {
        max-height: 20px;
    }

    .hero-logos-header {
        margin-bottom: 8px !important;
    }
}



.hero-marquee-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 120px;
    z-index: 6;
}

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

.hero-marquee-track {
    display: flex;
    flex-shrink: 0;
    gap: 40px;
    animation: heroScroll 30s linear infinite;
}

.hero-marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-dm-sans, "DM Sans");
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    white-space: nowrap;
    color: var(--bs-black);
    font-style: italic;
}

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

/* Hover opcional: pausa */
.hero-marquee:hover .hero-marquee-track {
    animation-play-state: paused;
}
