:root {
  --ink: #1a1a1a;
  --muted: #2e2e2e;
  --soft: #4a4a4a;
  --line: #e8e8e8;
  --bg: #ffffff;
  --bg2: #f6f6f6;
  --bg3: #efefef;
  --accent: #ff4b00;
  --accent2: #e04400;
  --olive: #3b5044;
  --brown: #4e4138;
  --white: #fff;
  --shadow: 0 10px 30px rgba(36, 36, 36, .08);
  --r: 8px;
  --max: 1180px;
  --h: "Unbounded", Arial, sans-serif;
  --t: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 500 17px/1.65 var(--t);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3, .h-font { font-family: var(--h); font-weight: 600; letter-spacing: 0; line-height: 1.2; margin: 0; }
p { margin: 0 0 12px; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex; align-items: center; gap: 18px;
  min-height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--h); font-weight: 700; font-size: 15px;
  white-space: nowrap;
}
.logo__mark {
  width: 28px; height: 28px; border-radius: 4px;
  background: linear-gradient(#fff 0 33%, #0039a6 33% 66%, #d52b1e 66% 100%);
  border: 1px solid #ddd;
  flex: none;
}
.nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.nav a { font-size: 13px; font-weight: 600; color: var(--ink); }
.nav a:hover { color: var(--accent); }
.header__phone {
  font-weight: 700; font-size: 15px; white-space: nowrap;
}
.header__phone small { display: block; font-weight: 500; color: var(--soft); font-size: 11px; }
.header__phone.is-placeholder { cursor: default; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 6px;
  font-weight: 700; font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--accent2); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: #000; }
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 6px; cursor: pointer;
}

