/* ============================================================
           CSS-ПЕРЕМЕННЫЕ (тёмная тема)
           ============================================================ */
:root {
    --bg: #0a0e14;
    --surface: #131820;
    --surface2: #1a1f2b;
    --border: #252b36;
    --accent: #4f8fff;
    --accent2: #7c5cfc;
    --gold: #f0b90b;
    --green: #2ecc71;
    --red: #e74c3c;
    --text: #dde1e8;
    --text2: #8b92a2;
    --text3: #5c6370;
    --radius-card: 14px;
    --radius-btn: 10px;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    --transition: 0.3s ease;
    --header-blur: 12px;
    /* нативные контролы (стрелка select, date-picker, спиннеры, скроллбары) — в тёмной теме */
    color-scheme: dark;
}

/* ============================================================
           СБРОС И БАЗА
           ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-top: 72px;
    /* место под фикс. хедер */
    line-height: 1.6;
    /* Sticky footer: активная .page тянется, футер всегда прижат к низу экрана,
       даже когда контента страницы мало. Фикс. хедер/меню/модалки — position:fixed,
       поэтому во flex-поток не попадают. */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--accent2);
}

/* ============================================================
           ПОЛЯ ВВОДА — базовая тёмная стилизация (перебивается
           более специфичными правилами модалок/форм при желании)
           ============================================================ */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="submit"]):not([type="button"]),
select,
textarea {
    padding: 11px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.4;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="submit"]):not([type="button"]):hover,
select:hover,
textarea:hover {
    border-color: var(--text3);
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="submit"]):not([type="button"]):focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 143, 255, 0.18);
    background: var(--surface);
}
::placeholder {
    color: var(--text3);
    opacity: 1;
}
textarea {
    resize: vertical;
    min-height: 96px;
}
/* Автозаполнение WebKit красит поле белым — возвращаем тёмный фон */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px var(--surface2) inset;
    box-shadow: 0 0 0 1000px var(--surface2) inset;
    caret-color: var(--text);
    transition: background-color 9999s ease-out 0s;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
    transition: var(--transition);
}

/* ============================================================
           ХЕДЕР (фиксированный, с блюром)
           ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 20, 0.78);
    backdrop-filter: blur(var(--header-blur));
    -webkit-backdrop-filter: blur(var(--header-blur));
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header__nav a {
    color: var(--text2);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}
.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: var(--transition);
}
.header__nav a:hover::after,
.header__nav a.active::after {
    width: 100%;
}
.header__nav a.active {
    color: var(--text);
}

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

/* Кнопки в хедере */
.btn {
    padding: 8px 18px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    box-shadow: 0 4px 16px rgba(79, 143, 255, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(79, 143, 255, 0.35);
}
.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text2);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--text);
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #f5a623);
    color: #0a0e14;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(240, 185, 11, 0.25);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(240, 185, 11, 0.35);
}
.btn-small {
    padding: 13px 14px;
    font-size: 0.8rem;
}

/* Виджет языка */
.lang-toggle {
    display: flex;
    gap: 4px;
    background: var(--surface2);
    border-radius: var(--radius-btn);
    padding: 4px;
    border: 1px solid var(--border);
}
.lang-toggle button {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text3);
    transition: var(--transition);
}
.lang-toggle button.active {
    background: var(--accent);
    color: #fff;
}
.lang-toggle button:hover:not(.active) {
    color: var(--text);
}

/* Бургер */
.burger {
    display: none;
    font-size: 1.6rem;
    color: var(--text);
    background: none;
    border: none;
    padding: 4px;
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    backdrop-filter: blur(var(--header-blur));
    -webkit-backdrop-filter: blur(var(--header-blur));
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu a {
    color: var(--text2);
    font-size: 1rem;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.mobile-menu a.active {
    color: var(--text);
}
.mobile-menu .header__actions {
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ============================================================
           СТРАНИЦЫ (контейнер)
           ============================================================ */
.page {
    display: none;
    animation: fadeUp 0.5s ease forwards;
    width: 100%;
    /* width:100% нужен, т.к. .page теперь flex-item (body — flex-колонка):
       без явной ширины авто-поля сжали бы страницу до ширины контента. */
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}
.page.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-subtitle {
    color: var(--text2);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* ============================================================
           ГЛАВНАЯ – HERO
           ============================================================ */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 0 20px;
}
.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 820px;
    margin-bottom: 16px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent2), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem;
    color: var(--text2);
    max-width: 640px;
    margin-bottom: 28px;
}
.hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}
.hero__emoji-strip {
    font-size: 2.2rem;
    letter-spacing: 8px;
    animation: float 3s ease-in-out infinite;
    margin-top: 8px;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ============================================================
           СЕКЦИИ ОБЩИЕ
           ============================================================ */
.section {
    margin-top: 72px;
}
.section-header {
    text-align: center;
    margin-bottom: 36px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
}
.section-header p {
    color: var(--text2);
    max-width: 560px;
    margin: 6px auto 0;
}

/* ============================================================
           КАРТОЧКИ ВОЗМОЖНОСТЕЙ (сетка 4 колонки)
           ============================================================ */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.feature-card {
    flex: 0 1 260px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px 20px;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.feature-card:hover::before {
    opacity: 0.06;
}
.feature-card>* {
    position: relative;
    z-index: 1;
}
.feature-card .icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: block;
}
.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.feature-card p {
    color: var(--text2);
    font-size: 0.9rem;
}
.feature-card .badge-soon {
    display: inline-block;
    background: var(--gold);
    color: #0a0e14;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* ============================================================
           ТАРИФЫ
           ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.pricing-card.popular {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), var(--shadow);
}
.pricing-card .name {
    font-size: 1.2rem;
    font-weight: 700;
}
.pricing-card .price {
    font-size: 2rem;
    font-weight: 800;
    margin: 8px 0 4px;
}
.pricing-card .price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text2);
}
.pricing-card .desc {
    color: var(--text2);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.pricing-card ul {
    list-style: none;
    margin: 0 0 20px;
    flex: 1;
}
.pricing-card ul li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text2);
    font-size: 0.92rem;
}
.pricing-card ul li i {
    color: var(--green);
    width: 18px;
}

