/* Вариант 2 — стили страницы поверх системы Taste Skill: только то, что живёт внутри визуалов
   (коллаж, схема), и компоненты продукта, которых нет в наборе (калькулятор, цепочка, форма заявки). */

/* Коллаж героя: фрагменты сервиса из фактов */
.ly-piece.pc-win, .ly-piece.pc-chips, .ly-piece.pc-big, .ly-piece.pc-days, .ly-piece.pc-price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 20px); padding: 20px 22px;
  box-shadow: 0 1px 0 rgba(6, 82, 92, .04), 0 24px 48px -32px rgba(6, 82, 92, .35); color: var(--p-ink);
}
.pc-head { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 17px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.pc-dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d6b; box-shadow: 0 0 0 4px rgba(31, 157, 107, .15); }
.pc-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.pc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pc-row em { font-style: normal; font-family: var(--font-mono); font-size: 13px; color: var(--p-muted); white-space: nowrap; }
.pc-lbl { display: block; font-size: 13px; font-weight: 500; color: var(--p-muted); margin-bottom: 8px; }
.pc-big strong { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 34px; line-height: 1; letter-spacing: -.03em; }
.pc-big small { display: block; font-size: 14px; color: var(--p-muted); margin-top: 6px; }
.pc-chips div { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chips i { font-style: normal; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--p-surface); }
.pc-ticks { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin: 6px 0 12px; }
.pc-ticks i { height: 28px; border-radius: 4px; background: var(--p-ink); opacity: .18; }
.pc-ticks i:last-child { opacity: 1; }
.pc-days p { font-size: 15px; margin: 0; }
.pc-price strong { display: block; font-size: 36px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.pc-price small { display: block; font-size: 14px; color: var(--p-muted); margin: 6px 0 10px; }
.pc-price .pc-row { border-top: 1px solid var(--line); border-bottom: 0; padding-top: 12px; }

/* Меню «Сервис» */
.menu-fact { display: grid; place-items: center; min-height: 120px; background: var(--p-surface); }
.menu-fact span { font-family: var(--font-mono); font-size: 32px; font-weight: 500; letter-spacing: -.02em; color: var(--p-ink); }

/* Конфигурации */
#configs .rows__value { color: var(--p-muted); font-size: 15px; }
.cfg-marquee { overflow: clip; margin-top: var(--s-8, 48px); font-family: var(--font-mono); font-size: 20px; color: var(--p-ink); }
.cfg-marquee.is-live li { white-space: nowrap; }
.cfg-note { margin-top: var(--s-6, 32px); max-width: 62ch; color: var(--p-ink); }

/* Доступ: список и схема */
.access-grid, .data-grid, .move-grid, .lead-grid { align-items: start; }
.access-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.access-item:first-child { padding-top: 0; }
.access-item h3 { font-size: var(--t-card); font-weight: 500; margin: 0 0 4px; }
.access-item p { margin: 0; color: var(--p-muted); }
.hub { position: relative; margin: 0; aspect-ratio: 640 / 460; background: var(--p-bg); border: 1px solid var(--line); border-radius: var(--r-lg, 20px); }
.hub > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines path { fill: none; stroke: var(--p-ink); stroke-opacity: .28; stroke-width: 1.5; stroke-dasharray: 4 6; }
.hub-pulses circle { fill: var(--p-ink); }
.hub-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; background: var(--p-ink); color: var(--p-bg); padding: 18px 24px; border-radius: 16px; min-width: 200px; }
.hub-center .pc-lbl { color: var(--p-inv-muted); margin-bottom: 4px; font-family: var(--font-mono); }
.hub-center strong { font-size: 20px; font-weight: 500; }
.hub-node { position: absolute; transform: translate(-50%, -50%); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; white-space: nowrap; }
/* на паузе и при reduced motion импульсы прячутся, линии становятся сплошными — схема читается без движения */
.hub.is-paused .hub-pulses { opacity: 0; }
.hub.is-paused .hub-lines path { stroke-dasharray: none; stroke-opacity: .35; }
.hub-pulses { transition: opacity var(--dur) var(--ease); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6, 32px); margin: var(--s-8, 48px) 0 0; }
.specs dt { font-size: 13px; font-weight: 500; color: var(--p-muted); margin-bottom: 6px; }
.specs dd { margin: 0; }

