* {
    box-sizing: border-box;
  }
html {
    scroll-behavior: smooth; 
    width: 100%;
    max-width: 100%;
    /* min-width: 100%; */
    /*overflow-x: hidden;*/
  	overflow-y: scroll;
  }
body{
    font-family: 'Montserrat','Noto Sans', sans-serif;
    overflow: hidden;
    margin: 0 auto; 
    padding: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: fit-content;
    min-height: 100%;
  }
h1{
    font-family: 'Montserrat','Noto Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 3.125em;
    line-height: 100%;
    margin: 0px;
    /* color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #FFFFFF; */
    /* border-style: 2px solid #FFFFFF; */
  }
h2{
    font-style: normal;
    font-weight: 600;
    font-size: 2em;
    line-height: 100%;
    /* text-transform: uppercase; */
    margin: 0px;
}
h3{
    font-size: 1.5em;
    font-weight: 600;
    margin: 0px;
}
p{
    margin: 0px;
}
a{
    text-decoration: none;
    color: #000;
    transition: color 0.5s;
    width: fit-content;
}
.text-align-left{
    text-align: left;
}
.text-align-right{
    text-align: right;
}
.text-align-center{
    text-align: center;
}
.outline{
    color: transparent;
    /* -webkit-text-fill-color: #FA9D1A; */
    /* text-shadow: .04em 0 #fff, -.04em 0 #fff, 0 .04em #fff, 0 -.04em #fff; */
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #FFFFFF;
}
.color-white{
      color: #fff;
  }
.color-black{
      color: black;
  }
.color-red{
    color: red;
}

