/* Страницы услуг (этап 7 редизайна): 3D-печать, моделирование, сканирование. Разметку пишет
   scripts/build_services.js. Таблицы и вопросы — общие (product.css, ds.css). Без зелёных подложек:
   плашки серые, тёмная плашка призыва — цвет подвала (--deep), зелёный — кнопки и цифры-акценты. */

.sv { margin-top: clamp(48px, 6vw, 88px); }
.sv-head { max-width: 760px; margin-bottom: 24px; }
.sv-head h2, .sv-split__text h2, .sv-band h2 { font: 700 clamp(26px, 3vw, 38px)/1.12 var(--display); letter-spacing: -0.02em; }
.sv-eyebrow { margin-bottom: 10px; color: var(--accent-strong); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.sv-lead { margin-top: 12px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.sv-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sv-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.sv-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--ink); }
.sv-ic svg { width: 26px; height: 26px; stroke: #fff; }
.sv-ic--sm { width: 34px; height: 34px; border-radius: 10px; }
.sv-ic--sm svg { width: 18px; height: 18px; }

/* ===== Первый экран: текст, цифры, кнопки + фото ===== */
.sv-hero { margin-top: 16px; }
.sv-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(24px, 3vw, 44px); border-radius: var(--r); background: var(--bg-2); }
.sv-hero h1 { font: 800 clamp(34px, 4.4vw, 56px)/1.05 var(--display); letter-spacing: -0.03em; }
.sv-hero__lead { margin-top: 16px; max-width: 56ch; font-size: 19px; line-height: 1.5; color: var(--ink); }
.sv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.sv-facts li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #fff; }
.sv-facts b { font: 800 24px/1.1 var(--display); color: var(--accent-strong); letter-spacing: -0.01em; white-space: nowrap; }
.sv-facts span { color: var(--muted); font-size: 14px; line-height: 1.3; }
.sv-hero__note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.sv-hero__img { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; }
.sv-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Что делаем ===== */
.sv-uses__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sv-use { display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.sv-use figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.sv-use figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
@media (hover: hover) { .sv-use:hover figure img { transform: scale(1.03); } }
.sv-use > .sv-ic { margin: 20px 20px 0; }
.sv-use__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.sv-use h3 { font: 700 19px/1.25 var(--display); }
.sv-use p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.sv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.sv-tags li { padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; }

/* ===== Шаги ===== */
.sv-steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: sv; }
.sv-steps__list li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border-radius: var(--r); background: var(--bg-2); counter-increment: sv; }
.sv-steps__list li::before { content: counter(sv, decimal-leading-zero); font: 800 34px/1 var(--display); color: var(--accent-strong); letter-spacing: -0.02em; }
.sv-steps__list b { font: 700 18px/1.3 var(--display); }
.sv-steps__list p { font-size: 15px; line-height: 1.5; }
.sv-steps__list small { color: var(--muted); font-size: 13px; }
.sv-steps__list a:not(.btn), .sv-use a:not(.btn), .sv-split__text a:not(.btn), .sv-price a:not(.btn), .sv-trust a:not(.btn), .sv-hero__note a, .sv-note a { color: var(--accent-strong); font-weight: 600; }

