/* DCW — основной стиль. Цвета и размеры вынесены в переменные, чтобы позже легко адаптировать под фирменный стиль. */
:root {
  /* Базовая палитра — из логотипа: графит и светлая сталь */
  --ink: #1d1f23;
  --ink-2: #3d4047;
  --muted: #6e737c;
  --line: #e3e7ed;
  --bg: #ffffff;
  --bg-soft: #f3f4f6;
  --dark: #17191d;
  --on-accent: #fff;
  /* Акцент — синий */
  --accent: #1f5eff;
  --accent-dark: #1446c8;
  --accent-soft: #e8eeff;
  --accent-glow: rgba(31,94,255,.35);
  --ok: #12a36b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(14, 23, 38, .10);
  --container: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head p { color: var(--muted); max-width: 560px; margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.visually-hidden, .form .visually-hidden { position: absolute; width: 1px !important; height: 1px; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-dark); color: var(--on-accent); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--accent); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.link-arrow { font-weight: 700; color: var(--accent); }
.link-arrow::after { content: " →"; }

/* Верхняя полоса */
.topbar { background: var(--dark); color: #c8d0de; font-size: 14px; }
.topbar .container { display: flex; align-items: center; gap: 24px; min-height: 42px; }
.topbar a:hover { color: #fff; }
.topbar__contacts { display: flex; gap: 22px; align-items: center; }
.topbar__phone { color: #fff; font-weight: 700; }
.topbar__hours { color: #8b95a7; }
.topbar__links { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.messengers { display: flex; gap: 8px; }
.messengers a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.messengers a:hover { background: var(--accent); color: var(--on-accent); }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.logo__img { height: 46px; width: auto; }
.footer .logo__img { height: 52px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 24px; letter-spacing: .02em; }
.logo__mark { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; letter-spacing: .04em; }
.logo__text small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; line-height: 1.2; }
.nav { display: flex; gap: 4px; }
.nav__item { position: static; }
.nav__link { display: flex; align-items: center; gap: 6px; padding: 24px 14px; font-weight: 600; background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.nav__link[aria-expanded]::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: .2s; }
.nav__item.is-open .nav__link, .nav__link:hover { color: var(--accent); }
.nav__item.is-open .nav__link::after { transform: rotate(-135deg) translateY(-1px); }
.header__cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

/* Мега-меню */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
.nav__item.is-open .mega { display: block; }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr) 280px; gap: 36px 32px; padding: 36px 20px 40px; max-width: var(--container); margin: 0 auto; }
.mega__inner--4 { grid-template-columns: repeat(4, 1fr); }
.mega__col h4 { font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.mega__col h4 a:hover { color: var(--accent); }
.mega__col li a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 15px; }
.mega__col li a:hover { color: var(--accent); }
.mega__all { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--accent); }
.mega__promo { grid-row: span 2; background: var(--bg-soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.mega__promo .badge { align-self: start; }
.mega__promo p { color: var(--muted); font-size: 14px; margin: 0; }
.mega__promo .btn { margin-top: auto; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }

/* Первый экран */
.hero { background: radial-gradient(1200px 500px at 85% -10%, var(--accent-glow), transparent 60%), var(--dark); color: #fff; padding: 88px 0 96px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__badges span { border: 1px solid rgba(255,255,255,.2); border-radius: 30px; padding: 6px 14px; font-size: 13px; color: #c8d0de; }
.hero__lead { font-size: 19px; color: #c8d0de; max-width: 600px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fact { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px; }
.fact b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; margin-bottom: 6px; }
.fact span { color: #aab4c5; font-size: 14px; }

/* Направления */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: .2s; }
.card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; margin-bottom: 18px; }
.card p { color: var(--muted); }
.card ul { margin: 0 0 20px; }
.card li { padding: 4px 0 4px 18px; position: relative; color: var(--ink-2); font-size: 15px; }
.card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.card .link-arrow { margin-top: auto; }

/* Цены */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; position: relative; }
.price--hit { border: 2px solid var(--accent); }
.price--hit::before { content: "Чаще выбирают"; position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.price__name { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.price__desc { color: var(--muted); font-size: 14px; min-height: 44px; }
.price__value { font-size: 30px; font-weight: 800; margin: 14px 0 2px; }
.price__term { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.price ul { margin-bottom: 24px; }
.price li { padding: 5px 0 5px 24px; position: relative; font-size: 15px; color: var(--ink-2); }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.price .btn { margin-top: auto; }
.note { color: var(--muted); font-size: 14px; margin-top: 24px; }

/* Кейсы */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border-radius: 30px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.chip.is-active, .chip:hover { border-color: var(--accent); color: var(--accent); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .2s; }
.case:hover { box-shadow: var(--shadow); }
.case__cover { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #dfe6f5, #f4f6fa); display: grid; place-items: center; color: var(--muted); font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.case__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.case__body p { color: var(--muted); font-size: 15px; }
.case__body .link-arrow { margin-top: auto; }
.case[hidden] { display: none; }

/* Маркетинг */
.mkt { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.mkt__ready { background: var(--dark); color: #c8d0de; border-radius: var(--radius); padding: 32px; }
.mkt__ready h3 { color: #fff; }
.mkt__ready ul { margin: 18px 0 24px; }
.mkt__ready li { padding: 7px 0 7px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,.08); }
.mkt__ready li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.mkt__ready li b { color: #fff; font-weight: 600; }
.mkt__channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.channel { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: #fff; display: flex; flex-direction: column; transition: .2s; }
.channel:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.channel h3 { font-size: 18px; margin-bottom: 6px; }
.channel p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.channel .link-arrow { margin-top: auto; font-size: 15px; }
.channel--wide { grid-column: 1 / -1; background: var(--accent-soft); border-color: transparent; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; counter-reset: f; }
.flow__step { counter-increment: f; padding: 22px 24px; border-radius: var(--radius); background: var(--bg-soft); }
.flow__step::before { content: "Шаг " counter(f); display: block; font-size: 13px; font-weight: 800; color: var(--accent); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.flow__step p { margin: 0; color: var(--muted); font-size: 15px; }
.tag-ready { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px; border-radius: 6px; background: #e3f6ec; color: #0b7a4d; font-size: 12px; font-weight: 700; }

/* Почему DCW */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why__num { font-size: 14px; font-weight: 800; color: var(--accent); margin-bottom: 12px; }
.why__item p { color: var(--muted); margin: 0; font-size: 15px; }

/* Статьи */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.article__meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.article h3 { font-size: 18px; }
.article p { color: var(--muted); font-size: 15px; }
.article .link-arrow { margin-top: auto; }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* Заявка */
.order { position: relative; background: var(--dark); color: #fff; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.order h2 { color: #fff; }
.order__lead { color: #aab4c5; }
.steps { counter-reset: s; margin: 28px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; padding: 0 0 18px 52px; position: relative; color: #c8d0de; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; font-weight: 800; color: #fff; }
.steps b { color: #fff; display: block; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: #aab4c5; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form__agree { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: start; font-size: 13px !important; }
.form__agree input { width: auto; margin-top: 3px; }
.form__agree a { text-decoration: underline; }
.form__status { font-size: 14px; min-height: 20px; }

/* Подвал */
.footer { background: var(--dark); color: #aab4c5; padding: 64px 0 28px; margin-top: 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer li a { display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer__contacts p { margin: 0 0 6px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7d889b; }

/* Адаптив */
@media (max-width: 1100px) {
  .prices, .why { grid-template-columns: repeat(2, 1fr); }
  .mega__inner { grid-template-columns: repeat(3, 1fr); }
  .mega__promo { grid-row: auto; grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .mega__promo .btn { margin: 0 0 0 auto; }
  .topbar__hours { display: none; }
}
@media (max-width: 960px) {
  .mkt { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
  .header__cta { gap: 8px; }
  .header.is-menu-open .nav { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); max-height: calc(100vh - 72px); overflow: auto; padding: 8px 0 24px; box-shadow: var(--shadow); }
  .header.is-menu-open .nav__link { width: 100%; justify-content: space-between; padding: 16px 20px; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega__inner, .mega__inner--4 { grid-template-columns: 1fr; gap: 20px; padding: 4px 20px 16px; }
  .mega__promo { flex-direction: column; align-items: start; }
  .mega__promo .btn { margin: 8px 0 0; }
  .hero .container, .order { grid-template-columns: 1fr; }
  .cards, .cases, .articles { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .topbar__links > a { display: none; }
}
@media (max-width: 640px) {
  .mkt__channels { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cards, .cases, .articles, .prices, .why { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .order { padding: 32px 22px; border-radius: 18px; }
  .topbar__email { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo__text small { display: none; }
}

/* ===== Страница услуги ===== */
.crumbs { font-size: 14px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 8px; }
.s-hero { padding: 28px 0 72px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.s-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; margin-top: 28px; }
.s-hero h1 { font-size: clamp(30px, 4vw, 48px); }
.s-hero__lead { font-size: 19px; color: var(--ink-2); max-width: 640px; }
.s-hero__points { margin: 24px 0 32px; display: grid; gap: 10px; }
.s-hero__points li { padding-left: 30px; position: relative; }
.s-hero__points li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.s-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.s-card__price { font-size: 32px; font-weight: 800; line-height: 1.1; }
.s-card__sub { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.s-card dl { margin: 0 0 22px; display: grid; gap: 10px; }
.s-card dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; font-size: 15px; }
.s-card dt { color: var(--muted); }
.s-card dd { margin: 0; font-weight: 600; text-align: right; }
.s-card .btn { width: 100%; }
.btn--light { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--light:hover { border-color: var(--accent); }

.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain { padding: 24px; border-radius: var(--radius); background: var(--bg-soft); }
.pain h3 { font-size: 17px; }
.pain p { color: var(--muted); font-size: 15px; margin: 0; }

.includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.include { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.include h3 { font-size: 18px; margin-bottom: 14px; }
.include li { padding: 6px 0 6px 24px; position: relative; color: var(--ink-2); font-size: 15px; }
.include li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: t; list-style: none; margin: 0; padding: 0; }
.timeline li { counter-increment: t; padding: 24px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.timeline li::before { content: counter(t); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 14px; }
.timeline b { display: block; margin-bottom: 6px; }
.timeline span { color: var(--muted); font-size: 14px; display: block; }
.timeline em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--accent); display: block; margin-top: 10px; }

.callout { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 36px 40px; border-radius: var(--radius); background: var(--accent-soft); }
.callout h3 { font-size: 22px; }
.callout p { margin: 0; color: var(--ink-2); }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related a { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 700; }
.related a small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 4px; }
.related a:hover { border-color: var(--accent); }

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

@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .pains, .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .s-hero__grid, .callout { grid-template-columns: 1fr; }
  .includes, .tariffs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pains, .includes, .tariffs, .timeline, .related { grid-template-columns: 1fr; }
  .callout { padding: 28px 22px; }
}

/* ===== Простые страницы ===== */
.card__price { font-weight: 800; color: var(--ink); margin: 0 0 14px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin-top: 32px; }
.prose p { color: var(--ink-2); }
.contacts-grid { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: stretch; }
.contacts-grid .s-card { box-shadow: none; }
.contacts-grid dd a:hover { color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.section__head h2 a:hover { color: var(--accent); }
@media (max-width: 960px) { .contacts-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Визуальный слой: иконки, текстуры, шапка, подвал, анимация
   ========================================================= */
:root {
  /* Пиксельная текстура — мотив QR-знака из логотипа */
  --pixels: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='%23ffffff'%3E%3Crect x='0' y='0' width='8' height='8' opacity='.5'/%3E%3Crect x='24' y='8' width='8' height='8' opacity='.25'/%3E%3Crect x='56' y='0' width='8' height='8' opacity='.35'/%3E%3Crect x='80' y='16' width='8' height='8' opacity='.2'/%3E%3Crect x='8' y='40' width='8' height='8' opacity='.3'/%3E%3Crect x='40' y='32' width='8' height='8' opacity='.15'/%3E%3Crect x='64' y='48' width='8' height='8' opacity='.4'/%3E%3Crect x='16' y='72' width='8' height='8' opacity='.2'/%3E%3Crect x='48' y='80' width='8' height='8' opacity='.35'/%3E%3Crect x='88' y='72' width='8' height='8' opacity='.25'/%3E%3C/g%3E%3C/svg%3E");
  --grid-lines: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* Кнопки */
.btn { position: relative; overflow: hidden; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { box-shadow: 0 6px 18px -6px rgba(31,94,255,.6); }
.btn--primary:hover { box-shadow: 0 10px 24px -8px rgba(31,94,255,.7); }
.btn .ic--arrow { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .ic--arrow { transform: translateX(3px); }
.btn--shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn--ghost .ic { width: 17px; height: 17px; }

/* Верхняя полоса */
.topbar { background: linear-gradient(90deg, #121418, #1b1e24 60%, #121418); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .ic { width: 15px; height: 15px; color: var(--accent); }
.topbar__badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 30px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #c8d0de; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #34d27b; position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #34d27b; opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.messengers a { width: 30px; height: 30px; transition: background .2s, transform .2s; }
.messengers a:hover { transform: translateY(-2px); }
.messengers .ic { width: 15px; height: 15px; }

/* Шапка */
.header { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .3s, background .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(14,23,38,.35); background: rgba(255,255,255,.94); }
.header .container { transition: min-height .3s var(--ease); }
.header.is-scrolled .container { min-height: 62px; }
.header.is-scrolled .logo__img { height: 40px; }
.logo__img { transition: height .3s var(--ease); }
.header__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--accent), #6f9bff); z-index: 2; }
.nav__link { position: relative; }
.nav__link::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav__link:hover::before, .nav__item.is-open .nav__link::before { transform: scaleX(1); }
.header.is-scrolled .nav__link { padding-top: 20px; padding-bottom: 20px; }
.header.is-scrolled .nav__link::before { bottom: 12px; }

/* Мега-меню */
.mega__ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); flex: none; transition: transform .3s var(--ease), background .3s, color .3s; }
.mega__ic .ic { width: 17px; height: 17px; }
.mega__col:hover .mega__ic { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.05); }
.mega__col h4 { gap: 10px; }
.mega__col li a { position: relative; transition: color .2s, padding .2s var(--ease); }
.mega__col li a:hover { padding-left: 8px; }
.mega__col li a::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0; transform: translateY(-50%); transition: opacity .2s; }
.mega__col li a:hover::before { opacity: 1; }
.mega__promo--dark { background: var(--pixels) right -10px top -10px / 96px, radial-gradient(400px 220px at 100% 0, rgba(31,94,255,.45), transparent 70%), var(--dark); color: #c8d0de; }
.mega__promo--dark h3 { color: #fff; }
.mega__promo--dark p { color: #aab4c5; }
.mega__promo--dark .badge { background: rgba(255,255,255,.1); color: #fff; }
@media (min-width: 961px) {
  .mega { display: block; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .nav__item.is-open .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .mega__col, .mega__promo { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav__item.is-open .mega__col, .nav__item.is-open .mega__promo { opacity: 1; transform: none; }
  .nav__item.is-open .mega__inner > :nth-child(2) { transition-delay: .03s; }
  .nav__item.is-open .mega__inner > :nth-child(3) { transition-delay: .06s; }
  .nav__item.is-open .mega__inner > :nth-child(4) { transition-delay: .09s; }
  .nav__item.is-open .mega__inner > :nth-child(5) { transition-delay: .12s; }
  .nav__item.is-open .mega__inner > :nth-child(6) { transition-delay: .15s; }
  .nav__item.is-open .mega__inner > :nth-child(7) { transition-delay: .18s; }
}

/* Первый экран: сетка, пиксели, свечение */
.hero { position: relative; isolation: isolate; background: radial-gradient(900px 480px at 85% -10%, var(--accent-glow), transparent 60%), radial-gradient(600px 400px at 0% 110%, rgba(111,155,255,.12), transparent 60%), var(--dark); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--grid-lines); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); z-index: -1; }
.pixel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.fact { backdrop-filter: blur(6px); transition: transform .3s var(--ease), border-color .3s; }
.fact:hover { transform: translateY(-3px); border-color: rgba(111,155,255,.5); }

/* Подвал */
.footer { position: relative; isolation: isolate; padding-top: 0; background: radial-gradient(800px 380px at 10% 0, rgba(31,94,255,.14), transparent 60%), var(--dark); overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; background: var(--pixels) 0 0 / 96px; opacity: .25; mask-image: linear-gradient(180deg, transparent 20%, #000 100%); -webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 100%); z-index: -1; }
.footer__cta { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 44px 48px; margin: 0 0 64px; transform: translateY(0); border-radius: 0 0 24px 24px; background: linear-gradient(120deg, #1f5eff, #2f6dff 45%, #5a8bff); color: #fff; box-shadow: 0 30px 60px -30px rgba(31,94,255,.6); }
.footer__cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); }
.footer__cta p { margin: 0; color: rgba(255,255,255,.85); }
.footer__cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__cta .btn--primary { background: #fff; color: var(--accent); box-shadow: 0 8px 20px -8px rgba(0,0,0,.35); }
.footer__cta .btn--primary:hover { background: #f1f4ff; color: var(--accent-dark); }
.footer__cta .btn--ghost { border-color: rgba(255,255,255,.45); }
.footer__cta .btn--ghost:hover { background: rgba(255,255,255,.12); }
.footer__cta .pixel-canvas { opacity: .9; }
.footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #8b95a7; margin-bottom: 16px; }
.footer li a { transition: color .2s, transform .2s var(--ease); display: inline-block; }
.footer li a:hover { transform: translateX(4px); }
.footer__about p { max-width: 300px; }
.footer__badges { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.footer__badges span { display: inline-flex; align-items: center; gap: 10px; align-self: start; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: #c8d0de; font-size: 13px; font-weight: 600; }
.footer__badges .ic { color: #6f9bff; }
.footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__contact { display: inline-flex; align-items: center; gap: 10px; color: #c8d0de; }
.footer__contact .ic { width: 17px; height: 17px; color: #6f9bff; }
.footer__contact--big { font-size: 20px; font-weight: 800; color: #fff; }
.footer__bottom { align-items: center; }
.to-top { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: background .2s, transform .2s; }
.to-top:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.to-top .ic { width: 18px; height: 18px; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.card, .price, .case, .channel, .include, .why__item, .article, .related a { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, opacity .7s var(--ease); }

@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__about { grid-column: 1 / -1; }
  .topbar__badge { display: none; }
}
@media (max-width: 960px) {
  .header { backdrop-filter: none; background: #fff; }
  .nav__link::before { display: none; }
  .footer__cta { padding: 32px 24px; border-radius: 0 0 18px 18px; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__contacts { grid-column: 1 / -1; }
  .footer__cta-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Правки визуального слоя */
.mega__promo--dark { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(400px 240px at 100% 0, rgba(31,94,255,.5), transparent 70%), var(--dark); }
.mega__promo--dark::before { content: ""; position: absolute; inset: 0; background: var(--pixels) 0 0 / 96px; opacity: .35; mask-image: linear-gradient(180deg, transparent 35%, #000 100%); -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 100%); z-index: -1; }
.footer { padding-top: 72px; }
.footer__cta { border-radius: 24px; margin: 0 0 64px; }
.footer__grid { grid-template-columns: 1.3fr 1fr 1.1fr .9fr 1.3fr; }
.footer h4 { letter-spacing: .06em; }
@media (max-width: 960px) { .footer__cta { border-radius: 18px; } .footer { padding-top: 48px; } }

/* =========================================================
   Светлая схема: вместо тёмных блоков — светло-голубые и синие
   ========================================================= */
:root {
  --sky: #eef3ff;
  --sky-2: #e2eaff;
  --blue-grad: linear-gradient(135deg, #1f5eff 0%, #3a72ff 55%, #6a96ff 100%);
  --pixels-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='%231f5eff'%3E%3Crect x='0' y='0' width='8' height='8' opacity='.5'/%3E%3Crect x='24' y='8' width='8' height='8' opacity='.25'/%3E%3Crect x='56' y='0' width='8' height='8' opacity='.35'/%3E%3Crect x='80' y='16' width='8' height='8' opacity='.2'/%3E%3Crect x='8' y='40' width='8' height='8' opacity='.3'/%3E%3Crect x='40' y='32' width='8' height='8' opacity='.15'/%3E%3Crect x='64' y='48' width='8' height='8' opacity='.4'/%3E%3Crect x='16' y='72' width='8' height='8' opacity='.2'/%3E%3Crect x='48' y='80' width='8' height='8' opacity='.35'/%3E%3Crect x='88' y='72' width='8' height='8' opacity='.25'/%3E%3C/g%3E%3C/svg%3E");
}

/* Верхняя полоса — светлая */
.topbar { background: var(--sky); color: var(--ink-2); border-bottom: 1px solid var(--sky-2); }
.topbar a:hover { color: var(--accent); }
.topbar__phone { color: var(--ink); }
.topbar__hours { color: var(--muted); }
.topbar__badge { background: #fff; border-color: var(--sky-2); color: var(--ink-2); }
.messengers a { background: #fff; color: var(--accent); box-shadow: 0 2px 6px rgba(31,94,255,.12); }
.messengers a:hover { background: var(--accent); color: #fff; }

/* Первый экран */
.hero--light { color: var(--ink); background: radial-gradient(700px 420px at 90% 10%, rgba(31,94,255,.18), transparent 65%), radial-gradient(600px 400px at 0% 100%, rgba(111,155,255,.16), transparent 60%), linear-gradient(170deg, #f7f9ff 0%, #edf2ff 60%, #e4ecff 100%); padding: 72px 0 88px; }
.hero--light::before { background-image: linear-gradient(rgba(31,94,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(31,94,255,.07) 1px, transparent 1px); }
.hero--light .container { grid-template-columns: 1.05fr .95fr; gap: 48px; }
.hero--light h1 { color: var(--ink); }
.hl { background: linear-gradient(90deg, var(--accent), #6a96ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero--light .hero__lead { color: var(--ink-2); }
.hero--light .hero__badges span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-color: var(--sky-2); color: var(--ink-2); box-shadow: 0 2px 8px rgba(31,94,255,.08); }
.hero--light .btn--outline { background: #fff; }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(31,94,255,.15); }
.hero__stats b { display: block; font-size: 22px; font-weight: 800; color: var(--ink); }
.hero__stats span { font-size: 13px; color: var(--muted); }

/* Иллюстрация */
.hero__art { position: relative; min-height: 440px; }
.art-browser { position: absolute; inset: 20px 30px 40px 40px; background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(31,94,255,.45), 0 0 0 1px rgba(31,94,255,.08); overflow: hidden; animation: floatY 7s ease-in-out infinite; }
.art-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f4f6fb; border-bottom: 1px solid #e7ebf3; }
.art-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7dce6; }
.art-browser__bar i:nth-child(1) { background: #ff6b5f; } .art-browser__bar i:nth-child(2) { background: #ffbe2e; } .art-browser__bar i:nth-child(3) { background: #2ac940; }
.art-browser__bar span { margin-left: 12px; flex: 1; max-width: 220px; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: 11px; color: var(--muted); }
.art-browser__body { padding: 14px 16px; display: grid; gap: 12px; }
.art-nav { display: flex; align-items: center; gap: 8px; }
.art-nav b { width: 42px; height: 12px; border-radius: 4px; background: var(--ink); }
.art-nav span { width: 34px; height: 7px; border-radius: 4px; background: #e3e8f2; }
.art-nav em { margin-left: auto; width: 56px; height: 16px; border-radius: 5px; background: var(--accent); }
.art-banner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; padding: 16px; border-radius: 12px; background: linear-gradient(120deg, #eef3ff, #f8faff); }
.art-banner b { display: block; height: 12px; width: 90%; border-radius: 4px; background: var(--ink); margin-bottom: 8px; }
.art-banner span { display: block; height: 7px; width: 80%; border-radius: 4px; background: #d6deee; margin-bottom: 6px; }
.art-banner em { display: block; width: 70px; height: 18px; border-radius: 6px; background: var(--accent); margin-top: 10px; }
.art-banner__img { border-radius: 10px; background: var(--pixels-blue) 0 0 / 48px, linear-gradient(135deg, #cddcff, #eaf0ff); min-height: 80px; }
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.art-card { border: 1px solid #edf0f6; border-radius: 10px; padding: 10px; }
.art-card i { display: block; height: 44px; border-radius: 7px; background: linear-gradient(135deg, #e4ecff, #f4f7ff); margin-bottom: 8px; }
.art-card b { display: block; height: 7px; width: 80%; border-radius: 4px; background: #c9d3e6; margin-bottom: 5px; }
.art-card span { display: block; height: 7px; width: 45%; border-radius: 4px; background: var(--accent); opacity: .7; }
.art-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(14,23,38,.25), 0 0 0 1px rgba(31,94,255,.06); font-size: 13px; line-height: 1.25; animation: floatY 6s ease-in-out infinite; }
.art-chip b { display: block; color: var(--ink); }
.art-chip small { color: var(--muted); font-size: 12px; }
.art-chip__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.art-chip__ic .ic { width: 17px; height: 17px; }
.art-chip__ic--green { background: #e3f6ec; color: #0b9a5c; }
.art-chip__ic--orange { background: #fff1e6; color: #f27a1a; }
.art-chip--1 { left: 0; top: 70px; animation-delay: -1s; }
.art-chip--2 { right: 0; top: 0; animation-delay: -3s; }
.art-chip--3 { right: 6px; bottom: 120px; animation-delay: -2s; }
.art-graph { position: absolute; left: 10px; bottom: 0; width: 210px; padding: 12px 14px 8px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(14,23,38,.25); animation: floatY 8s ease-in-out infinite; animation-delay: -4s; }
.art-graph small { font-size: 12px; color: var(--muted); font-weight: 600; }
.art-graph svg { display: block; width: 100%; height: 56px; margin-top: 4px; }
.art-graph__line { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 2.4s .4s var(--ease) forwards; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Синие блоки с паттерном вместо тёмных */
.mkt__ready, .order { position: relative; isolation: isolate; overflow: hidden; background: var(--blue-grad); color: rgba(255,255,255,.9); box-shadow: 0 30px 60px -30px rgba(31,94,255,.55); }
.mkt__ready li { border-bottom-color: rgba(255,255,255,.18); }
.mkt__ready li::before { background: #fff; color: var(--accent); }
.mkt__ready .btn--primary, .order .btn--primary { background: #fff; color: var(--accent); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.mkt__ready .btn--primary:hover, .order .btn--primary:hover { background: #f1f4ff; color: var(--accent-dark); }
.order__lead { color: rgba(255,255,255,.85); }
.steps li { color: rgba(255,255,255,.85); }
.steps li::before { background: rgba(255,255,255,.2); }
.form label { color: rgba(255,255,255,.85); }
.form input, .form select, .form textarea { background: #fff; color: var(--ink); border-color: transparent; }
.form input::placeholder { color: #9aa3b2; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(255,255,255,.6); }
.form__agree a { color: #fff; }
.form__status { color: #fff; }
.pixel-canvas { border-radius: inherit; }

/* Промо в мега-меню */
.mega__promo--blue { position: relative; isolation: isolate; overflow: hidden; background: var(--blue-grad); color: #fff; }
.mega__promo--blue::before { content: ""; position: absolute; inset: 0; background: var(--pixels) 0 0 / 96px; opacity: .45; mask-image: linear-gradient(180deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%); z-index: -1; }
.mega__promo--blue h3 { color: #fff; }
.mega__promo--blue p { color: rgba(255,255,255,.85); }
.mega__promo--blue .badge { background: rgba(255,255,255,.2); color: #fff; }
.mega__promo--blue .btn--primary { background: #fff; color: var(--accent); box-shadow: none; }

/* Подвал — светлый */
.footer { background: radial-gradient(700px 360px at 100% 0, rgba(31,94,255,.10), transparent 60%), linear-gradient(180deg, #f3f6fd, #e9eefa); color: var(--ink-2); border-top: 1px solid var(--sky-2); }
.footer::before { background: var(--pixels-blue) 0 0 / 96px; opacity: .12; }
.footer h4 { color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer li a { color: var(--ink-2); }
.footer__badges span { background: #fff; border-color: var(--sky-2); color: var(--ink-2); box-shadow: 0 2px 8px rgba(31,94,255,.06); }
.footer__badges .ic, .footer__contact .ic { color: var(--accent); }
.footer__contact { color: var(--ink-2); }
.footer__contact--big { color: var(--ink); }
.footer__bottom { border-top-color: rgba(31,94,255,.12); color: var(--muted); }
.to-top { background: #fff; border-color: var(--sky-2); color: var(--accent); }
.to-top:hover { background: var(--accent); color: #fff; }
.footer__cta { margin-top: 0; }
.has-order .footer__cta { display: none; }

@media (max-width: 1100px) {
  .hero--light .container { grid-template-columns: 1fr; }
  .hero__art { max-width: 620px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__art { min-height: 360px; }
  .art-browser { inset: 30px 0 50px 0; }
  .art-chip { font-size: 12px; padding: 8px 10px 8px 8px; }
  .art-chip--3 { display: none; }
  .art-graph { width: 170px; }
}
.hero__stats b { white-space: nowrap; font-size: 21px; }
@media (max-width: 1100px) { .topbar__hours { display: none !important; } }
@media (max-width: 640px) { .topbar__email { display: none !important; } .topbar__phone { white-space: nowrap; } .hero--light { padding: 40px 0 56px; } }

/* Комплексное продвижение — акцентная карточка */
.channel--accent { background: var(--sky); border-color: rgba(31,94,255,.25); }
.channel--accent .badge { align-self: start; margin-bottom: 10px; background: var(--accent); color: #fff; }

/* Мобильная шапка: прячется при прокрутке вниз, появляется при прокрутке вверх */
@media (max-width: 960px) {
  .header { transition: transform .3s var(--ease), box-shadow .3s; will-change: transform; }
  .header.is-hidden { transform: translateY(-100%); box-shadow: none; }
}

/* ===== Мега-меню «Услуги» с вкладками и баннерами (как на WRP) ===== */
.mtabs { display: grid; grid-template-columns: 300px 1fr; max-width: var(--container); margin: 0 auto; padding: 24px 20px 28px; gap: 28px; }
.mtabs__nav { display: grid; gap: 4px; align-content: start; border-right: 1px solid var(--line); padding-right: 20px; }
.mtabs__tab { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: none; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; transition: background .2s, color .2s; position: relative; }
.mtabs__tab small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.mtabs__tab:hover, .mtabs__tab.is-active { background: var(--sky); color: var(--accent); }
.mtabs__tab.is-active::after { content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.mtabs__tab.is-active .mega__ic { background: var(--accent); color: #fff; }
.mtabs__pane { display: none; grid-template-columns: 1fr 320px; gap: 28px; animation: paneIn .35s var(--ease); }
.mtabs__pane.is-active { display: grid; }
@keyframes paneIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.mtabs__links h4 { font-size: 18px; margin: 6px 0 16px; display: flex; align-items: center; gap: 10px; }
.mtabs__links h4 a:hover { color: var(--accent); }
.mtabs__mobile-ic { display: none !important; }
.mtabs__links ul { columns: 2; column-gap: 28px; }
.mtabs__links li { break-inside: avoid; }
.mtabs__links li a { display: block; padding: 7px 0; color: var(--ink-2); transition: color .2s, padding .2s var(--ease); }
.mtabs__links li a:hover { color: var(--accent); padding-left: 6px; }
.mtabs__links .mega__all { margin-top: 14px; }
.mtabs__promo { position: relative; isolation: isolate; overflow: hidden; border-radius: 18px; padding: 26px; background: var(--blue-grad); color: #fff; display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.mtabs__promo h3 { color: #fff; font-size: 21px; margin: 0; }
.mtabs__promo p { color: rgba(255,255,255,.85); font-size: 14px; margin: 0; }
.mtabs__promo .badge { align-self: start; background: rgba(255,255,255,.2); color: #fff; }
.mtabs__promo .btn { margin-top: auto; align-self: start; background: #fff; color: var(--accent); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.mtabs__promo .btn:hover { background: #f1f4ff; color: var(--accent-dark); }
.mtabs__promo-ic { position: absolute; right: -18px; bottom: -18px; width: 140px; height: 140px; color: rgba(255,255,255,.14); z-index: -1; transform: rotate(-12deg); }
.mtabs__promo-ic .ic { width: 100%; height: 100%; stroke-width: 1.4; }
@media (min-width: 961px) {
  .mega--tabs .mtabs__nav, .mega--tabs .mtabs__panes { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav__item.is-open .mega--tabs .mtabs__nav, .nav__item.is-open .mega--tabs .mtabs__panes { opacity: 1; transform: none; }
  .nav__item.is-open .mega--tabs .mtabs__panes { transition-delay: .05s; }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .mtabs { grid-template-columns: 250px 1fr; }
  .mtabs__pane { grid-template-columns: 1fr 260px; }
  .mtabs__links ul { columns: 1; }
}
@media (max-width: 960px) {
  .mtabs { grid-template-columns: 1fr; padding: 4px 20px 16px; gap: 0; }
  .mtabs__nav { display: none; }
  .mtabs__pane, .mtabs__pane.is-active { display: block; animation: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mtabs__mobile-ic { display: inline-grid !important; }
  .mtabs__links h4 { font-size: 16px; }
  .mtabs__links ul { columns: 1; }
  .mtabs__promo { min-height: 0; margin-top: 12px; padding: 18px; }
  .mtabs__promo p { display: none; }
  .mtabs__promo-ic { width: 90px; height: 90px; }
}
.mtabs__promo::before { content: ""; position: absolute; inset: 0; background: var(--pixels) 0 0 / 96px; opacity: .4; mask-image: linear-gradient(200deg, #000 0%, transparent 55%); -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 55%); z-index: -1; }

/* ===== Калькулятор ===== */
.calc { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.calc__tabs { display: grid; gap: 8px; position: sticky; top: 100px; }
.calc__tab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; text-align: left; cursor: pointer; color: var(--ink); transition: .2s; }
.calc__tab small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.calc__tab:hover { border-color: var(--accent); }
.calc__tab.is-active { background: var(--blue-grad); color: #fff; border-color: transparent; box-shadow: 0 16px 30px -18px rgba(31,94,255,.8); }
.calc__tab.is-active small { color: rgba(255,255,255,.85); }
.calc__tab.is-active .mega__ic { background: rgba(255,255,255,.2); color: #fff; }
.calc__pane { display: none; grid-template-columns: 1fr 340px; gap: 24px; }
.calc__pane.is-active { display: grid; animation: paneIn .35s var(--ease); }
.calc__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.calc__box h2 { font-size: 26px; }
.calc__q { margin: 0 0 22px; border: 0; padding: 0; }
.calc__q legend { font-weight: 700; margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; transition: .2s; }
.opt span small { color: var(--muted); font-size: 13px; }
.opt input:checked + span { border-color: var(--accent); background: var(--sky); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc__result { position: sticky; top: 100px; background: var(--blue-grad); color: #fff; border-radius: var(--radius); padding: 28px; overflow: hidden; isolation: isolate; }
.calc__result::before { content: ""; position: absolute; inset: 0; background: var(--pixels) 0 0 / 96px; opacity: .35; mask-image: linear-gradient(180deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(180deg, transparent 40%, #000); z-index: -1; }
.calc__result small { color: rgba(255,255,255,.8); }
.calc__sum { font-size: 34px; font-weight: 800; line-height: 1.1; margin: 6px 0 4px; }
.calc__note { font-size: 14px; color: rgba(255,255,255,.85); margin: 0 0 18px; }
.calc__list { font-size: 14px; margin: 0 0 18px; }
.calc__list li { padding: 4px 0 4px 20px; position: relative; color: rgba(255,255,255,.9); }
.calc__list li::before { content: "✓"; position: absolute; left: 0; }
.calc__form { display: grid; gap: 10px; }
.calc__form input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 0; font: inherit; }
.calc__form .btn { background: #fff; color: var(--accent); }
.calc__form .form__agree { color: rgba(255,255,255,.85); font-size: 12px; display: flex; gap: 8px; }
.calc__form .form__agree a { color: #fff; text-decoration: underline; }
.calc__form input[type=checkbox] { width: auto; }
.calc__status { font-size: 14px; min-height: 18px; }
@media (max-width: 1100px) { .calc__pane { grid-template-columns: 1fr; } .calc__result { position: static; } }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .calc__tabs { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .calc__tabs { grid-template-columns: 1fr; } .calc__box { padding: 20px; } }

/* ===== Живые пиктограммы каналов (свои, не логотипы брендов) ===== */
.anim { height: 64px; margin: -4px 0 16px; border-radius: 12px; background: var(--sky); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.channel--accent .anim { background: #fff; }
/* Поиск: печатается запрос */
.anim-search__field { display: flex; align-items: center; gap: 8px; width: 82%; height: 34px; padding: 0 12px; border-radius: 9px; background: #fff; box-shadow: 0 4px 12px rgba(31,94,255,.12); font-size: 13px; color: var(--ink); }
.anim-search__field .ic { width: 15px; height: 15px; color: var(--muted); }
.anim-search__text { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation: typing 5s steps(22) infinite; }
.anim-search__caret { width: 2px; height: 16px; background: var(--accent); animation: caret .8s step-end infinite; }
.anim-search__ad { position: absolute; right: 12px; bottom: 6px; font-size: 10px; font-weight: 700; color: #fff; background: var(--accent); padding: 1px 6px; border-radius: 4px; opacity: 0; animation: adIn 5s infinite; }
@keyframes typing { 0% { width: 0; } 50%, 85% { width: 15ch; } 100% { width: 0; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes adIn { 0%, 55% { opacity: 0; transform: translateY(4px); } 62%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* РСЯ: баннеры по очереди загораются */
.anim--rsya { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 14px; }
.anim--rsya i { border-radius: 6px; background: #fff; box-shadow: 0 2px 6px rgba(31,94,255,.1); animation: banner 3.6s infinite; }
.anim--rsya i:nth-child(2) { animation-delay: .6s; } .anim--rsya i:nth-child(3) { animation-delay: 1.2s; } .anim--rsya i:nth-child(4) { animation-delay: 1.8s; } .anim--rsya i:nth-child(5) { animation-delay: 2.4s; } .anim--rsya i:nth-child(6) { animation-delay: 3s; }
@keyframes banner { 0%, 30%, 100% { background: #fff; } 10%, 20% { background: var(--accent); } }
/* SEO: растущие столбики */
.anim--bars { align-items: flex-end; gap: 8px; padding: 10px 0; }
.anim--bars i { width: 14px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #6a96ff, var(--accent)); animation: grow 3s var(--ease) infinite; transform-origin: bottom; }
.anim--bars i:nth-child(1) { height: 18%; } .anim--bars i:nth-child(2) { height: 30%; animation-delay: .1s; } .anim--bars i:nth-child(3) { height: 42%; animation-delay: .2s; } .anim--bars i:nth-child(4) { height: 56%; animation-delay: .3s; } .anim--bars i:nth-child(5) { height: 72%; animation-delay: .4s; } .anim--bars i:nth-child(6) { height: 92%; animation-delay: .5s; }
@keyframes grow { 0% { transform: scaleY(.15); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
/* Карты: метка прыгает, расходится круг, звёзды отзывов */
.anim--map { background: var(--pixels-blue) 0 0 / 48px, var(--sky); }
.anim-map__pin { position: relative; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; animation: bounce 2s var(--ease) infinite; }
.anim-map__pin .ic { width: 18px; height: 18px; }
.anim-map__ring { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -10px 0 0 -17px; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2s ease-out infinite; }
.anim-map__stars { position: absolute; right: 12px; bottom: 8px; font-size: 11px; letter-spacing: 1px; color: #f6a609; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } }
@keyframes ring { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
/* Комплекс: каналы вращаются вокруг цели */
.anim-orbit__core { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(31,94,255,.15); }
.anim-orbit__dot { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #6a96ff; animation: orbit 4s linear infinite; }
.anim-orbit__dot:nth-child(3) { background: #f27a1a; animation-delay: -1.33s; } .anim-orbit__dot:nth-child(4) { background: #12a36b; animation-delay: -2.66s; }
@keyframes orbit { from { transform: rotate(0) translateX(26px) rotate(0); } to { transform: rotate(360deg) translateX(26px) rotate(-360deg); } }
/* Аналитика: рисуется график */
.anim--line svg { width: 80%; height: 42px; }
.anim--line path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: drawLoop 3.5s var(--ease) infinite; }
@keyframes drawLoop { 0% { stroke-dashoffset: 160; } 50%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -160; } }

@media (prefers-reduced-motion: reduce) { .anim-search__text { width: 15ch; } .anim--line path { stroke-dashoffset: 0; } }

/* РСЯ: страница сайта, сбоку крутится рекламный баннер */
.anim--rsya { justify-content: space-between; gap: 10px; padding: 8px 12px; }
.rsya-page { flex: 1; display: grid; gap: 5px; align-content: center; height: 100%; padding: 6px 10px; border-radius: 8px; background: #fff; }
.rsya-page b { height: 7px; width: 60%; border-radius: 3px; background: var(--ink); }
.rsya-page span { height: 5px; border-radius: 3px; background: #dfe5f1; }
.rsya-page span:nth-child(3) { width: 85%; } .rsya-page span:nth-child(5) { width: 70%; }
.rsya-ad { position: relative; width: 96px; height: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 16px -6px rgba(31,94,255,.5); animation: adPulse 2s ease-in-out infinite; }
.rsya-ad em { position: absolute; z-index: 2; top: 3px; right: 4px; font-style: normal; font-size: 8px; font-weight: 700; color: rgba(255,255,255,.85); background: rgba(0,0,0,.18); padding: 0 4px; border-radius: 3px; }
.rsya-ad__track { height: 300%; animation: adSlides 7.5s var(--ease) infinite; }
.rsya-slide { height: 33.333%; display: flex; flex-direction: column; justify-content: center; padding: 0 10px; color: #fff; line-height: 1.15; }
.rsya-slide b { font-size: 14px; } .rsya-slide small { font-size: 9px; opacity: .9; }
.rsya-slide--1 { background: linear-gradient(135deg, #1f5eff, #6a96ff); }
.rsya-slide--2 { background: linear-gradient(135deg, #f27a1a, #ffb057); }
.rsya-slide--3 { background: linear-gradient(135deg, #12a36b, #4fd39a); }
@keyframes adSlides { 0%, 28% { transform: translateY(0); } 33%, 61% { transform: translateY(-33.333%); } 66%, 94% { transform: translateY(-66.666%); } 100% { transform: translateY(0); } }
@keyframes adPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.anim--rsya { display: grid; grid-template-columns: 1fr 120px; justify-content: stretch; align-items: stretch; }
.rsya-ad { width: auto; }
.rsya-ad em { top: auto; bottom: 3px; right: 4px; }
.rsya-slide { justify-content: flex-start; padding: 7px 10px 0; }

/* ===== Слайдер первого экрана ===== */
.hero-slider { padding-bottom: 40px; }
.hero--light .hero-slider__viewport { display: grid; grid-template-columns: 1fr; gap: 0; }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hero__h { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; color: var(--ink); line-height: 1.15; }
.hero-slider__nav { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.hero-slider__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--sky-2); background: #fff; color: var(--ink); cursor: pointer; transition: .2s; }
.hero-slider__arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.hero-slider__arrow .ic { width: 18px; height: 18px; }
.hero-slider__dots { display: flex; gap: 10px; flex: 1; max-width: 560px; }
.hero-slider__dots button { flex: 1; display: grid; gap: 8px; padding: 0; border: 0; background: none; text-align: left; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.hero-slider__dots button.is-active { color: var(--accent); }
.hero-slider__dots i { display: block; height: 3px; border-radius: 3px; background: rgba(31,94,255,.15); overflow: hidden; position: relative; }
.hero-slider__dots i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.hero-slider__dots button.is-active i::after { animation: slideProgress var(--slide-time, 9s) linear forwards; }
.hero-slider.is-paused .hero-slider__dots button.is-active i::after { animation-play-state: paused; }
@keyframes slideProgress { to { transform: scaleX(1); } }

/* Слайд 2: отчёт с растущими заявками */
.hero__art--growth { display: flex; align-items: center; justify-content: center; }
.dash { position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(31,94,255,.45), 0 0 0 1px rgba(31,94,255,.08); }
.dash__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dash__tag { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--bg-soft); padding: 3px 8px; border-radius: 6px; }
.dash__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash__kpi { padding: 12px 14px; border-radius: 12px; background: var(--sky); }
.dash__kpi small { display: block; font-size: 12px; color: var(--muted); }
.dash__kpi b { display: block; font-size: 30px; font-weight: 800; line-height: 1.15; color: var(--ink); }
.dash__kpi em { font-style: normal; font-size: 12px; font-weight: 700; }
.dash__kpi .up { color: #0b9a5c; } .dash__kpi .down { color: #0b9a5c; }
.dash__down { color: #0b9a5c !important; }
.dash__chart { margin: 14px 0; height: 110px; }
.dash__chart svg { width: 100%; height: 100%; display: block; }
.dash__line { stroke-dasharray: 420; stroke-dashoffset: 420; }
.dash__area { opacity: 0; }
.dash__channels { display: grid; gap: 8px; }
.dash__channels div { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.dash__channels i { display: block; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #6a96ff); width: 0; }
.is-active .dash__line { animation: drawLong 2.2s .3s var(--ease) forwards; }
.is-active .dash__area { animation: fadeIn 1s 1.6s forwards; }
.is-active .dash__channels i { animation: barW 1.4s var(--ease) forwards; }
.is-active .dash__channels div:nth-child(2) i { animation-delay: .15s; } .is-active .dash__channels div:nth-child(3) i { animation-delay: .3s; } .is-active .dash__channels div:nth-child(4) i { animation-delay: .45s; }
@keyframes drawLong { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes barW { from { width: 0; } to { width: var(--w); } }
.art-chip--a { right: -6px; top: 4px; animation-delay: -2s; }
.art-chip--b { left: -10px; bottom: 16px; animation-delay: -4s; }
.hero-slide:not(.is-active) .art-graph__line { animation: none; }

@media (max-width: 1100px) {
  .hero-slide { grid-template-columns: 1fr; }
  .dash { max-width: 560px; }
}
@media (max-width: 640px) {
  .hero-slider__dots span { font-size: 12px; }
  .hero-slider__arrow { display: none; }
  .dash { padding: 16px; }
  .dash__channels div { grid-template-columns: 100px 1fr; }
  .art-chip--a, .art-chip--b { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dash__line { stroke-dashoffset: 0; } .dash__area { opacity: 1; } .dash__channels i { width: var(--w); } }
.hero .hero-slider__nav { display: flex; grid-template-columns: none; }
/* slide 2: chip below the dashboard so it doesn't cover the bars */
.hero-slide[data-slide="1"] .art-chip--b { left: -24px; bottom: -34px; }
.hero-slide[data-slide="1"] .art-chip--a { top: -46px; right: -18px; }

/* калькулятор поддержки: ползунок часов */
.opts--works { display: grid; grid-template-columns: 1fr 1fr; }
.opts--works .opt span { width: 100%; height: 100%; justify-content: space-between; }
.range { background: var(--sky); border-radius: 14px; padding: 18px 20px 12px; }
.range__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.range__val { font-size: 22px; }
.range__val span { color: var(--accent); }
.range__hint { font-size: 13px; color: #138a4e; }
.range__hint.is-warn { color: #c2570c; }
.range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--fill, 7%), #d5e0ff var(--fill, 7%)); }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 6px 14px -4px rgba(31,94,255,.6); transition: transform .15s; }
.range input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 6px 14px -4px rgba(31,94,255,.6); }
.range input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.range input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.range__ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
@media (max-width: 640px) { .opts--works { grid-template-columns: 1fr; } }
.opts--works .opt span small { white-space: nowrap; }
.range__ticks { position: relative; height: 16px; margin: 8px 13px 0; }
.range__ticks span { position: absolute; transform: translateX(-50%); }
/* верхняя строка хедера — светло-серая */
.topbar { background: #f2f3f5; border-bottom: 1px solid #e4e6ea; }
.topbar__badge { background: #fff; border-color: #e4e6ea; }

/* калькулятор: анимированный фон блока результата */
.calc__result { background: linear-gradient(135deg, #1f5eff, #3a72ff, #6a96ff, #2a63ff, #1f5eff); background-size: 300% 300%; animation: calcGrad 14s ease-in-out infinite; }
.calc__result::before { animation: calcPixels 40s linear infinite; }
.calc__result::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; border-radius: 50%; top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(255,255,255,.35), transparent 65%); animation: calcGlow 10s ease-in-out infinite alternate; pointer-events: none; }
@keyframes calcGrad { 0%, 100% { background-position: 0% 30%; } 50% { background-position: 100% 70%; } }
@keyframes calcPixels { to { background-position: 96px 192px; } }
@keyframes calcGlow { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-140px, 220px) scale(1.25); } 100% { transform: translate(-40px, 480px) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .calc__result, .calc__result::before, .calc__result::after { animation: none; } }
/* CTA в футере: «матрица» из цифр и символов */
.matrix-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%); -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%); }
.footer__cta[data-matrix]::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 120% at 20% 50%, rgba(31,94,255,.55), transparent 70%); }

/* логотип 1С-Битрикс */
.bx-logo { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.bx-logo--lg { width: 28px; height: 28px; }
.bx-logo--xl { width: 56px; height: 56px; margin-bottom: 12px; display: block; }
.with-logo { display: flex; align-items: center; gap: 10px; }
.mega__ic--logo { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mega__ic--logo .bx-logo { width: 20px; height: 20px; }
.footer__badges .bx-logo { width: 16px; height: 16px; }

/* кейсы с изображением */
.case__cover--img { padding: 0; overflow: hidden; background: #f4f6fa; }
.case__cover--img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case__cover--img img { transform: scale(1.04); }
.case-shot { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(16,24,40,.45); }
.case-shot img { width: 100%; height: auto; display: block; }
.case-link { margin-top: 24px; font-weight: 600; }

/* промо-баннер картинкой в мега-меню */
.mtabs__promo--img { padding: 0; min-height: 0; background: #1f8a3c; align-self: start; display: block; box-shadow: 0 18px 36px -22px rgba(16,24,40,.5); transition: transform .25s var(--ease), box-shadow .25s; }
.mtabs__promo--img img { display: block; width: 100%; height: auto; }
.mtabs__promo--img:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -22px rgba(16,24,40,.6); }
@media (max-width: 960px) { .mtabs__promo--img { max-width: 360px; padding: 0; } }

/* иконка-мишень в заголовке «Маркетинг и реклама» */
.section__head-ic { display: flex; align-items: center; gap: 22px; }
.mkt-target { width: 96px; height: 96px; flex: none; overflow: visible; filter: drop-shadow(0 14px 22px rgba(31,94,255,.28)); }
.mkt-target__board { transform-origin: 256px 256px; }
.mkt-target__arrow { transform-origin: 250px 270px; }
.mkt-target.is-hit .mkt-target__arrow { animation: arrowIn .9s cubic-bezier(.2,.9,.3,1.2) both, arrowWobble 3.6s 1.2s ease-in-out infinite; }
.mkt-target.is-hit .mkt-target__board { animation: boardHit .5s .75s ease-out both; }
@keyframes arrowIn { 0% { transform: translate(180px, -180px); opacity: 0; } 70% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes boardHit { 0% { transform: scale(1); } 40% { transform: scale(.93); } 100% { transform: scale(1); } }
@keyframes arrowWobble { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
@media (max-width: 640px) { .mkt-target { width: 64px; height: 64px; } .section__head-ic { gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .mkt-target__arrow, .mkt-target__board { animation: none !important; } }
.mkt-target:not(.is-hit) .mkt-target__arrow { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .mkt-target .mkt-target__arrow { opacity: 1 !important; } }

/* галерея кейса */
.case__cover--img picture { display: block; width: 100%; height: 100%; }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 32px; }
.case-gallery .case-shot { margin: 0; }
.case-gallery .case-shot--main { grid-column: 1 / -1; }
.case-gallery:has(.case-shot:nth-child(2):last-child) .case-shot { grid-column: 1 / -1; }
.case-shot a { display: block; cursor: zoom-in; }
.case-shot picture, .case-shot img { display: block; width: 100%; height: auto; }
.case-shot img { transition: transform .6s var(--ease); }
.case-shot:hover img { transform: scale(1.015); }
@media (max-width: 760px) { .case-gallery { grid-template-columns: 1fr; gap: 14px; } }


/* логотип Аспро */
.aspro-logo { height: 12px; width: auto; display: inline-block; vertical-align: middle; position: relative; top: -1px; }
.aspro-logo--white { filter: brightness(0) invert(1); }
.aspro-logo--lg { height: 22px; top: 0; }
.aspro-logo--xl { height: 30px; display: block; margin: 13px 0 25px; top: 0; }
.with-aspro { display: inline-flex; align-items: center; gap: 6px; }
.badge--logo { display: inline-flex; align-items: center; gap: 6px; }

/* === Адаптив футера: финальные правила (должны идти последними) === */
.footer__grid > * { min-width: 0; }
.footer__grid a, .footer__grid li, .footer__contact { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .footer__about, .footer__contacts { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer__about, .footer__contacts { grid-column: 1 / -1; }
  .footer__about p { max-width: none; }
}
@media (max-width: 360px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}
/* блик анимированного фона не должен выходить за блок */
.calc__result { overflow: hidden; isolation: isolate; }
/* на мобильных блок не «прилипает», но должен оставаться опорой для блика */
.calc__result { position: relative; }
@media (min-width: 1101px) { .calc__result { position: sticky; } }

/* раздел «Поддержка»: из чего складывается */
.sup-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sup-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.sup-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 36px -26px rgba(31,94,255,.5); }
.sup-tile b { font-size: 17px; }
.sup-tile > span:last-child { color: var(--muted); font-size: 14px; }
.sup-tile__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; }
.sup-tile__ic .ic { width: 22px; height: 22px; }
.sup-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 1000px) { .sup-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sup-tiles { grid-template-columns: minmax(0, 1fr); } }
/* 6 карточек «болей» — ровная сетка 3×2 */
@media (min-width: 1001px) { .pains:has(> .pain:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== Статьи ===== */
.art-head { max-width: 860px; margin-top: 24px; }
.art-head h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 10px 0 14px; }
.article__meta { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.art-body { max-width: 780px; font-size: 17px; line-height: 1.7; }
.art-body h2 { font-size: 26px; margin: 44px 0 14px; scroll-margin-top: 100px; }
.art-body h2:first-child { margin-top: 0; }
.art-body ul { padding-left: 20px; } .art-body li { margin: 8px 0; }
.art-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.art-steps { list-style: none; counter-reset: st; padding: 0; margin: 18px 0; }
.art-steps li { counter-increment: st; position: relative; padding: 0 0 18px 56px; border-left: 2px solid var(--line); margin-left: 18px; }
.art-steps li:last-child { border-left-color: transparent; }
.art-steps li::before { content: counter(st); position: absolute; left: -19px; top: -4px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.art-steps b { display: block; font-size: 17px; margin-bottom: 4px; } .art-steps p { margin: 0; color: var(--ink-2); }
.art-note { border-radius: 14px; padding: 16px 20px; margin: 22px 0; background: var(--sky); border-left: 4px solid var(--accent); }
.art-note--warn { background: #fff6e8; border-left-color: #f59e0b; }
.art-note b { display: block; margin-bottom: 4px; } .art-note p { margin: 0; }
.art-table { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 14px; }
.art-table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.art-table th, .art-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.art-table th { background: var(--sky); font-weight: 700; } .art-table tr:last-child td { border-bottom: 0; }
.art-code { background: #0f1b3d; color: #e3ebff; border-radius: 12px; padding: 14px 18px; overflow-x: auto; font-size: 14px; margin: 14px 0; }
.art-cta { margin-top: 40px; }
.art-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.art-aside__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 14px; }
.art-aside__box b { display: block; margin-bottom: 10px; font-size: 15px; }
.art-aside__box ol, .art-aside__box ul { margin: 0; padding-left: 18px; } .art-aside__box li { margin: 6px 0; }
.art-aside__box a { color: var(--ink-2); } .art-aside__box a:hover { color: var(--accent); }
@media (max-width: 1000px) { .art-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } .art-aside { position: static; } .art-body { font-size: 16px; } }
.s-hero--article { padding-bottom: 8px; }
.s-hero--article + .section { padding-top: 32px; }
.sup-tile--static:hover { transform: none; border-color: var(--line); box-shadow: none; }
@media (min-width: 1001px) { .sup-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
