@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic.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 700;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0f1b2a;
  --ink-2: #3d4a58;
  --muted: #6a7582;
  --line: #e2e0d9;
  --bg: #ffffff;
  --bg-soft: #f6f5f1;
  --accent: #0e5e6f;
  --accent-ink: #ffffff;
  --accent-hover: #0a4a58;
  --ok: #1d6b45;
  --err: #a3322a;
  --radius: 10px;
  --wrap: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Шапка */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }

/* Первый экран */
.hero {
  padding: 112px 0 104px;
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 17em;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lead {
  margin: 28px 0 40px;
  max-width: 36em;
  color: var(--ink-2);
  font-size: clamp(17px, 1.6vw, 20px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:focus-visible,
.nav a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn[disabled] { opacity: 0.6; cursor: default; }

/* Разделы */
.section { padding: 96px 0; }
h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section__intro {
  margin: 0 0 48px;
  max-width: 36em;
  color: var(--ink-2);
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.card__num {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}
.card p { margin: 0; color: var(--ink-2); }

/* Два контура: Россия и за рубежом */
.contours {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.contour {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.contour--abroad { background: var(--bg-soft); }
.contour__tag {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contour h3 {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}
.contours__arrow {
  align-self: center;
  color: var(--muted);
  font-size: 28px;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--ink-2);
}
.checks li:last-child { margin-bottom: 0; }
.checks li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.checks .yes::before { content: "✓"; color: var(--ok); }
.checks .no { color: var(--ink); font-weight: 600; }
.checks .no::before { content: "✕"; color: var(--err); }

/* Контакты */
.section--contact {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact__text p { margin: 0; color: var(--ink-2); }

.form {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: block; margin-bottom: 20px; }
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.req { color: var(--accent); }
.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfccc3;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 94, 111, 0.15);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--err); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 4px;
}
.form__note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.form__status {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 500;
}
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }

.form--done .field,
.form--done .form__row,
.form--done .form__foot { display: none; }
.form--done .form__status { margin: 0; font-size: 17px; }

/* Подвал */
.foot {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot__row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.foot p { margin: 0; }
.foot__disc { max-width: 40em; text-align: right; }

/* Узкие экраны */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .contours { grid-template-columns: 1fr; gap: 12px; }
  .contours__arrow { justify-self: center; transform: rotate(90deg); }
  .contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }
  .section__intro { margin-bottom: 32px; }
  .card, .contour { padding: 24px 20px; }
  .card__num { margin-bottom: 16px; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
  .foot__row { flex-direction: column; gap: 12px; }
  .foot__disc { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .field input, .field textarea { transition: none; }
}
