/* ============================================================
   HEADER — шапка сайта
   ============================================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 3rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header__inner {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header__logo-link {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
}

.header__logo-text {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #6a3de8, #9b59b6, #6a3de8, #9b59b6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: word-glow 4s ease-in-out infinite;
    white-space: nowrap;
}

.header__nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header__nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: color 0.25s;
    position: relative;
    padding: 0.25rem 0;
    white-space: nowrap;
}

.header__nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: #6a3de8;
    transition: width 0.3s ease;
}

.header__nav a:hover {
    color: #c4b5fd;
}

.header__nav a:hover::after {
    width: 100%;
}

.header__nav a.active {
    color: #c4b5fd;
}

.header__nav a.active::after {
    width: 100%;
    background: linear-gradient(135deg, #6a3de8, #ec4899);
}

.btn-consultation {
    display: inline-block;
    background: linear-gradient(135deg, #6a3de8, #9b59b6, #6a3de8);
    background-size: 300% 300%;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.8rem;
    border-radius: 60px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    animation: btn-gradient-shift 3s ease-in-out infinite, btn-pulse 2s ease-in-out infinite;
}

.btn-consultation:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #7a4df8, #ab69c6, #7a4df8);
    background-size: 300% 300%;
    animation: btn-gradient-shift 3s ease-in-out infinite, btn-pulse-hover 2s ease-in-out infinite;
    color: #ffffff;
}