/*
Theme Name: СмартМеталл
Theme URI: https://beautiful.goodtarget.ru
Author: GoodTarget
Description: Лендинг сварочных столов «СмартМеталл» (React). Собирается из widget.html скриптом build-theme.js — не редактируйте вручную.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ── CSS-переменные (глобально, не конфликтуют с темой) ── */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f4;
  --bg-dark: #0a0a0a;
  --bg-dark-2: #141414;
  --ink: #0a0a0a;
  --ink-muted: #525252;
  --ink-soft: #737373;
  --line: #e5e5e5;
  --line-2: #d4d4d4;
  --line-dark: #262626;
  --accent: #2563eb;
  --accent-ink: #ffffff;
  --accent-soft: #e7efff;
  --accent-700: #1e4fbf;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-md: 0 8px 24px -8px rgba(10,10,10,0.12);
  --container: 1280px;
  --gutter: 24px;
  --font-display: "Wix Madefor Display", "Onest", system-ui, sans-serif;
  --font-text: "Onest", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ── Базовый сброс внутри #sm-app ── */
#sm-app * { box-sizing: border-box; }
#sm-app {
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  width: 100%;
}
#sm-app img, #sm-app svg { display: block; max-width: 100%; }
#sm-app button { font: inherit; cursor: pointer; }
#sm-app a { color: inherit; text-decoration: none; }
#sm-app input, #sm-app textarea, #sm-app select, #sm-app button { max-width: 100%; }
#sm-app h1, #sm-app h2, #sm-app h3, #sm-app h4,
#sm-app p, #sm-app li, #sm-app span, #sm-app a, #sm-app button { overflow-wrap: anywhere; }

/* ── Container ── */
#sm-app .container { width: min(100%, var(--container)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
#sm-app .section { padding: 96px 0; }
#sm-app .section--dark { background: var(--bg-dark); color: #fafafa; }
#sm-app .section--alt { background: var(--bg-alt); }

/* ── Typography ── */
#sm-app .eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }
#sm-app .eyebrow--accent { color: var(--accent); }
#sm-app .eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.6; }

/* ── Buttons ── */
#sm-app .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; max-width: 100%; user-select: none; }
#sm-app .btn:active { transform: translateY(1px); }
#sm-app .btn--primary { background: var(--accent); color: var(--accent-ink); }
#sm-app .btn--primary:hover { background: var(--accent-700); }
#sm-app .btn--dark { background: var(--ink); color: #fff; }
#sm-app .btn--dark:hover { background: #262626; }
#sm-app .btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
#sm-app .btn--ghost:hover { border-color: var(--ink); }
#sm-app .btn--ghost-light { background: transparent; color: #fafafa; border-color: rgba(255,255,255,0.18); }
#sm-app .btn--ghost-light:hover { border-color: rgba(255,255,255,0.45); }
#sm-app .btn--sm { height: 40px; padding: 0 14px; font-size: 14px; }
#sm-app .btn--lg { height: 60px; padding: 0 28px; font-size: 16px; }
#sm-app .btn--full { width: 100%; }

/* ── Helpers ── */
#sm-app .row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
#sm-app .row--sb { justify-content: space-between; }
#sm-app .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; box-shadow: 0 0 0 3px rgba(34,197,94,0.18); }
#sm-app .chip--dark { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #d4d4d4; border-radius: 999px; padding: 0 10px; height: 28px; display: inline-flex; align-items: center; font-size: 12px; font-family: var(--font-mono); }

/* ── TopBar ── */
#sm-app .topbar { background: var(--bg-dark); color: #d4d4d4; font-size: 13px; border-bottom: 1px solid var(--line-dark); }
#sm-app .topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 24px; }
#sm-app .topbar__left, #sm-app .topbar__right { display: flex; gap: 24px; align-items: center; }
#sm-app .topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #d4d4d4; }
#sm-app .topbar__item:hover { color: #fff; }
#sm-app .topbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,0.12); }

/* ── Header ── */
#sm-app .header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
#sm-app .header__inner { display: flex; align-items: center; height: 76px; gap: 28px; }
#sm-app .brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
#sm-app .brand__logo { width: 140px; height: auto; }
#sm-app .nav { display: flex; gap: 4px; align-items: center; }
#sm-app .nav__item { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--radius); font-size: 14px; color: var(--ink); font-weight: 500; gap: 6px; }
#sm-app .nav__item:hover { background: var(--bg-alt); }
#sm-app .header__actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
#sm-app .header__phone { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
#sm-app .mega { position: absolute; top: 100%; left: 0; padding-top: 12px; width: 720px; max-width: min(720px, calc(100vw - 40px)); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 60; }
#sm-app .nav__item:hover .mega, #sm-app .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
#sm-app .mega__inner { display: grid; grid-template-columns: 1fr 1fr 200px; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0,0,0,.16); padding: 20px 22px; }
#sm-app .mega__h { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0 0 6px; }
#sm-app .mega__link { display: block; padding: 8px 10px; border-radius: 8px; transition: background .15s ease; }
#sm-app .mega__link:hover { background: var(--bg-alt); }
#sm-app .mega__link-t { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
#sm-app .mega__link-s { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 1px; }
#sm-app .mega__feature { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 200px; background: var(--bg-alt); }
#sm-app .mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
#sm-app .mega__feature:hover img { transform: scale(1.05); }
#sm-app .mega__feature-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 14px; color: #fff; background: linear-gradient(to top, rgba(10,10,10,.85) 18%, rgba(10,10,10,.04)); }
#sm-app .mega__feature-eyebrow { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #93c5fd; }
#sm-app .mega__feature-t { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.2; }
#sm-app .mega__feature-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; font-weight: 600; color: #fff; }