/* ============================================================
           ПЛАШКИ «СКОРО»
           ============================================================ */
.soon-block {
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    text-align: center;
}
.soon-block .badge {
    display: inline-block;
    background: var(--gold);
    color: #0a0e14;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.soon-block h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}
.soon-block p {
    color: var(--text2);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================================
           СТРАНИЦА РЕЙТИНГА
           ============================================================ */
.rating-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
}
.rating-search {
    position: relative;
    flex: 1;
    min-width: 220px;
}
.rating-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
    font-size: 0.9rem;
    pointer-events: none;
}
.rating-search input {
    width: 100%;
    padding-left: 40px;
}
.rating-controls label {
    color: var(--text2);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* ---- Лидерборд ---- */
.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}
.lb-head,
.lb-row {
    display: grid;
    grid-template-columns: 22px 44px minmax(0, 1fr) 50px 80px 80px;
    align-items: center;
    gap: 14px;
}
.lb-head {
    padding: 2px 20px 4px;
    color: var(--text3);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.lb-head .lb-quizzes,
.lb-head .lb-score {
    text-align: right;
}
.lb-row {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 12px 20px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.lb-row:hover {
    border-color: var(--accent);
    transform: translateX(3px);
}
.lb-rank {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-num {
    font-weight: 700;
    color: var(--text3);
    font-size: 1rem;
}
.lb-medal {
    font-size: 1.5rem;
    line-height: 1;
}
.lb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.lb-user {
    min-width: 0;
}
.lb-name {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lb-spec {
    color: var(--text2);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lb-muted {
    color: var(--text3);
}
.lb-you {
    background: var(--accent);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 20px;
    margin-left: 6px;
    vertical-align: middle;
}
.lb-chip {
    display: inline-block;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 0.78rem;
    padding: 3px 11px;
    border-radius: 20px;
    white-space: nowrap;
}
.lb-chip-muted {
    color: var(--text3);
}
.lb-quizzes {
    color: var(--text2);
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: right;
}
.lb-quizzes i {
    color: var(--text3);
    margin-right: 5px;
}
.lb-score-val {
    font-weight: 700;
    color: var(--gold);
    font-size: 1.05rem;
    text-align: right;
    margin-bottom: 6px;
}
.lb-bar {
    height: 6px;
    background: var(--surface2);
    border-radius: 20px;
    overflow: hidden;
}
.lb-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 20px;
    transition: width 0.6s ease;
}
/* Топ-3 и «вы» */
.lb-row.top1 {
    border-color: rgba(240, 185, 11, 0.55);
    box-shadow: 0 0 0 1px rgba(240, 185, 11, 0.2), 0 8px 24px rgba(240, 185, 11, 0.07);
}
.lb-row.top2 {
    border-color: rgba(176, 186, 201, 0.45);
}
.lb-row.top3 {
    border-color: rgba(205, 127, 50, 0.45);
}
.lb-row.me {
    border-color: var(--accent);
    background: linear-gradient(90deg, rgba(79, 143, 255, 0.14), rgba(79, 143, 255, 0.03));
    box-shadow: inset 3px 0 0 0 var(--accent), 0 6px 20px rgba(79, 143, 255, 0.1);
}
.lb-row.me:hover {
    transform: none;
}
.lb-row.lb-flash {
    animation: lbFlash 1.3s ease;
}
@keyframes lbFlash {
    0%, 100% { box-shadow: inset 3px 0 0 0 var(--accent), 0 6px 20px rgba(79, 143, 255, 0.1); }
    30% { box-shadow: inset 3px 0 0 0 var(--accent), 0 0 0 3px rgba(79, 143, 255, 0.45); }
}

/* Плашка «моё место в рейтинге» */
.lb-me-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: linear-gradient(90deg, rgba(79, 143, 255, 0.12), rgba(124, 92, 252, 0.08));
    border: 1px solid rgba(79, 143, 255, 0.35);
    border-radius: var(--radius-card);
    padding: 12px 18px;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.95rem;
}
.lb-me-banner b {
    color: var(--accent);
    font-size: 1.05rem;
}
.lb-me-banner i {
    color: var(--accent);
    margin-right: 6px;
}
.lb-me-total {
    color: var(--text3);
    font-size: 0.85rem;
}
.lb-me-banner-muted {
    background: var(--surface2);
    border-color: var(--border);
    color: var(--text2);
}
.lb-me-banner-muted i {
    color: var(--text3);
}

@media (max-width: 680px) {
    .lb-head { display: none; }
    .lb-head,
    .lb-row {
        grid-template-columns: 40px 40px minmax(0, 1fr) 96px;
        gap: 12px;
        padding: 12px 14px;
    }
    .lb-level,
    .lb-quizzes { display: none; }
    .lb-medal { font-size: 1.3rem; }
    /* на мобильном имя и специализация переносятся, а не обрезаются */
    .lb-name,
    .lb-spec {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }
}

.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.pagination button {
    padding: 6px 14px;
    border-radius: var(--radius-btn);
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text2);
    font-weight: 600;
}
.pagination button.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.pagination button:hover:not(.active) {
    border-color: var(--accent);
    color: var(--text);
}

/* ============================================================
           СТРАНИЦА ВАКАНСИИ (форма)
           ============================================================ */
.vacancy-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    max-width: 760px;
    margin: 0 auto;
}
.vacancy-form .form-group {
    margin-bottom: 18px;
}
.vacancy-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text2);
    font-size: 0.9rem;
}
.vacancy-form input,
.vacancy-form textarea,
.vacancy-form select {
    width: 100%;
    padding: 10px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}
