/* Стили шапки */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Верхняя часть шапки */
.header-top {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 8px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contacts .phone {
    font-size: 14px;
    font-weight: 500;
}

.header-search {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
    width: 200px;
}

.search-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 4px 4px 0;
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background: #f8f9fa;
}

/* Основная часть шапки */
.header-main {
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.header-main .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Сервисы в шапке */
.header-services {
    background: linear-gradient(135deg, #f1f8ff 0%, #e3f2fd 100%);
    padding: 20px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 32px;
    margin-right: 15px;
    background: linear-gradient(135deg, #2c5aa0, #1e3a5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-text h3 {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Адаптивность шапки */
@media (max-width: 992px) {
    .search-input {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-main .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .logo-title {
        font-size: 20px;
    }
    
    .search-input {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
    
    .service-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .service-text h3 {
        font-size: 12px;
    }
    
    .search-input {
        width: 150px;
    }
}