/* ---------- Hero ---------- */
.hero {
    padding-block: var(--space-6);
    gap: var(--space-2);
}

.hero>.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    max-width: 25ch;
    line-height: 125%;
    letter-spacing: 0.025em;
}

.hero h4 {
    letter-spacing: 0.025em;
    font-weight: 500;
    color: var(--color-blue-500);
    margin-bottom: 0;
    font-family: var(--font-body);
}

.hero img {
    max-height: 500px;
    justify-self: end;
}


.hero p {
    max-width: 65ch;
    margin-bottom: var(--space-2);
    color: var(--color-text-muted);
    font-weight: 400;
}

.hero .hero-buttons {
    display: flex;
    gap: var(--space-3);
}

/* Logo strip */

.logo-strip-wrapper {
    overflow: hidden;
    width: 100%;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* .logo-strip {
    width: 100%;
    overflow: hidden;
    container-type: inline-size;
} */

.logo-track {
    display: flex;
    width: max-content;
    gap: var(--space-6);
    animation: logo-scroll 30s linear infinite;
    will-change: transform
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    flex: 0 0 auto;
}

.logo-item img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 0.8;
}

@keyframes logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - (var(--space-6) / 2)));
    }
}



/* ---------- Card grid (services / partners) ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    row-gap: var(--space-5);
}

.card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-surface);
    border-radius: var(--radius);
    padding: var(--space-4);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

.card img {
    height: 100px;
    width: fit-content;
    margin-bottom: var(--space-3);
}

.card h4 {
    color: var(--color-text-muted);
    margin-bottom: var(--space-1);
}

.card p {
    margin-bottom: var(--space-1);
    max-width: 50ch;
    margin-bottom: var(--space-3);
    color: var(--color-text-muted);
}

/* ---------- Job types Info cards -------- */

.info-cards-title {
    text-align: center;
    margin-bottom: var(--space-5);
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.info-card {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    column-gap: var(--space-4);

    background-color: var(--color-surface);
    border-radius: var(--radius);
    padding: var(--space-4);
    height: fit-content;
}


.info-card img {
    width: 100%;
    height: 100px;
}

.info-card__title {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.info-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.info-card__body p {
    color: var(--color-text-muted);
    margin: 0;
}

/*-------- Story carousel ------*/

.story-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    align-items: center;
    padding-bottom: var(--space-6);
}

.story-carousel__image {
    position: relative;
    aspect-ratio: 4 / 3;
    /* background-color: var(--color-gray-200); */
    border-radius: var(--radius);
    overflow: hidden;
}

.story-carousel__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    padding: var(--space-3);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.story-carousel__img.is-active {
    opacity: 1;
}

.story-carousel__list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-4);
    height: 100%;
}

.story-carousel__item {
    display: flex;
    gap: var(--space-2);
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.story-carousel__item.is-active {
    opacity: 1;
}

.story-carousel__dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background-color: var(--color-gray-500);
    transition: background-color 0.3s ease;
}

.story-carousel__item.is-active .story-carousel__dot {
    background-color: var(--color-ink);
}

.story-carousel__content h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-1);
    color: var(--color-text);
}

.story-carousel__content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

.mobile-customer-highlights {
    display: none;
}