@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}
/* === Системы на главной (сетка + hover) === */
.systems-showcase-area {
    padding: 40px 0;
}

.systems-grid {
    margin: 0 -15px;
}

.system-card {
    background: #fff;
    border: 1px solid #ededed;
    /*border-radius: 10px;*/
    padding: 25px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .35);
}

.system-card:hover {
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.18);
    border-color: #ff9800;
    transform: translateY(-3px);
}

/* Шапка: логотип + название в одну строку */
.system-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    min-height: 50px;
}

.system-card__logo {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-card__logo img {
    max-width: 100%;
    max-height: 100%;
    /*filter: brightness(0) saturate(100%) invert(55%) sepia(85%) saturate(1500%) hue-rotate(5deg) brightness(103%) contrast(104%);*/
}

.system-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

/* Блок с фото + hover-эффект */
.system-card__image {
    position: relative;
    width: 100%;
    height: 220px;
    /*border-radius: 8px;*/
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 20px;
    cursor: pointer;
}

.system-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

/* По умолчанию видно основное фото */
.system-card__img-default {
    opacity: 1;
    z-index: 1;
}

/* Hover-фото скрыто */
.system-card__img-hover {
    opacity: 0;
    z-index: 2;
}

/* При наведении на карточку — показываем hover-фото */
.system-card:hover .system-card__img-default {
    opacity: 0;
}

.system-card:hover .system-card__img-hover {
    opacity: 1;
}

/* Кнопка каталога */
.system-card__btn {
    margin-top: auto;
    font-size: 14px !important;
    line-height: 42px !important;
    padding: 0 20px !important;
    width: 100%;
    text-align: center;
    /*border-radius: 6px;*/
}

/* Адаптив */
@media (max-width: 991px) {
    .system-card__image {
        height: 200px;
    }
    .system-card__title {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .system-card__header {
        gap: 10px;
    }
    .system-card__logo {
        width: 40px;
        height: 40px;
    }
    .system-card__image {
        height: 240px;
    }
}

/* === Видео FOROOM на главной === */
.foroom-videos-area {
    padding: 40px 0;
}

.foroom-video-card {
    background: #fff;
    border: 1px solid #ededed;
    /*border-radius: 10px;*/
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.foroom-video-card:hover {
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.15);
    border-color: #ff7600;
}

.foroom-video-card__embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background: #000;
}

.foroom-video-card__embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.foroom-video-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.foroom-video-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
    min-height: 44px;
}

.foroom-video-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ff7600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.foroom-video-card__link:hover {
    color: #e68900;
    text-decoration: none;
}

.foroom-video-card__link i {
    font-size: 12px;
}

@media (max-width: 767px) {
    .foroom-video-card__title {
        font-size: 15px;
        min-height: auto;
    }
}

/* === Галерея "Наши работы" === */
.our-works-area {
    /*padding: 40px 0;*/
}

.gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Главное фото */
.gallery-main {
    position: relative;
    /*border-radius: 12px;*/
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 16 / 9;
    margin-bottom: 15px;
}

.gallery-main__image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Счётчик фото */
.gallery-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 14px;
    /*border-radius: 20px;*/
    font-size: 14px;
    font-weight: 600;
    z-index: 3;
    backdrop-filter: blur(4px);
}

