/* ==========================================
   RESPONSIVE
========================================== */

/* ---------- 1200px ---------- */

@media (max-width:1200px){
    
    .hero h1 {
        font-size: 50px;
    }


    /* Works */

    .works-grid{
     gap:24px;
 }

}

/* ---------- 1024px ---------- */

@media (max-width:1024px){

/* Header */

.header-container{

        gap:24px;

    }

    .nav{

        gap:22px;

    }

    .phone{

        font-size:16px;

    }

    .header-btn{

        padding:14px 24px;

    }



.header-button{

    padding:12px 20px;
    font-size:15px;

}
    /* Hero */

    /* Works */

    /* About */

.services-grid{
        gap:24px;
    }    

.about-content{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:80px;
    align-items:start;
}

.about-stats{
    width:280px;
    margin-left:auto;
}

    /* Services */

    /* Footer */

}

/* ---------- 1000px ---------- */

@media (max-width:1000px){
    
    /* Header */

    .nav{
        gap:18px;
    }

    .phone{
        font-size:15px;
    }
    
    .services-grid{
        grid-template-columns:1fr;
        gap:24px;
    }

    .service-card{
        max-width:540px;
        width:100%;
        margin:0 auto;
        padding:20px;
    }

}

/* ---------- 992px ---------- */

@media (max-width:992px){

    /* Header */

    .header-button{

        display:none;

    }

    /* Hero */

    .hero{

        padding:70px 0;

    }

    .hero-container{

        grid-template-columns:1fr;

        gap:50px;

    }

    .hero-image{

        order:-1;

    }

    .hero h1{

        font-size:42px;

    }

    /* Works */

    

    .card-body{

        padding:20px;

    }

    .card-body h3{

        font-size:22px;

        min-height:58px;

    }

    .card-info{

        gap:10px;

        margin:16px 0;

    }

    .card-info span{

        font-size:13px;

        padding:5px 9px;

    }



    /* About */

    .services{
        padding:90px 0;
    }

    .services-grid{
        grid-template-columns:1fr;
        gap:24px;
    }

    .service-card{
        max-width:650px;
        margin:0 auto;
    }

    .service-icon{
        width:68px;
        height:68px;
        margin-bottom:24px;
    }

    .service-icon img{
        width:34px;
        height:34px;
    }

    .service-card h3{
        font-size:30px;
        margin-bottom:24px;
    }

    .about-content{
        grid-template-columns:minmax(0,1fr) 260px;
        gap:50px;
    }

    .about-stats{
        width:260px;
    }

    .stat-card{
        width:100%;
    }



    /* Services */

    /* Footer */
}

/* ---------- 900px ---------- */

