:root {
  --paper: #f3ecdf;
  --paper-2: #fffaf3;
  --ink: #1a1714;
  --muted: #5e574f;
  --line: #e3d6c3;
  --yellow: #ffcf3f;
  --yellow-deep: #f0b400;
  --green: #1d6b45;
  --shadow: 0 12px 32px rgba(60, 40, 10, 0.07);
  --radius: 16px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --sticky-bar-h: 0px;
  --dock-pad: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(255, 207, 63, 0.45), transparent 60%),
    var(--paper);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--yellow); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(243, 236, 223, 0.86);
  border-bottom: 1px solid transparent;
}

/* Баннер куки от HIXO — вписываем в стиль и не даём наезжать на наши панели */
#hixo-consent {
  font-family: var(--font) !important;
  color: var(--ink) !important;
  background: var(--paper-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow) !important;
  max-width: min(360px, calc(100% - 24px)) !important;
}
#hixo-consent button {
  border: 1px solid var(--ink) !important;
  border-radius: 999px !important;
  background: var(--yellow) !important;
  color: var(--ink) !important;
  font-weight: 800 !important;
  padding: 6px 14px !important;
  cursor: pointer !important;
}
#hixo-consent a {
  color: var(--muted) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
.header-inner, .footer-inner, .promise-bar, .hero, .split, .steps, .stories, .cards {
  display: grid;
  gap: 18px;
}
.header-inner {
  min-height: 60px;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 16px;
  line-height: 1.1;
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
}
.logo-text {
  min-width: 0;
  overflow: hidden;
}
.logo-text {
  display: grid;
  gap: 1px;
}
.logo-text strong {
  font-weight: 700;
  white-space: nowrap;
}
.logo-text small {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  flex: none;
}
.nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
}
.nav a, .mobile-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  font-size: 15px;
}
.nav a:hover, .mobile-nav a:hover { color: var(--ink); }
.header-actions, .contact-row, .hero-actions, .success-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-messengers {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.msg-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}
.msg-icon svg {
  width: 18px;
  height: 18px;
}
.msg-phone { background: var(--yellow); }
.msg-tg { background: #dff3ff; }
.msg-wa { background: #e4f8e8; }
.msg-max { background: #efe6ff; }
.msg-icon:hover { filter: brightness(0.97); }
.msg-phone-with-num {
  width: auto;
  min-height: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.msg-phone-with-num span {
  line-height: 1;
}
.menu-toggle, .mobile-nav { display: none; }
.menu-toggle {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}
.group-label {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.phone-link {
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--yellow);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 1px 0 var(--ink);
}
.btn:hover { background: var(--yellow-deep); }
.btn:disabled,
.btn:disabled:hover {
  background: #e6e0d6;
  color: #8d8478;
  border-color: #cfc6b8;
  box-shadow: none;
  cursor: not-allowed;
}
.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-dark:hover { background: #322c26; }
.btn-ghost {
  background: transparent;
}
.btn-block { width: 100%; }

.hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  align-items: start;
  padding: 24px 0 18px;
  column-gap: 20px;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.04em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(24px, 3.6vw, 38px); max-width: 18em; }
h1 span {
  background: var(--yellow);
  padding: 0 0.08em;
  border-radius: 0.16em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: normal;
}
.lead, .section-head p, .story p, .faq p, .fine {
  color: var(--muted);
}
.lead { font-size: 15px; max-width: 36rem; }
.hero-actions { margin-top: 16px; flex-wrap: wrap; }
.hero-reassure {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 0;
  font-weight: 800;
  font-size: 15px;
}
.contact-line a { text-decoration: none; }
.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.person img,
.person-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex: none;
}
.person img { object-fit: cover; border: 2px solid var(--ink); }
.person-fallback {
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-size: 28px;
}
.person strong { display: block; font-family: var(--display); font-size: 20px; }
.person span { color: var(--muted); }
.cities { padding: 0 0 8px; }
.cities p {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cities ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cities li {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-weight: 800;
}
.yandex-slot { margin-top: 14px; }
.yandex-slot iframe {
  width: 100%;
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
}
a.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  flex: none;
}
.icon-badge svg { width: 18px; height: 18px; }
.card .icon-badge { width: 46px; height: 46px; }
.card .icon-badge svg { width: 24px; height: 24px; }
.btn .icon-badge { width: 26px; height: 26px; background: var(--ink); color: var(--yellow); }
.btn-dark .icon-badge,
.btn-ghost .icon-badge { background: var(--yellow); color: var(--ink); }
.btn .icon-badge svg { width: 15px; height: 15px; }

.ticket {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
}
.ticket:before, .ticket:after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--paper);
  border-radius: 50%;
  top: 118px;
}
.ticket:before { left: -11px; }
.ticket:after { right: -11px; }
.ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px dashed #c9b79a;
  margin-bottom: 16px;
}
.ticket-top div { min-width: 0; }
.ticket-top strong,
.ticket-top span { display: block; }
.ticket-top span { color: var(--muted); font-size: 15px; line-height: 1.35; }
.ticket-top strong { font-family: var(--display); font-size: 28px; }
.ticket-top span, .section-head p { margin: 4px 0 0; }
.ticket-art { width: 86px; height: 64px; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.55);
  margin-top: 28px;
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 14px 0;
  animation: run 28s linear infinite;
  font-weight: 800;
}
.marquee b { color: var(--yellow-deep); }
@keyframes run { to { transform: translateX(-50%); } }

