:root {
  --ink: #0c1a2c;
  --text: #26344a;
  --muted: #5e6b7f;
  --line: #e2e7ee;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --accent: #0b5fd8;
  --accent-2: #0e9f9f;
  --hero: #0a1828;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img, svg { display: block; }
a { color: var(--accent); }

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: 19px; margin-bottom: 10px; }
p { margin: 0 0 16px; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--text); font-size: 15px; text-decoration: none; }
.nav a:hover { color: var(--accent); }
.nav .lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 140px;
  color: #c3d0e0;
  background:
    radial-gradient(1100px 480px at 88% -12%, rgba(14, 159, 159, 0.34), transparent 60%),
    linear-gradient(160deg, #0a1828 0%, #0d2342 100%);
}
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); max-width: 16ch; margin-bottom: 22px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; }
.hero .eyebrow { color: #7fd6d6; }
.waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 120px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn.primary { background: #fff; color: var(--ink); }
.btn.primary:hover { background: #e6edf6; }
.btn.ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn.ghost:hover { border-color: #fff; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }

.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facts li { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.facts strong { display: block; color: var(--ink); font-size: 18px; }
.facts span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--accent);
  background: linear-gradient(135deg, #e7effd, #e1f5f4);
}
.icon svg { width: 24px; height: 24px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}
.steps p { color: var(--muted); font-size: 16px; margin: 0; }

.details {
  display: grid;
  grid-template-columns: 280px 1fr;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.details dt, .details dd { margin: 0; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: 15px; }
.details dd { color: var(--ink); font-weight: 600; }
.details dt:last-of-type, .details dd:last-of-type { border-bottom: 0; }

.contacts { display: grid; grid-template-columns: 1.35fr 1fr 1.2fr 1fr; gap: 20px; }
.contact { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact .label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact a, .contact .value { color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { color: var(--accent); }

/* Footer */
.site-footer { background: var(--hero); color: #93a3b8; font-size: 14px; padding: 40px 0; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer p { margin: 0; }
.site-footer a { color: #c9d5e3; }

/* Document pages */
.doc { width: 100%; max-width: 780px; margin: 0 auto; padding: 64px 24px 88px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc .meta { color: var(--muted); }

@media (max-width: 1040px) {
  .contacts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav a:not(.lang) { display: none; }
  .split { grid-template-columns: 1fr; gap: 8px; }
  .facts { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; }
  .details dt { border-bottom: 0; padding-bottom: 2px; }
  .details dd { padding-top: 0; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 112px; }
}

@media (max-width: 640px) {
  .contacts { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .btn { width: 100%; }
  .doc { padding: 48px 16px 72px; }
}
