@font-face {
    font-family: 'Montserrat';
    src: url(../fonts/Montserrat-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: 'Montserrat';
    src: url(../fonts/Montserrat-Medium.ttf);
    font-weight: 500;
}
@font-face {
    font-family: 'Montserrat';
    src: url(../fonts/Montserrat-SemiBold.ttf);
    font-weight: 600;
}
@font-face {
    font-family: 'Montserrat';
    src: url(../fonts/Montserrat-Bold.ttf);
    font-weight: 700;
}
/* root */
:root{
    --white: #fff;
    --gray:#1E1E1E;
    --black: #000;
}
/* reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
ul[class],
ol[class] {
  list-style: none;
}
ul{
    list-style: none;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
img {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
a{
    width: fit-content;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}
button{
    cursor: pointer;
    border: 1px solid transparent;
}
/* style */
body{
    font-family: "Montserrat";
    font-size: 16px;
    font-style: normal;
    line-height: normal;
    font-weight: 400;
    color: var(--blue);
}
.container{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.mb-s{
    margin-bottom: 140px;
}
.mb-m{
    margin-bottom: 150px;
}
.mb-h{
    margin-bottom: 60px;
}
h1{
    color: #FFF;
    font-size: 49px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}
h2{
    color: var(--black);
    font-size: 48px;
    font-weight: 600;
    text-transform: uppercase;
}

h3{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 32px;
    font-weight: 600;
    max-width: 155px;
    width: 100%;
    min-height: 59px;
}
h3 span{
    font: inherit;
    color: inherit;
}
h4{
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}
span{
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    width: 100%;
}
p{
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 40px;
    position: relative;
}
.btn{
    background: var(--white);
    color: var(--black);
    font-weight: 600;
    transition: all .3s;
    padding: 9.5px 10px;
    border-radius: 5px;
    width: 100%;
    max-width: 171px;
    text-align: center;
    font-size: 16px;
}
.btn:hover ,
.main__text-wrap a.btn:hover {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}
.header{
    padding: 10px 0 10px 0 ;
    width: 100%;
    background: var(--black);
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 2;
}
#main {
    padding-top: 10px;
}
.header__wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between; 
}
nav {
    display: flex;
    gap: 40px;
    align-items: center;
    color: var(--white); 
}
nav a:hover{
    transition: all .3s;
    opacity: .6;
}
.header__tel{
    border: 1px solid var(--white);
}
.header__mob,
.adaptive-nav{
    display: none;
}
.main{
    padding: 278px 0 178px 0;
    background: var(--gray);
}
.main__wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main__img{
    max-width: 380px;
    width: 100%;
}
.main__text-wrap{
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 616px;
}
.main__text-wrap p{
    color: var(--white);
    font-weight: 400;
    max-width: 500px;
}
.about h2{
    max-width: 600px;
}
.about__top-wrapper{
    display: flex;
    justify-content: space-between;
}
.about__top{
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    width: 100%;
}
.about__block{
    display: flex;
    align-items: center;
    border-radius: 10px;
    border: 1px solid var(--black);
    padding: 30px 40px;
    position: relative;
    justify-content: space-between;
    width: 100%;
    border-right: 1px solid var(--black);
    gap: 40px;
}
.about__block h3{
   padding-right: 40px;
    border-right: 1px solid var(--black);
}
.line{
    width: 1px;
    height: 100%;
    background: black;
}
.about__block span{
    max-width: 230px;
}
.about__bottom{
    background: var(--gray);
    border-radius: 20px;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.about__bottom h2 {
    margin-bottom: 20px;
    color: var(--white);
}
.about__bottom p {
    margin-bottom: 20px;
}
.about__bottom img{
    border-radius: 20px;
    width: 100%;
    height: 100%;
}
.about__bottom-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column; 
    padding: 60px;
    color: var(--white);
}
.about__bottom-wrapper p:nth-of-type(3){
    margin-bottom: 40px;
}  
.order-btn{
    background: transparent;
    border-color: var(--white);
    padding: 14.22px 39px;
    max-width: 100%;
    width: 100%;
    border-radius: 10px;
    color: var(--white);
    text-transform: uppercase;
    border: 1px solid;
}
.order-btn:hover{
    background: var(--white);
    color: var(--black);
    transition: all .3s;
}
.services{
    background: var(--gray);
    padding: 140px 0;
}
.white__title{
    color: var(--white);
}
.services__blocks{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:40px;
    color: var(--white);
}
.services__block-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    justify-content: space-between;
}
.services__block-item:not(:nth-child(4)){
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--white);
    gap: 40px;
}
.services__block-item h3{
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
    max-width: 100%;
    width: 100%;
    min-height: fit-content;
}
.services__item-wrapper{
    display: flex;
    gap: 10px;
    width: 100%;
    font-size: 12px;
}
.services__item-wrapper > .tab-span{
    max-width: 43px;
    padding: 3px 15px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    max-height: 21px;
    background: inherit;
}
.services__item-wrapper p{
   font-size: 14px;
   margin-bottom: 0;
}
.services__photo{
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    border: none;
}
.services__text{
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    color: var(--black);
}
.services__text h3{
    color: var(--black);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 406px;
    width: 100%;
    margin-bottom: 0;
}
.services__text a{
    color: var(--white);
    border-color: var(--white);
    border: 1px solid;
}
.services__photo img{
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    object-fit: cover;
}
.services__text .order-btn,
.work__wrapper .order-btn{
    border: 1px solid var(--black);
    color: var(--black);
}

