:root {
  /* --dark/--dark-2 остались "тёмными" только по имени переменной — их
     значения теперь светло-серые (2026-07-06, по правке пользователя:
     светло-серый вместо чёрного, яркий зелёный вместо приглушённого). */
  --dark: #e9ebe6;
  --dark-2: #dde1d7;
  --accent: #16a34a;
  --accent-light: #dcf5e3;
  --accent-dark: #128a3e;
  --text: #1a1a1a;
  --text-muted: #62666f;
  --bg: #ffffff;
  --bg-alt: #f5f6f3;
  --border: #e0e3dd;
  --danger: #a32d2d;
  --danger-bg: #fcebeb;
  --warn-bg: #fff1d6;
  --warn-text: #6b4700;
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  margin: 0;
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }

/* ---------- header ---------- */
header {
  background: var(--dark);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.logo-mark { width: 24px; height: 24px; flex-shrink: 0; object-fit: contain; }

nav { display: flex; align-items: center; gap: 28px; }
nav a.navlink {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}
nav a.navlink:hover { color: var(--text); }

/* Дропдауны меню (IA этап 1+, 2026-07-14, задача #21): на десктопе
   раскрываются НАВЕДЕНИЕМ (просьба Максима), «О сервисе» — ещё и кликом */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-drop-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--text-muted); font-size: 14px; font-family: inherit;
  display: flex; align-items: center; gap: 4px;
}
.nav-drop-btn:hover { color: var(--text); }
.drop-caret { font-size: 10px; }
.nav-drop-menu {
  /* внешний слой прозрачный: padding-top — «мостик», чтобы hover не
     обрывался в зазоре между пунктом меню и коробкой */
  display: none; position: absolute; top: 100%; left: -18px;
  padding-top: 14px; z-index: 20;
}
.nav-drop-inner {
  display: flex; flex-direction: column; gap: 12px; min-width: 230px;
  background: var(--dark); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 18px; box-shadow: 0 12px 28px rgba(0,0,0,.3);
}
.nav-dropdown.open .nav-drop-menu { display: block; }
@media (min-width: 861px) {
  .nav-dropdown:hover .nav-drop-menu,
  .nav-dropdown:focus-within .nav-drop-menu { display: block; }
}

/* Бургер (виден только на узких экранах) */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0; margin-left: auto;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  header { padding: 0 20px; }
  .nav-toggle { display: flex; }
  nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark); border-top: 1px solid var(--border);
    padding: 6px 20px 14px; display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
  }
  header.nav-open nav { display: flex; }
  nav a.navlink, nav .account-chip { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
  nav > a.btn { margin: 12px 0; text-align: center; }
  /* дропдаун в мобильном меню разворачивается на месте, без всплывашки */
  .nav-dropdown { position: static; flex-direction: column; align-items: stretch; }
  .nav-drop-btn {
    padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--border);
    width: 100%; justify-content: space-between;
  }
  .nav-drop-menu { position: static; padding: 0; }
  .nav-drop-inner {
    border: none; box-shadow: none; border-radius: 0;
    padding: 0 0 0 14px; min-width: 0; background: none; gap: 0;
  }
  /* в мобильном меню иконки превращаются в обычные строки с подписью */
  .nav-icon-label { display: inline; }
  .nav-icon .cart-badge { position: static; }
}
.account-chip { display: flex; align-items: center; gap: 8px; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
}
.cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
}

/* Иконки-ссылки в шапке (корзина/кабинет/выход): компактно, подпись скрыта
   на десктопе и показывается строкой в мобильном меню. */
.nav-icon { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.nav-icon .cart-badge { position: absolute; top: -7px; right: -9px; }
.nav-icon-label { display: none; }

/* Таймлайн статуса заказа — ГОРИЗОНТАЛЬНЫЙ (шаги в ряд, линия между точками) */
.timeline {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; overflow-x: auto;
}
.timeline-step {
  flex: 1 1 0; min-width: 72px; position: relative;
  text-align: center; padding-top: 22px;
}
/* соединяющая линия слева — от точки предыдущего шага к точке текущего */
.timeline-step::before {
  content: ""; position: absolute; top: 6px; left: -50%;
  width: 100%; height: 2px; background: var(--border); z-index: 0;
}
.timeline-step:first-child::before { display: none; }
.timeline-step.reached::before { background: var(--accent); }
.timeline-step .dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border); z-index: 1;
}
.timeline-step.reached .dot { background: var(--accent); border-color: var(--accent); }
.timeline-step.current .dot { box-shadow: 0 0 0 4px var(--accent-light); }
.timeline-step .t-label {
  font-size: 12px; line-height: 1.25; margin-top: 8px; padding: 0 4px;
  color: var(--text-muted);
}
.timeline-step.reached .t-label { color: var(--text); font-weight: 600; }
.timeline-step .t-date { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  /* прозрачная 1px-рамка — чтобы обычная и .btn-secondary (с рамкой) кнопки
     были ОДНОГО размера; line-height/box-sizing — чтобы <a> и <button> совпадали */
  border: 1px solid transparent;
  box-sizing: border-box;
  line-height: 1.4;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--accent-dark); }
