/* ============================================================
   work.kg — общий дизайн-система публичного сайта (mobile-first)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg2: #f5f5f8;
  --bg3: #eeeef4;
  --accent: #6c63ff;
  --accent2: #8b7cff;
  --accent-dark: #574fd6;
  --text: #16162a;
  --text2: #6b6b80;
  --text3: #9999ac;
  --border: #e6e6ef;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(30, 30, 60, 0.06);
  --shadow-lg: 0 12px 40px rgba(30, 30, 60, 0.12);
  --container: 1180px;
  --nav-h: 60px;
  --tabbar-h: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
}
body.no-tabbar { padding-bottom: 20px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: 24px; }
h2 { font-size: 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: none;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(108,99,255,0.3); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline { background: #fff; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-white { background: #fff; color: var(--accent); }
.btn-ghost-white { background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-danger { background: var(--error); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.6; pointer-events: none; }

/* pill-choice button (использ. в визардах: "Нет опыта / 1-3 года" и т.п.) */
.choice-btn {
  padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; font-size: 14px; font-weight: 500; color: var(--text); text-align: left;
  transition: border-color .12s, color .12s;
}
.choice-btn.active { border-color: var(--accent); color: var(--accent); background: #f4f3ff; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--bg2); font-size: 13px; font-weight: 600; color: var(--text2); white-space: nowrap; transition: background .12s, color .12s; }
.chip.active, .chip:hover { background: var(--accent); color: #fff; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); background: #fff; border-bottom: 1px solid transparent; transition: transform .25s ease, box-shadow .2s ease; padding-top: var(--safe-t); }
.navbar.scrolled { box-shadow: 0 2px 12px rgba(30,30,60,0.06); border-bottom-color: var(--border); }
.navbar.nav-hidden { transform: translateY(-100%); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo img { height: 30px; }
.nav-links { display: none; }
.nav-actions { display: none; }
#authSlot { display: flex; align-items: center; gap: 8px; }
.burger { display: flex; flex-direction: column; gap: 5px; width: 24px; background: none; border: none; padding: 4px; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== MOBILE DRAWER MENU ===== */
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(20,20,40,0.4); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 199; }
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw); background: #fff; z-index: 200; padding: calc(20px + var(--safe-t)) 20px 20px; display: flex; flex-direction: column; gap: 4px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mobile-menu-close { background: none; border: none; width: 32px; height: 32px; color: var(--text2); }
.mobile-menu a, .mobile-menu-authslot { display: block; padding: 13px 4px; border-bottom: 1px solid var(--border); font-weight: 500; }
.mobile-menu .btn { margin-top: 8px; }

/* ===== MOBILE TAB BAR ===== */
.mobile-tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #fff; border-top: 1px solid var(--border); display: flex; padding-bottom: var(--safe-b); height: var(--tabbar-h); }
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: none; border: none; color: var(--text3); font-size: 10px; font-weight: 600; }
.tab-item svg { width: 21px; height: 21px; }
.tab-item.active { color: var(--accent); }

/* ===== HERO ===== */
.hero { background: linear-gradient(155deg, var(--accent) 0%, var(--accent2) 100%); color: #fff; padding: 32px 0 28px; border-radius: 0 0 28px 28px; position: relative; overflow: hidden; }
.hero::before { content:''; position:absolute; width:340px; height:340px; border-radius:50%; background:rgba(255,255,255,0.08); top:-160px; right:-100px; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: 26px; line-height: 1.25; max-width: 480px; }
.hero p { margin-top: 10px; font-size: 14px; opacity: 0.85; max-width: 420px; }
.search-box { margin-top: 20px; background: #fff; border-radius: var(--radius); padding: 8px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-lg); max-width: 640px; }
.search-field { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.search-field svg { width: 18px; height: 18px; color: var(--text3); flex-shrink: 0; }
.search-field input { border: none; outline: none; width: 100%; font-size: 14px; color: var(--text); }
.btn-search { width: 100%; }
.hero-stats { display: flex; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 19px; }
.hero-stat span { font-size: 12px; opacity: 0.8; }
.hero-cta-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ===== SECTION ===== */
.section { padding: 36px 0; }
.section-header { margin-bottom: 20px; }
.section-tag { display: inline-block; background: #f4f3ff; color: var(--accent); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 8px; }
.section-title { font-size: 21px; }
.section-sub { color: var(--text2); font-size: 14px; margin-top: 6px; }

/* ===== CATEGORY CARDS ===== */
.cat-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 16px 16px 4px; margin: 0 -16px; scrollbar-width: none; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-chip { flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: var(--bg2); border: 1.5px solid transparent; border-radius: var(--radius); padding: 22px 20px; min-width: 220px; min-height: 96px; transition: background .12s, border-color .12s, transform .12s; }
.cat-chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-chip.active { background: var(--accent); color: #fff; }
.cat-chip-name { font-size: 17px; font-weight: 800; line-height: 1.25; }
.cat-chip-count { font-size: 13px; color: var(--accent); font-weight: 700; }
.cat-chip.active .cat-chip-count { color: #fff; opacity: 0.85; }

/* ===== QUICK PILLS ===== */
.pill-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.pill-scroll::-webkit-scrollbar { display: none; }
.pill { flex-shrink: 0; }

/* ===== FILTERS ===== */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; font-size: 13px; font-weight: 600; color: var(--text2); }
.filter-btn.active { background: var(--text); color: #fff; border-color: var(--text); }

/* ===== JOB CARDS ===== */
.jobs-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.job-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; transition: box-shadow .15s, border-color .15s; }
.job-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.job-logo { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 15px; }
.job-updated { font-size: 11px; color: var(--text3); }
.job-card-body { margin-top: 12px; }
.job-title { font-size: 16px; font-weight: 700; }
.job-company { font-size: 13px; color: var(--text2); margin-top: 3px; }
.dot { color: var(--text3); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.job-tag { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--bg2); color: var(--text2); }
.job-tag-cat { background: #f4f3ff; color: var(--accent); }
.job-card-side { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.job-salary { font-weight: 800; font-size: 15px; color: var(--text); }
.job-badge { font-size: 11px; font-weight: 700; background: #ecfdf5; color: var(--success); padding: 4px 9px; border-radius: 999px; }
.jobs-empty { text-align: center; padding: 40px 16px; color: var(--text2); }
.jobs-empty .btn { margin-top: 12px; }
.load-more-wrap { text-align: center; margin-top: 20px; }

/* ===== PROMO / CTA banner ===== */
.promo-banner { background: var(--bg2); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.promo-banner strong { display: block; font-size: 16px; }
.promo-banner span { display: block; font-size: 13px; color: var(--text2); margin-top: 4px; }
.promo-stat { margin-top: 12px; }
.promo-stat b { color: var(--accent); font-size: 20px; }
.cta-banner { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border-radius: var(--radius-lg); margin: 20px 16px; padding: 32px 24px; text-align: center; }
.cta-banner h2 { font-size: 21px; }
.cta-banner p { font-size: 14px; opacity: 0.85; margin-top: 8px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* ===== HOW IT WORKS ===== */
.how-grid { display: flex; flex-direction: column; gap: 16px; }
.how-card { background: var(--bg2); border-radius: var(--radius); padding: 20px; }
.how-num { font-size: 12px; font-weight: 800; color: var(--accent); }
.how-icon { font-size: 26px; margin: 8px 0; }
.how-card h3 { font-size: 15px; margin-bottom: 6px; }
.how-card p { font-size: 13px; color: var(--text2); }

/* ===== COMPANIES ===== */
.companies-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.company-logo-card { display: flex; align-items: center; gap: 10px; background: var(--bg2); border-radius: var(--radius); padding: 14px; font-size: 13px; font-weight: 600; }
.company-avatar { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 12px; flex-shrink: 0; }
.companies-cta { text-align: center; margin-top: 20px; }
.companies-cta p { margin-bottom: 10px; color: var(--text2); font-size: 14px; }

/* ===== ARTICLES ===== */
.articles-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.article-card { display: block; }
.article-thumb { height: 130px; border-radius: var(--radius); margin-bottom: 8px; }
.article-card p { font-size: 14px; font-weight: 600; }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 32px 0 16px; margin-top: 20px; }
.footer-inner { display: flex; flex-direction: column; gap: 24px; }
.footer-brand p { font-size: 13px; margin: 10px 0 14px; }
.socials { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.social-link svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 13px; color: #fff; margin-bottom: 10px; }
.footer-col a { display: block; font-size: 13px; padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 20px; padding-top: 16px; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.footer-bottom-links a { display: inline-block; margin-right: 14px; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(20,20,40,0.45); z-index: 300; display: none; align-items: flex-end; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; width: 100%; max-width: 480px; border-radius: 20px 20px 0 0; max-height: 88vh; overflow-y: auto; }
.modal-sm { max-width: 420px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; }
.modal-header h3 { font-size: 17px; }
.modal-close { background: none; border: none; width: 30px; height: 30px; color: var(--text2); }
.modal-body { padding: 20px; }
.modal-footer { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  outline: none; transition: border-color .12s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-row { display: flex; flex-direction: column; gap: 0; }
.form-hint { font-size: 12px; color: var(--text2); margin-bottom: 10px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* toggle switch */
.toggle { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border); border-radius: 999px; transition: .2s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; }
.toggle input:checked + .toggle-slider { background: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }

/* tag input (навыки) */
.tag-input-box { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-input-box input { border: none; outline: none; flex: 1; min-width: 100px; padding: 6px; }
.tag-pill { display: flex; align-items: center; gap: 6px; background: #f4f3ff; color: var(--accent); padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag-pill button { background: none; border: none; color: var(--accent); font-weight: 800; }

/* ===== TOASTS ===== */
.toast-container { position: fixed; bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); left: 16px; right: 16px; z-index: 400; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { padding: 12px 18px; background: var(--text); color: #fff; border-left: 3px solid var(--accent); border-radius: 12px; font-size: 13px; max-width: 420px; box-shadow: var(--shadow-lg); cursor: pointer; animation: toastIn .25s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== AUTH MODAL specifics ===== */
.auth-modal-sub { font-size: 13px; color: var(--text2); margin-bottom: 16px; }
.auth-status { font-size: 13px; margin-top: 8px; }
.auth-status.success { color: var(--success); }
.auth-status.error { color: var(--error); }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--text3); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.telegram-login-wrap { display: flex; justify-content: center; }
.auth-tg-hint { font-size: 12px; color: var(--text3); text-align: center; }
.auth-user-pill { display: flex; align-items: center; gap: 8px; }
.auth-user-avatar { width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.auth-user-name { display: none; }

/* ===== WIZARD (публикация вакансии / резюме) ===== */
.wizard-wrap { display: flex; flex-direction: column-reverse; gap: 20px; padding: 20px 0 40px; }
.wizard-steps { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; scrollbar-width: none; }
.wizard-steps::-webkit-scrollbar { display: none; }
.wizard-step { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--bg2); font-size: 12px; font-weight: 600; color: var(--text2); }
.wizard-step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.wizard-step.done .wizard-step-dot { background: var(--success); }
.wizard-step.current { background: var(--text); color: #fff; }
.wizard-step.current .wizard-step-dot { background: var(--accent); }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-panel h2 { margin-bottom: 4px; }
.wizard-panel-sub { font-size: 13px; color: var(--text2); margin-bottom: 18px; }
.wizard-section { margin-bottom: 24px; }
.wizard-section h3 { font-size: 15px; margin-bottom: 10px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.repeatable-block { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; position: relative; }
.repeatable-remove { position: absolute; top: 12px; right: 12px; background: none; border: none; color: var(--text3); }

/* ===== ACCOUNT ===== */
.account-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; }
.account-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.account-card-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ===== JOB DETAIL PAGE ===== */
.job-detail-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.job-detail-logo { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.job-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.job-detail-salary-box { background: var(--bg2); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.job-detail-salary-box .job-salary { font-size: 22px; }
.job-detail-section { margin-bottom: 20px; }
.job-detail-section h3 { font-size: 15px; margin-bottom: 8px; }
.job-detail-section ul { padding-left: 0; }
.job-detail-section li { font-size: 14px; color: var(--text2); padding: 4px 0 4px 18px; position: relative; }
.job-detail-section li::before { content: '—'; position: absolute; left: 0; color: var(--text3); }
.job-detail-apply-bar { position: fixed; bottom: calc(var(--tabbar-h) + var(--safe-b)); left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); padding: 12px 16px; z-index: 80; }

/* ============================================================
   DESKTOP ENHANCEMENTS (min-width)
   ============================================================ */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-tabbar, .burger { display: none; }
  .nav-links { display: flex; gap: 24px; font-size: 14px; font-weight: 600; }
  .nav-actions { display: flex; align-items: center; gap: 8px; }
  .nav-actions .btn { padding: 8px 16px; font-size: 13px; }
  .hero h1 { font-size: 34px; }
  .search-box { flex-direction: row; padding: 8px; }
  .search-field { flex: 1; }
  .btn-search { width: auto; flex-shrink: 0; padding: 11px 28px; }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .companies-logos { grid-template-columns: repeat(4, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { flex-direction: row; }
  .footer-inner { flex-direction: row; justify-content: flex-start; flex-wrap: wrap; gap: 48px; }
  .footer-brand { flex: 1 1 240px; }
  .footer-col { flex: 0 0 auto; min-width: 140px; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
  .cta-actions { flex-direction: row; justify-content: center; }
  .modal-overlay { align-items: center; }
  .modal { border-radius: var(--radius-lg); }
  .auth-user-name { display: inline; font-size: 13px; font-weight: 600; }
  .wizard-wrap { flex-direction: row; align-items: flex-start; }
  .wizard-steps { flex-direction: column; width: 220px; flex-shrink: 0; position: sticky; top: calc(var(--nav-h) + 20px); }
  .wizard-panel-inner { flex: 1; }
  .job-detail-apply-bar { position: static; border: none; padding: 0; }

  /* категории на десктопе — сетка вместо горизонтального скролла */
  .cat-scroll { display: grid; grid-template-columns: repeat(4, 1fr); overflow-x: visible; margin: 0; padding: 16px 0 4px; }
  .cat-chip { min-width: 0; }

  /* промо-баннер: текст + акцентная цифра справа, а не пустая полоса */
  .promo-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; }
  .promo-stat { flex-shrink: 0; text-align: right; }
  .promo-stat b { display: block; font-size: 26px; color: var(--accent); }
  .promo-stat span { display: block; font-size: 12px; color: var(--text2); }
}

@media (min-width: 1024px) {
  h1 { font-size: 30px; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 40px; }
  .jobs-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(4, 1fr); }
  .companies-logos { grid-template-columns: repeat(4, 1fr); }
}
