/* =========================================================
   Родной язык — online translation service
   ========================================================= */

:root {
  --milk: #F7F3EC;
  --paper: #FFFDF9;
  --sand: #EFE5D8;
  --beige: #D9C3A8;
  --terracotta: #C65A3A;
  --wine: #7D1F2B;
  --wine-hover: #611520;
  --rust: #8F3028;
  --wine-deep: #3A0E15;
  --coral: #F08D69;
  --graphite: #171717;
  --ink-2: #2B2825;
  --muted: #675F57;
  --line: rgba(23, 23, 23, .12);
  --line-strong: rgba(23, 23, 23, .22);

  --sans: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius: 28px;
  --radius-sm: 16px;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--milk);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
em { font-style: normal; }
::selection { background: var(--terracotta); color: var(--milk); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.eyebrow--light { color: rgba(247, 244, 239, .55); }
.eyebrow--brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .18em;
  color: var(--wine);
}
.eyebrow--brand::before { content: ""; width: 28px; height: 2px; background: var(--terracotta); flex: none; }

.h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 500;
}
.h2 em, .final__title em, .trust__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
}
.h2--xl { font-size: clamp(44px, 6.5vw, 100px); }
.muted { color: var(--muted); }

.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 36ch; margin-top: 20px; }
.lead--light { color: rgba(247, 244, 239, .72); }

.statement {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 500;
  max-width: 18ch;
}
.statement em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--terracotta); }
.statement--sm { font-size: clamp(24px, 2.6vw, 36px); max-width: 20ch; margin: 32px 0 40px; color: var(--ink-2); }

.section { padding-block: clamp(48px, 5.5vw, 80px); }
.section-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head--row .lead { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  --h: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--h);
  padding: 0 10px 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--wine); color: #fff; box-shadow: 0 14px 30px -14px rgba(125, 31, 43, .55); }
.btn--primary:hover { background: var(--wine-hover); }
.btn--primary .btn__arrow { background: #fff; }
.btn--primary .btn__arrow::before { background: var(--wine); }
.btn--primary .btn__arrow::after { border-color: var(--wine); }
.btn--ghost { padding: 0 28px; border-color: var(--line-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--graphite); }
.btn--light { background: var(--milk); color: var(--graphite); }
.btn--light:hover { background: #fff; }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 12px; }
.btn--block { width: 100%; justify-content: space-between; }

.btn__arrow {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--terracotta);
  flex: none;
  transition: transform .45s var(--ease);
}
.btn__arrow::before, .btn__arrow::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--milk);
}
.btn__arrow::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.btn__arrow::after {
  width: 7px; height: 7px; background: none;
  border-top: 1.5px solid var(--milk); border-right: 1.5px solid var(--milk);
  transform: translate(-10%, -50%) rotate(45deg);
}
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--light .btn__arrow { background: var(--wine); }
.btn--ghost .btn__arrow { display: none; }



/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247, 244, 239, .78);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 12px; }


.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__img { display: block; flex: none; width: auto; height: 50px; }
.logo__img + .logo__text { padding-left: 14px; border-left: 1px solid var(--line-strong); }
.logo__img + .logo__text .logo__tag { margin-bottom: 5px; }
.logo__tag {
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine); margin-bottom: 6px; white-space: nowrap;
}

.logo__sub { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav { display: flex; gap: 32px; margin-left: auto; font-size: 15px; }
.nav a { position: relative; color: var(--ink-2); transition: color .3s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--graphite); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--graphite); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 16px; margin-left: 24px; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.lang__btn {
  border: 0; background: none; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  padding: 6px 10px; border-radius: 999px; color: var(--muted);
  transition: background .3s, color .3s;
}
.lang__btn.is-active { background: var(--graphite); color: var(--milk); }

/* «Проверить заказ» — вторичная текстовая ссылка рядом с кнопкой «Позвонить» */
.track-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* «Статус заказа» — заметная кнопка в шапке (на телефоне — круглая иконка рядом с меню) */
.header__track {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 13px;
  border: 1px solid rgba(125, 31, 43, .35); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--wine); white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.header__track:hover { background: var(--wine); border-color: var(--wine); color: var(--milk); }
/* Строка «Уже оформили заказ? Узнать статус» на первом экране */
.hero__track { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.hero__track .track-ico { width: 20px; height: 20px; color: var(--wine); }
.hero__track b { font-weight: 500; color: var(--wine); border-bottom: 1px solid rgba(125, 31, 43, .35); transition: border-color .3s var(--ease); }
.hero__track:hover b { border-color: var(--wine); }
.hero__track + .hero__focus { margin-top: 14px; }
.nav .nav__mobile { display: none; }
/* Переключатель языка в мобильном меню (в шапке на телефоне он скрыт) */
.nav__lang { display: none; }
.nav a { white-space: nowrap; }
/* Чуть плотнее шапка на узком десктопе, чтобы «Проверить заказ» поместилась без переносов */
@media (max-width: 1320px) {
  .header__inner { gap: 20px; }
  .nav { gap: 16px; }
  .header__actions { gap: 12px; margin-left: 12px; }
}

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--graphite); transition: transform .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(24px, 3vw, 40px) clamp(32px, 4vw, 56px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: min(calc(100svh - var(--header-h) - 80px), 760px);
}
.hero__copy { min-width: 0; }
.hero__title {
  font-size: clamp(52px, 5.95vw, 86px);
  line-height: .96;
  letter-spacing: -.05em;
  font-weight: 600;
}
.hero__title span { display: block; }
.hero__title em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.03em;
  font-size: 1.04em;
  color: var(--wine);
  white-space: nowrap;
}
@media (max-width: 460px) { .hero__title { font-size: 11.4vw; } }
.hero__lead { font-size: clamp(18px, 1.55vw, 22px); color: var(--ink-2); max-width: 30ch; margin-top: 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }



.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.08;
  max-width: 100%;
  display: grid;
  place-items: center;
}
.hero__rings { position: absolute; inset: 4% 2%; display: grid; place-items: center; }
.hero__rings span {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--line);
}
.hero__rings span:nth-child(1) { width: 100%; aspect-ratio: 1; background: #EADBC7; border: 0; }
.hero__rings span:nth-child(2) { width: 76%; aspect-ratio: 1; border-color: rgba(125, 31, 43, .1); }
.hero__rings span:nth-child(3) { width: 52%; aspect-ratio: 1; border-color: rgba(125, 31, 43, .08); }

.doll { position: relative; }
.doll svg { width: 100%; height: auto; overflow: visible; }
.doll--hero { width: 68%; margin-top: -4%; animation: float 9s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Doll parts driven by --open (0 … 1) */
.m-lid {
  transform-box: view-box;
  transform-origin: 300px 300px;
  transform: translate(calc(var(--open, 0) * 30px), calc(var(--open, 0) * -150px)) rotate(calc(var(--open, 0) * 8deg));
}
.m-inner {
  transform-box: view-box;
  transform: translateY(calc(var(--open, 0) * -110px));
}
.m-rim { opacity: calc(var(--open, 0) * 6); }
.final__visual .m-lid, .final__visual .m-inner, .final__visual .m-rim { transition: transform 1.6s var(--ease), opacity 1.6s var(--ease); }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 14px;
  background: var(--paper);
  color: var(--graphite);
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: 999px;
  box-shadow: 0 22px 44px -18px rgba(58, 14, 21, .42);
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}
.float-card__n {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0;
  background: var(--wine); color: #fff;
}
.float-card--1 { left: 0; top: 24%; transform: translate(calc(18% - var(--open, 0) * 18%), calc(var(--open, 0) * -30px)); }
.float-card--2 { right: 0; top: 40%; background: var(--graphite); color: var(--milk); border-color: var(--graphite); transform: translate(calc(-14% + var(--open, 0) * 14%), calc(var(--open, 0) * -14px)); }
.float-card--2 .float-card__n { background: var(--terracotta); }
.float-card--3 { left: 4%; top: 62%; background: var(--wine); color: #fff; border-color: var(--wine); transform: translate(calc(16% - var(--open, 0) * 16%), calc(var(--open, 0) * 10px)); }
.float-card--3 .float-card__n { background: #fff; color: var(--wine); }

.hero__caption {
  position: absolute; bottom: -2%; left: 0; right: 0;
  text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.6vw, 24px);
  color: var(--ink-2);
  white-space: nowrap;
}

/* ---------- Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv {
  position: relative;
  min-height: 200px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.adv__n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.adv__title {
  margin-top: auto;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 500;
  text-transform: uppercase;
}
.adv p { margin-top: 16px; color: var(--ink-2); max-width: 30ch; }
.adv__note {
  position: absolute; top: 32px; right: 32px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}
.adv--accent { background: var(--graphite); color: var(--milk); border-color: var(--graphite); }
.adv--accent p { color: rgba(247,244,239,.7); }
.adv--accent .adv__n { color: var(--terracotta); }

/* ---------- Upload ---------- */
.upload { background: var(--paper); border-block: 1px solid var(--line); }
.upload__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 16px; align-items: start; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  min-height: 380px;
  padding: 48px 24px;
  border-radius: var(--radius);
  border: 1.5px dashed var(--line-strong);
  background:
    radial-gradient(circle at 50% 38%, rgba(198, 90, 58, .06), transparent 60%),
    var(--milk);
  cursor: pointer;
  transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .4s var(--ease);
}
.dropzone:hover, .dropzone.is-over { border-color: var(--terracotta); }
.dropzone.is-over { transform: scale(.99); background-color: #F3EDE4; }
.dropzone.is-shake { animation: shake .5s var(--ease); border-color: var(--terracotta); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.dropzone__icon { width: 72px; height: 72px; color: var(--terracotta); margin-bottom: 28px; }
.dropzone__icon svg { width: 100%; height: 100%; }
.dropzone__title { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.03em; font-weight: 500; line-height: 1.1; }
.dropzone__or { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted); margin: 12px 0 18px; }
.dropzone__hint { margin-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.dropzone.is-compact { min-height: 0; padding: 22px; flex-direction: row; gap: 16px; }
.dropzone.is-compact .dropzone__icon { width: 36px; height: 36px; margin: 0; }
.dropzone.is-compact .dropzone__title { font-size: 17px; letter-spacing: 0; }
.dropzone.is-compact .dropzone__or, .dropzone.is-compact .dropzone__hint { display: none; }
.dropzone.is-compact .btn { --h: 44px; font-size: 12px; margin-left: auto; }
.dropzone.is-compact .btn__arrow { width: 30px; height: 30px; }

.analysis { margin-top: 16px; padding: 32px; border-radius: var(--radius); background: var(--milk); border: 1px solid var(--line); }
.analysis__bar { height: 3px; border-radius: 3px; background: var(--sand); overflow: hidden; }
.analysis__bar span { display: block; height: 100%; width: 0; background: var(--terracotta); transition: width .5s var(--ease); }
.analysis__progress p { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--muted); }

.files { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.file {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line);
}
.file__badge {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 52px; border-radius: 6px;
  background: var(--graphite); color: var(--milk);
  font-family: var(--mono); font-size: 10px; letter-spacing: .04em;
}
.file__badge--img { background: var(--terracotta); }
.file__info { min-width: 0; flex: 1; }
.file__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.file__remove { flex: none; border: 0; background: none; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; color: var(--muted); font-size: 20px; line-height: 1; }
.file__remove:hover { background: var(--sand); color: var(--graphite); }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.fact { background: var(--paper); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.fact:nth-child(3) { grid-column: span 2; }
.fact--wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.fact dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.field {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--milk);
  font-size: 15px;
  outline: none;
  transition: border-color .3s;
  appearance: none; -webkit-appearance: none;
}
select.field {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%23171717' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  cursor: pointer;
}
.field:focus { border-color: var(--graphite); }
/* Раскрытый список всегда светлый с тёмным текстом — даже если поле тёмное (иначе браузер берёт фон поля) */
select.field option, select.field optgroup { background-color: var(--paper); color: var(--graphite); }
.field--num { max-width: 110px; }


.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sand); gap: 2px; }
.seg button {
  border: 0; background: none; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  transition: background .3s, color .3s;
}
.seg button.is-active { background: var(--graphite); color: var(--milk); }