.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-dark { background: #fff; color: var(--text); }
/* вторичная кнопка на тёмном хиро выглядела «заблокированной» (фидбек
   беты 2026-07-13, двое) — даём непрозрачный фон и жирный тёмный текст */
.btn-secondary.btn-dark { background: rgba(255,255,255,.96); color: #1c2b24; border: 1.5px solid #fff; font-weight: 600; }
.btn-secondary.btn-dark:hover { background: #fff; color: var(--accent-dark); border-color: #fff; }

/* ---------- layout ---------- */
/* прилипающий подвал: на коротких страницах (пустой кабинет) серый
   footer висел в середине экрана (фидбек беты 2026-07-13) */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { max-width: 100%; margin: 0; padding: 0; flex: 1 0 auto; }
footer { margin-top: auto; }
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }

/* ---------- hero ---------- */
.hero {
  background: var(--dark);
  color: var(--text);
  padding: 64px 32px 0;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 420px; padding-bottom: 64px; }
.hero-text .eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.hero-text h1 { font-size: 42px; line-height: 1.15; margin: 0 0 18px; font-weight: 700; }
.hero-text p.lead { color: var(--text-muted); font-size: 17px; max-width: 480px; }
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image { flex: 1 1 420px; text-align: center; padding-bottom: 64px; align-self: center; }
.hero-image img {
  width: 100%;
  max-width: 480px;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* ---------- слайдер главных фишек на главной ----------
   Редизайн 2026-07-09 (запрос: «яркое пятно, супердизайнерски»): сайт
   светлый и аскетичный, слайдер — контрастная ТЁМНАЯ витрина с изумрудным
   свечением и глянцевым 3D. Всё скоуплено под .hero-slider, чтобы не
   задеть hero на лендингах. */
.hero-slider {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 78% 12%, rgba(22, 163, 74, .28), transparent 62%),
    radial-gradient(700px 420px at 8% 88%, rgba(45, 212, 191, .14), transparent 60%),
    linear-gradient(160deg, #12181f 0%, #0c1117 55%, #0a0e13 100%);
  color: #f2f4f7;
}
/* медленно плывущее пятно света — «живой» фон без видео */
.hero-slider::before {
  content: ""; position: absolute; width: 560px; height: 560px;
  left: 52%; top: -220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(22, 163, 74, .20), transparent 65%);
  animation: hero-glow 14s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  from { transform: translate(-60px, 0) scale(1); }
  to   { transform: translate(80px, 60px) scale(1.25); }
}
.hero-slider .hero { background: transparent; color: #f2f4f7; }
.hero-slider .hero-text h1 { color: #fff; }
.hero-slider .hero-text .eyebrow {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: rgba(22, 163, 74, .16); border: 1px solid rgba(22, 163, 74, .45);
  color: #4ade80; margin-bottom: 16px;
}
.hero-slider .hero-text p.lead { color: #aeb7c2; }
.hero-slider .btn-secondary { border-color: rgba(255, 255, 255, .28); color: #e8ebef; }
/* фидбек беты 2026-07-13: «Как это работает» выглядела заблокированной —
   правило выше красило текст в светло-серый поверх белого фона .btn-dark */
.hero-slider .btn-secondary.btn-dark { color: #1c2b24; border-color: #fff; }
.hero-slider .btn-secondary.btn-dark:hover { color: var(--accent-dark); }
.hero-slider .hero-image img,
.hero-slider .hero-image video {
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}
.hero-slider .hero-image video {
  width: 100%; max-width: 520px; height: 340px;
  object-fit: cover; display: block; margin: 0 auto;
}
.hero-slider .hero-slide {
  opacity: 0; visibility: hidden;
  transition: opacity 1.4s ease; /* медленный, спокойный переход */
  position: absolute; inset: 0;
}
.hero-slider .hero-slide.active {
  opacity: 1; visibility: visible; position: relative;
}
/* текст активного слайда мягко всплывает, с лесенкой задержек */
.hero-slider .hero-slide.active .hero-text > * {
  animation: hero-in .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-slider .hero-slide.active .hero-text > :nth-child(2) { animation-delay: .12s; }
.hero-slider .hero-slide.active .hero-text > :nth-child(3) { animation-delay: .24s; }
.hero-slider .hero-slide.active .hero-text > :nth-child(4) { animation-delay: .36s; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
/* 3D-эволюция на слайде генеративного дизайна */
.evo-wrap { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.evo-wrap canvas { width: 100%; height: 340px; display: block; }
.evo-caption {
  position: absolute; left: 12px; bottom: 10px;
  font-size: 12px; color: #9aa4b0; display: flex; align-items: center; gap: 8px;
}
.evo-caption .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, .9);
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.evo-badge {
  position: absolute; right: 8px; top: 8px;
  background: rgba(22, 163, 74, .18); border: 1px solid rgba(22, 163, 74, .5);
  color: #4ade80; font-weight: 700; font-size: 14px;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 16px;
  display: flex; justify-content: center; gap: 8px; z-index: 5;
}
.hero-dots button {
  width: 26px; height: 6px; border-radius: 999px; border: none; padding: 0;
  background: rgba(255, 255, 255, .22); cursor: pointer;
  transition: background .3s, width .3s;
}
.hero-dots button.active { background: var(--accent); width: 44px; }

.stats-bar {
  background: var(--dark-2);
  color: var(--text);
  display: flex;
  justify-content: center;
  gap: 56px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.stats-bar .stat { text-align: center; }
.stats-bar .stat b { display: block; font-size: 22px; color: var(--accent); }
.stats-bar .stat span { font-size: 13px; color: var(--text-muted); }

/* ---------- sections ---------- */
section.block { padding: 64px 24px; }
section.block.alt { background: var(--bg-alt); }
h2.section-title { font-size: 28px; text-align: center; margin: 0 0 8px; }
p.section-sub { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.step { text-align: center; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin: 0 auto 14px;
}
.step h3 { font-size: 17px; margin: 0 0 6px; }
.step p { color: var(--text-muted); font-size: 14px; margin: 0; }

.live-price {
  background: var(--accent-light); border: 1px solid var(--accent);
  border-radius: 10px; padding: 16px 20px; margin: 20px 0;
}
.live-price-main { font-size: 30px; font-weight: 700; color: var(--accent-dark); }
.live-price-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.live-price-hint { font-size: 13px; color: var(--danger); margin-top: 8px; }

/* Ожидание цены (отзыв 2026-07-20: «неясно, когда и появится ли цена»).
   Полоса неопределённая — время зависит от размера файла, врать процентами
   не будем; важно показать, что процесс идёт и цена будет. */
.live-price.is-waiting .live-price-main { color: var(--text-muted); font-size: 20px; }
.price-bar {
  height: 4px; border-radius: 2px; margin-top: 10px; overflow: hidden;
  /* Не color-mix(): html2canvas 1.4.1 не разбирает современные цветовые
     функции и падает на всей странице — а на нём держится съёмка экрана
     в форме отзывов. Тот же оттенок обычной rgba. */
  background: rgba(22, 163, 74, .22);
}
.price-bar::after {
  content: ""; display: block; height: 100%; width: 40%; border-radius: 2px;
  background: var(--accent); animation: price-slide 1.1s ease-in-out infinite;
}
@keyframes price-slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}
@media (prefers-reduced-motion: reduce) {
  .price-bar::after { animation: none; width: 100%; opacity: .5; }
}

/* Контакты после цены (2026-07-21): два поля в ряд, на телефоне — в столбик */
.contact-grid {
  display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.contact-grid label {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px; color: var(--text-muted);
}
.contact-grid input { width: 100%; }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 960px; margin: 0 auto;
}
.case-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 22px; text-decoration: none; transition: border-color .15s, transform .15s;
}
.case-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.case-thumb { width: 100%; height: 130px; border-radius: 8px; object-fit: cover; display: block; margin-bottom: 6px; }
.case-thumb-empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1px dashed var(--border); color: var(--text-muted);
}
.case-card b { font-size: 16px; color: var(--text); }
.case-card span { font-size: 13px; color: var(--text-muted); }
.case-card .case-go { color: var(--accent); font-weight: 600; margin-top: auto; }

.examples-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 900px; margin: 0 auto;
}
.example-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; text-align: center;
}
.example-card img { width: 100%; height: 170px; object-fit: cover; border-radius: 8px; display: block; margin: 0 auto 12px; }
.example-card b { display: block; font-size: 15px; margin-bottom: 4px; }
.example-card span { font-size: 13px; color: var(--text-muted); }
.example-placeholder {
  width: 100%; height: 170px; border-radius: 8px; margin-bottom: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-alt); border: 1px dashed var(--border); color: var(--text-muted);
}
.example-placeholder span { font-size: 12px; }

.materials-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px;
  max-width: 1000px; margin: 0 auto; align-items: center;
}
.materials-grid img { width: 100%; border-radius: 10px; display: block; }
.materials-list { list-style: none; margin: 0; padding: 0; }
.materials-list li {
  padding: 12px 0; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; font-size: 15px;
}
.materials-list li b { color: var(--text); }
.materials-list li span { color: var(--text-muted); text-align: right; padding-left: 12px; }

/* Возможности — карточки */
.caps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 960px; margin: 0 auto;
}
.cap {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px;
  display: block; color: inherit; text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.cap:hover {
  border-color: var(--accent); box-shadow: 0 6px 18px rgba(0, 0, 0, .07);
  transform: translateY(-2px);
}
.cap h3 { margin: 0 0 8px; font-size: 17px; }
.cap p { margin: 0; font-size: 14px; color: var(--text-muted); }
.cap p a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.cap-more {
  display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600;
  color: var(--accent);
}
a.cap:hover .cap-more { text-decoration: underline; }

/* Таблица сравнения материалов (лендинг прочности) */
.compare-wrap { max-width: 960px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.compare-table th, .compare-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--bg-alt); font-size: 12px; color: var(--text-muted); font-weight: 700; }
.compare-table tbody tr:hover { background: var(--bg-alt); }
.compare-table .pos { color: var(--accent-dark); font-weight: 600; }
.compare-table .mid { color: var(--warn-text); }
.compare-table .neg { color: var(--danger); }
.compare-ref td { color: var(--text-muted); font-size: 13px; font-style: italic; background: var(--bg-alt); }
.compare-ref tr:last-child td { border-bottom: none; }

/* Блок расчёта нагрузки */
.calc-box {
  max-width: 760px; margin: 0 auto; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; padding: 26px;
}
.calc-given { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin-bottom: 20px; }
.calc-given > div { display: flex; flex-direction: column; }
.calc-given span { font-size: 12px; color: var(--text-muted); }
.calc-given b { font-size: 15px; }
.calc-given b em { font-style: normal; font-weight: 400; color: var(--text-muted); font-size: 12px; }
.calc-formula {
  background: var(--accent-light); border: 1px solid var(--accent); border-radius: 8px;
  padding: 16px 18px; font-family: "Consolas", "SF Mono", monospace; font-size: 15px;
  color: var(--text); overflow-x: auto; margin-bottom: 18px;
}
.calc-formula b { color: var(--accent-dark); }
.calc-box > p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 520px) { .calc-given { grid-template-columns: 1fr; } }

/* Список кейсов на лендинге — «С чем к нам приходят» */
.scenario-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px;
}
.scenario-list li {
  position: relative; padding-left: 26px;
  font-size: 15px; color: var(--text); line-height: 1.45;
}
.scenario-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
@media (max-width: 640px) {
  .scenario-list { grid-template-columns: 1fr; }
}

/* Буллеты лендинга — галочка слева вплотную к тексту (не space-between) */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative; padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--border);
  font-size: 16px; color: var(--text); line-height: 1.5;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 12px;
  color: var(--accent); font-weight: 700; font-size: 16px;
}