.promise-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  padding: 8px 0 28px;
}
.promise {
  padding: 0;
  max-width: 360px;
}
.promise b, .price-row b, .price-tag { font-family: var(--font); }
.promise b { display: block; font-size: 28px; letter-spacing: -0.04em; }
.promise span { color: var(--muted); }

.section { padding: 22px 0; }
.section-head { max-width: 640px; margin-bottom: 14px; }
h2 { font-size: clamp(24px, 3.2vw, 34px); }

.cards { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card, .story, .step, .faq-item, .order-card, .success {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card, .story, .step { padding: 14px; }
.card-action {
  display: grid;
  align-content: start;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card-action:hover,
.card-action:focus-visible {
  border-color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}
.card-no {
  font-family: var(--display);
  color: var(--muted);
}
.card h3, .story h3, .step h3 { font-size: 17px; margin: 10px 0 6px; }
.card p, .story p, .step p { margin: 0; font-size: 14px; }
.price-tag { display: inline-block; margin-top: 10px; font-weight: 800; font-size: 14px; }

.menu {
  display: grid;
  gap: 8px;
}
.price-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}
.price-row:hover, .price-row.is-selected {
  background: var(--paper-2);
  border-color: var(--ink);
}
.price-row small { display: block; color: var(--muted); font-weight: 500; }
.dots {
  width: 80px;
  border-bottom: 1px dotted #c9b79a;
}
.price-row b { font-size: 18px; white-space: nowrap; }
.fine { margin-top: 12px; }

.split { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.steps, .stories { grid-template-columns: repeat(4, 1fr); }
.stories { grid-template-columns: repeat(3, 1fr); }
.step-no {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--display);
  font-size: 14px;
}

.faq { display: grid; gap: 8px; }
.faq-item { padding: 2px 14px; }
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  padding: 10px 0;
  font-size: 15px;
}
.faq-item p { margin-top: 0; font-size: 14px; }

.order-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: start;
}
.order-card, .success { padding: 22px; }
label { display: grid; gap: 4px; font-weight: 700; margin-bottom: 10px; font-size: 13px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d9cbb6;
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  font-size: 15px;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 207, 63, 0.45); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero .chip-row { margin: 14px 0 16px; }
.service-order { max-width: 640px; }
.form-error { color: #9a3412; min-height: 0; margin: 0 0 10px; font-weight: 700; }
.success { margin-top: 14px; }
.success pre {
  white-space: pre-wrap;
  font-family: var(--font);
  background: var(--paper);
  border-radius: 16px;
  padding: 12px;
}
.hours {
  margin-top: 12px;
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
}
.card-action a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 2px;
}
.crumbs {
  padding: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover { color: var(--ink); }
.chip-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.chip-link:hover {
  border-color: var(--ink);
  background: #fff7df;
}
.privacy-page {
  padding-top: 40px;
  max-width: 720px;
}
.privacy-page h1 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: none;
  margin-bottom: 14px;
}
.privacy-page h2 {
  font-size: 22px;
  margin: 22px 0 8px;
}

