/*=========================================
        PRODUCTS PAGE
==========================================*/

:root{

    --product-gap:90px;

    --section-space:140px;

}

/*=========================================
                HERO
==========================================*/

.product-hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

    overflow:hidden;

}

.hero-layout{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

}

.hero-text span{

    display:inline-block;

    padding:10px 22px;

    border-radius:30px;

    background:#fff;

    color:var(--primary);

    font-weight:700;

    box-shadow:var(--shadow);

}

.hero-text h1{

    font-size:clamp(48px,6vw,82px);

    line-height:1.25;

    margin:30px 0;

    font-weight:900;

}

.hero-text p{

    font-size:18px;

    line-height:2.1;

    color:#666;

    max-width:620px;

    margin-bottom:40px;

}

.hero-photo{

    display:flex;

    justify-content:center;

}

.hero-photo img{

    width:100%;

    max-width:520px;

    border-radius:40px;


}

/*=========================================
            INTRO
==========================================*/

.intro-products{

    padding:100px 0;

    text-align:center;

}

.intro-products h2{

    font-size:48px;

    margin-bottom:30px;

    font-weight:900;

}

.intro-products p{

    max-width:850px;

    margin:auto;

    line-height:2.2;

    color:#666;

    font-size:18px;

}
/*==================================================
                PRODUCT SHOWCASE
==================================================*/

.product-section{

    position:relative;

    padding:160px 0;

    overflow:hidden;

}

.product-section.white{

    background:#ffffff;

}

.product-section.soft{

    background:linear-gradient(
        180deg,
        #fff8fb 0%,
        #ffffff 100%
    );

}

.product-section.gradient{

    background:linear-gradient(
        135deg,
        #ffffff,
        #fff2f8,
        #ffffff
    );

}

/*==============================*/

.product-wrapper{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:110px;

}

.product-wrapper.reverse{

    direction:ltr;

}

.product-wrapper.reverse .product-content{

    direction:rtl;

}

/*==============================*/

.product-content{

    position:relative;

    z-index:2;

}

.product-number{

    position:absolute;

    top:-70px;

    right:-15px;

    font-size:170px;

    font-weight:900;

    color:#f5f5f5;

    z-index:-1;

    user-select:none;

    line-height:1;

}

.product-content h2{

    font-size:clamp(42px,5vw,62px);

    font-weight:900;

    margin-bottom:28px;

    line-height:1.3;

}

.product-content p{

    font-size:18px;

    color:#666;

    line-height:2.2;

    margin-bottom:45px;

    max-width:620px;

}

/*==============================*/

.product-features{

    display:grid;

    grid-template-columns:repeat(2,minmax(160px,1fr));

    gap:18px 28px;

}

.product-features div{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:16px;

    font-weight:600;

    color:#444;

}

.product-features div::before{

    content:"";

    width:12px;

    height:12px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    flex-shrink:0;

}

/*==================================================
                PRODUCT IMAGE
==================================================*/

.product-image{

    display:flex;

    justify-content:center;

    align-items:center;

}

.product-image img{

    width:100%;

    max-width:470px;

    border-radius:34px;

    background:#fff;

    padding:35px;

    box-shadow:
        0 35px 80px rgba(0,0,0,.08);

    transition:.45s ease;

}

.product-image img:hover{

    transform:translateY(-12px);

    box-shadow:
        0 55px 100px rgba(0,0,0,.12);

}

/*==============================*/

.product-section::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    width:82%;

    height:1px;

    transform:translateX(-50%);

    background:linear-gradient(
        to left,
        transparent,
        rgba(0,0,0,.08),
        transparent
    );

}

.product-section:last-of-type::after{

    display:none;

}
/*====================================================
                QUALITY SECTION
====================================================*/

.quality-section{

    padding:160px 0;

    position:relative;

    background:#fff;

}

.quality-header{

    text-align:center;

    max-width:900px;

    margin:0 auto 90px;

}

.quality-header span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 24px;

    border-radius:999px;

    background:#fff4f8;

    color:var(--primary);

    font-weight:700;

    margin-bottom:24px;

}

.quality-header h2{

    font-size:clamp(40px,5vw,68px);

    line-height:1.25;

    font-weight:900;

    margin-bottom:28px;

}

.quality-header p{

    color:#666;

    line-height:2.2;

    font-size:18px;

}

/*--------------------------------*/

.quality-items{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:35px;

}

.quality-item{

    padding:25px 10px;

    position:relative;

}

.quality-item::before{

    content:"";

    width:45px;

    height:4px;

    border-radius:20px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    display:block;

    margin-bottom:25px;

}

.quality-item h3{

    font-size:24px;

    margin-bottom:20px;

    font-weight:800;

}