.vacancy-form input:focus,
.vacancy-form textarea:focus,
.vacancy-form select:focus {
    border-color: var(--accent);
    outline: none;
}
.vacancy-form textarea {
    resize: vertical;
    min-height: 100px;
}
.vacancy-form .error {
    border-color: var(--red) !important;
}
.vacancy-form .error-msg {
    color: var(--red);
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}
.vacancy-form .error-msg.show {
    display: block;
}

/* ============================================================
           СТРАНИЦА МЭТЧЕЙ
           ============================================================ */
.match-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
    background: var(--surface);
    padding: 16px 20px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
}
.match-filter label {
    color: var(--text2);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.match-filter input[type="range"] {
    width: 160px;
    accent-color: var(--accent);
    background: var(--surface2);
    height: 4px;
    border-radius: 4px;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.match-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px;
    transition: var(--transition);
}
.match-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.match-card .title {
    font-size: 1.1rem;
    font-weight: 700;
}
.match-card .company {
    color: var(--text2);
    font-size: 0.9rem;
}
.match-card .desc {
    margin: 8px 0 10px;
    color: var(--text2);
    font-size: 0.92rem;
}
.match-card .match-pct {
    display: inline-block;
    background: var(--surface2);
    padding: 2px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}
.match-card .match-pct.high {
    color: var(--green);
    border-color: var(--green);
}
.match-card .match-pct.mid {
    color: var(--gold);
    border-color: var(--gold);
}
.match-card .match-pct.low {
    color: var(--text3);
    border-color: var(--border);
}

/* ============================================================
           СТРАНИЦА ПАРТНЁРОВ
           ============================================================ */
.partner-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    margin-bottom: 28px;
}
.partner-filters .filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 0 150px;
}
.partner-filters .filter-group label {
    font-size: 0.8rem;
    color: var(--text2);
    font-weight: 600;
}
.partner-filters .filter-group input,
.partner-filters .filter-group select {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 12px;
    border-radius: var(--radius-btn);
    font-size: 0.9rem;
}
.partner-filters .filter-group input:focus,
.partner-filters .filter-group select:focus {
    border-color: var(--accent);
    outline: none;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.partner-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.partner-card .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface2);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text2);
    margin-bottom: 10px;
}
.partner-card .pname {
    font-size: 1.05rem;
    font-weight: 700;
}
.partner-card .pprof {
    color: var(--text2);
    font-size: 0.9rem;
}
.partner-card .pdetails {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 8px 0 10px;
    font-size: 0.85rem;
    color: var(--text2);
}
.partner-card .pdetails span i {
    margin-right: 4px;
    color: var(--accent);
}
.partner-card .pdesc {
    color: var(--text2);
    font-size: 0.9rem;
    flex: 1;
    margin-bottom: 12px;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text2);
}
.empty-state i {
    font-size: 3rem;
    margin-bottom: 12px;
    color: var(--text3);
}
.empty-state h3 {
    font-size: 1.2rem;
    color: var(--text);
}

/* ============================================================
           ФУТЕР
           ============================================================ */
.footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 48px 24px 24px;
    margin-top: auto;
    /* auto прижимает футер к низу, когда страница короткая; на длинных отступ даёт
       нижний padding .page (60px). Не даём футеру сжиматься. */
    flex-shrink: 0;
}
.footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
}
.footer__col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}
.footer__col a,
.footer__col p {
    display: block;
    color: var(--text2);
    font-size: 0.9rem;
    margin-bottom: 6px;
    transition: var(--transition);
}
.footer__col a:hover {
    color: var(--accent);
}
.footer__bottom {
    max-width: 1280px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text3);
    font-size: 0.85rem;
}

