:root {
  --navy: #13275c;
  --blue: #0b3d91;
  --blue-2: #0a2f72;
  --cyan: #22c3e6;
  --red: #d7262e;
  --ink: #1d2433;
  --muted: #5b6475;
  --bg-soft: #f3f6fb;
  --line: #e1e7f0;
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: #fff; }
a { color: var(--blue); }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); color: var(--navy); }
h3 { font-size: 1.1rem; color: var(--navy); }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--blue); }
.topbar__contact { display: flex; flex-direction: column; align-items: flex-end; font-size: .95rem; line-height: 1.35; }
.topbar__phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; }
.topbar__phone svg { width: 16px; height: 16px; fill: var(--red); }
.topbar__mail { color: var(--muted); text-decoration: none; }
.topbar__mail:hover, .topbar__phone:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 45% 55%; min-height: 420px; background: var(--blue); }
.hero__tiles { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.tile { display: grid; place-items: center; }
.tile svg { width: 42%; max-width: 120px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
.tile--a { grid-row: 1 / 3; background: linear-gradient(160deg, #1f5fbf, #0d3a85); }
.tile--b { background: var(--red); }
.tile--c { background: linear-gradient(160deg, #2a4e8f, #13275c); }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 5vw, 72px);
  background: radial-gradient(120% 140% at 100% 0%, #1a56b8 0%, var(--blue) 45%, var(--blue-2) 100%); color: #fff; }
.hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); text-transform: uppercase; letter-spacing: .02em; margin-bottom: .4em; }
.hero p { margin: 0 0 1.6em; font-size: 1.1rem; color: #d7e4ff; max-width: 34ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

.btn { display: inline-block; min-width: 170px; padding: 12px 28px; border-radius: 999px; text-align: center; font-weight: 700; text-decoration: none; transition: background .15s, color .15s; }
.btn--fill { background: var(--cyan); color: #fff; border: 2px solid var(--cyan); }
.btn--fill:hover { background: #12a9cc; border-color: #12a9cc; }
.btn--line { color: #fff; border: 2px solid var(--cyan); }
.btn--line:hover { background: rgba(34, 195, 230, .15); }

/* ---------- intro ---------- */
.intro { padding: 72px 0 56px; text-align: center; }
.intro p { color: var(--muted); font-size: 1.08rem; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts li { padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.facts strong { display: block; font-size: 1.35rem; color: var(--blue); }
.facts span { font-size: .92rem; color: var(--muted); }

/* ---------- services ---------- */
.services { padding: 64px 0 72px; background: var(--bg-soft); }
.services h2 { text-align: center; margin-bottom: 1.2em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 24px 22px; }
.card:nth-child(3n+2) { border-top-color: var(--red); }
.card__ico { width: 44px; height: 44px; margin-bottom: 14px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- call to action ---------- */
.cta { background: var(--navy); color: #fff; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0; flex-wrap: wrap; }
.cta p { margin: 0; font-size: 1.25rem; font-weight: 600; }

/* ---------- contacts ---------- */
.contacts { padding: 64px 0; }
.contacts__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.clist { list-style: none; padding: 0; margin: 0; }
.clist li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.clist span { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.clist a { font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.clist a:hover { text-decoration: underline; }
.req { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 26px; }
.req dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .97rem; }
.req dt { color: var(--muted); }
.req dd { margin: 0; }

.foot { background: #0e1b40; color: #9fb0d6; font-size: .9rem; padding: 22px 0; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero__tiles { min-height: 200px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr; }
  .tile--a { grid-row: auto; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .topbar__in { min-height: 64px; }
  .logo img { width: 120px; }
  .topbar__contact { margin-left: auto; }
  .topbar__mail { display: none; }
  .hero__tiles { min-height: 130px; }
  .facts { grid-template-columns: 1fr; }
  .contacts__in { grid-template-columns: 1fr; gap: 32px; }
  .cta__in { justify-content: center; text-align: center; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .btn { min-width: 0; flex: 1; }
}
