/* =========================================================
   Работа в Европе — тёмная премиум-тема
   Deep navy · azure · amber · Sora + Inter
   ========================================================= */

:root {
    --bg: #0a0f1e;
    --bg-2: #0d1424;
    --panel: #131c30;
    --panel-2: #18223a;
    --panel-3: #1f2b47;
    --ink: #eaf0fb;
    --ink-2: #aab6d2;
    --ink-3: #78849f;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .15);

    --blue: #4f8cff;
    --blue-2: #77a6ff;
    --blue-deep: #2a5fd0;
    --blue-glow: rgba(79, 140, 255, .30);

    --gold: #f6b73c;
    --gold-2: #e39c15;
    --gold-soft: #ffd889;
    --gold-glow: rgba(246, 183, 60, .28);

    --good: #37d29c;
    --err: #ff6f61;

    --wrap: 1240px;
    --gap: 24px;
    --r: 16px;
    --r-sm: 11px;
    --r-lg: 22px;
    --r-pill: 100px;

    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .55), 0 30px 70px -40px rgba(0, 0, 0, .8);
    --shadow-blue: 0 20px 60px -24px rgba(42, 95, 208, .5);

    --display: "Sora", "Segoe UI", system-ui, sans-serif;
    --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --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(--bg);
    color: var(--ink);
    font: 400 16px/1.62 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.05; }
h2 { font-size: clamp(25px, 3vw, 40px); }
h3 { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue-2); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
.hl { color: var(--gold); }
mark { background: none; color: var(--gold); }

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

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

.eyebrow, .shead__tag {
    display: inline-flex; align-items: center; gap: 10px;
    font: 700 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 20px;
}
.eyebrow::before, .shead__tag::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
.shead--light .shead__tag { color: var(--gold); }
.shead--light .shead__tag::before { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 26px; border: 1.5px solid transparent; border-radius: var(--r-sm);
    font: 600 14.5px/1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn--gold { background: linear-gradient(180deg, #ffc95a, var(--gold) 55%, var(--gold-2)); color: #241704; border-color: transparent; box-shadow: 0 8px 24px -10px var(--gold-glow); font-weight: 700; }
.btn--gold:hover { box-shadow: 0 12px 30px -8px var(--gold-glow); transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); box-shadow: var(--shadow-blue); }
.btn--line { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--blue); color: var(--blue-2); background: rgba(79,140,255,.06); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--ink-2); padding-inline: 14px; }
.btn--ghost:hover { color: var(--ink); }
.btn--wide { width: 100%; }
.btn--lg { padding: 17px 32px; font-size: 15px; }

