/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

html {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

*,
*::before,
*::after {
    -webkit-box-sizing: inherit;
            box-sizing: inherit;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
}

html,
body {
    margin: 0 auto;
    padding: 0;
    font-family: "Courier_bold", sans-serif;
    font-size: 16px;
    color: black;
}

h1 {
    font-size: 45px;
    font-family: "Century_bold", sans-serif;
    color: black;
    line-height: 1.2;
    text-align: right;
    max-width: 36%;
}

h2 {
    font-size: 40px;
    font-family: "Century";
    color: rgb(0, 0, 0);
    line-height: 2;
}

a,
address {
    text-decoration: none;
    font-family: "Courier_bold", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: black;
    font-style: normal;
}

ul,
li {
    list-style: none;
    padding: 0;
}

button {
    background: transparent;
    border: none;
}

.body-wraper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1336px;
    margin: 0 auto;
    padding-right: 50px;
    padding-left: 50px;
}

.btn {
    /* cursor: pointer;
    border-radius: 20px;
    max-width: 326px;
    max-height: 106px;
    border: 2px solid #1d1f1d;
    padding: 30px 30px 25px;
    font-size: 40px;
    font-family: "Courier", sans-serif;
    color: rgb(255, 255, 255);
    line-height: 0;
    display: flex;
    align-items: center; */
}

/* header */

