.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 35px;
    min-height: 93vh;
    padding: 60px 2%;
    background: var(--color-white) url("../images/Slide_Mobile-scaled.jpg") center / cover no-repeat;
}

.hero h1 {
    width: 55%;
    color: var(--color-brand);
    font-size: 61px;
    font-weight: 600;
    line-height: 1;
}

.hero p {
    width: 50%;
    color: var(--color-muted);
    font-size: 22px;
    line-height: 1.5;
}

.hero-button {
    width: 25%;
}

.clients {
    padding: 20px 0 29px;
    margin-bottom: 4vw;
    text-align: center;
}

.clients h2 {
    padding-inline: 15px;
    font-size: 26px;
    line-height: 1;
}

.logo-carousel {
    --slides-visible: 6;
    margin-top: 29px;
}

.logo-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 163px;
    padding: 10px 22px;
}

.logo-slide img {
    width: 100%;
    height: 140px;
    object-fit: contain;
}

.introduction {
    padding: 72px 22px;
    background: linear-gradient(#1c244b80, #1c244b80), url("../images/halftone-bg-scaled.jpg") center / cover;
    text-align: center;
}

.introduction h2 {
    color: var(--color-brand);
    font-size: 40px;
    line-height: 1.2;
}

.introduction > p {
    max-width: 1152px;
    width: 84%;
    margin: 15px auto 50px;
    color: var(--color-white);
    line-height: 1.5;
}

.introduction-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.introduction-card {
    display: grid;
    place-items: center;
    height: 300px;
    background: linear-gradient(#ffffff80, #ffffff80), url("../images/productos-barrier.jpg") center / cover;
}

.button-outline {
    padding: 14px 50px;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    background: #ffffffba;
    font-size: 18px;
}

.feature-carousel {
    padding: 15px 0;
}

.feature-slide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.feature-copy {
    padding: 35px 45px 35px 50px;
}

.feature-copy h2 {
    font-weight: 600;
}

.feature-copy > p:not(.eyebrow) {
    margin-bottom: 14px;
    color: var(--color-navy);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
}

.feature-copy .eyebrow {
    color: var(--color-white);
    font-size: 13px;
    line-height: 1;
}

.feature-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 683;
    object-fit: cover;
}

.feature-carousel .carousel-arrow {
    width: 30px;
    color: #e4e4e4;
    font-size: 32px;
}

.more-button {
    margin-top: 0;
    padding: 16px 30px;
    background: var(--color-accent);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 23px 0;
    background: var(--color-navy);
    text-align: center;
}

.benefits article {
    padding: 10px 0;
}

.benefits img {
    width: 15%;
    height: auto;
    margin: 0 auto 10px;
    object-fit: contain;
}

.benefits h2 {
    color: var(--color-brand);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}

.benefits p {
    margin-top: 5px;
    padding-inline: 15px;
    color: var(--color-white);
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .hero {
        padding-inline: 5%;
    }

    .hero h1 {
        font-size: 65px;
        width: 75%;
    }

    .logo-carousel {
        --slides-visible: 3;
    }

    .feature-carousel {
        --slides-visible: 2;
    }

    .feature-slide {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 1fr auto;
    }

    .feature-copy {
        padding: 35px 30px;
    }

    .feature-copy h2 {
        font-size: 30px;
    }

    .introduction {
        padding-block: 40px;
    }

    .introduction h2 {
        font-size: 45px;
    }

    .introduction > p {
        width: 240px;
        line-height: 1.4;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 93svh;
        gap: 15px;
        padding-block: 75px;
    }

    .hero h1 {
        width: 100%;
        max-width: 330px;
        font-size: 42px;
        overflow-wrap: break-word;
    }

    .hero p {
        width: 90%;
        margin-inline: auto;
        font-size: 16px;
        line-height: 1.4;
    }

    .hero-button {
        width: 50%;
        font-size: 14px;
    }

    .clients {
        margin-bottom: 0;
    }

    .logo-carousel {
        --slides-visible: 2;
    }

    .introduction {
        padding: 50px 8%;
    }

    .introduction h2 {
        font-size: 28px;
        line-height: 1.1;
    }

    .introduction > p {
        width: 100%;
        max-width: 240px;
        margin-bottom: 50px;
        font-size: 16px;
        line-height: 1.4;
    }

    .feature-carousel {
        --slides-visible: 1;
        padding: 30px 0;
    }

    .feature-copy {
        padding: 0 45px 35px 50px;
    }

    .feature-copy h2 {
        font-size: 20px;
        line-height: 1.1;
    }

    .feature-copy > p:not(.eyebrow) {
        margin-top: 4px;
        font-size: 16px;
        line-height: 1.4;
    }

    .benefits {
        grid-template-columns: minmax(0, 1fr);
    }

    .benefits article {
        padding: 14px 0;
    }

    .benefits h2 {
        font-weight: 400;
    }

    .introduction-links {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero h1,
    .hero p,
    .hero-button {
        animation: hero-appear 700ms ease both;
    }

    .hero-button {
        animation-delay: 400ms;
    }

    @keyframes hero-appear {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }
}
