.mq-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.96));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    color: #f9fafb;
}
.mq-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.mq-header__brand {
    display: flex;
    align-items: center;
    min-width: 0;
}
.mq-header__logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f9fafb;
}
.mq-header__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at 25% 0, #facc15 0, #a16207 40%, #1e293b 100%);
    box-shadow: 0 0 0 1px rgba(248, 250, 252, 0.35), 0 10px 25px rgba(15, 23, 42, 0.8);
}
.mq-header__logo-icon {
    font-size: 1.1rem;
    color: #fefce8;
}
.mq-header__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.mq-header__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.mq-header__subtitle {
    font-size: 0.75rem;
    color: rgba(209, 213, 219, 0.9);
    white-space: nowrap;
}
.mq-header__nav {
    display: flex;
    align-items: center;
}
.mq-header__nav-list {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}
.mq-header__nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(229, 231, 235, 0.9);
    padding: 6px 0;
}
.mq-header__nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #facc15, #fb923c);
    transition: width var(--transition-base);
}
.mq-header__nav-link:focus-visible::after, .mq-header__nav-link:hover::after {
    width: 100%}
.mq-header__nav-link:hover {
    color: #ffffff;
}
.mq-header__nav-item--cta {
    margin-left: 4px;
}
.mq-header__cta {
    border-radius: 999px;
    padding-inline: 14px;
    background: linear-gradient(135deg, #1d4ed8, #b91c1c);
    border-color: rgba(212, 175, 55, 0.65);
    color: #fefce8;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
}
.mq-header__cta-icon {
    font-size: 0.9rem;
}
.mq-header__toggle {
    display: none;
    align-items: center;
    gap: 8px;
    color: #e5e7eb;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.7);
}
.mq-header__toggle:focus-visible {
    outline: 2px solid var(--color-accent-gold);
    outline-offset: 3px;
}
.mq-header__toggle-text {
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}
.mq-header__toggle-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.mq-header__toggle-line {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
    transition: transform 180ms ease, opacity 180ms ease, translate 180ms ease;
}
.mq-header__toggle--open .mq-header__toggle-line:nth-child(1) {
    transform: rotate(45deg);
    translate: 0 4px;
}
.mq-header__toggle--open .mq-header__toggle-line:nth-child(2) {
    opacity: 0;
}
.mq-header__toggle--open .mq-header__toggle-line:nth-child(3) {
    transform: rotate(-45deg);
    translate: 0 -4px;
}

@media (max-width:767.98px) {
    .mq-header__subtitle {
    display: none;
}
.mq-header__inner {
    padding-top: 8px;
    padding-bottom: 8px;
}
.mq-header__toggle {
    display: inline-flex;
}
.mq-header__nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.6);
    transform: translateY(-4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base);
}
.mq-header__nav--mobile-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.mq-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px 14px;
    gap: 6px;
}
.mq-header__nav-link {
    padding: 6px 0;
    font-size: 0.95rem;
}
.mq-header__nav-item--cta {
    width: 100%;
    margin-top: 4px;
}
.mq-header__cta {
    width: 100%;
    justify-content: center;
}
}@media (min-width:768px) {
    .mq-header__nav {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.mq-header__nav-list {
    padding: 0;
}
.mq-header__cta {
    font-size: 0.85rem;
}
}@media (min-width:1024px) {
    .mq-header__inner {
    padding-top: 12px;
    padding-bottom: 12px;
}
.mq-header__title {
    font-size: 1.1rem;
}
.mq-header__subtitle {
    font-size: 0.8rem;
}
.mq-header__nav-link {
    font-size: 0.95rem;
}
}