/* ============ БАЗА ============ */
:root {
  --primary: #0ea5a4;
  --primary-dark: #0b8483;
  --primary-light: #e6f7f7;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-gray: #f5f8fa;
  --border: #e2e8f0;
  --ok: #16a34a;
  --ok-bg: #ecfdf3;
  --low: #2563eb;
  --low-bg: #eff6ff;
  --high: #dc2626;
  --high-bg: #fef2f2;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(15, 42, 68, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Ни один блок не должен растягивать страницу вбок: иначе телефон отдаляет весь сайт,
   и вёрстка выглядит вжатой в левую половину экрана.
   clip, а не hidden — hidden сломал бы «липкую» шапку. */
html, body { overflow-x: clip; max-width: 100%; }

/* картинки и схемы ужимаются под экран, а не раздвигают его */
img, svg, canvas, video { max-width: 100%; }

/* элементы сетки и флексов по умолчанию не сжимаются уже своего содержимого */
.container > *, .report, .example, .plan, .why-card, .review, .howto__col { min-width: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  /* длинное слово или адрес переносится, а не раздвигает экран */
  overflow-wrap: break-word;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow { max-width: 760px; }

/* ============ КНОПКИ ============ */
.btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .15s, box-shadow .15s, background .15s;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 164, 0.35);
}
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn--white {
  background: #fff;
  color: var(--primary-dark);
}
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--wide { width: 100%; }

/* ============ ШАПКА ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 22px;
  font-weight: 500;
}
.logo__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
}
.logo__text b { color: var(--primary-dark); font-weight: 800; }

.nav { display: flex; gap: 28px; }
.nav__link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .15s;
}
.nav__link:hover { color: var(--primary-dark); }

.burger { display: none; background: none; border: none; cursor: pointer; }
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

/* ============ ГЕРОЙ ============ */
.hero {
  background: linear-gradient(160deg, var(--primary-light) 0%, #ffffff 55%, #f0fbfb 100%);
  padding: 64px 0 40px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.hero__title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.accent { color: var(--primary); }

.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero__points {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

/* ============ ЗАГРУЗКА: КАРТИНКА ============ */
.upload-visual {
  display: grid;
  justify-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 28px 24px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  user-select: none;
}
.upload-visual:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(15, 42, 68, 0.14);
}

.upload-visual__img { width: 100%; max-width: 340px; height: auto; }
.upload-visual__cta { margin-top: 10px; pointer-events: none; }
.upload-visual__hint { font-size: 13px; color: var(--text-muted); }

.progress {
  height: 8px;
  background: var(--bg-gray);
  border-radius: 100px;
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  width: 0;
  background: var(--primary);
  border-radius: 100px;
  transition: width .3s;
}

/* ============ МОДАЛЬНЫЕ ОКНА ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.select__menu[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(3px);
}

.modal__card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: 28px;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  animation: modal-in .2s ease;
}
.modal__card--form { max-width: 520px; padding-top: 48px; }
.modal__card.is-dragover {
  outline: 2px dashed var(--primary);
  outline-offset: -2px;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 17px;
  color: var(--text-muted);
  cursor: pointer;
}
.modal__close:hover { color: var(--text); }

.modal__title { font-size: 19px; font-weight: 700; margin-bottom: 6px; padding-right: 28px; }
.modal__subtitle { font-size: 14.5px; color: var(--text-muted); margin-bottom: 20px; }

.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 12px;
  transition: border-color .15s, background .15s, transform .15s;
}
.choice:hover { border-color: var(--primary); transform: translateY(-1px); }

.choice--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.choice--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.choice__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.2);
  font-size: 22px;
}
.choice:not(.choice--primary) .choice__icon { background: var(--primary-light); }

.choice__text { display: grid; gap: 2px; }
.choice__text b { font-size: 15.5px; }
.choice__text small { font-size: 12.5px; opacity: .85; }
.choice:not(.choice--primary) .choice__text small { color: var(--text-muted); }

.modal__legal {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  margin: 16px 0;
}
.modal__legal a { color: var(--primary-dark); }

/* переключатель «Стандартная / Комплексная» */
.seg-wrap { margin-bottom: 18px; }

.seg__title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
}

.seg__thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 6px);
  height: calc(100% - 8px);
  border-radius: 9px;
  background: var(--primary);
  box-shadow: 0 3px 10px rgba(14, 165, 164, .35);
  transition: transform .22s cubic-bezier(.2, .8, .3, 1);
}
.seg.is-second .seg__thumb { transform: translateX(calc(100% + 4px)); }

