html {
    box-sizing: border-box;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

body {
     font-family: "Inter", sans-serif;
}

.container {
    max-width: 1220px;
    padding: 0 10px;
    margin: 0 auto;
}


.header__top {
   display: flex;
   justify-content: space-between;
   background-color: white;
   align-items: center;

}

.header__logo {
    font-size: 54px;
    color: blue;
    padding: 10px 20px;
    border-radius: 10px;
}

.header__info {
    display: flex;
    align-items: center;
    gap: 100px;
}

.header__info-item {
    display: flex;
    text-align: center;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
}

.header__info-icon {
    top: 6px;
    position: relative;
    left: -6px;
}


.top {
    background-image: url(../images/top.jpg);
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    background-size: cover;
    margin-bottom: 50px;
}


.top__title {
    position: absolute;
    font-size: 52px;
    color: white;
    text-align: center;
    bottom: 100px;
}

.service {
    margin-bottom: 100px;
}

.service__intro {
    border: 2px solid brown;
    border-radius: 20px;
    margin-bottom: 40px;
}

.service__title {
    padding: 50px 20px;
    text-align: center;
    font-size: 48px;
    font-weight: 700;
}

.service__subtitle {
    padding: 0 20px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.service__list ul {
    list-style: disc;
}

.service__list {
    padding: 0 30px;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 40px;

}

.service__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service__img {
    max-width: 100%;
    border-radius: 20px;
    margin-bottom: 20px;
}

.service__info {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
   
}

.service__price {
    font-size: 22px;
}

.about {
    margin-bottom: 100px;
    background-color: #f4f4f4;
}

.about__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 50px 20px;
}

.about__title {
    font-size: 48px;
    font-weight: 700;
}
.about__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 22px;
}



.info {
    margin-bottom: 100px;
}

.info__title {
    padding-top: 50px;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.info__items {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.info__item {
    max-width: 50%;
    display: flex;
    gap: 20px;
}

.info__item-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.consultation {
    background-color: #f4f4f4;
    margin-bottom: 50px;
    min-height: 200px;
} 

.consultation__inner {
    background-color: #f4f4f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 0;
}

.consultation__title {
    font-size: 48px;
    font-weight: 700;
    
}

.consultation__phone {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: blue;
    padding: 10px 40px;
    border-radius: 30px;
    font-size: 22px;
    color: white;
}

.footer__menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    
}

/* .footer__menu-list {
    max-width: 300px;
} */

.footer__menu-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__info-img {
    position: relative;
    width: 30px;
    top: 9px;
    left: -8px;
}

@media (max-width: 1220px ) {
    .consultation__title {
        font-size: 38px;
    }
    .about__img {
        width: 50%;
    }
   
}

@media (max-width: 1130px ) {
    .about__img {
        width: 40%;
        height: 40%;
    }
    .about__inner {
        flex-wrap: wrap;
    }
    .about__title {
        font-size: 42px;
    }
    .about__content-item {
        padding-left: auto;
        padding-right: auto;
        max-width: 100%;
    }

     .header__logo {
        font-size: 42px;
    }
     .header__info {
        gap: 20px;
    }
    .about__item-img {
        width: 80%;
    }
     .info__title {
        font-size: 42px;
    }

}

@media (max-width: 1030px ) {
    .consultation__title {
        font-size: 32px;
    }
    
    .consultation__phone {
        font-size: 18px;
    }
    .about__item-img {
        width: 50%;
    }
  
    
}

@media (max-width: 950px ) {
    .info__items {
        flex-wrap: wrap;
        gap: 50px;
    }
    .info__item  {
        max-width: 100%;
    }
   
    .about__title {
        font-size: 38px;
    }

    .header__logo {
        font-size: 34px;
    }
    .top {
      max-width: 100%;
    }
    .about__title {
        margin-bottom: 30px;
    }
}


@media (max-width: 880px) {
    .consultation__inner {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .consultation__title {
       text-align: center;
       left: auto;
       right: 0;
    }
    .service,
    .about,
    .info,
    .consultation {
        margin-bottom: 50px;
    }
    
    .service__title {
        font-size: 38px;
        padding: 30px 20px;
    }

    .service__subtitle {
        font-size: 28px;
    }
    .service__info {
        font-size: 24px;
    }

    .info__title {
    padding-top: 25px;
   }
    
    .about__items {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
    .service__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.service__list {
    font-size: 18px;
    padding: 0 20px;
}
.about__text {
        font-size: 18px;
    }
.header__top {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 800px) {
   .top__title {
    font-size: 42px;
   }
   .footer__menu {
    grid-template-columns: repeat(2, 300px);
    gap: 30px;
   }
   
   
}



@media (max-width: 660px) {
    .header__info {
        flex-wrap: wrap;
        justify-content: center;
    }

    .top{
        background-size: auto;
        margin-bottom: 0;
        min-height: 80vh;
        margin-bottom: 30px;
    }
    .footer__menu {
        flex-wrap: wrap;
    }

    .header__logo {
        font-size: 32px;
    }
    .top__title {
    font-size: 32px;
   }
    
    .footer__menu-list {
        max-width: 300px;
    }
    .info__title {
        font-size: 32px;
    }
    .service__title {
        font-size: 32px;
    }

    .service__subtitle {
        font-size: 24px;
    }
    .about__title {
        font-size: 32px;
    }
    
    .footer__menu {
        grid-template-columns: repeat(1, 1fr);
    }
    
   
    
}

@media (max-width: 570px) {
    
    .header__info-item {
        font-size: 22px;
    }
    .service__info {
        font-size: 24px;
    }
    
    .service__items {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}
.service__list {
    font-size: 14px;
}
.about__text {
        font-size: 14px;
    
}
}

@media (max-width: 450px) {
    .footer__menu-list {
        max-width: 300px;
    }
    .service__title {
        font-size: 24px;
        padding: 20px 20px;
    }

    .service__subtitle {
        font-size: 18px;
    }
    .info__title {
        font-size: 24px;
    }
     .about__title {
        font-size: 24px;
    }
    .top__title {
        font-size: 24px;
    } 
    .consultation__title {
        font-size: 24px;
    }
    .footer__menu-title {
        font-size: 24px;
    }
}












