@font-face {
    font-family: "Gilroy";
    font-weight: 400;
    src: url("/assets/fonts/GilroyRegular.ttf");
}

@font-face {
    font-family: "Gilroy";
    font-weight: 500;
    src: url("/assets/fonts/GilroyMedium.ttf");
}

@font-face {
    font-family: "Gilroy";
    font-weight: 600;
    src: url("/assets/fonts/GilroySemibold.ttf");
}

@font-face {
    font-family: "Gilroy";
    font-weight: 700;
    src: url("/assets/fonts/GilroyBold.ttf");
}

body {
    margin: 0;
    padding: 0 0 85px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;

    font-family: "Gilroy", sans-serif;
    background: #1c1e27;
    color: #fff;
}

.scroll,
.scroll2,
.scroll3 {
    overflow: hidden;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

a,
button,
input,
textarea {
    transition: 0.2s linear;
    font-family: "Gilroy", sans-serif;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

h1,
h2,
h3,
h4,
h5,
h5,
p {
    margin: 0;
    font-weight: normal;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    appearance: none;
}

.button {
    border: none;
    cursor: pointer;
    background: none;
    outline: none;
}

.input {
    outline: none;
    border: none;
    background: none;
    cursor: text;
}

.input::placeholder {
    color: #000;
}

.input:focus::placeholder {
    opacity: 0;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Шапка */
.header, .footer {
    background: #2c2e37;
    box-shadow: 0 0 15px #101020;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 85px;
}

.header__inner {
    width: 100%;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 15px;
}

.header__search--inner {
    position: relative;
    width: 215px;
}

.header__search--input {
    width: 100%;
    border-radius: 50px;
    border: 1px solid #fff;
    padding: 0.5rem 3rem 0.5rem 1rem;
    color: #fff;
}

.header__search--input::-webkit-input-placeholder {
    color: #aaa;
}

.header__search--button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    display: flex;
    padding: 0;
}

.header__menu {
    cursor: pointer;
}

.header__wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__city--inner {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: #fff;
}

.header__link--box {
    width: 25px;
    height: 25px;
}

.menu {
    display: none;
}

/* Main */
.main {
    padding: 2rem 0 2rem;
}

.main__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.breadcrumbs__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs__link {
    margin: 0.5rem 0.8rem 0.5rem 0;
    font-weight: 500;
    color: #aaa;
}

.breadcrumbs__link a {
    color: inherit;
    text-decoration: underline;
}

.breadcrumbs__link a:after {
    content: '';
    background: url(/assets/img/arrow-right.svg) no-repeat center center;
    width: 7px;
    height: 18px;
    display: block;
}

.breadcrumbs__link a {
    display: flex;
    gap: .5rem;
}

.main__title {
    width: 50%;
    font-weight: 600;
}

.promo-messenger,
.main__alert--block {
    padding: 1rem;
    color: #aaa;
    background: #2c2e37;
    box-shadow: 0 0 15px #101020;
    border-radius: 1rem;
}

.main__alert--block {
    width: 100%;
    text-align: center;
    margin: 1rem 0;
}

.promo-messenger a {
    color: #d50413;
    font-weight: 600;
}

.main__content {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.main__item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: calc(100% * (1 / 5));
    max-width: calc(100% * (1 / 4));
    padding: 2rem;
    background: #2c2e37;
    box-shadow: 0 0 15px #101020;
    border-radius: 1rem;
}

.main__up--inner {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: underline;

    font-weight: 600;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.main__up--icon {
    margin-right: 0.4rem;
}

.main__paggination--inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
}

.main__paggination {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    gap: 1rem;
}

.main__pag--link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 3px 0 0;
    text-decoration: none;
}

.main__pag--link:hover,
.main__pag--link.active {
    background: #d50413;
    text-decoration: none;
}

.main__pag--next {
    color: #fff;

    font-weight: 600;
}

.main__item--img--inner {
    width: 100%;
    margin-top: 1.2rem;
    display: flex;
}

.main__item--img {
    width: 100%;
    border-radius: 10px;
}

.main__item--wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main__item--metro--inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
}

.main__item--metro--item {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    color: #fff;

}