/* ── Бургер + мобильное меню ── */
#sm-app .nav-toggle { display: none; flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; place-items: center; }
#sm-app .nav-toggle__bars { position: relative; display: block; width: 20px; height: 14px; }
#sm-app .nav-toggle__bars i { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
#sm-app .nav-toggle__bars i:nth-child(1) { top: 0; }
#sm-app .nav-toggle__bars i:nth-child(2) { top: 6px; }
#sm-app .nav-toggle__bars i:nth-child(3) { top: 12px; }
#sm-app .nav-toggle__bars.is-open i:nth-child(1) { top: 6px; transform: rotate(45deg); }
#sm-app .nav-toggle__bars.is-open i:nth-child(2) { opacity: 0; }
#sm-app .nav-toggle__bars.is-open i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
#sm-app .mobile-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
#sm-app .mobile-menu.is-open { visibility: visible; }
#sm-app .mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,0.5); opacity: 0; transition: opacity .25s ease; }
#sm-app .mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
#sm-app .mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 340px); background: #fff; box-shadow: var(--shadow-md); transform: translateX(100%); transition: transform .28s cubic-bezier(.22,.61,.36,1); display: flex; flex-direction: column; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; }
#sm-app .mobile-menu.is-open .mobile-menu__panel { transform: none; }
#sm-app .mobile-menu__link { display: block; padding: 14px 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
#sm-app .mobile-menu__grouph { padding: 12px 0 2px 14px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
#sm-app .mobile-menu__sub { display: block; padding: 8px 0 8px 14px; font-size: 14px; color: var(--ink-soft); }
#sm-app .mobile-menu__sub:active { color: var(--accent); }
#sm-app .mobile-menu__foot { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
#sm-app .mobile-menu__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { #sm-app .mobile-menu__panel { transition: none; } }

/* ── Hero ── */
#sm-app .hero { position: relative; background: var(--bg-dark); color: #fafafa; overflow: hidden; isolation: isolate; }
#sm-app .hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); gap: 40px; align-items: stretch; padding: 40px 0 0; }
#sm-app .hero__left { padding-bottom: 36px; max-width: 720px; min-width: 0; display: flex; flex-direction: column; }
#sm-app .hero__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; font-size: clamp(38px, 4.4vw, 60px); margin: 18px 0 18px; text-wrap: balance; }
#sm-app .hero__title em { color: var(--accent); font-style: normal; }
#sm-app .hero__lead { font-size: 17px; line-height: 1.5; color: #d4d4d4; max-width: 56ch; margin: 0 0 24px; overflow-wrap: anywhere; }
#sm-app .hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
#sm-app .hero__kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--line-dark); margin-top: 10px; }
#sm-app .hero__kpi { padding: 20px 22px; border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; }
#sm-app .hero__kpi:first-child { padding-left: 0; }
#sm-app .hero__kpi:last-child { border-right: none; padding-right: 0; }
#sm-app .hero__kpi-num { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
#sm-app .hero__kpi-num .u { color: var(--accent); }
#sm-app .hero__kpi-label { font-size: 12px; color: #a3a3a3; margin-top: 6px; line-height: 1.35; }

