.check-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #e5e5e5;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.check-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    height: 64px;
    margin: 0 auto;
    padding: 0 20px;
}

.check-header__logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    text-decoration: none;
}

.check-header__logo:hover {
    text-decoration: none;
}

.check-header__logo img {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.check-header__desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.check-header__nav-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border-radius: 6px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.check-header__nav-link:hover {
    color: #7c3aed;
    text-decoration: none;
}

.check-header__nav-link:focus-visible,
.check-header__action:focus-visible,
.check-header__menu-toggle:focus-visible,
.check-header__contact:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.check-header__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
}

.check-header__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
}

.check-header__contact:hover {
    text-decoration: none;
    opacity: 0.9;
}

.check-header__phone {
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

.check-header__messenger {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    color: #fff;
}

.check-header__messenger--telegram {
    background: #26a5e4;
}

.check-header__messenger img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.check-header__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 8px 14px;
    background: #fff;
    color: #555;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.check-header__action:hover {
    border-color: #c4b5fd;
    color: #7c3aed;
    text-decoration: none;
}

.check-header__action--primary {
    border-color: transparent;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.check-header__action--primary:hover {
    border-color: transparent;
    color: #fff;
    opacity: 0.95;
}

.check-header__menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 8px;
    background: transparent;
    color: #1a1a1a;
    cursor: pointer;
}

.check-header__mobile-menu {
    display: none;
    border-top: 1px solid #e5e5e5;
    background: #fff;
}

.check-header__mobile-menu.is-open {
    display: block;
}

.check-header__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px 16px;
}

.check-header__mobile-nav .check-header__nav-link {
    min-height: 44px;
    padding: 10px 12px;
    color: #1a1a1a;
}

.check-header__mobile-nav .check-header__nav-link:hover {
    background: #f5f5f5;
    color: #7c3aed;
}

@media (max-width: 899px) {
    .check-header__desktop-nav,
    .check-header__action {
        display: none;
    }

    .check-header__inner {
        gap: 8px;
    }

    .check-header__menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 639px) {
    .check-header__inner {
        padding: 0 12px;
    }

    .check-header__actions {
        gap: 8px;
    }

    .check-header__phone-text {
        display: none;
    }

    .check-header__messenger {
        width: 36px;
        height: 36px;
    }

    .check-header__mobile-nav {
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (max-width: 359px) {
    .check-header__phone {
        display: none;
    }
}
