/*
Theme Name: fish
Template: jarvis
Theme URI: http://vrs1115c.beget.tech/jarvis-base/
Description: Дочерняя тема для jarvis
Author: Кулагин Роман.
Author URI: https://skwigelf.ru/
Version: 1.0
*/

/*
============================================================
============================================================
============================================================
Ширины экранов
-- xs	320-499		Смартфоны
-- sm	500-767		Фаблеты
-- md	768-1023	Планшеты
-- ml	1024-1180	Нетбуки
-- lg	1181-1299	Ноутбуки
-- xl	1400		Декстопы
============================================================
============================================================
============================================================
*/
a[data-slug="moskva"] {
   display:none !important
}
#header .logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}

.footer2__inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #747F8B;
    font-size: 15px;
    align-self: flex-start;
}

.footer2_wr-text {
    color: #747F8B;
    font-size: 15px;
    line-height: 140%;
}

footer#footer2 {
    padding: 2rem 0 3.125rem 0;
}

#footer2,
footer#footer {
    background: #EFF5F9;
}

#footer {
    padding-top: 3.125rem;
}

.footer2__inner p {
    margin: 0
}

/* Кнопка бургер-меню */
.burger-menu {
    display: none;
    position: relative;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
    flex-direction: column;
    justify-content: space-between;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0D4CD6;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    transition: left 0.3s ease;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu .menu {
    flex-direction: column;
    gap: 20px;
}

.mobile-menu .menu-item {
    margin: 0;
}

.mobile-menu .menu-item a {
    font-size: 15px;
    color: #0B1F33;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    padding: 0.8rem;
    padding-left: 0;
}

.container-link {
    transition: all 0.3s;
}

.container-link:hover,
.page_modules a.container-link:hover {
    background-color: #0D4CD6;
    color: #fff;
}

/* Оверлей */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* Адаптив для планшетов и телефонов */
@media screen and (max-width: 1023px) {
    .burger-menu {
        display: flex;
    }

    #menu .menu_block {
        display: none;
    }

    .header__block {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .header__logo {
        order: 2;
        margin: 0 auto;
    }

    .burger-menu {
        order: 1;
    }

    .header__flexBox {
        order: 3;
    }
}