/* Hero-слайдер */
#sm-app .hero__slider .hero__img { opacity: 0; transition: opacity .8s ease; }
#sm-app .hero__slider .hero__img.is-active { opacity: 1; }
#sm-app .hero__dots { position: absolute; bottom: 14px; right: 14px; z-index: 3; display: flex; gap: 8px; }
#sm-app .hero__dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px; background: rgba(255,255,255,0.4); cursor: pointer; transition: width .25s ease, background .25s ease; }
#sm-app .hero__dot.is-active { width: 24px; background: #fff; }
@media (prefers-reduced-motion: reduce) { #sm-app .hero__slider .hero__img { transition: none; } }
#sm-app .hero__right { position: relative; min-width: 0; align-self: stretch; display: flex; align-items: stretch; justify-content: stretch; margin-bottom: -1px; }
#sm-app .hero__visual { position: relative; width: 100%; height: 100%; min-height: 460px; background: linear-gradient(135deg,#1a1a1a 0%,#0a0a0a 100%); overflow: hidden; border: 1px solid var(--line-dark); border-bottom: none; display: grid; place-items: center; }
#sm-app .hero__corner { position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); font-size: 11px; color: #a3a3a3; letter-spacing: 0.04em; text-transform: uppercase; }
#sm-app .hero__corner--br { top: auto; left: auto; bottom: 14px; right: 14px; }
#sm-app .hero__corner--tr { top: 14px; right: 14px; left: auto; }
#sm-app .hero__corner--bl { top: auto; bottom: 14px; left: 14px; }

/* Ticker */
#sm-app .ticker { background: var(--accent); color: #fff; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.08); }
#sm-app .ticker__track { display: flex; gap: 56px; white-space: nowrap; padding: 14px 0; animation: sm-ticker 40s linear infinite; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; }
#sm-app .ticker__track span { display: inline-flex; align-items: center; gap: 56px; }
#sm-app .ticker__sep { opacity: .55; }
@keyframes sm-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Trust ── */
#sm-app .trust { border-bottom: 1px solid var(--line); background: #fff; }
#sm-app .trust__inner { display: flex; align-items: center; gap: 48px; padding: 28px 0; flex-wrap: wrap; }
#sm-app .trust__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); max-width: 200px; line-height: 1.4; }
#sm-app .trust__logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; flex: 1; justify-content: space-between; min-width: 260px; }
#sm-app .trust__logo { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 18px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; opacity: 0.7; transition: opacity .2s; }
#sm-app .trust__logo:hover { opacity: 1; }
#sm-app .trust__logo .dotmark { width: 8px; height: 8px; background: var(--ink-soft); border-radius: 1px; }

/* ── Advantages ── */
#sm-app .adv-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
#sm-app .adv-card { background: #fff; padding: 36px 28px; display: flex; flex-direction: column; gap: 16px; position: relative; min-height: 280px; transition: background .2s ease; }
#sm-app .adv-card:hover { background: var(--bg-alt); }
#sm-app .adv-card__num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); letter-spacing: 0.05em; }
#sm-app .adv-card__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--bg-alt); border-radius: var(--radius); color: var(--accent); }
#sm-app .adv-card__icon svg { width: 24px; height: 24px; }
#sm-app .adv-card__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
#sm-app .adv-card__text { font-size: 14px; color: var(--ink-muted); line-height: 1.5; margin: 0; }
#sm-app .adv-card__metric { margin-top: auto; display: flex; align-items: baseline; gap: 6px; }
#sm-app .adv-card__metric .n { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; color: var(--accent); line-height: 1; }
#sm-app .adv-card__metric .u { font-size: 13px; color: var(--ink-muted); }

/* ── Section head ── */
#sm-app .section-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 32px; margin-bottom: 48px; }
#sm-app .section-head > *, #sm-app .cfg > *, #sm-app .cta-block > *, #sm-app .faq-grid > *, #sm-app .process > *, #sm-app .card, #sm-app .aud-card, #sm-app .adv-card { min-width: 0; }
#sm-app .section-head__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(32px,3.4vw,48px); line-height: 1.05; margin: 12px 0 0; max-width: 22ch; text-wrap: balance; }
#sm-app .section-head__lead { font-size: 17px; color: var(--ink-muted); max-width: 44ch; }

/* ── Catalog ── */
#sm-app .cat-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
#sm-app .cat-tab { padding: 14px 18px; border: 0; background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-muted); position: relative; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; border-radius: 0; }
#sm-app .cat-tab[aria-selected="true"] { color: var(--ink); }
#sm-app .cat-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
#sm-app .cat-tab__count { font-family: var(--font-mono); font-size: 11px; background: var(--bg-alt); padding: 2px 6px; border-radius: 2px; color: var(--ink-soft); }
#sm-app .cat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
#sm-app .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
#sm-app .card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); }
#sm-app .card__media { position: relative; aspect-ratio: 4/3; background: var(--bg-alt); overflow: hidden; }
#sm-app .card__tag { position: absolute; top: 12px; left: 12px; background: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; border: 1px solid var(--line); }
#sm-app .card__tag--accent { background: var(--accent); color: #fff; border-color: transparent; }
#sm-app .card__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
#sm-app .card__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin: 0; }
#sm-app .card__sub { font-size: 13px; color: var(--ink-soft); margin: 0; }
#sm-app .card__specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
#sm-app .card__spec { font-size: 12px; display: flex; flex-direction: column; gap: 2px; padding: 0 14px; border-right: 1px solid var(--line); min-width: 0; }
#sm-app .card__spec:first-child { padding-left: 0; }
#sm-app .card__spec:last-child { border-right: none; padding-right: 0; }
#sm-app .card__spec-label { color: var(--ink-soft); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
#sm-app .card__spec-val { font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
#sm-app .card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--bg); }
#sm-app .card__price-row { display: flex; flex-direction: column; }
#sm-app .card__price-from { font-size: 11px; color: var(--ink-soft); font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
#sm-app .card__price { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }

/* ── Реальные изображения (рендеры + фото) ── */
#sm-app .card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
#sm-app .hero__visual--photo { background: linear-gradient(135deg,#1e1e1e 0%,#0a0a0a 100%); }
#sm-app .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
#sm-app .hero__visual--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 26%, rgba(10,10,10,0) 70%, rgba(10,10,10,0.55) 100%); }
#sm-app .hero__visual--photo .hero__corner { z-index: 2; color: #e5e5e5; text-shadow: 0 1px 4px rgba(0,0,0,0.7); }
#sm-app .process__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
#sm-app .process__photo-label { position: absolute; bottom: 12px; left: 12px; z-index: 2; font-family: var(--font-mono); font-size: 11px; color: #fff; letter-spacing: 0.05em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }
#sm-app .process__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.5) 100%); }
#sm-app .case-ph { position: relative; }
#sm-app .case-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
#sm-app .case-ph__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; font-size: 13px; font-weight: 600; color: #fff; line-height: 1.3;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.72) 100%); }

/* ── Галерея на странице товара ── */
#sm-app .product__visual { position: relative; outline: none; }
#sm-app .product__visual:focus-visible { box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 1px var(--accent); }
#sm-app .product__img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }
#sm-app .product__img--next { animation: sm-slide-next .35s cubic-bezier(.22,.61,.36,1); }
#sm-app .product__img--prev { animation: sm-slide-prev .35s cubic-bezier(.22,.61,.36,1); }
@keyframes sm-slide-next { from { opacity: 0; transform: translateX(7%); } to { opacity: 1; transform: none; } }
@keyframes sm-slide-prev { from { opacity: 0; transform: translateX(-7%); } to { opacity: 1; transform: none; } }
#sm-app .product__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(10,10,10,0.55); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(2px); transition: background .15s ease, transform .15s ease; }
#sm-app .product__nav:hover { background: var(--accent); }
#sm-app .product__nav:active { transform: translateY(-50%) scale(.92); }
#sm-app .product__nav--prev { left: 12px; }
#sm-app .product__nav--prev svg { transform: rotate(180deg); }
#sm-app .product__nav--next { right: 12px; }
#sm-app .product__counter { position: absolute; bottom: 12px; right: 12px; z-index: 2; font-family: var(--font-mono); font-size: 12px; color: #fff; background: rgba(10,10,10,0.55); padding: 4px 9px; border-radius: 999px; }
#sm-app .product__hint { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); margin: 10px 0 0; text-align: center; }
#sm-app .product__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
#sm-app .product__thumb { padding: 0; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); cursor: pointer; aspect-ratio: 4/3; transition: border-color .2s ease; }
#sm-app .product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#sm-app .product__thumb.is-active { border-color: var(--accent); }
#sm-app .product__desc { font-size: 15px; line-height: 1.65; color: var(--ink); margin: 0 0 18px; }
@media (prefers-reduced-motion: reduce) { #sm-app .product__img--next, #sm-app .product__img--prev { animation: none; } }

/* ── Configurator ── */
#sm-app .cfg { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
#sm-app .cfg__left { padding: 36px; }
#sm-app .cfg__right { background: var(--bg-dark); color: #fafafa; padding: 36px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
#sm-app .cfg__row { padding: 22px 0; border-bottom: 1px solid var(--line); }
#sm-app .cfg__row:last-child { border-bottom: none; }
#sm-app .cfg__row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
#sm-app .cfg__row-label { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; }
#sm-app .cfg__row-value { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--ink-muted); }
#sm-app .cfg__chips { display: flex; gap: 8px; flex-wrap: wrap; }
#sm-app .cfg__chip { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 13px; font-weight: 500; font-family: var(--font-mono); cursor: pointer; transition: all .15s ease; }
#sm-app .cfg__chip:hover { border-color: var(--ink); }
#sm-app .cfg__chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
#sm-app .cfg__slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--line); border-radius: 2px; outline: none; margin: 8px 0; }
#sm-app .cfg__slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; background: var(--accent); border-radius: 50%; cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--accent), 0 2px 8px rgba(0,0,0,0.15); transition: transform .15s ease; }
#sm-app .cfg__slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
#sm-app .cfg__slider::-moz-range-thumb { width: 22px; height: 22px; background: var(--accent); border-radius: 50%; cursor: pointer; border: 3px solid #fff; }
#sm-app .cfg__opts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
#sm-app .cfg__opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: all .15s ease; text-align: left; }
#sm-app .cfg__opt:hover { border-color: var(--ink); }
#sm-app .cfg__opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
#sm-app .cfg__opt-check { width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 3px; display: grid; place-items: center; flex-shrink: 0; background: #fff; }
#sm-app .cfg__opt[aria-pressed="true"] .cfg__opt-check { background: var(--accent); border-color: var(--accent); }
#sm-app .cfg__opt-check svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
#sm-app .cfg__opt[aria-pressed="true"] .cfg__opt-check svg { opacity: 1; }
#sm-app .cfg__opt-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
#sm-app .cfg__opt-name { font-size: 13px; font-weight: 600; }
#sm-app .cfg__opt-price { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
#sm-app .cfg__preview { flex: 1; background: linear-gradient(135deg,#1a1a1a 0%,#0a0a0a 100%); border: 1px solid var(--line-dark); border-radius: var(--radius); margin-bottom: 24px; position: relative; overflow: hidden; min-height: 280px; display: grid; place-items: center; }
#sm-app .cfg__preview-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
#sm-app .cfg__preview::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0) 28%, rgba(10,10,10,0) 64%, rgba(10,10,10,0.5) 100%); }
#sm-app .cfg__preview-label { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-mono); font-size: 11px; color: #e5e5e5; letter-spacing: 0.05em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,0.7); }
#sm-app .cfg__preview-size { position: absolute; bottom: 14px; right: 14px; z-index: 2; font-family: var(--font-mono); font-size: 12px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.7); }
#sm-app .cfg__summary { display: flex; flex-direction: column; gap: 10px; }
#sm-app .cfg__summary-row { display: flex; justify-content: space-between; font-size: 13px; color: #a3a3a3; }
#sm-app .cfg__summary-row .v { color: #fafafa; font-family: var(--font-mono); }
#sm-app .cfg__total { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: baseline; }
#sm-app .cfg__total-label { font-size: 14px; color: #a3a3a3; }
#sm-app .cfg__total-num { font-family: var(--font-display); font-weight: 700; font-size: 36px; letter-spacing: -0.02em; color: #fff; }
#sm-app .cfg__total-num .u { color: var(--accent); font-size: 22px; margin-left: 4px; }
#sm-app .cfg__cta { margin-top: 20px; display: flex; gap: 10px; }

/* ── Audience ── */
#sm-app .audience-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
#sm-app .aud-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; display: flex; flex-direction: column; gap: 16px; min-height: 260px; transition: all .2s ease; }
#sm-app .aud-card:hover { border-color: var(--ink); transform: translateY(-2px); }
#sm-app .aud-card__num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
#sm-app .aud-card__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin: 0; line-height: 1.15; }
#sm-app .aud-card__text { font-size: 14px; color: var(--ink-muted); line-height: 1.55; margin: 0; }
#sm-app .aud-card__icon { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; color: var(--accent); opacity: .9; }

/* ── Production ── */
#sm-app .process { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: start; }
#sm-app .process__steps { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.12); }
#sm-app .process__step { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.12); display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: center; cursor: pointer; transition: padding .2s ease; }
#sm-app .process__step:hover { padding-left: 12px; }
#sm-app .process__step-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.05em; }
#sm-app .process__step-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; }
#sm-app .process__step-time { font-family: var(--font-mono); font-size: 12px; color: #a3a3a3; }
#sm-app .process__photos { display: grid; grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(2,1fr); gap: 8px; aspect-ratio: 1; }
#sm-app .process__photo { background: var(--bg-dark-2); border: 1px solid var(--line-dark); border-radius: var(--radius); position: relative; overflow: hidden; }
#sm-app .process__photo:nth-child(1) { grid-row: span 2; }

/* ── FAQ ── */
#sm-app .faq-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 64px; }
#sm-app .faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
#sm-app .faq__item { border-bottom: 1px solid var(--line); }
#sm-app .faq__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; background: transparent; border: 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
#sm-app .faq__q:hover { color: var(--accent); }
#sm-app .faq__icn { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 14px; flex-shrink: 0; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
#sm-app .faq__item--open .faq__icn { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
#sm-app .faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
#sm-app .faq__item--open .faq__a { max-height: 400px; }
#sm-app .faq__a-inner { padding: 0 4px 22px; color: var(--ink-muted); font-size: 15px; line-height: 1.6; max-width: 60ch; }

/* ── CTA / Contacts ── */
#sm-app .cta-block { background: var(--bg-dark); color: #fafafa; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
#sm-app .cta-block__left { padding: 56px; display: flex; flex-direction: column; gap: 28px; border-right: 1px solid var(--line-dark); }
#sm-app .cta-block__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,2.4vw,38px); letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
#sm-app .cta-block__right { padding: 56px; }
#sm-app .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
#sm-app .field__label { font-size: 12px; color: #a3a3a3; font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }
#sm-app .field__input { width: 100%; height: 52px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 0 16px; color: #fafafa; font: inherit; font-size: 15px; transition: border-color .15s ease, background .15s ease; }
#sm-app .field__input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.06); }
#sm-app textarea.field__input { height: auto; padding: 14px 16px; resize: vertical; min-height: 88px; }
#sm-app .field__check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #a3a3a3; cursor: pointer; }
#sm-app .field__check input { margin-top: 3px; accent-color: var(--accent); }
#sm-app .contacts-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
#sm-app .contacts-list__item .l { font-size: 12px; color: #737373; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
#sm-app .contacts-list__item .v { font-size: 15px; color: #fafafa; font-weight: 500; line-height: 1.4; }

/* ── Reveal animation ── */
#sm-app .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
#sm-app .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1280px) {
  :root { --gutter: 20px; }
  #sm-app .header__inner { gap: 18px; }
  #sm-app .nav__item { padding: 0 9px; font-size: 13px; }
  #sm-app .header__phone { display: none; }
  #sm-app .hero__grid { gap: 28px; }
  #sm-app .adv-card { padding: 30px 22px; }
  #sm-app .cfg__left, #sm-app .cfg__right { padding: 30px; }
  #sm-app .cta-block__left, #sm-app .cta-block__right { padding: 44px; }
}
@media (max-width: 1100px) {
  #sm-app .topbar__right { display: none; }
  #sm-app .header__inner { height: 68px; }
  #sm-app .nav { display: none; }
  #sm-app .nav-toggle { display: grid; }
  #sm-app .header__actions { margin-left: auto; }
  #sm-app .hero__grid { grid-template-columns: 1fr; }
  #sm-app .hero__left { max-width: 860px; }
  #sm-app .hero__right { aspect-ratio: auto; }
  #sm-app .hero__visual { min-height: 0; aspect-ratio: 16 / 9; }
  #sm-app .adv-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #sm-app .cat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #sm-app .cfg { grid-template-columns: 1fr; }
  #sm-app .audience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #sm-app .process { grid-template-columns: 1fr; gap: 40px; }
  #sm-app .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  #sm-app .cta-block { grid-template-columns: 1fr; }
  #sm-app .cta-block__left { border-right: none; border-bottom: 1px solid var(--line-dark); padding: 40px; }
  #sm-app .cta-block__right { padding: 40px; }
  #sm-app .footer__grid { grid-template-columns: 1fr 1fr; }
  #sm-app .section-head { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --gutter: 18px; }
  #sm-app .topbar { display: none; }
  #sm-app .header__inner { height: 64px; }
  #sm-app .brand__logo { width: 128px; }
  #sm-app .hero__title { font-size: clamp(34px,8vw,52px); }
  #sm-app .hero__lead { font-size: 16px; }
  #sm-app .trust__logos { justify-content: flex-start; gap: 18px 26px; min-width: 0; }
  #sm-app .section-head { gap: 18px; margin-bottom: 34px; }
  #sm-app .card__foot { flex-wrap: wrap; }
  #sm-app .card__foot .btn { flex: 1 1 170px; }
  #sm-app .process__step { grid-template-columns: 44px minmax(0,1fr); }
  #sm-app .process__step-time { grid-column: 2; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  #sm-app .section { padding: 56px 0; }
  #sm-app .btn { width: 100%; min-height: 48px; height: auto; padding: 13px 16px; white-space: normal; text-align: center; }
  #sm-app .btn--sm { min-height: 40px; padding: 10px 12px; }
  #sm-app .btn--lg { min-height: 54px; padding: 14px 18px; }
  #sm-app .header__inner { min-height: 60px; flex-wrap: nowrap; }
  #sm-app .brand__logo { width: 116px; }
  #sm-app .nav, #sm-app .header__phone { display: none; }
  #sm-app .header__actions { flex: 0 1 auto; min-width: 0; }
  #sm-app .header__actions .btn { width: auto; min-height: 38px; padding: 9px 12px; font-size: 13px; }
  #sm-app .hero__title { margin-top: 14px; font-size: clamp(32px,10vw,44px); }
  #sm-app .hero__cta { display: grid; grid-template-columns: 1fr; margin-bottom: 26px; }
  #sm-app .hero__kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #sm-app .hero__kpi:nth-child(2) { border-right: none; padding-right: 0; }
  #sm-app .hero__visual { min-height: 0; aspect-ratio: 4 / 3; }
  #sm-app .hero__corner { font-size: 9px; }
  #sm-app .ticker__track, #sm-app .ticker__track span { gap: 32px; }
  #sm-app .adv-grid { grid-template-columns: 1fr; }
  #sm-app .adv-card { min-height: auto; padding: 24px; }
  #sm-app .cat-grid { grid-template-columns: 1fr; }
  #sm-app .card__specs { grid-template-columns: 1fr; gap: 8px; }
  #sm-app .card__spec { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 8px; }
  #sm-app .card__spec:last-child { border-bottom: none; padding-bottom: 0; }
  #sm-app .cfg__left, #sm-app .cfg__right { padding: 24px; }
  #sm-app .cfg__opts { grid-template-columns: 1fr; }
  #sm-app .cfg__row-head { flex-direction: column; align-items: flex-start; }
  #sm-app .cfg__cta { flex-direction: column; }
  #sm-app .cfg__total { flex-direction: column; gap: 4px; align-items: flex-start; }
  #sm-app .cfg__total-num { font-size: 32px; }
  #sm-app .audience-grid { grid-template-columns: 1fr; }
  #sm-app .aud-card { min-height: auto; padding: 24px; }
  #sm-app .aud-card__icon { position: static; order: -1; }
  #sm-app .process__photos { aspect-ratio: 4/3; }
  #sm-app .contacts-list { grid-template-columns: 1fr; }
  #sm-app .faq__q { font-size: 16px; padding: 18px 0; }
  #sm-app .cta-block { border-radius: 0; margin-left: calc(var(--gutter)*-1); margin-right: calc(var(--gutter)*-1); }
  #sm-app .cta-block__left, #sm-app .cta-block__right { padding: 28px 16px; }
  #sm-app .contacts-list__item .v { overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  :root { --gutter: 14px; }
  #sm-app .header__actions .btn { max-width: 148px; line-height: 1.15; }
  #sm-app .eyebrow { font-size: 11px; gap: 6px; }
  #sm-app .eyebrow::before { width: 18px; }
  #sm-app .hero__kpis { grid-template-columns: 1fr; }
  #sm-app .hero__kpi, #sm-app .hero__kpi:nth-child(2) { border-right: none; border-bottom: 1px solid var(--line-dark); padding: 14px 0; }
  #sm-app .hero__kpi:last-child { border-bottom: none; }
  #sm-app .hero__visual { min-height: 0; aspect-ratio: 4 / 3; }
  #sm-app .section-head__title { font-size: clamp(28px,9vw,36px); }
  #sm-app .card__body, #sm-app .card__foot { padding-left: 16px; padding-right: 16px; }
  #sm-app .cfg__left, #sm-app .cfg__right { padding: 20px 16px; }
  #sm-app .cfg__chip { flex: 1 1 auto; }
  #sm-app .process__step { grid-template-columns: 1fr; gap: 6px; }
  #sm-app .process__step-time { grid-column: auto; }
  #sm-app .process__photos { grid-template-columns: 1fr; aspect-ratio: auto; }
  #sm-app .process__photo { min-height: 160px; }
  #sm-app .process__photo:nth-child(1) { grid-row: auto; }
}

/* ───────── nav links ───────── */
#sm-app .nav__item > a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }

/* ───────── footer ───────── */
#sm-app .footer { background: #050505; color: #a3a3a3; padding: 72px 0 32px; border-top: 1px solid #1a1a1a; }
#sm-app .footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1a1a1a; }
#sm-app .footer__col h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #737373; font-weight: 500; margin: 0 0 16px; }
#sm-app .footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
#sm-app .footer__col a { font-size: 14px; color: #d4d4d4; text-decoration: none; }
#sm-app .footer__col a:hover { color: #fff; }
#sm-app .footer__wordmark { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: #fff; }
#sm-app .footer__wordmark span { color: var(--accent); }
#sm-app .footer__brand p { color: #a3a3a3; font-size: 14px; line-height: 1.55; max-width: 40ch; margin: 16px 0 0; }
#sm-app .footer__bottom { padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; font-family: var(--font-mono); color: #737373; flex-wrap: wrap; gap: 12px; }

/* ───────── inner page hero / breadcrumb ───────── */
#sm-app .page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
#sm-app .breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; }
#sm-app .breadcrumb a { color: var(--ink-soft); text-decoration: none; }
#sm-app .breadcrumb a:hover { color: var(--accent); }
#sm-app .page-hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
#sm-app .page-hero__lead { margin: 16px 0 0; max-width: 60ch; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }

/* ───────── prose ───────── */
#sm-app .prose { max-width: 70ch; }
#sm-app .prose p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 16px; }
#sm-app .prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 32px 0 12px; color: var(--ink); }
#sm-app .prose ul { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
#sm-app .prose li { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
#sm-app .prose a { color: var(--accent); text-decoration: none; }
#sm-app .prose a:hover { text-decoration: underline; }

/* ───────── info cards (delivery / pickup) ───────── */
#sm-app .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#sm-app .info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
#sm-app .info-card__icon { width: 52px; height: 52px; border-radius: var(--radius); background: var(--bg-alt); display: grid; place-items: center; color: var(--accent); margin-bottom: 18px; }
#sm-app .info-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 12px; color: var(--ink); }
#sm-app .info-card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
#sm-app .info-card a { color: var(--accent); text-decoration: none; }
#sm-app .info-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#sm-app .info-card li { font-size: 15px; line-height: 1.5; color: var(--ink-soft); padding-left: 18px; position: relative; }
#sm-app .info-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
#sm-app .info-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { #sm-app .info-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { #sm-app .info-grid--4 { grid-template-columns: 1fr; } }

/* ───────── badge / requisites / cases / product ───────── */
#sm-app .badge-soft { display: inline-block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: #b45309; background: #fef3c7; border: 1px solid #fde68a; border-radius: 999px; padding: 2px 9px; }
#sm-app .req-table { width: 100%; border-collapse: collapse; max-width: 760px; }
#sm-app .req-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
#sm-app .req-table__k { color: var(--ink-soft); width: 40%; }
#sm-app .req-table__v { color: var(--ink); font-weight: 500; }
#sm-app .req-table__v a { color: var(--accent); text-decoration: none; }
#sm-app .req-val { display: flex; align-items: flex-start; gap: 10px; }
#sm-app .req-copy { position: relative; flex: 0 0 auto; display: inline-grid; place-items: center; width: 30px; height: 30px; margin-top: -3px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink-soft); cursor: pointer; transition: all .15s ease; }
#sm-app .req-copy:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
#sm-app .req-copyall { position: relative; display: inline-block; }
#sm-app .req-pop { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 9px; z-index: 50; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 8px; box-shadow: var(--shadow-md); pointer-events: none; white-space: nowrap; animation: sm-copypop-in .14s ease; }
#sm-app .req-pop::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translate(-50%, -50%) rotate(45deg); width: 9px; height: 9px; background: var(--ink); }
#sm-app .req-pop svg { color: var(--accent); }
@keyframes sm-copypop-in { from { opacity: 0; transform: translateX(-50%) translateY(5px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
#sm-app .cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#sm-app .case-ph { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; }
#sm-app .case-ph > * { width: 100%; height: 100%; }
#sm-app .about-photo { margin: 28px 0; }
#sm-app .about-photo img { width: 100%; border-radius: var(--radius-lg); display: block; }
#sm-app .about-photo figcaption { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
#sm-app .about-media { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; margin: 28px 0; align-items: start; }
#sm-app .about-media figure { margin: 0; }
#sm-app .about-media img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
#sm-app .about-media video { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius-lg); display: block; background: #111; }
#sm-app .about-media figcaption { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
@media (max-width: 720px) { #sm-app .about-media { grid-template-columns: 1fr; } #sm-app .about-media img { max-height: 300px; } #sm-app .about-media video { height: auto; max-height: 70vh; } }

/* ── About: интро + статы (единая ширина секций) ── */
#sm-app .about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
#sm-app .about-stat { display: flex; flex-direction: column; gap: 3px; border-left: 2px solid var(--accent); padding-left: 16px; }
#sm-app .about-stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.01em; color: var(--ink); line-height: 1.05; }
#sm-app .about-stat .u { font-size: 13px; color: var(--ink-muted); line-height: 1.4; }
@media (max-width: 700px) { #sm-app .about-stats { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ── Производство: витрина с видео (главная) ── */
#sm-app .prod-band { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
#sm-app .prod-band__text { max-width: 48ch; }
#sm-app .prod-band__text .section-head__title { margin-top: 12px; }
#sm-app .prod-band__text > p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 16px 0 0; }
#sm-app .prod-band__facts { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
#sm-app .prod-band__facts li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
#sm-app .prod-band__facts li svg { position: absolute; left: 0; top: 1px; color: var(--accent); }
#sm-app .prod-media { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; height: 460px; }
#sm-app .prod-media figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); }
#sm-app .prod-media img, #sm-app .prod-media video { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
#sm-app .prod-media__badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,.6); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; padding: 5px 11px; border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
#sm-app .prod-media__badge::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
#sm-app .prod-media__badge--photo::before { display: none; }
@media (max-width: 900px) { #sm-app .prod-band { grid-template-columns: 1fr; gap: 30px; } #sm-app .prod-media { height: 380px; } }
@media (max-width: 560px) { #sm-app .prod-band__facts { grid-template-columns: 1fr; } #sm-app .prod-media { grid-template-columns: 1fr; height: auto; } #sm-app .prod-media img { height: 220px; } #sm-app .prod-media video { aspect-ratio: 9/16; max-height: 72vh; margin: 0 auto; } }
#sm-app .product { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
#sm-app .product__visual { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); }
#sm-app .product__specs { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; }
#sm-app .product__spec { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
#sm-app .product__spec:last-child { border-bottom: none; }
#sm-app .product__spec .l { color: var(--ink-soft); }
#sm-app .product__spec .v { color: var(--ink); font-weight: 600; }
#sm-app .product__price { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--ink); margin-bottom: 12px; }
#sm-app .product__price .c { font-size: 22px; color: var(--ink-soft); }
#sm-app .product__note { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 22px; }

@media (max-width: 900px) {
  #sm-app .info-grid, #sm-app .cases-grid { grid-template-columns: 1fr 1fr; }
  #sm-app .product { grid-template-columns: 1fr; }
  #sm-app .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  #sm-app .info-grid, #sm-app .cases-grid, #sm-app .footer__grid { grid-template-columns: 1fr; }
}

/* ═══════════ INTERACTIONS / MOTION ═══════════ */
html { scroll-behavior: smooth; }

/* — навигация: подчёркивание при наведении — */
#sm-app .nav__item { transition: background .2s ease; }
#sm-app .nav__item > a { position: relative; transition: color .2s ease; }
#sm-app .nav__item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
#sm-app .nav__item:hover > a, #sm-app .nav__item:focus-within > a { color: var(--accent); }
#sm-app .nav__item:hover > a::after, #sm-app .nav__item:focus-within > a::after { transform: scaleX(1); }
#sm-app .nav__item--mega > a .chevron, #sm-app .nav__item > a svg { transition: transform .2s ease; }
#sm-app .nav__item--mega:hover > a svg { transform: rotate(180deg); }

/* — кнопки: лёгкий подъём — */
#sm-app .btn { transition: transform .18s cubic-bezier(.22,.61,.36,1), background .18s ease, color .18s ease, border-color .18s ease, box-shadow .2s ease; }
#sm-app .btn--primary:hover, #sm-app .btn--dark:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.16); }
#sm-app .btn--ghost:hover, #sm-app .btn--ghost-light:hover { transform: translateY(-2px); }
#sm-app .btn:active { transform: translateY(0); box-shadow: none; }

/* — карточки: подъём + тень — */
#sm-app .card { transition: transform .28s cubic-bezier(.22,.61,.36,1), border-color .2s ease, box-shadow .25s ease; }
#sm-app .card:hover { transform: translateY(-6px); }
#sm-app .card__media svg, #sm-app .card__media img { transition: transform .4s cubic-bezier(.22,.61,.36,1); }
#sm-app .card:hover .card__media svg, #sm-app .card:hover .card__media img { transform: scale(1.04); }
#sm-app .adv-card { transition: background .2s ease, transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease; }
#sm-app .adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
#sm-app .aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
#sm-app .info-card { transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, border-color .2s ease; }
#sm-app .info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink); }
#sm-app .info-card__icon { transition: transform .3s ease, background .25s ease, color .25s ease; }
#sm-app .info-card:hover .info-card__icon { transform: translateY(-2px) scale(1.06); background: var(--accent); color: #fff; }
#sm-app .case-ph { transition: transform .3s ease, box-shadow .3s ease; }
#sm-app .case-ph:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-md); }
#sm-app .cat-tab { transition: color .2s ease, background .2s ease, border-color .2s ease; }
#sm-app .trust__logo:hover { transform: translateY(-2px); }
#sm-app .req-table tr { transition: background .15s ease; }
#sm-app .req-table tr:hover { background: var(--bg-alt); }
#sm-app .contacts-list__item, #sm-app .product__spec { transition: background .15s ease; }

/* — появление страницы — */
@keyframes sm-page-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
#sm-app .page-enter { animation: sm-page-in .5s cubic-bezier(.22,.61,.36,1) both; }

/* — спиннер загрузки при переключении страниц — */
@keyframes sm-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sm-spin { to { transform: rotate(360deg); } }
#sm-app .route-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: rgba(255,255,255,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: sm-fade-in .18s ease both;
}
#sm-app .spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 4px solid var(--line); border-top-color: var(--accent);
  animation: sm-spin .7s linear infinite;
}
#sm-app .spinner--sm {
  width: 18px; height: 18px; border-width: 2.5px;
  border-color: rgba(255,255,255,.4); border-top-color: #fff;
  display: inline-block; vertical-align: middle;
}

/* — уважение к настройке «меньше движения» — */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #sm-app .page-enter { animation: none; }
  #sm-app .reveal { transition: opacity .3s ease; transform: none; }
  #sm-app .spinner { animation-duration: 1.4s; }
  #sm-app .card:hover, #sm-app .adv-card:hover, #sm-app .aud-card:hover, #sm-app .info-card:hover,
  #sm-app .case-ph:hover, #sm-app .btn--primary:hover, #sm-app .btn--dark:hover,
  #sm-app .btn--ghost:hover, #sm-app .btn--ghost-light:hover { transform: none; }
}

/* ═══════════ ДОСТУПНОСТЬ ═══════════ */
/* видимый фокус с клавиатуры */
#sm-app a:focus-visible, #sm-app button:focus-visible, #sm-app input:focus-visible,
#sm-app textarea:focus-visible, #sm-app [tabindex]:focus-visible,
#sm-app .cat-tab:focus-visible, #sm-app .cfg__chip:focus-visible, #sm-app .faq__q:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px;
}
#sm-app main:focus { outline: none; }
/* ссылка-перескок к содержимому */
#sm-app .skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 10000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transform: translateY(-150%); transition: transform .2s ease;
}
#sm-app .skip-link:focus { transform: translateY(0); }

/* ═══════════ COOKIE-БАННЕР ═══════════ */
#sm-app .cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998;
  max-width: 720px; margin: 0 auto;
  background: var(--ink); color: #e5e5e5;
  border: 1px solid #262626; border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  padding: 16px 18px; display: flex; align-items: center; gap: 16px;
  animation: sm-fade-in .3s ease both;
}
#sm-app .cookie__text { margin: 0; font-size: 13px; line-height: 1.5; flex: 1 1 auto; }
#sm-app .cookie__text a { color: #fff; text-decoration: underline; }
#sm-app .cookie .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 560px) {
  #sm-app .cookie { flex-direction: column; align-items: stretch; text-align: left; }
}