/* ===== Цена ===== */
.sv-price__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.sv-price__factors { padding: 24px; border-radius: var(--r); background: var(--bg-2); }
.sv-price__factors h3 { margin-bottom: 14px; font: 700 19px/1.3 var(--display); }
.sv-price__factors ul { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sv-price__factors li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.sv-price__cards { display: flex; flex-direction: column; gap: 8px; }
.sv-pcard { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.sv-pcard__t, .sv-pcard__v { display: flex; flex-direction: column; gap: 2px; }
.sv-pcard__v { align-items: flex-end; text-align: right; flex: none; }
.sv-pcard__t b { font-size: 16px; }
.sv-pcard__v b { font: 800 20px/1.1 var(--display); white-space: nowrap; }
.sv-pcard small { color: var(--muted); font-size: 13px; }

/* ===== Таблица ===== */
/* .pc-table — та же таблица, что на страницах товара (product.css); здесь своя копия, чтобы страницам
   услуг, инфо и инструментов не грузить product.css целиком (этап 9) */
.pc-table { position: relative; overflow-x: auto; margin-top: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.pc-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; }
.pc-table th, .pc-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.pc-table thead th { background: var(--bg-2); font-weight: 700; }
.pc-table tr:last-child td { border-bottom: 0; }
.sv-table .pc-table table { min-width: 640px; }
.sv-table .pc-table th[scope="row"] { font-weight: 700; white-space: nowrap; }

/* ===== Текст + фото ===== */
.sv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.sv-split--rev .sv-split__img { order: -1; }
.sv-split--grey { padding: clamp(24px, 3vw, 44px); border-radius: var(--r); background: var(--bg-2); }
.sv-split__text > p { margin-top: 14px; font-size: 17px; line-height: 1.55; }
.sv-split__img { margin: 0; border-radius: var(--r); overflow: hidden; }
.sv-split__img img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.sv-split__img figcaption { padding: 10px 2px 0; color: var(--muted); font-size: 13px; }
.sv-check { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.sv-check li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.sv-check li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ===== Тёмная плашка призыва ===== */
.sv-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(26px, 3.4vw, 48px); border-radius: var(--r); background: var(--deep); color: #fff; }
.sv-band > div:first-child { max-width: 640px; }
.sv-band p { margin-top: 10px; color: rgba(255, 255, 255, 0.78); font-size: 17px; line-height: 1.5; }
.sv-band .sv-cta { margin-top: 0; }
.sv-band .btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }

/* ===== Цифры и гарантии ===== */
.sv-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sv-trust__grid li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.sv-trust__grid b { font: 800 30px/1.05 var(--display); letter-spacing: -0.02em; }
.sv-trust__grid span { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ===== Соседние услуги ===== */
.sv-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sv-rel { display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform 200ms var(--ease); }
.sv-rel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sv-rel span { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.sv-rel b { font: 700 18px/1.25 var(--display); }
.sv-rel small { color: var(--muted); font-size: 14px; }
@media (hover: hover) { .sv-rel:hover { transform: translateY(-2px); } }

@media (max-width: 960px) {
  .sv-hero__in, .sv-split, .sv-price__in { grid-template-columns: 1fr; }
  .sv-split--rev .sv-split__img { order: 0; }
  .sv-uses__grid, .sv-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sv-hero__in { padding: 20px; }
  .sv-hero__lead { font-size: 17px; }
  /* цифры строками: число слева, подпись справа — в три колонки «от 2 000 ₽» ломалось */
  .sv-facts { grid-template-columns: 1fr; gap: 6px; }
  .sv-facts li { flex-direction: row; align-items: baseline; gap: 12px; padding: 12px 14px; }
  .sv-facts b { flex: none; min-width: 112px; font-size: 20px; white-space: nowrap; }
  .sv-facts span { font-size: 14px; }
  .sv-uses__grid, .sv-related__grid, .sv-trust__grid { grid-template-columns: 1fr; }
  .sv-pcard { padding: 14px 16px; }
  /* таблица — карточками: строка = материал, ячейки с подписью колонки (на узком экране колонки уезжали за край) */
  .sv-table .pc-table { box-shadow: none; overflow: visible; }
  .sv-table .pc-table table, .sv-table .pc-table tbody, .sv-table .pc-table tr, .sv-table .pc-table th, .sv-table .pc-table td { display: block; min-width: 0; width: 100%; }
  .sv-table .pc-table thead { display: none; }
  .sv-table .pc-table tr { margin-bottom: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); }
  .sv-table .pc-table th[scope="row"] { padding: 0 0 6px; border: 0; white-space: normal; font-size: 17px; }
  .sv-table .pc-table td { padding: 4px 0; border: 0; font-size: 15px; }
  .sv-table .pc-table td::before { content: attr(data-label) ': '; color: var(--muted); }
  .sv-cta .btn { flex: 1 1 100%; }
}

/* ===== Первый экран без фото ===== */
.sv-hero--plain .sv-hero__in { grid-template-columns: 1fr; }
.sv-hero--plain h1 { max-width: 20ch; }
.sv-hero--plain .sv-hero__lead { max-width: 64ch; }
.sv-facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 980px; }
.sv-hero .sv-eyebrow { margin-bottom: 12px; }
/* «Открыто до 20:00» — под цифрой и в строке часов */
.sv-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.sv-open::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #b8bcc2; }
.sv-open.is-open { color: var(--accent-strong); }
.sv-open.is-open::before { background: var(--accent); }

/* ===== Карточки со значком ===== */
.sv-cards__grid { display: grid; gap: 16px; }
.sv-cards__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-cards__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-cards__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sv-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; border-radius: var(--r); background: var(--bg-2); color: var(--ink); text-decoration: none; }
.sv-card .sv-ic { margin-bottom: 6px; }
.sv-card__v { font: 800 26px/1.1 var(--display); color: var(--accent-strong); letter-spacing: -0.01em; }
.sv-card h3 { font: 700 19px/1.25 var(--display); }
.sv-card p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.sv-card p a { color: var(--accent-strong); font-weight: 600; }
.sv-card .sv-check { margin-top: 4px; gap: 8px; }
.sv-card .sv-check li { font-size: 15px; }
.sv-card__more { margin-top: auto; padding-top: 6px; color: var(--accent-strong); font-weight: 700; font-size: 15px; }
.sv-card--link { transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
@media (hover: hover) { .sv-card--link:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(17, 20, 24, 0.08); } }

/* ===== Ситуации с крупной цифрой ===== */
.sv-cases__grid { display: grid; gap: 16px; }
.sv-cases__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-cases__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-cases__grid--1 { grid-template-columns: 1fr; }
/* одна карточка — во всю ширину: цифра слева, содержание справа */
.sv-cases__grid--1 .sv-case { display: grid; grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr); column-gap: clamp(24px, 4vw, 56px); row-gap: 12px; align-content: start; padding: clamp(24px, 3vw, 40px); }
.sv-cases__grid--1 .sv-case > * { grid-column: 2; }
.sv-cases__grid--1 .sv-case__fig { grid-column: 1; grid-row: 1 / span 6; padding: 0 clamp(24px, 4vw, 56px) 0 0; border-bottom: 0; border-right: 1px solid var(--line); }
.sv-case { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.sv-case__fig { display: flex; flex-direction: column; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sv-case__fig b { font: 800 clamp(34px, 3.6vw, 46px)/1 var(--display); letter-spacing: -0.03em; color: var(--accent-strong); }
.sv-case__fig span { color: var(--muted); font-size: 14px; }
.sv-case h3 { font: 700 21px/1.25 var(--display); }
.sv-case > p { font-size: 15px; line-height: 1.5; }
.sv-case .sv-check { margin-top: 2px; }
.sv-case .sv-check li { font-size: 15px; }
.sv-case__note { margin-top: auto; padding-top: 8px; color: var(--muted); font-size: 13px; }
.sv-case__note a { color: var(--accent-strong); font-weight: 600; }

/* ===== Фото ===== */
.sv-gallery__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(190px, 19vw, 280px); gap: 12px; }
.sv-gallery__grid figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.sv-gallery__grid figure.is-big { grid-row: span 2; }
.sv-gallery__grid figure:nth-child(4) { grid-column: span 2; }
.sv-gallery__grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sv-gallery__grid figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.92); font-size: 13px; line-height: 1.35; }

