/* ==========================================================================
   «Камертон» — лэндинг. Стили (mobile-first).
   Базовый стиль Column (styles.refero.design) + дисциплина Ui: строгий,
   институциональный, минимум декора, без градиентов и маскотов.
   ========================================================================== */

@import url("fonts.css?v=80ddf0f6");

:root {
  /* Палитра (дизайн-спека, раздел 4) */
  --navy: #111a4a;        /* Primary — заголовки, лого, заливные CTA, актив навигации */
  --navy-hover: #0b1138;
  --teal: #167e6c;        /* Accent — маркеры, иконки, данные */
  --teal-soft: rgba(22, 126, 108, 0.10);
  --signal: #c04a16;      /* Signal — только главный CTA */
  --signal-hover: #a83f12;

  --canvas: #f6f6f8;      /* фон-холст */
  --white: #ffffff;       /* карточка */
  --ink: #3b3e47;         /* текст основной (Slate Ink) */
  --steel: #686b74;       /* текст вторичный */
  --line: #e3e4e8;        /* границы-волоски */
  --fog: #a9acb6;         /* подписи/плейсхолдеры */
  --mist: #cbcccf;

  --focus-ring: rgba(22, 126, 108, 0.28);

  /* Типографика (дизайн-спека, раздел 5) */
  --font-sans: "Inter", "SuisseIntl", system-ui, -apple-system, "Helvetica Neue",
    Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SuisseIntlMono", ui-monospace, "SFMono-Regular",
    "Consolas", "Liberation Mono", monospace;

  /* Геометрия */
  --radius: 8px;
  --shadow: 0 1px 2px rgba(17, 26, 74, 0.05), 0 8px 24px rgba(17, 26, 74, 0.06);
  --shadow-hover: 0 2px 6px rgba(17, 26, 74, 0.08), 0 16px 40px rgba(17, 26, 74, 0.10);

  --container: 1200px;
  --gutter: 16px;
}

/* Каркас ТЗ-03: поля 16 моб / 24 десктоп, шапка 64/56, sticky */
@media (min-width: 768px) {
  :root {
    --gutter: 24px;
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease,
    color 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--navy);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--navy-hover);
}

.btn-signal {
  background: var(--signal);
  color: #ffffff;
}

