/* torg.itlogin.ru — общие стили */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #22211f;
  --ink-2: #45433f;
  --muted: #6d6a65;
  --line: #e6e2dc;
  --line-2: #d6d1c9;
  --bg: #ffffff;
  --bg-soft: #f6f4f0;
  --bg-warm: #fffbe0;
  --yellow: #ffe000;
  --yellow-hover: #f5d400;
  --red: #e31e24;
  --dark: #2b2a29;
  --ok: #1f8a4c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(34, 33, 31, .04), 0 8px 24px rgba(34, 33, 31, .06);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.btn--primary:hover { background: var(--yellow-hover); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.header__logo img { height: 40px; width: auto; }
.header__tag { font-size: 12px; line-height: 1.25; color: var(--muted); font-weight: 600; border-left: 1px solid var(--line-2); padding-left: 12px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 10px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }
.header__phone { font-weight: 800; text-decoration: none; white-space: nowrap; font-size: 15px; }
.header__cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 12px; background: var(--bg-soft); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.header.is-open .burger span { background: transparent; }
.header.is-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.header.is-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) {
  .header__phone { display: none; }
}
@media (max-width: 1100px) {
  :root { --header-h: 64px; }
  .header__logo img { height: 34px; }
  .burger { display: inline-flex; }
  .header__cta { display: none; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(0,0,0,.06); }
  .header.is-open .nav { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:hover { background: none; }
  .nav .nav__mobile { display: block; }
  .nav .nav__phone { border-bottom: 0; font-weight: 800; color: var(--ink); }
}
@media (min-width: 1101px) { .nav .nav__mobile { display: none; } }
@media (max-width: 420px) { .header__tag { display: none; } }

/* ---------- Секции ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 44px; }
.section__head > div { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.h2 { font-size: clamp(28px, 3.6vw, 42px); }
.h3 { font-size: 22px; letter-spacing: -0.01em; }
.lead { margin-top: 16px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }
.note { font-size: 14px; color: var(--muted); }
.mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 90%, transparent 90%); padding: 0 .06em; }
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .section__head { margin-bottom: 28px; }
}

/* ---------- Первый экран ---------- */
.hero { padding: 56px 0 80px; background: radial-gradient(1200px 520px at 85% 0%, var(--bg-warm), transparent 60%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -0.03em; }
.hero__lead { margin-top: 22px; max-width: 580px; font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__points { display: grid; gap: 10px; margin-top: 36px; }
.hero__points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.hero__points svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 900px) {
  .hero { padding: 32px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__art { max-width: 520px; margin: 0 auto; order: 2; }
}
@media (max-width: 520px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Карточки и сетки ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.section--soft .card { border-color: transparent; box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-soft); display: grid; place-items: center; flex: none; }
.section--soft .card__icon { background: var(--bg-warm); }
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.card__text { color: var(--ink-2); }
.card__foot { margin-top: auto; padding-top: 8px; }
a.card { text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.section--soft a.card:hover { box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 16px 32px rgba(0,0,0,.08); }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.card__more svg { width: 16px; height: 16px; transition: transform .15s; }
a.card:hover .card__more svg { transform: translateX(3px); }
@media (max-width: 640px) { .card { padding: 22px; } }

/* Программы 1С */
.prog { gap: 10px; }
.prog__top { display: flex; align-items: center; gap: 14px; }
.prog__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--dark); color: var(--yellow); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; flex: none; }
.prog__for { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.prog__price { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.prog__price b { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.prog__price span { font-size: 14px; color: var(--muted); }

/* Оборудование */
.equip { gap: 10px; padding: 22px; }
.equip .card__icon { margin-bottom: 4px; }
.equip .card__title { font-size: 17px; }
.equip .card__text { font-size: 14px; line-height: 1.45; color: var(--muted); }
.equip__band { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 26px; border-radius: var(--radius); background: var(--bg-warm); }
.equip__band p { font-weight: 600; max-width: 720px; }

/* Чипы */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; line-height: 1.35; }
.chip svg { flex: none; }
.section--soft .chip { border-color: transparent; }
.chip svg { width: 16px; height: 16px; }

/* ---------- Тёмная секция (маркировка) ---------- */
.dark { background: var(--dark); color: #f3f1ec; }
.dark .eyebrow { color: #b9b4ab; }
.dark .lead { color: #d4d0c8; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 10px; background: var(--yellow); color: var(--ink); font-weight: 800; }
.step h3 { font-size: 18px; letter-spacing: -0.01em; }
.step p { margin-top: 8px; font-size: 15px; color: #cfcac1; }
.dark .split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.dark .panel { padding: 28px; border-radius: var(--radius); background: #fff; color: var(--ink); }
.dark .panel--outline { background: transparent; color: #f3f1ec; border: 1px solid rgba(255,255,255,.14); }
.dark .panel--outline .card__text { color: #d4d0c8; }
.ticks { display: grid; gap: 10px; margin-top: 14px; align-content: start; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2322211f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks--sm li { font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dark .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Мобильный склад ---------- */
.ms { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.ms__lead { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--radius); background: var(--bg-soft); }
.ms__lead .chips { margin-top: 4px; }
.ms__options { display: grid; gap: 20px; }
.opt { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: grid; gap: 12px; }
.opt__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.opt__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.opt--accent { border: 2px solid var(--ink); }
.opt__price { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--ink-2); }
.opt__price b { color: var(--ink); font-weight: 800; }
.opt__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.opt__family { font-size: 14px; color: var(--muted); }
.opt__family a { color: var(--ink-2); font-weight: 600; }
@media (max-width: 900px) { .ms { grid-template-columns: 1fr; } .ms__lead, .opt { padding: 24px; } }

/* ---------- Процесс ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.process__item { padding: 24px 24px 0 0; }
.process__num { font-size: 14px; font-weight: 800; color: var(--muted); }
.process__item h3 { margin-top: 10px; font-size: 19px; letter-spacing: -0.01em; }
.process__item p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Форма ---------- */
.lead-box { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }
.form-card { padding: 36px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 26px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field label .req { color: var(--red); }
.input { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
textarea.input { min-height: 104px; resize: vertical; }
select.input { padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2322211f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/18px no-repeat; }
.input:hover { border-color: #b9b3a9; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 224, 0, .45); }
.input.is-invalid { border-color: var(--red); }
.field__error { font-size: 13px; color: var(--red); min-height: 0; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent a { color: var(--ink-2); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.form__status { font-size: 15px; font-weight: 600; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: none; padding: 28px; margin-top: 26px; border-radius: var(--radius-sm); background: var(--bg-warm); }
.form-card.is-sent .form { display: none; }
.form-card.is-sent .form-done { display: block; }

.contacts { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; padding: 36px; border-radius: var(--radius); background: var(--dark); color: #f3f1ec; display: flex; flex-direction: column; gap: 22px; }
.contacts h3 { font-size: 22px; }
.contacts__group { display: grid; gap: 4px; }
.contacts__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a9a49b; }
.contacts a { color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.contacts a:hover { color: var(--yellow); }
.contacts p { color: #d4d0c8; }
@media (max-width: 900px) { .lead-box { grid-template-columns: 1fr; } .contacts { position: static; } }
@media (max-width: 640px) {
  .form-card, .contacts { padding: 24px; }
  .form { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
}

/* ---------- Подвал ---------- */
.footer { padding: 56px 0 36px; background: var(--bg-soft); border-top: 1px solid var(--line); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin-top: 14px; color: var(--ink-2); max-width: 380px; }
.footer__title { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer__list { display: grid; gap: 8px; }
.footer__list a { text-decoration: none; color: var(--ink-2); }
.footer__list a:hover { color: var(--ink); text-decoration: underline; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: var(--muted); }
.footer__bottom a { color: var(--muted); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* =========================================================
   Страница DataMobile
   ========================================================= */
.crumbs { padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin: 0 6px; }

.dm-hero { padding: 28px 0 64px; background: radial-gradient(900px 480px at 90% 10%, #f1ecf8, transparent 62%), var(--bg); }
.dm-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.dm-hero__logo { height: 34px; width: auto; margin-bottom: 20px; }
.dm-hero__art { position: relative; display: grid; place-items: center; }
.dm-hero__art img { width: min(420px, 100%); height: auto; mix-blend-mode: multiply; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--bg-soft); font-size: 14px; font-weight: 700; }
.badge svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .dm-hero__grid { grid-template-columns: 1fr; } .dm-hero__art img { width: min(300px, 80%); } }

.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.subnav__list a:hover, .subnav__list a.is-active { background: var(--dark); color: #fff; }
html.has-subnav { scroll-padding-top: calc(var(--header-h) + 72px); }

/* Карточка продукта */
.product { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.section--soft .product { border-color: transparent; box-shadow: var(--shadow); }
.product__media img { width: 200px; height: auto; }
.product__body { display: grid; gap: 12px; align-content: start; }
.product__kicker { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--bg-soft); color: var(--ink-2); }
.tag--online { background: #e9f6ee; color: #17663a; }
.tag--offline { background: #eef1f6; color: #34496b; }
.tag--module { background: var(--bg-warm); color: #6b5a00; }
.product__name { font-size: 24px; letter-spacing: -0.015em; }
.product__lead { color: var(--ink-2); }
.product__cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; margin-top: 6px; }
.product__note { font-size: 14px; color: var(--muted); }
.product--compact { grid-template-columns: 140px minmax(0, 1fr); padding: 26px; }
.product--compact .product__media img { width: 140px; }
.product + .product { margin-top: 20px; }
.product-pair { display: grid; gap: 20px; }
@media (max-width: 900px) { .product__cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .product, .product--compact { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
  .product__media img, .product--compact .product__media img { width: 150px; }
}

/* Таблица цен */
.prices { width: 100%; border-collapse: collapse; font-size: 15px; }
.prices caption { text-align: left; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.prices th, .prices td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.prices th { font-weight: 600; color: var(--ink-2); }
.prices td { text-align: right; font-weight: 800; white-space: nowrap; padding-left: 12px; }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: 0; }
.prices .sub { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }

/* Сравнение версий */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { position: sticky; top: 0; background: var(--dark); color: #fff; font-weight: 800; font-size: 14px; }
.compare thead th:first-child { text-align: left; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink-2); }
.compare .group th { background: var(--bg-soft); color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.yes, .no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.yes { background: var(--yellow); }
.yes::after { content: ""; width: 12px; height: 7px; border-left: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.no::after { content: ""; width: 10px; height: 2px; background: var(--line-2); border-radius: 2px; }

/* Задачи */
.tasks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.task { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.task svg { width: 28px; height: 28px; margin-bottom: 14px; }
.task h3 { font-size: 17px; letter-spacing: -0.01em; }
.task p { margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 1024px) { .tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tasks { grid-template-columns: 1fr; } }

/* Лицензии */
.lic { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .lic { grid-template-columns: 1fr; } }

.family-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin: 56px 0 20px; }
.family-head:first-child { margin-top: 0; }
.family-head h3 { font-size: clamp(22px, 2.4vw, 28px); }
.family-head p { color: var(--muted); max-width: 640px; }

.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brands span { padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 800; letter-spacing: -0.01em; }

.disclaimer { margin-top: 28px; font-size: 13px; color: var(--muted); max-width: 900px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