/* ============================================================
           МОДАЛЬНЫЕ ОКНА
           ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    max-width: 440px;
    width: 100%;
    padding: 32px 28px;
    position: relative;
    animation: fadeUp 0.3s ease forwards;
    max-height: 90vh;
    overflow-y: auto;
}
.modal .close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 1.6rem;
    color: var(--text2);
    background: none;
    border: none;
    transition: var(--transition);
}
.modal .close:hover {
    color: var(--text);
    transform: rotate(90deg);
}
.modal h2 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}
.modal .sub {
    color: var(--text2);
    margin-bottom: 20px;
}
.modal .form-group {
    margin-bottom: 14px;
}
.modal .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 2px;
}
.modal .form-group input,
.modal .form-group select {
    width: 100%;
    padding: 10px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    color: var(--text);
    font-size: 0.95rem;
}
.modal .form-group input:focus,
.modal .form-group select:focus {
    border-color: var(--accent);
    outline: none;
}
.modal .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 1rem;
    margin-top: 6px;
}
.modal .alt-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    color: var(--text2);
    font-size: 0.9rem;
}
.modal .alt-link a {
    color: var(--accent);
    font-weight: 600;
}
.modal .divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text3);
    font-size: 0.8rem;
    margin: 16px 0;
}
.modal .divider::before,
.modal .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ============================================================
           TOAST
           ============================================================ */
.toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    width: 100%;
}
.toast {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 14px 20px;
    color: var(--text);
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    animation: slideIn 0.35s ease forwards;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--accent);
}
.toast i {
    font-size: 1.2rem;
    color: var(--accent);
}
.toast.hide {
    animation: slideOut 0.3s ease forwards;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(40px);
    }
}

/* ============================================================
           АДАПТИВНОСТЬ (до 860px — бургер)
           ============================================================ */
@media (max-width: 860px) {
    .header__nav {
        display: none;
    }
    .burger {
        display: block;
    }
    .header__actions .btn {
        display: none;
    }
    .header__actions .lang-toggle {
        display: none;
    }
    .mobile-menu .header__actions {
        display: flex;
    }
    .mobile-menu .header__actions .btn {
        display: inline-flex;
    }
    .mobile-menu .header__actions .lang-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.4rem;
    }
    .page-title {
        font-size: 1.8rem;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .rating-grid,
    .matches-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    .partner-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .partner-filters .filter-group {
        flex: 1 1 auto;
    }
}

@media (max-width: 520px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .header {
        padding: 0 16px;
    }
    .page {
        padding: 24px 16px 40px;
    }
    .modal {
        padding: 24px 18px;
    }
    .vacancy-form {
        padding: 20px 16px;
    }
    .rating-controls {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================================
           ПРИЛОЖЕНИЕ (КАБИНЕТ) — ОБЩЕЕ
           ============================================================ */
/* по умолчанию app-навигация скрыта, показываем через JS */
.nav-app {
    display: none;
}

/* ВИЗАРД (мультишаговые формы) */
.wizard {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    max-width: 760px;
    margin: 0 auto;
}
.wizard-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.wizard-progress .step-dot {
    flex: 1 1 0;
    min-width: 24px;
    height: 6px;
    border-radius: 4px;
    background: var(--surface2);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.wizard-progress .step-dot.active {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-color: transparent;
}
.wizard-progress .step-dot.done {
    background: var(--green);
    border-color: transparent;
}
.wizard-step-label {
    color: var(--text2);
    font-size: 0.85rem;
    margin-bottom: 6px;
}
.wizard-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}
.wizard-nav .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* СПИСОК ВЫБОРА (опции визарда) */
.choice-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.choice-item {
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 14px 16px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    transition: var(--transition);
}
.choice-item:hover {
    border-color: var(--accent);
    color: var(--text);
    transform: translateY(-2px);
}
.choice-item.selected {
    border-color: var(--accent);
    background: rgba(79, 143, 255, 0.12);
    box-shadow: 0 0 0 1px var(--accent);
}

/* СВОДКА / ПОДТВЕРЖДЕНИЕ */
.summary-box {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 18px 20px;
    margin-bottom: 16px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.92rem;
}
.summary-row:last-child {
    border-bottom: none;
}
.summary-row .k {
    color: var(--text2);
}
.summary-row .v {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}
/* Точки-выноски между подписью и значением (только в сводных таблицах).
   Заполнитель растягивается во flex: точки появляются лишь при наличии
   свободного пространства и схлопываются, когда его нет. Невыделяемые. */
.summary-box .summary-row {
    align-items: baseline;
    gap: 0;
}
.summary-box .summary-row .k {
    flex: 0 0 auto;
}
.summary-box .summary-row .v {
    flex: 0 1 auto;
}
.summary-box .summary-row .leader {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 8px;
    align-self: baseline;
    border-bottom: 2px dotted var(--text3);
    user-select: none;
    pointer-events: none;
}

/* ТУМБЛЕР */
.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 12px 16px;
    margin-bottom: 16px;
}
.switch-row .label {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}
.switch {
    position: relative;
    width: 48px;
    height: 26px;
    flex: 0 0 auto;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch .slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 26px;
    transition: var(--transition);
}
.switch .slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    top: 3px;
    background: var(--text);
    border-radius: 50%;
    transition: var(--transition);
}
.switch input:checked + .slider {
    background: var(--accent);
}
.switch input:checked + .slider::before {
    transform: translateX(22px);
    background: #fff;
}

/* РЕЗУЛЬТАТ-КАРТА */
.result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}
.result-card .result-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}
.result-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.result-card p {
    color: var(--text2);
    margin-bottom: 18px;
}
.result-card .result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
/* Результат мэтча: полный (зелёный) / частичный (жёлтый) */
.result-card--full {
    border-color: var(--green);
    box-shadow: 0 0 0 1px var(--green), 0 12px 40px rgba(46, 204, 113, 0.12);
}
.result-card--partial {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 12px 40px rgba(240, 185, 11, 0.12);
}