/* ===== Плашка-предупреждение ===== */
.sv-notice { display: flex; gap: 20px; align-items: flex-start; padding: clamp(22px, 3vw, 36px); border-radius: var(--r); background: var(--bg-2); }
.sv-notice h2 { font: 700 clamp(20px, 2vw, 26px)/1.2 var(--display); }
.sv-notice p { margin-top: 8px; max-width: 72ch; font-size: 16px; line-height: 1.55; }
.sv-notice .sv-check { margin-top: 12px; }
.sv-notice a:not(.btn) { color: var(--accent-strong); font-weight: 600; }

/* ===== Текст + «ключ — значение» ===== */
.sv-kv { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
.sv-kv__text h2 { font: 700 clamp(26px, 3vw, 38px)/1.12 var(--display); letter-spacing: -0.02em; }
.sv-kv__text > p { margin-top: 14px; font-size: 17px; line-height: 1.55; }
.sv-kv__dl { margin: 0; padding: 8px 24px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.sv-kv__dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.sv-kv__dl div:first-child { border-top: 0; }
.sv-kv__dl dt { color: var(--muted); font-size: 14px; }
.sv-kv__dl dd { margin: 0; font-weight: 600; font-size: 15px; }
.sv-kv__dl a { color: var(--ink); }

/* ===== Шоурум: карта + связь ===== */
.sv-visit__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.sv-visit__map { min-height: 420px; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.sv-visit__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.sv-visit__info { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: var(--r); background: var(--bg-2); }
.sv-visit__info ul { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.sv-visit__info li { display: flex; gap: 14px; align-items: flex-start; }
.sv-visit__info li > span:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.sv-visit__info small { color: var(--muted); font-size: 13px; }
.sv-visit__info b, .sv-visit__info a { font-size: 17px; font-weight: 700; color: var(--ink); }
.sv-visit__info em { color: var(--muted); font-size: 14px; font-style: normal; }
.sv-visit__info .sv-cta { margin-top: auto; }

/* ===== Модельный ряд (опт) ===== */
.sv-lineup__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sv-lu { display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform 200ms var(--ease); }
@media (hover: hover) { .sv-lu:hover { transform: translateY(-2px); } }
.sv-lu__img { display: block; height: 220px; padding: 14px 14px 0; }
.sv-lu__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sv-lu__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px 18px; }
.sv-lu__body b { font: 700 19px/1.2 var(--display); }
.sv-lu__for { color: var(--muted); font-size: 14px; line-height: 1.4; }
.sv-lu dl { margin: 4px 0 0; display: flex; flex-direction: column; gap: 4px; }
.sv-lu dl div { display: flex; justify-content: space-between; gap: 10px; padding-top: 6px; border-top: 1px solid rgba(17, 20, 24, 0.08); font-size: 13px; }
.sv-lu dt { color: var(--muted); }
.sv-lu dd { margin: 0; font-weight: 600; text-align: right; }
.sv-lu small { margin-top: 4px; color: var(--muted); font-size: 13px; }

/* ===== Программы Bambu Lab (build_software_pages.js) ===== */
.sw-dl { display: inline-flex; align-items: center; gap: 8px; }
.sw-dl svg { width: 18px; height: 18px; flex: none; }
.sw-hero__img { aspect-ratio: auto; background: #fff; }
.sw-hero__img img { height: auto; object-fit: contain; }
.sw-qr { display: flex; gap: 14px; margin-top: 18px; }
.sw-qr figure { margin: 0; padding: 8px; border-radius: 12px; background: #fff; text-align: center; font-size: 13px; font-weight: 600; }
.sw-qr img { display: block; width: 96px; height: 96px; }
.sw-prose h2 { font: 700 clamp(24px, 2.6vw, 32px)/1.15 var(--display); letter-spacing: -0.02em; margin-bottom: 14px; }
.sw-prose h3 { margin: 22px 0 8px; font: 700 19px/1.3 var(--display); }
.sw-prose p, .sw-prose li { max-width: 72ch; font-size: 16px; line-height: 1.6; }
.sw-prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.sw-prose .sw-prose__lead { font-size: 18px; }
.sw-prose .sw-prose__note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.sw-bridge__in .sv-lead a { color: var(--accent-strong); font-weight: 600; }
.sw-fil__row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sw-fil { flex: 0 0 132px; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; scroll-snap-align: start; }
.sw-fil img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.sw-fil b { font-size: 14px; line-height: 1.25; }
.sw-fil small { color: var(--muted); font-size: 13px; }
@media (hover: hover) { .sw-fil:hover { box-shadow: inset 0 0 0 1.5px var(--accent); } }

/* ===== Итог: 404, оплата (build_status_pages.js) ===== */
.sv-status { display: flex; flex-direction: column; align-items: center; max-width: 720px; margin-top: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 56px); border-radius: var(--r); background: var(--bg-2); text-align: center; }
.sv-status__ic { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; background: var(--ink); color: #fff; }
.sv-status__ic svg { width: 34px; height: 34px; }
.sv-status--ok .sv-status__ic { background: var(--accent); }
.sv-status--fail .sv-status__ic { background: #d0402b; }
.sv-status h1 { font: 800 clamp(30px, 3.6vw, 44px)/1.08 var(--display); letter-spacing: -0.03em; }
.sv-status__text { margin-top: 12px; max-width: 54ch; font-size: 18px; line-height: 1.5; }
.sv-status__meta { margin: 20px 0 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sv-status__meta div { padding: 10px 16px; border-radius: 12px; background: #fff; }
.sv-status__meta dt { color: var(--muted); font-size: 13px; }
.sv-status__meta dd { margin: 0; font-weight: 700; font-size: 17px; }
.sv-status__note { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: #fff; text-align: left; font-size: 15px; line-height: 1.5; }
.sv-status__note a { color: var(--accent-strong); font-weight: 600; }
.sv-status .sv-cta { justify-content: center; }
.sv-status__search { display: flex; gap: 8px; width: 100%; max-width: 480px; margin-top: 22px; }
.sv-status__search input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; }

/* ===== Документ: оферта, политика ===== */
.sv-hero--doc .sv-hero__lead a { color: var(--accent-strong); font-weight: 600; }
.sv-doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.sv-doc__toc { position: sticky; top: 96px; padding: 18px; border-radius: 14px; background: var(--bg-2); font-size: 14px; }
.sv-doc__toc b { display: block; margin-bottom: 8px; }
.sv-doc__toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sv-doc__toc a { color: var(--ink); }
.sv-doc__text { max-width: 760px; }
.sv-doc__text h2 { margin: 32px 0 10px; font: 700 22px/1.25 var(--display); scroll-margin-top: 96px; }
.sv-doc__text h2:first-child { margin-top: 0; }
.sv-doc__text p, .sv-doc__text li { font-size: 16px; line-height: 1.65; }
.sv-doc__text p + p { margin-top: 8px; }
.sv-doc__text ul { margin: 8px 0 0; padding-left: 22px; }

/* ===== Товары со скидкой ===== */
.sv-deals .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 14px; }
/* фото товара мельче — с полями внутри серого квадрата (владелец 01.11.2026: «очень крупные») */
.sv-deals .card__img { aspect-ratio: 4 / 3; }
.sv-deals .card__img img { inset: 10% 14%; width: 72%; height: 80%; }
.sv-deals .card__desc:empty, .sv-deals .card__opts:empty { display: none; }

@media (max-width: 960px) {
  .sv-cards__grid--3, .sv-cards__grid--4, .sv-cases__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-kv, .sv-visit__in, .sv-doc { grid-template-columns: 1fr; }
  .sv-doc__toc { position: static; }
  .sv-gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .sv-gallery__grid figure.is-big { grid-column: span 2; grid-row: auto; }
  .sv-gallery__grid figure:nth-child(4) { grid-column: auto; }
  .sv-deals .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sv-cards__grid--2, .sv-cards__grid--3, .sv-cards__grid--4, .sv-cases__grid--2, .sv-cases__grid--3 { grid-template-columns: 1fr; }
  .sv-cases__grid--1, .sv-facts--4 { grid-template-columns: 1fr; }
  .sv-deals .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-cases__grid--1 .sv-case { grid-template-columns: 1fr; }
  .sv-cases__grid--1 .sv-case > *, .sv-cases__grid--1 .sv-case__fig { grid-column: 1; grid-row: auto; }
  .sv-cases__grid--1 .sv-case__fig { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sv-notice { flex-direction: column; gap: 14px; }
  .sv-kv__dl { padding: 4px 16px; }
  .sv-kv__dl div { grid-template-columns: 1fr; gap: 2px; }
  .sv-visit__map, .sv-visit__map iframe { min-height: 300px; }
  .sv-gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .sv-gallery__grid figure.is-big { grid-column: auto; }
}

/* Инструкция по Bambu Studio со скриншотами (build_software_pages.js) */
.sg-head h1 { margin: 6px 0 12px; }
.sg-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sg-toc a { padding: 8px 14px; border-radius: 999px; background: var(--bg-2); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.sg-dl { margin-top: 18px; }
.sg-sec h2 { margin-bottom: 8px; }
.sg-intro { max-width: 760px; margin-bottom: 20px; font-size: 17px; }
.sg-steps { counter-reset: sg; display: flex; flex-direction: column; gap: 36px; margin: 0; padding: 0; list-style: none; }
.sg-step { counter-increment: sg; display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2.2fr); gap: 28px; align-items: start; }
.sg-step__text h3 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; font: 700 20px/1.25 var(--display); }
.sg-step__text h3::before { content: counter(sg); flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; }
.sg-step__text p { font-size: 16px; }
.sg-fig { margin: 0; }
.sg-fig img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgb(0 0 0 / .08); }
.sg-fig figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .sg-step { grid-template-columns: 1fr; gap: 14px; } }

/* Карточки программ с иконками (BLOCKS.apps) */
.sv-apps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sv-app { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r); background: var(--bg-2); }
.sv-app__main { display: flex; flex-direction: column; gap: 16px; flex: 1; color: var(--ink); text-decoration: none; }
.sv-app__ic { width: 88px; height: 88px; border-radius: 22%; box-shadow: 0 6px 18px rgb(0 0 0 / .12); }
.sv-app__ic--none { display: block; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sv-app__body { display: flex; flex-direction: column; gap: 6px; }
.sv-app__body b { font: 700 24px/1.15 var(--display); }
.sv-app__kind { color: var(--accent-strong); font-weight: 600; font-size: 15px; }
.sv-app__text { font-size: 16px; }
.sv-app__os { margin-top: 4px; color: var(--muted); font-size: 14px; }
.sv-app__btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (hover: hover) { .sv-app__main:hover b { color: var(--accent-strong); } }
@media (max-width: 900px) { .sv-apps__list { grid-template-columns: 1fr; } .sv-app__main { flex-direction: row; align-items: flex-start; } .sv-app__ic { width: 72px; height: 72px; flex: none; } }
/* Карта шоурума — картинка Яндекс Карт без рекламных меток, клик ведёт в маршрут */
.sv-visit__mapimg { position: relative; display: block; height: 100%; min-height: 420px; }
.sv-visit__mapimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-visit__chip { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px rgb(0 0 0 / .15); }
@media (max-width: 760px) { .sv-visit__mapimg { min-height: 300px; } }
.sv-deals .card { grid-row: span 5; }
/* Карточка раздела с фото товара вместо значка */
.sv-card__img { display: block; aspect-ratio: 4 / 3; margin: -22px -22px 6px; background: transparent; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.sv-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 10% 14%; mix-blend-mode: multiply; transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1); }
@media (hover: hover) { .sv-card--link:hover .sv-card__img img { transform: scale(1.05); } }

/* Переход к инструкции со страницы Bambu Studio */
.sg-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); padding: clamp(24px, 3vw, 40px); border-radius: calc(var(--r) + 4px); background: var(--ink); color: #fff; text-decoration: none; overflow: hidden; }
.sg-cta__text { display: flex; flex-direction: column; gap: 14px; }
.sg-cta__k { color: var(--accent-strong); font-size: 14px; font-weight: 700; }
.sg-cta b { font: 800 clamp(24px, 2.6vw, 34px)/1.12 var(--display); letter-spacing: -0.02em; }
.sg-cta__steps { counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 4px 0 0; padding: 0; list-style: none; }
.sg-cta__steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; color: rgb(255 255 255 / .85); font-size: 15px; }
.sg-cta__steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; font: 700 13px/1 var(--text); }
.sg-cta__meta { color: rgb(255 255 255 / .55); font-size: 14px; }
.sg-cta__btn { align-self: flex-start; margin-top: 4px; }
.sg-cta__shot { position: relative; display: block; aspect-ratio: 16 / 11; }
.sg-cta__shot img { position: absolute; width: 86%; height: auto; border-radius: 10px; box-shadow: 0 18px 40px rgb(0 0 0 / .45); transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1); }
.sg-cta__shot img:first-child { left: 0; top: 0; }
.sg-cta__shot .sg-cta__shot2 { right: 0; bottom: 0; }
@media (hover: hover) { .sg-cta:hover .sg-cta__shot img:first-child { transform: translate(-6px, -6px) rotate(-1deg); } .sg-cta:hover .sg-cta__shot2 { transform: translate(6px, 6px) rotate(1deg); } .sg-cta:hover .sg-cta__btn { filter: brightness(1.08); } }
@media (max-width: 860px) { .sg-cta { grid-template-columns: 1fr; } .sg-cta__steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sg-cta__shot img { transition: none; } }