@media (max-width:900px){

    /* Header */

    .nav,
    .header-right{
        display:none;
    }

    .burger{
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .header-container{
        min-height:84px;
        padding-inline:28px;
    }

    /* Footer */

    .footer-content{

        flex-direction:column;

        align-items:center;

        text-align:center;

        gap:22px;

    }

    .footer-info{

        width:100%;

        max-width:400px;

    }

    .footer-social{

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:10px;

   }

}

/* ---------- 860px ---------- */

@media (max-width:860px){

    .about-content{
        grid-template-columns:1fr;
        gap:45px;
    }

    .about-stats{
        width:100%;
        margin:0;
        align-items:center;
    }

    .stat-card{
        width:280px;
    }

}

/* ---------- 768px ---------- */

@media (max-width:768px){

.container{

    padding-inline:24px;

}

.section-title{

    text-align:center;

}

    /* Header */

.header{

        min-height:80px;

    }

    .header-container{

        min-height:80px;

        padding-inline:24px;

    }

    .logo-title{

        font-size:34px;

    }

    .logo-subtitle{

        font-size:13px;

    }

    .burger{

        width:44px;

        height:44px;

        right:24px;

        top:18px;

    }

    .burger span{

        width:22px;

    }

    /* Hero */

.hero{
        padding:60px 0;
    }

.hero h1{
        font-size:34px;
    }

.hero p{
        font-size:18px;
    }

    /* Works */

    
    .works-grid{

        grid-template-columns:1fr;

        gap:24px;

    }

    .card{

        max-width:520px;

        width:100%;

        margin:0 auto;

    }

    .card-body{

        padding:22px;

    }

    .card-body h3{

        font-size:28px;

        min-height:auto;

    }

    .card-info{

        gap:10px;

        margin:18px 0;

    }

    .card-info span{

        font-size:14px;

    }

    .card-image img{

        height:260px;

    }

    .photo-count{

        font-size:14px;

    }


    /* About */

    .services{
        padding:80px 0;
    }

    .services-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .service-card{
        padding:30px 24px;
    }

    .service-icon{
        width:64px;
        height:64px;
        margin-bottom:20px;
    }

    .service-card h3{
        font-size:28px;
    }
   
    .service-list li{
            font-size:17px;
    }
    .about{
        padding:80px 0;
    }

    .about .section-title{
        margin-bottom:40px;
    }

    .about .section-title h2{
        font-size:34px;
    }

    .about-content{
        grid-template-columns:1fr;
        gap:45px;
    }

    .about-intro{
        max-width:100%;
        font-size:18px;
    }

    .about-list li{
        font-size:17px;
        margin-bottom:14px;
    }

    .about-stats{
        width:100%;
        margin:0;

        display:flex;
        flex-direction:column;
        align-items:center;
        gap:20px;
    }

    .stat-card{
        width:280px;
    }


}

/* ---------- 600px ---------- */

@media (max-width:600px){

    .service-card{
        padding:18px;
    }

    .service-icon{
    margin-bottom:15px;
    }

    .service-card h3{
    margin-bottom:15px;
    }

    .service-list li{
    margin-bottom:8px;

    }

}   

/* ---------- 576px ---------- */

@media (max-width:576px){

    /* Header */

    .header{

        min-height:72px;

    }

    .header-container{

        min-height:72px;

        padding-inline:16px;

    }

    .logo-title{

        font-size:28px;

    }

    .logo-subtitle{

        font-size:12px;

    }

    .burger{

        width:42px;

        height:42px;

        top:15px;

        right:16px;
    }

    

    .burger span{

        width:20px;

        height:2px;

    }

    /* Hero */

    .hero{
        padding:40px 0;
    }

    .hero-container{
        gap:35px;
    }

    .hero-label{
        margin-bottom:20px;
        font-size:14px;
    }

    .hero h1{
        font-size:30px;
        line-height:1.2;
        margin-bottom:20px;
    }

    .hero p{
        font-size:16px;
        margin-bottom:20px;
    }

    .hero-list{
        margin-bottom:30px;
    }

    .hero-list li{
        font-size:16px;
        margin-bottom:10px;
    }

    .hero-buttons{
        flex-direction:column;
        gap:15px;
    }

    .button{
        width:100%;
        justify-content:center;
        padding:16px 24px;
        font-size:16px;
    }

    .hero-image img{
        border-radius:18px;
    }

    /* Works */

    .works-grid{

        grid-template-columns:1fr;

        gap:20px;

    }

    

    .card-image img{

        height:260px;
        

    }



    .card-body{

        padding:18px;

    }

    .card-body h3{

        font-size:24px;

    }

    .card-info{

        gap:10px;

        margin:16px 0;

    }

    .photo-count{

        font-size:13px;

    }

    /* About */

    .service-card{
        padding:24px 20px;
        border-radius:20px;
    }

    .service-icon{
        width:58px;
        height:58px;
        margin-bottom:18px;
    }

    .service-icon img{
        width:30px;
        height:30px;
    }

    .service-card h3{
        font-size:24px;
        line-height:1.35;
    }

    .service-list li{
        font-size:16px;
        margin-bottom:14px;
    }

    .about .section-title h2{
        font-size:28px;
    }

    .about-intro{
        font-size:17px;
    }

    .about-stats{
        gap:18px;
    }

    .stat-card{
        width:100%;
        max-width:300px;
        padding:35px 25px;
    }

    .stat-card strong{
        font-size:58px;
    }
    
    /* Services */

    /* Footer */
    .footer{

        text-align:center;

    }

    .footer h3{

        font-size:26px;

    }

    .footer h4{

        font-size:22px;

    }

    .footer-info p{

        max-width:100%;

        font-size:16px;

    }

    .footer-social{

        align-items:center;

    }
}

/* ---------- 400px ---------- */


@media (max-width:400px){

    /* Header */

    .header-container{

        padding-inline:12px;

    }

    .logo-title{

        font-size:24px;

    }

    .logo-subtitle{

        font-size:11px;

    }

    .burger{

        width:40px;

        height:40px;

        right:12px;

    }

    /* Hero */

    .hero{
        padding:35px 0;
    }

    .hero-label{
        font-size:13px;
        padding:8px 14px;
    }

    .hero h1{
        font-size:26px;
        line-height:1.2;
        margin-bottom:18px;
    }

    .hero p{
        font-size:15px;
    }

    .hero-list li{
        font-size:15px;
    }

    .button{
        padding:14px 20px;
        font-size:15px;
    }
    

    /* Section titles */

    .works h2,
    .about h2,
    .services h2{
        font-size:28px;
    }

    /* Cards */

    .card-body{
        padding:18px;
    }

    .card-body h3{
        font-size:20px;
    }

    .card-body p{
        font-size:15px;
    }

    /* Works */

    /* About */

    .service-card{
        padding:20px 16px;
    }

    .service-card h3{
        font-size:22px;
    }

    .service-list li{
        font-size:15px;
    }

    /* Footer */

    .footer{
        padding:40px 0 20px;
        text-align:center;
    }



}