 body{
    font-family: "Roboto Slab", serif;
    margin: 0;
    padding: 0;
} 

/* анімація */
.scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
  }
  
  .scroll-anim.show {
    opacity: 1;
    transform: translateY(0);
  }

.header {
    background-color: hsl(180, 9%, 38%);
    align-items: center;
    padding-left: 8vw;
    padding-right: 3vw;

}

.he_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo_zem img {
    width: clamp(100px, 20vw, 261px);
    height: auto; 
    align-items: center;
    display: flex;
    padding: 1.2vw;
}

.socials {
    font-family: "Roboto Slab", serif;
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.3vw;
    flex-wrap: nowrap;
}
.socials a {
    color: #FFFFFF;
    font-weight: 300;
    font-size: 1.4vw;
    flex-wrap: nowrap;
}
.socials li{
    flex-wrap: nowrap;
}
.icon {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.4vw;
}
.icon img {
    width: clamp(30px, 5vw, 40px);
    height: auto;
}

.header__burger {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    align-items: center;

}
.header__burger span {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #FFFFFF;
    left: 5px;
}
.header__burger span:nth-child(1) {
    transform: translateY(-10px);
}
.header__burger span:nth-child(3) {
    transform: translateY(10px);
}
.no-scroll {
    overflow: hidden;
}

/* секція 1 */