/* Контакт партнёра — в результате мэтча и в карточке подписки */
.contact-box {
    text-align: left;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 14px 16px;
    margin: 6px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.result-card .contact-box {
    max-width: 420px;
    margin: 6px auto 18px;
}
.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
}
.contact-row .k {
    color: var(--text2);
}
.contact-row .v {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}
.contact-row .v a {
    color: var(--accent);
}
.material-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.material-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--accent);
}
.material-links a:hover {
    color: var(--accent2);
}

/* Блок «Курсы и материалы» на главной */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.material-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.material-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.material-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    margin-bottom: 14px;
}
.material-card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}
.material-card p {
    color: var(--text2);
    font-size: 0.92rem;
    margin-bottom: 16px;
    flex: 1;
}
.material-card .material-links {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    flex-direction: column;
    gap: 10px;
}
.material-card .material-links a {
    font-size: 0.95rem;
}
.material-cta {
    font-weight: 600;
}

/* БЕЙДЖИ СТАТУСА */
.status-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid var(--border);
}
.status-badge.active {
    color: var(--green);
    border-color: var(--green);
}
.status-badge.matched {
    color: var(--accent);
    border-color: var(--accent);
}
.status-badge.flag {
    color: var(--gold);
    border-color: var(--gold);
}

/* ГРУППА (направление) */
.app-group {
    margin-bottom: 28px;
}
.app-group-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ГРУППА ПОДПИСОК — заголовок направления с иконкой и разделителем */
.sub-group-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    padding-bottom: 10px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.sub-group-head i {
    color: var(--text);
    font-size: 1.05rem;
    width: 22px;
    text-align: center;
}

/* Сетка карточек: несколько в ряд, компактнее, с min-width */
.sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
}
.sub-show-more {
    margin-top: 14px;
}

/* Окно подробностей подписки */
.modal.modal--wide {
    max-width: 600px;
}
.sub-detail__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.sub-detail__subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 20px 0 12px;
}
.match-item {
    margin-bottom: 14px;
}
.match-item--current .contact-box {
    border-color: var(--accent);
}
.sub-detail__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 10px;
}
.sub-detail__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 9px 8px;
    white-space: nowrap;
}
.sub-detail__status {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text2);
}

/* КАРТОЧКА ПОДПИСКИ */
.sub-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left-width: 3px;
    border-radius: var(--radius-card);
    padding: 16px 18px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
}
.sub-card:hover {
    border-color: var(--accent);
}
.sub-card--active {
    border-left-color: var(--green);
}
.sub-card--off {
    border-left-color: var(--text3);
}
.sub-card--matched {
    border-left-color: var(--accent);
}
.sub-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.sub-card__title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}
.sub-card__badges {
    margin-top: -4px;
}

/* Меню «три точки» */
.sub-kebab {
    position: relative;
    flex-shrink: 0;
}
.sub-kebab__btn {
    background: transparent;
    border: none;
    color: var(--text2);
    cursor: pointer;
    padding: 4px 9px;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    transition: var(--transition);
}
.sub-kebab__btn:hover {
    background: var(--surface2);
    color: var(--text);
}
.sub-kebab__menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 50;
    min-width: 150px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    box-shadow: var(--shadow);
    padding: 6px;
}
.sub-kebab__menu.open {
    display: block;
}
.sub-kebab__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.88rem;
    text-align: left;
}
.sub-kebab__item:hover {
    background: var(--surface);
}
.sub-kebab__item.danger {
    color: var(--red);
}
.sub-kebab__item.danger:hover {
    background: rgba(231, 76, 60, 0.12);
}

/* Поля грейдов */
.sub-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.sub-field__label {
    font-size: 0.82rem;
    color: var(--text2);
    font-weight: 600;
    flex-shrink: 0;
}
.sub-select {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 10px;
    border-radius: var(--radius-btn);
    font-size: 0.82rem;
    cursor: pointer;
}
.sub-range {
    display: flex;
    align-items: center;
    gap: 6px;
}
.sub-range .sub-select {
    min-width: 82px;
}
.sub-range__dash {
    color: var(--text3);
}

/* Тумблеры активности / повторов */
.sub-card__toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.sub-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.84rem;
    color: var(--text2);
    user-select: none;
}
.sub-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.sub-toggle__track {
    position: relative;
    width: 38px;
    height: 20px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}
.sub-toggle__track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: var(--text3);
    border-radius: 50%;
    transition: var(--transition);
}
.sub-toggle input:checked + .sub-toggle__track {
    background: rgba(79, 143, 255, 0.25);
    border-color: var(--accent);
}
.sub-toggle input:checked + .sub-toggle__track::after {
    transform: translateX(18px);
    background: var(--accent);
}
.sub-toggle input:checked ~ .sub-toggle__text {
    color: var(--text);
}
.sub-toggle input:focus-visible + .sub-toggle__track {
    box-shadow: 0 0 0 2px var(--accent);
}

