@media(max-width: 1440px){
    .main-menu a{
        font-size: 18px;
        line-height: 21.78px;
    }
    .phone .text{
        font-size: 22px;
        line-height: 26.63px;
    }
    .steps__boxes .box h4{
        font-size: 28px;
    }
    .steps__boxes .box p{
        font-size: 20px;
    }
}
@media (min-width: 1025px) and (max-width: 1500px) {
    .how-we-work {
        gap: 202px;
        flex: 1;
    }
    .how-we-work img{
        flex:1;
        max-width: 50%;
    }
}
@media (max-width: 1024px) {
    .header.open{
        top: 0;
    }
    .about-us__columns {
        grid-template-rows: 1fr 335px;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .about-us__columns img {
        width: 100%;
        grid-row: 1 / 2;
        grid-column: 1 / -1;
    }
    .about-us__columns-item:first-of-type{
        grid-row: 2 / -1;
        grid-column: 1 / 2;
    }
    .about-us__columns-item:last-of-type{
        grid-row: 2 / -1;
        grid-column: 2 / -1;
    }
    .container {
        padding: 0 40px;
    }
    :root {
        font-size: .45em;
    }
    .phone .text{
        font-size: 18px;
    }
   .logo{
       max-width: 184px;
   }
    header{
        display: flex;
        gap: 20px;
    }
    header .header_menu-container{
        display: none;
    }
    .header-mobile__controls{
        display: flex;
        align-items: center;

        border-radius: 10px;
        padding: 0 17px;
        background-color: #EDF0F5;
    }
    .mobile_menu_btn{
        display: flex;
        flex-direction: column;
        gap: 8px;
        cursor: pointer;

    }
    .mobile_menu_btn div {
        width: 40px;
        height: 2px;
        border-radius: 2px;
        background-color: #344EAD;
        transition-duration: .5s;
        transition-property: all;
    }
    .open .mobile-menu{
        display: flex;
        flex-direction: column;
        position: fixed;
        height: 100vh;
        width: 100%;
        padding: 26px 40px;
        top: 0;
        left: 0;
        background-color: #EDF0F5;
    }
    .open .mobile-menu__header{
        display: flex;
        justify-content: space-between;
    }
    .open .mobile-menu-wrap{
        margin-top: 90px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 56px;

    }
    .mobile_menu_close{
        cursor: pointer;
    }

    .open .mobile-top-menu{
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .mobile-top-menu li a{
        font-size: 24px;
        line-height: 29.05px;
        color: #272727;
    }
    .first-screen__title{
        font-size: 64px;
        line-height: 64px;
        text-wrap: wrap;
        margin-bottom: 20px;
    }
    .first-screen__description{
        font-size: 28px;
    }
    .first-screen__btn{
        top: 76vh;
    }
    .description{
        font-size: 48px;
        line-height: 58.09px;
    }

    .about-us__columns-item__text{
        font-size: 32px;
        line-height: 38.73px;
    }
    .how-we-work{
        flex-direction: column;
        gap: 100px;
        align-items: center;
    }
    .how-we-work .description{
        text-align: center;
        max-width: 500px;
    }
    .how-we-work__text{
        align-items: center;
    }
    .how-we-work .title{
        padding: 0;
        text-align: center;
    }
    .how-we-work .title::after{
        bottom: -1rem;
    }
    .steps__boxes{
        justify-content: start;
    }
    .steps__boxes .box {
        width: calc(50% - 20px);
        height: 255px;
        padding: 30px 20px;
    }
    footer .header--container{
        align-items: start;
    }
    footer .right{
        flex-direction: column;
        align-items: end;
        gap: 23px;
    }
    .right .header_menu-container{
        margin-right: 0;
    }
}
@media (max-width: 770px) {
    .btn{
        font-size: 20px;
        line-height: 24.2px;
    }
    .about-us, .steps, .faq, .contact-us {
        padding-top: 80px;
    }
    .header {
        padding: 0 40px;
    }
    .about-us, .steps, .faq, .contact-us {
        padding-top: 100px;
    }
    .form{
        width: 100%;
    }
    .title{
        font-size: 18px;
        font-weight: 500;
        line-height: 21.78px;
        letter-spacing: 0.03em;
    }
    .description{
        font-size: 28px;
        font-weight: 600;
        line-height: 33.89px;
        letter-spacing: -0.04em;
    }
    .about-us__btn {
        margin-bottom: 100px;
    }
    .faq .title {
        padding: 100px 0 40px 0;
    }
    .contact-us .description {
        padding-bottom: 100px;
    }
    .get-in-touch .container{
        flex-direction: column;
        align-items: start;
    }
    .first-screen__text{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }
    .first-screen__title {
        font-size: 42px;
        line-height: 52px;
    }
    .first-screen__description {
        font-size: 24px;
        line-height: 29px;
        max-width: 295.75px;
    }
    .faq-wrap {
        padding-top: 60px;
    }
    .faq-row {
        max-width: 100%;
    }
    .faq-item {
        padding: 30px 20px;
    }
    .faq-header__title {
        font-size: 20px;
        line-height: 24.2px;
        letter-spacing: -0.02em;
        font-weight: 400;
    }
    .faq-item__body-text, .faq-item__body-text > * {
        font-size: 20px;
        line-height: 24.2px;
        letter-spacing: -0.04em;
    }
    .how-we-work .title::after {
        display: none;
    }
  /*  .about-us__columns{
        grid-template-rows: 1fr 335px;
        gap: 20px;
        grid-template-columns: 1fr;
    }
    .about-us__columns img{
        grid-column: 1 / -1;
        height: 100%;
    }
    .about-us__columns-item:first-child{
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }
    .about-us__columns-item:last-child{
        grid-row: 2 / 3;
        grid-column: 2 / -1;
    }*/
}
@media (max-width: 550px) {
    .faq-header{
        gap: 20px;
    }
    .about-us__description{
        max-width: 100%;
    }
    .faq-item.--show .faq-item__body {
        padding-top: 20px;
    }
    .container {
        padding: 0 20px;
    }
    .header {
        padding: 0 20px;
        align-items: center;
    }
    .header-mobile__controls{
        width: 68px;
        height: 52px;
        justify-content: center;
    }
    header .header--container .phone{
        display: none;
    }
    .header .container{
        background: transparent;
    }
    .faq .title {
        padding: 80px 0 20px 0;
    }
    .about-us, .steps, .faq, .contact-us {
        padding-top: 80px;
    }

.about-us__columns {
    grid-template-rows: repeat(3,335px);
    margin: 60px 0;
}
.about-us__columns svg{
    height: 48px;
    width: 48px;
}
.about-us__btn {
    margin-bottom: 80px;
}
.about-us__columns img{
    grid-column: 1 / -1;
    /*height: 100%;*/
}

.about-us__columns-item:first-of-type{
    grid-row: 2 / 3;
    grid-column: 1/-1;
}
.about-us__columns-item:last-child{
    grid-row: 3/ -1;
    grid-column: 1/-1;
}
.about-us__columns-item__text{
    font-size: 24px;
    line-height: 29.05px;
    max-width: 203px;
}
.how-we-work {
    gap: 60px;
}
    .how-we-work .description {
        margin-bottom: 20px;
        max-width: 90%;
    }

.steps__boxes .box {
    width: 100%;
    max-width: unset;
}
    .steps__boxes .box p {
        font-size: 18px;
        line-height: 21.6px;
    }
    .steps__boxes .box h4 {
        font-size: 24px;
        line-height: 29px;
    }
    .faq img{
        height: 423px;
        object-fit: cover;
    }
.faq .title {
    padding: 80px 0 20px 0;
}
.faq__description{
    margin-bottom: 0;
}
.contact-us .description {
    padding-bottom: 40px;
}
    .title{
        padding-bottom: 20px;
    }
.get-in-touch {
    padding: 60px 0 360px 0;
}
.get-in-touch .description{
    margin-bottom: 40px;
}
.item .text h4{
    font-size: 24px;
    line-height: 29.05px;
}
.item .text p{
    font-family: Inter;
    font-size: 18px;
    line-height: 21.6px;
    max-width: 209px;
}
.form__title{
    font-size: 28px;
    line-height: 33.89px;
    margin-bottom: 30px;
}
form input[type="text"], form input[type="email"], textarea{
    height: 46px;
}
textarea{
    height: 123px;
}
footer .header-menu {
    padding: 50px 0;
}
footer .header--container{
    flex-direction: column;
    gap: 40px;
}
footer .right{
    align-items: start;
    gap: 40px;
}
footer .phone{
    order: -1;
}
footer .logo {
    max-width: 206px;
}
.footer-bottom{
    background-color: transparent;
    border-top: 1px solid #fff;
}
.footer-bottom .container{
    flex-direction: row-reverse;
    gap: 20px;
}
.header .container{
    padding: 0;
}
.header{
    top: 37px;
}

    iframe {
        height: 355px;
    }
    .get-in-touch{
        padding: 60px 0 280px 0;
    }
    .get-in-touch .container {
        gap: 40px;
    }
    .form {
        padding: 26px 20px;
    }
    .map {
        top: -200px;
        margin-bottom: -120px;
    }
    .open .mobile-menu {
        padding: 40px 20px;
    }
    .how-we-work img{
        height: 330px;
        object-fit: cover;
    }
}
@media (min-width: 771px) and (max-width: 1024px){
    br{
        /*display: none;*/
    }
}