.main__item--metro--item:first-child {
    margin-top: 0;
}

.main__item--metro--icon {
    margin-right: 0.7rem;
}

.main__item--metro:first-child {
    margin-top: 0;
}

.main__item--likes {
    display: flex;
    flex-flow: wrap row;
    flex-direction: row-reverse;
    gap: .5rem;
    align-items: center;
    cursor: pointer;
}

.main__item--likes--icon {
    width: 25px;
    height: 25px;
}

.main__item--name--inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

.main__item--name,
.main__item--price {
    color: #fff;

}

.main__item--name {
    font-size: 1.25rem;
    font-weight: 600;
}

.main__item--points {
    display: flex;
    flex-flow: wrap row;
    width: 100%;
    gap: 1rem;
}

.main__item--point {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    text-align: center;
    border: 2px solid #9d0c19;
    border-radius: 5px;
    padding: 0.5rem 0;
    width: calc(100% * (1/3) - 11px);
}

.main__item--point--icon {
    margin-right: 0.5rem;
}

.main__item--point--icon:last-child {
    margin-right: 0;
}

.main__item--box {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 1rem;
}

.main__item--favorite {
    display: flex;
    width: 25px;
    align-items: baseline;
    cursor: pointer;
}

.main__item--favorite--icon {
    width: 100%;
}

/* Текстовый блок */
.textblock {
    padding: 1rem 0;
}

.textblock__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #aaa;
}

.textblock__inner h2 {
    letter-spacing: 0.02em;
    font-weight: 600;
}

.textblock__inner p {
    margin-top: 1rem;
}

.textblock__inner ul {
    margin-top: 1rem;
    padding-left: 1rem;
}

.textblock__inner li {
    list-style-type: disc;
}

/* Футер */
.footer__inner {
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 15px;
}

.footer__copy {
    color: #999;
    font-weight: 500;
}

.footer__link {
    color: #fff;
    font-weight: 500;

}

