/* omnitell.ru — hand-written, no framework, no JS. */
:root {
  --ink: #0c0c17;
  --ink-2: #3d3d4e;
  --muted: #6b6b7b;
  --line: #e4e6ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --brand: #1f8fc6;
  --brand-light: #36aade;
  --accent: #febd01;
  --violet: #5c5e9f;
  --violet-deep: #24254a;
  --radius: 12px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
section { padding: 72px 0; scroll-margin-top: 64px; }
section.alt { background: var(--bg-alt); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 760px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--violet-deep);
  border-bottom: 3px solid var(--violet);
}
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.top .logo img { width: 132px; height: auto; }
.top nav { display: flex; gap: 20px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { color: #e2e3f5; text-decoration: none; font-size: .95rem; white-space: nowrap; padding: 6px 0; }
.top nav a:hover { color: #fff; }
.top .phone { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* hero */
.hero {
  color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(54,170,222,.30), transparent 60%),
    linear-gradient(160deg, #1a1b38 0%, #2c2e63 100%);
  padding: 96px 0 88px;
}
.hero .kicker { color: var(--brand-light); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: .3em 0 .5em; }
.hero p { color: #d3d4ea; font-size: 1.15rem; max-width: 720px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; padding: 0; list-style: none; }
.badges li { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px; font-size: .95rem; color: #fff; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #ffd24a; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { color: var(--brand-light); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* service cards */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.card p { color: var(--ink-2); }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; background: rgba(54,170,222,.12); color: var(--brand);
}
.icon svg { width: 26px; height: 26px; }

/* service detail */
.detail-head { display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: 36px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.item h3 { display: flex; gap: 10px; align-items: center; }
.item h3 svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.item p { color: var(--ink-2); margin: 0; }
.subhead { margin: 40px 0 16px; font-size: 1.25rem; }

.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 0; list-style: none; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; margin-bottom: 10px;
  background: var(--accent); color: var(--ink); font-weight: 700;
}
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--ink-2); }

.cta {
  margin-top: 36px; padding: 24px; border-radius: var(--radius);
  background: var(--violet-deep); color: #fff;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.cta p { margin: 0; color: #e2e3f5; }

/* contacts */
.contacts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.contacts .card a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.contacts .label { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }

/* footer */
footer { background: var(--violet-deep); color: #b9bad6; padding: 28px 0; font-size: .9rem; border-top: 3px solid var(--violet); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: #e2e3f5; }
footer a:hover { color: #fff; }

/* legal pages */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 820px; }
.doc .crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.doc p { text-align: left; }
.doc h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
.top nav .narrow { display: none; }

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .top .wrap { gap: 12px; }
  .top .phone { display: none; }
  .top nav { gap: 14px; }
  .top nav .wide { display: none; }
  .top nav .narrow { display: inline; }
}

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mt { margin-top: 28px; }
