@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

html, body {
    height: 100%;
}
body{
    margin: 0;
    background: #f9f9f9;
    font-family: 'Montserrat', sans-serif;
}
.page-container{
    min-height: 100%;
}
.header {
    height: 156px;
    max-height: 156px;
    background: #231F20;
}
.header__logo {
    width: auto;
    height: 100%;
    float: right;
    padding: 5px;
    box-sizing: border-box;
}
.header__logo img{
    width: auto;
    height: 100%;
    float: right;

}

.header__logo_min {
        display: none;
    }
.header__container {
    height: 100%;
}
.header__menu {
    max-width: 661px;
    float: left;
}
.header__menu ul {
    margin: 0;
    padding: 0;
}
.header__menu li {
    display: inline-block;
    float: left;
    padding: 0 27px;
    font-size: 32px;
    line-height: 156px;
    color: #fff;
}
.header__menu li:first-child{
    /*padding-left: 0 !important;*/
}
.header__menu li:last-child{
    /*padding-right: 0 !important;*/
}

.header__menu a{
    color: #f9f9f9;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}
.header__menu a:hover{
    color: #D1D2D4;
    text-decoration: none;
}
.block {
    width: 1128px;
    margin: 0 auto;
    box-sizing: border-box;
}
.h-center {
    text-align: center;
}
@media (max-width: 1280px){
    .block {
        width: 960px;
        margin: 0 auto;
    }
}
@media (max-width: 990px){
    .block {
        width: 720px;
        margin: 0 auto;
    }
}
@media (max-width: 820px){
    .block {
        width: 660px;
        margin: 0 auto;
    }
}
@media (max-width: 690px){
    .block {
        width: 100%;
        margin: 0 0;
        padding: 0 15px;
    }
}

.text-block-image{
    margin-top: 75px;
}
.text-block-image__text {
    display: block;
    width: 60%;
    float: left;
    color: #231F20;
    font-size: 24px;
    text-align: center;
}
.text-block-image__text h1{
    color: #231F20;
    font-size: 36px;
    margin-top: 0;
}
.text-block-image__img {
    display: block;
    width: 40%;
    float: right;
    text-align: right;
}
.text-block-image__img img {
    text-align: right;
}
.text-block h1{
    font-size: 34px;
}
.text-block {
    margin-top: 64px;
    font-size: 20px;
    color: #231F20;
    text-align: justify;
}
.text-block.text-block_left {
    text-align: left;
}
.category {
    margin-top: 74px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(100px, auto);
}
.category__item {
    position: relative;
    width: 100%;
    max-height: 444px;
    background: #D9D9D9;
    overflow: hidden;
    box-shadow: 0px 4px 36px 2px rgba(49, 49, 49, 0.3);
}
.category__item img{
    width: 100%;
    height: auto;
    min-height: 100%;
    transition: all 0.3s ease-in-out;
}
.category__caption{
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 5px 0 10px;
    font-size: 32px;
    line-height: 90%;
    text-align: center;
    color: #000000;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 41.15%);
    transition: all 0.3s ease-in-out;
}
.category__item:hover img {
    transform: scale(1.05);
}
.category__item:hover .category__caption {
    transform: scale(1.05);
}


.clr {
    width: 100%;
    height: 0;
    clear: both;
}
.hfotter {
    height: 242px;
    margin-top: 64px;
}
footer {
    min-height: 242px;
    width: 100%;
    margin-top: -242px;
    padding: 15px 0;
    background: #231F20;
    color: #f9f9f9;
    box-sizing: border-box;
}
.footer__contact a{
    color: #f9f9f9;
    text-decoration: none;
}
.footer__contact{
    margin-top: 15px;
    width: 400px;
    float: left;
}
.footer__img {
    display: inline-block;
    margin-top: 40px;
    float: right;
}
.footer__menu {
    width: 412px;
    float: left;
}
.footer__menu a {
    color: #f9f9f9;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}
.footer__menu ul{
    margin: 0;
    padding: 0;
}
.footer__menu li{
    display: block;
    float: none;
    width: 150px;
    padding: 15px 0;
    line-height: 24px;
    font-size: 18px;
}
.footer__cr {
    width: 100%;
    margin-top: 16px;
    font-size: 15px;
    text-align: center;
}
.footer__sites{
    display: flex;
    /*justify-content: center;*/
    justify-content: space-evenly;
    flex-basis: 30%
}
.footer__sites a {
    display: flex;
    margin: 10px  15px;
    align-items: center;
}

.footer__sites img{
    max-height: 50px;
    max-width: 100%;
}
.footer__sites img.vert{
    max-height: 75px;
}
.footer__sites img.vert-q{
    max-height: 75px;
    height: 75px;
}


@media (max-width: 655px) {
    .footer__sites img.vert-q {
        max-height: 50px;
        height: 50px;

    }
    .footer__sites img.vert {
        max-height: 50px;
    }

    /*.footer__sites{*/
    /*    display: flex;*/
    /*    flex-direction: column;*/
    /*    justify-content: center;*/
    /*    align-items: center;*/
    /*}*/
}
.gallery {
    margin-top: 74px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(100px, auto);
}
.gallery_3i {
    margin-top: 74px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(100px, auto);
}
.gallery__item {
    position: relative;
    width: 100%;
    max-height: 444px;
    /*background: rgba(49, 49, 49, 0.3);*/
    overflow: hidden;
    text-align: center;
    /*box-shadow: 0px 4px 36px 2px rgba(49, 49, 49, 0.3);*/
    cursor: pointer;
}
.gallery__item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery_3i .gallery__item img {
    width: 100%;
    height: auto;
}
.form__text h1 {
    margin-top: 0;
}
.form__text {

    width: 50%;
    float: left;
    font-size: 18px;
    padding-right: 30px;
    box-sizing: border-box;
}
.form__form {
    width: 50%;
    float: left;
}
.form__form label {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}
.form__form input::placeholder, .form__form textarea::placeholder {
    color: #D1D2D4;
    font-size: 15px;
}

.form__form input:active, .form__form input:focus,
.form__form textarea:active, .form__form textarea:focus {
    background: linear-gradient(360deg, #FFFFFF 15%, rgba(255, 255, 255, 0) 100%)
}
.form__form input {
    width: 100%;
    padding: 5px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #231F20;
    background: #f9f9f9;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #231F20;
    box-sizing: border-box;
    outline:none;
}
.form__form textarea {
    width: 100%;
    padding: 5px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #231F20;
    box-sizing: border-box;
    background: #f9f9f9;
    outline:none;
}

.feedback label {
    position: relative;
}
.feedback__error{
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -16px;
    font-size: 11px ;
    font-weight: 400;
    text-transform: none;
    color: red;
}
.feedback__error.feedback__captcha-error {
    position: relative;
}

.feedback label.error textarea,
.feedback label.error input {
    border-bottom-color: red;
}
.form__form.success{
    display: none;
}
.btn {
    /*min-width: 290px;*/
    width: 100%;
    height: 40px;
    padding: 5px 15px;
    margin-top: 20px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    background: #D1D2D4;
    box-shadow: 0px 4px 4px rgba(64, 26, 40, 0.25);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.btn.loading {
    position: relative;
    font-size: 0;
    cursor: wait !important;
}
.btn.loading:after {
    content: " ";
    position: absolute;
    display: block;
    width: 23px;
    height: 23px;
    top: 6px;
    left: 50%;
    margin: 0 0 0 -15px;
    border-radius: 50%;
    border: 3px solid #fff;
    border-color: #231F20 #231F20 #231F20 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.g-recaptcha > div {
    margin: 0 auto;
}
@media (max-width: 1280px){
    .header__menu li {
        display: inline-block;
        float: left;
        padding: 0 27px;
        font-size: 30px;
        line-height: 156px;
        color: #fff;
    }
    .category__caption {
        font-size: 26px;
    }
    .text-block h1{
        font-size: 30px;
    }
    .text-block {
        margin-top: 36px;
        font-size: 18px;
    }
    .footer__contact {
        width: 300px;
    }
    .footer__menu {
        width: 250px;
    }
}
@media (max-width: 990px){
    .header__menu li {
        display: inline-block;
        float: left;
        padding: 0 15px;
        font-size: 22px;
        line-height: 130px;
        color: #fff;
    }
    .text-block-image__text h1 {
        font-size: 30px;
    }
    .text-block-image__text {
        font-size: 20px;
    }
    .category__caption {
        font-size: 20px;
    }
    .text-block h1 {
        font-size: 26px;
    }
    .text-block {
        margin-top: 36px;
        font-size: 15px;
    }
    .gallery_3i {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__contact {
        width: 200px;
    }
}
@media (max-width: 820px){
    .header__menu li {
        display: block;
        float: none;
        padding: 0 5px;
        font-size: 22px;
        line-height: 51px;
    }
    .text-block-image {
        position: relative;
    }
    .text-block-image__text h1 {
        font-size: 25px;
    }
    .text-block-image__text {
        width: 100%;
        float: right;
        font-size: 20px;
        padding: 190px 0 0;
    }
    .text-block-image__img {
        position: absolute;
        top: 0;
        left: 0;
        text-align: center;
        width: 100%;
        float: left;
    }

    .category {
        margin-top: 74px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        grid-auto-rows: minmax(100px, auto);
    }
    .form__text {
        width: 100%;
    }
    .form__form {
        width: 100%;
    }
    .footer__menu {
        width: 185px;
    }
    .footer__contact {
        width: 200px;
    }
}
@media (max-width: 690px){
    .header__logo {
        display: none;
    }
    .header__logo_min {
        display: block;
        text-align: center;
        float: right;
        height: 100%;
        padding: 5px;
        box-sizing: border-box;
        /*margin-right: -15px;*/
    }
    .header__logo_min img{
        height: 100%;
        max-width: 200px;
    }
    /*.header__menu {*/
    /*    text-align: center;*/
    /*    width: 100%;*/
    /*}*/
    /*.header__menu ul {*/
    /*    display: inline-block;*/
    /*    padding: 0;*/
    /*}*/
    /*.header__menu li {*/
    /*    display: inline-block;*/
    /*    float: none;*/
    /*    padding: 0 2px;*/
    /*    font-size: 18px;*/
    /*    line-height: 51px;*/
    /*}*/
    .text-block-image__text {
        padding: 190px 0 0;
    }
    .category {
        margin-top: 74px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        grid-auto-rows: minmax(100px, auto);
    }
    .category__caption {
        font-size: 28px;
        background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 41.15%);
    }
    .gallery_3i {
        grid-template-columns: repeat(1, 1fr);
    }
    .footer__img {
        width: 100%;
        float: none;
        margin: 24px auto;
        text-align: center;
    }
    .footer__img img {
        /*display: block;*/
    }
    /*.text-block-image {*/
    /*    position: relative;*/
    /*}*/
    /*.text-block-image__text h1 {*/
    /*    font-size: 20px;*/
    /*}*/
    /*.text-block-image__text {*/
    /*    width: 100%;*/
    /*    float: right;*/
    /*    padding: 200px 0 0;*/
    /*}*/
    /*.text-block-image__img {*/
    /*    position: absolute;*/
    /*    top: 0;*/
    /*    text-align: center;*/
    /*    width: 100%;*/
    /*    float: left;*/
    /*}*/
}
.caption_center{
    text-align: center;
}
.prices {
    margin: 34px auto 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(100px, auto);
    max-width: 670px;

}
.prices .prices__item {
    padding: 15px;
    background: #f9f9f9;
    /*color: #fff;*/
    border-radius: 6px;
    box-shadow: 0px 17px 29px -3px rgba(53, 57, 42, 0.51);
    transition: all 0.3s ease-in-out;
}
.prices .prices__item:hover {
    transform: scale(1.05);
    cursor: default;
}
.prices__caption {
    min-height: 78px;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
}
.prices__subtitle {
    margin-top: 18px;
    text-align: center;
    font-size: 19px;
}
.prices__subinfo {
    margin-top: 18px;
    text-align: center;
    font-size: 15px;
    color: rgb(206,23,25);
}

.prices__amount {
    margin-top: 6px;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
}

@media (max-width: 550px) {
    .prices {
        margin: 24px auto 32px;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    .prices__caption {
        min-height: 18px;
        text-align: center;
        font-size: 30px;
        font-weight: 600;
    }
}