.hero {
    background-image: url(/img/fon.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
}
.hero h1 {
    font-family: "Roboto", serif;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0;
    font-size: clamp(40px, 5vw, 70px);
    padding-top: 220px;
    padding-left: 12vw;
}

.hero p {
    font-family: "Roboto", serif;
    font-weight: 300;
    color: #FFFFFF;
    padding-left: 12vw;
    line-height: 1.5;
    font-size: clamp(16px, 1.5vw, 20px);
    padding-top: 2vw;
}

.button_two {
    padding-left: 12vw;
    padding-top: 3vw;
    display: flex;
    gap: 2vw;
}

.button_poslug {
    background-color: #40C057;                     
    border: none;
    border-radius: 25px;          
    padding: 15px 30px;                        
    cursor: pointer; 
    list-style: none; 
}
.button_poslug a {
    color: #fff;  
    text-decoration: none;
    display: inline-block;
}
.button_tel {
    display: inline-flex;
    align-items: center; 
    padding: 15px 17px; 
    border: 2px solid #fff; 
    border-radius: 25px;   
    background-color: transparent;
    color: #fff;  
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}


.section2_proNas {
    background-color: #E2DFDF;
}
.section2_proNas h2 {
    font-family: "Roboto", serif;
    font-weight: 500;
    text-align: center;
    margin: 0;
    font-size: clamp(28px, 3vw, 45px);
    padding-top: 50px;
}
.section2_proNas h3 {
    font-family: "Roboto", serif;
    text-align: center;
    font-size: clamp(14px, 1.5vw, 18px);
    color: #626262;
    margin: 0;
    padding-top: 20px;
    font-weight: 400;

}

.block_info {
    display: flex;
    justify-content: flex-start;
    margin-top: 70px;
    margin-left: 7vw;
    margin-right: 7vw;
    gap: 4vw;
}

.block_1 {
    /* margin-left: 6vw; */
}
.block_1 p {
    font-size: clamp(14px, 1.5vw, 18px);
    font-family: "Roboto", serif;
    font-weight: 200;
    color: #626262;
    line-height: 1.5;
    margin: 0;

}
.block_info img {
    width: 40vw;
    height: 25vw;
}

.button_all {
    padding-top: 5vw;
    /* display: flex;
    gap: 25px; */

}
.button_contact {
    background-color: #40C057;  
    border: none;
    border-radius: 25px;
    padding: 1.7vw 2.5vw; 
}
.button_contact a {
    color: #fff;  
    font-size: 18px;  
    text-decoration: none;
    display: inline-block;
}

.button_info {
    display: inline-flex;
    align-items: center; 
    padding: 1.5vw 3.5vw; 
    border: 2px solid #40C057; 
    border-radius: 25px;   
    background-color: transparent;
    color: #000000;  
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
    margin-left: 10px;
}

.section3_poslugi {
    background-color: #E2DFDF;
}

.section3_poslugi h2 {
    font-family: "Roboto", serif;
    text-align: center;
    font-size: clamp(20px, 3vw, 45px);
    font-weight: 500;
    padding-top: 120px;
    margin: 0;
}
.section3_poslugi h4 {
    color: #626262;
    font-size: clamp(14px, 1.5vw, 25px);
    font-family: "Roboto", serif;
    text-align: center;
    font-weight: 400;
    margin: 0;
    margin-top: 1.7vw;
}

.service {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    padding: 6vw;
    justify-items: stretch;
}

.service-card {
    display: flex;
    background: #464646;
    color: #fff;
    overflow: hidden;
    width: 100%;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.service-content {
    flex: 1;                  
    display: flex;
    flex-direction: column;
    gap: 20px;    
    padding: 20px;
  }
.service-content h3 {
    font-family: "Roboto", serif;
    font-size: clamp(22px, 2vw, 28px);
    margin: 0;
    padding-bottom: 30px;
    padding-left: 1vw;
    padding-top: 21px;
    font-weight: 500;
    max-width: 23vw;
  }
.service-content p {
    font-family: "Roboto", serif;
    font-weight: 200;
    font-size: clamp(16px, 1vw, 24px);
    line-height: 1.4;
    margin-bottom: 20px;
    color: #848484;
    max-width: 244px;
    padding-left: 1vw;
    margin: 0;

  }

  .btn {
    font-family: "Roboto", serif;
    margin-top: auto;          /* завжди внизу */
    align-self: flex-start;    /* вирівняна зліва */
    padding: 15px 26px;
    border: 2px solid #40C057;
    border-radius: 25px;
    background-color: transparent;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 200;
    margin-left: 0.9vw;
}



.box_h2 {
    margin: 55px;
    padding: 25px;
    background-color: #E2DFDF;
  }
  .box_h2 h2 {
    font-family: "Roboto", serif;
    font-size: clamp(25px, 1vw, 45px);
    font-weight: 300;
    margin: 0;
    text-align: center;
  }

.conteiner {
    display: flex;
  }

.map-container {
    width: 100%;           /* або конкретний px/%, наприклад 600px */
    max-width: 800px;      /* обмеження максимальної ширини */
    height: 500px;         /* висота контейнера */
    margin-left: 55px;    /* відступи зверху/знизу і центрування */      
    box-sizing: border-box;
  }

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;  
  }

.contact_adressa {
    margin-left: 28px;
    margin-top: 15px;
  }
.contact_adressa img {
    width: 15vw;
    height: 3vw;
  }

.contact_adressa h3 {
    font-family: "Roboto", serif;
    font-size: clamp(22px, 1vw, 42px);
    margin: 0;
    font-weight: 400;
    padding-top: 20px;
    padding-bottom: 10px;
}
.contact_adressa ul {
    list-style: none;
    padding-left: 0;
    color: #848484;
    margin: 0;
}
.contact_adressa ul li a{
    color: #848484;
    text-decoration: none;
    font-size: clamp(15px, 1vw, 22px);
    font-weight: 300;
}


.icon_black a img{
    width: 40px;
    height: 40px;
    padding-top: 20px;
    padding-right: 10px;
}
.icon_black a img:hover {
    transform: translateY(-5px);

}

.vidguki h2 {
    font-family: "Roboto", serif;
    text-align: center;
    font-size: clamp(41px, 2vw, 51px);
    font-weight: 400;
    margin-top: 7vw;
    margin-bottom: 0;
}
.box_vidg {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    padding: 50px;
}

.review {
    background-color: #F5F5F5;
    text-align: center;
}
.review p {
    font-family: "Roboto", serif;
    padding: 25px 15px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: #767676;
}
.review h3 {
    font-family: "Roboto", serif;
    font-weight: 300;
    font-size: 16px;
    color: #767676;
    margin: 0;
}
.review h4 {
    font-family: "Roboto", serif;
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 40px;
    padding-top: 30px;
    margin: 0;

}
.review:hover {
    border: 1px solid #E3DAFC;
    transform: translateY(-5px);

}
.button a {
    font-family: "Roboto", serif;
    padding: 15px 26px;
    border: 2px solid #40C057;
    border-radius: 25px;
    background-color: transparent;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 200;
    color: #000000;
}

.button {
    text-align: center;
}
.button:hover {
    transform: translateY(-5px);
}
.conteiner_form {
    font-family: Arial, sans-serif;
    margin: 0;
    height: 50vh;
    display: flex;
    justify-content: center;  /* центрує горизонтально */
    align-items: center;  
    margin-top: 5vw;
}
.form-container {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .form-container h2 {
    font-size: 28px;
    font-weight: bold;
    color: #10b042;
    margin-bottom: 10px;
  }

  .form-container p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
  }

  .form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }

  .form-row input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 50px;
    background: #ddd;
    font-size: 15px;
    outline: none;
  }

  .form-row button {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    background: #10b042;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }

  .form-row button:hover {
    background: #0c9638;
  }

.site-footer {
    background: #2b2b2b;        /* темно-сірий фон */
    color: #ccc;
    padding: 40px 190px;
    text-align: center;
  }

.conteiner_footer {
    flex-direction: ;
    justify-content: center; 
    align-items: center;
    max-width: 10vw;
    max-height: 20vw;
}
  
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .footer-nav a {
    font-family: "Roboto", serif;
    font-weight: 200;
    color: #fff;
    text-decoration: none;
    font-size: clamp(13px, 1vw, 16px);
    transition: color 0.3s;
    
  }
  
  .footer-nav a:hover {
    color: #21c55d;   /* зелений при наведенні */
  }
  
  .footer-text {
    font-family: "Roboto", serif;
    font-weight: 200;
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: clamp(13px, 1vw, 16px);
    color: #aaa;
    margin-top: 20px;
    font-style: italic;
  }
  
  .callback-form {
    max-width: 500px;
    margin: 0 auto 30px;
    display: flex;
    gap: 12px;
    justify-content: center;
  }
  
  .callback-form input {
    font-family: "Roboto", serif;
    padding: 1em 12em 1em 1.5em; 
    border: none;
    border-radius: 30px;
    font-size: clamp(14px, 1.5vw, 16px);
    background: #444;
    color: #fff;
    font-weight: 200;
  }
  
  .callback-form input::placeholder {
    color: #aaa;
  }
  
  .callback-form button {
    padding: 1em 2em;
    background: #21c55d;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .callback-form button:hover {
    background: #18a94a;
  }
  
  .site-footer hr {
    border: 0;
    border-top: 1px solid #555;
    margin: 20px 0;
  }
  
  .footer-copy {
    font-size: 14px;
    color: #888;
  }
  

  /* 📲 Планшети 768–1024px — по 2 картки, картинка зверху */
@media (min-width: 768px) and (max-width: 1024px) {
    .service {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .service-card {
      flex-direction: column;
    }
    .box_vidg {
        grid-template-columns: repeat(2, 1fr); 
    }
    .review:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 50%;
    }
    .button_tel {
        font-size: 2.2vw;
    }
}
        /* 💻 Десктопи >1024px — по 2 картки, картинка зліва */
@media (min-width: 1025px) {
    .service {
        grid-template-columns: repeat(2, 1fr);
    }
              
    .service-card {
        flex-direction: row; /* картинка зліва, текст справа */
    }
              
    .service-image {
        max-width: 18vw; 
        flex-shrink: 0;
    }
    .box_vidg {
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
    }
    .button_tel {
        font-size: 1.5vw;
    }
    .button_poslug a {
        font-size: 1.5vw;   
    }
}
@media (min-width: 1025px) and (max-width: 1113px) {
    .service {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
        padding: 20px 50px;
        justify-items: stretch;
    }
}
@media (max-width: 991px) {

    .header {
        padding: 0;
    }
    .header__burger {
        display: block;
        z-index: 1001;
        background: rgba(0, 0, 0, 0.0);
        margin-right: 3vw;
    }
    .header__burger:hover {
        background-color: #848484;
    }
    .header__burger span {
        pointer-events: none;
    }
    .logo_zem {
        z-index: 1001;  
        margin-left: 8vw;
    }
    .socials{
      display: none; 
    }
    .icon {
        display: none;
    }
    .menu-open .socials {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #272727;
        z-index: 1000;           /* базовий рівень меню */
        padding-top: 100px;
        padding-left: 0;
    }
    
    /* Посилання всередині меню */
    .menu-open .socials a {
        pointer-events: auto;    /* щоб кліки проходили */
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        margin: 7px 0;
    }
    
    /* Іконки внизу екрану */
    .menu-open .icon {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: 20px;            /* розташування внизу */
        left: 50%;
        transform: translateX(-50%);
        gap: 15px;               /* відстань між іконками */
        z-index: 1001;           /* вище за меню, щоб видно було */
        pointer-events: auto;    /* іконки клікабельні */
    }
    
    /* Картинки всередині іконок */
    .menu-open .icon a img {
        display: block;
        width: 30px;             /* або свій розмір */
        height: auto;
    }
    .he_block {
        padding-top: 20px;
    }
    .menu-open .socials li {
        margin: 7px 0;
    }
    .menu-open .socials a {
        font-size: 15px;
    }
    .menu-open .icon li {
        margin: 7px 0;
    }

    .footer-container {
        align-items: center;
        text-align: center;
      }
    
    .callback-form {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
      }
    
    .callback-form button {
        width: 100%;
      }
}

@media (max-width: 767px) {
    .service {
      grid-template-columns: 1fr;
      justify-items: center;
    }
    .service-content h3 {
        max-width: 71vw;
    }
    .service-card {
      flex-direction: column;
    }
  
    .service-image img {
      max-height: 250px;
    }
    .footer-container {

        align-items: center;
        text-align: center;
      }
    
      .callback-form {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
      }
    
      .callback-form button {
        width: 100%;
      }
    .box_vidg:nth-child(3){
        justify-content: center;
    }
    .button_tel {
        font-size: 4vw;
    }
    .button_poslug a {
        font-size: 4vw;    
    }
}
  @media (max-width: 690px) {
    .block_info {
        display: flex;
        flex-direction: column;
    }
    .section2_proNas h2 {
        padding: 10vw 5vw 2vw;
    }
    .block_info img {
    width: 40vw;
    height: 25vw;}
    .button_all {
        text-align: center
    }
    .block_info img {
        width: 100%;
        height: 50vw;
    }
    .block_info {
        border-radius: 20px;
    }
}
@media (min-width: 320px) and (max-width: 477px){
    .button_two {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .button_poslug {
        margin-right: 130px;
    }
    .button_tel {
        margin-right: 14vw;
    }
    .button_all {
        display: flex;
        gap: 10px;
    }
    .conteiner {
        display: flex;
        flex-direction: column;
    }
    .map-container {
        max-width: 90vw;
        height: 250px;
        margin-left: 5vw;
        margin-right: 5vw;
    }
    .box_vidg {
        grid-template-columns: repeat(1, 1fr);
    }
    .box_h2 {
        margin: 55px;
        padding: 25px;
        background-color: #E2DFDF;
    }
    .site-footer {
        padding: 40px 0px;
    }

}