/* =========================================================
   EuVacancy — светлая «инженерная» тема
   Onest во всём макете, прямые углы,
   сигнальный оранжевый как единственный акцент.
   ========================================================= */

:root {
    --paper: #f4f5f2;
    --paper-2: #ffffff;
    --ink: #14181c;
    --ink-2: #3a444d;
    --ink-3: #6b7883;
    --line: #d9dcd6;
    --line-2: #c2c7bf;
    --accent: #e8541e;
    --accent-dark: #c33f0e;
    --steel: #223140;
    --ok: #1c7a4a;
    --err: #c0362c;

    --wrap: 1220px;
    --gap: 24px;
    --radius: 3px;
    --shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(20, 24, 28, .55);
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.page {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.6 "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
    letter-spacing: .002em;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    font-family: "Onest", "Segoe UI", system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -.015em;
}

h1 { font-size: clamp(29px, 3.9vw, 46px); line-height: 1.12; }
h2 { font-size: clamp(23px, 2.7vw, 34px); }
h3 { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

mark { background: linear-gradient(transparent 62%, rgba(232, 84, 30, .28) 62%); color: inherit; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, 860px); }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font: 600 13.5px/1 "Onest", sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--wide { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 14px; }

/* ---------- Шапка ---------- */
.masthead {
    position: sticky; top: 0; z-index: 40;
    background: rgba(244, 245, 242, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.masthead__row {
    display: flex; align-items: center; gap: 24px;
    min-height: 74px;
}
.mark { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.mark__glyph { flex: none; }
.mark__text { display: flex; flex-direction: column; line-height: 1.1; }
.mark__text b {
    font: 700 21px/1 "Onest", sans-serif; letter-spacing: -.01em; color: var(--ink);
}
.mark__text i {
    font-style: normal; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px;
}

.masthead__nav { display: flex; gap: 22px; }
.masthead__nav a {
    font-size: 14.5px; text-decoration: none; color: var(--ink-2); padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.masthead__nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.masthead__cta { display: flex; gap: 10px; }

.burger { display: none; width: 44px; height: 40px; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; padding: 11px 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin-bottom: 4px; }
.burger span:last-child { margin-bottom: 0; }

.masthead__drawer { display: none; flex-direction: column; gap: 4px; padding: 12px 20px 20px; border-top: 1px solid var(--line); }
.masthead__drawer a { padding: 11px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.masthead__drawer .btn { margin-top: 12px; border-bottom: 2px solid var(--accent); }

/* ---------- Первый экран ---------- */
.hero {
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 380px),
        repeating-linear-gradient(0deg, transparent 0 39px, rgba(34, 49, 64, .05) 39px 40px),
        repeating-linear-gradient(90deg, transparent 0 39px, rgba(34, 49, 64, .05) 39px 40px);
}
.hero__grid {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 48px; padding: 64px 0 56px;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font: 600 11.5px/1 "Onest", sans-serif; letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent-dark); margin-bottom: 20px;
}
.eyebrow i { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }

.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 17.5px; color: var(--ink-2); max-width: 56ch; margin-bottom: 28px; }

.finder {
    display: grid; grid-template-columns: minmax(0, 1fr) 200px auto; gap: 10px;
    background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--radius);
    padding: 12px; margin-bottom: 22px;
}
.finder__field { display: flex; flex-direction: column; gap: 4px; }
.finder__field span { font: 600 10px/1 "Onest", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.finder__field input, .finder__field select {
    border: 0; border-bottom: 1px solid var(--line-2); background: none;
    padding: 6px 0; font: inherit; font-size: 15px; color: var(--ink); width: 100%;
}
.finder__field input:focus, .finder__field select:focus { outline: none; border-bottom-color: var(--accent); }
.finder .btn { align-self: end; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 100px;
    background: var(--paper-2); font-size: 13.5px; text-decoration: none; color: var(--ink-2);
}
.chips a:hover { border-color: var(--accent); color: var(--accent-dark); }
.chips b { font: 600 12px/1 var(--mono); color: var(--ink-3); }

.hero__panel {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    align-self: start;
}
.hero__panel-title { font-size: 22px; margin-bottom: 8px; }
.hero__panel-sub { font-size: 14.5px; color: var(--ink-3); margin-bottom: 20px; }

.ticker { border-top: 1px solid var(--line); background: var(--paper-2); }
.ticker__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.ticker__row div { padding: 22px 0; border-right: 1px solid var(--line); text-align: center; }
.ticker__row div:last-child { border-right: 0; }
.ticker__row b { display: block; font: 700 27px/1 "Onest", sans-serif; letter-spacing: -.02em; color: var(--ink); }
.ticker__row span { font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }

/* ---------- Секции ---------- */
.section { padding: 76px 0; }
.section--top { padding-top: 40px; }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.section--dark { background: var(--steel); color: #dfe5ea; }
.section--dark h2, .section--dark h3 { color: #fff; }

.shead { max-width: 720px; margin-bottom: 42px; }
.shead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.shead--light .shead__tag { color: #ffb59a; }
.shead__tag {
    font: 600 11.5px/1 "Onest", sans-serif; letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent-dark); margin-bottom: 14px;
}
.shead__lead { color: var(--ink-2); font-size: 16.5px; margin-bottom: 0; }
.section--dark .shead__lead { color: #b6c2cd; }

/* ---------- Направления ---------- */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dir {
    position: relative; background: var(--paper-2); padding: 30px 26px 26px;
    text-decoration: none; display: block; transition: background .15s ease;
}
.dir:hover { background: #fff8f4; }
.dir__num { font: 600 12px/1 var(--mono); color: var(--accent); letter-spacing: .1em; }
.dir h3 { margin: 14px 0 8px; }
.dir__count { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.dir__go { position: absolute; right: 22px; bottom: 22px; font-size: 20px; color: var(--line-2); }
.dir:hover .dir__go { color: var(--accent); }

/* ---------- Карточки вакансий ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.vgrid--list { grid-template-columns: 1fr; gap: 14px; }

.vcard {
    display: flex; flex-direction: column;
    background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 24px; transition: border-color .15s ease, box-shadow .15s ease;
}
.vcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.vcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.vcard__cat {
    font: 600 10.5px/1 "Onest", sans-serif; letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent-dark); background: #fdece5; padding: 6px 9px; border-radius: var(--radius);
}
.vcard__id { font: 500 11.5px/1 var(--mono); color: var(--ink-3); }
.vcard__title { font-size: 19px; margin-bottom: 8px; }
.vcard__title a { text-decoration: none; }
.vcard__hint { font-size: 14px; color: var(--ink-3); margin-bottom: 16px; }

.vcard__facts { display: grid; gap: 6px; margin: 0 0 18px; }
.vcard__facts div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.vcard__facts dt { font: 600 10.5px/1.4 "Onest", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.vcard__facts dd { margin: 0; font-size: 14px; color: var(--ink-2); }

.vcard__bottom {
    margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.vcard__pay { margin: 0; display: flex; flex-direction: column; }
.vcard__pay b { font: 700 20px/1.15 "Onest", sans-serif; letter-spacing: -.02em; }
.vcard__pay span { font-size: 12px; color: var(--ink-3); }
.vcard__actions { display: flex; gap: 8px; }
.vcard__actions .btn { padding: 10px 16px; font-size: 12px; }

/* ---------- Каталог ---------- */
.crumb { border-bottom: 1px solid var(--line); background: var(--paper-2); font-size: 13.5px; }
.crumb .wrap { padding: 13px 0; color: var(--ink-3); }
.crumb a { text-decoration: none; color: var(--ink-2); }
.crumb span { margin: 0 8px; color: var(--line-2); }
.crumb b { font-weight: 500; color: var(--ink); }

.catalog { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 34px; align-items: start; }

.sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
.filters { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters__block { margin-bottom: 20px; }
.filters__block h3 { font-size: 12px; letter-spacing: .13em; color: var(--ink-3); margin-bottom: 11px; }
.filters .btn { margin-top: 4px; }
.filters__reset { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--ink-3); }

.radio { display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; font-size: 14.5px; }
.radio input { accent-color: var(--accent); width: 16px; height: 16px; }
.radio span { display: flex; align-items: baseline; gap: 7px; color: var(--ink-2); }
.radio b { font: 500 11.5px/1 var(--mono); color: var(--ink-3); }

.sidebar__promo { background: var(--steel); color: #dfe5ea; padding: 22px; border-radius: var(--radius); }
.sidebar__promo h3 { color: #fff; font-size: 17px; }
.sidebar__promo p { font-size: 14px; color: #b6c2cd; }
.sidebar__promo .btn--line { border-color: #6d8298; color: #fff; }
.sidebar__promo .btn--line:hover { background: #fff; color: var(--steel); }

.empty { background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 48px 32px; text-align: center; }
.empty p { color: var(--ink-3); }

.pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 28px; }
.pager a, .pager__now, .pager__gap {
    min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--paper-2); text-decoration: none; font-size: 14.5px;
}
.pager a:hover { border-color: var(--ink); }
.pager__now { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.pager__gap { border-color: transparent; background: none; color: var(--ink-3); }

/* ---------- Карточка вакансии ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: 20px; }
.detail__head { margin-bottom: 26px; }
.detail__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
    font: 600 10.5px/1 "Onest", sans-serif; letter-spacing: .12em; text-transform: uppercase;
    padding: 7px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink-2);
}
.tag--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag--mono { font-family: var(--mono); letter-spacing: .04em; text-transform: none; color: var(--ink-3); }
.detail__hint { font-size: 17px; color: var(--ink-2); }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 34px; }
.specs__cell { background: var(--paper-2); padding: 18px 20px; }
.specs__cell span { display: block; font: 600 10px/1 "Onest", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.specs__cell b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.specs__cell i { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.specs__cell--pay { background: #fff5f0; }
.specs__cell--pay b { font: 700 22px/1.15 "Onest", sans-serif; letter-spacing: -.02em; color: var(--accent-dark); }

.prose h2 { font-size: 22px; margin-top: 32px; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; color: var(--ink-2); }
.prose ul li::before {
    content: ""; position: absolute; left: 4px; top: .62em;
    width: 9px; height: 2px; background: var(--accent);
}
.prose__lead { font-size: 17px; color: var(--ink-2); border-left: 3px solid var(--accent); padding-left: 16px; }
.prose__note { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--steel); padding: 16px 18px; font-size: 14.5px; color: var(--ink-2); }
.prose--doc h2 { font-size: 20px; }
.prose--doc ul { list-style: none; }

.similar { margin-top: 46px; }
.similar h2 { font-size: 22px; margin-bottom: 18px; }

.detail__side { position: sticky; top: 96px; }
.apply-box {
    background: var(--paper-2); border: 1px solid var(--line); border-top: 4px solid var(--accent);
    border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.apply-box__eyebrow { font: 600 10.5px/1 "Onest", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.apply-box__title { font-size: 19px; margin-bottom: 6px; }
.apply-box__meta { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.apply-box__points { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px dashed var(--line-2); padding-top: 16px; }
.apply-box__points li { position: relative; padding-left: 20px; font-size: 13px; color: var(--ink-3); }
.apply-box__points li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-size: 12px; }

/* ---------- Порядок / сравнение / FAQ ---------- */
.flow { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.flow li { counter-increment: step; background: var(--paper-2); padding: 26px 28px 26px 92px; position: relative; margin: 0; }
.flow li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; left: 28px; top: 26px;
    font: 700 24px/1 "Onest", sans-serif; color: var(--accent);
}
.flow h3 { margin-bottom: 6px; }
.flow p { margin: 0; color: var(--ink-2); font-size: 15px; }

.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.split__col { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 28px; }
.split__col--muted { background: transparent; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 15px; color: #dfe5ea; }
.ticks li::before { content: "✓"; position: absolute; left: 3px; top: 0; color: #7fd6a6; font-weight: 700; }
.ticks--neutral li::before { content: "•"; color: var(--accent); font-size: 20px; line-height: 1; top: -2px; }
.split__note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #9fb0be; }

.faq { border-top: 1px solid var(--line); }
.faq__row { border-bottom: 1px solid var(--line); }
.faq__row summary {
    cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
    font: 600 18px/1.4 "Onest", sans-serif; letter-spacing: -.01em;
}
.faq__row summary::-webkit-details-marker { display: none; }
.faq__row summary::after {
    content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    font: 400 26px/1 "Onest", sans-serif; color: var(--accent);
}
.faq__row[open] summary::after { content: "–"; }
.faq__row p { margin: 0 0 20px; color: var(--ink-2); max-width: 74ch; }

.cta { background: var(--ink); color: #fff; }
.cta__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 0; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; color: #9aa5ae; }

/* ---------- Формы ---------- */
.lead__fields { display: grid; gap: 14px; }
.fld { display: block; }
.fld__label { display: block; font: 600 10.5px/1 "Onest", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.fld__label i { color: var(--accent); font-style: normal; margin-left: 3px; }
.fld__input {
    width: 100%; padding: 12px 13px;
    border: 1px solid var(--line-2); border-radius: var(--radius);
    background: var(--paper); font: inherit; font-size: 15px; color: var(--ink);
    transition: border-color .15s ease, background .15s ease;
}
.fld__input:focus { outline: none; border-color: var(--accent); background: #fff; }
textarea.fld__input { resize: vertical; min-height: 84px; }
.fld__err { display: none; margin-top: 6px; font-size: 12.5px; color: var(--err); }
.fld.is-bad .fld__input { border-color: var(--err); background: #fdf2f1; }
.fld.is-bad .fld__err { display: block; }

.lead .btn { margin-top: 18px; }
.lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__consent { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.lead__consent a { color: var(--accent-dark); }
.lead__status { margin: 12px 0 0; font-size: 13.5px; display: none; }
.lead__status.is-error { display: block; color: var(--err); }
.lead__status.is-ok { display: block; color: var(--ok); }
.lead.is-busy { opacity: .65; pointer-events: none; }

/* ---------- Модальное окно ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 24, 28, .62); }
.modal__panel {
    position: relative; width: min(100%, 480px); max-height: 92vh; overflow: auto;
    background: var(--paper-2); border-top: 4px solid var(--accent); border-radius: var(--radius);
    padding: 30px 28px 28px;
}
.modal__close { position: absolute; right: 12px; top: 8px; width: 36px; height: 36px; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--ink-3); cursor: pointer; }
.modal__close:hover { color: var(--ink); }
.modal__eyebrow { font: 600 10.5px/1 "Onest", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.modal__title { font-size: 21px; margin-bottom: 6px; }
.modal__meta { font-size: 13.5px; color: var(--ink-3); margin-bottom: 20px; }
body.is-locked { overflow: hidden; }

/* Окно «заявок уже достаточно» */
.modal__panel--notice { border-top-color: var(--ok); text-align: center; padding-top: 34px; }
.modal__panel--notice .modal__eyebrow { color: var(--ok); }
.modal__mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; margin-bottom: 16px;
    border-radius: 50%; background: #e7f5ed; color: var(--ok); font-size: 28px;
}
.modal__text { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-bottom: 14px; text-align: left; }
.modal__panel--notice .btn { margin-top: 8px; }

/* ---------- Спасибо / 404 ---------- */
.thanks { background: var(--paper-2); border: 1px solid var(--line); border-top: 4px solid var(--ok); border-radius: var(--radius); padding: 46px 40px; text-align: center; }
.thanks__badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 62px; height: 62px; border-radius: 50%; background: #e7f5ed; color: var(--ok);
    font-size: 30px; margin-bottom: 20px;
}
.thanks__badge--muted { background: #f1f2ef; color: var(--ink-3); font: 700 18px/1 "Onest", sans-serif; }
.thanks__lead { font-size: 17px; color: var(--ink-2); max-width: 58ch; margin-inline: auto; }
.thanks__steps { text-align: left; max-width: 58ch; margin: 24px auto; color: var(--ink-2); }
.thanks__hint { font-size: 14px; color: var(--ink-3); max-width: 58ch; margin-inline: auto; }
.thanks__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.thanks--inline { padding: 30px 24px; }
.thanks--inline h3 { font-size: 21px; }
.thanks__more { margin-top: 48px; }
.thanks__more h2 { font-size: 22px; margin-bottom: 18px; }

/* ---------- Подвал ---------- */
.footing { background: var(--ink); color: #98a3ac; padding: 56px 0 30px; font-size: 14px; }
.footing__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mark__text--footer b { color: #fff; font-size: 22px; }
.mark__text--footer i { color: #7c8892; }
.footing__note { margin-top: 16px; max-width: 40ch; line-height: 1.65; }
.footing__col { display: flex; flex-direction: column; gap: 9px; }
.footing__col h4 { font-size: 12px; letter-spacing: .14em; color: #fff; margin-bottom: 5px; }
.footing__col a { color: #98a3ac; text-decoration: none; font-size: 14px; }
.footing__col a:hover { color: var(--accent); }
.footing__legal { padding-top: 26px; font-size: 12.5px; color: #6f7a83; }
.footing__legal p { margin-bottom: 10px; }
.footing__disclaimer { max-width: 100ch; line-height: 1.6; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
    .hero__grid { grid-template-columns: 1fr; gap: 34px; }
    .detail { grid-template-columns: 1fr; }
    .detail__side { position: static; }
    .catalog { grid-template-columns: 240px minmax(0, 1fr); gap: 22px; }
    .vgrid { grid-template-columns: repeat(2, 1fr); }
    .dirs { grid-template-columns: repeat(2, 1fr); }
    .footing__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .masthead__nav, .masthead__cta { display: none; }
    .burger { display: block; }
    .masthead.is-open .masthead__drawer { display: flex; }
    .catalog { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .specs { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .ticker__row { grid-template-columns: repeat(2, 1fr); }
    .ticker__row div:nth-child(2) { border-right: 0; }
    .ticker__row div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .finder { grid-template-columns: 1fr; }
    .shead--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
    .section { padding: 52px 0; }
    .vgrid, .dirs { grid-template-columns: 1fr; }
    .specs { grid-template-columns: 1fr; }
    .footing__grid { grid-template-columns: 1fr; }
    .flow li { padding: 22px 20px 22px 20px; }
    .flow li::before { position: static; display: block; margin-bottom: 8px; }
    .thanks { padding: 34px 22px; }
    .hero__panel { padding: 22px; }
    .vcard__bottom { flex-direction: column; align-items: flex-start; }
    .vcard__actions { width: 100%; }
    .vcard__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: .01ms !important; }
}
