/* ===== ПРЕМИАЛЬНАЯ ШАПКА ===== */
.site-header {
    position: relative;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

/* ===== ВЕРХНИЙ УРОВЕНЬ ===== */
.header-top {
    background: #1E1E1E;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Название компании */
.company-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FDB81E;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(253, 184, 30, 0.1);
    padding: 5px 14px;
    border-radius: 30px;
    transition: all 0.2s;
}

.company-name i {
    font-size: 0.9rem;
}

.company-name:hover {
    background: rgba(253, 184, 30, 0.2);
}

.work-hours,
.location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    font-size: 0.85rem;
    opacity: 0.9;
}

.work-hours i,
.location i {
    color: #FDB81E;
    font-size: 0.9rem;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.messengers {
    display: flex;
    align-items: center;
    gap: 12px;
}

.messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.messenger-link:hover {
    background: #FDB81E;
    color: #1E1E1E;
    transform: translateY(-2px);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}

.header-phone i {
    color: #FDB81E;
}

.header-phone:hover {
    color: #FDB81E;
}

.header-top .btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    background: #FDB81E;
    color: #1E1E1E;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.header-top .btn-sm:hover {
    background: #E5A80B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 184, 30, 0.3);
}

/* ===== НИЖНИЙ УРОВЕНЬ ===== */
.header-bottom {
    background: white;
    padding: 15px 0;
}

.header-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Логотип */
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1E1E1E;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: #FDB81E;
}

.custom-logo {
    max-width: 160px;
    height: auto;
    display: block;
}

/* Меню */
.main-nav {
    flex: 1;
    margin: 0 40px;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
    justify-content: center;
}

.main-menu li {
    margin: 0;
    padding: 0;
    position: relative;
}

.main-menu a {
    display: block;
    padding: 10px 0;
    color: #1E1E1E;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FDB81E;
    transition: width 0.3s;
}

.main-menu a:hover {
    color: #FDB81E;
}

.main-menu a:hover::after {
    width: 100%;
}

.main-menu .current-menu-item a {
    color: #FDB81E;
}

.main-menu .current-menu-item a::after {
    width: 100%;
}

/* Кнопка мобильного меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #1E1E1E;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ===== МОБИЛЬНОЕ МЕНЮ (ВЫЕЗЖАЮЩЕЕ) ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 1002;
    padding: 30px 20px;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8E8E8;
}

.mobile-logo .logo-text {
    font-size: 1.5rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #1E1E1E;
    line-height: 1;
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.mobile-menu-items li {
    margin-bottom: 15px;
}

.mobile-menu-items a {
    display: block;
    padding: 10px 0;
    color: #1E1E1E;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid #E8E8E8;
}

.mobile-menu-items a:visited {
    color: #1E1E1E;
}

.mobile-menu-items a:active {
    color: #FDB81E;
}

.mobile-contacts {
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.mobile-contact-item i {
    color: #FDB81E;
    width: 20px;
}

.mobile-contact-item a {
    color: #1E1E1E;
    text-decoration: none;
}

.mobile-contact-item a:visited {
    color: #1E1E1E;
}

.mobile-messengers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.mobile-messenger-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    color: white;
}

.mobile-messenger-link[href*="whatsapp"] {
    background: #25D366;
}

.mobile-messenger-link[href*="telegram"] {
    background: #0088cc;
}

.mobile-messenger-link[href*="viber"] {
    background: #665cac;
}

.mobile-messenger-link:hover {
    opacity: 0.9;
    transform: translateX(5px);
}

.mobile-messenger-link:visited {
    color: white;
}

.mobile-button .btn {
    width: 100%;
    text-align: center;
}

/* ===== УБИРАЕМ СИНЕЕ ВЫДЕЛЕНИЕ ===== */
.mobile-messenger-link,
.messenger-link,
.header-phone,
.mobile-contact-item a,
.mobile-menu-toggle,
.mobile-menu-close,
.main-menu a,
.btn {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.mobile-messenger-link:focus,
.messenger-link:focus,
.header-phone:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus,
.main-menu a:focus,
.btn:focus {
    outline: none;
}

.mobile-messenger-link:active,
.messenger-link:active,
.header-phone:active,
.btn:active {
    opacity: 0.7;
    transform: scale(0.98);
}

/* ===== АНИМАЦИЯ БУРГЕРА ===== */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .main-menu {
        gap: 25px;
    }
    
    .main-menu a {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .header-top .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .header-top-left {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .header-top-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .company-name {
        order: 1;
    }
    
    .work-hours {
        order: 2;
    }
    
    .location {
        order: 3;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-top {
        padding: 10px 0;
    }
    
    .header-top-left {
        gap: 10px;
    }
    
    .work-hours {
        display: none;
    }
    
    .location {
        font-size: 0.8rem;
        gap: 4px;
    }
    
    .location i {
        font-size: 0.8rem;
    }
    
    .header-top-right {
        gap: 12px;
    }
    
    .messengers {
        gap: 8px;
    }
    
    .messenger-link {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .header-phone {
        font-size: 0.9rem;
        gap: 5px;
    }
    
    .header-phone i {
        font-size: 0.9rem;
    }
    
    .header-top .btn-sm {
        display: none;
    }
    
    .company-name {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
}

@media (max-width: 480px) {
    .header-top-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .company-name {
        width: 100%;
        justify-content: center;
    }
    
    .location {
        display: none;
    }
    
    .header-top-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .messengers {
        flex: 1;
        justify-content: flex-start;
    }
    
    .header-phone {
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .custom-logo {
        max-width: 120px;
    }
}
/* ===== РЕКВИЗИТЫ В ФУТЕРЕ ===== */
.footer-requisites {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.requisites-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FDB81E;
}

.requisites-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requisites-list li {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
    line-height: 1.4;
}

.requisites-list li strong {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

/* Адаптив */
@media (max-width: 768px) {
    .footer-requisites {
        margin-top: 15px;
        padding-top: 12px;
    }
    
    .requisites-list li {
        font-size: 0.7rem;
    }
}