/* === МОБИЛЬНЫЕ СТИЛИ HEADER === */

/* Основные мобильные стили */
@media (max-width: 768px) {
    .main-header {
        height: 70px;
        background: rgba(60, 60, 59, 0.95); /* Цвет Figma, чуть менее прозрачный на мобильных */
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px; /* Увеличенные отступы */
    gap: 15px; /* Уменьшенный gap */
    position: relative;
    z-index: 2;
    }
    
    /* Мобильный адрес слева */
    .contact-address {
        flex: 1;
        text-align: left;
    }
    
    .contact-address .contact-secondary {
        font-size: 10px;
        font-weight: 400;
        line-height: 1.1;
        color: #FFFFFF;
        margin-bottom: 1px;
    }
    
    /* Логотип по центру */
    .header-logo {
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
    }
    
    .header-logo img {
        width: 75px;
        height: 22px;
        object-fit: contain;
    }
    
    /* Телефон справа */
    .header-phone {
        flex: 1;
        text-align: right;
    }
    
    .header-phone a {
        font-size: 14px;
        font-weight: 600;
        color: #FFFFFF;
        text-decoration: none;
        white-space: nowrap;
    }
    
    /* Мобильные декоративные элементы */
    .header-decoration-left,
    .header-decoration-right {
        position: absolute;
        top: 0;
        height: 100%;
        z-index: 1;
        display: flex;
        align-items: center;
    }
    
    .header-decoration-left {
        left: 0;
    }
    
    .header-decoration-right {
        right: 0;
    }
    
    .decoration-mobile {
        height: 70px;
        width: auto;
        display: block;
    }
    
    /* Обновляем размеры декоративных элементов для мобильных */
    .decoration-teal,
    .decoration-orange,
    .decoration-main {
        height: 70px;
    }
    
    
}

/* Маленькие экраны */
@media (max-width: 480px) {
    .main-header {
        height: 60px;
    }
    
    .decoration-teal,
    .decoration-orange,
    .decoration-main,
    .decoration-mobile {
        height: 60px;
    }
    
    .header-content {
        padding: 0 35px !important; /* Сохраняем увеличенные отступы */
        gap: 12px !important;
    }
    
    .contact-address .contact-secondary {
        font-size: 9px;
    }
    
    .header-phone a {
        font-size: 12px;
    }
    
    .header-logo img {
        width: 65px;
        height: 19px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .main-header {
        height: 55px;
    }
    
    .decoration-mobile,
    .decoration-teal,
    .decoration-orange,
    .decoration-main {
        height: 55px;
    }
    
    /* Упрощаем адрес - скрываем вторую строку */
    .contact-address .contact-secondary:nth-child(2) {
        display: none;
    }
    
    .header-content {
        gap: 8px !important;
        padding: 0 30px !important; /* Максимальные отступы для очень маленьких экранов */
    }
    
    .header-phone a {
        font-size: 11px;
    }
    
    .header-logo img {
        width: 60px;
        height: 18px;
    }
    
    .contact-address .contact-secondary {
        font-size: 8px;
    }
}