.subs-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* ТАБЫ */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.tabs .tab {
    padding: 10px 18px;
    color: var(--text2);
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.tabs .tab.active {
    color: var(--text);
    border-bottom-color: var(--accent);
}
.tabs .tab:hover:not(.active) {
    color: var(--text);
}

/* ТАБЛИЦЫ ПРИЛОЖЕНИЯ */
.app-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
}
.app-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.app-table th,
.app-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.app-table th {
    color: var(--text2);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.app-table tbody tr {
    transition: var(--transition);
}
.app-table tbody tr.clickable {
    cursor: pointer;
}
.app-table tbody tr.clickable:hover {
    background: var(--surface2);
}
.app-table tbody tr:last-child td {
    border-bottom: none;
}

/* ТЕГ НАПРАВЛЕНИЯ */
.dir-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--accent);
}

/* КВИЗ — вопрос и опции */
.quiz-question {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    max-width: 760px;
    margin: 0 auto;
}
.quiz-question .q-counter {
    color: var(--text2);
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.quiz-question .q-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    white-space: pre-wrap;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.quiz-option {
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 14px 16px;
    color: var(--text);
    text-align: left;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.quiz-option .opt-letter {
    font-weight: 700;
    color: var(--accent);
    flex: 0 0 auto;
}
.quiz-option:hover {
    border-color: var(--accent);
}
.quiz-option.selected {
    border-color: var(--accent);
    background: rgba(79, 143, 255, 0.12);
    box-shadow: 0 0 0 1px var(--accent);
}
.quiz-option.correct {
    border-color: var(--green);
    background: rgba(46, 204, 113, 0.12);
}
.quiz-option.wrong {
    border-color: var(--red);
    background: rgba(231, 76, 60, 0.12);
}

/* КВИЗ — обзор результатов */
.review-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 18px 20px;
    margin-bottom: 14px;
}
.review-item .r-head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
}
.review-item .r-text {
    font-weight: 600;
    white-space: pre-wrap;
}
.review-item .r-expl {
    color: var(--text2);
    font-size: 0.9rem;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
    white-space: pre-wrap;
}

/* ЗВЁЗДЫ */
.stars {
    display: inline-flex;
    gap: 4px;
    font-size: 1.6rem;
}
.stars .star {
    color: var(--text3);
    transition: var(--transition);
}
.stars .star.on {
    color: var(--gold);
}
.stars.clickable .star {
    cursor: pointer;
}

/* ПЕРЕКЛЮЧАТЕЛЬ РОЛИ */
.role-switch {
    display: inline-flex;
    gap: 4px;
    background: var(--surface2);
    border-radius: var(--radius-btn);
    padding: 4px;
    border: 1px solid var(--border);
}
.role-switch button {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text3);
}
.role-switch button.active {
    background: var(--accent);
    color: #fff;
}
/* Переключатель канала уведомлений: 4 опции — переносим на узких экранах */
.notify-switch {
    display: flex;
    flex-wrap: wrap;
}

/* ПРОФИЛЬ КАРТА */
.profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
    margin-bottom: 24px;
}
.profile-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 14px;
}
.stat-box {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 16px;
    text-align: center;
}
.stat-box .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
}
.stat-box .lbl {
    color: var(--text2);
    font-size: 0.85rem;
}
.spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.spec-tags span {
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text2);
}

/* форма отзыва */
.review-form {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 18px 20px;
    margin-top: 16px;
}
.review-form textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    margin: 12px 0;
}
.review-form textarea:focus {
    border-color: var(--accent);
    outline: none;
}

/* ============================================================
           УТИЛИТЫ
           ============================================================ */
.text-center {
    text-align: center;
}
.mt-16 {
    margin-top: 16px;
}
.mb-8 {
    margin-bottom: 8px;
}
.gap-8 {
    gap: 8px;
}
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.justify-center {
    justify-content: center;
}

/* ============================================================
           ОТЗЫВЫ О БОТЕ (компактный блок)
           ============================================================ */
.reviews-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.reviews-block__text h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}
.reviews-block__text p {
    color: var(--text2);
    max-width: 560px;
}
.reviews-block__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================================
           ЗВЁЗДНЫЙ РЕЙТИНГ (модалка отзыва)
           ============================================================ */
.star-rating {
    display: flex;
    gap: 8px;
    font-size: 1.8rem;
}
.star-rating i {
    color: var(--border);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating i:hover {
    transform: scale(1.12);
}
.star-rating i.on {
    color: var(--gold);
}
/* Во время наведения приглушаем выбранные и подсвечиваем наводимый диапазон */
.star-rating:hover i {
    color: var(--border);
}
.star-rating:hover i.hover {
    color: var(--gold);
}

/* ============================================================
           ЧЕКБОКСЫ СОГЛАСИЯ (регистрация / отзыв)
           ============================================================ */
.consent-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 4px 0 18px;
}
.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--text2);
    cursor: pointer;
}
.consent-row input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.consent-row a {
    color: var(--accent);
}
.consent-row a:hover {
    color: var(--accent2);
}

/* ============================================================
           ЮРИДИЧЕСКИЕ СТРАНИЦЫ (оферта / политика / условия)
           ============================================================ */
.legal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    max-width: 820px;
}
.legal h2 {
    font-size: 1.3rem;
    margin: 24px 0 10px;
}
.legal h2:first-child {
    margin-top: 0;
}
.legal p {
    color: var(--text2);
    margin-bottom: 12px;
}
.legal ul {
    margin: 0 0 16px;
    padding-left: 20px;
}
.legal li {
    color: var(--text2);
    margin-bottom: 8px;
}

