/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 27 2025 | 11:08:13 */
/* Скрываем на экранах меньше 1024px */
@media (max-width: 1023px) {
    .main-bottom-menu {
        display: none !important;
    }
}

.main-bottom-menu {
    background: #fff;
    /*border-top: 1px solid #e5e5e5;*/
    border-bottom: 1px solid #e5e5e5;
    padding: 0;
    margin-top: 0px;
}

.main-bottom-menu .container {
    max-width: 1170px;
    margin: 0 auto;
}

.main-bottom-menu__list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.main-bottom-menu__list > li {
    position: relative;
    flex: 1;
    text-align: center;
}

/* Основное меню - 15px жирный */
.main-bottom-menu__list > li > a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 700;
    padding: 14px 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 15px;
    white-space: nowrap;
    text-align: center;
    min-height: 50px;
    box-sizing: border-box;
    line-height: 1.2;
    border-right: 1px solid #f0f0f0;
}

.main-bottom-menu__list > li:last-child > a {
    border-right: none;
}

.main-bottom-menu__list > li > a:hover,
.main-bottom-menu__list > li.current-menu-item > a,
.main-bottom-menu__list > li.current-menu-ancestor > a {
    color: #1a5f9e;
    background: #f8fafc;
}

/* Нормальные стрелки для пунктов с подменю */
.main-bottom-menu__list > li.menu-item-has-children > a::after {
    content: '▼';
    margin-left: 6px;
    font-size: 10px;
    transition: transform 0.3s ease;
    color: #666;
}

.main-bottom-menu__list > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    color: #1a5f9e;
}

/* Submenu styles - Level 2 */
.main-bottom-menu__list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 300px;
    max-width: 350px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e1e5e9;
    border-top: 2px solid #1a5f9e;
}

.main-bottom-menu__list > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.main-bottom-menu__list .sub-menu li {
    position: relative;
    border-bottom: 1px solid #f5f7fa;
}

.main-bottom-menu__list .sub-menu li:last-child {
    border-bottom: none;
}

/* Подменю - исправленное выравнивание */
.main-bottom-menu__list .sub-menu a {
    display: block;
    padding: 12px 18px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    white-space: normal;
    line-height: 1.4;
    min-height: auto;
    box-sizing: border-box;
    text-align: left;
}

.main-bottom-menu__list .sub-menu a:hover,
.main-bottom-menu__list .sub-menu li.current-menu-item > a {
    color: #1a5f9e;
    background: #f7fafc;
    border-left: 3px solid #1a5f9e;
}

/* Стрелки для подпунктов 2 уровня */
.main-bottom-menu__list .sub-menu li.menu-item-has-children > a::after {
    content: '▶';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #a0aec0;
}

/* Submenu styles - Level 3 */
.main-bottom-menu__list .sub-menu .sub-menu {
    top: -8px;
    left: 100%;
    margin-left: 0;
    border-top: 2px solid #2d74c7;
    min-width: 280px;
    max-width: 320px;
}

.main-bottom-menu__list .sub-menu .sub-menu::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #fff;
}

.main-bottom-menu__list .sub-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

/* Submenu styles - Level 4 */
.main-bottom-menu__list .sub-menu .sub-menu .sub-menu {
    top: -8px;
    left: 100%;
    margin-left: 0;
    border-top: 2px solid #38a169;
    min-width: 260px;
    max-width: 300px;
}

.main-bottom-menu__list .sub-menu .sub-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

/* Активные состояния для всех уровней */
.main-bottom-menu__list .current-menu-item > a,
.main-bottom-menu__list .current-menu-ancestor > a {
    color: #1a5f9e !important;
    font-weight: 600;
    background: #edf2f7;
}

/* Адаптивность */
@media (min-width: 1024px) and (max-width: 1170px) {
    .main-bottom-menu__list > li > a {
        padding: 14px 8px;
        font-size: 14px;
    }
    
    .main-bottom-menu__list > li.menu-item-has-children > a::after {
        margin-left: 4px;
        font-size: 9px;
    }
}

/* Плавные переходы */
.main-bottom-menu__list a {
    transition: all 0.2s ease;
}

.single-services .header {
    padding-bottom: 0px !important;    
}

.header-top {
    background: transparent;
    padding: 8px 0 12px 0;
    font-size: 13px;
    border: none;
}

/* Белые стили для главной страницы */
.home .header-top__icon {
    color: #ffffff;
}

.home .header-top__text {
    color: #ffffff;
}

.home .header-top__phone {
    color: #ffffff;
}

.home .header-top__phone:hover {
    color: #e6e6e6;
}

.home .header-top__phone-separator {
    color: #ffffff;
    opacity: 0.8;
}

.home .header-top__email {
    color: #ffffff;
}

.home .header-top__email:hover {
    color: #e6e6e6;
}

.home .main-bottom-menu {
	margin-top: 1px;
}

/* Обычные стили (оставляем как было) */
.header-top__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.header-top__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-top__phones-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top__phone {
    color: #373737;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.2;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-top__phone:hover {
    color: #0f4a7a;
}

.header-top__phone-separator {
    color: #999;
    font-weight: 300;
}

.header-top__icon {
    color: #000000;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-top__icon svg {
    width: 100%;
    height: 100%;
}

.header-top__text {
    color: #666;
    font-weight: 500;
    line-height: 1.3;
}

.header-top__email {
    color: #373737;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-top__email:hover {
    color: #0f4a7a;
}

/* Адаптивность */
@media (max-width: 1023px) {
    .header-top {
        display: none;
    }
}

@media (min-width: 1024px) and (max-width: 1300px) {
    .header-top__content {
        gap: 20px;
    }
    
    .header-top__text {
        font-size: 12px;
    }
    
    .header-top__phone {
        font-size: 12px;
    }
}

@media (min-width: 1024px) and (max-width: 1100px) {
    .header-top__content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 25px;
    }
}