:root {
  --navy: #020842;
  --ink: #49515b;
  --blue: #0044eb;
  --blue-dark: #0036c2;
  --ice: #e7f1ff;
  --line: #e6ebf4;
  --pink: #ef4b9a;
  --peach: #ffe8e1;
  --coral: #ef6d4e;
  --white: #ffffff;
  --sans: "Plus Jakarta Sans", "Avenir Next", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(2, 8, 66, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 80;
  border-radius: 8px;
}

.skip:focus { top: 1rem; }

.topbar {
  background: linear-gradient(90deg, #3dcf8e 0%, #5b6cff 48%, #ef4b9a 100%);
  color: white;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
}

.topbar a {
  color: white;
  font-weight: 800;
  margin-left: 6px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 12px max(18px, calc((100% - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.header.is-stuck {
  box-shadow: 0 10px 30px rgba(2, 8, 66, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.logo em {
  font-style: normal;
  color: var(--blue);
}

.logo-mark { width: 40px; height: 40px; flex: none; }

.pill-soft {
  background: var(--peach);
  color: var(--coral);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a.is-current { color: var(--navy); background: #f3f6fb; }

.nav a.btn,
.nav a.btn:hover {
  color: white;
  background: var(--blue);
  margin-left: 8px;
  padding: 0 18px;
  min-height: 46px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  padding: 0 26px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover { background: var(--blue-dark); color: white; }

.btn svg { width: 16px; height: 16px; }

.btn-ghost {
  background: white;
  color: var(--navy);
  border: 1px solid #d5ddec;
}

.btn-ghost:hover { background: #f6f8fc; color: var(--navy); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid #d7e0ee;
  background: white;
  padding: 0;
  cursor: pointer;
  place-items: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--navy);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.hero-panel {
  width: min(1180px, calc(100% - 36px));
  margin: 8px auto 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 68, 235, 0.1), transparent 32%),
    repeating-radial-gradient(circle at 100% -10%, rgba(0, 68, 235, 0.07) 0 1px, transparent 1px 22px),
    var(--ice);
  border-radius: 36px;
  padding: 72px 68px 64px;
  position: relative;
  overflow: hidden;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  padding: 5px 10px;
}

.chip-label {
  color: var(--ink);
  font-weight: 600;
  margin-right: 8px;
}

h1, h2, h3 { color: var(--navy); letter-spacing: -0.035em; }

h1 {
  margin: 22px 0 0;
  max-width: 18ch;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.05;
  font-weight: 800;
}

.lede {
  max-width: 38rem;
  margin: 18px 0 0;
  font-size: 18px;
  color: #5d6772;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.hero-note strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-note span { color: var(--ink); font-size: 14px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px auto 10px;
}

.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 18px;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span { color: var(--ink); }

.section { padding: 72px 0; }

.section-head { max-width: 640px; margin-bottom: 28px; }

.section-head h2,
.page-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.checks {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
}

.checks li {
  position: relative;
  padding: 8px 0 8px 22px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.mini-grid { display: grid; gap: 14px; }

.mini {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}

.mini h3 { margin: 0 0 6px; font-size: 20px; }

.mini p { margin: 0; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.svc {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  border-radius: 28px;
  padding: 24px;
  color: white;
  text-decoration: none;
  overflow: hidden;
}

.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.28), transparent 18%),
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.16), transparent 16%),
    repeating-radial-gradient(circle at 60% 120%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 26px);
  z-index: -1;
}

.svc-blue { background: #0044eb; }
.svc-orange { background: linear-gradient(160deg, #ffb15a, #ff7a2f 55%, #f25b22); }
.svc-violet { background: linear-gradient(160deg, #8a6bff, #6240f0); }
.svc-teal { background: linear-gradient(160deg, #19c4c8, #0c8f9a); }
.svc-pink { background: linear-gradient(160deg, #ff6bb0, #e23e8c); }
.svc-navy { background: linear-gradient(160deg, #2436c9, #0c1468); }

.svc h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 600;
}

.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  color: var(--navy);
  display: grid;
  place-items: center;
  flex: none;
}

.arrow svg { width: 18px; height: 18px; }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.proj {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #f7f9fc;
  border-radius: 24px;
  padding: 22px 20px 20px;
  min-height: 230px;
}

.proj span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proj h3 { margin: 14px 0 8px; font-size: 24px; }
.proj p { margin: 0 0 16px; }
.proj .more { margin-top: auto; color: var(--blue); font-weight: 800; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: #f7f9fc;
  border-radius: 24px;
  padding: 22px 20px 20px;
  min-height: 220px;
}

.step .num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.step h3 { margin: 16px 0 8px; font-size: 22px; }
.step p { margin: 0; }

.cta {
  width: min(1180px, calc(100% - 36px));
  margin: 10px auto 72px;
  border-radius: 32px;
  padding: 72px 40px;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(90, 140, 255, 0.45), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(0, 40, 140, 0.5), transparent 36%),
    linear-gradient(120deg, #1230c8, #07145f 60%, #0a1b78);
}

.cta h2 {
  margin: 0 auto 12px;
  max-width: 14ch;
  color: white;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.cta p { margin: 0 auto 26px; max-width: 38rem; color: rgba(255, 255, 255, 0.82); }

.page-hero { padding: 36px 0 10px; }

.page-hero .hero-panel { padding: 48px 48px 42px; }

.page-hero h1 { max-width: 16ch; }

.articles { display: grid; gap: 22px; padding: 28px 0 70px; }

.article {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  scroll-margin-top: 100px;
}

.article h2 {
  margin: 8px 0 0;
  font-size: 32px;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.prose p { margin: 0 0 12px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }

.panel {
  background: #f6f8fc;
  border-radius: 18px;
  padding: 16px 16px 8px;
}

.panel h3 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.panel ul { margin: 0; padding: 0 0 8px 18px; }
.panel li + li { margin-top: 6px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 800;
}

.timeline { display: grid; gap: 16px; padding-bottom: 24px; }

.phase {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  background: #f7f9fc;
  border-radius: 24px;
  padding: 22px;
}

.phase h2 { margin: 0 0 6px; font-size: 30px; }
.phase p { margin: 0; }

.note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 72px;
}

.note {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.note h2 { margin: 0 0 10px; font-size: 28px; }
.note ul { margin: 0; padding-left: 18px; }
.note li + li { margin-top: 6px; }

.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 64px;
}

.mail {
  display: inline-block;
  margin: 8px 0 18px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  line-height: 1.15;
}

.meta-list { list-style: none; margin: 0; padding: 0; }

.meta-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.meta-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 4px;
}

form {
  display: grid;
  gap: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}

label { display: grid; gap: 6px; }

label span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f5f7fb;
  border-radius: 14px;
  padding: 14px 14px;
}

textarea { min-height: 140px; resize: vertical; }

.form-status { min-height: 1.3rem; margin: 0; color: var(--blue); font-weight: 600; }
.form-status.is-error { color: var(--coral); }

.footer {
  background: #07104a;
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 22px;
}

.footer h2, .footer h3, .footer a.mail { color: white; }

.foot-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.foot-item { display: flex; gap: 14px; align-items: center; }

.bubble {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  flex: none;
  color: white;
}

.bubble svg { width: 22px; height: 22px; }

.foot-item small { display: block; font-size: 14px; }
.foot-item strong, .foot-item a {
  color: white;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  padding: 32px 0 18px;
}

.foot-cols h3 { margin: 0 0 12px; font-size: 18px; }

.foot-cols a { display: block; text-decoration: none; padding: 4px 0; }
.foot-cols a:hover { color: white; }

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 14px;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .svc-grid, .steps, .proj-grid, .split, .article, .cols, .note-grid, .principles, .contact-grid, .foot-cols {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: 1fr; }
  .hero-panel, .page-hero .hero-panel { padding: 36px 22px 32px; border-radius: 26px; }
  h1 { max-width: none; }
  .foot-contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(2, 8, 66, 0.14);
  }
  .nav.is-open { display: flex; }
  .nav a.btn { margin: 6px 0 0; }
  .pill-soft { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