/* Калькулятор */
.calc { align-items: stretch; }
.calc-controls { display: grid; gap: var(--s-7, 40px); align-content: start; }
.calc-label { display: block; font-size: 13px; font-weight: 500; color: var(--p-ink); margin: 0 0 12px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--p-bg); border: 1px solid var(--line); }
.stepper button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--p-surface); color: var(--p-ink); font: 500 22px/1 var(--font-text); cursor: pointer; transition: background-color var(--dur) ease, transform 100ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .stepper button:hover { background: #dde6e3; } }
.stepper button:active { transform: scale(.94); }
.stepper button:disabled { opacity: .4; cursor: default; transform: none; }
.stepper output { min-width: 64px; text-align: center; font: 500 28px/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--p-bg); border: 1px solid var(--line); width: fit-content; }
.seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--p-ink); font: 500 15px/1 var(--font-text); cursor: pointer; transition: background-color var(--dur) ease, color var(--dur) ease; }
.seg button small { font-family: var(--font-mono); font-size: 13px; color: #1f7a57; }
.seg button[aria-checked="true"] { background: var(--p-ink); color: var(--p-bg); }
.seg button[aria-checked="true"] small { color: #a8e6cb; }
.calc-incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.calc-incl li { padding-left: 28px; position: relative; }
.calc-incl li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--p-ink); border-bottom: 2px solid var(--p-ink); transform: rotate(-45deg); }
.calc-result { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 20px); padding: 40px; display: flex; flex-direction: column; }
.calc-sum { margin: 0; font-weight: 500; font-size: clamp(36px, 3vw, 44px); line-height: 1; letter-spacing: -.04em; }
.calc-sum span { font-size: 20px; letter-spacing: 0; color: var(--p-muted); }
.calc-sum b { font-weight: 500; display: inline-block; }
.calc-sub { margin: 12px 0 0; color: var(--p-ink); font-size: 16px; }
.calc-vs { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-vs p { margin: 0; display: grid; gap: 4px; }
.calc-vs span { font-size: 13px; color: var(--p-ink); }
.calc-vs b { font-weight: 500; font-family: var(--font-mono); font-size: 18px; }
.calc-note { margin: 20px 0 28px; font-size: 14px; color: var(--p-muted); }
.calc-result .btn { margin-top: auto; align-self: flex-start; }

/* Данные: цепочка защиты на инверсном фоне */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.chain-k { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--p-inv-muted); margin-bottom: 12px; }
.chain h3 { font-size: var(--t-card); font-weight: 500; margin: 0 0 8px; }
.chain p { margin: 0; color: var(--p-inv-ink); }
.data-visual { display: grid; gap: 16px; padding: 32px; background: var(--p-inv-surface); border-radius: var(--r-lg, 20px); height: auto; }
.data-visual .pc-days, .data-visual .pc-big { background: var(--p-bg); color: var(--p-ink); border-radius: var(--r-md, 12px); padding: 20px 22px; }
.data-visual__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Переезд */
.move-text .t-lead { margin: 0; max-width: 34ch; }
.support-box { margin-top: var(--s-8, 48px); }
.support-box .t-stat { margin: 0 0 8px; font-family: var(--font-mono); }
.support-box p:last-child { margin: 0; max-width: 46ch; }
.move-visual { display: grid; place-items: center; padding: 32px; background: var(--p-surface); border-radius: var(--r-lg, 20px); height: auto; }

/* Вопросы в две колонки */
.faq--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.faq--cols > .faq__item:nth-child(2) { padding-top: 0; }
.faq__item p { margin: 0; color: var(--p-muted); }

