/* Сайт компании QWERTY: без JS и внешних шрифтов. Фирменный цвет — тёмно-фиолетовый из логотипа. */
:root {
  color-scheme: light;
  --brand: #34006b; --brand-2: #7c5cff; --brand-soft: #efe9ff; --brand-ink: #4b1d96;
  --bg: #ffffff; --bg-alt: #f6f3fc; --surface: #ffffff; --fg: #1c1530; --muted: #5d5670; --line: #e6e0f2;
  --hero-1: #2a0a5e; --hero-2: #4a1a9e;
  --radius: 16px; --wrap: 1140px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --brand-soft: #2a2140; --brand-ink: #c3b1ff;
    --bg: #0f0c17; --bg-alt: #151120; --surface: #1b1628; --fg: #ece8f5; --muted: #a79fbb; --line: #2c2540;
    --hero-1: #1c0842; --hero-2: #35137a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ── Шапка ─────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 10; background: var(--hero-1); border-bottom: 1px solid rgba(255,255,255,.08); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a, .top-phone { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .88; }
.nav a:hover, .top-phone:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.top-phone { padding: 7px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; opacity: 1; white-space: nowrap; }
.top-phone:hover { background: rgba(255,255,255,.12); text-decoration: none; }

/* ── Первый экран ──────────────────────────────────── */
.hero { color: #fff; background: radial-gradient(1100px 500px at 85% 0%, var(--hero-2), transparent 60%), var(--hero-1); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { color: #cbb9ff; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -.02em; }
.lead { margin-top: 18px; font-size: 1.15rem; color: #e3dbff; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 26px 0 0; }
.chips li { padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #e3dbff; font-size: .88rem; }
.hero-art { width: 100%; height: auto; }

.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 12px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn .ic { width: 19px; height: 19px; }
.btn-light { background: #fff; color: var(--brand); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-brand { background: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-brand { background: var(--brand-2); } }

/* ── Разделы ───────────────────────────────────────── */
.sec { padding: 84px 0; }
.sec-alt { background: var(--bg-alt); }
.kicker { color: var(--brand-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin-bottom: 10px; }
.sub { color: var(--muted); margin-top: 12px; max-width: 42em; font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 16px; }
.card p { color: var(--muted); margin-top: 8px; font-size: .97rem; }
.badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; }
.num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
@media (prefers-color-scheme: dark) { .num { background: var(--brand-2); } }
.steps p { color: var(--muted); margin-top: 4px; }
.advice { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.advice h3 { margin-top: 18px; }
.ill { width: 100%; height: auto; }
.ill .p { fill: var(--brand); }
.ill .s { fill: #cbb9ff; }
.ill .f { fill: var(--surface); }
.ill .l { stroke: var(--brand-2); }
@media (prefers-color-scheme: dark) { .ill .p { fill: var(--brand-2); } .ill .s { fill: #4a3a73; } }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--brand-2); border-bottom: 2.5px solid var(--brand-2); transform: rotate(-45deg); }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; }
.why-item { display: flex; flex-direction: column; gap: 14px; }
.why-item p { color: var(--muted); margin-top: 6px; }

/* ── Контакты ──────────────────────────────────────── */
.contact { color: #fff; background: linear-gradient(120deg, var(--hero-1), var(--hero-2)); padding: 64px 0; }
.contact-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.contact p { color: #e3dbff; margin-top: 10px; }
.contact-links { display: grid; gap: 12px; }
.big { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 700; }
.big:hover { text-decoration: underline; text-underline-offset: 5px; }
.big .ic { width: 26px; height: 26px; }
.visit { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: #e3dbff; }
.visit li { display: flex; gap: 10px; align-items: flex-start; }
.visit .ic { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.visit a { color: #fff; }

/* ── Подвал ────────────────────────────────────────── */
.foot { background: #120826; color: #cfc6e6; padding: 44px 0 24px; font-size: .92rem; }
.foot a { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }
.foot-note { margin-top: 12px; }
.req { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.req dt { color: #978bb5; }
.req dd { margin: 0; overflow-wrap: anywhere; }
.copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: #978bb5; }

/* ── 404 ───────────────────────────────────────────── */
.nf { min-height: 50vh; }
.nf h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.nf .btn { margin-top: 26px; }

/* ── Адаптив ───────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .top-phone { margin-left: auto; }
  .brand img { width: 120px; }
  .sec { padding: 60px 0; }
  .hero-in { padding-top: 40px; padding-bottom: 52px; }
  .cards, .why { grid-template-columns: 1fr; }
  .req { grid-template-columns: 1fr; gap: 0; }
  .req dd { margin-bottom: 8px; }
}