.quality-item p{

    color:#777;

    line-height:2;

}

/*====================================================
                FACTORY BANNER
====================================================*/

.factory-banner{

    position:relative;

    overflow:hidden;

    height:700px;

    border-radius:60px;

    margin:80px auto;

    width:min(1400px,92%);

}

.factory-banner img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:1.2s;

}

.factory-banner:hover img{

    transform:scale(1.05);

}

.factory-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:#fff;

    background:

    linear-gradient(

        rgba(0,0,0,.45),

        rgba(0,0,0,.55)

    );

    padding:40px;

}

.factory-overlay span{

    letter-spacing:2px;

    font-weight:700;

    text-transform:uppercase;

    opacity:.9;

    margin-bottom:20px;

}

.factory-overlay h2{

    font-size:clamp(44px,6vw,84px);

    line-height:1.2;

    margin-bottom:25px;

    font-weight:900;

}

.factory-overlay p{

    max-width:720px;

    line-height:2.2;

    font-size:18px;

}

/*====================================================
                CTA
====================================================*/

.contact-cta{

    padding:170px 0;

}

.contact-cta .container{

    max-width:1100px;

    background:#fff;

    border-radius:45px;

    padding:90px;

    text-align:center;

    box-shadow:

        0 30px 80px rgba(0,0,0,.08);

}

.contact-cta span{

    color:var(--primary);

    font-weight:700;

    display:block;

    margin-bottom:20px;

}

.contact-cta h2{

    font-size:clamp(38px,5vw,64px);

    line-height:1.3;

    margin-bottom:25px;

}

.contact-cta p{

    color:#666;

    line-height:2.2;

    max-width:760px;

    margin:0 auto 45px;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/*====================================================
                FOOTER
====================================================*/

footer{

    background:#111;

    color:#eee;

    padding:100px 0 40px;

}

.footer-grid{

    display:grid;

    grid-template-columns:

    2fr 1fr 1fr;

    gap:70px;

}

.footer-grid h2{

    color:#fff;

    margin-bottom:20px;

}

.footer-grid h3{

    color:#fff;

    margin-bottom:22px;

}

.footer-grid p{

    color:#aaa;

    line-height:2;

}

.footer-grid ul{

    list-style:none;

    padding:0;

    margin:0;

}

.footer-grid li{

    margin-bottom:16px;

}

.footer-grid a{

    color:#bdbdbd;

    text-decoration:none;

    transition:.3s;

}

.footer-grid a:hover{

    color:#fff;

    padding-right:8px;

}

.footer-bottom{

    margin-top:70px;

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:35px;

    text-align:center;

    color:#888;

}

/*====================================================
            SCROLL TO TOP
====================================================*/

#toTop{

    position:fixed;

    bottom:35px;

    left:35px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    box-shadow:

    0 15px 35px rgba(0,0,0,.18);

}

#toTop.show{

    opacity:1;

    visibility:visible;

}

#toTop:hover{

    transform:translateY(-6px);

}

/*====================================================
            TABLET
====================================================*/

@media(max-width:1100px){

.hero-layout,

.product-wrapper{

    grid-template-columns:1fr;

    gap:70px;

    text-align:center;

}

.product-wrapper.reverse{

    direction:rtl;

}

.product-content{

    order:2;

}

.product-image{

    order:1;

}

.product-content p{

    max-width:100%;

}

.product-features{

    justify-content:center;

}

.quality-items{

    grid-template-columns:repeat(2,1fr);

}

.footer-grid{

    grid-template-columns:1fr;

    text-align:center;

}

}

/*====================================================
                MOBILE
====================================================*/

@media(max-width:768px){

:root{

    --section-space:90px;

}

.product-section{

    padding:100px 0;

}

.hero-text h1{

    font-size:44px;

}


.intro-products h2{

    font-size:38px;

}

.product-content h2{

    font-size:36px;

}

.product-number{

    font-size:90px;

    top:-30px;

}

.product-image img{

    max-width:290px;

    padding:20px;

    border-radius:25px;

}

.product-features{

    grid-template-columns:1fr;

    gap:14px;

}

.quality-items{

    grid-template-columns:1fr;

    gap:40px;

}

.factory-banner{

    height:430px;

    border-radius:30px;

}

.factory-overlay h2{

    font-size:42px;

}

.contact-cta{

    padding:100px 0;

}

.contact-cta .container{

    padding:50px 30px;

    border-radius:30px;

}

.contact-cta h2{

    font-size:34px;

}

.cta-buttons{

    flex-direction:column;

}

#toTop{

    width:48px;

    height:48px;

    left:20px;

    bottom:20px;

}

}