* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif !important;

}

i {
    color: #083757
}

p {
    color: #083757;
    font-size: 1.2rem;
}

li {
    color: #083757;
    font-size: 1.2rem;
}

a {
    color: #083757;
    font-size: 1.2rem;
}

b {
    color: #083757;
    font-size: 1.2rem;
}

li::marker {
    font-weight: bold;
  }

/* Основные стили для всего сайта */
body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif; /* Roboto как основной шрифт, Arial — запасной */
    display: flex; flex-direction: column; min-height: 100vh;
}

.header {
    border-bottom: 1px solid #ddd;
}

.header-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    flex-direction: row;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #083757;
    font-weight: bold;
    text-decoration: none;
}

.logo-img {
    max-height: 100px;
}

.info-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-phone a{
    font-size: 1.5rem !important;
}

.info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
}


.info li {
    margin-bottom: 5px;
    font-size: 14px;
}

.soc-link ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.icon-text {
    display: flex;
    align-items: center;
    gap: 8px; /* Расстояние между иконкой и текстом */
}

.icon-text-content {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #083757;
    font-weight: bold;
}

.icon-text-content a{
    text-decoration: none;
    color: black;
    
}


/* Основное меню */
.menu {
    display: flex;
    margin-top: 30px;
    justify-content: center;
    border-top: 1px solid rgba(18, 86, 131, 0.8);
    border-bottom: 1px solid rgba(18, 86, 131, 0.8);
    background: rgba(18, 86, 131, 0.1);
}

.menu-list {
    list-style: none;
    display: inline-flex;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.menu-list li {
    position: relative;
    display: flex;
    align-items: center;
    color: #083757;
}

.menu-list li::before {
    content: '|'; /* Разделитель слева */
    margin-right: 0px;
    color: rgba(18, 86, 131, 0.8);
    font-size: 18px;
}

.menu-list li:first-child::before {
    content: ''; /* Убираем разделитель у первого элемента */
}

.menu-list li:last-child::after {
    content: '|'; /* Разделитель справа */
    margin-left: 0px;
    color: rgba(18, 86, 131, 0.8);
    font-size: 18px;
}

.menu-list li:first-child::before {
    content: '|';
    color: rgba(18, 86, 131, 0.8);
    margin-right: 0px;
}

.menu-list a {
    text-decoration: none;
    font-size: 18px;
    padding: 10px 50px;
    display: block;
    color: #083757;
}


.menu-list a:hover {
    color: #ffa019;
}

/* Подменю */
.dropdown {
    position: relative;
    z-index: 2; /* Указываем уровень слоя */
} 

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 10px 0;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
    box-sizing: border-box;
    background: #fff;
}

.dropdown-menu li a {
    font-size: 16px;
    padding: 10px 15px;
    background: none;
    text-decoration: none;
    display: block;
}

.dropdown-menu li a:hover {
    color: #ffa019;
    background: none;
}

.dropdown-menu li::before,
.dropdown-menu li::after,
.dropdown-menu li:last-child::after,
.dropdown-menu li:first-child::before {
    content: '';
     /* Убираем разделители в подменю */
}

.dropdown:hover .dropdown-menu {
    display: block;
}


.info_phone a{
    color: #083757;
    text-decoration: none;
}

.info_phone a:hover{
    color: #ffa019;
}

footer {
    background: #083757 !important;
    color: white !important;
    font-family: none !important;
    margin-top: auto !important;
}

footer p{
    max-width: 1200px !important;
    margin: 0 auto !important;
    color: white !important;
}

@media (min-width: 768px){
    .menu_phone {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 1rem;
        padding-top: 20px;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .menu {
        display: none;
    }

    .menu_phone {
        position: relative;
        display: none; /* Скрыто по умолчанию */
    }

    .menu_phone {
        display: block;
        background: #fff;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        padding: 15px;
        cursor: pointer;
        background: #083757;
        color: white;
    }

    .hamburger {
        width: 25px;
        height: 3px;
        background: white;
        margin-right: 10px;
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: inherit;
    }

    .hamburger::before { top: -8px; }
    .hamburger::after { top: 8px; }

    .menu-list-phone {
        max-height: 0;
        overflow: hidden;
        list-style-type: none; /* Добавляем здесь */
        padding-left: 0; /* Убираем отступ */
    }

    .dropdown-menu-phone {
        max-height: 0;
        overflow: hidden;
        list-style-type: none; /* И здесь */
        padding-left: 15px; /* Опциональный отступ для вложенности */
    }

    .menu-list-phone.active {
        max-height: 1000px;
    }

    .dropdown-phone .dropdown-menu-phone {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: 20px;
    }

    .dropdown-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        cursor: pointer;
    }

    .arrow {
        width: 12px;
        height: 12px;
        border-right: 2px solid #083757;
        border-bottom: 2px solid #083757;
        transform: rotate(45deg);
        transition: transform 0.3s;
    }

    .dropdown-phone.active .arrow {
        transform: rotate(-135deg);
    }

    .menu-list-phone li a {
        display: block;
        padding: 12px 15px;
        color: #083757;
        text-decoration: none;
    }

    .dropdown-menu-phone li a {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}