/* Заявка */
.lead-text { font-size: var(--t-lead); margin: 16px 0 0; }
.lead-contacts { margin: 40px 0 0; display: grid; gap: 20px; }
.lead-contacts dt { font-size: 13px; font-weight: 500; color: var(--p-muted); }
.lead-contacts dd { margin: 4px 0 0; font-size: 20px; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4, 16px); align-content: start;
  --error: color-mix(in oklab, #d92d20 72%, var(--ink)); }
.lead-form > :is(.field--full, .btn-row, p) { grid-column: 1 / -1; }
.lead-form .phone { position: relative; }
.lead-form .phone input { width: 100%; }
.flags { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; pointer-events: none; }
.flags img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.phone-hint { margin: 0; font-size: 13px; font-weight: 400; color: var(--p-muted); min-height: 18px; }
[data-phone-state="valid"] .phone-hint { color: #1f7a57; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--p-muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--p-ink); flex: none; }
.lead-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form[data-state="success"] .form__status { color: #1f7a57; font-weight: 500; }
.lead-form[data-state="error"] .form__status { color: var(--error); }
.lead-form .btn-row .btn { width: 100%; }

@media (max-width: 1023px) {
  .access-grid > *, .data-grid > *, .move-grid > *, .calc > *, .lead-grid > * { grid-column: 1 / -1; }
  .nav__actions > .nav__link { display: none; }
}
@media (max-width: 639px) {
  .faq--cols, .calc-vs, .lead-form, .chain, .data-visual__row { grid-template-columns: minmax(0, 1fr); }
  .faq--cols > .faq__item:nth-child(2) { padding-top: var(--s-5, 24px); }
  .calc-result, .data-visual, .move-visual { padding: 20px; }
  .hub-node { font-size: 13px; padding: 6px 10px; }
  .hub-center { min-width: 0; padding: 12px 14px; }
  .hub-center strong { font-size: 16px; }
  .seg { width: 100%; }
  .seg button { flex: 1 1 40%; justify-content: center; padding: 0 10px; }
  .calc-result .btn { align-self: stretch; }
}

/* Заявка: форма на панели */
.lead-form.panel { padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 20px); height: auto; }
@media (max-width: 639px) { .lead-form.panel { padding: 20px; } }

/* Финальное слово набора: Geist выше строки .86 — даём место, чтобы «1» не обрезалась */
.close__word { line-height: 1.02; }
@media (max-width: 639px) {
  .calc-sum { font-size: 28px; }
  /* телефон: один экран на раздел — дублирующиеся пояснения уходят (они есть в схеме, чек-листе и вопросах) */
  #configs .rows__value, #configs .cfg-marquee, #configs .cfg-note, .access-item p, .move-text .t-lead { display: none; }
  .access-item { padding: 10px 0; }
  .support-box { margin-top: 0; }
}

/* Аудит Impeccable: контраст (WCAG AA) */
.calc-sum span, .calc-note { color: var(--p-ink); }
.footer--statement .footer__legal, .footer--statement .footer__legal a, .footer--statement .footer__col h3 { color: color-mix(in oklab, var(--ink) 88%, transparent); }
.move-visual { --fx-muted: #3d5a52; }

/* Коллаж уже 1024: карточки сохраняют размер, а коллаж ниже — оставляем в каждом наборе главную карточку, без наложений */
@media (max-width: 1023px) {
  .ly-collage .ly-piece:not(:first-child) { display: none; }
  .ly-collage .ly-piece:first-child { left: 0 !important; top: 0 !important; width: 100% !important; }
}
@media (max-width: 639px) { .seg { border-radius: var(--r-lg, 20px); } .seg button { border-radius: var(--r-md, 12px); } }

/* ---- Обновление 2026-12-01: факты поставщика и иллюстрации ---- */
.ly-piece.pc-img { border-radius: var(--r-lg, 20px); overflow: hidden; background: var(--p-bg); border: 1px solid var(--line); }
.ly-piece.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
#configs .rows__name small { display: block; font-size: 14px; font-weight: 400; color: var(--p-muted); margin-top: 2px; }
#configs .rows__value { font-family: var(--font-mono); color: var(--p-ink); font-size: 16px; white-space: nowrap; }
.calc-field { display: block; }
.calc-select { width: 100%; max-width: 460px; height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--line-strong, var(--line)); border-radius: var(--r-sm, 8px);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2306525c' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
  appearance: none; font: 400 16px/1 var(--font-text); color: var(--p-ink); cursor: pointer; }
.calc-select:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.calc-result .calc-incl { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.access-hw { margin: 24px 0 0; color: var(--p-ink); }
.move-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.move-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.move-steps h3 { font-size: var(--t-card); font-weight: 500; margin: 6px 0 4px; }
.move-steps p { margin: 0; color: var(--p-muted); }
.steps-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--p-ink); color: var(--p-bg); font: 500 16px/1 var(--font-mono); }
.move-visual { padding: 0; overflow: hidden; display: block; }
@media (max-width: 639px) {
  .lead-img { display: none; }
  #configs .rows__name small { display: none; }
  .move-steps p { display: none; }
}

/* ---- Иллюстрации без подложки (2026-12-01, второй подход) ----
   Рисунок лежит прямо на фоне раздела: прозрачный PNG→WebP, поля срезаны, без рамок и кадрирования. */
.data-visual { display: grid; gap: 32px; padding: 0; background: none; border-radius: 0; align-content: start; }
.data-art { width: 100%; height: auto; display: block; }
.data-visual .pc-days { background: var(--p-bg); color: var(--p-ink); border-radius: var(--r-md, 12px); padding: 20px 22px; }
.move-visual { display: flex; justify-content: center; align-items: flex-start; padding: 0; background: none; border: 0; overflow: visible; }
.move-art { width: 100%; max-width: 520px; height: auto; display: block; }
@media (max-width: 1023px) { .move-art { max-width: 420px; } .data-visual { gap: 24px; } }

/* ---- Страницы программ (2026-12-01) ---- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--p-muted); }
.crumbs a { color: var(--p-ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { border-bottom-color: currentColor; }
.hero-price { font-size: var(--t-lead); color: var(--p-ink); }
.hero-price b { font-family: var(--font-display); font-weight: 500; font-size: 1.5em; letter-spacing: -.02em; }
.prog-visual { display: flex; align-items: center; justify-content: center; }
.prog-card { width: 100%; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 20px); padding: 24px 28px;
  box-shadow: 0 1px 0 rgba(6, 82, 92, .04), 0 24px 48px -32px rgba(6, 82, 92, .35); }
.prog-card .pc-row { font-size: 16px; padding: 14px 0; }
.feat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.feat-grid h3 { font-size: var(--t-card); font-weight: 500; margin: 0 0 8px; }
.feat-grid p { margin: 0; color: var(--p-muted); }
.related-rows a.rows__name { color: var(--p-ink); text-decoration: none; font-weight: 500; }
.related-rows a.rows__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.related-rows .rows__value { font-family: var(--font-mono); }
#configs a.rows__name { color: inherit; text-decoration: none; }
#configs a.rows__name:hover .cfg-link { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .prog-card { padding: 16px 18px; } }
.lead-related { margin-top: 48px; }
.lead-related h3 { font-size: 13px; font-weight: 500; color: var(--p-muted); margin: 0 0 8px; }
@media (max-width: 639px) { .prog-visual { display: none; } }

/* ---- Внутренние страницы: каталог, цены, «в облаке», сервер, ERP (2026-12-01) ---- */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.cat-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--p-surface);
  color: var(--p-ink); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color var(--dur) ease; }
