

@media (min-width:768px) {
    .onlymobile {display: none;}
    .onlydeskt {display: both;}
}

@media (max-width:768px) {
    .onlymobile {display: both;}
.onlydeskt {display: none;}
}




@media(min-width: 1024px){
    .buttonUI {
        display: inline-block;
        font-size: 21px;
        font-weight: 400;
        padding: 20px 30px;
        text-align: center;
        letter-spacing: 2px;
        text-transform: uppercase;
        background: linear-gradient(90deg, #f1c69c 0%, #dca76e 100%);
        box-shadow: 0px 20px 50px 0px #4f3231;
        color: #261604;
        transition: opacity 0.3s ease, color 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    .buttonUI::after {
        content: " ";
        width: 10px;
        height: 300px;
        background: #fff;
        animation-delay: 1s;
        position: absolute;
        top: -70px;
        animation-timing-function: ease-in-out;
        transition: all 0.1s;
        animation-name: slideme;
        animation-duration: 2s;
        animation-iteration-count: infinite;
        transform: rotate(45deg);
    }
    .buttonUI:hover{
        color:#fff
    }
    .buttonUI--black{
        background:#020f1b;color:#fff;-webkit-box-shadow:0px 29px 50px 0px #44210f80;box-shadow:0px 29px 50px 0px #44210f80
    }
    .hero .buttonUI {
        color:#261604;font-size:18px;font-weight: 16px;padding:22px 22px;border: none;
    }
    .intr .buttonUI {
        color:#261604;font-size:18px;font-weight: 16px;padding:22px 22px;border:none;min-width: 300px;
    }
}


@media(max-width: 1024px){

    input.wpcf7-submit {
        font-size: 17px;
        width: 100%;
    }
    .hero .buttonUI {
        color:#261604;font-size:16px;font-weight: 16px;padding:22px 22px;border: none;
    }
    .intr .buttonUI {
        color:#261604;font-size:16px;font-weight: 16px;padding:12px 16px;border:none;width: 100%;
    }
    .buttonUI {
        display: inline-block;
        font-size: 16px;
        font-weight: 400;
        padding: 12px 16px;
        border:none;width: 100%;
        text-align: center;
        letter-spacing: 2px;
        text-transform: uppercase;
        background: -webkit-gradient(linear, left top, right top, from(#f1c69c), to(#dca76e));
        background: -o-linear-gradient(left, #f1c69c 0%, #dca76e 100%);
        background: linear-gradient(90deg, #f1c69c 0%, #dca76e 100%);
        -webkit-box-shadow: 0px 20px 50px 0px #4f3231;
        box-shadow: 0px 20px 50px 0px #4f3231;
        color: #261604;
        -webkit-transition: opacity .3s ease, color .3s ease;
        -o-transition: opacity .3s ease, color .3s ease;
        transition: opacity .3s ease, color .3s ease;
        position: relative;
        overflow:hidden
    }
    .buttonUI::after {
        content: " ";
        width: 10px;
        height: 300px;
        background: #fff;
        -webkit-animation-delay: 1s;
        animation-delay: 1s;
        position: absolute;
        top: -70px;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transition: all .1s;
        -o-transition: all .1s;
        transition: all .1s;
        -webkit-animation-name: slideme;
        animation-name: slideme;
        -webkit-animation-duration: 2s;
        animation-duration: 2s;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform:rotate(45deg)
    }
    .buttonUI:hover {
        color:#fff
    }

    .buttonUI--black {
    background: #020f1b;
    color: #fff;
    -webkit-box-shadow: 0px 29px 50px 0px #44210f80;
    box-shadow:0px 29px 50px 0px #44210f80
    }
}

@media (max-width: 1024px) {
    .buttonUI {
        font-size:18px
    }
}

@media (max-width: 768px) {
    .buttonUI {
        font-size: 16px;
        padding:12.5px 16px
    }
}



@media(max-width: 374px) {
    
    .buttonUI{
        font-size:16px;padding:12.5px 20px
    }
    input.wpcf7-submit {
    font-size: 15px;
    width: 100%;
    }
    .hero .buttonUI {
        color:#261604;font-size:15px;font-weight: 16px;padding:12px 18px;border: none;
    }
    .intr .buttonUI {
        color:#261604;font-size:15px;font-weight: 16px;padding:12px 18px;border:none;width: 100%;
    }
    .buttonUI {
        display: inline-block;
        font-size: 16px;
        font-weight: 400;
        padding: 20px 30px;
        text-align: center;
        letter-spacing: 2px;
        text-transform: uppercase;
        background: -webkit-gradient(linear, left top, right top, from(#f1c69c), to(#dca76e));
        background: -o-linear-gradient(left, #f1c69c 0%, #dca76e 100%);
        background: linear-gradient(90deg, #f1c69c 0%, #dca76e 100%);
        -webkit-box-shadow: 0px 20px 50px 0px #4f3231;
        box-shadow: 0px 20px 50px 0px #4f3231;
        color: #261604;
        -webkit-transition: opacity .3s ease, color .3s ease;
        -o-transition: opacity .3s ease, color .3s ease;
        transition: opacity .3s ease, color .3s ease;
        position: relative;
        overflow:hidden
    }

    .buttonUI::after {
        content: " ";
        width: 10px;
        height: 300px;
        background: #fff;
        -webkit-animation-delay: 1s;
        animation-delay: 1s;
        position: absolute;
        top: -70px;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transition: all .1s;
        -o-transition: all .1s;
        transition: all .1s;
        -webkit-animation-name: slideme;
        animation-name: slideme;
        -webkit-animation-duration: 2s;
        animation-duration: 2s;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform:rotate(45deg)
    }

}

.buttonUI:hover {
    color:#fff
}

.buttonUI--black {
    background: #020f1b;
    color: #fff;
    -webkit-box-shadow: 0px 29px 50px 0px #44210f80;
    box-shadow:0px 29px 50px 0px #44210f80
}

@media (max-width: 1024px) {
    .buttonUI {
        font-size:18px
    }
}

@media (max-width: 768px) {
    .buttonUI {
        font-size: 16px;
        padding:12.5px 16px
    }
}

        h1.hero__title span {
          position: relative;
          z-index: 1;
          display:block;font-weight:700
        }
        h1.hero__title span::after {
  content: "";
  display: block;
  border-bottom: 20px solid;
  border-image: linear-gradient(to right, #F1C69C, #DCA76E) 1 1 0 0 / 20px stretch;
  width: 97%;
  margin:-20px auto 0 auto;position: relative;
  z-index: -1;
}

.hero__title{font-family:"Philosopher",sans-serif;max-width:850px;width:100%;margin:0 auto;font-weight:400;text-align:center;font-size:45px;color:#1c1403;text-transform:uppercase}

.gradient-text {
  background-image: -webkit-linear-gradient(90deg, rgba(123,130,149,1) 0%, rgba(236,236,236,1) 27%, rgba(255,252,245,1) 55%, rgba(236,236,236,1) 81%, rgba(123,130,149,1) 100%);
  background-image: linear-gradient(90deg, rgba(123,130,149,1) 0%, rgba(236,236,236,1) 27%, rgba(255,252,245,1) 55%, rgba(236,236,236,1) 81%, rgba(123,130,149,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
h3.steps__subtitle {text-transform: uppercase;}

.tabs__tab {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}


.steps__texts {color: #C8D1D9}
.steps__texts ul li {
  list-style-type: disc;
  margin: 5px 0 5px 20px;
  padding: 5px 0;
}
.documents__left ul li {
  list-style-type: disc;
  margin: 5px 0 5px 20px;
  padding: 5px 0;
}


.accordion{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#020f1b}
.accordion__head{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:30px;padding-right:20px;gap:20px;cursor:pointer;position:relative}
.accordion__head::before{content:"";display:block;width:2px;height:50%;max-height:46px;background-color:#e2c09d;position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}
.accordion__head--active .accordion__btn::before{opacity:0}
@media(max-width: 1024px){.accordion__head{padding:24px 30px;padding-right:10px}
}
@media(max-width: 576px){.accordion__head{padding:25px;padding-right:10px}
}
.accordion__title{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:18px;font-weight:700}
@media(max-width: 1024px){.accordion__title{font-size:16px}
}
@media(max-width: 576px){.accordion__title{font-size:14px}
}
.accordion__btn{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:18px;height:18px;position:relative}
.accordion__btn::before,.accordion__btn::after{content:"";width:1px;height:100%;background-color:rgba(255,255,255,.2);border-radius:2px;position:absolute;-webkit-transition:opacity .5s ease;-o-transition:opacity .5s ease;transition:opacity .5s ease}
.accordion__btn::after{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}
@media(max-width: 768px){.accordion__btn{width:14px;height:14px}
}
.accordion__text{max-height:0;overflow:hidden;will-change:max-height;opacity:0;-webkit-transition:max-height .5s ease,opacity .5s ease;-o-transition:max-height .5s ease,opacity .5s ease;transition:max-height .5s ease,opacity .5s ease;visibility:hidden;color:#c9c9c9;pointer-events:none}
.accordion__text--visible{padding:30px;padding-top:0;padding-bottom:40px;opacity:1;pointer-events:all;visibility:visible}
@media(max-width: 576px){.accordion__text--visible{padding:25px;padding-bottom:35px}
}
.accordion__info{margin-bottom:30px}
@media(max-width: 1024px){.accordion__info{margin-bottom:20px}
}
.accordion__subtitle{margin-bottom:15px;font-weight:600;color:#a9a9a9}
.accordion__descr{font-size:15px;color:#fff}
@media(max-width: 1024px){.accordion__descr{font-size:13px}
}
@media(max-width: 576px){.accordion__descr{font-size:12px}
}
.accordion__more{max-width:195px;width:100%;font-size:14px;padding:10px;-webkit-box-shadow:0px 29px 50px 0px #44210f80;box-shadow:0px 29px 50px 0px #44210f80}
@media(max-width: 1024px){.accordion__more{font-size:13px}
}
.accordion--active .accordion__btn::before{opacity:0}
.benefits__wrapper{max-width:960px;margin:0 auto}


h2.benefits__title {max-width:960px;display: inline;padding:0;margin:0;}
.contacts__descr{max-width:400px;margin:0 auto;}
.hero__wrapper .hero__text {
  max-width: 920px;
}
.hero__wrapper .hero__descr {font-size: 16px;}
.hero__bottom{max-width:950px;width:100%;margin:0 auto;position:relative;z-index:2;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:20px}
.feature__title{max-width:1100px;width:100%;margin:0 auto;margin-bottom:95px;text-align:center}
.documents__btn.tabs__btn--active{background:-webkit-gradient(linear, left top, left bottom, from(#f1c69c), to(#dca76e));background:-o-linear-gradient(top, #f1c69c 0%, #dca76e 100%);background:linear-gradient(180deg, #f1c69c 0%, #dca76e 100%);color:#020f1b;border-color:transparent}
.services__box{max-width:820px;width:100%}
.services__title .title {font-size: 42px;}
.benefits__text {font-weight: 600;font-size: 16px;line-height: 24px;}
.contacts__descr{max-width:820px;width:100%;margin:0 auto}
.documents__title{max-width:960px;width:100%;margin:0 auto;text-align:center;margin-bottom:60px}

.benefits__descr {max-width: 750px;margin:0 auto;position: relative;}
.contacts__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:40px;text-align:center;-bottom:10px}
.contacts__header h2 {margin-top: -40px;position: relative;}
.contacts__man{width:40%;min-width:555px;height:72%;position:absolute;left:50%;bottom:0;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);z-index:-1;top:315px;}
.contacts__man img{width:100%;height:100%;-o-object-fit:fill;object-fit:fill}






@media (min-width:1024px) {

     h1.hero__title span {
          position: relative;
          z-index: 1;
          display: inline;
          font-weight: bold;
        }
        h1.hero__title span::after {
  content: "";
  display: block;
  border-bottom: 20px solid;
  border-image: linear-gradient(to right, #F1C69C, #DCA76E) 1 1 0 0 / 20px stretch;
  width: 97%;
  margin:-18px auto 0 auto;position: relative;
  z-index: -1;
  left:25px;
  position: absolute;
}
h1.hero__title{font-family:"Philosopher",sans-serif;max-width:960px;width:100%;margin:0 auto;text-align:center;font-size:45px;color:#1c1403;text-transform:uppercase;display: inline;line-height: 48px;}
h1.hero__title span{display:inline;font-weight: bold;}

}



@media (max-width: 1024px) {

.contacts__header {
            gap: 25px;
            margin-bottom: 50px
        }

.contacts__row {
            -webkit-box-orient: vertical;
            -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
            -webkit-box-align: start;
            -ms-flex-align: start;
            align-items: flex-start;
            gap: 60px;
            margin-bottom: 30px
        }

.contacts__benefit {
            max-width: 350px
        }
.contacts__text {
            font-size: 13px
        }
.form-contact__title {
        font-size: 19px
    }
.form-contact__input {
        font-size: 12px
    }
.form-contact__btn {
        font-size: 14px
    }
.form-contact {
        padding: 34px
    }

}


@media(max-width: 768px){

     h1.hero__title span {
          position: relative;
          z-index: 1;
          display: inline;
          font-weight: bold;
        }
        h1.hero__title span::after {
  content: "";
  display: block;
  border-bottom: 10px solid;
  border-image: linear-gradient(to right, #F1C69C, #DCA76E) 1 1 0 0 / 20px stretch;
  width: 100%;
  margin:-5px auto 0 auto;position: relative;
  z-index: -1;
  position: absolute;
}
h1.hero__title{font-family:"Philosopher",sans-serif;width:100%;margin:0 auto;text-align:center;font-size:25px;color:#1c1403;text-transform:uppercase;display: inline;line-height: 28px;}
h1.hero__title span{display:inline;font-weight: bold;}


    .contacts{padding-bottom:0}
}


@media(max-width: 428px){ 
h1.hero__title span::after {
  content: "";
  display: block;
  border-bottom: 10px solid;
  border-image: linear-gradient(to right, #F1C69C, #DCA76E) 1 1 0 0 / 20px stretch;
  width: 110%;
  margin:-5px auto 0 auto;position: relative;
  z-index: -1;
  position: absolute;
}
}

@media(max-width: 414px){ 
  h1.hero__title{font-family:"Philosopher",sans-serif;width:100%;margin:0 auto;text-align:center;font-size:20px;color:#1c1403;text-transform:uppercase;display: inline;line-height: 23px;}
h1.hero__title span::after {
  content: "";
  display: block;
  border-bottom: 10px solid;
  border-image: linear-gradient(to right, #F1C69C, #DCA76E) 1 1 0 0 / 20px stretch;
  width: 105%;
  margin:-5px auto 0 auto;position: relative;
  z-index: -1;
  position: absolute;
}
}

@media(max-width: 390px){ 
h1.hero__title span::after {
  content: "";
  display: block;
  border-bottom: 10px solid;
  border-image: linear-gradient(to right, #F1C69C, #DCA76E) 1 1 0 0 / 20px stretch;
  width: 100%;
  margin:-5px auto 0 auto;position: relative;
  z-index: -1;
  position: absolute;
}
}

@media(max-width: 375px){ 
  h1.hero__title{font-family:"Philosopher",sans-serif;width:100%;margin:0 auto;text-align:center;font-size:18px;color:#1c1403;text-transform:uppercase;display: inline;line-height: 23px;}
h1.hero__title span::after {
  content: "";
  display: block;
  border-bottom: 10px solid;
  border-image: linear-gradient(to right, #F1C69C, #DCA76E) 1 1 0 0 / 20px stretch;
  width: 103%;
  margin:-5px auto 0 auto;position: relative;
  z-index: -1;
  position: absolute;
}
}

@media(max-width: 320px){ 
.hero {width: 100%;}
h1.hero__title{font-family:"Philosopher",sans-serif;width:100%;margin:0 auto;text-align:center;font-size:16px;color:#1c1403;text-transform:uppercase;display: inline;line-height: 21px;}
h1.hero__title span::after {
  content: "";
  display: block;
  border-bottom: 10px solid;
  border-image: linear-gradient(to right, #F1C69C, #DCA76E) 1 1 0 0 / 20px stretch;
  width: 102%;
  margin:-5px auto 0 auto;position: relative;
  z-index: -1;
  position: absolute;
}
}

    .contacts {
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: 100% 70%;
        position: relative;
        overflow: hidden
    }

    .contacts__header {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 40px;
        text-align: center;
        margin-bottom: 100px
    }

    @media (max-width: 1024px) {
        .contacts__header {
            gap: 25px;
            margin-bottom: 50px
        }
    }

    .contacts__descr {
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
        bottom: 35px;
    }

    .contacts__row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 30px;
        margin-bottom: 60px
    }

    @media (max-width: 1024px) {
        .contacts__row {
            -webkit-box-orient: vertical;
            -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
            -webkit-box-align: start;
            -ms-flex-align: start;
            align-items: flex-start;
            gap: 60px;
            margin-bottom: 30px
        }
    }

    .contacts__man {
        width: 40%;
        min-width: 555px;
        height: 65%;
        position: absolute;
        left: 50%;
        bottom: 0;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        z-index: -1
    }

    .contacts__man img {
        width: 100%;
        height: 100%;
        -o-object-fit: fill;
        object-fit: fill
    }

    @media (max-width: 1024px) {
        .contacts__man {
            min-width: auto;
            -webkit-transform: none;
            -ms-transform: none;
            transform: none;
            left: auto;
            right: -13%;
            top: auto;
            height: auto;
            width: 60%
        }
    }

    @media (max-width: 576px) {
        .contacts__man {
            position: initial;
            width: 120%;
            margin-left: -7%;
            margin-bottom: -65%
        }
    }

    .contacts__form {
        max-width: 410px;
        width: 100%
    }

    @media (max-width: 576px) {
        .contacts__form {
            max-width: 100%
        }
    }

    .contacts__benefits {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
        gap: 50px
    }

    @media (max-width: 1024px) {
        .contacts__benefits {
            width: 100%;
            -webkit-box-flex: 1;
            -ms-flex-positive: 1;
            flex-grow: 1;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            -ms-flex-direction: row;
            flex-direction: row;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center
        }
    }

    @media (max-width: 576px) {
        .contacts__benefits {
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
            gap: 30px
        }
    }

    .contacts__benefit {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 30px;
        max-width: 300px;
        width: 100%
    }

    .contacts__benefit--small {
        max-width: 250px
    }

    @media (max-width: 1024px) {
        .contacts__benefit {
            max-width: 350px
        }
    }

    @media (max-width: 576px) {
        .contacts__benefit {
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            text-align: center
        }
    }

    .contacts__img {
        max-width: 87px;
        width: 100%;
        border-radius: 50%
    }

    .contacts__img img {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover
    }

    .contacts__text {
        font-size: 15px
    }

    @media (max-width: 1024px) {
        .contacts__text {
            font-size: 13px
        }
    }

    .contacts__bg {
        position: relative;
        padding-bottom: 22px
    }

    .contacts__bg::after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: -webkit-gradient(linear, left bottom, left top, color-stop(29%, #020f1b), to(rgba(2, 15, 27, 0)));
        background: -o-linear-gradient(bottom, #020f1b 29%, rgba(2, 15, 27, 0) 100%);
        background: linear-gradient(0deg, #020f1b 29%, rgba(2, 15, 27, 0) 100%);
        opacity: .9;
        -webkit-transition: opacity 1s ease;
        -o-transition: opacity 1s ease;
        transition: opacity 1s ease
    }

    .contacts__bg.hide-text--active::after {
        opacity: 0;
        visibility: hidden
    }

    .contacts__bottom {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 20px
    }

    .contacts__list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 15px;
        list-style-type: disc;
        padding-left: 20px
    }


.form-contact {
    padding: 40px;
    background-color: #061828;
    border: 1px solid #ecbe90;
    -webkit-box-shadow: 0px 20px 80px 0px #010c15;
    box-shadow: 0px 20px 80px 0px #010c15
}

.form-contact__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 45px
}

@media (max-width: 576px) {
    .form-contact__header {
        gap: 20px;
        margin-bottom: 25px
    }
}

.form-contact__title {
    font-size: 20px;
    font-weight: 700;
    color: #e2c09d;
    text-align: center
}

@media (max-width: 1024px) {
    .form-contact__title {
        font-size: 19px
    }
}

@media (max-width: 576px) {
    .form-contact__title {
        font-size: 16px
    }
}

.form-contact__text {
    font-size: 14px;
    text-align: center
}

@media (max-width: 1024px) {
    .form-contact__text {
        font-size: 13px
    }
}

@media (max-width: 576px) {
    .form-contact__text {
        font-size: 12px
    }
}

.form-contact__inputs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px
}

@media (max-width: 576px) {
    .form-contact__inputs {
        margin-bottom: 20px
    }
}

.form-contact__label {
    width: 100%
}

.form-contact__input {
    width: 100%;
    padding: 17px 24px;
    background-color: #040c14;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px
}

.form-contact__input:placeholder {
    color: #616b75
}

@media (max-width: 1024px) {
    .form-contact__input {
        font-size: 12px
    }
}

@media (max-width: 576px) {
    .form-contact__input {
        padding: 15px 20px
    }
}

.form-contact__btn {
    width: 100%;
    font-size: 16px
}

@media (max-width: 1024px) {
    .form-contact__btn {
        font-size: 14px
    }
}

@media (max-width: 1024px) {
    .form-contact {
        padding: 34px
    }
}

@media (max-width: 576px) {
    .form-contact {
        padding: 35px 20px
    }
}

form.wpcf7-form {
    display: flex;
    align-items: center;
}

input.wpcf7-submit {
    font-size: 21px;
}

.wpcf7.no-js {
    display: none; /* Скрыть контейнер */
}


.wpcf7-form .form__input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}



.popup {
    display: none; /* Скрыть по умолчанию */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: rgba(255, 255, 255, 1);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    width: 70%;
    color: #000;
}

.close-button {
    cursor: pointer;
    float: right;
    font-size: 20px;
    color: #e2c09d;
}

.wpcf7-validation-errors {
    display: none; /* Скрыть текст ошибок */
}
.wpcf7-form-control.wpcf7-not-valid {
    border: 1px solid red; /* Или другой стиль для выделения */
    background-color: rgba(255, 0, 0, 0.1); /* Подсветка фона */
}
span.wpcf7-not-valid-tip {display: none;}

.form-contact__label input {margin:5px 0;position: relative;border:1px solid transparent;}

@media(min-width: 768px){

     .hero form {left: 40px;position: relative;}
     
input.form-contact__btn{border: none;display:inline-block;font-size:14px;font-weight:400;padding:20px 30px;text-align:center;letter-spacing:2px;text-transform:uppercase;background:-webkit-gradient(linear, left top, right top, from(#f1c69c), to(#dca76e));background:-o-linear-gradient(left, #f1c69c 0%, #dca76e 100%);background:linear-gradient(90deg, #f1c69c 0%, #dca76e 100%);-webkit-box-shadow:0px 20px 50px 0px #4f3231;box-shadow:0px 20px 50px 0px #4f3231;color:#261604;-webkit-transition:opacity .3s ease,color .3s ease;-o-transition:opacity .3s ease,color .3s ease;transition:opacity .3s ease,color .3s ease;position:relative;overflow:hidden;
}
input.form-contact__btn::after{content:" ";width:10px;height:300px;background:#fff;-webkit-animation-delay:1s;animation-delay:1s;position:absolute;top:-70px;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-transition:all .1s;-o-transition:all .1s;transition:all .1s;-webkit-animation-name:slideme;animation-name:slideme;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)
}

input.form-contact__btn:hover{color:#fff;font-size: 14px;
}


}




.tabs__btns{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:20px;
}









.documents .steps__wrapper{
    padding-top:120px;padding-bottom:120px;background-color:#061828
}




.documents .steps__btn{
    max-width:260px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:18px;padding:18px;font-size:16px;font-weight:600;color:#05101a;text-align:center;background:-webkit-gradient(linear, left top, left bottom, from(#f1c69c), to(#dca76e));background:-o-linear-gradient(top, #f1c69c 0%, #dca76e 100%);position:relative;pointer-events:all;background:#020f1b;color: #ECBE90;
}
.documents .steps__btn::before{
    content:"";width:3px;height:50%;max-width:38px;background-color:transparent;position:absolute;top:50%;left:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)
}


.documents .tabs__btn--active {
    max-width:260px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:18px;padding:18px;font-size:16px;font-weight:600;color:#05101a;text-align:center;background:-webkit-gradient(linear, left top, left bottom, from(#f1c69c), to(#dca76e));background:-o-linear-gradient(top, #f1c69c 0%, #dca76e 100%);background:linear-gradient(180deg, #f1c69c 0%, #dca76e 100%);position:relative;pointer-events:all;
}




.documents .steps__icon{
    width:25px;height:25px;-ms-flex-negative:0;flex-shrink:0;-webkit-filter:brightness(0%);filter:brightness(0%);pointer-events:none;
}
.documents .steps__icon img{
    width:100%;height:100%;-o-object-fit:cover;object-fit:cover;
}


.documents .steps__list{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:10px;list-style-type:disc;padding-left:20px
}
.documents .steps__box{
    display:-ms-grid;display:grid;-ms-grid-columns:.5fr .5fr;grid-template-columns:.5fr .5fr;gap:30px;padding:83px 60px;padding-bottom:120px;background-color:#020f1b
}



.documents .steps__subtitle{
    font-size:30px;font-weight:700;color:#fff;margin-bottom:40px
}


.documents .steps__texts{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:25px
}

.documents .steps__right{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;gap:40px
}


.documents .steps__img{
    max-width:410px;width:100%
}
.documents .steps__img img{
    width:100%;height:100%;-o-object-fit:cover;object-fit:cover
}
.documents .steps__btns{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:40px
}

.documents .steps__arrow--prev,.steps__arrow--next{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;-webkit-box-shadow:0px 29px 50px 0px #44210f80;box-shadow:0px 29px 50px 0px #44210f80;background:-webkit-gradient(linear, left top, right top, from(#f1c69c), to(#dca76e));background:-o-linear-gradient(left, #f1c69c 0%, #dca76e 100%);background:linear-gradient(90deg, #f1c69c 0%, #dca76e 100%);-webkit-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease;position:relative
}
.documents .steps__arrow--prev:hover,.steps__arrow--next:hover{
    opacity:.5
}
.documents .steps__arrow--prev::after,.steps__arrow--next::after{
    content:"";display:block;width:40%;height:30%;background-image:url("../portug-resident/images/icons/arrow.svg");background-size:100% 100%;background-position:center;background-repeat:no-repeat
}


.documents .steps__arrow--prev{
    left:0
}
.documents .steps__arrow--next{
    right:0
}
.documents .steps__arrow--next::after{
    -webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)
}




.documents .tabs__tab{display:none}
.documents .tabs__tab--active{display:block}
.documents .tabs__btn--active .steps__btn{background:#020f1b;color:#e2c09d}
.documents .tabs__btn--active .steps__btn::before{background-color:#e2c09d}
.documents.tabs__btn--active .steps__btn .steps__icon{-webkit-filter:brightness(100%);filter:brightness(100%)}







.steps .steps__wrapper{
    padding-top:120px;padding-bottom:120px;background-color:#061828
}




.steps .steps__btn{
    max-width:260px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:18px;padding:18px;font-size:25px;font-weight:600;color:#05101a;text-align:center;color: #ECBE90;background: #f1c69c;color: #000;
}
.steps .steps__btn::before{
    content:"";width:3px;height:50%;max-width:38px;background-color:transparent;position:absolute;top:50%;left:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)
}






.steps .steps__icon{
    width:25px;height:25px;-ms-flex-negative:0;flex-shrink:0;-webkit-filter:brightness(0%);filter:brightness(0%);pointer-events:none;filter: grayscale(100%) brightness(0);
    transition: filter 0.3s;
}



.steps .steps__icon img{
    width:100%;height:100%;-o-object-fit:cover;object-fit:cover;color: #000;
}


.steps .tabs__btn--active .steps__icon{
    color: #000;
}




.steps .tabs__btn--active2 .steps__icon{
    width:25px;height:25px;-ms-flex-negative:0;flex-shrink:0;-webkit-filter:brightness(0%);filter:brightness(0%);pointer-events:none;filter: grayscale(100%) brightness(0);
    transition: filter 0.3s;
}

.steps .tabs__btn--active .steps__icon img{
    
}

.steps .tabs__btn--active .steps__icon{
    width:25px;height:25px;-ms-flex-negative:0;flex-shrink:0;-webkit-filter:brightness(0%);filter:brightness(100%);pointer-events:none;color: #000;
}

.steps .tabs__btn--active2 .steps__icon img{
    width:100%;height:100%;-o-object-fit:cover;object-fit:cover;filter: grayscale(100%) brightness(0);
    transition: filter 0.3s;color: #000;
}


.steps .tabs__btn--active {
    max-width:260px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:18px;padding:18px;font-size:25px;font-weight:600;text-align:center;background-color:#020f1b;position:relative;pointer-events:all;color: #f1c69c;
}


.steps .tabs__btn--active2 {
    max-width:260px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:18px;padding:18px;font-size:25px;font-weight:600;color:#05101a;text-align:center;background:-webkit-gradient(linear, left top, left bottom, from(#f1c69c), to(#dca76e));background:-o-linear-gradient(top, #f1c69c 0%, #dca76e 100%);background:linear-gradient(180deg, #f1c69c 0%, #dca76e 100%);position:relative;pointer-events:all;
}






.steps .steps__list{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:10px;list-style-type:disc;padding-left:20px
}
.steps .steps__box{
    display:-ms-grid;display:grid;-ms-grid-columns:.5fr .5fr;grid-template-columns:.5fr .5fr;gap:30px;padding:83px 60px;padding-bottom:120px;background-color:#020f1b
}



.steps .steps__subtitle{
    font-size:30px;font-weight:700;color:#fff;margin-bottom:40px
}


.steps .steps__texts{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:25px
}

.steps .steps__right{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;gap:40px
}


.steps .steps__img{
    max-width:410px;width:100%
}
.steps .steps__img img{
    width:100%;height:100%;-o-object-fit:cover;object-fit:cover
}
.steps .steps__btns{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:40px
}

.steps__arrow--next{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;-webkit-box-shadow:0px 29px 50px 0px #44210f80;box-shadow:0px 29px 50px 0px #44210f80;background:-webkit-gradient(linear, left top, right top, from(#f1c69c), to(#dca76e));background:-o-linear-gradient(left, #f1c69c 0%, #dca76e 100%);background:linear-gradient(90deg, #f1c69c 0%, #dca76e 100%);-webkit-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease;position:relative;
}
.steps .steps__arrow--prev:hover,.steps__arrow--next:hover{
    opacity:.5
}
.steps__arrow--next::after{
    content:"";display:block;width:40%;height:30%;background-image:url("../portug-resident/images/icons/arrow.svg");background-size:100% 100%;background-position:center;background-repeat:no-repeat
}





.steps .steps__arrow--prev{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;-webkit-box-shadow:0px 29px 50px 0px #44210f80;box-shadow:0px 29px 50px 0px #44210f80;background:-webkit-gradient(linear, left top, right top, from(#f1c69c), to(#dca76e));background:-o-linear-gradient(left, #f1c69c 0%, #dca76e 100%);background:linear-gradient(90deg, #f1c69c 0%, #dca76e 100%);-webkit-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease;position:relative;
}

.steps .steps__arrow--prev::after {
    content:"";display:block;width:40%;height:30%;background-image:url("../portugal-d2/images/icons/arrow.svg");background-size:100% 100%;background-position:center;background-repeat:no-repeat
}



.steps .steps__arrow--prev2{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;-webkit-box-shadow:0px 29px 50px 0px #44210f80;box-shadow:0px 29px 50px 0px #44210f80;background:-webkit-gradient(linear, left top, right top, from(#f1c69c), to(#dca76e));background:-o-linear-gradient(left, #f1c69c 0%, #dca76e 100%);background:linear-gradient(90deg, #f1c69c 0%, #dca76e 100%);-webkit-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease;position:relative;
    opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
  background: #020F1B;
  border:1px solid #ECBE90;
}

.steps .steps__arrow--prev2::after {
    content:"";display:block;width:40%;height:30%;background-image:url("../portugal-d2/images/icons/arrow_disabled.svg");background-size:100% 100%;background-position:center;background-repeat:no-repeat
}


.documents .steps__arrow--prev2{
    display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;-webkit-box-shadow:0px 29px 50px 0px #44210f80;box-shadow:0px 29px 50px 0px #44210f80;background:-webkit-gradient(linear, left top, right top, from(#f1c69c), to(#dca76e));background:-o-linear-gradient(left, #f1c69c 0%, #dca76e 100%);background:linear-gradient(90deg, #f1c69c 0%, #dca76e 100%);-webkit-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease;position:relative;
    opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
  background: #020F1B;
  border:1px solid #ECBE90;
}

.documents .steps__arrow--prev2::after {
    content:"";display:block;width:40%;height:30%;background-image:url("../portugal-d2/images/icons/arrow_disabled.svg");background-size:100% 100%;background-position:center;background-repeat:no-repeat
}

.steps .steps__arrow--prev{
    left:0
}
.steps .steps__arrow--next{
    right:0
}
.steps .steps__arrow--next::after{
    -webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)
}




@keyframes fadeIn {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

.tabs__arrow--disabled {
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
  background: #020F1B;
  border:1px solid #ECBE90;
}
.tabs__arrow--disabled::after{content:"";display:block;width:40%;height:30%;background-image:url("../portugal-d2/images/icons/arrow_disabled.svg");background-size:100% 100%;background-position:center;background-repeat:no-repeat}

.tabs__arrow--disabled2 {
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
  background: #020F1B;
  border:1px solid #ECBE90;
}
.tabs__arrow--disabled2::after{content:"";display:block;width:40%;height:30%;background-image:url("../portugal-d2/images/icons/arrow_disabled.svg");background-size:100% 100%;background-position:center;background-repeat:no-repeat}

@media (max-width:728px) {
    .tabs__btns .tabs__btn {font-size: 14px;}
}