/* Calculator */
.calc {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 28px;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--milk);
  overflow: hidden;
}
.calc__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.calc__label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,244,239,.55); }
.calc__status { white-space: nowrap; font-family: var(--mono); font-size: 11px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(247,244,239,.18); color: rgba(247,244,239,.7); }
.calc__status.is-auto { background: var(--terracotta); border-color: var(--terracotta); color: var(--milk); }
.calc__rows li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid rgba(247,244,239,.1);
  font-size: 15px;
}
.calc__rows li span { color: rgba(247,244,239,.72); }
.calc__rows li b { font-weight: 500; text-align: right; white-space: nowrap; }
.calc__rows b.is-pending { font-weight: 400; color: rgba(247,244,239,.45); font-size: 13px; }



.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 28px 0 8px; }
.calc__total span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.calc__total strong { font-size: clamp(32px, 3.2vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.calc__note { font-size: 14px; color: rgba(247,244,239,.6); min-height: 44px; }






.calc__legal { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 11px; color: rgba(247,244,239,.45); }

.calc__done {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px;
  background: var(--wine-deep);
  animation: fadeIn .6s var(--ease);
}
.calc__done[hidden] { display: none; }
.calc__done p { color: rgba(247,244,239,.72); max-width: 30ch; }
.calc__done-title { font-size: 30px; letter-spacing: -.03em; font-weight: 500; color: var(--milk) !important; margin: 24px 0 12px; line-height: 1.1; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Unsure ---------- */









/* ---------- Russia ---------- */
.russia {
  background: var(--wine-deep);
  color: var(--milk);
  position: relative;
  overflow: hidden;
}
.russia::before {
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 60vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 31, 43, .9), rgba(125, 31, 43, 0) 65%);
  pointer-events: none;
}
.russia .wrap { position: relative; }
.russia__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.russia__statement {
  font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.03em; max-width: 16ch; text-align: right;
}
.russia__statement em { font-family: var(--serif); font-style: italic; color: var(--coral); letter-spacing: -.01em; }

.route {
  position: relative;
  display: grid; grid-template-columns: repeat(6, 1fr);
  margin: clamp(28px, 3.5vw, 48px) 0;
  padding-top: 32px;
}
.route::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
  background: linear-gradient(90deg, rgba(247,244,239,.15), rgba(247,244,239,.45));
}
.route li { position: relative; padding-right: 16px; }
.route__dot {
  position: absolute; top: -40px; left: 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--wine-deep); border: 1px solid rgba(247,244,239,.55);
}
.route__t { display: block; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.25; letter-spacing: -.01em; max-width: 12ch; }
.route li::before {
  content: counter(list-item, decimal-leading-zero);
  display: block; margin-bottom: 10px;
  font-family: var(--mono); font-size: 11px; color: rgba(247,244,239,.45);
}
.route__final .route__dot { background: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 6px rgba(240,141,105,.15); }
.route__final .route__t { color: var(--coral); }
.route__runner {
  position: absolute; top: 3px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--milk);
  box-shadow: 0 0 16px 2px rgba(240,141,105,.7);
  animation: run 7s var(--ease) infinite;
}
@keyframes run { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 80% { left: 84%; opacity: 1; } 92%, 100% { left: 84%; opacity: 0; } }

.russia__body { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: clamp(24px, 4vw, 64px); align-items: end; border-top: 1px solid rgba(247,244,239,.14); padding-top: 24px; }
.russia__body p { color: rgba(247,244,239,.8); max-width: 48ch; }
.russia__legal { font-size: 14px; color: rgba(247,244,239,.55) !important; padding-left: 16px; border-left: 1px solid rgba(240,141,105,.5); }

/* ---------- Docs ---------- */
.doc {
  position: relative;
  min-height: 112px;
  padding: 24px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.doc:hover { background: var(--sand); transform: translateY(-3px); }


.doc a.doc__t::after, .service-list a.service-list__t::after, .blist a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.doc a.doc__t:focus-visible, .service-list a.service-list__t:focus-visible, .blist a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }










/* ---------- All in one ---------- */
.nest {
  display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 16px;
  position: relative;
  padding-bottom: 8px;
}
.nest::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-strong);
}
.nest li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nest .doll--mini { margin-bottom: 20px; transition: transform .8s var(--ease); }
.nest li:hover .doll--mini { transform: translateY(-8px); }
.nest li:nth-child(1) .doll--mini { width: 36%; }
.nest li:nth-child(2) .doll--mini { width: 46%; }
.nest li:nth-child(3) .doll--mini { width: 56%; }
.nest li:nth-child(4) .doll--mini { width: 66%; }
.nest li:nth-child(5) .doll--mini { width: 78%; }
.nest__n { font-family: var(--mono); font-size: 12px; color: var(--terracotta); }
.nest__t { margin: 6px 0 20px; font-size: clamp(13px, 1.1vw, 15px); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; min-height: 2.6em; }
.nest li + li .nest__n::before { content: "→  "; color: var(--muted); }


/* ---------- How ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  display: flex; flex-direction: column;
}
.step__n { font-size: clamp(64px, 6vw, 96px); font-weight: 300; letter-spacing: -.06em; line-height: .9; color: var(--beige); }
.step__t { margin-top: auto; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; font-weight: 500; line-height: 1.1; text-transform: uppercase; }
.step p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.step__list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.step__list li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); }
.step--accent { background: var(--terracotta); color: var(--milk); border-color: var(--terracotta); }
.step--accent .step__n { color: rgba(247,244,239,.35); }
.step--accent .step__list li { border-color: rgba(247,244,239,.35); color: var(--milk); }

/* ---------- Status ---------- */
.status { background: var(--paper); border-block: 1px solid var(--line); }