.btn-signal:hover {
  background: var(--signal-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 55px; /* + 1px border-bottom = 56px суммарно (ТЗ-03) */
}

@media (min-width: 768px) {
  .header-inner {
    height: 63px; /* + 1px border-bottom = 64px суммарно (ТЗ-03) */
  }
}

/* ---------- Бренд шапки: канон вордмарка РКС./RKS. (19.11.2026) ---------- */
.brand-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-wm,
.brand-proj {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-wm {
  color: var(--navy);
}

.brand-wm .dot {
  color: #123F7A;
}

.brand-proj {
  color: var(--ink);
}

.brand-wm:hover,
.brand-proj:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.brand-wm:focus-visible,
.brand-proj:focus-visible {
  outline: 3px solid #748BA5;
  outline-offset: 2px;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.16s ease;
}

.nav-link:hover {
  color: var(--navy);
}

.nav-link[aria-current="page"] {
  color: var(--navy);
}

.nav-cta {
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
}

/* Mobile nav toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile: nav is a collapsible panel */
.site-nav {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 12px var(--gutter) 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav .nav-link {
  padding: 10px 4px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

.site-nav .nav-cta {
  margin-top: 8px;
  width: 100%;
}

@media (min-width: 768px) {
  .site-nav {
    top: 64px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 72px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.hero-title {
  font-size: clamp(1.75rem, 5.5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 18em;
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.25;
  font-weight: 600;
  color: var(--navy);
  max-width: 26em;
  text-wrap: pretty;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--steel);
  max-width: 36em;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 8px;
}

.hero-actions .btn {
  width: 100%;
}

/* ---------- Sections ---------- */
.section {
  padding: 48px 0;
  scroll-margin-top: 80px;
}

.section-soft {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-top: 10px;
  text-wrap: balance;
}

.section-lead {
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--steel);
  margin-top: 14px;
  max-width: 42em;
  text-wrap: pretty;
}

/* ---------- Problem list ---------- */
.problem-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.problem-item {
  position: relative;
  padding: 16px 16px 16px 46px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.problem-item::before {
  content: "–";
  position: absolute;
  left: 16px;
  top: 14px;
  font-weight: 700;
  color: var(--teal);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius);
  color: var(--teal);
  background: var(--teal-soft);
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 8px;
  text-wrap: balance;
}

.card-text {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--steel);
  text-wrap: pretty;
}

/* ---------- Audience ---------- */
.audience-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.audience-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.audience-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 8px;
  text-wrap: balance;
}

.audience-text {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--steel);
  text-wrap: pretty;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Honeypot: скрыто от людей и скринридеров, но не display:none (часть ботов его пропускает) */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.req {
  color: var(--teal);
}

.field input {
  width: 100%;
  padding: 11px 13px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field input::placeholder {
  color: #7c7f88;
}

.field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--steel);
  cursor: pointer;
}

.consent input {
  width: 24px;
  height: 24px;
  margin-top: 0;
  flex: none;
  accent-color: var(--teal);
  cursor: pointer;
}

.consent a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.consent a:hover {
  color: var(--teal);
}

.form-message {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
  text-align: center;
}

/* ---------- Подвал: канон RKS.Web v9 (15.11.2026) ---------- */
.site-footer{background:#123F7A; color:#FFFFFF; font-size:14px; line-height:1.55}
.footer-inner{max-width:1200px; margin:0 auto; padding:40px 40px}
.footer-cols{display:grid; grid-template-columns:5fr 3fr 4fr; gap:40px; align-items:start; position:relative}
.footer-col-contacts{justify-self:center}
.footer-col{min-width:0}
.footer-brand{display:inline-block; font-size:21px; font-weight:700; letter-spacing:.3px; line-height:22px; color:#FFFFFF; text-decoration:none}
.footer-brand:hover{color:#C9D8EC; text-decoration:none}
.footer-brand span{color:#7FB2E8}
.footer-brand-link{margin:0; font-size:13px; line-height:22px}
.footer-brand-link a{color:#C9D8EC}
.footer-requisites{font-style:normal; margin:8px 0 0; font-size:12px; line-height:22px; color:#C9D8EC}
.footer-requisites span{display:block}
.footer-copy{margin:-2px 0 0; font-size:13px; line-height:22px; color:#C9D8EC}
.footer-copy a{color:#FFFFFF; text-decoration:none}
.footer-copy a:hover{color:#C9D8EC}
.footer-h{font-size:12px; font-weight:600; letter-spacing:.6px; text-transform:uppercase; color:#FFFFFF; margin:0 0 8px; line-height:22px}
.footer-list{list-style:none; margin:0; padding:0; display:grid; gap:0}
.footer-list li{line-height:22px}
.footer-list a{color:#C9D8EC}
.footer-project{margin:0; line-height:22px; color:#C9D8EC}
.footer-disclaimer{margin:16px 0 0; font-size:12px; line-height:22px; color:#C9D8EC}
.footer-top{display:inline-flex; align-items:center; min-height:44px; padding:0 4px; white-space:nowrap; color:#FFFFFF; text-decoration:none}
.site-footer a:focus-visible{outline:3px solid #9FB8D6; outline-offset:2px; border-radius:4px}

/* Ссылки подвала: без постоянного подчёркивания; активные — цвет + 2px линия */
.footer-list a,
.footer-copy a,
.footer-top,
.footer-brand-link a { text-decoration: none; }
.footer-list a:hover,
.footer-list a:focus-visible,
.footer-copy a:hover,
.footer-copy a:focus-visible,
.footer-top:hover,
.footer-top:focus-visible,
.footer-brand-link a:hover,
.footer-brand-link a:focus-visible {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: #7FB2E8;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.footer-list a:active,
.footer-copy a:active,
.footer-top:active { color: #7FB2E8; }

/* Подвал на планшете/мобильном (≤767) */
@media (max-width:767px){
  .footer-inner{padding:16px 20px}
  .footer-cols{grid-template-columns:1fr; gap:24px}
  .footer-col-contacts{justify-self:stretch}
  .footer-copy{margin:8px 0 0}
  .footer-top{position:static; margin-top:12px; justify-self:start}
}

/* v9 (решение владельца 15.11.2026): © — третьей строкой под адресом,
   «Наверх» — вне потока (последний элемент сетки), справа на линии © */
@media (min-width:768px){
  .footer-cols{grid-template-columns:5fr 3fr 4fr; align-items:start; position:relative}
  .footer-brand{line-height:22px}
  .footer-h{line-height:22px; margin:0 0 8px}
  .footer-requisites{margin-top:6px}
  .footer-copy{margin:0; line-height:22px}
  .footer-top{position:absolute; right:0; bottom:0; display:inline-flex; align-items:flex-end; min-height:44px; padding:0; color:#FFFFFF; text-decoration:none; white-space:nowrap}
}

/* ---------- Смысловые переносы: видны на ≥720px, скрыты на узких экранах ---------- */
@media (max-width: 719px) {
  .br {
    display: none;
  }
}

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  .hero {
    padding: 88px 0 96px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions .btn {
    width: auto;
  }

  .section {
    padding: 72px 0;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .problem-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 0;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav .nav-link {
    padding: 0;
    font-size: 15px;
    border-bottom: none;
  }

  .site-nav .nav-cta {
    margin-top: 0;
    width: auto;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Уровень 3: секции лендинга
   ========================================================================== */

/* ---------- 2. Последствия ---------- */
.consequence-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.consequence {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.consequence-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 8px;
  text-wrap: balance;
}

.consequence-text {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--steel);
  text-wrap: pretty;
}

/* Факт-колл-аут */
.fact {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--teal-soft);
  border: 1px solid rgba(22, 126, 108, 0.25);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}

.fact-num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--teal);
}

/* ---------- 3. Вопросы ---------- */
.question-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  counter-reset: q;
}

.question-item {
  counter-increment: q;
  position: relative;
  padding: 22px 22px 22px 62px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
  text-wrap: pretty;
}

.question-item::before {
  content: counter(q, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
}

.question-note {
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--steel);
  max-width: 42em;
  text-wrap: pretty;
}

/* ---------- 4. Ответы ---------- */
.base-note {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius);
  font-size: 1.02rem;
  line-height: 1.5;
  text-wrap: balance;
}

.audit-note {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--steel);
  text-wrap: pretty;
}

/* ---------- 5. Визуализация (пробирки) ---------- */
.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.visual-panel {
  min-width: 0;
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.scan-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.scan-frame img {
  height: 100%;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

.tubes {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  min-height: 340px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.tube {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}

.tube img {
  height: 260px;
  width: auto;
  object-fit: contain;
}

.tube figcaption {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  line-height: 1.35;
}

.visual-label {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.visual-note {
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--steel);
  text-wrap: pretty;
}

.visual-caption {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--steel);
  max-width: 46em;
  text-wrap: pretty;
}

/* ---------- 6. Этапы ---------- */
.steps {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.step {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 10px 0 6px;
  text-wrap: balance;
}

.step-meta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

.step-text {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--steel);
  text-wrap: pretty;
}

/* ---------- 7. Что нужно от МО ---------- */
.need-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  counter-reset: n;
}

.need-item {
  counter-increment: n;
  position: relative;
  padding: 22px 22px 22px 62px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.need-item::before {
  content: counter(n);
  position: absolute;
  left: 18px;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
}

.need-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 6px;
  text-wrap: balance;
}

.need-text {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--steel);
  text-wrap: pretty;
}

/* ---------- Адаптив уровня 3 ---------- */
@media (min-width: 720px) {
  .consequence-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .need-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 960px) {
  .visual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* === Политика конфиденциальности === */
.privacy-page { background: var(--canvas, #f6f6f8); }
.privacy-main { padding: 32px 0 64px; }
.privacy-container { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.privacy-title { font-size: 32px; line-height: 1.2; color: var(--navy, #111a4a); margin: 0 0 12px; }
.privacy-lead { font-size: 16px; color: var(--steel, #7c7f88); margin: 0 0 32px; }
.privacy-container h2 { font-size: 20px; line-height: 1.3; color: var(--navy, #111a4a); margin: 28px 0 10px; }
.privacy-container p { font-size: 15px; line-height: 1.65; color: var(--ink, #3b3e47); margin: 0 0 12px; }
.privacy-container a { color: var(--teal, #167e6c); }
@media (max-width: 640px) {
  .privacy-title { font-size: 24px; }
  .privacy-container { padding: 0 16px; }
}

.form-message.error { color: #c0392b; }

/* ==========================================================================
   Страница цен (prices.html)
   ========================================================================== */

/* ---------- Три этапа (карточки) ---------- */
.price-stages {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.price-stage {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-stage-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 16px;
  text-wrap: balance;
}

.price-list {
  display: grid;
  gap: 12px;
}

.price-item {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}

.price-key {
  font-weight: 600;
  color: var(--navy);
}

.price-val {
  color: var(--ink);
}

/* ---------- Пример расчёта ---------- */
.price-example {
  margin-top: 28px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-example-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 10px;
  text-wrap: balance;
}

.price-example-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}

.price-example-note {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--steel);
  text-wrap: pretty;
}

/* ---------- Таблицы ---------- */
.table-scroll {
  margin-top: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.price-table th,
.price-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.price-table td {
  color: var(--ink);
}

.price-table td:first-child {
  font-family: var(--font-mono);
  color: var(--navy);
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Оферта-сноска ---------- */
.price-legal {
  margin-top: 24px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--steel);
  text-wrap: pretty;
}

/* ---------- Списки с маркером ---------- */
.price-bullets {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.price-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}

.price-bullets li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--teal);
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 6px;
  text-wrap: balance;
}

.faq-a {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--steel);
  text-wrap: pretty;
}

/* ---------- CTA ---------- */
.price-cta {
  text-align: center;
}

.price-cta .btn {
  min-width: 260px;
}

.price-cta-note {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--steel);
  max-width: 26em;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

/* ---------- Адаптив цен ---------- */
@media (min-width: 960px) {
  .price-stages {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ---------- Гамбургер: крестик в открытом состоянии ---------- */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Колонки таблиц цен ---------- */
.price-table col {
  width: 50%;
}

/* ---------- Неразрывные диапазоны ---------- */
.nobr {
  white-space: nowrap;
}

/* ---------- H1 цен: компактнее на мобильном (без строки из одного слова) ---------- */
@media (max-width: 959px) {
  .hero-title-prices {
    font-size: 1.66rem;
  }
}

/* ========== Смысловые переносы (материал UI 29.10) ========== */

/* br-desk: смысловой разрыв виден только на десктопе (≥960px), на мобильном текст течёт сам */
.br-desk {
  display: none;
}

@media (min-width: 960px) {
  .br-desk {
    display: inline;
  }
}

/* Очень узкие экраны: не давать H2 и подписям пробирок рвать по одному слову */
@media (max-width: 400px) {
  .section-title {
    font-size: 1.7rem;
  }

  .tube figcaption {
    font-size: 0.58rem;
  }
}

/* Таблица «Машинный аудит»: на узких дать колонке «Стоимость» больше места */
@media (max-width: 480px) {
  .price-table--w1 col:first-child {
    width: 35%;
  }

  .price-table--w1 col:last-child {
    width: 65%;
  }
}

/* ---------- Переключатель языков (RU / EN / 中文), § 18: как пункты меню, без рамки ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lang-switch__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.16s ease;
}

.lang-switch__link:hover {
  color: var(--navy);
}

.lang-switch__link[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 959px) {
  .site-nav .lang-switch {
    margin-top: 8px;
  }
}

/* Б1 (замер Аудитора): на узком экране шапка privacy (бренд-группа + переключатель + кнопка)
   не влезает — перенос строки, без горизонтального выезда */
@media (max-width: 400px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 55px;
    padding-block: 8px;
    row-gap: 6px;
  }

  .header-inner > .btn {
    margin-left: auto;
  }
}