/* -------------------header--------------- */
.header, .footer{
    width: 100%;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.container{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    max-width: 100em;
    padding: 0 13.4375em;
}
.menu{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;    
    height: 6.25em;
    width: 100%;    
}
.menu_logo-nav{
    display: flex;
    flex-direction: row;
    align-items: center;    
}
.logo{
    margin-right: 6em;
}
.logo img{
    cursor: pointer;
}
.nav {
    display: flex;
}
.nav-list {
    display: flex;
    position: relative; 
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    list-style: none;
    padding: 0px;
}
.nav-item {
    margin-right: 2.5em;
}
.nav-link {
    text-decoration: none;
    color: #FFFFFF;
    transition: color 0.5s;
}
.nav-link:hover{
    font-weight: 400;
    color: #FA9D1A;
}
.nav-link__current{
    font-weight: 600;
    color: #FA9D1A;
}
.text-menu{
    font-style: normal;
    font-weight: 400;
    font-size: 1.25em;
    color: #fff;
 }
 .contacts{
     display: flex;
     flex-direction: row;
     justify-content: flex-end;
     align-items: center;     
 }
 .contact-item{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-left: 2.5em;    
 }
 .contact-svg-item{
    margin-right: 0.625em;
 }
.header-burger{
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 1.1875em;
    justify-content: space-between;
    height: 4.875em;
}
.header-burger-close{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.close{
    display: none;
}
.open{
    display: flex;
}
.vector-close{
    cursor: pointer;
}
.burger-menu{
    width: 100%;
    position: absolute;
    top: 4.875em;
    left: 49em;
    min-height: 13.5em;
    background-color: #000;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 1.875em;
    transition: all 1s linear;
}
.hidden {
    display: flex;
    visibility: visible;
    /* transform: translateX(500px); */
    transform: translateY(0px);    
    transition: all 1.5s linear;
}
.hidden-burger{
  	display: flex;
    visibility: visible;
    transform: translateX(-49em);
}
.burger-contacts{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.625em;
}
.burger-menu .nav-list{
    flex-direction: column;
    align-items: flex-end;
    gap: 0.625em;    
}
.burger-menu .nav-item{
    margin-right: 0px;
}
.burger{
    cursor: pointer;
}

/* -----адаптив для header */
@media screen and (max-width: 1418px) and (min-width: 828px){
    .contacts{
        flex-direction: column;
        align-items: flex-end;
    }
}
@media screen and (max-width: 827px) and (min-width: 752px){
    .logo{
        margin-right: 1.25em;
    }
    .contacts{
        flex-direction: column;
        align-items: flex-end;
    }
}
@media screen and (max-width: 751px){
    .header .menu .menu_logo-nav{
        display: none;
    }
    .header .menu .contacts{
        display: none;
    }
    .header .menu{
        height: 4.875em;
    }
    .header-burger{
        display: flex;
    }
    .burger-contacts .contact-item{
        margin-left: 0px;
    }
}
/* -----конец адаптив для header */

 /* -------------Feedback-------------------- */
 .main{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
 }
 .main-contacts{
    /* height: 50em; */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
    width: 100%;
    grid-gap: 3.75em;
    padding: 3.125em 0 6.25em 0;
 }
 .contacts-content{
     width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5em;
 }
 .contacts-content p{
     font-size: 1.0625em;
 }
 .main-contacts-item{
     display: flex;
     flex-direction: row;
     /* align-items: center; */
     gap: 0.625em;
 }
 .main-contacts-item p{
    font-size: 1.5em;
 }
.main-feedback{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.feedback-contacts{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.5em;
}
.main-specialist{
    display: flex;
    flex-direction: column;
    gap: 1.5625em;
}
.specialist-name{
    display: flex;
    flex-direction: column;
    gap: 0.3125em;
}
.feedback-input{
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25em;
}
.feedback-input--item{
    display: flex;
    flex-direction: column;
    gap: 0.625em;
    font-size: 1.25em;
}
.feedback-input--item input{
    height: 3.125em;
    font-size: 1em;
}

/* daufult input */
.feedback-input--item input.error, textarea.error { 
    border-color: #973d3d; 
    border-style: solid; 
    background: #f0bebe; 
    color: #a35959; 
    }
.feedback-input--item input.error:focus, textarea.error:focus { 
    border-color: #973d3d; 
    color: #a35959;
     }
/* daufult input */

.feedback-input--item textarea{
    font-size: 1em;
}
.feedback-input--checkbox{
    gap: 0.625em;
    margin: 0px;    
}
.feedback-input--checkbox input {
    width: 1.5em;
    height: 1.5em;
}
.feedback-input--checkbox a{
    cursor: pointer;
    color: #234AA1;
}
.btn{
    background-color: #FA9D1A;
    border-radius: 0px;
    border: none;
    box-shadow: none;
    cursor: pointer;
    font-family: 'Montserrat','Noto Sans', sans-serif;
    margin: 0px;
    font-size: 1.25em;
    width: 13.5em;
    height: 3.25em;
    /* min-width: 16.875em;
    min-height: 4.0625em; */
    padding: 0px;
}

.btn:hover{
    background-color: #E88F11;
}
.btn:active{
    background-color: #234AA1;
}
.align-items-end{
    align-items: flex-end;
 }

/* -----адаптив для контента */
@media screen and (max-width: 824px) and (min-width: 320px){
    .main-feedback{
        flex-direction: column;
        gap: 2.5em;
    }    
}
@media screen and (max-width: 439px){
    .main-contacts{
        padding-top: 1.875em;
    }    
    h1{
        font-size: 2em;
        text-align: center;
    }
    h2{
        font-size: 1.5em;
        text-align: center;
    }
    h3{
       font-size: 1.25em; 
       text-align: center;
    }
    .contacts-content p{
        font-size: 0.875em;
        text-align: center;
    }
    .main-contacts-item{
        flex-direction: column;
        align-items: center;
    }
    .feedback-contacts .main-contacts-item{
        align-items: flex-end;
    }
    .main-contacts-item p{
        font-size: 1.125em;
    }
    .main-specialist{
        align-items: center;
    }
    .main-specialist .main-contacts-item{
        flex-direction: row;

    }
    .feedback-input--item {
        font-size: 1em;
    }
    .btn{
        /* width: 100%; */
        width: 14.5em;
        height: 3.25em;
    }
}
/* -----конец адаптив для контента */


/* ------------------footer---------------- */
 .footer-menu{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 20.0625em;    
}
.flex-column{
    flex-direction: column;
}

.align-items-start{
    align-items: flex-start;
 }
.gap-20{
    grid-gap: 1.25em;
}
.footer-contact{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10.1333em;
}
.gap-60{
    gap: 3.75em;
}
.footer .contact-item{
    margin: 0px;
}

/* -----адаптив общий -----------*/
@media screen and (max-width: 1357px) and (min-width: 1000px) {
    .container{
        padding: 0px 6.25em;
    }
}
@media screen and (max-width: 999px) and (min-width: 400px) {
    .container{
        padding: 0px 1.875em;
    }
}
@media screen and (max-width: 399px) and (min-width: 320px) {
    .container{
        padding: 0px 0.9375em;
    }
}
@media screen and (max-width: 319px){
    .container{
        padding: 0px 0.9375em;
    }
}

/* -----адаптив для footer */
@media screen and (max-width: 1114px) and (min-width: 758px){
    .footer-contact{
        width: 100%;
        gap: 0px;
    }
}
@media screen and (max-width: 999px) and (min-width: 821px){
    .footer-contact{
        width: 100%;
        gap: 0px;
    }
}
@media screen and (max-width: 820px) and (min-width: 540px){
    .footer-contact{
        flex-direction: column;
        width: fit-content;
        gap: 1.25em;
    }
    .footer-menu{
        height: 25.25em;
    }
    .footer .menu{
        height: fit-content;
        align-items: flex-start;

    }
    .img-container {
        flex-direction: column;
        justify-content: center
    }
}
@media screen and (max-width: 539px) and (min-width: 320px) {
    .footer .menu{
        width: fit-content;
        height: fit-content;
        flex-direction: column;
        align-items: center;
    }
    .footer .logo{
        margin-right: 0px;
        margin-bottom: 1.875em;
    }
    .footer .text-menu{
        font-size: 0.9375em;
        text-align: center;
    }
    .footer-contact{
        flex-direction: column;
        align-items: center;
        gap: 1.25em;
    }
    .footer .contacts {
        align-items: center;
    }
    .footer-menu{
        height: 26.75em;
        gap: 2.5em;
    }
}
@media screen and (max-width: 320px) {
    .footer .menu{
        width: fit-content;
        height: fit-content;
        flex-direction: column;
        align-items: center;
    }
    .footer .logo{
        margin-right: 0px;
        margin-bottom: 1.875em;
    }
    .footer.text-menu{
        font-size: 0.9375em;
        text-align: center;
    }
    .footer-contact{
        flex-direction: column;
        align-items: center;
        gap: 1.25em;
    }
    .footer.contacts {
        align-items: center;
    }
    .footer-menu{
        height: 26.75em;
        gap: 2.5em;
    }
}
/* -----конец адаптив для footer */


/*ads*/
.ad-subtitle {
    text-align: center;
}
 .img-container {
      display: flex;          /* включаем flexbox */
      justify-content: center; /* выравнивание по центру */
      gap: 20px;              /* расстояние между фото */
      flex-wrap: wrap;
      text-align: center;
    }
    .photo-container img {
      max-width: 310px;            /* фиксируем ширину */
      height: auto;           /* сохраняем пропорции */
      border-radius: 8px;     /* скругляем углы */
    }

    img {
        max-width: 450px;
    }

    .ads-a {
        color: blue;
        text-decoration: underline;
    }