/* ============================================================
           ВИЗАРД КВИЗА — шапка, крошки, доступность, история
           ============================================================ */
.quiz-bar {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 14px 16px;
    margin-bottom: 20px;
}
.quiz-bar__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.quiz-crumb {
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}
.quiz-crumb:not(:last-child)::after {
    content: "\203A";
    margin-left: 8px;
    margin-right: -4px;
    color: var(--text3);
}
.quiz-bar__head {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.quiz-bar__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}
.quiz-bar__desc {
    font-size: 0.86rem;
    color: var(--text2);
}
.quiz-avail {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text2);
}
.quiz-hist-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ==============================================================
   ВАКАНСИИ / РЕЗЮМЕ
   ============================================================== */

/* Раскладка страницы размещения вакансии: форма + предпросмотр */
.vac-post-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    align-items: start;
}
.vac-post-layout .vacancy-form { margin: 0; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.vac-preview-col {
    position: sticky;
    top: 90px;
}
.preview-label,
.my-vac-title {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text3);
    margin: 0 0 10px;
    font-weight: 700;
}
.my-vac-title { margin-top: 26px; }
.vac-preview-card .vac-card { cursor: default; }
.vac-preview-empty {
    border: 1px dashed var(--border);
    border-radius: var(--radius-card);
    padding: 28px 18px;
    text-align: center;
    color: var(--text3);
    font-size: 0.9rem;
}

/* Ввод тегов в форме работодателя */
.tag-input {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    background: var(--surface2);
    padding: 8px 10px;
}
.tag-input:focus-within { border-color: var(--accent); }
.tag-chips { display: contents; }
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(79, 143, 255, 0.15);
    color: var(--text);
    border: 1px solid rgba(79, 143, 255, 0.35);
    border-radius: 999px;
    padding: 3px 8px 3px 10px;
    font-size: 0.82rem;
}
.tag-chip button {
    background: none;
    border: none;
    color: var(--text2);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}
.tag-chip button:hover { color: var(--red); }
.tag-input input {
    flex: 1;
    min-width: 140px;
    border: none !important;
    background: transparent !important;
    padding: 4px !important;
    color: var(--text);
}
.tag-suggest {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.tag-suggest__item {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.8rem;
    color: var(--text2);
    cursor: pointer;
    transition: var(--transition);
}
.tag-suggest__item:hover { border-color: var(--accent); color: var(--text); }
.tag-hint {
    display: block;
    color: var(--text3);
    font-size: 0.78rem;
    margin-top: 6px;
}

/* Список «Мои вакансии» */
.my-vac-list { display: flex; flex-direction: column; gap: 10px; }
.my-vac-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    background: var(--surface);
    padding: 12px 14px;
    cursor: pointer;
    transition: var(--transition);
}
.my-vac-item:hover { border-color: var(--accent); transform: translateY(-1px); }
.my-vac-item__title { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.my-vac-item__meta { color: var(--text2); font-size: 0.82rem; margin-top: 4px; }
.my-vac-empty { color: var(--text3); font-size: 0.88rem; padding: 8px 2px; }

/* Фильтры на странице «Вакансии» */
.vac-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}
.vac-filters .vac-search {
    position: relative;
    flex: 1;
    min-width: 220px;
}
.vac-filters .vac-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
}
.vac-filters .vac-search input { padding-left: 40px; width: 100%; }
.vac-filters input,
.vac-filters select { min-width: 130px; }

.vac-tagfilter {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
}
.vtag-filter {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.82rem;
    color: var(--text2);
    cursor: pointer;
    transition: var(--transition);
}
.vtag-filter:hover { color: var(--text); }
.vtag-filter.active {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-color: transparent;
    color: #fff;
}