.site-footer {
  padding: 28px 0 28px;
  margin-top: 12px;
}
.footer-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(255, 207, 63, 0.28), transparent 42%),
    var(--paper-2);
  box-shadow: var(--shadow);
}
.footer-brand {
  display: grid;
  gap: 12px;
  align-content: start;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.footer-logo strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.04em;
}
.footer-logo small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-lead {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.footer-col h3 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 800;
}
.footer-contacts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.footer-contacts .msg-icon {
  width: 44px;
  height: 44px;
}
.footer-contacts .msg-phone-with-num {
  width: auto;
  height: 44px;
  min-height: 44px;
  flex-basis: 100%;
}
.footer-nav {
  display: grid;
  gap: 8px;
}
.footer-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  width: fit-content;
}
.footer-nav a:hover { color: var(--yellow-deep); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.footer-bottom a:hover { color: var(--ink); }
.footer-inner {
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.legal { margin-top: 8px; font-size: 14px; }

.scenarios { grid-template-columns: 1fr 1fr; }
.card-list {
  margin: 14px 0 18px;
  padding: 0 0 0 18px;
  color: var(--muted);
}
.card-list li { margin: 6px 0; }
.price-fixed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}
.price-fixed .icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  flex: none;
}
.price-fixed .icon-badge svg { width: 16px; height: 16px; }
.reviews .story strong {
  display: block;
  margin-top: 14px;
  font-size: 15px;
}
.problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.problem {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.problem h3 { font-size: 20px; margin-bottom: 8px; }
.problem p { margin: 0; color: var(--muted); }
.consent { margin-top: 12px; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 12;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--yellow);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.to-top:hover { background: var(--yellow-deep); }

.hero-service > div { min-width: 0; }
.hero-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.hero-checklist li {
  position: relative;
  padding-left: 20px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
}
.hero-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.metric-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.9);
  box-shadow: var(--shadow);
  min-width: 0;
}
.metric {
  padding: 10px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  min-width: 0;
}
.metric strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(15px, 1.8vw, 18px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.metric span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-grid .card {
  min-width: 0;
  overflow-wrap: anywhere;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-weight: 700;
  font-size: 13px;
}
.chip-action {
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.chip-action:hover,
.chip-action:focus-visible {
  border-color: var(--ink);
  background: #fff7df;
  outline: none;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.trust-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.trust-item strong {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  margin-bottom: 4px;
}
.trust-item span {
  color: var(--muted);
  font-size: 13px;
}
.hero-person .person {
  grid-column: 1 / -1;
  margin: 0;
}
.diag-banner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "kicker price"
    "title price"
    "text price";
  gap: 2px 16px;
  align-items: center;
  margin: 0 0 14px;
  padding: 16px 18px;
  text-align: left;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.diag-banner-kicker {
  grid-area: kicker;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.diag-banner strong {
  grid-area: title;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.04em;
}
.diag-banner span:not(.diag-banner-kicker) { grid-area: text; }
.diag-banner b {
  grid-area: price;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.04em;
}
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.download-row .btn {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
}
.mobile-dock { display: none; }
.order-trust {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.order-trust li {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
  gap: 12px;
  align-items: start;
}
.builder-main { min-width: 0; }
.builder-block {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  min-width: 0;
  display: grid;
  gap: 10px;
}
.builder-label {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: -0.02em;
}
.legend-soft {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
.builder-hint {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.success-actions {
  margin-top: 12px;
  flex-wrap: wrap;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.choice-grid-service {
  margin-bottom: 2px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.choice {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
  min-width: 0;
}
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: grid;
  gap: 2px;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  transition: border-color 0.15s ease, background 0.15s ease;
  overflow-wrap: anywhere;
}
.choice strong { font-size: 13px; line-height: 1.25; }
.choice small { color: var(--muted); font-weight: 600; font-size: 11px; }
.choice input:checked + span,
.choice:hover span {
  border-color: var(--ink);
  background: #fff7df;
}
.builder-summary {
  position: sticky;
  top: 72px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.builder-summary h3 { margin-bottom: 10px; font-size: 18px; }
.summary-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dotted #c9b79a;
  color: var(--muted);
}
.summary-list strong { color: var(--ink); text-align: right; font-weight: 800; }
.summary-total {
  margin: 0 0 4px;
  font-size: 22px;
  font-family: var(--display);
  letter-spacing: -0.03em;
}
.summary-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.consent { font-size: 12px; margin-top: 8px; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
  }
  .header-actions { display: none; }
  .site-header:not(:has(.menu-toggle)) .header-actions { display: inline-flex; flex-wrap: wrap; }
  /* На узком экране значки убираем из шапки — они в «Меню» и в хиро */
  .header-messengers {
    display: none;
  }
  .mobile-nav {
    display: grid;
    gap: 12px;
    padding: 0 0 16px;
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
  }
  .mobile-nav-contacts .msg-icon {
    width: 42px;
    height: 42px;
  }
  .mobile-nav-contacts .msg-phone-with-num {
    width: auto;
    min-height: 42px;
    height: 42px;
    padding: 0 12px 0 10px;
  }
  .mobile-nav-contacts .msg-phone-with-num span {
    display: inline;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .hero, .cards, .split, .steps, .stories, .order-grid, .promise-bar, .footer-inner, .footer-panel, .footer-cols, .form-row, .scenarios, .problem-list, .builder-grid, .trust-row, .order-trust {
    grid-template-columns: 1fr;
  }
  .service-grid, .choice-grid, .hero-checklist, .metric-card, .trust-row {
    grid-template-columns: 1fr 1fr;
  }
  .dots { display: none; }
  .price-row { grid-template-columns: 1fr auto; }
  .builder-summary { position: static; }
  .hero-service {
    padding-right: 0;
  }
  .steps.steps-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header:not(:has(.menu-toggle)) .header-inner {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .site-header:not(:has(.menu-toggle)) .logo { overflow: visible; }
  .site-header:not(:has(.menu-toggle)) .header-actions { width: 100%; }
  .cards, .hero-actions, .scenarios, .service-grid, .metric-card, .hero-checklist { grid-template-columns: 1fr; }
  .choice-grid-service { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 24px; max-width: 100%; }
  h2 { font-size: 22px; }
  .ticket:before, .ticket:after { display: none; }
  .section { padding: 16px 0; }
  .builder-block { padding: 12px; }
  .choice span { padding: 9px 10px; }
  .wrap { width: min(1120px, calc(100% - 24px)); }
  body { font-size: 14px; }
  .builder-hint { font-size: 12px; }
  .order-trust { gap: 6px; margin-bottom: 12px; }
  .order-trust li { font-size: 12px; padding: 9px 10px; }

  /* Заявка только в форме — без липкой панели снизу */
  .builder-grid {
    padding-bottom: 0;
  }
  .builder-summary {
    position: static;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    border: 1px solid var(--ink);
    padding: 14px;
  }
  .builder-summary h3,
  .builder-summary .summary-list,
  .builder-summary .summary-note,
  .builder-summary .consent {
    display: revert;
  }
  .builder-summary .summary-list {
    display: grid;
  }
  .builder-summary .summary-total {
    margin: 0 0 4px;
    font-size: 22px;
  }
  .builder-summary .btn-block {
    min-height: 44px;
  }
  .to-top {
    bottom: 84px;
    right: 12px;
    left: auto;
  }
  .mobile-dock {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 25;
  }
  .mobile-dock-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    box-shadow: var(--shadow);
  }
  body:has(.mobile-dock) { padding-bottom: 72px; }
  .footer-contacts {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .site-footer {
    padding-bottom: 24px;
  }
  .footer-panel {
    padding-right: 0;
  }

  body.has-hixo-consent:has(.mobile-dock) #hixo-consent {
    left: 12px !important;
    right: 12px !important;
    bottom: 76px !important;
    width: auto !important;
    max-width: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