.header {
    background-image: url(/img/hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 800px;
    position: relative;
    margin-bottom: 40px
}

.header__container {
    padding-bottom: 70px;
}

.logo {
    position: absolute;
    display: block;
    top: 25px;
    left: 150px;
    max-height: 630px;
}

.header__burger-btn {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    z-index: 2;
    cursor: pointer;
}

.header__burger-btn span {
    display: block;
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: white;
    -webkit-box-shadow: 1px 1px #f8ca9d;
            box-shadow: 1px 1px #f8ca9d;
    -webkit-transition: background-color .3s, opacity .3s, -webkit-transform .5s;
    transition: background-color .3s, opacity .3s, -webkit-transform .5s;
    -o-transition: background-color .3s, opacity .3s, transform .5s;
    transition: background-color .3s, opacity .3s, transform .5s;
    transition: background-color .3s, opacity .3s, transform .5s, -webkit-transform .5s;
    will-change: transform;
}

.header__burger-btn:hover span {
    background-color: white;
    -webkit-box-shadow: 1px 1px #f8ca9d;
            box-shadow: 1px 1px #f8ca9d;
}

.header__burger-btn span:nth-child(1) {
    -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
            transform: translateY(-10px);
}

.header__burger-btn span:nth-child(3) {
    -webkit-transform: translateY(10px);
        -ms-transform: translateY(10px);
            transform: translateY(10px);
}

/* Крестик */

.header.open .header__burger-btn span {
    background-color: white;
    -webkit-box-shadow: 1px 1px #f8ca9d;
            box-shadow: 1px 1px #f8ca9d;
}

.header.open .header__burger-btn span:nth-child(1) {
    -webkit-transform: translateY(0) rotate(45deg);
        -ms-transform: translateY(0) rotate(45deg);
            transform: translateY(0) rotate(45deg);
}

.header.open .header__burger-btn span:nth-child(2) {
    opacity: 0;
}

.header.open .header__burger-btn span:nth-child(3) {
    -webkit-transform: translateY(0) rotate(-45deg);
        -ms-transform: translateY(0) rotate(-45deg);
            transform: translateY(0) rotate(-45deg);
}

.menu {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.menu__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    max-width: 500px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-left: auto;
}

.menu__item {
    display: inline-block;
}



.hero {
    border: 2px solid #3a973b;
    -webkit-box-shadow: 1px 1px #f8ca9d;
            box-shadow: 1px 1px #f8ca9d;
    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;
    padding: 1.5rem;
    max-height: 800px;
    height: 100%;
}

.hero__contacts {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.hero__location {
    margin-right: 2rem;
}

.phone,
.address {
    font-size: 20px;
    font-family: "Courier", sans-serif;
    color: black;
    line-height: 1.2;
    text-align: end;
}

.phone {
    font-weight: 700;
}


.social {
    position: absolute;
    right: -26px;
    top: -26px;

}

.social__li {
    line-height: 0;
    border: 1px solid #3a973b;
    padding: 5px;
}

.social__svg {
    max-width: 30px;
    max-height: 30px;
    outline: 1px solid #074207;
    border-radius: 7px;
}

.hero__content {
    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;
    padding-top: 50px;
    margin-bottom: 50px;
    margin-right: 30px;
    position: relative;
}

/* ABOUT US */

.about {
    margin-bottom: 70px;
}

.about__container {
    margin-bottom: 70px;
}

.about__txt {
    font-size: 24px;
    font-family: "Courier", sans-serif;
    color: rgb(0, 0, 0);
    line-height: 1.5;
    text-align: left;
}

.services {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.services__item {
    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: center;
        -ms-flex-align: center;
            align-items: center;
    max-width: 20%;
    text-align: center;
    font-size: 24px;
    font-family: "Courier", sans-serif;
    color: rgb(0, 0, 0);
    line-height: 1.5;
}

.services__img {
    max-height: 100px;
    margin-bottom: 30px;
}

.master__about {
    background-color: #f5e7de;
    border-radius: 20px;
}

.master__photo {
    border: 1px solid rgb(57, 138, 52);
    border-radius: 20px;
    max-width: 400px;
    max-height: 600px;
}

/* аккордеон */

.accordion {
    max-width: 600px;
    padding: 20px;
}

.prise__title {
    margin-bottom: 20px;
}

.acc-head {
    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;
    cursor: pointer;
    padding: 15px;
    border: 1px solid rgb(57, 138, 52);
    border-radius: 20px;
}

.acc-head:not(:last-child) {
    margin-bottom: 15px;
}

.prise_title {
    font-size: 24px;
    line-height: normal;
}

.btn_plus {
    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: 50px;
    height: 50px;
    border: none;
    background-color: #ECECEC;
    border-radius: 100%;
    font-size: 40px;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition: 1s ease;
    -o-transition: 1s ease;
    transition: 1s ease;
    padding: 0;
    margin: 0;
}

.acc-body {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 32px;
    color: #333333;
    padding-bottom: 20px;
    line-height: 2;
    font-family: "Courier", sans-serif;
}

.ui-accordion-header-active {
    padding-bottom: 20px;
}

.acc-head:hover,
.acc-head:focus-visible {
    border-color: orange;
    position: relative;
    z-index: 1;
}

.acc-head:hover .btn_plus path,
.acc-head:focus .btn_plus path {
    fill: #ECECEC;
}

.acc-head:hover .btn_plus,
.acc-head:focus-visible .btn_plus {
    background-color: orange;
    border-color: orange;
}

.acc-head:hover h3,
.acc-head:focus-visible h3 {
    color: orange;
}

.acc-head:focus-visible {
    outline: 0;
}

.acc-head.ui-state-active {
    border-bottom: 0;
    border-color: orange;
}

.acc-head.ui-state-active .btn_plus {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    background-color: #ECECEC;
}

.acc-head.ui-state-active .btn_plus path {
    fill: #666666;
}

.acc-head.ui-state-active h3 {
    color: orange;
}

.acc-body {
    padding-bottom: 20px;
    line-height: 2;
}

.prise_title span {
    color: #CACACA;
}

.prise__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    border: 1px solid #3a973b;
    border-radius: 10px;
    padding: 15px;
}

.prise__item_col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.prise__item:not(:last-child) {
    margin-bottom: 15px;
}

.prise__length_item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.footer {
    background-image: url(/img/hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 800px;
    position: relative;
    padding-top: 90px;
    padding-bottom: 90px;
}

.footer__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    width: 100%;
    border: 2px solid #3a973b;
    -webkit-box-shadow: 1px 1px #f8ca9d;
            box-shadow: 1px 1px #f8ca9d;
    padding: 40px;
}

.footer__logo {
    max-width: 350px;
    margin-bottom: 30px;
}

.footer__contact,
.footer__contact address {
    text-align: center;
    line-height: 30px;
}

#map {
    width: 600px;
    height: 400px;
    margin-right: 20px;
}

.footer__social {
    margin-right: -42px;
    margin-top: auto;
    margin-bottom: -42px;
}

.ymaps-2-1-79-map ymaps, .ymaps-2-1-79-map ymaps:after, .ymaps-2-1-79-map ymaps:before {
    -webkit-box-sizing: content-box;
            box-sizing: content-box;
    border-radius: 22px; }


  