
/* =========================
    HERO
========================== */

.hero{
    position:relative;
    height:360px;
    overflow:hidden;
}

.hero img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

.hero__content{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    padding-top:70px;
}

.hero h1{
    color:#fff;
    font-size:clamp(22px, 4vw, 46px);
    font-weight:300;
    max-width:900px;
    line-height:1.2;
}

/* =========================
    ADVANTAGES
========================== */

.advantages{
    padding:90px 0;
}

.section-title{
    text-align:center;
    font-size:62px;
    font-weight:400;
    margin-bottom:80px;
    color:#333;
}

.advantages-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:80px 40px;
}

.advantage-card{
    text-align:center;
}

.advantage-card__icon{
    width:90px;
    height:90px;
    margin:0 auto 28px;
    border-radius:50%;
    border:3px solid #f2b340;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    color:#f2b340;
}

.advantage-card h3{
    font-size:28px;
    font-weight:400;
    margin-bottom:18px;
    color:#444;
}

.advantage-card p{
    font-size:18px;
    color:#555;
    max-width:340px;
    margin:0 auto;
}

/* =========================
    CLIENTS
========================== */

.clients{
    padding:0 0 90px;
}

.clients-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:22px;
}

.client-card{
    height:120px;
    border:1px solid #ddd;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    transition:.3s;
}

.client-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.client-card img{
    max-height:58px;
    object-fit:contain;
}



/* =========================
    TABLET
========================== */

@media(max-width:1100px){

    .advantages-grid{
    grid-template-columns:repeat(2,1fr);
    }

    .clients-grid{
    grid-template-columns:repeat(3,1fr);
    }


    .hero h1{
    font-size:48px;
    }

    .section-title{
    font-size:50px;
    }
}

/* =========================
    MOBILE MENU
========================== */

@media(max-width:900px){

    .hero{
    height:300px;
    }

    .hero__content{
    padding-top:50px;
    }

    .hero h1{
    font-size:40px;
    }

}

/* =========================
    768
========================== */

@media(max-width:768px){

    .advantages-grid{
    grid-template-columns:1fr;
    gap:60px;
    }

    .clients-grid{
    grid-template-columns:repeat(2,1fr);
    }

    .footer__grid{
    grid-template-columns:1fr;
    }

    .section-title{
    font-size:40px;
    margin-bottom:60px;
    }

    .advantage-card h3{
    font-size:24px;
    }

    .advantage-card p{
    font-size:16px;
    }

    .hero h1{
    font-size:34px;
    }


}

/* =========================
    480
========================== */

@media(max-width:480px){

    .hero{
    height:240px;
    }

    .hero h1{
    font-size:28px;
    }

    .section-title{
    font-size:32px;
    }

    .advantages{
    padding:70px 0;
    }

  

}
