




@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;
        }
        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: 67%;
  margin:-20px auto 0 auto;position: relative;
  z-index: -1;
}
.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;
}

.tabs__tab--active {
  display: block;
}

@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}
.steps__texts {color: #C8D1D9}
.steps__texts 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:730px;margin:0 auto}

.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}



    .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 (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: 113%;
  margin:-20px auto 0 auto;position: relative;
  z-index: -1;
  position: absolute;
}
h1.hero__title{font-family:"Philosopher",sans-serif;max-width:980px;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__man {
            min-width: auto;
            -webkit-transform: none;
            -ms-transform: none;
            transform: none;
            left: auto;
            right: -13%;
            top: auto;
            height: auto;
            width: 60%
        }
.contacts__man img{width:100%;height:100%;-o-object-fit:fill;object-fit:fill}
.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 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 span::after {
  content: "";
  display: block;
  border-bottom: 10px solid;
  border-image: linear-gradient(to right, #F1C69C, #DCA76E) 1 1 0 0 / 20px stretch;
  width: 120%;
  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:22px;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: 120%;
  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;
}


