main {
    position: relative;
    z-index: 2;
    background: #FCDA00;
    padding-bottom: 200px;
}

.top {
    padding: 170px 0 90px;
}

.top-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(172deg, rgba(0, 0, 0, 0.00) -8.7%, rgba(0, 0, 0, 0.84) 69.7%);
}

.top::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(172deg, rgba(0, 0, 0, 0.00) -8.7%, rgba(0, 0, 0, 0.84) 69.7%);

}

.top-title {
    width: fit-content;
    margin: 0 auto;
    color: #FFF;
    font-family: "DM Sans";
    text-align: center;
    font-size: 60px;
    font-weight: 700;
    line-height: 80px;
    position: relative;
    z-index: 2;
    letter-spacing: -2.01px;
}

.contacts {
    padding: 50px 0 160px;
}

.contacts-wrap {
    display: flex;
}

.contacts-nav {
    width: 30%;
    position: relative;
    flex-wrap: wrap;
    display: flex;
    gap: 20px;
    height: fit-content;
    margin-right: 125px;
}

#contacts-nav-marker {
    left: -40px;
    position: absolute;
    transition: transform 0.3s ease;
    /* Плавное движение */
}

.contacts-nav-item {
    display: inline-block;
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
}

#contacts-nav-marker {
    position: absolute;
}

.contacts-nav-item {
    color: #393939;
    text-align: right;
    font-family: "DM Sans";
    font-size: 25px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: -0.416px;
    width: 100%;
}

.contacts-nav-item.active {
    font-size: 35px;
    font-weight: 700;
}

.contacts-main {
    display: none;
    width: 86%;
}

.contacts-main.active {
    display: block;
}
.contacts-card {
    margin-bottom: 20px;
}
.card-top {
    padding-bottom: 10px;
    border-bottom: 2px solid #393939;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.card-top h3 {
    color: #393939;
    font-family: "DM Sans";
    font-size: 18px;
    font-weight: 300;
    line-height: 33.757px;
    letter-spacing: -0.606px;
    cursor: pointer;
}

.contacts-card.active .card-top svg {
    rotate: -180deg;
}

.contacts-card .card-top svg {
    rotate: 0;
    cursor: pointer;
    transition: rotate 0.5s ease;
}


.card-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
    height: fit-content;
    overflow: hidden;
    height: 0;
}

.contacts-card.active .card-main {
    max-height: 1000px;
}

.contacts-info-box {
    width: 100%;
}

.contacts-info-title {
    color: #393939;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 33.757px;
    width: 100%;
    letter-spacing: -0.606px;
    margin-bottom: 10px;
}

.contacts-info-box a:not(:last-child) {
    margin-bottom: 10px;
}

.contacts-info-box a {
    color: #393939;
    font-family: "DM Sans";
    font-size: 18px;
    width: fit-content;
    font-weight: 700;
    line-height: 25px;
    gap: 15px;
    letter-spacing: -0.606px;
    align-items: center;
    display: flex;
}

.contacts-info-box a svg {
    display: block;
}

.feedback {
    background: #FFF;
    overflow: visible;
    padding: 30px 0;
}

.feedback-bg-box {
    width: 880px;
    height: calc(100% + 156px);
    position: absolute;
    right: 0;
    top: -78px;
    bottom: 0;
    display: block;
}

.feedback-bg-box::after {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(82deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.65) 70%);
    content: '';
}

.feedback-bg {
    display: block;
    height: 100%;
    width: 100%;
}
.feedback-bg-left{
    position: absolute;
    left: -12%;
    top: 0;
    /* width: 382px; */
    /* height: 347px; */
    object-fit: contain;
    width: 605.702px;
    height: 701.121px;
}
.feedback-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
}

.feedback-box .wpcf7 {
    margin-left: 60px;
}

.feedback-box h2 {
    color: #FFF;
    font-family: "DM Sans";
    font-size: 60px;
    font-weight: 700;
    letter-spacing: -0.416px;
    width: 40%;
}

.feedback-box form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 445px;
}

.feedback-box label {
    color: #393939;
    font-family: "DM Sans";
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: -0.606px;
    width: 100%;
    max-width: 445px;
}

.feedback-box label>span {
    margin-top: 5px;
    display: block;
}

.feedback-box input,
.feedback-box textarea {
    border-radius: 8px;
    background: rgba(252, 218, 0, 0.15);
    box-shadow: 8px 8px 26px 0 rgba(0, 0, 0, 0.05);
    width: 100%;
    border: none;
    padding: 8px 10px;
    margin-bottom: 15px;
}

.feedback-box textarea {
    height: 100px;
    resize: none;

}

.feedback-box input::placeholder,
.feedback-box textarea::placeholder {
    color: #393939;
    font-family: "DM Sans";
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: -0.606px;
    opacity: 0.25;

}

.feedback-box input.feedback-btn {
    border-radius: 60px;
    background: #1D417A;
    width: 160px;
    color: #FFF;
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.416px;
    padding: 5px;
    width: 160px;
    display: block;
    margin: 0 auto;
    transition: color .5s ease;
    cursor: pointer;
}
.feedback-box input.feedback-btn:hover{
    color:#9E9E9E;
}
.wpcf7-spinner {
    position: absolute;
    bottom: 0;
}
.wpcf7-not-valid-tip{
    margin-bottom: 20px;
}
.wpcf7-response-output{
    display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
    display: block;
}


h2.form-send{
    color: #000;
    font-family: "DM Sans";
display: none;
    width: 100%;
    text-align: center;
}
@media screen and (max-width: 1850px){
    .feedback-bg-box{
        right: auto;
    left: 53%;
    }
    main{
        overflow: hidden;
    }
    .feedback-bg-left{
        right: 84%;
    left: auto;
    }
}

@media screen and (max-width: 1450px){
      .feedback-bg-left{
          display: none;
      }
      .contacts-nav{
          margin-right: 0;
          
      }
    .contacts-wrap{
        gap: 30px;
    }
}

@media screen and (max-width: 1250px){
    .contacts-nav{
        width: 350px;
    }
    .feedback-box form{
            max-width:72%
         
    }
    .feedback-box .wpcf7{
           margin-left: 0;
    }
    .feedback-box h2{
        width: 87%;
    }
}


@media screen and (max-width: 700px){
        .feedback-box form{
            max-width:87%
         
    }
    .feedback-bg-box{
            width: 100%;
    left: 0;
    height: 200px;
    top: 0;
    }
    .feedback-box{
        flex-wrap: wrap;
    }
        .feedback-box h2{order:1;    font-size: 50px;    width: 100%;
    text-align: center;
        padding: 30px;}
        .feedback-box .wpcf7{
            order: 2;
            margin-top: 20px;
        }
        .feedback{
            padding-top: 0;
        }
        .feedback-box form {
        max-width: 100%;
    }
    .feedback-box label{
        max-width: 100%;
    }
    main{
        padding: 0 0 50px;
    }
    .contacts {
    padding: 50px 0 50px;
}
.contacts-wrap{
    flex-wrap: wrap;
}
.contacts-nav{
    margin: 0 0 0 auto;
}
#contacts-nav-marker{
    left: -10px;
}
.contacts-nav{
    gap: 0;
}
.top {
    padding: 110px 0 50px;
}
.contacts-main{
    width: 100%;
}
}