/* Советы новичку */
.sg-tipsec__head { margin-bottom: 18px; }
.sg-tipsec__head h2 { margin-top: 4px; }
.sg-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sg-tip { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; border-radius: var(--r); background: var(--bg-2); overflow: hidden; transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.sg-tip::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent-strong); transform: scaleX(0.18); transform-origin: left; transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1); }
@media (hover: hover) { .sg-tip:hover { transform: translateY(-3px); } .sg-tip:hover::before { transform: scaleX(1); } }
.sg-tip__ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 12px; background: #fff; color: var(--ink); }
.sg-tip__n { color: var(--accent-strong); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sg-tip b { font: 700 18px/1.25 var(--display); }
.sg-tip p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Подбор принтера: «Четыре вещи» с наглядной картинкой */
.qf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.qf { display: flex; flex-direction: column; gap: 10px; padding: 0 0 22px; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.qf > h3, .qf > p { margin: 0 22px; }
.qf h3 { font: 700 19px/1.25 var(--display); }
.qf p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.qf__fig { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 170px; margin-bottom: 8px; padding: 18px 18px 14px; background: #fff; }
.qf__fig--duo img { width: 48%; height: auto; max-height: 100%; object-fit: contain; transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1); }
.qf__fig--duo .qf__s { width: 30%; }
.qf__one { height: 100%; width: auto; object-fit: contain; }
.qf__tag { position: absolute; left: 14px; top: 12px; padding: 3px 9px; border-radius: 999px; background: var(--bg-2); font-size: 12px; font-weight: 700; }
.qf__tag--r { left: auto; right: 14px; }
.qf__dots { position: absolute; right: 14px; top: 14px; display: flex; gap: 5px; }
.qf__dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1); }
.qf__bars { display: flex; align-items: flex-end; gap: 10px; height: 100%; width: 100%; padding-top: 18px; }
.qf__bars i { position: relative; flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: #e1e5e2; transition: height 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.qf__bars i:first-child { background: var(--accent-strong); }
.qf__bars b { position: absolute; left: 0; right: 0; top: -18px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.qf__unit { position: absolute; left: 14px; top: 10px; color: var(--muted); font-size: 12px; }
@media (hover: hover) {
  .qf:hover .qf__fig--duo img:first-child { transform: translateX(-4px); }
  .qf:hover .qf__fig--duo img:last-of-type { transform: translateX(4px) scale(1.03); }
  .qf:hover .qf__dots i:nth-child(1) { transform: translateY(-4px); } .qf:hover .qf__dots i:nth-child(2) { transform: translateY(-4px); transition-delay: 60ms; }
  .qf:hover .qf__dots i:nth-child(3) { transform: translateY(-4px); transition-delay: 120ms; } .qf:hover .qf__dots i:nth-child(4) { transform: translateY(-4px); transition-delay: 180ms; }
  .qf:hover .qf__bars i { background: var(--accent-strong); }
}
@media (max-width: 1100px) { .qf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .qf-grid { grid-template-columns: 1fr; } }

/* «Другие инструменты»: у каждого свой значок */
.qt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.qt { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--bg-2); color: var(--ink); text-decoration: none; transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.qt__ic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--ink); transition: background-color 200ms ease, color 200ms ease; }
.qt > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.qt b { font: 700 17px/1.25 var(--display); }
.qt small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.qt > i { color: var(--muted); font-style: normal; transition: transform 200ms ease, color 200ms ease; }
@media (hover: hover) { .qt:hover { transform: translateY(-2px); } .qt:hover .qt__ic { background: var(--ink); color: #fff; } .qt:hover > i { transform: translateX(4px); color: var(--accent-strong); } }
@media (max-width: 900px) { .qt-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .qf__fig--duo img, .qf__dots i, .qt, .qt > i { transition: none; } }

/* Служебные экраны (404, оплата, обновление): маскот + текст */
.sv-st { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(16px, 3vw, 40px); padding: clamp(24px, 4vw, 56px); border-radius: calc(var(--r) + 6px); background: var(--bg-2); }
.sv-st__art { position: relative; display: grid; place-items: center; min-height: 280px; }
.sv-st__art img { position: relative; z-index: 1; width: min(100%, 360px); height: auto; animation: st-bob 5s ease-in-out infinite; transform-origin: 50% 90%; }
.sv-st__code { margin-bottom: 10px; font: 800 15px/1 var(--display); letter-spacing: 0.02em; color: var(--accent-strong); }
.sv-st__body h1 { font: 800 clamp(32px, 4vw, 52px)/1.05 var(--display); letter-spacing: -0.03em; }
.sv-st__body .sv-status__text { margin-top: 14px; max-width: 46ch; font-size: 18px; line-height: 1.5; }
.sv-st__body .sv-status__meta { justify-content: flex-start; }
.sv-st__body .sv-status__note { margin-top: 18px; text-align: left; }
.sv-st__body .sv-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sv-st .sv-status__search { display: flex; gap: 8px; width: 100%; max-width: 460px; margin-top: 20px; }
.sv-st .sv-status__search .btn { flex-shrink: 0; }
.sv-st .sv-status__search input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 500 16px/1 var(--text); }
.sv-st .sv-status__search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent-strong); }
.sv-st--ok .sv-st__body h1 { color: var(--ink); }
.sv-st--ok { box-shadow: inset 0 4px 0 var(--accent-strong); }
.sv-st--fail { box-shadow: inset 0 4px 0 #d08a00; }
@keyframes st-bob { 0%, 100% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-6px) rotate(-1.5deg); } }
.sv-st-links h2 { margin-bottom: 14px; font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--display); }
.sv-st-links ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sv-st-links a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding-bottom: 16px; border-radius: var(--r); background: var(--bg-2); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.sv-st-links__img { display: block; aspect-ratio: 3 / 2; margin-bottom: 10px; overflow: hidden; }
.sv-st-links__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1); }
.sv-st-links__img.is-cut img { object-fit: contain; padding: 8% 14%; mix-blend-mode: multiply; }
.sv-st-links b, .sv-st-links small { padding: 0 16px; }
.sv-st-links b { font: 700 17px/1.25 var(--display); }
.sv-st-links small { color: var(--muted); font-size: 14px; }
@media (hover: hover) { .sv-st-links a:hover { transform: translateY(-3px); } .sv-st-links a:hover img { transform: scale(1.04); } }
@media (max-width: 860px) { .sv-st { grid-template-columns: 1fr; text-align: center; } .sv-st__art { min-height: 220px; } .sv-st__art img { width: 220px; } .sv-st__body .sv-status__text { margin-inline: auto; } .sv-st__body .sv-cta, .sv-st__body .sv-status__meta { justify-content: center; } .sv-st .sv-status__search { margin-inline: auto; } .sv-st-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .sv-st__art img { animation: none; } }

