

/* Start:/local/templates/grosio/static-page.css?178747708326622*/
/* ============================================================
   static-page.css — общие стили для статичных контент-страниц:
   Доставка, Оплата, Пользовательское соглашение, Политика
   конфиденциальности, 404. Подключается после shared/styles.css.
   ============================================================ */

/* ---------- Обёртка страницы ---------- */
.sp-wrap {
  padding: 0 32px;
  margin-top: 8px;
}

/* ---------- Две колонки: контент + сайдбар-TOC ---------- */
.sp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 50px;
  align-items: start;
  margin-top: 28px;
}

/* ---------- Основная колонка (проза) ---------- */
.sp-main {
  font-family: var(--ro);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
}
.sp-main .lead {
  font-family: var(--ro);
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.sp-main p {
  margin: 0 0 16px;
  text-wrap: pretty;
}
.sp-main li { text-wrap: pretty; }
.sp-main h2 {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 27px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin: 40px 0 14px;
  scroll-margin-top: 140px;
  text-wrap: balance;
}
.sp-main h2:first-child { margin-top: 0; }
.sp-main h3 {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 24px 0 10px;
  text-wrap: balance;
}
.sp-main a:not(.btn) {
  color: var(--bs-primary);
  text-decoration: underline;
  text-decoration-color: var(--bs-border-color);
  text-underline-offset: 3px;
  transition: text-decoration-color .15s ease;
}
.sp-main a:not(.btn):hover { text-decoration-color: var(--bs-primary); }
.sp-main strong { color: var(--text); font-weight: 500; }

/* Списки */
.sp-main ul, .sp-main ol {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.sp-main ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.sp-main ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--bs-warning);
}
.sp-main ol { counter-reset: li; }
.sp-main ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  counter-increment: li;
}
.sp-main ol li::before {
  content: counter(li) '.';
  position: absolute;
  left: 0; top: 0;
  font-family: var(--rc);
  font-weight: 500;
  color: var(--bs-primary);
  min-width: 24px;
}

/* Мета-полоса под заголовком (дата актуализации, N минут чтения) */
.sp-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--rc);
  font-size: 15px;
  color: var(--bs-secondary-color);
  margin: 8px 32px 0;
}
.sp-meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--bs-tertiary-color);
}

/* ---------- Info-callout (жёлто-бежевая плашка c иконкой) ---------- */
.sp-callout {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--bs-tertiary-bg);
  border-radius: var(--g-radius-card);
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.sp-callout .ico { color: var(--bs-primary); margin-top: 2px; }
.sp-callout .ttl {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 4px;
}
.sp-callout .txt {
  font-family: var(--ro);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}

/* ---------- Карточки фактов (3 в ряд) ---------- */
.sp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.sp-cards .c {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--g-radius-card);
}
.sp-cards .num {
  font-family: var(--rc);
  font-weight: 700;
  font-size: 31px;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.sp-cards .num .u {
  font-size: 18px;
  font-weight: 500;
  color: var(--bs-secondary-color);
  margin-left: 2px;
}
.sp-cards .lbl {
  font-family: var(--ro);
  font-size: 14px;
  line-height: 1.4;
  color: var(--bs-secondary-color);
  text-wrap: pretty;
}

/* ---------- Обычная таблица (цены, сроки) ---------- */
.sp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-family: var(--rc);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--g-radius-card);
  overflow: hidden;
}
/* Единый канон заголовков таблиц: типографика явными токенами, без фона —
   отделяет только border-bottom. */
.sp-table thead th {
  /* Спокойный канон — без uppercase/letter-spacing, тише текста (клиент 2026-07-08). */
  text-align: left;
  font: 500 13px/1.2 var(--rc);
  color: var(--bs-tertiary-color);
  padding: 14px 18px;
  border-bottom: 1px solid var(--bs-border-color);
}
.sp-table tbody td {
  padding: 14px 18px;
  border-top: 1px solid var(--bs-border-color);
  vertical-align: top;
}
.sp-table tbody tr:first-child td { border-top: none; }
.sp-table tbody td strong {
  font-weight: 500;
  color: var(--text);
}
.sp-table .num { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 500; }

