:root {
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --text: #15202b;
  --muted: #5b6875;
  --line: #e2e8ee;
  --accent: #163a5f;
  --accent-2: #2f7dc1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f151c;
    --bg-soft: #151e27;
    --text: #e8eef4;
    --muted: #9aa8b5;
    --line: #253240;
    --accent: #7db6e8;
    --accent-2: #7db6e8;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 16px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 28px; margin-bottom: 28px; }

/* header */
.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 1; }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand small { color: var(--muted); font-weight: 500; }
.logo {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center;
  background: #163a5f; color: #fff; font-weight: 800;
}
nav { display: flex; gap: 22px; }
nav a { color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--text); text-decoration: none; }

/* hero */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 88px; padding-bottom: 88px; }
.eyebrow { color: var(--accent-2); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 14px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); letter-spacing: -.02em; }
.lead { max-width: 640px; color: var(--muted); font-size: 18px; margin: 18px 0 0; }

/* services */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: var(--bg); }
.card h3 { font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 16px;
  display: grid; place-items: center; background: var(--bg-soft);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* company */
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.note { color: var(--muted); max-width: 680px; margin: 28px 0 0; }

/* contact */
.contacts { list-style: none; padding: 0; margin: 20px 0 0; }
.contacts li { display: flex; gap: 16px; padding: 10px 0; }
.contacts span { width: 70px; color: var(--muted); }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 28px 0; }

@media (max-width: 560px) {
  nav { gap: 14px; }
  nav a { font-size: 14px; }
  .brand small { display: none; }
  .section { padding: 48px 16px; }
}