.footer__item {
    max-width: 340px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer__item--link {
    color: #fff;
}

.footer__copy {
    color: rgba(255, 255, 255, 0.7);
}

.footer__social--link {
    display: flex;
    align-items: center;
    margin-top: 1.2rem;
    color: #fff;
}

.footer__social--icon {
    margin-right: 1.2rem;
}

/* Модальное меню */
.modal__menu {
    width: 100%;
    position: absolute;
    height: calc(100vh - 65px);
    top: 65px;
    /*bottom: 0;*/
    left: 0;
    z-index: 51;
    opacity: 0;
    /*overflow-y: auto;*/
    transform: translateX(-110%);
    transition: 0.3s ease-in-out;
}

.modal__menu.active {
    opacity: 1;
    transform: translateX(0);
    backdrop-filter: blur(5px);
}

.modal__menu--content {
    background: #1c1e27;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: inset 0 0 15px #101020;
}

.posr {
    position: relative;
}

.modal__cross {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

.modal__menu--content .container {
    display: flex;
    flex-flow: wrap row;
}

.modal__menu--sub {
    width: calc(100% - 180px);
    max-height: 623px;
    overflow: hidden;
    overflow-y: auto;
}

.menu__sub--close {
    display: none;
    width: 100%;
    height: 51px;
    align-items: center;
    padding: 0 .5rem;
}

.menu__sub--close:before {
    content: '';
    background: url(/assets/img/arrow-right.svg) no-repeat center center;
    background-size: 100%;
    width: 7px;
    height: 51px;
    transform: rotate(180deg);
    margin: 0 0.5rem 0 0;
}

.menu__sub--close:after {
    content: 'Назад';
    line-height: 50px;
    display: flex;
    align-items: center;
}

.modal__menu--link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.modal__menu--wrap {
    width: max-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.modal__link--box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 180px;
    padding: 1rem;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 1px solid #2c2e37;
}

.modal__menu--link:last-child .modal__link--box {
    border-bottom: none;
}

.modal__menu--arrow {
    margin-left: 0.8rem;
    transition: 0.2s linear;
}

.modal__link--box.active .modal__menu--arrow {
    transform: rotate(-90deg);
}

.modal__menu--podlinks {
    display: none;
    width: auto;
    min-width: 280px;
    max-width: calc(100% - 1rem);
    max-height: 100%;
    min-height: 100%;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    overflow-y: auto;
    background: #2c2e37;
    margin: 0 0 0 1rem;
}

.modal__menu--podlinks.active {
    display: flex;
}

.modal__menu--podlink {
    width: 100%;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem .5rem;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.modal__menu--podlink:hover {
    color: #fff;
    background: #3f3f3f;
}

.modal__menu--podlink .count {
    position: absolute;
    right: 1rem;
}

.cols-5 .modal__menu--podlink {
    width: calc(100% * (1 / 5));
}

.cols-1 .modal__menu--podlink {
    width: max-content;
    min-width: 280px;
}

.cols-1 {
    flex-direction: column;
    width: max-content;
}

/* Карточка */
.w100 {
    width: 100%;
}

.card__box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 1rem 0;
}

.card__title {
    color: #fff;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.card__map {
    width: 100%;
    height: 420px;
    border: none;
    max-width: 1066px;
}

.review__box {
    width: 100%;
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.review__content--inner {
    width: calc(100% * (1 / 2));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.review__content p {
    color: #fff;
}

.review__content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
    gap: 1rem;
}

.review__item {
    width: 100%;
    padding: 1rem;
    background: #2c2e37;
    box-shadow: 0 0 15px #101020;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card__comment--not {
    width: 100%;
    color: #aaa;
}

.warning__comment {
    color: #ffaaaa;
    width: 100%;
    text-align: center;
    padding-top: 1rem;
}

.success__comment {
    color: #10ff7b !important;
    width: 100%;
    text-align: center;
    padding-top: 1rem;
}

.review__ava--inner {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.review__ava {
    width: 60px;
}

.review__stars {
    display: flex;
    align-items: center;
}

.review__star {
    margin-right: 0.6rem;
}

.review__star:last-child {
    margin-right: 0;
}

.review__name {
    color: #fff;

    font-weight: 600;
}

.review__text {
    color: #fff;
    margin-top: 0.8rem;

}

.review__leave--block {
    width: calc(100% * (1 / 2));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #2c2e37;
    box-shadow: 0 0 15px #101020;
    border-radius: 1rem;
    padding: 1rem;
}

.review__more {
    color: #fff;
    text-decoration: underline;
    margin-top: 1.2rem;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.default__button {
    color: #fff;
    background: #d50413;
    padding: .5rem 1rem;
    border-radius: 1rem;
    font-weight: 400;
}

.default__button:hover {
    background: #87020b;
}

.captcha {
    width: calc(100% * (1 / 2));
    height: 33px;
    border-radius: 50px;
}

.uslugi__inner {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
}

.uslugi__content {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 1rem 0;
}

.uslugi__item--inner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.uslugi__item {
    width: calc(100% * (1 / 3) - 0.70rem);
    background: #2c2e37;
    box-shadow: 0 0 15px #101020;
    border-radius: 50px;
    padding: .5rem 1rem;
    color: #fff;
}

.about__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 6.5rem;
}

.card__text {
    color: #fff;
    max-height: 120px;
    overflow: hidden;
    overflow-y: auto;
}

.card__form--content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 1rem;
    gap: 1rem;
}

.card__reviews--captcha {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card__form--half {
    width: 48%;
}

.card__form--input {
    width: 100%;
    padding: .5rem 1rem;
    color: #aaa;
    font-weight: 500;
    background: #101020;
    border-radius: 50px;
    border: 1px solid transparent;
    transition: 0.2s linear;
}

.card__form--input::-webkit-input-placeholder {
    color: #aaa;
}

.card__form--input:focus {
    border: 1px solid #d50413;
}

.mt3 {
    margin-top: 3rem;
}

.card__form--review {
    width: 48%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card__form--text {

    font-weight: 500;
    color: #fff;
}

.card__form--review--stars {
    display: flex;
    align-items: center;
}

.card__form--review--star {
    margin-right: 0.6rem;
}

.card__form--review--star:last-child {
    margin-right: 0;
}

.card__form--full {
    width: 100%;
}

.card__form--textarea {
    width: 100%;
    resize: none;
    height: 100px;
    background: #101020;
    color: #aaa;
    border-radius: 20px;
    padding: 1rem;
    font-weight: 500;
}

.card__form--textarea::placeholder {
    color: #aaa;
}

.card__form--agree--inner {
    margin-top: 1.5rem;
    width: 100%;
}

.checkbox {
    display: none;
}

.checkbox:checked + label:after {
    opacity: 1;
}

.card__form--agree--label {
    color: #fff;

    font-weight: 600;
    padding-left: 3rem;
    position: relative;
    cursor: pointer;
    display: block;
    width: 100%;
}

.card__form--agree--label:before {
    content: "";
    display: block;
    width: 21px;
    height: 21px;
    border-radius: 4px;
    border: 1px solid #fff;
    position: absolute;
    top: -2px;
    left: 0;
}

.card__form--agree--label:after {
    content: "";
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background: #fff;
    position: absolute;
    top: 3px;
    left: 5px;
    opacity: 0;
    transition: 0.2s linear;
}

.card__price--inner {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.card__price--text {
    color: #aaa;

}

.card__price--box {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card__price--item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .5rem;
}

.card__price--item:first-child {
    margin-top: 0;
}

.card__price--subtext {
    color: #fff;
}

.card__work--text {
    color: #fff;
    margin-top: 2rem;

    font-weight: 500;
}

.card__work--inner {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.card__work--item {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    background: rgba(213, 4, 19, 0.5);
    border: 2px solid rgba(213, 4, 19, 0.5);
    color: #fff;
    text-transform: uppercase;

    font-weight: 500;
}

.card__work--item.empty {
    background: #1c1e27;
}

.card__work--item:last-child {
    margin-right: 0;
}

.card__main {
    width: 100%;
    display: flex;
    margin: 1rem 0;
}

#mainCarousel {
    margin: 1rem 0;
}

#mainCarousel .carousel__slide {
    padding: 0;
}

#mainCarousel .carousel__viewport {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 15px #101020;
}

#mainCarousel .carousel__slide {
    display: flex;
}


.carousel__track {
    height: 550px;
    overflow: hidden;
    overflow-y: auto;
}

#thumbCarousel {
    margin: 1rem 0;
}

#thumbCarousel .carousel__viewport {
    border-radius: 1rem;
}


#thumbCarousel .carousel__track {
    gap: 1rem;
}

