:root {
  --bg: #f5f6f8;
  --ink: #15171c;
  --ink2: #3e4450;
  --muted: #4a505c;
  --muted2: #5b616e;
  --line: #e2e5ea;
  --line2: #c9ced6;
  --soft: #eef0f3;
  --blue: #1f3fd1;
  --blue-d: #16309e;
  --blue-l: #e8ecfc;
  --blue-xl: #f7f8fe;
  --green: #0f6b41;
  --green-l: #e6f4ec;
  --red: #b3261e;
  --red-l: #fbe9e7;
  --amber: #8a5a00;
  --amber-l: #fff4d6;
  --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-head: 'Unbounded', 'Onest', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.55;
}
h1, h2, h3 { font-family: var(--f-head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-d); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #8fa3f5; outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.xs { font-size: 13px; color: var(--muted2); }
.center { text-align: center; }
.mt0 { margin-top: 0 !important; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent; background: var(--blue); color: #fff;
  font-weight: 600; text-decoration: none; font-size: 16px; line-height: 1.2; text-align: center; min-height: 48px;
}
.btn:hover { background: var(--blue-d); color: #fff; }
.btn-dark { background: var(--ink); } .btn-dark:hover { background: #2a2e37; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line2); }
.btn-line:hover { background: var(--bg); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); } .btn-white:hover { background: #f0f2f5; color: var(--ink); }
.btn-danger { background: #fff; color: var(--red); border-color: #e7b5b0; } .btn-danger:hover { background: var(--red-l); color: var(--red); }
.btn-sm { padding: 8px 14px; min-height: 40px; font-size: 14px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.iconbtn { width: 40px; height: 40px; padding: 0; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.iconbtn:hover { background: var(--bg); }

/* ---------- Формы ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.field .hint { font-weight: 400; color: var(--muted2); font-size: 13px; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=url], .field input[type=number], .field input[type=tel], .field input[type=date],
.field select, .field textarea, input.input, select.input, textarea.input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 10px; background: #fff;
  font-weight: 400; font-size: 16px; color: var(--ink); min-height: 48px;
}
textarea.input, .field textarea { resize: vertical; min-height: 0; line-height: 1.45; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid #cfd8fb; outline-offset: 0; }
.field .err, .err-text { color: var(--red); font-weight: 500; font-size: 14px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; cursor: pointer; padding: 4px 0; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--blue); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 8px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack8 { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Карточки и значки ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card-soft { background: var(--bg); border-radius: 12px; padding: 16px; }
.card h2, .card h3 { font-size: 18px; font-family: var(--f-body); font-weight: 700; letter-spacing: 0; }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--blue-l); color: var(--blue); font-weight: 600; font-size: 14px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 600; }
.chip.blue { background: var(--blue-l); color: var(--blue); }
.chip.green { background: var(--green-l); color: var(--green); }
.chip.red { background: var(--red-l); color: var(--red); }
.chip.amber { background: var(--amber-l); color: var(--amber); }
.flash { padding: 14px 18px; border-radius: 12px; margin: 0 0 20px; font-size: 15px; font-weight: 500; }
.flash.ok { background: var(--green-l); color: var(--green); }
.flash.err { background: var(--red-l); color: var(--red); }
.flash.info { background: var(--blue-l); color: var(--blue-d); }
.notice { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.notice svg { flex: 0 0 auto; margin-top: 2px; }
.progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--blue); border-radius: 999px; }

/* ---------- Публичный сайт ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: var(--f-head); font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.pill-nav { display: flex; gap: 4px; background: #f0f2f5; border-radius: 999px; padding: 4px; }
.pill-nav a { padding: 8px 16px; border-radius: 999px; color: var(--ink2); text-decoration: none; font-weight: 500; font-size: 15px; }
.pill-nav a.on { background: var(--ink); color: #fff; font-weight: 600; }
.header-links { display: flex; gap: 20px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.header-links a:not(.btn) { color: var(--ink2); text-decoration: none; font-size: 15px; }
.header-links a:not(.btn):hover { color: var(--blue); }

.hero { padding: 80px 0 72px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero .text { flex: 1 1 480px; min-width: 0; }
.hero h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.02em; margin: 16px 0 24px; }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 580px; margin-bottom: 32px; }
.hero .preview { flex: 1 1 420px; min-width: 0; }
.preview-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 12px 32px rgba(21, 23, 28, .06); }
.mini-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 20px 0; }
.mini-tiles div { background: var(--bg); border-radius: 12px; padding: 12px; }
.mini-tiles span { display: block; font-size: 13px; color: var(--muted2); }
.mini-tiles b { font-family: var(--f-head); font-size: 22px; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--soft); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-l); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: 0 0 auto; }
.score { padding: 4px 10px; border-radius: 999px; background: var(--green-l); color: var(--green); font-weight: 700; font-size: 14px; }
.score.mid { background: var(--amber-l); color: var(--amber); } .score.low { background: var(--red-l); color: var(--red); } .score.none { background: var(--soft); color: var(--muted); }

.section { padding: 80px 0; }
.section.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 12px; }
.section .sub { color: var(--muted); max-width: 640px; margin-bottom: 40px; }
.section h2 + .grid-auto, .section h2 + .steps-grid { margin-top: 28px; }
.pain { background: var(--bg); border-radius: 16px; padding: 28px; }
.pain b { display: block; font-size: 20px; margin-bottom: 12px; }
.pain p { color: var(--muted); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.step { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.step .n { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-head); font-weight: 700; }
.step b { display: block; font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 16px; }
.dark-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.dark-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); }
.dark-band p { color: #c7cbd3; }
.video-box { flex: 1 1 480px; min-width: 0; aspect-ratio: 16/9; border-radius: 16px; background: #2a2e37; border: 1px dashed #5b616e; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #c7cbd3; font-size: 15px; }
.video-box video, .video-box iframe { width: 100%; height: 100%; border: 0; background: #000; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.person { display: flex; gap: 24px; flex-wrap: wrap; background: var(--bg); border-radius: 20px; padding: 28px; }
.person .photo { flex: 0 0 160px; height: 200px; border-radius: 14px; background: var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted2); font-size: 14px; text-align: center; overflow: hidden; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .info { flex: 1 1 200px; min-width: 0; }
.person b { font-size: 22px; display: block; }
.person .role { color: var(--blue); font-weight: 600; margin: 4px 0 16px; }
.proof { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.proof .shot { height: 220px; border-radius: 10px; background: var(--soft); border: 1px dashed var(--line2); display: flex; align-items: center; justify-content: center; color: var(--muted2); font-size: 15px; overflow: hidden; }
.proof .shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.proof p { margin: 14px 4px 4px; font-weight: 600; }
.tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.tariff { border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 20px; background: #fff; }
.tariff.hot { border: 2px solid var(--blue); background: var(--blue-xl); }
.tariff .name { font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.tariff .price { font-family: var(--f-head); font-size: 38px; font-weight: 700; line-height: 1.1; }
.tariff .price small { font-family: var(--f-body); font-size: 16px; font-weight: 500; color: var(--muted2); }
.tariff ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.tariff .cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.badge-hot { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; }
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; }
.faq details p { margin-top: 12px; color: var(--muted); }
.site-footer { background: var(--ink); color: #c7cbd3; margin-top: 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; font-size: 14px; }
.site-footer a { color: #fff; margin-right: 20px; }
.prose p, .prose ul { margin: 0 0 14px; } .prose ul { padding-left: 22px; }

.role-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; }
.role-card { display: flex; flex-direction: column; gap: 20px; padding: 40px; border-radius: 24px; min-height: 340px; text-decoration: none; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.role-card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.role-card .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-l); display: flex; align-items: center; justify-content: center; }
.role-card.dark .ico { background: var(--blue); }
.role-card h2 { font-size: 30px; }
.role-card p { font-size: 18px; color: var(--muted); }
.role-card.dark p { color: #c7cbd3; }
.role-card .go { margin-top: auto; font-weight: 600; font-size: 18px; color: var(--blue); }
.role-card.dark .go { color: #fff; }
.role-card:hover { color: inherit; box-shadow: 0 12px 32px rgba(21, 23, 28, .1); }

/* ---------- Простые страницы (вход, оформление) ---------- */
.narrow { max-width: 520px; margin: 0 auto; padding: 56px 24px 80px; }
.narrow.wide { max-width: 720px; }
.narrow h1 { font-size: 28px; margin-bottom: 8px; }
.narrow .card { margin-top: 24px; }
.sum-line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--soft); }
.sum-line.total { font-weight: 700; font-size: 20px; }
.radio-card { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line2); border-radius: 12px; padding: 16px; cursor: pointer; background: #fff; font-weight: 400; }
.radio-card input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); flex: 0 0 auto; }
.radio-card:has(input:checked) { border-color: var(--blue); background: var(--blue-xl); box-shadow: 0 0 0 1px var(--blue); }
.radio-card b { display: block; }

/* ---------- Кабинет / админка ---------- */
.app { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 1 240px; max-width: 280px; background: #fff; border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; gap: 24px; }
.side .brand { margin: 0 8px; font-size: 18px; display: block; }
.plan-box { margin: 0 8px; padding: 12px; border-radius: 12px; background: var(--bg); }
.plan-box.t2 { background: var(--blue-l); }
.plan-box .l { font-size: 13px; color: var(--muted2); }
.plan-box b { display: block; }
.plan-box.t2 b { color: var(--blue); }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { padding: 12px; border-radius: 10px; color: var(--ink2); text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.nav a:hover { background: var(--bg); }
.nav a.on { background: var(--blue-l); color: var(--blue); font-weight: 600; }
.nav a.lock { color: #8a909b; }
.nav .tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); font-weight: 600; }
.side .foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 0 8px; font-size: 14px; }
.side .foot a { color: var(--muted); }
.main { flex: 999 1 560px; min-width: 0; padding: 32px; }
.main-in { max-width: 1160px; display: flex; flex-direction: column; gap: 24px; }
.main h1 { font-size: 26px; }
.back { font-size: 14px; color: var(--muted); text-decoration: none; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.admin .side { background: var(--ink); border-right-color: var(--ink); color: #fff; }
.admin .side .brand { color: #fff; }
.admin .nav a { color: #c7cbd3; }
.admin .nav a:hover { background: #2a2e37; }
.admin .nav a.on { background: #2a2e37; color: #fff; }
.admin .side .foot a { color: #c7cbd3; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; font-size: 13px; color: var(--muted2); font-weight: 600; padding: 12px 14px; background: #fafbfc; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 12px 14px; border-top: 1px solid var(--soft); vertical-align: top; }
table.t tr:first-child td { border-top: 0; }
table.t tr.sel td { background: var(--blue-xl); }
table.t td a.row-link { color: var(--ink); text-decoration: none; font-weight: 600; }
table.t td a.row-link:hover { color: var(--blue); }
.stage-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.tile.on { border: 2px solid var(--blue); padding: 13px 15px; }
.tile span { display: block; font-size: 14px; color: var(--muted2); }
.tile b { font-family: var(--f-head); font-size: 26px; }
a.tile:hover { color: var(--ink); background: var(--blue-xl); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.kpis .tile { cursor: default; }
.steps-pill { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.steps-pill li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--muted); font-weight: 600; font-size: 14px; border: 1px solid var(--line); }
.steps-pill li a { color: inherit; text-decoration: none; display: flex; gap: 8px; }
.steps-pill li.done { background: var(--green-l); color: var(--green); border-color: transparent; }
.steps-pill li.cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.split > .a { flex: 1 1 400px; min-width: 0; }
.split > .b { flex: 999 1 480px; min-width: 0; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs a, .tabs button { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line2); background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; cursor: pointer; }
.tabs a.on, .tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }

/* уроки */
.player { position: relative; aspect-ratio: 16/9; border-radius: 16px; background: #15171c; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #c7cbd3; user-select: none; -webkit-user-select: none; }
.player video, .player iframe { width: 100%; height: 100%; border: 0; background: #000; }
.player .wm { position: absolute; left: 0; top: 0; z-index: 3; margin: 0; padding: 4px 10px; font-size: 15px; color: rgba(255, 255, 255, .28); text-shadow: 0 0 2px rgba(0, 0, 0, .4); pointer-events: none; white-space: nowrap; transform: rotate(-14deg); will-change: left, top; transition: left 1.5s linear, top 1.5s linear; }
.player .fs { position: absolute; right: 12px; bottom: 12px; z-index: 4; }
.player .hint { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 13px; color: #aeb3bd; pointer-events: none; }
.player.blur video { filter: blur(24px); }
.lesson-block { padding: 12px 0; border-top: 1px solid var(--soft); }
.lesson-block:first-child { border-top: 0; padding-top: 0; }
.lesson-link { display: flex; gap: 10px; align-items: center; padding: 7px 8px; margin: 0 -8px; font-size: 15px; color: var(--ink2); text-decoration: none; border-radius: 8px; }
.lesson-link:hover { background: var(--bg); }
.lesson-link.cur { color: var(--ink); font-weight: 600; background: var(--blue-xl); }
.dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); flex: 0 0 auto; background: #fff; }
.dot.done { border-color: #0f7a4a; background: #0f7a4a; }
.dot.cur { border-color: var(--blue); }
.file-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--bg); color: var(--ink); text-decoration: none; }
a.file-row:hover { background: var(--blue-l); color: var(--ink); }
.upsell { background: var(--ink); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.upsell h3 { color: #fff; font-size: 18px; line-height: 1.3; font-family: var(--f-head); }
.upsell p { color: #c7cbd3; font-size: 15px; }
.promo-box { padding: 10px 12px; border-radius: 10px; border: 1px dashed #5b616e; font-size: 14px; }
.promo-copy { font-family: ui-monospace, Menlo, monospace; font-weight: 700; background: var(--blue-l); color: var(--blue); padding: 2px 8px; border-radius: 6px; }

/* вакансия */
.vac-sections { background: var(--bg); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; font-size: 15px; }
.vac-sec { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.vac-sec:first-of-type { border-top: 0; }
.vac-sec .num { flex: 0 0 24px; font-size: 13px; color: var(--muted2); font-weight: 600; padding-top: 2px; }
.vac-sec .body { flex: 1; min-width: 0; }
.vac-sec .body h4 { margin: 0 0 4px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vac-sec .body p, .vac-sec .body ul { margin: 0; color: var(--ink2); font-size: 14px; }
.vac-sec .body ul { padding-left: 20px; }
.vac-sec .body .empty { color: var(--muted2); font-style: italic; }
.vac-sec textarea { margin-top: 6px; }
.q-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.cand-card { position: sticky; top: 16px; }

/* анкета кандидата (телефон) */
.q-shell { max-width: 640px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.q-head { background: #fff; border-bottom: 1px solid var(--line); padding: 16px 20px; position: sticky; top: 0; z-index: 5; }
.q-head .company { font-size: 14px; color: var(--muted2); }
.q-head .vac { font-weight: 700; font-size: 18px; }
.q-head .q-count { font-size: 14px; color: var(--muted); margin-top: 6px; display: block; }
.q-body { flex: 1; padding: 24px 20px 120px; }
.q-body .qq { display: none; flex-direction: column; gap: 14px; }
.q-body .qq.on { display: flex; }
.q-body .qq h2 { font-size: 20px; font-family: var(--f-body); font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.q-foot { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); z-index: 5; }
.q-foot .in { max-width: 640px; margin: 0 auto; display: flex; gap: 12px; }
.q-foot .btn { flex: 1; }
.vac-view { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.vac-view h1 { font-size: 24px; margin-bottom: 16px; }
.vac-view h3 { font-family: var(--f-body); font-size: 17px; margin: 22px 0 8px; }
.vac-view p, .vac-view ul { margin: 0 0 10px; } .vac-view ul { padding-left: 22px; }

@media (max-width: 900px) {
  .side { max-width: none; flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px 16px; gap: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .plan-box { display: none; }
  .nav { flex-direction: row; overflow-x: auto; flex: 1 1 100%; order: 3; padding-bottom: 4px; }
  .nav a { white-space: nowrap; }
  .side .foot { margin-top: 0; flex-direction: row; margin-left: auto; padding: 0; }
  .main { padding: 20px 16px; flex-basis: 100%; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0; }
  .dark-band { padding: 28px; }
  .role-card { padding: 28px; min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .mini-tiles { grid-template-columns: repeat(2, 1fr); }
  .tariff { padding: 24px; }
  .header-links { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
