/* «Смолоток» — стили сайта на токенах бренда (tokens.css, ТЗ-40А). Каркас — Bootstrap 5.3. */

/* ---------- База ---------- */
body { font-family: var(--sm-font-text); color: var(--sm-text); background: var(--sm-bg); font-size: 16.5px; -webkit-font-smoothing: antialiased; }
a { color: var(--sm-primary-strong); text-underline-offset: 3px; }
a:hover { color: var(--sm-ink); }
h1, h2, h3, .sm-h1, .sm-h2 { font-family: var(--sm-font-head); color: var(--sm-ink); letter-spacing: -0.01em; }
img { max-width: 100%; height: auto; }
.sm-ic { flex: none; vertical-align: -0.2em; }
.sm-skip { position: absolute; left: 8px; top: 8px; z-index: 2000; background: #fff; padding: 8px 12px; border-radius: 8px; }
.sm-narrow { max-width: 880px; }
.sm-note { color: var(--sm-muted); font-size: 0.92rem; }
.sm-link-btn { background: none; border: 0; padding: 0; color: var(--sm-primary-strong); text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.sm-link-btn:hover { color: var(--sm-ink); }
:focus-visible { outline: 3px solid var(--sm-accent); outline-offset: 2px; }

/* ---------- Кнопки ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: 0.6rem 1.3rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; }
.btn-lg { padding: 0.8rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: 0.35rem 0.9rem; }
.sm-btn-accent { background: var(--sm-accent); color: var(--sm-on-accent); border: 2px solid var(--sm-accent); }
.sm-btn-accent:hover, .sm-btn-accent:focus { background: var(--sm-accent-strong); border-color: var(--sm-accent-strong); color: #fff; }
.sm-btn-primary { background: var(--sm-primary-strong); color: var(--sm-on-primary); border: 2px solid var(--sm-primary-strong); }
.sm-btn-primary:hover { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff; }
.sm-btn-ghost { background: transparent; color: var(--sm-ink); border: 2px solid var(--sm-line); }
.sm-btn-ghost:hover { border-color: var(--sm-primary); color: var(--sm-ink); background: var(--sm-soft); }
.sm-btn-light { background: rgba(255, 255, 255, 0.1); color: #fff; border: 2px solid rgba(255, 255, 255, 0.45); }
.sm-btn-light:hover { background: #fff; color: var(--sm-ink); }

/* ---------- Шапка ---------- */
.sm-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 1px 0 var(--sm-line), 0 6px 18px rgba(11, 34, 40, 0.05); }
.sm-header-in { display: flex; align-items: center; gap: 1.1rem; min-height: 68px; }
.sm-logo { display: block; flex: none; }
.sm-logo img { display: block; }
.sm-city { display: inline-flex; align-items: center; gap: 0.3rem; background: var(--sm-soft); border: 0; border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.9rem; color: var(--sm-ink); font-weight: 500; white-space: nowrap; }
.sm-city .sm-ic { color: var(--sm-accent-strong); }
.sm-city:hover { background: var(--sm-line); }
.sm-head-contacts { margin-left: auto; text-align: right; line-height: 1.25; }
.sm-head-phones { display: flex; gap: 0.9rem; justify-content: flex-end; }
.sm-phone { font-weight: 700; color: var(--sm-ink); text-decoration: none; font-size: 1.02rem; white-space: nowrap; }
.sm-phone:hover { color: var(--sm-primary-strong); }
.sm-head-sub { display: flex; gap: 0.6rem; align-items: center; justify-content: flex-end; font-size: 0.86rem; }
.sm-head-sub a { color: var(--sm-muted); text-decoration: none; }
.sm-head-sub a:hover { color: var(--sm-primary-strong); }
.sm-msg { display: inline-flex; color: var(--sm-primary-strong) !important; }
.sm-head-cta { display: flex; align-items: center; gap: 0.5rem; }
.sm-head-tel { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--sm-soft); color: var(--sm-primary-strong); }
.sm-burger { border: 0; background: none; color: var(--sm-ink); padding: 0.3rem; }
.sm-nav { border-top: 1px solid var(--sm-line); }
.sm-nav-list { display: flex; gap: 0.2rem 1.6rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.sm-nav-list a, .sm-nav-btn { display: block; padding: 0.65rem 0; color: var(--sm-ink); text-decoration: none; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; background: none; border: 0; }
.sm-nav-list a:hover, .sm-nav-btn:hover, .sm-nav-list a[aria-current="page"] { color: var(--sm-primary-strong); }
.sm-nav-extra { margin-left: auto; }
.sm-nav-extra .sm-nav-btn { color: var(--sm-accent-strong); }
@media (max-width: 991.98px) {
  .sm-head-contacts { display: none; }
  .sm-head-cta { margin-left: auto; }
  .sm-nav-list { flex-direction: column; padding: 0.4rem 0 0.8rem; }
  .sm-nav-extra { margin-left: 0; }
}
@media (max-width: 575.98px) {
  .sm-header-in { gap: 0.5rem; min-height: 58px; }
  .sm-city { padding: 0.3rem 0.6rem; font-size: 0.82rem; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Секции ---------- */
.sm-sec { padding: 64px 0; }
.sm-sec-tight { padding: 28px 0 0; }
.sm-sec-soft { background: var(--sm-soft); }
.sm-sec-dark { background: var(--sm-dark); color: #d9ecea; }
.sm-sec-dark .sm-h2 { color: #fff; }
.sm-h1 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); font-weight: 700; line-height: 1.12; margin-bottom: 1rem; }
.sm-h2 { font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.1rem); font-weight: 700; line-height: 1.18; margin-bottom: 1rem; }
.sm-sec-lead { color: var(--sm-muted); max-width: 760px; margin-bottom: 1.6rem; }
@media (max-width: 767.98px) { .sm-sec { padding: 44px 0; } }

/* ---------- Первый экран ---------- */
.sm-hero { background: var(--sm-dark); background-image: radial-gradient(1100px 500px at 85% 20%, rgba(18, 194, 176, 0.32), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(255, 90, 78, 0.16), transparent 60%); color: #d9ecea; padding: 56px 0 64px; }
.sm-hero .sm-h1 { color: #fff; }
.sm-h1-city { color: var(--sm-accent2); }
.sm-eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; color: var(--sm-accent2); margin-bottom: 0.9rem; }
.sm-hero-lead { font-size: 1.12rem; color: #e8f4f2; max-width: 620px; }
.sm-hero-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 0.55rem; }
.sm-hero-list li { position: relative; padding-left: 1.8rem; }
.sm-hero-list li::before { content: ''; position: absolute; left: 0; top: 0.3em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--sm-resin); box-shadow: inset -2px -3px 4px rgba(0, 0, 0, 0.18), 0 0 0 2px rgba(255, 255, 255, 0.12); }
.sm-hero-list b { color: #fff; }
.sm-hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.sm-hero-img img { display: block; width: 100%; border-radius: var(--sm-radius-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.sm-hero-sm { padding: 36px 0 48px; }
.sm-crumbs { font-size: 0.88rem; margin-bottom: 1rem; color: #9fc3bf; }
.sm-crumbs a { color: var(--sm-accent2); }
@media (max-width: 991.98px) { .sm-hero { padding: 36px 0 44px; } .sm-hero-img img { max-height: 420px; object-fit: cover; } }

.sm-city-lead { display: flex; gap: 1rem; align-items: flex-start; background: var(--sm-soft); border-radius: var(--sm-radius); padding: 1.1rem 1.3rem; }
.sm-city-lead .sm-ic { color: var(--sm-primary-strong); margin-top: 2px; }
.sm-city-lead p { margin: 0; }

/* ---------- Плитки и карточки ---------- */
.sm-tile { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.sm-tile:hover { box-shadow: 0 14px 30px rgba(11, 34, 40, 0.1); transform: translateY(-2px); }
.sm-tile-img { aspect-ratio: 4 / 3; background: var(--sm-soft); overflow: hidden; }
.sm-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-tile-icon { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--sm-soft), #fff); }
.sm-lens { width: 104px; height: 104px; border-radius: 50%; background: var(--sm-resin); display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: inset -6px -10px 18px rgba(0, 60, 55, 0.35), inset 6px 8px 14px rgba(255, 255, 255, 0.5), 0 12px 24px rgba(0, 117, 108, 0.25); }
.sm-tile-body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.sm-tile-t { font-family: var(--sm-font-head); font-weight: 600; font-size: 1rem; line-height: 1.25; color: var(--sm-ink); margin-bottom: 0.35rem; }
.sm-tile-t a { color: inherit; text-decoration: none; }
.sm-tile-t { hyphens: auto; overflow-wrap: break-word; }
.sm-tile-d { font-size: 0.9rem; color: var(--sm-muted); margin-bottom: 0.7rem; }
.sm-tile-price { margin-top: auto; color: var(--sm-ink); }
.sm-tile-price b { font-size: 1.25rem; color: var(--sm-accent-strong); }
.sm-tile-btn { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 0; color: var(--sm-primary-strong); font-weight: 600; font-size: 0.92rem; position: relative; z-index: 2; }
.sm-tile-btn:hover { color: var(--sm-ink); }
@media (max-width: 575.98px) { .sm-tile-d { display: none; } .sm-tile-t { font-size: 0.9rem; } }

.sm-card { height: 100%; background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); padding: 1.3rem; }
.sm-card-ic { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; background: var(--sm-resin); color: #fff; margin-bottom: 0.8rem; box-shadow: inset -3px -5px 8px rgba(0, 60, 55, 0.3), inset 3px 4px 6px rgba(255, 255, 255, 0.45); }
.sm-card-t { font-family: var(--sm-font-head); font-weight: 600; color: var(--sm-ink); margin-bottom: 0.4rem; line-height: 1.25; }
.sm-card-d { color: var(--sm-muted); margin: 0; font-size: 0.95rem; }

.sm-fact { height: 100%; border-radius: var(--sm-radius); padding: 1.2rem 1.3rem; background: var(--sm-soft); }
.sm-fact-n { font-family: var(--sm-font-head); font-weight: 700; font-size: 1.6rem; color: var(--sm-primary-strong); margin-bottom: 0.3rem; }
.sm-fact p { margin: 0; color: var(--sm-text); font-size: 0.95rem; }
.sm-rounded-img { border-radius: var(--sm-radius-lg); display: block; width: 100%; height: auto; }
.sm-sec-dark .sm-rounded-img { max-height: 420px; object-fit: cover; }

.sm-samples, .sm-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.sm-samples > div, .sm-cta > div { max-width: 760px; }
.sm-sec-cta { padding: 48px 0; background: var(--sm-resin-flow); color: #fff; }
.sm-sec-cta .sm-h2 { color: #fff; }
.sm-cta-t { font-family: var(--sm-font-head); font-weight: 600; color: var(--sm-ink); }
.sm-sec .sm-cta:not(.sm-sec-cta .sm-cta) { background: var(--sm-soft); border-radius: var(--sm-radius); padding: 1.2rem 1.4rem; }

/* ---------- FAQ ---------- */
.sm-faq .accordion-item { border: 1px solid var(--sm-line); border-radius: var(--sm-radius) !important; margin-bottom: 0.6rem; overflow: hidden; }
.sm-faq .accordion-button { font-weight: 600; color: var(--sm-ink); font-size: 1rem; }
.sm-faq .accordion-button:not(.collapsed) { background: var(--sm-soft); color: var(--sm-ink); box-shadow: none; }
.sm-faq .accordion-button:focus { box-shadow: none; }
.sm-faq h3 { font-family: var(--sm-font-text); margin: 0; }

/* ---------- Таблицы цен ---------- */
.sm-table-wrap { overflow-x: auto; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); }
.sm-ptable { width: 100%; border-collapse: collapse; min-width: 640px; font-variant-numeric: tabular-nums; }
.sm-ptable th, .sm-ptable td { padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--sm-line); text-align: right; white-space: nowrap; }
.sm-ptable thead th { background: var(--sm-soft); font-weight: 600; color: var(--sm-ink); font-size: 0.9rem; }
.sm-ptable th[scope="row"], .sm-ptable thead th:first-child { text-align: left; }
.sm-ptable th[scope="row"] small { color: var(--sm-muted); font-weight: 400; }
.sm-ptable tbody tr:last-child > * { border-bottom: 0; }
.sm-ptable td small { color: var(--sm-muted); }
.sm-dtable td, .sm-dtable th { text-align: left; }
.sm-table-note { color: var(--sm-muted); font-size: 0.88rem; margin-top: 0.7rem; }

/* ---------- Калькулятор ---------- */
.sm-calc { counter-reset: step; }
.sm-calc-head { margin-bottom: 1.2rem; }
.sm-calc-step { border: 0; padding: 0; margin: 0 0 1.4rem; }
.sm-calc-h { font-family: var(--sm-font-head); font-weight: 600; font-size: 1.02rem; color: var(--sm-ink); margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.55rem; float: none; width: auto; }
.sm-calc-step:not([hidden]) .sm-calc-h > span { counter-increment: step; }
.sm-calc-h > span { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--sm-resin); color: #fff; align-items: center; justify-content: center; font-size: 0.85rem; flex: none; }
.sm-calc-h > span::before { content: counter(step); }
.sm-opts { display: grid; gap: 0.5rem; }
.sm-opts-2 { grid-template-columns: repeat(2, 1fr); }
.sm-opts-3 { grid-template-columns: repeat(3, 1fr); }
.sm-opts-5 { grid-template-columns: repeat(5, 1fr); }
.sm-opts-size { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 767.98px) { .sm-opts-size, .sm-opts-5 { grid-template-columns: repeat(3, 1fr); } .sm-opts-2 { grid-template-columns: 1fr; } }
.sm-opt { position: relative; margin: 0; cursor: pointer; }
.sm-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sm-opt-box { display: flex; align-items: center; gap: 0.55rem; height: 100%; border: 2px solid var(--sm-line); background: #fff; border-radius: 12px; padding: 0.5rem 0.6rem; transition: border-color 0.15s, box-shadow 0.15s; }
.sm-opt-box img { width: 40px; height: auto; flex: none; }
.sm-opts-2 .sm-opt-box img { width: 56px; }
.sm-opt-box b { display: block; font-weight: 600; font-size: 0.92rem; color: var(--sm-ink); line-height: 1.2; }
.sm-opt-box small { display: block; color: var(--sm-muted); font-size: 0.78rem; line-height: 1.25; }
.sm-opt-shape .sm-opt-box { flex-direction: column; text-align: center; gap: 0.3rem; padding: 0.5rem 0.3rem; }
.sm-opt-shape .sm-opt-box img { width: 36px; }
.sm-opts-size .sm-opt-box { flex-direction: column; text-align: center; gap: 0.25rem; padding: 0.45rem 0.3rem; }
.sm-opts-size .sm-opt-box img { width: 30px; }
.sm-opt:hover .sm-opt-box { border-color: var(--sm-accent2); }
.sm-opt input:checked + .sm-opt-box { border-color: var(--sm-primary); box-shadow: 0 0 0 3px rgba(0, 163, 150, 0.15); background: #f6fffd; }
.sm-opt input:focus-visible + .sm-opt-box { outline: 3px solid var(--sm-accent); outline-offset: 2px; }
.sm-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.sm-chip { position: relative; margin: 0; cursor: pointer; }
.sm-chip > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.sm-chip > span { display: inline-block; border: 2px solid var(--sm-line); border-radius: 999px; padding: 0.4rem 0.95rem; font-weight: 500; font-size: 0.93rem; background: #fff; color: var(--sm-ink); }
.sm-chip:hover > span { border-color: var(--sm-accent2); }
.sm-chip > input:checked + span { border-color: var(--sm-primary); background: var(--sm-primary-strong); color: #fff; }
.sm-chip > input:focus-visible + span { outline: 3px solid var(--sm-accent); outline-offset: 2px; }
.sm-chip-input { display: inline-flex; align-items: center; gap: 0.4rem; border: 2px solid var(--sm-line); border-radius: 999px; padding: 0.2rem 0.35rem 0.2rem 0.9rem; background: #fff; }
.sm-chip-input > span { border: 0 !important; padding: 0 !important; background: none !important; color: var(--sm-muted) !important; }
.sm-chip-input input[type="number"] { width: 92px; border: 0; border-radius: 999px; background: var(--sm-soft); padding: 0.25rem 0.6rem; font: inherit; }
.sm-chip-input:has(input[type="radio"]:checked) { border-color: var(--sm-primary); }
.sm-checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; }
.sm-check { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.sm-check .form-check-input { margin: 0; }
.sm-check small { color: var(--sm-muted); }
.sm-calc-note { color: var(--sm-muted); font-size: 0.86rem; margin: 0.5rem 0 0; }
.sm-calc-city { display: flex; gap: 0.6rem; align-items: baseline; flex-wrap: wrap; }
.sm-suggest { position: relative; max-width: 420px; margin-top: 0.5rem; }
.sm-suggest-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 0.3rem 0; list-style: none; background: #fff; border: 1px solid var(--sm-line); border-radius: 12px; box-shadow: 0 12px 30px rgba(11, 34, 40, 0.12); max-height: 280px; overflow: auto; }
.sm-suggest-list li { padding: 0.45rem 0.9rem; cursor: pointer; }
.sm-suggest-list li small { display: block; color: var(--sm-muted); font-size: 0.8rem; }
.sm-suggest-list li[aria-selected="true"], .sm-suggest-list li:hover { background: var(--sm-soft); }
.sm-sg-none { color: var(--sm-muted); cursor: default !important; }

.sm-calc-res { position: sticky; top: 130px; background: #fff; border-radius: var(--sm-radius-lg); padding: 1.5rem; box-shadow: 0 20px 50px rgba(11, 34, 40, 0.12); border: 1px solid var(--sm-line); }
.sm-calc-res-title { font-family: var(--sm-font-head); font-weight: 600; color: var(--sm-ink); font-size: 1.1rem; }
.sm-calc-res-opts { color: var(--sm-muted); font-size: 0.88rem; margin: 0.2rem 0 1rem; min-height: 1.2em; }
.sm-calc-price { border-top: 1px dashed var(--sm-line); border-bottom: 1px dashed var(--sm-line); padding: 0.9rem 0; margin-bottom: 0.9rem; }
.sm-calc-unit { font-family: var(--sm-font-head); font-weight: 700; font-size: 2.4rem; color: var(--sm-ink); line-height: 1; }
.sm-calc-unit-l { color: var(--sm-muted); font-weight: 600; }
.sm-calc-sum { margin-top: 0.4rem; font-size: 1.05rem; }
.sm-calc-sum b { color: var(--sm-accent-strong); font-size: 1.25rem; }
.sm-calc-lines { list-style: none; padding: 0; margin: 0 0 0.8rem; display: grid; gap: 0.5rem; font-size: 0.93rem; }
.sm-calc-lines li { display: flex; gap: 0.5rem; align-items: flex-start; }
.sm-calc-lines .sm-ic { color: var(--sm-primary-strong); margin-top: 1px; }
.sm-calc-free { margin-bottom: 0.8rem; }
.sm-calc-free-bar { height: 8px; border-radius: 99px; background: var(--sm-soft); overflow: hidden; }
.sm-calc-free-bar span { display: block; height: 100%; background: var(--sm-resin-flow); border-radius: 99px; transition: width 0.3s; }
.sm-calc-free-t { font-size: 0.86rem; color: var(--sm-muted); margin-top: 0.3rem; }
.sm-calc-total { font-size: 1rem; margin-bottom: 0.4rem; }
.sm-calc-warn { background: #fff4f2; border-radius: 10px; padding: 0.55rem 0.75rem; font-size: 0.86rem; color: #7a2a23; }
.sm-calc-bulk-t { font-size: 1rem; }
.sm-calc-fine { color: var(--sm-muted); font-size: 0.8rem; margin: 0.9rem 0 0; }
@media (max-width: 991.98px) { .sm-calc-res { position: static; } }
.sm-calc-bar { position: fixed; z-index: 1020; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--sm-ink); color: #fff; border-radius: 999px; padding: 0.7rem 1.1rem; text-decoration: none; box-shadow: 0 12px 30px rgba(11, 34, 40, 0.35); font-weight: 600; }
.sm-calc-bar[hidden] { display: none; }
.sm-calc-bar b { color: var(--sm-accent); }
.sm-calc-bar:hover { color: #fff; }

.sm-order-sum { background: var(--sm-soft); border-radius: 12px; padding: 0.8rem 1rem; margin-bottom: 1rem; }
.sm-order-sum-t { font-weight: 600; color: var(--sm-ink); }

/* ---------- Доставка и карта ---------- */
.sm-dl-calc { background: #fff; border-radius: var(--sm-radius); padding: 1.3rem; border: 1px solid var(--sm-line); }
.sm-dl-res { margin-top: 1rem; background: var(--sm-soft); border-radius: 12px; padding: 0.8rem 1rem; }
.sm-dl-res.is-error { background: #fff4f2; color: #7a2a23; }
.sm-dl-res small { display: block; color: var(--sm-muted); margin-top: 0.2rem; }
.sm-dl-main { font-family: var(--sm-font-head); font-weight: 600; font-size: 1.2rem; color: var(--sm-ink); }
.sm-map-canvas { height: 420px; border-radius: var(--sm-radius); overflow: hidden; background: linear-gradient(135deg, var(--sm-soft), #fff); border: 1px solid var(--sm-line); }
.modal .sm-map-canvas { height: 60vh; }
.sm-map-ph { width: 100%; height: 100%; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.sm-map-ph-pins { display: flex; gap: 0.6rem; }
.sm-map.is-loading .sm-map-canvas { opacity: 0.7; }
.sm-map-info { font-size: 0.86rem; color: var(--sm-muted); margin-top: 0.5rem; min-height: 1.2em; }
.sm-bal { font: 14px/1.4 var(--sm-font-text); max-width: 260px; }
.sm-bal-head { font-weight: 700; margin-bottom: 0.2rem; }
.sm-bal-row { color: #555; margin-top: 0.15rem; }

/* ---------- Подвал ---------- */
.sm-footer { background: var(--sm-dark); color: #cfe3e0; padding: 56px 0 28px; font-size: 0.95rem; }
.sm-footer a { color: #fff; text-decoration: none; }
.sm-footer a:hover { color: var(--sm-accent2); }
.sm-footer-lead { color: #a9c9c5; max-width: 360px; }
.sm-footer-h { font-family: var(--sm-font-head); font-weight: 600; color: #fff; margin-bottom: 0.6rem; font-size: 0.95rem; }
.sm-footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.sm-footer-phone { font-weight: 700; font-size: 1.15rem; }
.sm-footer-msg { display: flex; gap: 1rem; flex-wrap: wrap; }
.sm-footer-msg a { display: inline-flex; gap: 0.35rem; align-items: center; color: var(--sm-accent2); }
.sm-footer .sm-link-btn { color: var(--sm-accent2); }
.sm-footer-city { background: rgba(255, 255, 255, 0.08); color: #fff; border: 0; border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.9rem; }
.sm-footer-city:hover { background: rgba(255, 255, 255, 0.16); }
.sm-footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; }
.sm-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 0.6rem 2rem; flex-wrap: wrap; font-size: 0.85rem; color: #93b6b2; }
.sm-footer-legal { display: flex; gap: 0.4rem 1.2rem; flex-wrap: wrap; }
.sm-footer-legal a { color: #b9d6d2; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Город, подсказка, cookie ---------- */
.sm-city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.4rem; }
.sm-city-opt { display: block; padding: 0.55rem 0.8rem; border-radius: 10px; text-decoration: none; color: var(--sm-ink); border: 1px solid var(--sm-line); }
.sm-city-opt:hover { background: var(--sm-soft); color: var(--sm-ink); }
.sm-city-opt[aria-current="true"] { border-color: var(--sm-primary); background: #f0fbf9; font-weight: 600; }
.sm-geo-hint { position: fixed; z-index: 1040; right: 16px; bottom: 16px; background: #fff; border-radius: var(--sm-radius); box-shadow: 0 18px 40px rgba(11, 34, 40, 0.22); padding: 0.9rem 1rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; max-width: calc(100vw - 32px); border: 1px solid var(--sm-line); }
.sm-geo-hint[hidden] { display: none; }
.sm-geo-hint-acts { display: flex; gap: 0.4rem; }
.sm-cookie { position: fixed; z-index: 1035; left: 0; right: 0; bottom: 0; background: rgba(11, 34, 40, 0.96); color: #dceeed; padding: 0.8rem 0; font-size: 0.88rem; }
.sm-cookie[hidden] { display: none; }
.sm-cookie-in { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.sm-cookie p { margin: 0; }
.sm-cookie a { color: var(--sm-accent2); }
@media (max-width: 575.98px) { .sm-cookie-in { flex-direction: column; align-items: stretch; } }

/* ---------- Формы ---------- */
.modal-content { border-radius: var(--sm-radius-lg); border: 0; }
.modal-title { font-family: var(--sm-font-head); font-weight: 600; color: var(--sm-ink); }
.form-control, .form-select { border-radius: 10px; border-color: var(--sm-line); padding: 0.55rem 0.8rem; }
.form-control:focus, .form-select:focus { border-color: var(--sm-primary); box-shadow: 0 0 0 3px rgba(0, 163, 150, 0.18); }
.form-label { font-weight: 500; font-size: 0.92rem; color: var(--sm-ink); }
.form-check-input:checked { background-color: var(--sm-primary-strong); border-color: var(--sm-primary-strong); }
.sm-consent { margin-top: 1rem; font-size: 0.86rem; }

/* ---------- Контентные страницы (40В) ---------- */
.sm-prose p { margin-bottom: 0.9rem; }
.sm-prose ul, .sm-prose ol { padding-left: 1.2rem; margin-bottom: 1rem; }
.sm-prose li { margin-bottom: 0.4rem; }
.sm-prose h3 { font-size: 1.12rem; font-weight: 600; margin: 1.4rem 0 0.6rem; }
.sm-prose li::marker { color: var(--sm-primary-strong); }
.sm-sec-dark .sm-prose a { color: var(--sm-accent2); }
.sm-hero-pic { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); aspect-ratio: 4 / 3; object-fit: cover; }
.sm-card-img { display: block; width: calc(100% + 2.6rem); max-width: none; margin: -1.3rem -1.3rem 1rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--sm-radius) var(--sm-radius) 0 0; }
.sm-card:has(.sm-card-img) { overflow: hidden; }
.sm-card-ic3d { display: block; width: 72px; height: 72px; border-radius: 18px; margin-bottom: 0.8rem; object-fit: cover; }
.sm-card-link { position: relative; transition: box-shadow 0.2s, transform 0.2s; }
.sm-card-link:hover { box-shadow: 0 14px 30px rgba(11, 34, 40, 0.1); transform: translateY(-2px); }
.sm-card-link .sm-card-t a { color: inherit; text-decoration: none; }
.sm-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; counter-reset: st; }
.sm-step { counter-increment: st; background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); padding: 1.1rem 1.1rem 1.2rem; position: relative; }
.sm-step::after { content: counter(st); position: absolute; top: 0.8rem; right: 1rem; font-family: var(--sm-font-head); font-weight: 700; font-size: 1.4rem; color: rgba(0, 117, 108, 0.35); }
.sm-step-ic { display: block; width: 64px; height: 64px; border-radius: 16px; margin-bottom: 0.7rem; object-fit: cover; }
.sm-step-n { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--sm-resin); margin-bottom: 0.7rem; box-shadow: inset -3px -5px 8px rgba(0, 60, 55, 0.3), inset 3px 4px 6px rgba(255, 255, 255, 0.45); }
.sm-step-t { font-family: var(--sm-font-head); font-weight: 600; color: var(--sm-ink); margin-bottom: 0.35rem; line-height: 1.25; }
.sm-step-d { margin: 0; color: var(--sm-muted); font-size: 0.93rem; }
.sm-table-wrap-white { background: #fff; }
.sm-ctable { min-width: 0; }
.sm-ctable-wide { min-width: 640px; }
@media (max-width: 575.98px) { .sm-ctable:not(.sm-ctable-wide) th, .sm-ctable:not(.sm-ctable-wide) td { padding: 0.55rem 0.6rem; font-size: 0.92rem; } }
.sm-ctable th, .sm-ctable td { text-align: left; white-space: normal; vertical-align: top; }
.sm-ctable th[scope="row"] { font-weight: 600; color: var(--sm-ink); }
.sm-subs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 991.98px) { .sm-subs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .sm-subs { grid-template-columns: repeat(2, 1fr); } }
.sm-sub { margin: 0; background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); overflow: hidden; }
.sm-sub img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sm-sub figcaption { padding: 0.7rem 0.8rem 0.85rem; font-size: 0.88rem; color: var(--sm-muted); line-height: 1.35; }
.sm-sub figcaption b { display: block; color: var(--sm-ink); font-family: var(--sm-font-head); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.sm-samples-img { width: 200px; height: auto; border-radius: var(--sm-radius); flex: none; }
.sm-samples > div { flex: 1 1 360px; }
@media (max-width: 767.98px) { .sm-samples-img { width: 100%; max-width: 320px; } }
.sm-ba { position: relative; max-width: 720px; aspect-ratio: 4 / 3; border-radius: var(--sm-radius-lg); overflow: hidden; user-select: none; touch-action: pan-y; box-shadow: 0 20px 50px rgba(11, 34, 40, 0.14); }
.sm-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-ba-top { clip-path: inset(0 calc(100% - var(--ba, 50%)) 0 0); }
.sm-ba-line { position: absolute; top: 0; bottom: 0; left: var(--ba, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); pointer-events: none; }
.sm-ba-line::after { content: '⇆'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--sm-ink); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.sm-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.sm-ba-lbl { position: absolute; bottom: 12px; padding: 0.25rem 0.7rem; border-radius: 999px; background: rgba(11, 34, 40, 0.75); color: #fff; font-size: 0.82rem; font-weight: 600; pointer-events: none; }
.sm-ba-lbl-l { left: 12px; }
.sm-ba-lbl-r { right: 12px; }
.sm-contacts-table { min-width: 0; }
.sm-contacts-table td a[href^="tel"] { white-space: nowrap; }
@media (max-width: 575.98px) {
  .sm-contacts-table thead { display: none; }
  .sm-contacts-table tr { display: block; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--sm-line); }
  .sm-contacts-table tbody tr:last-child { border-bottom: 0; }
  .sm-contacts-table th, .sm-contacts-table td { display: block; border: 0 !important; padding: 0.1rem 0; text-align: left; }
}

/* ---------- Подменю ---------- */
.sm-nav-dd .dropdown-toggle::after { vertical-align: 0.15em; margin-left: 0.35em; }
.sm-nav-btn.is-current { color: var(--sm-primary-strong); }
.sm-dd { border: 1px solid var(--sm-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(11, 34, 40, 0.14); padding: 0.4rem; min-width: 260px; }
.sm-dd .dropdown-item { border-radius: 8px; padding: 0.5rem 0.8rem; font-size: 0.95rem; color: var(--sm-ink); }
.sm-dd .dropdown-item:hover, .sm-dd .dropdown-item[aria-current="page"] { background: var(--sm-soft); color: var(--sm-primary-strong); }
@media (min-width: 992px) and (max-width: 1199.98px) { .sm-nav-list { gap: 0.2rem 1.1rem; } .sm-nav-list a, .sm-nav-btn { font-size: 0.76rem; letter-spacing: 0.04em; } }
@media (max-width: 991.98px) { .sm-dd { position: static !important; transform: none !important; box-shadow: none; border: 0; padding: 0 0 0.4rem 0.6rem; } }
.sm-footer-links { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.sm-footer-links .sm-footer-nav { flex-direction: column; gap: 0.35rem; }

/* ---------- Документы, 404 ---------- */
.sm-legal { max-width: 860px; }
.sm-legal h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin-bottom: 1rem; }
.sm-legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.sm-404 { font-family: var(--sm-font-head); font-weight: 700; font-size: 5rem; line-height: 1; background: var(--sm-resin-flow); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.5rem; }
.sm-card-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; }
.sm-card-row .sm-card-t { margin: 0; }
.sm-card-row .sm-tile-btn { margin: 0; flex: none; }
.sm-contacts-list li { align-items: flex-start; }

/* ---------- Видео (40Г) ---------- */
.sm-hero-video { position: relative; border-radius: var(--sm-radius-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); aspect-ratio: 16 / 9; background: #0b2228; }
.sm-hero-video img, .sm-hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-hero-video video { opacity: 0; transition: opacity 0.6s ease; }
.sm-hero-video.is-playing video { opacity: 1; }
@media (max-width: 991.98px) { .sm-hero-video { aspect-ratio: 1 / 1; max-height: 460px; max-width: 460px; margin: 0 auto; } }
.sm-film { position: relative; border-radius: var(--sm-radius-lg); overflow: hidden; background: #0b2228; aspect-ratio: 16 / 9; box-shadow: 0 20px 50px rgba(11, 34, 40, 0.18); }
.sm-film video { width: 100%; height: 100%; display: block; object-fit: cover; }
.sm-loop { margin: 0; }
.sm-loop video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; border-radius: var(--sm-radius); background: #0b2228; object-fit: cover; }
.sm-loop figcaption { margin-top: 0.6rem; font-weight: 600; color: var(--sm-ink); }
.sm-h3 { font-family: var(--sm-font-head); font-weight: 600; font-size: 1.05rem; color: var(--sm-ink); margin: 0 0 0.8rem; }
.sm-points { columns: 2; column-gap: 1.5rem; padding-left: 1.1rem; margin: 0; font-size: 0.95rem; }
.sm-points li { break-inside: avoid; margin-bottom: 0.35rem; }
.sm-points span { color: var(--sm-muted); }
@media (max-width: 575.98px) { .sm-points { columns: 1; } }