.order {
  justify-self: end;
  width: 100%; max-width: 480px;
  padding: 32px;
  border-radius: 32px;
  background: var(--milk);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 #fff inset, 0 60px 100px -60px rgba(58, 14, 21, .35), 0 10px 30px -20px rgba(23,23,23,.15);
  transform: rotate(-1.2deg);
  transition: transform .8s var(--ease);
}
.order:hover { transform: rotate(0); }
.order__head { display: flex; justify-content: space-between; align-items: flex-start; }
.order__label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.order__no { font-size: 36px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.order__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--graphite); color: var(--milk); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.order__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); animation: pulse 2s ease-in-out infinite; }
.order__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 24px; }
.order__meta span { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }
.order__progress { height: 4px; border-radius: 4px; background: var(--sand); overflow: hidden; margin-bottom: 12px; }
.order__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--wine), var(--terracotta)); border-radius: 4px; }

.timeline li {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 13px 0;
  font-size: 16px;
  color: var(--muted);
}
.timeline li::before {
  content: ""; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--milk);
  position: relative; z-index: 1;
}
.timeline li + li::after {
  content: ""; position: absolute; left: 10.5px; top: -12px; height: 26px; width: 1.5px; background: var(--line);
}
.timeline .is-done { color: var(--graphite); }
.timeline .is-done::before {
  border-color: var(--graphite); background: var(--graphite)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='m1 4 2.5 2.5L9 1' stroke='%23F7F4EF' stroke-width='1.5'/%3E%3C/svg%3E") center no-repeat;
}
.timeline .is-done + li::after { background: var(--graphite); }
.timeline .is-current { color: var(--graphite); font-weight: 500; }
.timeline .is-current::before { border-color: var(--terracotta); background: radial-gradient(circle, var(--terracotta) 0 5px, var(--milk) 6px); box-shadow: 0 0 0 5px rgba(198,90,58,.14); animation: ring 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes ring { 50% { box-shadow: 0 0 0 9px rgba(198,90,58,.05); } }
.order__foot { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.order__foot span { color: var(--muted); }
.order__foot b { font-weight: 500; }

/* ---------- Delivery ---------- */
.dcard {
  padding: 24px;
  min-height: 150px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), border-color .45s;
}
.dcard__icon { width: 40px; height: 40px; color: var(--terracotta); margin-bottom: auto; }
.dcard h3 { margin-top: 32px; font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.dcard p { margin-top: 6px; color: var(--muted); font-size: 15px; }





/* ---------- Trust ---------- */
.trust__title { max-width: 18ch; }
.trust__title em { color: var(--terracotta); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line-strong); }
.stat { padding: 20px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__v { font-size: clamp(48px, 5.5vw, 88px); font-weight: 400; letter-spacing: -.06em; line-height: .9; }
.stat__v--word { font-family: var(--serif); font-style: italic; letter-spacing: -.03em; font-size: clamp(48px, 5.6vw, 92px); color: var(--wine); }
.stat__v sup { font-size: .35em; color: var(--terracotta); vertical-align: super; margin-left: 2px; }
.stat__l { color: var(--muted); max-width: 18ch; }






/* ---------- Business ---------- */
.business { background: var(--graphite); color: var(--milk); }
.business__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.business .eyebrow { color: rgba(247,244,239,.5); }
.business .statement--sm { color: rgba(247,244,239,.75); }
.blist { border-top: 1px solid rgba(247,244,239,.16); counter-reset: b; }
.blist li {
  position: relative;
  counter-increment: b;
  display: flex; align-items: baseline; gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(247,244,239,.16);
  font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.03em;
  transition: color .4s, padding .5s var(--ease);
}
.blist li::before { content: counter(b, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--terracotta); }
.blist li:hover { padding-left: 12px; color: var(--coral); }

/* ---------- Final ---------- */
.final { padding-block: clamp(64px, 7vw, 112px) clamp(48px, 5vw, 80px); overflow: hidden; }
.final__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.final__title { font-size: clamp(40px, 5.4vw, 92px); line-height: .98; letter-spacing: -.05em; font-weight: 500; }
.final__title em { display: block; color: var(--wine); font-size: 1.04em; }
.final .lead { max-width: 44ch; margin-top: 32px; }
.final__visual { position: relative; display: grid; place-items: center; }
.final__visual::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: #EADBC7; top: 8%; }
.doll--final { width: 72%; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-strong); padding-block: 40px 24px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__slogan { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--ink-2); }
.footer__nav { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.footer__nav a:hover { color: var(--terracotta); }
.footer__h { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.logo--footer .logo__img { height: 52px; }
/* Контакты: московский офис и список офисов свёрнуты — колонка остаётся компактной */
.footer__addr { line-height: 1.45; }
.footer__more summary { cursor: pointer; list-style: none; color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.footer__more summary::-webkit-details-marker { display: none; }
.footer__more p, .footer__more li { margin-top: 6px; font-size: 14px; line-height: 1.45; }
.footer__more a { text-decoration: underline; text-underline-offset: 2px; }
.footer__more details { margin-top: 10px; }
.footer__more details summary { color: var(--ink-2); }
.footer__more details p:first-of-type { margin-top: 4px; }

.requisites__summary { cursor: pointer; list-style: none; }
.requisites__summary::-webkit-details-marker { display: none; }
.requisites__summary:hover, .requisites[open] .requisites__summary { color: var(--graphite); }
.requisites[open] { flex-basis: 100%; order: 10; }   /* раскрытые реквизиты — отдельной строкой под ссылками */
.requisites[open] .requisites__summary { margin-bottom: 14px; }
.requisites__name { margin-bottom: 16px; font-weight: 600; color: var(--graphite); }
.requisites__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 32px; }
.requisites__list div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.requisites__list dt { font-size: 12px; color: var(--muted); }
.requisites__list dd { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.requisites__list a:hover { color: var(--terracotta); }
.requisites__wide { grid-column: span 2; }

.footer__bottom { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom span { margin-right: auto; }
.footer__bottom a:hover { color: var(--graphite); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .doll--hero, .route__runner, .order__badge i { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 22px; font-size: 14px; }
  
  
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { min-height: 250px; }
  .russia__statement { text-align: left; }
  .russia__body { grid-template-columns: 1fr 1fr; }
  .russia__body > div { grid-column: span 2; }
}

@media (max-width: 1180px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .header .btn--ghost { display: none; }
  .header__track { width: 42px; padding: 0; justify-content: center; }
  .header__track span { display: none; }
  .nav .nav__mobile { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--milk);
    border-bottom: 1px solid var(--line);
    font-size: 24px; letter-spacing: -.02em;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header__actions { margin-left: auto; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { max-width: 560px; width: 100%; margin: 24px auto 0; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv { min-height: 200px; }
    .upload__grid { grid-template-columns: 1fr; }
  .calc { position: relative; top: 0; }
  
  
  .russia__statement { text-align: left; }
  .russia__body { grid-template-columns: 1fr; }
  .russia__body > div { grid-column: auto; }

  .route { grid-template-columns: 1fr; padding: 0 0 0 40px; }
  .route::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(247,244,239,.15), rgba(247,244,239,.45)); }
  .route li { padding: 0 0 28px; }
  .route li::before { margin-bottom: 4px; }
  .route__dot { left: -40px; top: 4px; }
  .route__t { max-width: none; }
  .route__runner { left: 3px; top: 0; animation-name: runV; }
  @keyframes runV { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 80% { top: 88%; opacity: 1; } 92%, 100% { top: 88%; opacity: 0; } }

  .status__grid, .business__grid, .final__grid { grid-template-columns: 1fr; }
  .order { justify-self: center; }
  .final__visual { max-width: 380px; margin: 0 auto; }
  
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 32px; }
  
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > div:first-child { grid-column: span 2; }
  .requisites__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .lang { display: none; }
  .logo__sub { display: none; }
  .logo__tag { font-size: 8.5px; letter-spacing: .1em; margin-bottom: 5px; }
  .logo__img { height: 40px; }
  .logo__img + .logo__text { padding-left: 10px; }
  .logo__img + .logo__text .logo__tag { max-width: 150px; white-space: normal; line-height: 1.35; margin-bottom: 0; }
  .logo { gap: 10px; }
  .eyebrow--brand { font-size: 11px; letter-spacing: .12em; gap: 10px; }
  .eyebrow--brand::before { width: 18px; }
  .btn { --h: 56px; font-size: 13px; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero__cta .btn--ghost { justify-content: center; }
  .float-card { font-size: 11px; padding: 10px 14px 10px 10px; gap: 8px; }
  .float-card__n { width: 24px; height: 24px; }
        .dropzone { min-height: 300px; }
  .dropzone.is-compact { flex-wrap: wrap; }
  .dropzone.is-compact .btn { margin-left: 0; width: 100%; justify-content: space-between; }
  .analysis, .calc { padding: 22px; }
  .facts { grid-template-columns: 1fr; }
  .fact:nth-child(3) { grid-column: auto; }
  .fact--wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 8px 6px; font-size: 13px; }
  
  .doc { min-height: 120px; padding: 18px; }
  
  
  .nest { grid-template-columns: 1fr; gap: 0; padding: 0; border-top: 1px solid var(--line-strong); }
  .nest::after { display: none; }
  .nest li { flex-direction: row; align-items: center; text-align: left; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
  .nest .doll--mini { margin: 0; flex: none; }
  .nest li .doll--mini { width: 80px !important; }
  .nest li:nth-child(1) .doll--mini { transform: scale(.55); }
  .nest li:nth-child(2) .doll--mini { transform: scale(.66); }
  .nest li:nth-child(3) .doll--mini { transform: scale(.77); }
  .nest li:nth-child(4) .doll--mini { transform: scale(.88); }
  .nest li:hover .doll--mini { transform: none; }
  .nest li + li .nest__n::before { content: ""; }
  .nest__t { margin: 0; min-height: 0; font-size: 14px; }
  
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 200px; padding: 24px; }
  .order { padding: 22px; transform: none; }
  .order__no { font-size: 28px; }
  .dcard { min-height: 150px; }
  
  
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); padding-top: 24px; padding-bottom: 24px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__top > div:first-child { grid-column: auto; }
  .requisites__list { grid-template-columns: 1fr; }
  .requisites__wide { grid-column: auto; }
  .logo--footer .logo__img { height: 52px; }
  .footer__bottom span { width: 100%; }
}

/* =========================================================
   Оформление заказа: шаги, блоки формы, пояснение цены, доверие
   ========================================================= */
.hero__badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px; padding: 10px 18px 10px 14px;
  border-radius: 999px; border: 1px solid rgba(125, 31, 43, .22); background: rgba(125, 31, 43, .06);
  font-size: clamp(14px, 1.25vw, 18px); font-weight: 600; letter-spacing: .02em; line-height: 1.25; color: var(--wine);
}
.hero__badge::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 4px rgba(198, 90, 58, .18); }

.form-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; counter-reset: none; }
.form-steps a {
  display: flex; align-items: center; gap: 10px; height: 100%;
  padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--milk);
  font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--muted);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.form-steps__n {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px;
}
.form-steps .is-current a { border-color: var(--graphite); color: var(--graphite); background: var(--paper); }
.form-steps .is-current .form-steps__n { background: var(--graphite); border-color: var(--graphite); color: var(--milk); }
.form-steps .is-done a { color: var(--graphite); }
.form-steps .is-done .form-steps__n { background: var(--terracotta); border-color: var(--terracotta); color: transparent; position: relative; }
.form-steps .is-done .form-steps__n::after { content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 11px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }

.upload__main { display: grid; gap: 28px; align-content: start; }
.form-block { scroll-margin-top: calc(var(--header-h) + 80px); }
.form-block__title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.form-block__n {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--wine); color: #fff; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0;
}
.form-block__title--dark { color: var(--milk); margin-bottom: 4px; }
.form-block__title--dark .form-block__n { background: var(--terracotta); }
.form-block__error { display: block; margin-top: 10px; color: var(--wine); }
.form-block .analysis { margin-top: 12px; padding: 20px; }
.form-block .analysis .files { margin-bottom: 0; }
.form-block .fact:nth-child(3) { grid-column: auto; }   /* язык и тип документа — рядом */
.fact__hint--muted { border-left-color: var(--line-strong); color: var(--muted); font-size: 13px; }

/* Поля получения (офис / адрес / пункт выдачи) — на светлом фоне шага 3 */
.form-block .calc__ship { margin-top: 12px; padding: 20px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); gap: 12px; }
.form-block .calc__field > span { color: var(--muted); }
.form-block .calc__field > span i { color: var(--muted); opacity: .75; }
.form-block .calc__field-error { color: var(--wine); }
.form-block .calc__field.is-invalid .field { border-color: var(--terracotta); }
.form-block .calc__ship-note { color: var(--muted); }