/* Карточка вакансии в списке */
.vac-list { display: flex; flex-direction: column; gap: 14px; }
.vac-loading { color: var(--text3); padding: 20px; text-align: center; }
.vac-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 18px 20px;
    cursor: pointer;
    transition: var(--transition);
}
.vac-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.vac-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}
.vac-card__title { font-size: 1.08rem; font-weight: 700; }
.vac-card__company { color: var(--text2); font-size: 0.88rem; margin-top: 3px; }
.vac-card__salary {
    color: var(--green);
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.95rem;
}
.vac-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
    color: var(--text2);
    font-size: 0.83rem;
}
.vac-card__meta i { color: var(--text3); margin-right: 4px; }
.vac-archived {
    background: rgba(231, 76, 60, 0.15);
    color: var(--red);
    border-radius: 6px;
    padding: 1px 7px;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Теги-бейджи (по категориям) */
.vtags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.vtag {
    font-size: 0.76rem;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface2);
    color: var(--text2);
}
.vtag--tech { border-color: rgba(79, 143, 255, 0.4); color: #9cc0ff; }
.vtag--employment { border-color: rgba(240, 185, 11, 0.4); color: #f0cf6b; }
.vtag--format { border-color: rgba(124, 92, 252, 0.4); color: #b7a5ff; }
.vtag--grade { border-color: rgba(46, 204, 113, 0.4); color: #7fe0a8; }

/* Подробности вакансии */
.vac-detail {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 26px 28px;
    max-width: 820px;
}
.vac-detail__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.vac-detail__title { font-size: 1.6rem; margin: 0; }
.vac-detail__company { color: var(--text2); margin-top: 6px; }
.vac-detail__salary { color: var(--green); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.vac-detail__meta { margin-top: 14px; }
.vac-detail__section { margin-top: 20px; color: var(--text); line-height: 1.6; }
.vac-detail__section h3 { font-size: 1.05rem; margin: 0 0 8px; }
.vac-detail__contact { margin-top: 18px; color: var(--text2); }
.vac-detail__contact a { color: var(--accent); }
.vac-detail__actions { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.vac-detail__owner { display: flex; gap: 10px; flex-wrap: wrap; }
.resume-danger { color: var(--red); border-color: rgba(231, 76, 60, 0.4); }
.resume-danger:hover { border-color: var(--red); }

/* Отклики */
.applicants { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 18px; }
.applicants h3 { font-size: 1.05rem; margin: 0 0 12px; }
.applicant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 12px 14px;
    margin-bottom: 10px;
}
.applicant__name { font-weight: 600; }
.applicant__headline { color: var(--text2); font-size: 0.85rem; margin-top: 2px; }
.applicant__msg { color: var(--text3); font-size: 0.83rem; margin-top: 6px; }

/* Блок резюме на странице «Вакансии» */
.resume-panel { margin-bottom: 24px; }
.resume-panel__hint {
    border: 1px dashed var(--border);
    border-radius: var(--radius-card);
    padding: 16px 18px;
    color: var(--text2);
    font-size: 0.9rem;
}
.resume-card,
.resume-form {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 18px 20px;
}
.resume-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.resume-card__title { font-weight: 700; }
.resume-card__title i { color: var(--accent); margin-right: 6px; }
.resume-card__headline { color: var(--text2); font-size: 0.9rem; margin-top: 4px; }
.resume-card__file { color: var(--text3); font-size: 0.83rem; margin-top: 6px; }
.resume-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.resume-form__title { font-weight: 700; margin-bottom: 8px; }
.resume-form__title i { color: var(--accent); margin-right: 6px; }
.resume-form__desc { color: var(--text2); font-size: 0.88rem; margin: 0 0 14px; }
.resume-form input[type="text"],
.resume-form textarea {
    width: 100%;
    margin-bottom: 12px;
}
.resume-form textarea { min-height: 70px; }
.resume-file-label {
    display: block;
    color: var(--text2);
    font-size: 0.85rem;
    margin-bottom: 14px;
}
.resume-file-label input[type="file"] {
    display: block;
    margin-top: 8px;
    color: var(--text2);
}
.resume-form__actions { display: flex; gap: 10px; }

@media (max-width: 860px) {
    .vac-post-layout { grid-template-columns: 1fr; }
    .vac-preview-col { position: static; }
    .form-row { grid-template-columns: 1fr; }
}

/* ==============================================================
   ВАКАНСИИ: сайдбар с фильтрами + фасеты + мобильная панель
   ============================================================== */
.vac-browse {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}
.vac-browse.no-filters { grid-template-columns: 1fr; }

.vac-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    overflow: hidden;
}
.vac-sidebar.is-hidden { display: none; }
.vac-sidebar__head {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
}
.vac-sidebar__close {
    display: none;
    background: none;
    border: none;
    color: var(--text2);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.vac-sidebar__scroll {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}
.vac-sidebar .vac-search { position: relative; }
.vac-sidebar .vac-search i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
}
.vac-sidebar .vac-search input { padding-left: 38px; width: 100%; }
.vac-sidebar > .vac-sidebar__scroll > input { width: 100%; }

.facet-group { border-top: 1px solid var(--border); padding-top: 12px; }
.facet-group:first-of-type { border-top: none; padding-top: 0; }
.facet-group__title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text3);
    font-weight: 700;
    margin-bottom: 9px;
}
.facet-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.facet-chip {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 0.82rem;
    color: var(--text2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.facet-chip:hover { color: var(--text); border-color: var(--accent); }
.facet-chip.active {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-color: transparent;
    color: #fff;
}
.facet-count { font-size: 0.72rem; opacity: 0.65; }
.facet-chip.active .facet-count { opacity: 0.9; }

.vac-results { min-width: 0; }

/* Плавающая кнопка фильтров (моб.) + затемнение */
.vac-fab {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 120;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.vac-fab__badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--gold);
    color: #14181f;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}
.vac-sidebar-backdrop { display: none; }

/* Группы подсказок тегов в форме работодателя */
.tag-suggest-wrap { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.tag-suggest-group__title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text3);
    font-weight: 700;
    margin-bottom: 6px;
}

@media (max-width: 860px) {
    .vac-browse { grid-template-columns: 1fr; }
    .vac-fab { display: flex; }
    .vac-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 86%;
        max-width: 340px;
        z-index: 130;
        border-radius: 0;
        border: none;
        border-right: 1px solid var(--border);
        transform: translateX(-105%);
        transition: transform 0.3s ease;
    }
    .vac-sidebar.is-open { transform: translateX(0); }
    .vac-sidebar.is-hidden { display: none; }
    .vac-sidebar__head { display: flex; }
    .vac-sidebar__close { display: block; }
    .vac-sidebar__scroll { max-height: none; height: calc(100% - 56px); }
    .vac-sidebar-backdrop.is-open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 125;
    }
}
