/* =========================
   HERO
========================= */

.products-hero{
    position:relative;
    width:100%;
    min-height:720px;
    overflow:hidden;
    background:#f5f5f5;
    padding-top:70px;
    padding-bottom:120px;
}

.products-hero__bg{
    position:absolute;
    inset:0;
    z-index:1;
}

.products-hero__bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:70% center;
    display:block;
}

.products-hero::after{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(255,255,255,.98) 0%,
        rgba(255,255,255,.94) 30%,
        rgba(255,255,255,.65) 52%,
        rgba(255,255,255,.12) 72%,
        rgba(255,255,255,0) 100%
    );

    z-index:2;
}

.products-hero__inner{
    position:relative;
    z-index:3;
    width:100%;
    max-width:1280px;
    margin:0 auto;
    padding:0 24px;
}

.products-hero__content{
    max-width:560px;
}

.products-hero__label{
    display:inline-block;
    margin-bottom:18px;
    color:#0f8b45;
    font-size:15px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.products-hero__title{
    font-size:72px;
    line-height:.92;
    font-weight:800;
    color:#111;
    margin-bottom:24px;
}

.products-hero__text{
    font-size:20px;
    line-height:1.7;
    color:#444;
    max-width:500px;
}

/* =========================
   APPLICATIONS
========================= */

.products-applications{
    margin-top:40px;

    background:rgba(255,255,255,.94);

    border-radius:18px;

    padding:22px;

    max-width:1080px;

    backdrop-filter:blur(6px);

    box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.products-applications__title{
    font-size:34px;
    line-height:1;
    font-weight:800;
    color:#111;

    margin-bottom:18px;
}

.products-applications__grid{
    display:grid;
    grid-template-columns:repeat(8,1fr);
    gap:10px;
}

.products-applications__item{
    background:#fff;

    border:1px solid rgba(0,0,0,.06);

    border-radius:12px;

    min-height:118px;

    padding:12px 8px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    transition:.3s;
}

.products-applications__item:hover{
    transform:translateY(-2px);
    box-shadow:0 4px 14px rgba(0,0,0,.06);
}

.products-applications__item img{
    width:42px;
    height:42px;
    object-fit:contain;

    margin-bottom:10px;
}

.products-applications__item span{
    font-size:11px;
    line-height:1.3;
    font-weight:600;
    color:#222;
}

/* =========================
   PRODUCTS
========================= */

.products-page{
    padding:40px 0 60px;
    background:#f8f8f8;
    margin-top:-70px;
    position:relative;
    z-index:5;
}

.products-page .container{
    max-width:1280px;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

/* =========================
   CARD
========================= */

.product-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 6px 24px rgba(0,0,0,.05);
    transition:.35s;
    display:flex;
    flex-direction:column;
    height:100%;
}

.product-card:hover{
    transform:translateY(-5px);
    box-shadow:0 14px 32px rgba(0,0,0,.09);
}

.product-card__image{
    display:block;
    height:240px;
    overflow:hidden;
}

.product-card__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.45s;
}

.product-card:hover .product-card__image img{
    transform:scale(1.04);
}

.product-card__content{
    padding:22px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.product-card__category{
    color:#777;
    font-size:11px;
    margin-bottom:12px;
    text-transform:uppercase;
    letter-spacing:.4px;
}

.product-card__title{
    font-size:24px;
    line-height:1.1;
    font-weight:700;
    color:#111;
    margin-bottom:14px;
}

.product-card__text{
    font-size:15px;
    line-height:1.6;
    color:#555;
    margin-bottom:18px;
}

/* TAGS */

.product-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:20px;
}

.product-tags span{
    background:#f2f2f2;
    border-radius:7px;
    padding:7px 11px;
    font-size:11px;
    color:#333;
}

/* BUTTON */

.product-card__button{
    margin-top:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    height:46px;
    border-radius:10px;
    background:#0f8b45;
    color:#fff;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
    transition:.3s;
}

.product-card__button:hover{
    background:#0a7438;
    color:#fff;
}

/* =========================
   CTA
========================= */

.products-cta{
    padding:0 0 80px;
    background:#f8f8f8;
}

.products-cta__box{
    background:#0f8b45;
    border-radius:18px;
    padding:34px;
    text-align:center;
    max-width:420px;
    margin:0 auto;
}

.products-cta__box h2{
    color:#fff;
    font-size:28px;
    font-weight:700;
    margin-bottom:22px;
}

.products-cta__button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:#0f8b45;
    height:48px;
    padding:0 30px;
    border-radius:10px;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
    transition:.3s;
}

.products-cta__button:hover{
    transform:translateY(-2px);
    color:#0f8b45;
}

/* =========================
   MOBILE
========================= */

@media(max-width:1200px){

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .products-applications__grid{
        grid-template-columns:repeat(4,1fr);
    }

    .products-hero{
        min-height:760px;
    }

}

@media(max-width:768px){

    .products-hero{
        min-height:auto;
        padding-top:40px;
        padding-bottom:50px;
    }

    .products-grid{
        grid-template-columns:1fr;
    }

    .products-hero__title{
        font-size:42px;
    }

    .products-hero__text{
        font-size:16px;
    }

    .product-card__image{
        height:220px;
    }

    .products-applications{
        margin-top:30px;
        padding:18px;
    }

    .products-applications__title{
        font-size:26px;
    }

    .products-applications__grid{
        grid-template-columns:repeat(2,1fr);
    }

    .products-applications__item{
        min-height:100px;
    }

    .products-applications__item span{
        font-size:10px;
    }

    .products-page{
        margin-top:0;
    }

}