/* Сетка примеров на лендинге — 4 карточки */
.landing-examples { grid-template-columns: repeat(4, 1fr); max-width: 1120px; }
@media (max-width: 900px) { .landing-examples { grid-template-columns: repeat(2, 1fr); max-width: 620px; } }
@media (max-width: 520px) { .landing-examples { grid-template-columns: 1fr; max-width: 340px; } }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.testimonial {
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px;
}
.testimonial .quote { font-size: 14px; color: var(--text); margin-bottom: 16px; }
.testimonial .author { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.testimonial .placeholder-tag {
  display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted); background: var(--bg-alt); padding: 2px 8px; border-radius: 4px; margin-bottom: 10px;
}

.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { color: var(--text-muted); font-size: 14px; margin-top: 10px; padding-right: 24px; }

.cta-band {
  background: var(--accent); color: #fff; text-align: center; padding: 56px 24px;
}
.cta-band h2 { margin: 0 0 10px; font-size: 26px; }
.cta-band p { margin: 0 0 24px; color: #e2ebe3; }

footer {
  background: var(--dark);
  color: var(--text-muted);
  padding: 40px 32px 24px;
  font-size: 13px;
}
footer .foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; max-width: 1100px; margin: 0 auto; }
footer .foot-col h4 { color: var(--text); font-size: 13px; margin: 0 0 10px; }
footer .foot-col a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 6px; }
footer .foot-col a:hover { color: var(--text); }
footer .copyright { text-align: center; margin-top: 32px; color: var(--text-muted); }