.seg__btn {
  position: relative;
  z-index: 1;
  border: none;
  background: none;
  border-radius: 9px;
  padding: 10px 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .18s;
}
.seg__btn.is-active { color: #fff; }

.seg__hint {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 8px;
  min-height: 32px;
}

.modal__cancel {
  width: 100%;
  background: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background .15s;
}
.modal__cancel:hover { background: var(--bg-gray); }

/* ============ АНКЕТА ============ */
.select { position: relative; margin-bottom: 14px; }

.select__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text);
  cursor: pointer;
}
.select__toggle:hover { border-color: var(--primary); }
.select__arrow { color: var(--text-muted); transition: transform .2s; }
.select.is-open .select__arrow { transform: rotate(180deg); }

.select__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 10;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.select__option {
  padding: 13px 16px;
  font-size: 14.5px;
  cursor: pointer;
  transition: background .1s;
}
.select__option:hover { background: var(--primary-light); }
.select__option.is-active { background: var(--bg-gray); font-weight: 600; }

.form-files {
  font-size: 13px;
  color: var(--ok);
  font-weight: 600;
  margin-bottom: 14px;
}

.field { display: block; margin-bottom: 14px; }
.field__label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field__label i { font-style: normal; font-weight: 400; color: var(--text-muted); }
.field__input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field__input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,164,.15); }
.field__input.is-invalid { border-color: #f59e0b; }

.field__textarea-wrap { position: relative; display: block; }
.field__input--area { min-height: 110px; resize: vertical; }
.field__counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 12px;
  color: var(--text-muted);
  pointer-events: none;
  background: #fff;
  padding: 0 4px;
}

.field__hint {
  font-size: 13px;
  font-weight: 600;
  color: #b45309;
  margin: -6px 0 14px;
}
.field__hint--done { color: var(--text-muted); font-weight: 400; }

.field__filled {
  font-size: 12.5px;
  color: var(--ok);
  font-weight: 600;
  margin: -8px 0 14px;
}
.field__filled[hidden] { display: none; }

.switch-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-muted);
}
.switch-row a { color: var(--primary-dark); }
.switch-row__text b { color: var(--text); }

.switch {
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  border-radius: 100px;
  background: #d8dee7;
  position: relative;
  transition: background .2s;
  margin-top: 1px;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: left .2s;
}
.switch-input:checked + .switch { background: var(--primary); }
.switch-input:checked + .switch::after { left: 21px; }

.form-note {
  font-size: 13.5px;
  color: var(--text-muted);
  text-align: center;
  margin: 10px 0;
}

.form-free-note {
  margin: 4px 0 2px;
  padding: 11px 14px;
  border-radius: 11px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}
.form-free-note b { color: var(--primary-dark); font-weight: 800; }

/* ============ РЕЗУЛЬТАТ РАСШИФРОВКИ ============ */
.result-block {
  background: var(--bg-gray);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 10px;
}
.result-block--rec { background: var(--low-bg); }
.result-block--warn {
  background: #fff8e6;
  border: 1px solid #fde9b8;
  color: #92650a;
  font-size: 12.5px;
}
#resultRows { margin-bottom: 14px; }
#resultRows .report-row { font-size: 13px; padding: 7px 12px; }
.modal__cancel--result { margin-top: 10px; }