#thumbCarousel .carousel__slide {
    padding: 0;
    display: flex;
}

.card__main--img--inner {
    padding: 0 1.5rem 1.5rem 0;
    width: calc(100% * (1 / 3));
}

.card__main--img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 10px;
    cursor: pointer;
}

.card__main--info--inner {
    width: calc(100% * (2/3));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card__main--info {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    column-gap: 2rem;
    row-gap: 1rem;
}

.card__main--box {
    width: calc(100% * (1 / 2));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    background: #2c2e37;
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem 0;
    box-shadow: 0 0 15px #101020;
}

.card__main--points {
    width: 100%;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
}

.card__info--inner {
    color: #fff;
}

.card__main--point {
    width: 100%;
    color: #aaa;
    display: flex;
    justify-content: space-between;
}

.card__main--point a {
    color: inherit;
    text-decoration: underline;
}

.bold {
    font-weight: 600;
}

.card__main--social {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 1.2rem;
}

.card__main--social--link {
    margin-right: 0.8rem;
    display: flex;
}

.card__main--social--link:last-child {
    margin-right: 0;
}

.card__main--subname {
    color: #fff;
}

.card__main--name--inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 1rem;
}

.card__main--name {
    font-weight: 600;
    color: #fff;
}

.card__main--likes {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.card__main--likes--icon {
    margin-bottom: 0.7rem;
    width: 25px;
    height: 25px;
}

.card__main--name--inner .main__item--box {
    flex-direction: row;
    gap: 1rem;
}

.card__main--links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.card__main--action {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.card__main--link {
    display: flex;
    align-items: center;
    margin-top: 0.9rem;

    color: #fff;
}

.card__main--link a {
    color: inherit;

}

.card__main--link--icon {
    margin-right: 0.9rem;
}

.card__main--link:first-child {
    margin-top: 0;
}

.card__main--buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    gap: 1rem;
}

.empty__button {
    background: transparent;
    border: 1px solid #d50413;
}

.empty__button:hover {
    background: #d50413;
    text-decoration: underline;
}

.card__main--wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2rem;
}

