/* Hero */
.hero .container-fluid {
    z-index: 2;
}

.hero__box {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider__slide {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-wrapper {
    width: 100%;
    max-width: 1370px;
    margin: 0 auto;
    padding: 26px 80px 20px 80px;
    background-color: rgba(255, 255, 255, .9);
    border: 1px solid rgba(62, 90, 143, .65);
    text-align: center;
}

.hero-slider {
    height: 100%;
    width: 100%;
}

.hero-side {
    width: 130px;
}

.hero-wrapper__social {
    display: none;
}

.hero__bg {
    display: none;
    width: 100%;
    height: 48vh;
}

/* Hero end */

/*About block*/

/* .section__left {
    padding-top: 180px;
    padding-bottom: 180px;
} */

.section__right {
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    width: 46%;
    padding-right: 0;
    padding-left: 0;
}

.about__image {
    background-color: #DCDCDC;
    height: 100%;
}

.about__box {
    height: 100%;
}

.section-block {
    position: relative;
    top: 0;
    left: 0;
}

.section-block__text {
    width: 55%;
}

.section-block__descr {
    padding-right: 40px;
}

/*About block end*/

/*Services block*/

.services-box {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.services-box__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    top: 0;
    left: 0;
    height: 355px;
    margin-right: 2px;
    margin-bottom: 2px;
    padding-right: 0;
    padding-left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -webkit-box-pack: end;
    -ms-flex-direction: column;
    -ms-flex-pack: end;
}

.services-box__image {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.services-box__img {
    min-width: 100%;
    height: 100%;
}

.services-box__text {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 87px;
    font-size: 20px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--white);
    background-color: rgba(199, 113, 37, .9);
}

.service-price {
    top: 28px;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 32px;
    padding: 4px 15px;
}

.service-price.include {
    background-color: #00A44A;
}

.service-price.exclude {
    background-color: var(--blue);
}

.service-price__text {
    font-size: 14px;
    font-family: var(--font_regular);
    letter-spacing: 0.5px;
    position: relative;
    color: var(--white);
}

.service-price.include .service-price__text {
    padding-left: 30px;
}

.service-price.exclude .service-price__text {
    padding-left: 35px;
}

.service-price__text::before {
    content: "";
    display: block;
    position: absolute;
    left: 2px;
    top: 0;
}

.service-price.include .service-price__text::before {
    width: 22px;
    height: 22px;
    background: url('../img/price_free.svg') no-repeat center/contain;
}

.service-price.exclude .service-price__text::before {
    left: -1px;
    top: -20%;
    width: 30px;
    height: 30px;
    background: url('../img/price_payment.svg') no-repeat center/contain;
}

/*Services block end*/

/*Gallery*/

.gallery-slide__plashka {
    display: block;
    width: 100%;
    top: 0;
    left: 0;
    height: 41%;
    background: linear-gradient(to bottom, var(--blue), transparent);
    padding: 20px;
    text-align: center;
}

img.gallery-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-slide__plashka>img {
    object-fit: contain;
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

/*Gallery end*/

/*Footer*/

.footer {
    background-color: var(--black);
    padding-top: 114px;
    padding-bottom: 70px;
}

.footer * {
    color: var(--white);
}

.footer-box {
    padding-bottom: 49px;
    border-bottom: 1px solid rgba(236, 237, 239, .8);
    margin-bottom: 33px;
}

.footer-left__logo {
    width: 320px;
    margin-bottom: 7px;
    display: block;
}

.copyright {
    gap: 60px;
}

.copyright-text, body a.copyright-text {
    color: var(--white);
    font-family: var(--font_regular);
    font-size: 14px;
    line-height: 120%;
}

body a.copyright-text {
    text-decoration: underline;
    transition: color .3s ease-in-out;
}

body a.copyright-text:hover, body a.copyright-text:focus {
    color: var(--black);
    transition: color .3s ease-in-out;
}

/*Footer end*/

/*404*/
.not-found-wrap__box {
    gap: 90px;
    margin-bottom: 2.5rem;
}

.not-found-wrap__text p {
    font-size: 40px;
}

.not-found-wrap__textdop {
    border-radius: 20px;
    padding: 45px 78px;
    border: 1px solid rgba(60, 74, 90, 0.3);
    position: relative;
    bottom: -42px;
    background-color: var(--white);
}

.not-found-wrap__textdop p {
    font-size: 30px;
    font-family: var(--font_regular);
}

/*404 end*/

/*Media*/
@media (min-width:1921px) {
    .hero-wrapper {
        max-width: 1465px;
    }

    .section__right {
        width: 42%;
        margin-left: auto;
    }

    /* .services-box__text {
        min-height: 4vw;
        font-size: 0.8vw;
    } */

    .services-box__item {
        height: 12vw;
        max-height: 400px;
    }

    .service-price {
        height: fit-content;
        padding: 0.2vw 0.5vw;
    }

    .service-price__text {
        font-size: 16px;
    }

    /* .service-price.include .service-price__text::before {
        width: 0.8vw;
        height: 0.8vw;
    }

    .service-price.exclude .service-price__text::before {
        left: -0.4vw;
        width: 1.2vw;
        height: 1.2vw;
    }

    .service-price__text::before {
        left: -0.2vw;
    } */

    .gallery-slide__plashka>img {
        width: 2.2vw;
        height: 2.2vw;
    }

    .footer-left__logo {
        width: 15vw;
        margin-bottom: 0.4vw;
    }
}

@media (max-width:1700px) {
    .hero-side {
        display: none;
    }

    .hero-wrapper__social {
        display: block;
        width: fit-content;
    }
}

@media (max-width:1399px) {
    .hero-wrapper {
        padding: 22px 75px;
    }

    .services-box__item {
        height: 336px;
    }

    .footer {
        padding-top: 98px;
        padding-bottom: 60px;
    }

    .footer-box {
        padding-bottom: 40px;
        margin-bottom: 24px;
    }

    .footer-left__logo {
        width: 280px;
    }

    .copyright-text, body a.copyright-text {
        font-size: 13px;
    }

    .not-found-wrap__box {
        margin-bottom: 1rem;
    }

    .not-found-wrap__text p {
        font-size: 34px;
    }

    .not-found-wrap__textdop {
        padding: 35px 75px;
    }

    .not-found-wrap__textdop p {
        font-size: 25px;
    }
}

@media (max-width:1199px) {
    .hero-wrapper {
        padding: 20px 4vw;
    }

    .copyright {
        gap: 18px;
        flex-wrap: wrap;
    }

    .copyright-text, body a.copyright-text {
        font-size: 12px;
    }

    .not-found-wrap__textdop {
        bottom: -22px;
    }

    .services-box {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width:991px) {
    /* .hero-wrapper {
        padding-bottom: 10px;
    } */

    .section-block__text {
        width: 100%;
    }

    .section__right {
        width: 100%;
        height: 53vw;
        max-width: 768px;
    }

    .services-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-box__item {
        height: 315px;
    }

    .footer-box {
        flex-wrap: wrap;
    }

    .footer-left {
        width: 73%;
        order: 0;
    }

    .footer__list {
        order: 2;
    }

    .footer__social {
        order: 1;
    }

    .footer__contacts {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    ul:last-child.footer__contacts {
        margin-bottom: 40px;
    }

    .not-found-wrap__box {
        gap: 45px;
    }

    .not-found-wrap__text p {
        font-size: 30px;
    }

    .service-price__text {
        font-size: 0.8rem;
        letter-spacing: 0;
    }

    .service-price__text::before {
        left: 5px;
        top: 7%;
    }

    .service-price.include .service-price__text::before {
        width: 18px;
        height: 18px;
    }

    .service-price.exclude .service-price__text::before {
        left: 4px;
        top: -9%;
        width: 24px;
        height: 24px;
    }
}

@media (max-width:930px) and (max-height:420px) {
    .hero__box {
        display: none;
    }

    .hero__bg {
        display: block;
        height: 100vh;
        background-position: top center;
        position: absolute;
    }

    .hero-wrapper {
        padding: 20px 16px 0 16px;
        margin-bottom: 0;
    }

    .hero-inner {
        margin-top: 92px;
    }

    .section__right {
        width: 100%;
        height: 250px;
        max-width: 600px;
    }

    .services-box__text {
        min-height: 54px;
        font-size: 16px;
    }

    ul:last-child.footer__contacts {
        margin-bottom: 30px;
    }

    .footer {
        padding-top: 60px;
        padding-bottom: 36px;
    }

    .footer__social {
        margin-bottom: 30px;
    }

    .footer-box {
        padding-bottom: 24px;
        margin-bottom: 16px;
    }

    .copyright-box {
        flex-wrap: wrap;
    }

    .not-found-wrap__text p {
        font-size: 24px;
    }

    .not-found-wrap__textdop {
        bottom: -12px;
        padding: 25px 41px;
        border-radius: 14px;
    }

    .not-found-wrap__textdop p {
        font-size: 21px;
    }
}

@media (max-width:767px) {
    .hero__box {
        display: none;
    }

    .hero__bg {
        display: block;
    }

    .hero-wrapper {
        padding: 20px 16px 18px 8px;
        margin-bottom: 0;
    }

    .section-block__descr {
        padding-right: 0;
    }

    .section__right {
        height: 65vw;
    }

    .services-box__text {
        min-height: 54px;
        font-size: 16px;
    }

    .footer {
        padding-top: 60px;
        padding-bottom: 36px;
    }

    .footer-left__logo {
        width: 220px;
    }

    .footer-left {
        width: 100%;
    }

    .footer__contacts {
        column-gap: 20px;
        row-gap: 2px;
        flex-wrap: wrap;
    }

    ul:last-child.footer__contacts {
        margin-bottom: 34px;
    }

    .footer__social {
        margin-bottom: 34px;
    }

    .footer-box {
        padding-bottom: 24px;
        margin-bottom: 16px;
    }

    .copyright-box {
        flex-wrap: wrap;
    }

    .not-found-wrap__box {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .not-found-wrap__text {
        text-align: center;
    }

    .not-found-wrap__text p {
        font-size: 24px;
    }

    .not-found-wrap__textdop {
        bottom: -12px;
        padding: 25px 41px;
        border-radius: 14px;
    }

    .not-found-wrap__textdop p {
        font-size: 21px;
        text-align: center;
    }
}

@media (max-width: 680px) {
    .services-box {
        grid-template-columns: 1fr;
    }

    .services-box__item {
        height: 315px;
    }
}

@media (max-width:767px) and (max-height:420px) {
    .section__right {
        width: 100%;
        height: 250px;
        max-width: 600px;
    }

    .services-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-box__item {
        height: 195px;
    }

    .not-found-wrap__text {
        text-align: center;
    }
}

@media (max-width: 439px) {
    .services-box__item {
        height: 70vw;
    }

    .gallery-slide__plashka {
        padding: 14px;
    }

    .gallery-slide__plashka>img {
        width: 40px;
        height: 40px;
    }

    .footer-left__logo {
        width: 180px;
    }

    .not-found-wrap__text p {
        font-size: 26px;
    }

    .not-found-wrap__textdop {
        padding: 20px 16px;
    }

    .not-found-wrap__textdop p {
        font-size: 18px;
    }
}