.mail-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 10px;
}
.mail-note--ok { color: var(--ok); font-weight: 600; }
.mail-note--err { color: #b45309; }
.mail-note[hidden] { display: none; }
.btn[hidden] { display: none; }
#resultLink { margin-bottom: 10px; }

.btn:disabled {
  background: #a5c8db;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ============ СЕКЦИИ ============ */
.section { padding: 80px 0; }
.section--gray { background: var(--bg-gray); }

.section__title {
  font-size: 34px;
  font-weight: 800;
  text-align: left;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section__subtitle {
  text-align: left;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 48px;
}

/* ============ ПРИМЕРЫ РАСШИФРОВОК ============ */
.section--examples { padding: 48px 0; }
.section--examples .section__title { margin-bottom: 32px; }

.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.example {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.example:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 14px 40px rgba(15, 42, 68, .16);
}

.example__shot {
  display: block;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.example__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.example__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
}
.example__bar b {
  color: var(--primary-dark);
  font-size: 10.5px;
  white-space: nowrap;
}

/* карточка-отчёт */
.report {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 16px 16px;
  font-size: 12px;
  height: 100%;
}

.report__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.report__brand { font-weight: 800; color: var(--primary-dark); font-size: 11px; white-space: nowrap; }
.report__doc { color: var(--text-muted); font-size: 10px; text-align: right; }

.report__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: var(--primary-light);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.report__meta h4 { font-size: 13px; color: var(--primary-dark); margin-bottom: 4px; }
.report__meta p { font-size: 11px; margin: 1px 0; }
.report__meta p span { color: var(--text-muted); }
.report__qr { width: 44px; height: 44px; flex-shrink: 0; background: #fff; border-radius: 6px; padding: 4px; }

.report__label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.report__type { font-weight: 700; font-size: 12.5px; margin-bottom: 8px; }

.report__rows { display: grid; gap: 4px; margin-bottom: 10px; }
.report-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(48px, auto) 78px;
  align-items: center;
  gap: 8px;
  background: var(--bg-gray);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
}
.report-row b { white-space: nowrap; text-align: right; }
.report-row i {
  font-style: normal;
  color: var(--text-muted);
  font-size: 10.5px;
  white-space: nowrap;
  text-align: right;
}
.report-row .tag { font-size: 9.5px; padding: 2px 7px; white-space: nowrap; justify-self: end; }

.report-row--head {
  background: none;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}
.report-row--head b, .report-row--head i { font-weight: 600; font-size: 10px; color: var(--text-muted); }

.report__sum {
  font-size: 11px;
  color: var(--text-muted);
  background: #fff8e6;
  border: 1px solid #fde9b8;
  border-radius: 8px;
  padding: 8px 10px;
}

/* ============ ПРОСМОТР ПРИМЕРА ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(3px);
  animation: lb-fade .18s ease;
}

.lightbox__card {
  position: relative;
  max-width: min(760px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: lb-in .22s cubic-bezier(.2, .8, .3, 1);
}
.lightbox__card img {
  max-width: 100%;
  max-height: calc(100vh - 110px);
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.lightbox__card figcaption {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .15s;
}
.lightbox__close:hover { transform: scale(1.08); }

@keyframes lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lb-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* ============ КАК ЭТО РАБОТАЕТ ============ */
#how .section__title { margin-bottom: 32px; }

.howto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 44px 20px;
}

.howto__col {
  display: flex;
  flex-direction: column;
  padding: 0 32px;
  border-right: 1px dashed #cfe3e3;
}
.howto__col:last-child { border-right: none; }

.howto__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.howto__num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  color: var(--primary-dark);
  font-size: 12px;
  letter-spacing: 0;
}

.howto__title {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.howto__text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.howto__mock {
  margin-top: auto;
  background: var(--bg-gray);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 8px;
}

/* шаг 1 — зона загрузки */
.mock-drop {
  display: grid;
  justify-items: center;
  gap: 3px;
  border: 1.5px dashed var(--primary);
  border-radius: 12px;
  background: var(--primary-light);
  padding: 18px 12px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.mock-drop:hover, .mock-drop.is-dragover { background: #d5f2f2; }
.mock-drop__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.mock-drop b { font-size: 13.5px; }
.mock-drop small { font-size: 11.5px; color: var(--text-muted); }

.mock-file {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 12.5px;
}
.mock-file__ico { font-size: 13px; }
.mock-file__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-file__size { color: var(--text-muted); font-size: 11px; white-space: nowrap; }
.mock-file__ok { color: var(--ok); font-weight: 700; }

/* шаг 2 — этапы обработки */
.mock-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 12.5px;
}
.mock-step b { margin-left: auto; color: var(--ok); }
.mock-step__wait { color: var(--text-muted); letter-spacing: .1em; }
.mock-step__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.mock-step__dot--wait { background: #cbd5e1; }

/* шаг 3 — отчёт */
.mock-report {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.mock-report__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}
.mock-report__chip {
  color: var(--text-muted);
  font-size: 11px;
}
.mock-report__body {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.mock-report__btn {
  display: block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  padding: 11px;
  font-size: 12.5px;
  font-weight: 700;
  transition: background .15s;
}
.mock-report__btn:hover { background: var(--primary-dark); }

/* ============ ПОЧЕМУ ЛАБРАЗБОР ============ */
.section--why { background: var(--bg-gray); }

.why-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.why-ico svg { width: 21px; height: 21px; }

.why-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.why-stat { display: flex; align-items: center; gap: 14px; }
.why-stat__text { display: grid; }
.why-stat__text b { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.why-stat__text small { font-size: 13px; color: var(--text-muted); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: transform .15s, box-shadow .15s;
}
.why-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 14.5px; color: var(--text-muted); }

.why-notes {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.why-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.why-note svg { width: 18px; height: 18px; color: var(--primary); }

/* ============ АНАЛИЗЫ ============ */
/* ============ ЧТО МЫ РАСШИФРОВЫВАЕМ ============ */
.section__title--center { text-align: center; }
.section__subtitle--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 14px 34px rgba(15, 42, 68, .1);
}
.service-card__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 18px;
  transition: background .18s ease, transform .18s ease;
}
.service-card__ico svg { width: 24px; height: 24px; }
.service-card:hover .service-card__ico { background: var(--primary); color: #fff; transform: scale(1.06); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.service-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* ============ ПОПУЛЯРНЫЕ ЗАПРОСЫ ============ */
.section--tags { background: #fff; }
.tags__label {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.tags__title { max-width: 820px; margin: 0 auto 40px; line-height: 1.2; }

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.tag {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  user-select: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.tag:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(14, 165, 164, .16);
}

/* ============ ТАРИФЫ ============ */
.section--pricing { background: #fff; }

.pricing__label {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.pricing__title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
}

.pricing__sub {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
  font-size: 15.5px;
  color: var(--text-muted);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px 26px;
  box-shadow: var(--shadow);
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan__tag {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.plan__title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.plan__desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.plan__price b { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__price span { font-size: 13.5px; color: var(--text-muted); }

.plan__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.plan__chips span {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}

.plan__feats { list-style: none; display: grid; gap: 11px; margin-bottom: 24px; }
.plan__feats li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
}
.plan__feats li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--primary);
  font-weight: 700;
}

.plan__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.plan__btn:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-1px); }
a.plan__btn { text-decoration: none; }

.nav__link--account { font-weight: 600; color: var(--primary-dark); }

.plan__note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}
.plan__note a { color: var(--primary-dark); }

/* акцентный тариф */
.plan--dark {
  background: #0f2437;
  border-color: #0f2437;
  color: #fff;
}
.plan--dark .plan__tag { color: var(--primary); }
.plan--dark .plan__desc { color: #cbd5e1; }
.plan--dark .plan__price span { color: #94a3b8; }
.plan--dark .plan__chips span { background: rgba(14,165,164,.2); color: #7fe3e2; }
.plan--dark .plan__feats li::before { color: var(--primary); }
.plan--dark .plan__btn {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.plan--dark .plan__btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.plan--dark .plan__note { color: #94a3b8; }
.plan--dark .plan__note a { color: #7fe3e2; }

/* ============ ОТЗЫВЫ ============ */
.section--reviews { background: var(--bg-gray); }

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

.review {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.review__stars { font-size: 13px; letter-spacing: 2px; color: var(--primary); }
.review__stars .off { color: #cbd5e1; }

.review__quote {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--primary);
  margin: 10px 0 2px;
}

.review blockquote { font-size: 14.5px; line-height: 1.55; margin-bottom: 20px; }

.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.review__ava {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13.5px;
  font-weight: 700;
}
.review__who { display: grid; }
.review__who b { font-size: 14.5px; }
.review__who small { font-size: 12.5px; color: var(--text-muted); }

/* акцентная тёмная карточка */
.review--dark {
  background: #0f2437;
  border-color: #0f2437;
  color: #fff;
}
.review--dark blockquote { font-weight: 600; }
.review--dark .review__author { border-top-color: rgba(255,255,255,.15); }
.review--dark .review__ava { background: var(--primary); color: #fff; }
.review--dark .review__who small { color: #94a3b8; }

/* ============ FAQ ============ */
/* вопросы идут подряд сверху вниз и переливаются во вторую колонку */
.faq-cols {
  column-count: 2;
  column-gap: 24px;
  margin-top: 40px;
}

.faq { display: block; }

.faq__item {
  break-inside: avoid;
  margin-bottom: 12px;
}

.faq__group {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 26px 0 12px;
  break-inside: avoid;
  break-after: avoid;
}
.faq-cols > .faq__group:first-child { margin-top: 0; }

/* вторая колонка начинается с нового блока, чтобы вопросы не отрывались от заголовка */
.faq__group--break { break-before: column; margin-top: 0; }

.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 22px;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding-right: 32px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary);
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 0 18px; color: var(--text-muted); font-size: 15px; }

/* ============ CTA ============ */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, #0c8b95 100%);
  color: #fff;
  padding: 72px 0;
}
.cta__inner { text-align: left; }
.cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.cta p { font-size: 17px; opacity: .9; margin-bottom: 28px; }

/* ============ ПОДВАЛ ============ */
.footer {
  background: #0f2437;
  color: #cbd5e1;
  padding: 56px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.logo--footer { color: #fff; }

.footer__about { margin-top: 14px; font-size: 14px; color: #94a3b8; max-width: 300px; }

.footer__col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .15s;
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 13px;
  color: #64748b;
}
.footer__req { margin-top: 8px; font-size: 12.5px; color: #64748b; }

/* ============ АДАПТИВ ============ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: 36px; }
  .services { grid-template-columns: 1fr 1fr; }
  .howto { grid-template-columns: 1fr; gap: 32px; padding: 32px 16px; }
  .howto__col { padding: 0 16px; border-right: none; border-bottom: 1px dashed #cfe3e3; padding-bottom: 32px; }
  .howto__col:last-child { border-bottom: none; padding-bottom: 0; }
  .howto__title { font-size: 23px; }
  .examples-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 28px; }
  .pricing__title { font-size: 30px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .header .btn { display: none; }
  .burger { display: block; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 16px;
  }

  .hero { padding: 40px 0 56px; }
  .hero__title { font-size: 30px; }
  .hero__subtitle { display: none; }
  .section { padding: 56px 0; }
  .section__title { font-size: 26px; }
  .services { grid-template-columns: 1fr; }
  .section__subtitle--center { font-size: 15px; }
  .tags { gap: 9px; }
  .tag { padding: 9px 15px; font-size: 13.5px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .review { padding: 18px; }
  .faq-cols { column-count: 1; }
  .pricing__title { font-size: 26px; }
  .pricing__sub { font-size: 14px; margin-bottom: 32px; }
  .plan { padding: 26px 20px 22px; }
  .plan__price b { font-size: 38px; }
  .why-stats { grid-template-columns: 1fr; gap: 14px; margin-bottom: 26px; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
  .why-card { padding: 18px; }
  .why-notes { gap: 16px; flex-direction: column; align-items: center; }
  .howto { padding: 24px 10px; gap: 26px; }
  .howto__col { padding: 0 10px; padding-bottom: 26px; }
  .howto__title { font-size: 21px; }
  .howto__text { font-size: 14px; margin-bottom: 18px; }
  .footer__inner { grid-template-columns: 1fr; }


  /* примеры: сетка 2x2 */
  .examples-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .example__bar { flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 10px; font-size: 11px; }
  .example__bar b { font-size: 10px; }
  .report { padding: 14px 14px 16px; }
  .report-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; font-size: 12px; padding: 6px 10px; }
  .report-row i { display: none; }
  .report-row .tag { font-size: 9.5px; }

  /* компактная анкета на мобильных */
  .modal { padding: 10px; }
  .modal__card--form { padding: 42px 16px 16px; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .select { margin-bottom: 10px; }
  .select__toggle { padding: 10px 12px; font-size: 12.5px; }
  .select__option { padding: 10px 12px; font-size: 13.5px; }
  .form-files { margin-bottom: 10px; font-size: 12px; }
  .field { margin-bottom: 10px; }
  .field__label { font-size: 12.5px; margin-bottom: 4px; }
  .field__input { padding: 10px 12px; font-size: 14px; }
  .field__input--area { min-height: 76px; }
  .field__counter { font-size: 11px; bottom: 8px; right: 10px; }
  .field__hint { font-size: 12px; margin: -4px 0 10px; }
  .switch-row { font-size: 12px; gap: 10px; margin-bottom: 8px; }
  .switch { width: 36px; height: 20px; }
  .switch::after { width: 14px; height: 14px; }
  .switch-input:checked + .switch::after { left: 19px; }
  .form-note { font-size: 12px; margin: 6px 0; }
  .modal__card--form .btn { padding: 12px 20px; font-size: 15px; }
}