/* Пояснение к расчёту и доверие */
.calc__explain { margin-top: 10px; font-size: 13px; color: rgba(247, 244, 239, .62); }
.calc__explain summary { cursor: pointer; list-style: none; color: var(--milk); text-decoration: underline; text-underline-offset: 3px; }
.calc__explain summary::-webkit-details-marker { display: none; }
.calc__explain ul { display: grid; gap: 6px; margin-top: 10px; padding-left: 16px; list-style: disc; line-height: 1.45; }
.calc__done-next { margin-top: 12px; font-size: 14px; }
.calc__done-next b { color: var(--milk); font-weight: 600; }

/* ---------- Почему мы ---------- */
.why__title { max-width: 22ch; margin-bottom: clamp(24px, 3vw, 40px); }
.why__title em { color: var(--terracotta); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.why .adv { min-height: 0; }
.why .adv__title { margin: 18px 0 10px; }

/* ---------- Услуги ---------- */
.services { background: var(--paper); border-block: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 22px; background: var(--milk); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.svc__t { font-size: 21px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.svc p { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.svc__link { margin-top: auto; padding-top: 6px; align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--wine); border-bottom: 1px solid rgba(125, 31, 43, .3); transition: border-color .3s var(--ease); }
.svc__link::after { content: " →"; }
.svc__link:hover { border-color: var(--wine); }
.doc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.doc-chips__label { margin-right: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--milk); font-size: 14px; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.chip:hover { border-color: var(--graphite); background: var(--paper); }
.chip--accent { background: var(--terracotta); border-color: var(--terracotta); color: var(--milk); }
.chip--accent:hover { background: var(--wine); border-color: var(--wine); }

/* ---------- Как это работает: 6 шагов ---------- */
.flow6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.flow6 li { position: relative; padding: 20px 18px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.flow6 li:nth-child(4) { background: var(--graphite); color: var(--milk); border-color: var(--graphite); }
.flow6__n { font-family: var(--mono); font-size: 12px; color: var(--terracotta); }
.flow6 p { margin-top: 18px; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }

/* ---------- Частые вопросы (главная и conversion.html) ---------- */
.faq { background: var(--paper); border-block: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__intro .btn { margin-top: 32px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.015em; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M6 0v12M0 6h12' stroke='%23171717' stroke-width='1.4'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--wine);
  background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M6 0v12M0 6h12' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") center no-repeat;
}
.faq__item summary:hover { color: var(--wine); }
.faq__item p { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 62ch; }

/* ---------- Закреплённая кнопка на телефоне (главная и conversion.html) ---------- */
.sticky-cta { display: none; }

@media (max-width: 1180px) {
  .flow6 { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}
@media (max-width: 680px) {
  body:has(.sticky-cta) { padding-bottom: 88px; }
  .hero__visual { max-width: 300px; margin-top: 8px; }
  .hero__badge { font-size: 14px; padding: 8px 14px 8px 12px; }
  .form-steps { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .form-steps a { flex-direction: column; justify-content: center; gap: 6px; padding: 8px 4px; text-align: center; font-size: 11px; }
  .form-steps__n { width: 24px; height: 24px; }
  .form-steps .is-done .form-steps__n::after { left: 8px; top: 4px; }
  .form-block .fact:nth-child(3) { grid-column: 1 / -1; }
  .svc-grid, .why__grid { grid-template-columns: 1fr; }
  .flow6 { grid-template-columns: 1fr 1fr; }
  .nav .nav__lang { display: flex; align-self: flex-start; margin-top: 16px; }
  .faq__item p { padding-right: 0; }
  /* Удобные для пальца размеры: переключатели, ссылки услуг, пояснение к цене */
  .seg button { min-height: 44px; }
  .svc__link { padding-block: 12px 4px; }
  .calc__explain summary { display: block; padding-block: 10px; }
  .chip { padding-block: 11px; }
  .footer__nav { gap: 0; }
  .footer__nav > a { padding-block: 9px; }
  .footer__bottom a, .requisites__summary { padding-block: 10px; }
  .footer__bottom { row-gap: 0; }
  .sticky-cta {
    display: flex; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 253, 249, .94);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px -16px rgba(58, 14, 21, .45);
    transform: translateY(160%);
    transition: transform .45s var(--ease);
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { --h: 52px; flex: 1; justify-content: space-between; padding-left: 22px; box-shadow: none; }
  .sticky-cta .btn__arrow { width: 36px; height: 36px; }
  .sticky-cta__call {
    flex: none; display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid var(--line-strong); color: var(--graphite);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* =========================================================
   Выделенные услуги, компактная панель расчёта, матрёшка заказа
   ========================================================= */
.hero__focus { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
.hero__focus a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--wine); border-bottom: 1px solid rgba(125, 31, 43, .28); padding-bottom: 2px; transition: border-color .3s var(--ease); }
.hero__focus a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); }
.hero__focus a:hover { border-color: var(--wine); }

.svc-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.svc--featured { padding: 28px; gap: 12px; border: 0; color: var(--milk); min-height: 300px; }
.svc--featured p { color: rgba(247, 244, 239, .78); }
.svc--featured .svc__t { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.svc--graphite { background: var(--graphite); }
.svc--wine { background: var(--wine); }
.svc--terracotta { background: var(--terracotta); }
.svc--terracotta p { color: rgba(255, 255, 255, .88); }
.svc__tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(247, 244, 239, .35); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--milk) !important; }
.svc__btn {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border-radius: 999px; background: var(--milk); color: var(--graphite); font-size: 14px; font-weight: 600;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.svc__btn::after { content: "→"; }
.svc__btn:hover { background: #fff; transform: translateX(2px); }
.svc-grid { grid-template-columns: repeat(4, 1fr); }

/* Панель «Рассчитать стоимость»: до начала заказа — две равные половины */
.calc__intro { display: none; }
.upload__grid.is-idle { grid-template-columns: 1fr 1fr; align-items: center; }
.upload__grid.is-idle #step-params,
.upload__grid.is-idle #step-extra,
.upload__grid.is-idle #step-contacts,
.upload__grid.is-idle .calc__head,
.upload__grid.is-idle .calc__rows,
.upload__grid.is-idle .calc__total,
.upload__grid.is-idle .calc__note,
.upload__grid.is-idle .calc__explain { display: none; }
/* Пока заказ не начат — тёмная панель по высоте своего содержимого, по центру напротив загрузки */
.upload__grid.is-idle .calc { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 32px 28px; }
.upload__grid.is-idle .calc__intro { display: block; width: 100%; }
.upload__grid.is-idle .dropzone { min-height: 300px; }
.calc__intro-title { margin-bottom: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: var(--milk); }
.calc__intro p:not(.calc__intro-title) { font-size: 15px; line-height: 1.5; color: rgba(247, 244, 239, .7); }
.form-start { margin-top: 14px; padding: 8px 0; border: 0; background: none; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--wine); text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.form-start:hover { color: var(--graphite); }
.upload__grid:not(.is-idle) .form-start { display: none; }

/* Матрёшка заказа: приоткрывается по мере заполнения шагов (--open задаёт скрипт) */
.calc__doll { width: 150px; margin: 0 auto 22px; }
.calc__doll .m-lid, .calc__doll .m-inner, .calc__doll .m-rim,
.calc__done-doll .m-lid, .calc__done-doll .m-inner, .calc__done-doll .m-rim { transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); }
.upload__grid:not(.is-idle) .calc__doll { position: absolute; top: 18px; right: 20px; width: 40px; margin: 0; }
.upload__grid:not(.is-idle) .calc__head { padding-right: 52px; }
.calc__done-doll { width: 96px; margin-bottom: 4px; }
.calc__done-doll { animation: fadeIn .8s var(--ease); }

@media (max-width: 980px) {
  .svc-featured { grid-template-columns: 1fr; }
  .svc--featured { min-height: 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .upload__grid.is-idle { grid-template-columns: 1fr; }
  .upload__grid.is-idle .calc { padding-block: 28px; }
  .calc__doll { width: 110px; }
}
@media (max-width: 680px) {
  .hero__focus { gap: 10px 16px; margin-top: 18px; }
  .hero__focus a { font-size: 14px; padding-block: 8px 2px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc--featured { padding: 22px; }
  .svc__btn { width: 100%; justify-content: space-between; }
  .upload__grid.is-idle .dropzone { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .calc__doll .m-lid, .calc__doll .m-inner, .calc__doll .m-rim { transition: none; }
}

/* =========================================================
   Доверие у формы, подсказка у загрузки, компактные «Частые вопросы»
   ========================================================= */
.upload-hint { margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--line-strong); font-size: 13px; line-height: 1.5; color: var(--muted); }
.upload-hint a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }


.trust-strip { margin-top: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--milk); border: 1px solid var(--line); }
.trust-strip__title { margin-bottom: 14px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.02em; }
.trust-strip__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
.trust-strip__list li { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--terracotta); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.trust-strip__list b { font-size: 15px; font-weight: 600; color: var(--graphite); }
.trust-strip__list a:not(.trust-strip__help) { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.trust-strip__help {
  align-self: flex-start; margin-top: 6px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--wine); color: #fff; font-size: 14px; font-weight: 600;
  transition: background-color .3s var(--ease);
}
.trust-strip__help::after { content: "→"; }
.trust-strip__help:hover { background: var(--wine-hover); }

.faq--compact .faq__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.5vw, 32px); }
.faq--compact .faq__head .lead { margin-top: 0; max-width: 44ch; font-size: 16px; }
.faq--compact .faq__head .lead a { color: var(--wine); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.faq__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; }
.faq--compact .faq__item summary { padding: 15px 0; font-size: 17px; gap: 16px; }
.faq--compact .faq__item summary::after { width: 26px; height: 26px; background-size: 10px; }
.faq__a { display: grid; gap: 8px; padding: 0 40px 18px 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.faq--compact .faq__item .faq__a p { padding: 0; max-width: none; }
.faq__a a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1180px) {
  .trust-strip__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .faq__cols { grid-template-columns: 1fr; }
  .faq__cols .faq__list + .faq__list { border-top: 0; }
}
@media (max-width: 680px) {
  .trust-strip { padding: 18px; }
  .trust-strip__list { grid-template-columns: 1fr; }
  .trust-strip__help { width: 100%; justify-content: space-between; min-height: 48px; }
  .faq--compact .faq__item summary { font-size: 16px; padding: 14px 0; }
  .faq__a { padding-right: 0; }
}

/* =========================================================
   Первый экран «Цените своё время?» и матрёшка-помощник
   ========================================================= */
.hero--time { padding-block: clamp(20px, 2.5vw, 36px) clamp(28px, 3vw, 44px); }
.hero--time .hero__grid { min-height: 0; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero__kicker { margin-bottom: 8px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; color: var(--terracotta); }
.hero--time .hero__title { font-size: clamp(38px, 3.9vw, 58px); line-height: 1; }
/* Форма сразу под первым экраном: компактный заголовок раздела, чтобы шаги и загрузка были видны без долгой прокрутки */
.hero--time + .upload { padding-top: clamp(20px, 2.5vw, 32px); }
.hero--time + .upload .section-head { margin-bottom: 16px; align-items: baseline; }
.hero--time + .upload .section-head .h2 { font-size: clamp(28px, 2.6vw, 40px); }
.hero--time + .upload .section-head .lead { font-size: 15px; max-width: 60ch; }
.hero--time .hero__lead { margin-top: 20px; max-width: 34ch; }
.hero--time .hero__cta { margin-top: 26px; }
.hero--time .hero__cta .btn { --h: 64px; font-size: 15px; padding-left: 32px; }

.assistant {
  position: relative; display: grid; gap: 18px; padding: 24px;
  border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -48px rgba(58, 14, 21, .45);
}
.assistant__head { display: grid; grid-template-columns: 168px 1fr; align-items: center; gap: 18px; }
.assistant__doll { position: relative; display: grid; place-items: end center; height: 196px; }
.assistant__ring { position: absolute; left: 50%; bottom: 0; width: 168px; height: 168px; border-radius: 50%; background: #EADBC7; transform: translateX(-50%); }
.assistant__doll .doll { width: 136px; margin-bottom: -8px; }
.assistant__doll .m-lid, .assistant__doll .m-inner, .assistant__doll .m-rim { transition: transform 1s var(--ease), opacity 1s var(--ease); }
.assistant__bubble {
  position: relative; padding: 16px 18px; border-radius: 20px 20px 20px 6px;
  background: var(--graphite); color: var(--milk);
  font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; line-height: 1.35; letter-spacing: -.01em;
}
.assistant__bubble::before { content: ""; position: absolute; left: -8px; bottom: 10px; width: 16px; height: 16px; background: var(--graphite); transform: rotate(45deg); border-radius: 3px; }
.assistant__body { display: grid; gap: 10px; }
.assistant__start { justify-content: space-between; }
.assistant__link {
  justify-self: start; padding: 8px 0; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--wine); text-decoration: underline; text-underline-offset: 3px;
}
.assistant__link:hover { color: var(--graphite); }
.assistant__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.assistant__skip { padding: 6px 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--wine); text-decoration: underline; text-underline-offset: 3px; letter-spacing: 0; font-family: var(--sans); font-size: 13px; }
.assistant__options { display: flex; flex-wrap: wrap; gap: 8px; }
.assistant__opt {
  min-height: 44px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--milk); color: var(--graphite);
  font: 500 15px/1.2 var(--sans); text-align: left;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.assistant__opt:hover { border-color: var(--graphite); }
.assistant__opt.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }
.assistant__opt--sub { min-height: 40px; font-size: 14px; }
.assistant__hint { flex-basis: 100%; padding-left: 12px; border-left: 2px solid var(--terracotta); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.assistant__hint.is-ok { border-left-color: #3E8E5A; color: #2F6B45; }
.assistant__select { flex-basis: 100%; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.assistant__select .field { background-color: var(--milk); font-size: 16px; }
.assistant__action { flex-basis: 100%; justify-content: center; }
.assistant__options .assistant__link { flex-basis: 100%; }
.assistant__nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.assistant__navbtn { min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; font: 500 15px/1 var(--sans); color: var(--ink-2); }
.assistant__navbtn:hover { color: var(--graphite); }
.assistant__navbtn.is-next { margin-left: auto; color: var(--wine); }

@media (max-width: 980px) {
  .hero--time .hero__grid { grid-template-columns: 1fr; }
  .assistant { max-width: 560px; }
}
@media (max-width: 680px) {
  .hero--time .hero__title { font-size: clamp(34px, 10vw, 44px); }
  .hero__kicker { font-size: 28px; }
  .hero--time .hero__cta .btn { width: 100%; justify-content: space-between; }
  .assistant { padding: 18px; gap: 14px; }
  .assistant__head { grid-template-columns: 92px 1fr; gap: 12px; }
  .assistant__doll { height: 108px; }
  .assistant__ring { width: 92px; height: 92px; }
  .assistant__doll .doll { width: 72px; }
  .assistant__bubble { font-size: 15px; padding: 12px 14px; }
  .assistant__opt { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .assistant__doll .m-lid, .assistant__doll .m-inner, .assistant__doll .m-rim { transition: none; }
}
/* Помощник внутри формы: матрёшка слева, вопрос и варианты справа */
.assistant--form { grid-template-columns: 184px 1fr; column-gap: 24px; row-gap: 14px; align-items: start; margin-bottom: 16px; padding: 20px 24px; box-shadow: none; background: var(--milk); }
.assistant--form .assistant__head { display: contents; }
.assistant--form .assistant__doll { grid-row: span 2; align-self: center; }
.assistant--form .assistant__bubble { align-self: end; justify-self: start; max-width: 62ch; }
.assistant--form .assistant__body { align-content: start; }
.assistant--form:not(.is-active) .assistant__body { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.assistant--form .assistant__start { --h: 52px; }
@media (max-width: 680px) {
  .assistant--form { grid-template-columns: 1fr; padding: 16px; }
  .assistant--form .assistant__head { display: grid; }
  .assistant--form .assistant__doll { grid-row: auto; }
  .assistant--form:not(.is-active) .assistant__body { display: grid; }
  .assistant--form .assistant__start { width: 100%; }
}
/* «Как оформить заказ»: четыре шага — четыре матрёшки набора, от большой к маленькой; раскрываются по очереди */
.intro-dolls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; align-items: start; }
.intro-dolls__item { display: grid; justify-items: center; align-content: start; gap: 8px; cursor: default; }
.intro-dolls__doll { display: grid; align-items: end; height: 132px; }
.intro-dolls__item:nth-child(1) .intro-dolls__doll svg { width: 92px; }
.intro-dolls__item:nth-child(2) .intro-dolls__doll svg { width: 80px; }
.intro-dolls__item:nth-child(3) .intro-dolls__doll svg { width: 68px; }
.intro-dolls__item:nth-child(4) .intro-dolls__doll svg { width: 58px; }
.intro-dolls__doll .m-lid, .intro-dolls__doll .m-inner, .intro-dolls__doll .m-rim { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.intro-dolls__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(247, 244, 239, .32); font-family: var(--mono); font-size: 12px; color: var(--milk); }
.calc__intro .intro-dolls__item p { font-size: 14px; line-height: 1.4; color: rgba(247, 244, 239, .82); text-align: center; }
@media (max-width: 680px) {
  .intro-dolls { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .intro-dolls__doll { height: 108px; }
  .intro-dolls__item:nth-child(n) .intro-dolls__doll svg { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-dolls__doll .m-lid, .intro-dolls__doll .m-inner, .intro-dolls__doll .m-rim { transition: none; }
}