.card__pretitle {
    margin-top: 2.5rem;
    color: #fff;
    font-weight: 500;

}

.card__pretitle:first-child {
    margin-top: 0;
}

.card__pretext {
    margin-top: 1rem;
    color: #fff;

}

.main__photo--inner {
    width: 100%;
    display: flex;
    margin-top: 4.5rem;
    flex-wrap: nowrap;
    overflow-y: auto;
    padding-bottom: 1rem;
}

.main__photo--inner::-webkit-scrollbar {
    width: 100%;
    height: 4px;
}

.main__photo--inner::-webkit-scrollbar-thumb {
    background: #d50413;
}

.main__photo--inner::-webkit-scrollbar-track {
    background: #999;
}

.main__photo {
    width: 250px;
    margin-right: 2rem;
}

.main__photo:last-child {
    margin-right: 0;
}

.modal__carousel {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s linear;
}

.modal__carousel.active {
    opacity: 1;
    pointer-events: all;
}

.modal__carousel--inner {
    width: 700px;
}

.modal__carousel--content {
    max-width: 100%;
    max-height: 100%;
}

.modal__carousel--img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    margin: 0rem 1rem;
}

#mainCarousel .carousel__slide {
    width: 100%;
    align-items: flex-start;
    align-content: flex-start;
}

#mainCarousel .carousel__slide img {
    width: 100%;
    /*max-height: 679px;*/
}

.videobox {
    display: flex;
    width: 100%;
    height: 100%;
    background: #000;
}

.videobox video {
    width: 100%;
    height: 100%;
}

#mainCarousel .carousel__button {
    background: #D50413;
    color: white;
    width: 35px;
    height: 35px;
}

.carousel__button.is-next {
    right: 15px !important;
}

.carousel__button.is-prev {
    left: 15px !important;
}

.card__map {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(/assets/img/country.svg) #2c2e37 no-repeat center 80%;
    background-size: cover;
    border-radius: 1rem;
    box-shadow: 0 0 15px #101020;
}

.card__map span {
    background: #D50413;
    color: #fff;
    padding: 1rem;
    border-radius: .5rem;
    cursor: pointer;
}

