@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-cyr-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-lat-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-cyr-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-lat-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/unbounded-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/unbounded-lat-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/unbounded-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/unbounded-lat-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --field: #0c100c;
  --field-2: #161b14;
  --olive: #3c4a2a;
  --olive-2: #2a341e;
  --khaki: #c4b37a;
  --brass: #d4b45a;
  --sand: #e8dcc0;
  --paper: #efe6d2;
  --ink: #1a1c16;
  --muted: #b8b09a;
  --red: #9b2b22;
  --red-hot: #c43a2a;
  --line: rgba(196, 179, 122, 0.28);
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.kontrakt {
  margin: 0;
  color: var(--sand);
  background:
    repeating-linear-gradient(135deg, rgba(60, 74, 42, 0.08) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #0a0d0a 0%, #12160f 40%, #0c100c 100%);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--brass); }
a:hover { color: #f0d98a; }
h1, h2, h3, .logo-name, .btn {
  font-family: Unbounded, Manrope, sans-serif;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1.12; font-weight: 700; margin: 0 0 16px; text-transform: uppercase; }
h2 { font-size: clamp(1.25rem, 2.4vw, 1.85rem); line-height: 1.25; font-weight: 500; margin: 0 0 14px; text-transform: uppercase; }
h3 { font-size: 1.02rem; line-height: 1.35; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.k-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 16, 12, 0.94);
  border-bottom: 3px solid var(--olive);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.k-header::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #fff 0 28%, #1d4e89 28% 56%, #9b2b22 56% 82%, var(--brass) 82% 100%);
}
.head {
  display: flex;
  align-items: center;
  gap: 12px 18px;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sand);
  text-decoration: none;
}
.logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.logo-name { display: block; font-size: 0.88rem; line-height: 1.15; color: var(--khaki); }
.logo small { display: block; color: var(--muted); font-family: Manrope, sans-serif; font-weight: 600; font-size: 0.7rem; margin-top: 2px; letter-spacing: 0.06em; text-transform: uppercase; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.phone-link {
  color: var(--sand);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.phone-link:hover { color: var(--brass); }
.burger { display: none; }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #6b1f18;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--red-hot), var(--red));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover, button.btn:hover { background: #7a211a; color: #fff; }
.btn.ghost {
  background: transparent;
  color: var(--sand);
  border-color: var(--khaki);
}
.btn.ghost:hover { background: rgba(196, 179, 122, 0.12); color: #fff; }
.btn.line {
  background: transparent;
  color: var(--sand);
  border-color: var(--line);
}

.k-hero {
  position: relative;
  padding: 42px 0 36px;
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 180, 90, 0.16), transparent 36%),
    linear-gradient(160deg, #141910 0%, #0c100c 55%, #1a2114 100%);
  border-bottom: 1px solid var(--line);
}
.k-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-18deg, transparent 0 18px, rgba(196, 179, 122, 0.035) 18px 19px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.k-hero p { color: #d8d0b8; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 10px; }
.free-mark {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 10px;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-card {
  background: #141910;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brass);
  padding: 18px 18px 8px;
}
.hero-card strong { display: block; margin-bottom: 4px; color: var(--khaki); }
.hero-card div { margin-bottom: 14px; }
.hero-card span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 48px 0; }
.section.alt { background: rgba(22, 27, 20, 0.65); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-4, .grid-2 { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.step, .who {
  background: #141910;
  border: 1px solid var(--line);
  padding: 16px;
}
.step em {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  background: var(--olive);
  color: var(--brass);
  font-style: normal;
  font-weight: 700;
  border: 1px solid var(--khaki);
}
.who li { margin: 8px 0; }
.pay-box {
  max-width: 46rem;
  padding: 8px 0 0;
}
.pay-box p { color: #d8d0b8; }

details {
  background: #141910;
  border: 1px solid var(--line);
  padding: 12px 16px;
  margin: 8px 0;
}
summary { cursor: pointer; font-weight: 700; color: var(--khaki); }
details p { margin: 10px 0 4px; color: #d8d0b8; }

.form {
  display: grid;
  gap: 12px;
  background: #10140e;
  border: 1px solid var(--khaki);
  padding: 20px;
}
.form h2 { color: var(--sand); }
label { display: grid; gap: 6px; font-weight: 700; font-size: 0.9rem; color: var(--khaki); }
input, select, textarea {
  width: 100%;
  border: 1px solid #3c4a2a;
  border-radius: 2px;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  color: #1a1c16;
  background: var(--paper);
}
.check { grid-template-columns: 22px 1fr; align-items: start; font-weight: 500; color: var(--sand); }
.check input { width: 20px; height: 20px; margin-top: 3px; }
.check a { color: var(--brass); }
.form-status { min-height: 1.4em; font-weight: 700; }
.form-status.ok { color: #b7d48a; }
.form-status.bad { color: #ff8a7a; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.citizenship-other[hidden] { display: none; }

.k-footer {
  background: #080a07;
  color: var(--muted);
  padding: 28px 0 90px;
  border-top: 3px solid var(--olive);
  font-size: 0.88rem;
}
.k-footer a { color: var(--sand); }
.legal-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

.tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: #0c100c;
  border-top: 2px solid var(--olive);
  padding: 8px;
  gap: 8px;
}
.tabbar a { flex: 1; }

.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  width: min(420px, calc(100% - 32px));
  background: #141910;
  border: 1px solid var(--khaki);
  padding: 16px;
}
.cookie.show { display: block; }
button.cookie-save { display: none; }
.cookie-settings.show + .row button.cookie-save { display: inline-flex; }
.cookie .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cookie-settings { display: none; margin-top: 12px; }
.cookie-settings.show { display: grid; gap: 8px; }

@media (max-width: 900px) {
  .hero-grid, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tabbar { display: flex; }
  body.kontrakt { padding-bottom: 74px; }
  .cookie { bottom: 82px; }
  .head { min-height: 60px; }
  .logo img { width: 42px; height: 42px; }
  .section { padding: 36px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