/* ===== Телефон: строка «часы работы» в шоуруме не раздвигает страницу (360 px) ===== */
@media (max-width: 600px) {
  .sv-facts li { flex-wrap: wrap; min-width: 0; }
  .sv-facts .sv-open { flex-basis: 100%; }
}

/* Баннер MakerWorld (05.11.2026) */
.mw-banner__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 28px 32px; border-radius: var(--r); background: var(--deep, #0e2416); color: #fff; text-decoration: none; transition: transform 200ms var(--ease); }
.mw-banner__logo { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; background: rgba(255, 255, 255, 0.08); }
.mw-banner__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mw-banner__k { color: #9fbfa8; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.mw-banner__text b { font: 700 clamp(20px, 2.2vw, 28px)/1.15 var(--display); }
.mw-banner__text > span:last-child { color: #c9d8cd; font-size: 15px; line-height: 1.45; max-width: 62ch; }
.mw-banner__btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (hover: hover) { .mw-banner__in:hover { transform: translateY(-2px); } }
@media (max-width: 760px) { .mw-banner__in { grid-template-columns: 1fr; gap: 16px; padding: 22px; } .mw-banner__logo { width: 64px; height: 64px; border-radius: 16px; } .mw-banner__logo img { width: 42px; height: 42px; } .mw-banner__btn { justify-self: start; } }