@media (max-width: 720px) {
  .hero { flex-direction: column; padding: 40px 20px 0; gap: 28px; }
  .hero-text, .hero-image { padding-bottom: 32px; }
  .steps, .materials-grid, .testimonials, .examples-grid, .cases-grid, .caps-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 30px; }
  .hero-image img { height: 240px; }
  section.block { padding: 44px 20px; }
  h2.section-title { font-size: 24px; }
  .cta-band { padding: 44px 20px; }
}

/* ---------- order flow (existing pages) ---------- */
h1 { font-size: 28px; margin-bottom: 8px; }
p.lead { color: var(--text-muted); font-size: 16px; }

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 600px) { .method-grid { grid-template-columns: 1fr; } }

.site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 600px) { .site-grid { grid-template-columns: repeat(2, 1fr); } }

.site-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 10px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s;
}
.site-card:hover { border-color: var(--accent); }
.site-card img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.site-card span { font-size: 13px; font-weight: 600; text-align: center; }

.method-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s;
}
.method-card:hover { border-color: var(--accent); }
.method-card h3 { margin: 0 0 6px; font-size: 17px; }
.method-card p { margin: 0; font-size: 14px; color: var(--text-muted); }
.method-card .badge {
  display: inline-block; font-size: 11px; background: var(--accent-light); color: var(--accent-dark);
  padding: 2px 8px; border-radius: 10px; margin-bottom: 8px;
}
.method-card .badge.soon { background: var(--bg-alt); color: var(--text-muted); }