.main__block--tel {
    margin: 1rem 0 1.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.notfound {
    min-height: calc(100vh - 118px - 90px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.notfound__link {
    margin-top: 10px;
    text-align: center;
    color: #fff;
    text-decoration: underline;
}

.notfound__text {

    color: #fff;
    text-align: center;
    font-weight: 600;
}

.notresult {
    width: 100%;
    min-height: calc(100vh - 341px - 91px);
}

.header__wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__main {
    display: flex;
    color: #fff;
}

.truncate {
    width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header__main {
    color: #fff;
}

.button-box {
    width: 100%;
}

.button-box-box {
    padding: 2rem;
    background: #2c2e37;
    box-shadow: 0 0 15px #101020;
    border-radius: 1rem;
}

.button-box-box a {
    color: #fff;
    text-decoration: underline;
}

/* Адаптив */
@media (max-width: 1620px) {
    .container {
        max-width: 1180px;
    }

    .header__nav--link {
        margin-right: 2rem;
    }

    .textblock__text {
        margin-top: 2rem;
    }

    .card__content--info {
        max-width: 410px;
        margin-left: 1.5rem;
    }

    .card__img--main .card__img--box {
        height: 100%;
    }

    .card__main--img--inner {
        max-width: 400px;
    }

    .main__photo {
        width: 190px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 978px;
    }

    .header__nav--home {
        margin-right: 2rem;
    }

    .header__search--inner {
        width: 170px;
    }

    .card__work--item {
        margin: 0.5rem;
        width: 45px;
        height: 45px;
    }

    .review__box {
        flex-direction: row;
        align-items: flex-start;
    }

    .card__main--buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .main__item {
        width: calc(100% * (1/4));
        max-width: calc(100% * (1/3));
    }

    .main__item--point {
        width: calc(100% * (1/2) - 8px);
    }

    .card__main--button {
        width: 100%;
    }
}

@media (max-width: 998px) {
    .container {
        max-width: 748px;
    }

    .header__nav,
    .header__city {
        display: none;
    }

    .header__home--mobile {
        display: flex;
        margin-left: 1.5rem;
        flex-shrink: 0;
    }

    .header__search--inner {
        width: 100%;
    }

    .card__main--info--inner {
        width: 100%;
    }

    .card__main--button {
        width: auto;
    }

    .main__img {
        min-height: 570px;
    }

    .card__content {
        flex-direction: column;
        align-items: center;
    }

    .card__content--info {
        max-width: 100%;
        margin: 3rem 0 0 0;
    }

    .promo-messenger {
        width: 100%;
    }

    .main__item {
        width: calc(100% * (1/3));
        max-width: calc(100% * (1/2));
    }

    .main__item--point {
        width: calc(100% * (1/3) - 11px);
    }

    .footer__inner {
        flex-wrap: wrap;
    }

    .main__content {
        justify-content: space-between;
    }

    .card__map {
        height: 340px;
    }

    .review__content--inner,
    .review__leave--block {
        width: 100%;
    }

    .uslugi__inner {
        flex-direction: column;
        align-items: center;
    }

    .price__content {
        margin-top: 3rem;
    }

    .uslugi__item {
        width: calc(100% * (1/2) - 15px);
    }

    .card__main--buttons {
        flex-direction: row;
    }

    .card__main {
        flex-direction: column;
        align-items: center;
    }

    .about__inner {
        margin-top: 4rem;
    }

    .main__photo--inner {
        margin-top: 2rem;
    }

    .card__main--img--inner {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .card__main {
        justify-content: center;
    }

    .modal__menu--podlink {
        width: 30%;
    }

    .cols-5 .modal__menu--podlink {
        width: calc(100% * (1/2));
        min-width: calc(100% * (1/2));
    }

    .main__block--tel {
        flex-direction: column;
        align-items: flex-start;
        margin: 0 0 2rem;
    }

    .main__title {
        width: 100%;
        margin: 0 0 1rem;
    }

    .menu__sub--close {
        display: flex;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 650px;
    }

    .modal__link--box {
        width: 100%;
    }

    .main__paggination--inner {
        flex-direction: column-reverse;
    }

    .card__text,
    .review__text {
        margin-top: 1.5rem;
    }

    .card__pretitle {
        margin-top: 3rem;
    }

    .underline {
        padding-top: 3rem;
    }

    .card__map {
        height: 250px;
    }

    .card__img--verfy {
        top: 10px;
        left: 10px;
    }

    .promo-messenger {
        width: 100%;
    }

    .main__item {
        width: calc(100% * (1/3));
        max-width: calc(100% * (1/2));
    }

    .cols-5 .modal__menu--podlink {
        width: calc(100% * (1 / 2));
        min-width: calc(100% * (1 / 2));
    }

    .extract {
        bottom: 10px;
        right: 10px;
        width: 25px;
    }

    .card__img--verfy {
        padding: 0.7rem 1rem;
    }

    .card__img--verify--img {
        width: 35px;
    }

    .main__item {
        padding: 1rem;
        width: calc(100% * (1/3));
        max-width: calc(100% * (1/2));
    }

    .main__pag--link {
        width: 25px;
        height: 25px;

    }

    .main__item:last-child {
        margin-bottom: 0;
    }

    .textblock .container {
        max-width: 100%;
    }

    .uslugi__content {
        max-width: 100%;
    }

    .review__item {
        width: 100%;
    }

    .uslugi__item {
        width: calc(100% * (1/2) - 15px);
    }

    .card__main--buttons {
        flex-direction: row;
    }

    .card__main--button {
        width: 45%;
    }

    .main__photo {
        width: 120px;
    }

    .modal__menu {
        top: 65px;
        height: calc(100vh - 85px);
    }

    .modal__carousel--inner {
        width: 90%;
    }

    .modal__menu--podlink {
        width: 45%;
    }

    .card__main--info {
        flex-direction: column;
        align-items: flex-start;
    }

    .card__reviews--captcha {
        flex-direction: column;
        align-items: flex-start;
    }

    .card__main--box {
        width: 100%;
    }

    .main__item--point {
        width: calc(100% * (1/4) - -13px);
        max-width: calc(100% * (1/3));
    }


    .modal__menu--wrap {
        width: 100%;
    }

    .modal__menu--content .container {
        width: 100%;
        max-width: 100%;
    }

    .cols-5 .modal__menu--podlink,
    .cols-1 .modal__menu--podlink {
        width: 100%;
        max-width: 100%;
    }

    .modal__menu--podlinks.active {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        gap: 0;
        min-width: 100%;
        min-height: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 90%;
    }

    .review__box {
        flex-direction: column;
    }

    .main__img {
        min-height: 500px;
    }

    .card__main--img--inner,
    .card__main--info--inner {
        width: 100%;
        max-width: 100%;
    }

    .main__item--point {
        width: calc(100% * (1/2) - 8px);
        max-width: calc(100% * (1/2));
    }

    .footer__inner {
        flex-direction: column;
        align-items: center;
    }

    .footer__link {
        margin-top: 1rem;
    }

    #thumbCarousel .carousel__slide {
        padding: 0 !important;
    }

    .main__item {
        width: 100%;
        max-width: 100%;
    }

    .uslugi__item {
        width: 100%;
    }

    .uslugi__kit {
        padding: 1.2rem 2rem;
    }

    .card__wrap {
        flex-wrap: wrap;
    }

    .card__item--name--inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .card__warn--button,
    .card__check {
        margin-top: 1rem;
    }

    .card__item--name--box {
        width: 100%;
        justify-content: space-between;

    }

    .card__wrap--item {
        width: 100%;
    }

    .card__wrap--social--link {
        margin: 1rem 1rem 0 0;
    }

    .card__img--icon {
        width: 25px;
    }

    .card__scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2rem;
    }

    .card__scroll--item {
        width: 100%;
        flex-shrink: 0;
    }

    .main__paggination--inner {
        margin-top: 2rem;
    }

    .card__img--wrapper {
        height: 100px;
    }

    .main__item--phone {
        padding: 2rem 1rem;
    }

    .header__menu {
        display: none;
    }

    .menu {
        display: block;
        cursor: pointer;
        margin-left: 1rem;
    }

    .footer__item,
    .footer__item:last-child {
        max-width: 100%;
    }

    .card__main--info.mobile {
        flex-direction: column;
        align-items: flex-start;
    }

    .card__form--half,
    .card__form--review {
        width: 100%;
    }

    .card__form--half:nth-child(2) {
        margin-top: 2rem;
    }

    .mt3 {
        margin-top: 2rem;
    }

    .modal__menu {
        top: 66px;
        height: calc(100vh - 66px);
    }

    .main__photo {
        margin-right: 1rem;
    }

    .review__form--button {
        width: 100%;
    }

    .captcha {
        max-width: 100%;
        width: 100%;
        height: 50px;
    }
}

@media (max-width: 375px) {
    .header__city--inner {
        margin: 0;
        padding: 0;
    }

    .main__item {
        width: 100%;
        max-width: 100%;
    }

    .main__block--tel {
        margin: 0;
    }

    .main__title {
        margin: 0 0 1rem;
    }

    .main__content {
        margin: 2rem 0;
    }

    .card__box .main__content {
        margin: 0;
    }

    .main__item--point {
        width: calc(100% * (1 / 3.36));
    }

    .textblock .container {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .footer__item {
        justify-content: center;
    }

    .card__main--buttons {
        flex-direction: column;
    }

    .card__main--img--inner {
        width: 100%;
    }

    #thumbCarousel .carousel__slide {
        padding: 0 !important;
    }

    .card__price--inner {
        flex-direction: column;
    }

    .card__price--box {
        width: 100%;
    }
}