/* Стрелки главного фото */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 152, 0, 0.9);
    color: #fff;
    border: none;
    /*border-radius: 50%;*/
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gallery-arrow:hover {
    background: #ff7600;
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow--prev {
    left: 15px;
}

.gallery-arrow--next {
    right: 15px;
}

/* === Слайдер миниатюр === */
.gallery-thumbs-slider {
    position: relative;
    padding: 0 50px;
}

.gallery-thumbs-slick {
    margin: 0 -5px;
}

.gallery-thumb-item {
    padding: 0 5px;
    outline: none;
}

.gallery-thumb {
    position: relative;
    /*border-radius: 8px;*/
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    border-color: #ffb74d;
    transform: translateY(-2px);
}

.gallery-thumb.active {
    border-color: #ff7600;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.gallery-thumb.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 152, 0, 0.15);
    pointer-events: none;
}

/* Стрелки слайдера миниатюр */
.thumbs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #fff;
    color: #ff7600;
    border: 2px solid #ff7600;
    /*border-radius: 50%;*/
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.thumbs-arrow:hover {
    background: #ff7600;
    color: #fff;
}

.thumbs-arrow.slick-prev {
    left: 0;
}

.thumbs-arrow.slick-next {
    right: 0;
}

.thumbs-arrow.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.thumbs-arrow.slick-disabled:hover {
    background: #fff;
    color: #ff7600;
}

/* Адаптив */
@media (max-width: 767px) {
    .gallery-main {
        aspect-ratio: 4 / 3;
    }
    .gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .gallery-arrow--prev {
        left: 10px;
    }
    .gallery-arrow--next {
        right: 10px;
    }
    .gallery-thumbs-slider {
        padding: 0 40px;
    }
    .thumbs-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

@media (max-width: 479px) {
    .gallery-main {
        aspect-ratio: 1 / 1;
    }
    .gallery-counter {
        font-size: 12px;
        padding: 4px 10px;
    }
}

/* === Преимущества (Bootstrap) === */
.advantage-item {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 4px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .35);
}

.advantage-item:hover {
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.12);
    border-color: #ff7600;
}

.advantage-icon {
    width: 44px;
    height: 44px;
    background: #ff7600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 20px;
    color: #fff;
}

.advantage-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.35;
}

.advantage-text {
    font-size: 16px;
    color: #555;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .advantage-item {
        padding: 15px;
    }
    .advantage-icon {
        width: 38px;
        height: 38px;
    }
    .advantage-icon i {
        font-size: 17px;
    }
    .advantage-title {
        font-size: 15px;
    }
    .advantage-text {
        font-size: 13px;
    }
}

/*===========Правки для меню============*/
.main-menu nav > ul {
    display: flex !important;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.main-menu .sub-menu{
    display: block !important;
}

.main-menu nav > ul > li > a {
    font-size: 18px;
}

/* === Наш салон (галерея) === */
.our-salon-area {
    padding: 40px 0;
}

/* Обертка всего блока — относительная для стрелок */
.our-salon-gallery-wrapper {
    position: relative;
    padding: 0 60px; /* Отступы по бокам для стрелок */
}

/* Левая колонка */
.salon-left-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 400px;
}

.salon-text-block {
    margin-bottom: 30px;
}

.salon-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Правая колонка (большое фото) */
.salon-main-image-wrapper {
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}

.salon-main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Миниатюры */
.salon-thumb {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.salon-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.salon-thumb:hover {
    border-color: #ffb74d;
    transform: translateY(-2px);
}

.salon-thumb.active {
    border-color: #ff7600;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* Стрелки по бокам всего блока */
.salon-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    color: #ff7600;
    border: 2px solid #ff7600;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 0;
}

.salon-arrow:hover {
    background: #ff7600;
    color: #fff;
}

.salon-arrow svg {
    display: block;
}

.salon-arrow--prev {
    left: 0;
}

.salon-arrow--next {
    right: 0;
}

/* Адаптив */
@media (max-width: 991px) {
    .our-salon-gallery-wrapper {
        padding: 0 50px;
    }
    .salon-left-content, .salon-main-image-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .our-salon-gallery-wrapper {
        padding: 0 40px;
    }
    .salon-arrow {
        width: 36px;
        height: 36px;
    }
    .salon-arrow svg {
        width: 16px;
        height: 16px;
    }
    .salon-left-content, .salon-main-image-wrapper {
        min-height: 250px;
    }
}

@media (max-width: 575px) {
    .our-salon-gallery-wrapper {
        padding: 0 30px;
    }
    .salon-arrow {
        width: 32px;
        height: 32px;
    }
    .salon-arrow svg {
        width: 14px;
        height: 14px;
    }
}

.footer-soc:hover {
    opacity: 0.7;
    filter: grayscale(1);
    transition: all 0.3s ease;
    color: inherit !important;
}