/* ---------- Сайдбар-TOC ---------- */
.sp-aside {
  position: sticky;
  top: 160px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sp-aside-block {
  background: var(--bs-tertiary-bg);
  border-radius: var(--g-radius-card);
  padding: 30px 28px;
}
.sp-aside-block h3 {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  margin: 0 0 18px;
}
.sp-toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sp-toc a {
  display: block;
  padding: 12px 16px;
  font-family: var(--rc);
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 var(--bs-border-radius-sm) var(--bs-border-radius-sm) 0;
  transition: background .15s ease, color .15s ease, border-left-color .15s ease;
}
.sp-toc a:hover {
  background: #fff;
  color: var(--text);
  border-left-color: var(--bs-border-color);
}
.sp-toc a.active {
  background: #fff;
  color: var(--text);
  border-left-color: var(--bs-primary);
  font-weight: 500;
}

/* Сайдбар: контактный блок */
.sp-contact .row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.sp-contact .row .ico {
  width: 36px; height: 36px;
  border-radius: var(--bs-border-radius-sm);
  background: #fff;
  border: 1px solid var(--bs-border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}
.sp-contact .row .lbl {
  font-family: var(--rc);
  font-size: 13px;
  color: var(--bs-tertiary-color);
  letter-spacing: 0.02em;
}
.sp-contact .row .val {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.sp-contact .row a.val {
  text-decoration: none;
  transition: color .15s ease;
}
.sp-contact .row a.val:hover { color: var(--bs-primary); }

/* Связанные ссылки (в сайдбаре или внизу страницы) */
.sp-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sp-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-family: var(--rc);
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--bs-border-radius-lg);
  background: #fff;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}
.sp-links a:hover {
  background: var(--text);
  color: #fff;
}
.sp-links a:hover svg { color: #fff; }
.sp-links a:active { transform: scale(0.96); }
.sp-links a svg { color: var(--bs-tertiary-color); transition: color .15s ease; }

/* ---------- Нижняя «плашка с помощью» (под контентом) ---------- */
.sp-help {
  margin: 64px 0 0;
  padding: 32px 40px;
  background: var(--bs-tertiary-bg);
  border-radius: var(--g-radius-card);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.sp-help h2 {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 6px;
  text-wrap: balance;
}
.sp-help p {
  font-family: var(--ro);
  font-size: 16px;
  line-height: 1.5;
  color: var(--bs-secondary-color);
  margin: 0;
  max-width: 560px;
  text-wrap: pretty;
}
.sp-help .actions {
  display: flex;
  gap: 10px;
}
.sp-help .btn {
  height: 48px;
  padding: 0 22px;
  border-radius: var(--bs-border-radius);
  transition: transform .12s ease;
}
.sp-help .btn:active { transform: scale(0.96); }

/* ============================================================
   Форма обратной связи (feedback) — используется в нижней плашке
   "Остались вопросы?" на статических страницах.
   ============================================================ */
.sp-feedback {
  margin: 56px 0 0;
  background: var(--bs-tertiary-bg);
  border-radius: var(--g-radius-card);
  padding: 32px;
}
.sp-feedback .fb-intro {
  margin-bottom: 22px;
}
.sp-feedback .fb-intro-copy { min-width: 0; }
.sp-feedback .fb-intro h2 {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 6px;
  text-wrap: balance;
}
.sp-feedback .fb-intro p {
  font-family: var(--ro);
  font-size: 16px;
  line-height: 1.5;
  color: var(--bs-secondary-color);
  margin: 0;
  text-wrap: pretty;
}
/* Форма */
.sp-feedback .fb-form {
  background: #fff;
  border-radius: var(--bs-border-radius-lg);
  padding: 28px;
  display: grid;
  gap: 16px;
  min-width: 0;
}
.sp-feedback .fb-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.sp-feedback .fb-row.one { grid-template-columns: 1fr; }

.sp-feedback .fb-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sp-feedback .fb-field label {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-feedback .fb-field label .opt {
  font-family: var(--rc);
  font-weight: 400;
  font-size: 13px;
  color: var(--bs-tertiary-color);
  letter-spacing: 0;
}
.sp-feedback .fb-field label .req { color: var(--bs-danger); }
.sp-feedback .fb-field input,
.sp-feedback .fb-field select,
.sp-feedback .fb-field textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--ro);
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  padding: 12px 14px;
  line-height: 1.35;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sp-feedback .fb-field textarea {
  min-height: 96px;
  resize: vertical;
  font-family: var(--ro);
}
.sp-feedback .fb-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%232D2B2B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}
.sp-feedback .fb-field select::-ms-expand { display: none; }
.sp-feedback .fb-field.err select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23E53324' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.sp-feedback .fb-field input::placeholder,
.sp-feedback .fb-field textarea::placeholder {
  color: var(--bs-tertiary-color);
}
.sp-feedback .fb-field input:hover,
.sp-feedback .fb-field select:hover,
.sp-feedback .fb-field textarea:hover { border-color: #D8D8D8; }
.sp-feedback .fb-field input:focus,
.sp-feedback .fb-field select:focus,
.sp-feedback .fb-field textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(45,43,43,0.08);
}
.sp-feedback .fb-field.err input,
.sp-feedback .fb-field.err select,
.sp-feedback .fb-field.err textarea {
  border-color: var(--bs-danger);
  box-shadow: 0 0 0 3px rgba(var(--bs-danger-rgb), .12);
}
.sp-feedback .fb-field .err-msg {
  font-family: var(--rc);
  font-size: 13px;
  color: var(--bs-danger);
  min-height: 14px;
}
.sp-feedback .fb-field .hint {
  font-family: var(--rc);
  font-size: 13px;
  color: var(--bs-tertiary-color);
}
.sp-feedback .fb-field .char {
  font-family: var(--rc);
  font-size: 13px;
  color: var(--bs-tertiary-color);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Выбор способа связи (сегменты) */
.sp-feedback .fb-seg {
  display: inline-flex;
  background: var(--bs-tertiary-bg);
  border-radius: var(--bs-border-radius-lg);
  padding: 4px;
  gap: 2px;
}
.sp-feedback .fb-seg button {
  appearance: none;
  border: none;
  background: transparent;
  font-family: var(--rc);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--bs-border-radius);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .12s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sp-feedback .fb-seg button:hover { color: var(--text); }
.sp-feedback .fb-seg button.on {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.sp-feedback .fb-seg button:active { transform: scale(0.96); }

/* Чекбокс согласия */
.sp-feedback .fb-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--ro);
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
  cursor: pointer;
  user-select: none;
}
.sp-feedback .fb-consent .box {
  width: 20px; height: 20px;
  border-radius: var(--bs-border-radius-sm);
  border: 1px solid var(--bs-border-color);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  margin-top: 1px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.sp-feedback .fb-consent input { display: none; }
.sp-feedback .fb-consent input:checked + .box {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}
.sp-feedback .fb-consent.err .box { border-color: var(--bs-danger); }
.sp-feedback .fb-consent a {
  color: var(--bs-primary);
  text-decoration: underline;
  text-decoration-color: var(--bs-border-color);
}
.sp-feedback .fb-consent a:hover { text-decoration-color: var(--bs-primary); }

/* Сабмит-ряд */
.sp-feedback .fb-submit {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sp-feedback .fb-submit .btn { height: 48px; border-radius: var(--bs-border-radius); padding: 0 28px; transition: transform .12s ease; }
.sp-feedback .fb-submit .btn:active { transform: scale(0.96); }

/* Состояние успеха */
.sp-feedback.is-success .fb-form { text-align: center; padding: 36px 28px; }
.sp-feedback .fb-success .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #E8F5D8;
  color: var(--bs-success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.sp-feedback .fb-success h3 {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
  text-wrap: balance;
}
.sp-feedback .fb-success p {
  font-family: var(--ro);
  font-size: 16px;
  line-height: 1.5;
  color: var(--bs-secondary-color);
  margin: 0 0 4px;
  text-wrap: pretty;
}
.sp-feedback .fb-success .ticket {
  display: inline-block;
  margin: 16px 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bs-tertiary-bg);
  font-family: var(--rc);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.sp-feedback .fb-success .again {
  background: none;
  border: none;
  font-family: var(--rc);
  font-weight: 500;
  font-size: 15px;
  color: var(--bs-primary);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--bs-border-color);
  text-underline-offset: 3px;
}
.sp-feedback .fb-success .again:hover { text-decoration-color: var(--bs-primary); }

/* ---------- 404 ---------- */
.sp-404 {
  padding: 56px 32px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 48px;
  align-items: center;
  min-height: 560px;
}
.sp-404 .copy { min-width: 0; }

.sp-404 .image {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-404 .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sp-404 .copy h1 {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 37px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px;
  text-wrap: balance;
}
.sp-404 .copy p {
  font-family: var(--ro);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 24px;
  max-width: 520px;
  text-wrap: pretty;
}
.sp-404 .search-wrap {
  margin: 0 0 28px;
  display: flex;
  height: 56px;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  max-width: 520px;
  transition: border-color .15s ease;
}
.sp-404 .search-wrap:focus-within { border-color: var(--text); }
.sp-404 .search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 20px;
  font-family: var(--rc);
  font-size: 16px;
  color: var(--text);
}
.sp-404 .search-wrap input::placeholder { color: var(--bs-tertiary-color); }
.sp-404 .search-wrap button {
  border: none;
  background: var(--bs-primary);
  color: #fff;
  width: 56px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .12s ease;
}
.sp-404 .search-wrap button:hover { background: var(--bs-link-hover-color); }
.sp-404 .search-wrap button:active { transform: scale(0.96); }
.sp-404 .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sp-404 .actions .btn { transition: transform .12s ease; }
.sp-404 .actions .btn:active { transform: scale(0.96); }
.sp-404 .popular {
  margin-top: 40px;
}
.sp-404 .popular h3 {
  font-family: var(--rc);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bs-tertiary-color);
  margin: 0 0 12px;
}
.sp-404 .popular .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sp-404 .popular .chips a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--bg-chip);
  font-family: var(--rc);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}
.sp-404 .popular .chips a:hover {
  background: var(--text);
  color: #fff;
}
.sp-404 .popular .chips a:active { transform: scale(0.96); }

/* ============================================================
   MOBILE (≤ 767 px) — все .sp-* блоки складываются в одну
   колонку, паддинги сжимаются, sidebar TOC уходит ВНИЗ под
   контент и теряет sticky.
   ============================================================ */
@media (max-width: 767px) {
  .sp-wrap { padding: 0 16px; margin-top: 8px; }

  .sp-meta { margin: 6px 16px 0; font-size: 13px; gap: 8px; }

  .sp-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 20px;
  }

  /* Защита от min-content внутри grid-item: длинные слова, inline-блоки
     и таблицы внутри .sp-main не должны распирать .sp-grid за viewport. */
  .sp-main { min-width: 0; }

  /* Основная колонка */
  .sp-main { font-size: 16px; line-height: 1.6; }
  .sp-main .lead { font-size: 17px; margin-bottom: 20px; }
  .sp-main h2 {
    font-size: 22px;
    margin: 28px 0 10px;
    scroll-margin-top: 80px; /* sticky header ≈ 56 px + воздух */
  }
  .sp-main h3 { font-size: 17px; margin: 20px 0 8px; }
  .sp-main ul li { padding-left: 18px; }
  .sp-main ol li { padding-left: 26px; }

  /* Карточки фактов — 1 колонка вертикально */
  .sp-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sp-cards .c { padding: 16px 18px; }
  .sp-cards .num { font-size: 26px; }
  .sp-cards .num .u { font-size: 16px; }

  /* Callout — компактнее */
  .sp-callout { padding: 14px 16px; gap: 10px; grid-template-columns: 20px 1fr; }
  .sp-callout .ttl { font-size: 15px; }
  .sp-callout .txt { font-size: 15px; line-height: 1.45; }

  /* Таблицы цен/сроков — горизонтальный скролл вместо ломки */
  .sp-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 14px;
  }
  .sp-table thead th, .sp-table tbody td { padding: 12px 14px; }

  /* Сайдбар — не sticky, ниже контента, компактнее */
  .sp-aside {
    position: static;
    gap: 14px;
  }
  .sp-aside-block { padding: 22px 18px; border-radius: var(--g-radius-card); }
  .sp-aside-block h3 { font-size: 13px; margin: 0 0 12px; }

  .sp-toc a { padding: 10px 14px; font-size: 15px; }
  .sp-links a { padding: 12px 14px; font-size: 15px; }

  /* Контактный блок в сайдбаре */
  .sp-contact .row { gap: 10px; margin-bottom: 8px; }
  .sp-contact .row .ico { width: 32px; height: 32px; }
  .sp-contact .row .val { font-size: 14px; }

  /* Нижняя плашка "Остались вопросы?" — стопкой */
  .sp-help {
    margin: 40px 0 0;
    padding: 24px 20px;
    grid-template-columns: 1fr;
    gap: 18px;
    border-radius: var(--g-radius-card);
  }
  .sp-help h2 { font-size: 21px; }
  .sp-help p { font-size: 15px; }
  .sp-help .actions { flex-wrap: wrap; }
  .sp-help .btn { height: 44px; padding: 0 18px; }

  /* ===== Форма обратной связи ===== */
  .sp-feedback {
    margin: 40px 0 0;
    padding: 22px 18px;
    border-radius: var(--g-radius-card);
  }
  .sp-feedback .fb-intro {
    margin-bottom: 18px;
  }
  .sp-feedback .fb-intro h2 { font-size: 21px; }
  .sp-feedback .fb-intro p { font-size: 15px; }

  .sp-feedback .fb-form {
    padding: 20px 16px;
    border-radius: var(--bs-border-radius-lg);
    gap: 14px;
  }
  /* Все парные ряды (имя+компания, тема+номер) — в одну колонку */
  .sp-feedback .fb-row { grid-template-columns: 1fr; gap: 14px; }

  .sp-feedback .fb-field input,
  .sp-feedback .fb-field select,
  .sp-feedback .fb-field textarea {
    font-size: 16px; /* iOS не зумит при 16+ */
    padding: 12px 14px;
  }
  .sp-feedback .fb-seg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    padding: 4px;
  }
  .sp-feedback .fb-seg button {
    padding: 8px 4px;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    min-height: 44px;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
  }

  .sp-feedback .fb-submit { gap: 10px; }
  .sp-feedback .fb-submit .btn { width: 100%; }

  /* Состояние "успех" */
  .sp-feedback.is-success .fb-form { padding: 28px 18px; }
  .sp-feedback .fb-success h3 { font-size: 19px; }
  .sp-feedback .fb-success p { font-size: 15px; }

  /* ===== 404 ===== */
  .sp-404 {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px 56px;
    min-height: auto;
  }
  /* Картинку — НАВЕРХ для визуального якоря */
  .sp-404 .image { order: -1; max-width: 100%; justify-self: stretch; }
  .sp-404 .image { aspect-ratio: 4 / 3; }
  .sp-404 .copy h1 { font-size: 28px; margin-bottom: 12px; }
  .sp-404 .copy p { font-size: 15px; margin-bottom: 20px; }

  .sp-404 .search-wrap { height: 48px; border-radius: var(--bs-border-radius); max-width: none; }
  .sp-404 .search-wrap button { width: 48px; }
  .sp-404 .search-wrap input { font-size: 15px; padding: 0 16px; }

  .sp-404 .actions .btn { height: 44px; padding: 0 18px; }
  .sp-404 .popular { margin-top: 28px; }
}

/* ==========================================================================
   Bootstrap-фундамент (DESIGN.md §0.1): remap legacy-переменных в скоупе
   статических страниц. Inline-<style> самих страниц (например .ct-* на
   /contacts/) продолжают ссылаться на var(--red)/var(--line)/… — здесь
   они получают значения новой палитры (индиго-акцент, slate-нейтрали).
   ========================================================================== */
.sp-wrap,
.sp-404 {
  --red: var(--bs-primary);
  --red-dark: var(--bs-link-hover-color);
  --line: var(--bs-border-color);
  --line-2: var(--bs-border-color);
  --bg-soft: var(--bs-tertiary-bg);
  --bg-soft-2: var(--bs-secondary-bg);
  --bg-chip: var(--bs-secondary-bg);
  --text-2: var(--bs-secondary-color);
  --text-3: var(--bs-tertiary-color);
  --green: var(--bs-success);
  --orange: var(--bs-warning);
}

/* End */
/* /local/templates/grosio/static-page.css?178747708326622 */