@media (hover: hover) and (pointer: fine) { .cat-chips a:hover { background: #dce4e1; } }
.cat-block { margin-top: 48px; scroll-margin-top: 96px; }
.cat-block:first-of-type { margin-top: 0; }
.cat-block h3, .sub-h, .extras h3 { font-size: var(--t-card); font-weight: 500; margin: 0 0 16px; }
.cat-rows .rows__name small, .price-rows .rows__name small { display: block; font-size: 14px; font-weight: 400; color: var(--p-muted); margin-top: 2px; }
.cat-rows .rows__value, .price-rows .rows__value, .extra-rows .rows__value { font-family: var(--font-mono); white-space: nowrap; }
.cat-rows a.rows__name { color: inherit; text-decoration: none; }
.cat-rows a.rows__name:hover .cfg-link { text-decoration: underline; text-underline-offset: 4px; }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.shift { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.shift li { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.shift li:first-child { border-top: 1px solid var(--line); }
.shift-was { margin: 0; color: var(--p-muted); text-decoration: line-through; text-decoration-color: rgba(6, 82, 92, .35); }
.shift-arrow { color: var(--p-ink); font-size: 20px; text-align: center; }
.shift-now { margin: 0; font-size: var(--t-card); color: var(--p-ink); font-weight: 500; }
.tariffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tariff { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 20px); padding: 32px; display: flex; flex-direction: column; }
.tariff--mid { border: 2px solid var(--p-ink); }
.tariff h3 { font-size: var(--t-card); font-weight: 500; margin: 0; }
.tariff-price { margin: 12px 0 24px; font-size: 18px; color: var(--p-muted); }
.tariff-price b { display: block; font-size: 36px; font-weight: 500; letter-spacing: -.03em; color: var(--p-ink); line-height: 1.1; }
.tariff-price span { display: block; font-size: 14px; }
.tariff dl { margin: 0 0 28px; flex: 1; }
.tariff dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.tariff dt { color: var(--p-muted); }
.tariff dd { margin: 0; font-family: var(--font-mono); font-size: 14px; color: var(--p-ink); }
.tariff .btn { align-self: stretch; }
.tariff-note { margin: 32px 0 0; max-width: 70ch; }
.service-grid { align-items: start; }
.service-facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps-row h3 { font-size: var(--t-card); font-weight: 500; margin: 20px 0 6px; }
.steps-row p { margin: 0; color: var(--p-muted); }
@media (max-width: 1023px) {
  .tariffs, .steps-row { grid-template-columns: minmax(0, 1fr); }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .service-grid > * { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .shift li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .shift-arrow { display: none; }
  .cat-rows .rows__name small, .price-rows .rows__name small { display: none; }
  .tariff { padding: 22px; }
}

/* ---- Фреш, сервисы 1С, услуги (2026-12-01) ---- */
.steps-row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps-row--5 h3 { font-size: 17px; }
.feat-price { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 15px; color: var(--p-ink); }
.cat-chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--p-surface); font-size: 15px; }
.tariff .calc-incl { margin: 0 0 28px; flex: 1; font-size: 15px; }
.tariff-sub { margin: -16px 0 24px; font-size: 14px; color: var(--p-muted); }
.svc-block + .svc-block { margin-top: 72px; }
.svc-block > p { max-width: 70ch; }
@media (max-width: 1023px) { .steps-row--5 { grid-template-columns: minmax(0, 1fr); } }
/* Секции на широких экранах: не меньше экрана, но растут, если содержимое не помещается (как делает набор на 640–1279).
   Иначе длинный список заезжал на следующую секцию: /info/ и цены при ≥1280, ещё 6 страниц на 1280×720 (найдено 2026-12-01). */
@media (min-width: 1280px) {
  :where(main > :is(section, .section):not(.hero, .section--hero)) { display: flex; flex-direction: column; }
  main > :is(section, .section):not(.hero, .section--hero) { height: auto; min-height: 100vh; min-height: 100svh; }
  main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container) { flex: 1 0 auto; height: auto; min-height: 0; }
}
@media (max-width: 639px) {
  .price-rows .rows__value, .extra-rows .rows__value { white-space: normal; text-align: right; max-width: 45%; }
  .price-rows .rows__name, .extra-rows .rows__name { min-width: 0; }
}