/* ---------- Шапка ---------- */
.masthead { position: sticky; top: 0; z-index: 40; background: rgba(10, 15, 30, .78); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.masthead__row { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.mark__glyph { flex: none; width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 6px 18px -8px var(--blue-glow); }
.mark__text { display: flex; flex-direction: column; line-height: 1.05; }
.mark__text b { font: 700 19px/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.mark__text b span { color: var(--gold); }
.mark__text i { font-style: normal; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.masthead__nav { display: flex; gap: 26px; }
.masthead__nav a { font: 500 14.5px/1 var(--sans); text-decoration: none; color: var(--ink-2); padding: 8px 0; position: relative; }
.masthead__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .2s ease; }
.masthead__nav a:hover { color: var(--ink); }
.masthead__nav a:hover::after { right: 0; }
.masthead__cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 46px; height: 42px; background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; padding: 12px 11px; }
.burger span { display: block; height: 2px; background: var(--ink); margin-bottom: 4px; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger span:last-child { margin-bottom: 0; }
.masthead.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.masthead.is-open .burger span:nth-child(2) { opacity: 0; }
.masthead.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.masthead__drawer { display: none; flex-direction: column; gap: 2px; padding: 8px 22px 22px; border-top: 1px solid var(--line); }
.masthead__drawer a { padding: 13px 0; text-decoration: none; color: var(--ink-2); border-bottom: 1px solid var(--line); font-weight: 500; }
.masthead__drawer .btn { margin-top: 14px; }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(900px 500px at 78% -12%, var(--blue-glow), transparent 60%),
        radial-gradient(680px 420px at 106% 55%, var(--gold-glow), transparent 62%),
        radial-gradient(600px 400px at -8% 8%, rgba(79,140,255,.12), transparent 60%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 52px; padding: 74px 0 60px; }
.hero h1 { margin-bottom: 22px; }
.hero__lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; margin-bottom: 30px; }

.finder { display: grid; grid-template-columns: minmax(0, 1fr) 200px auto; gap: 8px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px; margin-bottom: 22px; }
.finder__field { display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; }
.finder__field span { font: 700 9.5px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.finder__field input, .finder__field select { border: 0; background: none; padding: 3px 0; font: inherit; font-size: 15.5px; color: var(--ink); width: 100%; }
.finder__field input::placeholder { color: var(--ink-3); }
.finder__field input:focus, .finder__field select:focus { outline: none; }
.finder__field select { color: var(--ink); }
.finder__field select option { background: var(--panel); }
.finder__field--sm { border-left: 1px solid var(--line); }
.finder .btn { align-self: stretch; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: rgba(255,255,255,.02); font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: border-color .15s, color .15s, background .15s; }
.chips a:hover { border-color: var(--blue); color: var(--ink); background: rgba(79,140,255,.08); }
.chips b { font: 700 12px/1 var(--mono); color: var(--gold); }

.hero__panel { position: relative; align-self: start; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.hero__panel::before { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.hero__panel-title { font-size: 23px; margin-bottom: 8px; }
.hero__panel-sub { font-size: 14.5px; color: var(--ink-3); margin-bottom: 22px; }

/* ---------- Страны-лента ---------- */
.countries { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.countries__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 22px 0; }
.countries__row span { font: 700 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.countries__row a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.countries__row a:hover { color: var(--gold); }
.countries__row i { color: var(--line-2); font-style: normal; }

/* ---------- Полоса статистики ---------- */
.ticker { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border-top: 1px solid var(--line); position: relative; z-index: 1; }
.ticker__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.ticker__row div { padding: 30px 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 38px/1 var(--display); letter-spacing: -.02em; color: #fff; }
.ticker__row b em { font-style: normal; color: var(--gold); }
.ticker__row span { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; display: block; }

/* ---------- Секции ---------- */
.section { padding: 92px 0; position: relative; }
.section--top { padding-top: 46px; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.shead { max-width: 760px; margin-bottom: 50px; }
.shead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: none; }
.shead__lead { color: var(--ink-2); font-size: 17px; margin-bottom: 0; }

/* ---------- Бенто-преимущества ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.feat { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s; }
.feat:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.feat__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(79,140,255,.12); color: var(--blue-2); margin-bottom: 18px; border: 1px solid rgba(79,140,255,.2); }
.feat__ico svg { width: 23px; height: 23px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.feat--wide { grid-column: span 1; }

/* ---------- Направления ---------- */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.dir { position: relative; display: block; text-decoration: none; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.dir::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--blue), var(--gold)); transform: scaleY(0); transform-origin: top; transition: transform .2s; }
.dir:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.dir:hover::after { transform: scaleY(1); }
.dir__icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: rgba(246,183,60,.1); color: var(--gold); margin-bottom: 20px; border: 1px solid rgba(246,183,60,.2); }
.dir__icon svg { width: 25px; height: 25px; }
.dir h3 { margin: 0 0 6px; font-size: 20px; }
.dir__tag { font-size: 13px; color: var(--ink-3); margin: 0 0 18px; }
.dir__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.dir__count { font: 600 13.5px/1 var(--sans); color: var(--ink-2); }
.dir__count b { color: var(--gold); }
.dir__go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-3); font-size: 16px; transition: all .18s; }
.dir:hover .dir__go { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateX(2px); }

/* ---------- Карточки вакансий ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.vgrid--list { grid-template-columns: 1fr; gap: 16px; }
.vcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .16s, border-color .16s, box-shadow .16s; }
.vcard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.vcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.vcard__cat { font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); background: rgba(79,140,255,.1); padding: 7px 11px; border-radius: var(--r-pill); border: 1px solid rgba(79,140,255,.18); }
.vcard__id { font: 500 11.5px/1 var(--mono); color: var(--ink-3); }
.vcard__title { font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.2; margin-bottom: 8px; letter-spacing: -.01em; }
.vcard__title a { text-decoration: none; color: var(--ink); }
.vcard__title a:hover { color: var(--gold); }
.vcard__hint { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.vcard__facts { display: grid; gap: 8px; margin: 0 0 20px; }
.vcard__facts div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.vcard__facts dt { font: 700 10px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.vcard__facts dd { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.vcard__bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.vcard__pay { margin: 0; display: flex; flex-direction: column; }
.vcard__pay b { font: 700 23px/1.1 var(--display); letter-spacing: -.02em; color: var(--gold); }
.vcard__pay span { font-size: 11.5px; color: var(--ink-3); }
.vcard__actions { display: flex; gap: 8px; }
.vcard__actions .btn { padding: 11px 18px; font-size: 13px; }

/* ---------- Каталог ---------- */
.crumb { border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: 13.5px; }
.crumb .wrap { padding: 14px 0; color: var(--ink-3); }
.crumb a { text-decoration: none; color: var(--ink-2); }
.crumb a:hover { color: var(--gold); }
.crumb span { margin: 0 9px; color: var(--line-2); }
.crumb b { font-weight: 500; color: var(--ink); }
.catalog { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 38px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.filters { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.filters__block { margin-bottom: 22px; }
.filters__block h3 { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; font-weight: 700; }
.filters .btn { margin-top: 4px; }
.filters__reset { display: block; text-align: center; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.radio { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14.5px; }
.radio input { accent-color: var(--blue); width: 16px; height: 16px; }
.radio span { display: flex; align-items: baseline; gap: 7px; color: var(--ink-2); }
.radio b { font: 600 11.5px/1 var(--mono); color: var(--ink-3); }
.sidebar__promo { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); padding: 26px; border-radius: var(--r); position: relative; overflow: hidden; }
.sidebar__promo::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.sidebar__promo h3 { color: #fff; font-size: 18px; }
.sidebar__promo p { font-size: 14px; color: var(--ink-2); }
.empty { background: var(--panel); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 56px 34px; text-align: center; }
.empty p { color: var(--ink-3); }
.pager { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 34px; }
.pager a, .pager__now, .pager__gap { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.pager a:hover { border-color: var(--blue); color: var(--blue-2); }
.pager__now { background: var(--blue); border-color: var(--blue); 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) 396px; gap: 44px; align-items: start; padding-bottom: 24px; }
.detail__head { margin-bottom: 28px; }
.detail__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag { font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--ink-2); }
.tag--accent { background: var(--blue); border-color: var(--blue); color: #fff; }
.tag--mono { font-family: var(--mono); letter-spacing: .02em; text-transform: none; color: var(--ink-3); }
.detail h1 { font-size: clamp(27px, 3.4vw, 42px); }
.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); border-radius: var(--r); overflow: hidden; margin-bottom: 38px; }
.specs__cell { background: var(--panel); padding: 20px 22px; }
.specs__cell span { display: block; font: 700 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }
.specs__cell b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.specs__cell i { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.specs__cell--pay { background: linear-gradient(180deg, rgba(246,183,60,.12), rgba(246,183,60,.04)); }
.specs__cell--pay b { font: 700 23px/1.1 var(--display); letter-spacing: -.02em; color: var(--gold); }
.prose h2 { font-size: 24px; margin-top: 38px; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; color: var(--ink-2); margin-bottom: 9px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: rgba(79,140,255,.14); border: 1px solid rgba(79,140,255,.3); }
.prose ul li::after { content: ""; position: absolute; left: 6.5px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-2); }
.prose__lead { font-size: 18px; line-height: 1.6; color: var(--ink); border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; }
.prose__note { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); border-left: 3px solid var(--blue); padding: 18px 20px; font-size: 14.5px; color: var(--ink-2); }
.prose--doc h2 { font-size: 22px; }
.prose--doc ul { list-style: none; }
.similar { margin-top: 54px; }
.similar h2 { font-size: 25px; margin-bottom: 20px; }
.detail__side { position: sticky; top: 100px; }
.apply-box { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.apply-box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.apply-box__eyebrow { font: 700 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 12px; }
.apply-box__title { font-family: var(--display); font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.apply-box__meta { font-size: 13.5px; color: var(--ink-3); margin-bottom: 20px; }
.apply-box__points { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.apply-box__points li { position: relative; padding-left: 26px; font-size: 13px; color: var(--ink-2); margin-bottom: 9px; }
.apply-box__points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(55,210,156,.18); }
.apply-box__points li::after { content: ""; position: absolute; left: 5px; top: 6px; width: 5px; height: 8px; border: solid var(--good); border-width: 0 2px 2px 0; transform: rotate(40deg); }

/* ---------- Порядок (вертикальный таймлайн) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--gold)); opacity: .4; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 34px 74px; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -4px; width: 48px; height: 48px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line-2); display: grid; place-items: center; font: 700 16px/1 var(--display); color: var(--gold); }
.timeline h3 { margin-bottom: 6px; font-size: 19px; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* ---------- Гарантии ---------- */
.guarantee { background: linear-gradient(135deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 48px; position: relative; overflow: hidden; }
.guarantee::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 260px at 100% 0, var(--gold-glow), transparent 60%); pointer-events: none; }
.guarantee__grid { position: relative; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 40px; align-items: center; }
.guarantee h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 12px; }
.guarantee__sub { color: var(--ink-2); font-size: 16px; margin: 0; }
.gp { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.gp li { position: relative; padding-left: 34px; font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.gp li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(55,210,156,.16); border: 1px solid rgba(55,210,156,.4); }
.gp li::after { content: ""; position: absolute; left: 6px; top: 5px; width: 6px; height: 10px; border: solid var(--good); border-width: 0 2px 2px 0; transform: rotate(40deg); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__row { border-bottom: 1px solid var(--line); }
.faq__row summary { cursor: pointer; list-style: none; padding: 24px 52px 24px 0; position: relative; font: 600 20px/1.35 var(--display); letter-spacing: -.01em; color: var(--ink); }
.faq__row summary::-webkit-details-marker { display: none; }
.faq__row summary::after { content: ""; position: absolute; right: 10px; top: 30px; width: 16px; height: 16px; background: linear-gradient(var(--gold),var(--gold)) center/16px 2px no-repeat, linear-gradient(var(--gold),var(--gold)) center/2px 16px no-repeat; transition: transform .2s; }
.faq__row[open] summary::after { transform: rotate(45deg); }
.faq__row p { margin: 0 0 24px; color: var(--ink-2); max-width: 80ch; font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, #0e1730, #0a0f1e); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 85% 120%, var(--blue-glow), transparent 60%), radial-gradient(500px 260px at 12% -20%, var(--gold-glow), transparent 60%); }
.cta__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 62px 0; flex-wrap: wrap; }
.cta h2 { margin-bottom: 10px; }
.cta p { margin: 0; color: var(--ink-2); max-width: 52ch; font-size: 16.5px; }

/* ---------- Формы ---------- */
.lead__fields { display: grid; gap: 15px; }
.fld { display: block; }
.fld__label { display: block; font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.fld__label i { color: var(--gold); font-style: normal; margin-left: 3px; }
.fld__input { width: 100%; padding: 14px 15px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: rgba(255,255,255,.03); font: inherit; font-size: 15.5px; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.fld__input::placeholder { color: var(--ink-3); }
.fld__input:focus { outline: none; border-color: var(--blue); background: rgba(79,140,255,.06); box-shadow: 0 0 0 4px rgba(79,140,255,.12); }
.fld__input option { background: var(--panel); }
textarea.fld__input { resize: vertical; min-height: 90px; }
.fld__err { display: none; margin-top: 6px; font-size: 12.5px; color: var(--err); }
.fld.is-bad .fld__input { border-color: var(--err); background: rgba(255,111,97,.08); }
.fld.is-bad .fld__err { display: block; }
.lead .btn { margin-top: 20px; }
.lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__consent { margin: 14px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-3); text-align: center; }
.lead__consent a { color: var(--blue-2); }
.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(--good); }
.lead.is-busy { opacity: .6; 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(4, 7, 15, .72); backdrop-filter: blur(4px); }
.modal__panel { position: relative; width: min(100%, 500px); max-height: 92vh; overflow: auto; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 34px 30px 30px; box-shadow: var(--shadow); }
.modal__panel::before { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.modal__close { position: absolute; right: 14px; top: 12px; width: 38px; height: 38px; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--ink-3); cursor: pointer; border-radius: 50%; }
.modal__close:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.modal__eyebrow { font: 700 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 10px; }
.modal__title { font-family: var(--display); font-weight: 600; font-size: 22px; margin-bottom: 6px; }
.modal__meta { font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; }
body.is-locked { overflow: hidden; }
.modal__panel--notice { text-align: center; padding-top: 38px; }
.modal__panel--notice::before { background: linear-gradient(90deg, var(--good), #6fe3bb); }
.modal__panel--notice .modal__eyebrow { color: var(--good); }
.modal__mark { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin-bottom: 18px; border-radius: 50%; background: rgba(55,210,156,.15); color: var(--good); font-size: 30px; }
.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: 10px; }

/* ---------- Спасибо / 404 ---------- */
.thanks { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 52px 44px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.thanks::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.thanks__badge { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%; background: rgba(55,210,156,.15); color: var(--good); font-size: 30px; margin-bottom: 22px; }
.thanks__badge--muted { background: rgba(255,255,255,.05); color: var(--ink-3); font: 700 22px/1 var(--display); }
.thanks h1 { font-size: clamp(27px, 3.4vw, 40px); }
.thanks__lead { font-size: 17px; color: var(--ink-2); max-width: 58ch; margin-inline: auto; }
.thanks__steps { text-align: left; max-width: 58ch; margin: 26px 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: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.thanks--inline { padding: 34px 26px; }
.thanks--inline h3 { font-family: var(--display); font-weight: 600; font-size: 22px; }
.thanks__more { margin-top: 56px; }
.thanks__more h2 { font-size: 25px; margin-bottom: 20px; }

/* ---------- Мобильная кнопка ---------- */
.mobilebar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(10, 15, 30, .9); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mobilebar .btn { width: 100%; }

/* ---------- Подвал ---------- */
.footing { background: #070b16; color: var(--ink-3); padding: 64px 0 34px; font-size: 14px; border-top: 1px solid var(--line); }
.footing__grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footing__brand .mark { margin-right: 0; margin-bottom: 18px; }
.footing__brand .mark__glyph { width: 46px; height: 46px; }
.footing .mark__text b { color: #fff; }
.footing .mark__text b span { color: var(--gold); }
.footing__note { max-width: 42ch; line-height: 1.65; color: var(--ink-3); }
.footing__col { display: flex; flex-direction: column; gap: 11px; }
.footing__col h4 { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.footing__col a { color: var(--ink-3); text-decoration: none; font-size: 14px; }
.footing__col a:hover { color: var(--gold); }
.footing__legal { padding-top: 28px; font-size: 12.5px; color: #5a6683; }
.footing__legal p { margin-bottom: 10px; }
.footing__disclaimer { max-width: 105ch; line-height: 1.6; }

.ico { display: inline-block; vertical-align: middle; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .detail { grid-template-columns: 1fr; }
    .detail__side { position: static; }
    .catalog { grid-template-columns: 250px minmax(0, 1fr); gap: 26px; }
    .vgrid, .dirs, .bento { grid-template-columns: repeat(2, 1fr); }
    .guarantee__grid { grid-template-columns: 1fr; gap: 26px; }
    .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); }
    .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; }
    .finder__field--sm { border-left: 0; border-top: 1px solid var(--line); }
    .shead--row { flex-direction: column; align-items: flex-start; }
    .guarantee { padding: 32px 24px; }
    .mobilebar { display: block; }
    body.page { padding-bottom: 74px; }
}
@media (max-width: 560px) {
    .section { padding: 60px 0; }
    .vgrid, .dirs, .bento { grid-template-columns: 1fr; }
    .specs { grid-template-columns: 1fr; }
    .footing__grid { grid-template-columns: 1fr; }
    .thanks { padding: 38px 24px; }
    .hero__panel { padding: 24px; }
    .hero__grid { padding: 48px 0; }
    .vcard__bottom { flex-direction: column; align-items: flex-start; }
    .vcard__actions { width: 100%; }
    .vcard__actions .btn { flex: 1; }
    .timeline li { padding-left: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