.services__text .order-btn:hover{
    border: 1px solid transparent;
    color: var(--white);
    background: var(--gray);
    width: 100%;
}
.work__wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.btn__wraper{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.white-btn{
    padding: 15px 30px;
    border-radius: 500px;
    border: 1px solid var(--black);
    text-align: center;
    background: inherit;
    transition: all .3s;
    color: var(--black);
    font-weight: 500;
    cursor: pointer;
}
.main__text-wrap a:hover {
    border: 1px solid var(--gray);
    color: var(--white);
    background: var(--gray);
}

.white-btn:hover,
.tab--active.white-btn,
.work__wrapper .order-btn:hover{
    border-color: transparent;
    color: var(--white);
    background: var(--gray);
}
.work__wrapper .order-btn{
    max-width: 168px;
}
.work__images{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}
.work__images a {
    width: 100%;
}
.work-img{
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    max-height:460px ;
    height: 100%;
}
.slider__section{
    background: var(--blue);
    padding: 140px 0;
}
.slider__container{
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.faq__container h2{
    text-align: center;
}
.tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tab {
    position: relative;
}
.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
.tab label {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    padding: 20px 80px 20px 40px;
    border-radius: 500px;
    background: var(--black);
    position: relative;
    transition: all .5s;
    font-size: 20px;
    color: var(--white);
    font-weight: 500;
    width: 100%;
}
.tab label::after {
    position: absolute;
    content: url(../images/white-plus.svg); 
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all .3s;
}
.tab-span{
    display: flex;
    padding: 5px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 200px; 
    max-width: 65px;
    font-size: 20px;
    font-weight: 500;
    border: 1px solid var(--white);
    background: var(--black);
    color: var(--white);
}
.tab__content {
    max-height: 0;
    overflow: hidden;
    background: var(--gray);
    color: var(--white);
    border-radius: 0px 0px 30px 30px;
    padding: 0 40px;
    font-size: 14px;
    font-weight: 500;
    transition: all .3s;
}
.tab input:checked ~ .tab__content {
    max-height: 100vh;
    padding: 52.5px 40px 20px 40px;
    margin-top: -37.5px;
}

.tab > label:hover::after  {
    content: url(../images/plus.svg); 
    transition: .3s ease;
 }
.tab label:hover > .tab-span {
    color: var(--black);
    background: var(--white); 
    transition: all .3s;
}
.tab-span:hover{
    transition: all .3s ease-in;
}
.connect-section{
    position: relative;
    background: var(--gray);
    padding: 140px 0;
}
.connect-section h2{
    color: var(--white);
}
.connect-wrapper{
    display: grid;
    grid-template-columns: 1fr 1.55fr;
    width: 100%;
    gap: 40px;
}
.connect__wrap {
    display: flex;
    flex-direction: column;
    background: var(--blue);
    bottom: 100%;
    left: 0;
    border-radius: 20px;
    min-height: 400px;
    padding: 60px;
    max-width: 481px;
    justify-content: space-between;
    width: 100%;
}
.connect{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.connect__link{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px;
    background: var(--black);
    min-height: 210px;
    height: 100%;
    max-width: 100%;
    width: 100%;
    border: 1px solid var(--black);
    padding: 19px;
    cursor: pointer;
}
.connect__link:hover{
   background: transparent;
    transition: all .3s ease;
}
.connect__link span{
    color: var(--white);
    word-break:break-all;
    font-size: 12px;
    max-width: 100%;
}
.connect__link:nth-child(5){
    grid-column: 1/3;
}
.connect__link:nth-child(5) span{
    max-width: 100%;
}
.connect__link svg{
    min-width: 40px;
    height: 40px;
}
.form__wrap{
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--black);
    border-radius: 20px;
}
.form__wrap h3{
    max-width: 100%;
    color: var(--white);
}
.form__wrap form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    position: relative;
}
.wpcf7 form .wpcf7-response-output {
    padding: 5px 7px;
    margin: 0;
    color: #fff;
}
.wpcf7-spinner {
    position: absolute;
    bottom: -35px;
}
.form__wrap form input{
    width: 100%;
    border-radius: 10px;
    border: 1px solid #494949;
    background: transparent;
    padding: 20px;
    outline: none;
    color: var(--white);
}
.form__wrap form input::placeholder,
#message::placeholder {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
#message{
    min-height: 180px;
    max-height: 180px;
    align-items: flex-start;
    display: flex;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #494949;
    background: transparent;
    padding: 20px;
    outline: none;
    color: var(--white);
    font: inherit;
    resize: none;
}
.wpcf7-not-valid-tip {
    position: absolute;
}
.form__wrap form input[type=submit]{
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 20px;
}
.form__wrap form input[type=submit]:hover{
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.social__block{
    display: flex;
    gap: 10px;
}
footer{
    background: var(--black);
}
.footer-container{
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
    padding: 75px 0;
}
.copy{
    padding: 20px 0 40px 0;
    text-align: center;
    position: relative;
}
.copy::before{
    content: "";
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--white);
}
.copy span{
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    text-transform: lowercase;
}
@media screen and (min-width: 1175px){
    .main__img {
        max-width: 500px;
    }
    .about__bottom img{
        max-width: 600px;
    }
    .about h2 {
        max-width: 600px;
    }
}
@media screen and (max-width:1023px) {
.main { 
    padding: 78px 0;
}
.main__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    flex-direction: column-reverse;
    gap: 40px;
}
.main__text-wrap{
    max-width: 100%;
}
.about__top-wrapper {
   flex-direction: column;
}
.about__bottom{
    grid-template-columns: 1fr;
}
.about__bottom-wrapper {
    padding: 40px 20px;
}
.about__top{
    max-width: 100%;
}
.about__block{
    justify-content: flex-start;
}
.services__bottom{
    flex-direction: column-reverse;
}
.services__bottom img{
    max-width:  100%;
    max-height: 288px ;
}
.services__blocks{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.services__bottom{
    padding: 0;
}
.services__text {
    padding: 40px;
}
.work__images {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
}
@media screen and (max-width:990px) {
    #main {
        padding-top: 100px;
    }
    .header__wrapper{
        display: none;
    }
    .logo__adaptive{
        max-width: 200px;
    }
    .header__mob{
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        padding: 10px 20px;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        z-index: 2;
        background: var(--black);
    }
    .adaptive-nav .nav__link{
        font-size: 36px;
        line-height: 54px;
    }
    .adaptive-nav .tel__header{
        margin-top: 100px;
    }
    .adaptive-nav a:nth-last-child(2){
        margin-bottom: 40px;
    }
    .header-btn{
        transition-duration: 0.5s;
        width: 40px;
        height: 40px;
        position: relative;
    }
    .adaptive-nav {
        position: fixed;
        left: 0;
        top: 95px;
            width: 100vw;
            height: 100%;
            background: var(--black);
            transform: translateX(-100%);
            transition: transform 0.5s; 
            flex-direction: column;
            padding: 100px 20px;
            gap: 15px;
            justify-content: center;
            align-items: center;
            z-index: 2;
            display: flex; 
    }
    .open .adaptive-nav {
        transform: translateX(0);
    }
    .icon {
        position: absolute;
        width: 40px; 
        height: 40px; 
        top: 0;
        left: 0; 
    }
    .icon-left {
        transition-duration: 0.3s;
        position: absolute;
        width: 30px; 
        height: 1.5px;
        top: 18px; 
        background-color: var(--white);
        left: 7px; 
    }
    .icon-right {
        transition-duration: 0.3s;
        position: absolute;
        width: 30px; 
        height: 1.5px;
        top: 18px; 
        background-color: var(--white);
        left: 7px; 
    }
    .icon-right::before{
        transition-duration: 0.3s;
        position: absolute;
        width: 30px;
        height: 1.5px;
        background-color: var(--white);
        content: "";
        top: -10px;
    }
    .icon-left::before{
        transition-duration: 0.3s;
        position: absolute;
        width: 30px;
        height: 1.5px;
        background-color: var(--white);
        content: "";
        top: -10px;
    }
    .icon-right::after{
        transition-duration: 0.3s;
        position: absolute;
        width: 20px;
        height: 1.5px;
        background-color: var(--white);
        content: "";
        top: 10px;
    }
    .icon-left::after{
            transition-duration: 0.3s;
            position: absolute;
            width: 30px;
            height: 1.5px;
            background-color: var(--white);
            content: "";
            top: 10px;
    }
    .open .icon-left,
    .open .icon-right{
        transition-duration: 0.3s;
        background: transparent;
    } 
    .open .icon-left::before {
        transform: rotateZ(44deg) translate(-3px, 13px);
    }
    .open .icon-left::after {
        transform: rotateZ(-46deg) translate(-4px, -11px);
    }
    .open .icon-right::before {
        transform: rotateZ(-46deg) translate(-7px, 3px);
    }
    .open .icon-right::after {
        transform: rotateZ(46deg) translate(2px, -5px);
    } 
    /* .services .order-btn {
        max-width: 217px;
    } */
     .order-btn {
        max-width: 100%;
    }
    .services__photo img{
        max-height: 288px;
        min-height: 288px;
        height: 100%;
        object-fit: cover;
        max-width: 100%;
    }
    .connect-wrapper {
        grid-template-columns: 1fr;
    }
    .connect__wrap {
        border-radius: 0px 0px 20px 20px;
        min-height: 400px;
        max-width: 100%;
        transform: none;
        width: 100%;
    }
    h2{
        font-size: 45px;
       }
       .services__blocks {
        grid-template-columns: 1fr;
        gap: 20px;
    }
  
}
@media screen and (max-width:720px) {
    h1{
        font-size: 36px;
        word-wrap: break-word;
    }
}
@media screen and (max-width:625px){
   .services,
   .book-section   {
    padding: 70px 0;
   }
   .footer-container{
    padding: 100px 0;
   }
   .mb-s,
   .mb-m{
    margin-bottom: 70px;
   }
   .about__bottom h2 {
    margin-bottom: 20px;
}
   .mb-h{
    margin-bottom: 30px;
   }
    h1{
    font-size: 24px;
   }
   h2{
    font-size: 24px;
   }
   h3{
    font-size: 20px;
   }
   .about__block span {
    font-size: 12px;
    }
   .about__block h3 span{
    font-size: 20px;
   }
   .about__bottom-wrapper {
    padding: 30px 20px;
}
    .connect-section{
        padding: 70px 0;
    }
    .services__block-item {
        padding: 20px;
    }
    .services__photo {
        padding: 0;
        gap: 0;
    }
   .work__wrapper h2{
    max-width: 230px;
    text-align: center;
    margin-bottom: 0;
   }
   p{
    font-size: 14px;
   }
   .connect__link {
    font-size: 14px;
    max-height: 210px;
    }
    .form__wrap{
       padding: 20px 20px 55px; 
    }
    .services__text {
        padding: 40px 20px;
    }
    .services__text h2 {
        font-size: 20px;
    }
    .btn__wraper {
        flex-wrap: nowrap;
        margin-bottom: 0;
        overflow: hidden;
        overflow-x: scroll;
        min-width: calc(100vw - 20px);
        margin-left: 20px;
        align-items: baseline;
        justify-content: initial;
    }
    .white-btn{
        white-space: nowrap;
    }
    .work__wrapper {
        gap: 30px;
    }
    .adaptive-nav {
            padding: 60px 20px; 
    }
    .adaptive-nav .nav__link{
        line-height: 24px;
        font-size: 16px;
    }
    .slider__container h2{
        text-align: center;
    }
}
@media screen and (max-width:525px){
    .services__blocks,
    .work__images {
        grid-template-columns: repeat(1, 1fr);
    }
    .about__block {
        padding: 20px 10px;
    }
    .tab label,
    .tab-span {
        font-size: 14px;
    }
    .tab label::after {
        width: 20px;
        height: 20px;
    }
    .connect__wrap {
        min-height: 350px;
        padding: 40px 20px;
    }
    .footer .header__nav{
        flex-direction: column;
        gap: 30px;
    }
    .main__wrapper a {
        width: 100%;
        max-width: 100%;
    }
}
@media screen and (max-width:475px) {
    .tab label {
        gap: 10px;
        padding: 15px 55px 15px 15px ;
    }
    .tab-span{
        max-width: 35px;
    }
    .tab label::after {
        right: 35px;
        transform: translateY(-100%);
    }
    .tab input:checked ~ .tab__content {
        margin-top: -29px;
    }
    .connect{
        grid-template-columns: 1fr;
    }
    .connect__link:nth-child(5) {
        grid-column: 1/1;
    }
}
