/* ========== ХЕДЕР ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0px 8px 24px rgba(119, 119, 119, 0.25);
    z-index: 1000;
}

.header-container {
    max-width: 1440px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Логотип */
.logo h1 {
    font-family: 'Cormorant SC';
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    color: #000;
    margin: 0;
    white-space: nowrap;
}

/* Навигация */
.nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 15px;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover {
    color: #e91e63;
}

/* Телефон */
.phone-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 15px;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.phone-icon {
    width: 16px;
    height: 16px;
}

/* Бургер (скрыт на компьютере) */
.burger-checkbox,
.burger-overlay {
    display: none;
}

.burger-menu {
    display: none;
    cursor: pointer;
}

.burger-menu__line {
    width: 22px;
    height: 2px;
    background: #000;
    margin: 3px 0;
}

.burger-menu__text {
    font-family: 'Roboto';
    font-size: 9px;
    margin-top: 3px;
    text-align: center;
}

/* ========== АДАПТИВ ========== */

/* 960px и меньше — бургер-меню */
@media (max-width: 960px) {
    .burger-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 260px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        gap: 20px;
        padding: 30px 25px;
        transition: left 0.3s;
        z-index: 1001;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .burger-checkbox:checked ~ .nav {
        left: 0;
    }
    
    .burger-checkbox:checked ~ .burger-overlay {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
}

/* 768px — уменьшаем логотип и телефон */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 18px;
        padding-left: 60px;
    }
    
    .phone-link {
        font-size: 12px;
    }
    
    .phone-icon {
        width: 14px;
        height: 14px;
    }
}

/* 480px — компактный хедер */
@media (max-width: 480px) {
    .header-container {
        padding: 0 12px;
    }
    
    .burger-menu__line {
        width: 18px;
        margin: 2px 0;
    }
    
    .burger-menu__text {
        display: none;
    }
    
    .logo h1 {
        font-size: 14px;
        padding-left: 60px;
    }
    
    .phone-link {
        font-size: 10px;
        gap: 4px;
    }
    
    .phone-icon {
        width: 12px;
        height: 12px;
    }
}

/* 360px — минимальный хедер */
@media (max-width: 360px) {
    .header-container {
        padding: 0 10px;
    }
    
    .burger-menu__line {
        width: 16px;
    }
    
    .logo h1 {
        font-size: 12px;
    }
    
    .phone-link {
        font-size: 9px;
    }
    
    .phone-icon {
        width: 10px;
        height: 10px;
    }
}