/* Home: Customer Journey Block */

.home-customer-journey {
    background-color: #fff;
    padding: 3.5rem 0;
}

.home-customer-journey__container {
    max-width: 1140px;
    margin: 0 auto;
}

.home-customer-journey__header {
    margin-bottom: 2rem;
}

.home-customer-journey__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #E84E0F;
    margin-bottom: 0.75rem;
}

.home-customer-journey__heading {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #0A1A1C;
    max-width: 600px;
    margin: 0;
}

/* Track */

.home-customer-journey__track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
}

.home-customer-journey__track::-webkit-scrollbar {
    display: none;
}

.home-customer-journey__card {
    position: relative;
    flex: 0 0 92%;
    scroll-snap-align: start;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
}

.home-customer-journey__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-customer-journey__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 26, 28, 0.25) 0%, rgba(10, 26, 28, 0.55) 55%, rgba(10, 26, 28, 0.75) 100%);
}

.home-customer-journey__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    color: #fff;
}

.home-customer-journey__company {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.home-customer-journey__quote {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 1.5rem;
    max-width: 480px;
}

.home-customer-journey__byline {
    display: flex;
    flex-direction: column;
    margin-bottom: auto;
    font-size: 14px;
}

.home-customer-journey__name {
    font-weight: 600;
}

.home-customer-journey__role {
    color: rgba(255, 255, 255, 0.75);
}

.home-customer-journey__link {
    align-self: flex-start;
    margin-top: 1.5rem;
}

/* Nav */

.home-customer-journey__nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.home-customer-journey__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: #F7F9F9;
    color: #0A1A1C;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.home-customer-journey__arrow:hover:not(:disabled) {
    background-color: #0D4D55;
    color: #fff;
}

.home-customer-journey__arrow:disabled {
    color: #D8E5E7;
    cursor: default;
}

/* sm: 640px */
@media (min-width: 640px) {
    .home-customer-journey__card {
        flex-basis: 70%;
    }
}

/* md: 768px */
@media (min-width: 768px) {
    .home-customer-journey {
        padding: 4.5rem 0;
    }

    .home-customer-journey__heading {
        font-size: 36px;
    }

    .home-customer-journey__card {
        flex-basis: 88%;
        aspect-ratio: 16 / 7;
    }

    .home-customer-journey__content {
        padding: 2.5rem;
    }

    .home-customer-journey__quote {
        font-size: 26px;
    }
}