/* hero */
.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: #111;
  color: #fff;
  overflow: hidden;
}
.hero__copy {
  padding: 64px 0 64px 0;
  display: flex; align-items: center;
}
.hero__copy .wrap { width: min(560px, calc(100% - 48px)); margin-left: max(24px, calc((100vw - var(--max)) / 2)); margin-right: 0; }
.hero__kicker {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #ffb089;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 16px; }
.hero__lead { color: #dedede; font-size: 16px; max-width: 46ch; }
.hero__stats { display: flex; gap: 28px; margin: 28px 0; }
.hero__stats b {
  display: block; font-family: var(--h); font-size: 28px; font-weight: 700;
}
.hero__stats span { color: #bdbdbd; font-size: 13px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__photo {
  position: relative;
  min-height: 620px;
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.hero__photo::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #111 0%, rgba(17,17,17,.15) 28%, transparent 48%);
}

.section { padding: 72px 0; }
.section--alt { background: var(--bg2); }
.section--dark { background: #1b1b1b; color: #fff; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.lead { color: var(--ink); max-width: 68ch; margin-bottom: 28px; line-height: 1.65; font-weight: 500; }
.head-row { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }

/* who */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow);
}
.who__card img { width: 100%; height: 168px; object-fit: cover; }
.who__card div { padding: 16px; }
.who__card h3 { font-size: 16px; margin-bottom: 8px; }
.who__card p { color: var(--ink); font-size: 15px; margin: 0; line-height: 1.55; }

/* nums */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.num {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
}
.num b {
  display: block; font-family: var(--h); color: var(--accent); font-size: 22px; margin-bottom: 8px;
}
.num h3 { font-size: 16px; margin-bottom: 8px; }
.num p { color: var(--ink); font-size: 15px; margin: 0; line-height: 1.55; }

/* calc */
.calc {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.calc__form { padding: 28px; }
.calc__out {
  background: #1b1b1b url("../img/soldier-portrait.jpg") center/cover no-repeat;
  color: #fff; padding: 28px; position: relative;
}
.calc__out::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.78), rgba(17,17,17,.9));
}
.calc__out > * { position: relative; z-index: 1; }
label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
select, input[type="text"], input[type="tel"] {
  width: 100%; min-height: 48px; border: 1px solid #d9d9d9; border-radius: 6px;
  padding: 0 12px; background: #fff; margin-bottom: 14px;
}
.calc__out small { color: #cfcfcf; display: block; margin-bottom: 18px; }
.money { font-family: var(--h); font-size: 34px; font-weight: 700; margin: 4px 0 18px; }
.money span { font-size: 16px; font-weight: 500; color: #bbb; }
.note { font-size: 14px; color: var(--soft); line-height: 1.55; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px;
  min-height: 180px;
}
.step i {
  font-style: normal; font-family: var(--h); color: var(--accent);
  font-size: 22px; font-weight: 700; display: block; margin-bottom: 10px;
}
.step h3 { font-size: 15px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink); margin: 0; line-height: 1.5; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.box h3 { font-size: 18px; margin-bottom: 12px; }
.check li {
  position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.check li:last-child { border-bottom: 0; }
.check li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 12px;
  border: 2px solid var(--accent); border-radius: 2px;
}

.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pay__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px;
}
.pay__item b { font-family: var(--h); font-size: 26px; display: block; margin: 6px 0 4px; }
.pay__item span { color: var(--muted); font-size: 14px; }

.lgoty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lgoty article {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px;
}
.lgoty h3 { font-size: 16px; margin-bottom: 8px; }
.lgoty p, .lgoty li { color: var(--ink); font-size: 15px; line-height: 1.55; }
.lgoty li { padding: 4px 0 4px 14px; position: relative; }
.lgoty li::before { content: "–"; position: absolute; left: 0; color: var(--accent); }

.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.job {
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: #fff;
}
.job h3 { font-size: 16px; margin-bottom: 6px; }
.job p { font-size: 14px; color: var(--ink); line-height: 1.5; }
.job b { color: var(--accent); font-size: 14px; }

.split {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  border-radius: 12px; overflow: hidden;
}
.split img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.split__txt { background: #1b1b1b; color: #fff; padding: 36px; }
.split__txt li { padding: 7px 0 7px 18px; position: relative; color: #ddd; }
.split__txt li::before { content: ""; width: 7px; height: 7px; background: var(--accent); position: absolute; left: 0; top: 14px; }

.cta {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #111; color: #fff; border-radius: 12px; overflow: hidden;
}
.cta__txt { padding: 36px; }
.cta__txt ul { margin: 16px 0 0; }
.cta__txt li { padding: 6px 0; color: #ddd; }
.form { padding: 36px; background: #1c1c1c; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chk { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #c9c9c9; margin: 8px 0 14px; }
.chk input { margin-top: 3px; }
.form-ok { display: none; background: #1f3d2b; color: #dff5e7; padding: 14px; border-radius: 8px; }

.faq details {
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--h); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink); padding-top: 10px; max-width: 80ch; line-height: 1.65; }

.footer { background: #111; color: #cfcfcf; padding: 40px 0 24px; font-size: 13px; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.footer h3 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer li { margin: 6px 0; }
.legal { border-top: 1px solid #2a2a2a; padding-top: 16px; color: #8d8d8d; font-size: 12px; }

.page-hero { padding: 48px 0 12px; }
.crumbs { font-size: 13px; color: var(--soft); margin-bottom: 12px; }
.crumbs a:hover { color: var(--accent); }
.prose { max-width: 78ch; }
.prose p { margin-bottom: 14px; color: var(--ink); font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 26px; margin: 28px 0 10px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 18px 0 28px; }
.table th, .table td { border-bottom: 1px solid var(--line); text-align: left; padding: 10px 8px; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--soft); }

.float-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(255,75,0,.35);
}

.fresh { font-size: 12px; color: var(--soft); margin: 0 0 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 18px; font-size: 13px; font-weight: 600; }
.badges span { color: #ffb089; }
.vacancy {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  background: #1b1b1b; color: #fff; border-radius: 12px; overflow: hidden; margin-top: 28px;
}
.vacancy__txt { padding: 28px; }
.vacancy__txt p { color: #d4d4d4; }
.vacancy__side { padding: 28px; background: #141414; display: flex; flex-direction: column; justify-content: center; }
.vacancy__side b { font-family: var(--h); font-size: 32px; display: block; margin: 6px 0 4px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.term { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: #fff; }
.term b { font-family: var(--h); font-size: 22px; display: block; margin-bottom: 6px; }
.term span { color: var(--muted); font-size: 14px; }
.combat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.combat article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.combat b { font-family: var(--h); font-size: 20px; display: block; margin: 6px 0 4px; color: var(--accent); }
.combat span { font-size: 13px; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.review p { font-size: 15px; color: var(--ink); line-height: 1.55; }
.review b { font-size: 13px; }
.foreign { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nav a.is-current { color: var(--accent); }

@media (max-width: 980px) {
  .nav, .header__phone { display: none; }
  .header.is-open .nav {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; padding: 16px; border-bottom: 1px solid var(--line);
  }
  .burger { display: block; margin-left: auto; }
  .header.is-open .header__phone { display: block; margin: 8px 16px 12px; }
  .hero, .calc, .two, .cta, .split, .footer__grid, .vacancy, .foreign { grid-template-columns: 1fr; }
  .hero__copy .wrap { margin: 0 auto; width: min(var(--max), calc(100% - 32px)); padding: 36px 0; }
  .hero__photo { min-height: 280px; }
  .hero__photo::before { background: linear-gradient(180deg, #111, transparent 40%); }
  .who, .nums, .pay, .lgoty, .jobs, .steps, .form-row, .combat, .reviews, .terms { grid-template-columns: 1fr 1fr; }
  .head-row { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  .who, .nums, .pay, .lgoty, .jobs, .steps, .combat, .reviews, .terms { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
}
