.back {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2b2b2b;
    margin-bottom: 25px;
}
.header .btn {
    border: 2px solid #fff;
    background-color: transparent;
    display: inline-flex;
    font-size: 18px;
    height: 38px;
    justify-content: center;
    line-height: 24px;
    padding: 0px 16px;
}
.back__icon {
    width: 16px;
    height: 16px;
}
.back__text {
    font-size: 14px;
    font-weight: 200;
    line-height: 30px;
    text-decoration: none;
    padding-left: 10px;
}
.back:hover .back__text {
    opacity: .7;
}
.back:hover .back__icon .cls-1 {
    fill: #b69269;
}
.projects .projects__slider .swiper-slide {
    text-decoration: none;
    color: #000;
}
.projects .projects__slider .swiper-slide:hover .projects__slider__item__caption {
    color: #a67c52;
}

.soc-links {
    display: flex;
    margin-top: 60px;
    justify-content: start;
    gap: 20px;
}

.soc-links__less__margin {
    margin-top: 25px;
}

.soc-links__icon {
    width: 36px;
    display: block;
}

.soc-links__icon .cls-1 {
    fill: #000;
}

.soc-links__icon:hover .cls-1 {
    fill: #bd8f62;
}

.project-single__gallery__item:hover,
.project-single__gallery__item:focus,
.project-single__gallery__item:active {
    outline: none !important;
}

.project-single__gallery__item:after,
.project-list__item__caption {
    display: none !important;
}


@media (max-width: 768px) {
    .projects .projects__tabs {
        justify-content: space-around;
    }
    .soc-links {
        justify-content: center;
        margin-top: 30px;
    }
}

.th-header {
    position: relative;
    z-index: 20;
    font-family: "Stem", Arial, Helvetica, sans-serif;
}

.th-header a {
    text-decoration: none;
}

.th-header__top {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}

.th-header__bottom {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}

.th-header__row {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.th-header__logo img {
    width: 196px;
    max-width: 100%;
    height: auto;
    display: block;
}

.th-header__menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.th-header__menu a {
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 400;
}

.th-header__menu a:hover {
    color: #e13a3e;
}

.th-header__phone {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.th-header__buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.th-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #dadada;
    color: #1a1a1a;
    background: #fff;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 500;
}

.th-header__btn--catalog {
    background: #e13a3e;
    border-color: #e13a3e;
    color: #fff;
}

.th-header__login {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.th-header__login:hover {
    color: #e13a3e;
}

@media (max-width: 1200px) {
    .th-header__menu {
        gap: 16px;
    }
    .th-header__menu a {
        font-size: 14px;
    }
    .th-header__phone {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .th-header__menu,
    .th-header__phone,
    .th-header__login {
        display: none;
    }
    .th-header__row {
        min-height: 60px;
    }
}

.th-footer {
    background: #15171c;
    color: #c9cdd5;
    padding: 56px 0 54px;
    font-family: "Stem", Arial, Helvetica, sans-serif;
}

:root {
    --bs-font-sans-serif: "Stem", Arial, Helvetica, sans-serif;
}

body {
    font-family: "Stem", Arial, Helvetica, sans-serif;
}

.b24-window-panel,
.b24-window-panel * {
    font-family: "Stem", Arial, Helvetica, sans-serif !important;
}

.th-footer .container {
    max-width: 1280px;
}

.th-footer__grid {
    display: grid;
    grid-template-columns: 300px 190px 190px 250px;
    column-gap: 48px;
    align-items: start;
    justify-content: center;
}

.th-footer__logo img {
    width: 206px;
    height: auto;
    display: block;
}

.th-footer__feedback {
    margin-top: 24px;
    width: 240px;
    height: 36px;
    border-radius: 6px;
    background: #2a2d33;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .03em;
    font-weight: 700;
    text-decoration: none;
}

.th-footer__feedback-arrow {
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}

.th-footer__copyright {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.4;
    color: #7f8490;
    font-weight: 300;
}

.th-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 2px;
    align-items: center;
    text-align: center;
}

.th-footer__nav a {
    color: #b9bec8;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 300;
}

.th-footer__contacts {
    padding-top: 2px;
    text-align: center;
}

.th-footer__city {
    color: #95b05b;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 7px;
}

.th-footer__address,
.th-footer__worktime {
    color: #9ca2ac;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 300;
}

.th-footer__worktime {
    margin-top: 16px;
}

.th-footer__phone {
    margin-top: 12px;
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
}

@media (max-width: 1440px) {
    .th-footer__grid {
        grid-template-columns: 280px 180px 180px 230px;
        column-gap: 30px;
    }

    .th-footer__nav a {
        font-size: 13px;
    }

    .th-footer__address,
    .th-footer__worktime {
        font-size: 12px;
    }

    .th-footer__phone {
        font-size: 24px;
    }
}

/* Фоновое фото блока брендов */
.home-brands {
    background-image: url('../images/dist/p/brands-bg.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: rgba(0, 0, 0, 0.62) !important;
    background-blend-mode: multiply !important;
}

/* Сетка логотипов: 4 колонки от xl, иначе 3 (как в app.min.css) */
.home-brands__logo {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (min-width: 1200px) {
    .home-brands__list {
        -ms-grid-columns: 1fr 1fr 1fr 1fr;
        grid-template-columns: repeat(4, 1fr);
    }

    .home-brands__list__item:nth-child(4),
    .home-brands__list__item:nth-child(7) {
        border-left: 1px solid #656565;
    }

    .home-brands__list__item:nth-child(5) {
        border-left: 0;
    }

    .home-brands__list__item:nth-child(5),
    .home-brands__list__item:nth-child(6) {
        border-bottom: 0;
    }
}

@media (max-width: 992px) {
    .th-footer {
        padding: 38px 0 40px;
    }

    .th-footer__grid {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .th-footer__feedback {
        width: 100%;
        max-width: 320px;
    }

    .th-footer__nav a {
        font-size: 18px;
    }

    .th-footer__address,
    .th-footer__worktime {
        font-size: 14px;
    }

    .th-footer__phone {
        font-size: 22px;
    }
}