.parts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 600px) { .parts-grid { grid-template-columns: 1fr; } }

.part-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.part-card h3 { margin: 0 0 6px; font-size: 17px; }
.part-card .part-desc { margin: 0 0 4px; font-size: 13px; color: var(--text-muted); }
.part-card label { margin: 14px 0 6px; }
.part-card .part-price {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.part-card .part-price-amount { display: block; font-size: 26px; font-weight: 700; color: var(--accent); }
.part-card .part-price-sub { font-size: 12px; color: var(--text-muted); }
.part-card .btn { display: block; text-align: center; margin-top: 14px; }

form { margin-top: 24px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
/* email/tel/password/search добавлены 2026-07-21: правило перечисляло типы
   поимённо и эти четыре пропускало — поля входа, регистрации, сброса пароля
   и кабинета организации рисовались браузерными «по умолчанию» (высота 21 px
   против 41 у остальных). Замечено при вёрстке контактов после цены. */
input[type="text"], input[type="number"], input[type="file"],
input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 15px; font-family: inherit;
}
textarea { min-height: 110px; }
.dims-row { display: flex; gap: 12px; }
.dims-row > div { flex: 1; }

.instructions { background: var(--accent-light); border-radius: 8px; padding: 16px 20px; margin-top: 20px; font-size: 14px; }
.instructions ol { margin: 8px 0 0; padding-left: 20px; }

/* флеш — нейтральное информирование, НЕ ошибка (фидбек беты 2026-07-13:
   «письмо отправлено» красным читалось как сбой) */
.flash { background: var(--accent-light); color: var(--accent-dark); border: 1px solid #b8e6c5; padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.notice { background: var(--warn-bg); color: var(--warn-text); padding: 12px 16px; border-radius: 6px; font-size: 13px; margin: 20px 0; }

.price-box { border: 1px solid var(--border); border-radius: 10px; padding: 28px; text-align: center; margin-top: 20px; }
.price-box .amount { font-size: 40px; font-weight: 700; color: var(--accent); }
.price-box .sub { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

table.breakdown { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
table.breakdown td { padding: 8px 0; border-bottom: 1px solid var(--border); }
table.breakdown td:last-child { text-align: right; }

/* Сводная табличка «Цена и сроки» одной таблицей, в рамке */
table.order-summary {
  width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 14px;
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
table.order-summary th, table.order-summary td {
  padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left;
}
table.order-summary th { background: var(--bg-alt); font-size: 12px; color: var(--text-muted); font-weight: 600; }
table.order-summary th:not(:first-child), table.order-summary td:not(:first-child) { text-align: right; }
table.order-summary tr:last-child th, table.order-summary tr:last-child td { border-bottom: none; }

/* Миниатюра заказа (фото/превью STL) — одинаковая везде */
/* Миниатюры фото заказа (детальная страница, staff) — маленькие, не в
   натуральную величину (иначе фото 960px ломает вёрстку). */
.staff-photos { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.staff-photos img { width: 90px; height: 90px; object-fit: cover; border-radius: 8px; display: block; }

.clickable-card { cursor: pointer; transition: border-color .12s; }
.clickable-card:hover { border-color: var(--accent); }
.order-thumb { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.order-thumb-stl { object-fit: contain; background: var(--bg-alt); }
.order-thumb-empty {
  width: 60px; height: 60px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1px dashed var(--border); color: var(--text-muted);
}
/* ---------- многоформатная загрузка 3D-файла (/order/file) ---------- */
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 6px; text-align: center; padding: 36px 20px 28px; margin-top: 8px;
  border: 2px dashed var(--border); border-radius: 12px;
  background: var(--bg-alt); color: var(--text-muted); cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.dropzone:hover { border-color: var(--accent); }
.dropzone.drag {
  border-color: var(--accent); background: var(--accent-light);
  transform: scale(1.01);
}
.dropzone svg { color: var(--accent); }
.dropzone b { color: var(--text); font-size: 16px; }
.dropzone .dz-formats { font-size: 12px; }
.dropzone .dz-alt { font-size: 13px; margin-top: 8px; }
.dropzone .dz-alt a { color: var(--accent); font-weight: 600; }

.stages {
  list-style: none; display: flex; gap: 4px; margin: 14px 0 0; padding: 0;
  flex-wrap: wrap;
}
.stages li {
  flex: 1 1 0; min-width: 90px; text-align: center; font-size: 12px;
  color: var(--text-muted); padding: 7px 4px; border-radius: 6px;
  background: var(--bg-alt); border: 1px solid var(--border);
}
.stages li.active { border-color: var(--accent); color: var(--text); }
.stages li.done {
  background: var(--accent-light); border-color: var(--accent);
  color: var(--accent-dark); font-weight: 600;
}
.stages li.done::before { content: "✓ "; }

.convert-card {
  margin-top: 14px; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; background: #fff;
}
.convert-card .cc-head { display: flex; align-items: center; gap: 10px; }
.convert-card .cc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; font-weight: 700; flex-shrink: 0;
  font-size: 14px;
}
.convert-card.cc-ok { border-color: var(--accent); }
.convert-card.cc-ok .cc-icon { background: var(--accent-light); color: var(--accent-dark); }
.convert-card.cc-warn { border-color: #d9a514; }
.convert-card.cc-warn .cc-icon { background: var(--warn-bg); color: var(--warn-text); }
.convert-card.cc-err { border-color: var(--danger); }
.convert-card.cc-err .cc-icon { background: var(--danger-bg); color: var(--danger); }
.convert-card .cc-meta { font-size: 13px; color: var(--text-muted); margin: 6px 0 0 34px; }
.convert-card .cc-notes { margin: 6px 0 0 34px; padding: 0 0 0 16px; font-size: 13px; color: var(--text-muted); }
.convert-card .cc-notes li { margin-top: 2px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* онлайн-облегчение на /optimize */
.viewer-busy {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; border-radius: 10px;
  background: rgba(245, 246, 243, .6); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.viewer-busy.on { opacity: 1; }
.busy-ring {
  width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%;
  border: 4px solid var(--accent-light); border-top-color: var(--accent);
  animation: busy-spin 1.1s linear infinite;
}
.busy-text {
  font-size: 15px; font-weight: 600; color: var(--accent-dark);
  animation: busy-pulse 1.8s ease-in-out infinite;
}
@keyframes busy-spin { to { transform: rotate(360deg); } }
@keyframes busy-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.saved-badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  margin-left: 6px; vertical-align: middle;
}
.variant-actions input[type=number] { height: 32px; }

/* ---------- ферма принтеров (/staff/farm) ---------- */
.farm-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px; margin-top: 16px;
}
.farm-card {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
}
.farm-card.st-printing { border-left-color: var(--accent); }
.farm-card.st-idle { border-left-color: #9ca3af; }
.farm-card.st-error { border-left-color: var(--danger); }
.farm-card.st-paused, .farm-card.st-awaiting_unload { border-left-color: #d9a514; }
.farm-card.st-offline, .farm-card.st-maintenance { border-left-color: #4b5563; opacity: .85; }
.farm-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.farm-head b { font-size: 15px; }
.farm-status { font-size: 13px; margin-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.farm-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: inline-block; }
.st-printing .farm-status .dot { background: var(--accent); }
.st-error .farm-status .dot { background: var(--danger); }
.st-paused .farm-status .dot, .st-awaiting_unload .farm-status .dot { background: #d9a514; }
.farm-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.farm-filament {
  font-size: 13px; margin-top: 10px; padding: 6px 10px;
  background: var(--bg-alt); border-radius: 6px;
}
.farm-actions { margin-top: 10px; font-size: 13px; }
.farm-actions summary { cursor: pointer; color: var(--text-muted); }
.farm-actions .farm-form { margin-top: 8px; }
.farm-actions input, .farm-actions select { font-size: 12px; padding: 5px 8px; }

/* Инлайн-форма количества/материала: селект, input и кнопки строго одной
   высоты и на одной линии. margin:0 обязателен — иначе .part-card .btn
   (margin-top:14px) роняет кнопки вниз. Селект добавлен 2026-07-09 (смена
   материала в корзине): без явной высоты глобальный padding селекта делал
   его выше остальных элементов строки — строка «разъезжалась». */
.qty-form input[type=number],
.qty-form select {
  height: 36px; box-sizing: border-box; margin: 0;
  padding-top: 0; padding-bottom: 0; vertical-align: middle;
}
.qty-form .btn {
  height: 36px; margin: 0; padding-top: 0; padding-bottom: 0;
  display: inline-flex; align-items: center; vertical-align: middle;
}

/* --- Инженерный режим на /optimize (ступень 2): мастер креплений и сил --- */
.wiz-btn {
  border: 1px solid var(--border); background: #fff; border-radius: 8px;
  padding: 6px 12px; font-size: 13px; cursor: pointer; color: var(--text);
}
.wiz-btn.on {
  border-color: var(--accent); color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.wiz-row {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 13px; margin-top: 6px;
}
.wiz-row .del {
  cursor: pointer; border: none; background: none; color: var(--danger);
  font-size: 14px; padding: 0 4px;
}
.wiz-bar {
  height: 8px; background: var(--bg-alt); border-radius: 6px;
  margin-top: 8px; overflow: hidden;
}
.wiz-bar-fill {
  height: 100%; width: 0; background: var(--accent); transition: width .5s;
}
.linklike {
  border: none; background: none; color: var(--accent); cursor: pointer;
  text-decoration: underline; padding: 0; font-size: inherit;
}

/* Широкий контейнер результатов /optimize: 3D-вьюер растёт с окном браузера
   (фидбек 2026-07-10 — на весь экран картинка оставалась маленькой) */
.opt-wide { max-width: 1500px; margin: 0 auto; padding: 0 24px 60px; }

/* ---------- виджет обратной связи (#78) ---------- */
#fb-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  background: var(--accent); color: #fff; border: none; border-radius: 999px;
  padding: 11px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transition: transform .15s, box-shadow .15s;
}
#fb-fab:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.22); }
#fb-modal {
  position: fixed; inset: 0; z-index: 950; background: rgba(20, 24, 21, .45);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
/* КРИТИЧНО: display:flex выше побеждает атрибут hidden (баг 2026-07-12:
   окно было открыто у всех с загрузки и не закрывалось) */
#fb-modal[hidden] { display: none; }
.fb-card {
  background: #fff; border-radius: 14px; padding: 20px; width: 100%;
  max-width: 420px; max-height: 92vh; overflow: auto; position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.fb-card h3 { margin: 0 0 12px; font-size: 17px; }
#fb-close {
  position: absolute; top: 10px; right: 12px; border: none; background: none;
  font-size: 16px; cursor: pointer; color: var(--text-muted);
}
#fb-shot { width: 100%; border: 1px solid var(--border); border-radius: 8px; }
.fb-note { font-size: 12px; color: var(--text-muted); margin: 6px 0 10px; min-height: 15px; }
#fb-text {
  width: 100%; box-sizing: border-box; margin: 10px 0; padding: 9px 10px;
  border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 14px;
}
.fb-rec-on { background: #b91c1c !important; color: #fff !important; border-color: #b91c1c !important; }

/* ---------- выбор цвета с кружком (#79) ---------- */
.color-field { display: flex; align-items: center; gap: 10px; }
.color-field select { flex: 1 1 auto; }
.color-swatch {
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--border); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.color-swatch.sw-any {
  background: conic-gradient(#d63b3b, #f2c81c, #2f9e4f, #2f6fed, #8a4fd8, #d63b3b);
}
.color-swatch.sw-clear {
  background:
    linear-gradient(45deg, #e6e6e6 25%, transparent 25%, transparent 75%, #e6e6e6 75%) 0 0/8px 8px,
    linear-gradient(45deg, #e6e6e6 25%, #fff 25%, #fff 75%, #e6e6e6 75%) 4px 4px/8px 8px;
}
.color-swatch.sw-custom {
  background: conic-gradient(from 90deg, #f0862b, #8a4fd8, #2f6fed, #2f9e4f, #f0862b);
  position: relative;
}

/* Универсальный вход на главной (#29, идея Дарьи) */
.universal-intake { background: var(--dark); padding: 26px 20px 30px; border-bottom: 1px solid var(--border); }
.ui-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.ui-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.ui-drop {
  border: 2px dashed var(--accent); border-radius: 14px; padding: 26px 18px;
  background: rgba(46,139,87,.06); cursor: pointer; transition: background .15s, border-color .15s;
  display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.ui-drop:hover, .ui-drop:focus { background: rgba(46,139,87,.12); outline: none; }
.ui-drop.drag { background: rgba(46,139,87,.2); border-color: var(--text); }
.ui-drop b { font-size: 16px; color: var(--text); }
.ui-drop span { font-size: 13px; color: var(--text-muted); }
.ui-text { display: flex; gap: 8px; margin-top: 12px; }
.ui-text input { flex: 1; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border); font-size: 14px; }
.ui-text .btn { white-space: nowrap; }
.ui-status { font-size: 13px; color: var(--accent); min-height: 18px; margin-top: 8px; }
@media (max-width: 560px) { .ui-text { flex-direction: column; } }

/* ---------- блок гарантий для новичка (#31) ---------- */
#guarantees { background: var(--accent-light, #eaf4ec); }
.guarantees-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.guarantee {
  background: #fff; border-radius: 12px; padding: 20px 18px;
  box-shadow: 0 1px 3px rgba(20, 40, 25, .08);
}
.guarantee .g-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.guarantee h3 { font-size: 16px; margin: 0 0 6px; }
.guarantee p { color: var(--text-muted); font-size: 14px; margin: 0; }
@media (max-width: 900px) {
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .guarantees-grid { grid-template-columns: 1fr; }
}

/* принцип «перетащи файл» (2026-07-18): подсветка зоны при перетаскивании */
.drop-target-hover {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
  border-radius: 10px;
}

/* единый вид загрузки файла (2026-07-18): зона вместо системной кнопки */
.dz-zone {
  position: relative; display: inline-flex; align-items: center;
  border: 1.5px dashed var(--border, #c6cdc6); border-radius: 10px;
  padding: 9px 14px; cursor: pointer; font-size: 13px;
  color: var(--text-muted, #667); background: rgba(255,255,255,.6);
  min-width: 230px; transition: border-color .15s, background .15s;
}
.dz-zone:hover { border-color: var(--accent); color: var(--text); }

/* крутилка операций «Подготовки» (2026-07-18) */
.prep-spin {
  display: inline-block; width: 14px; height: 14px;
  border: 2.5px solid #bfe6cb; border-top-color: #16a34a;
  border-radius: 50%; vertical-align: -2px;
  animation: prep-rotate .8s linear infinite;
}
@keyframes prep-rotate { to { transform: rotate(360deg); } }
