/* Уборка плюс (v3, 22.10). Идея «стена из кафеля»: светло-серый фон работает как затирка, страница выложена
   плитками с одним радиусом и зазором 6 px. Плитки белые, графитовые (цвет их фартука) и с кадрами. Акцент снят
   с синих нитриловых перчаток на их фото. Уровень и подход по эталону pervy-detailing (_refs/etalon.md).
   Движение только transform и opacity, без размытия; появление через двойной rAF. */

@font-face {
  font-family: "Wix Madefor Display";
  src: url("fonts/WixMadeforDisplay-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Wix Madefor Display";
  src: url("fonts/WixMadeforDisplay-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #e2e4e5;
  --tile: #ffffff;
  --tile2: #f0f1f2;
  --ink: #15161a;
  --ink2: #3d4148;
  --mute: #5c6168;
  --line: rgba(21, 22, 26, 0.1);
  --dk: #2c2f34;
  --dk2: #3a3e45;
  --on-dk: #f2f3f4;
  --on-dk2: rgba(242, 243, 244, 0.74);
  --acc: #2a4ff0;
  --acc2: #1d3dd4;
  --on-acc: #ffffff;
  --r: 8px;
  --r2: 5px;
  --gap: 6px;
  --pad: 12px;
  --f: "Wix Madefor Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
}
@media (min-width: 761px) { :root { --pad: 20px; } }
@media (min-width: 1101px) { :root { --pad: 34px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scrollbar-width: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar { display: none; width: 0; height: 0; }
* { scrollbar-width: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.5 var(--f);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
html.lock, html.lock body { overflow: hidden; }
img { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
p, dd, blockquote { text-wrap: pretty; overflow-wrap: normal; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.ub { overflow-x: clip; padding-bottom: 96px; }
.ub section[id] { scroll-margin-top: 12px; }

.h2 {
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

/* ===== плитка ===== */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--tile);
  isolation: isolate;
}
.tile--ph { background: var(--dk); color: var(--on-dk); }
.tile--ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}
.tile--ph::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 22, 26, 0) 30%, rgba(20, 22, 26, 0.5) 58%, rgba(20, 22, 26, 0.9) 100%);
}
a.tile--ph:hover > img { transform: scale(1.04); }
.tile__txt {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  justify-items: start;
}
.tile__txt > b { font-weight: 500; font-size: 24px; line-height: 1.02; letter-spacing: -0.015em; }
.tile__txt > p, .tile__txt > span { color: var(--on-dk2); max-width: 44ch; }
.ic {
  width: 38px;
  height: 38px;
  border-radius: var(--r2);
  background: var(--acc);
  color: var(--on-acc);
  display: grid;
  place-items: center;
  flex: none;
}

/* ===== кнопки ===== */
.btn {
  height: 52px;
  padding: 0 24px;
  border-radius: var(--r2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.btn--w { background: #fff; color: var(--ink); }
.btn--w:hover { background: #e9ecff; }
.btn--acc { background: var(--acc); color: var(--on-acc); }
.btn--acc:hover { background: var(--acc2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a2c31; }

/* ===== логотип ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 72px;
  padding: 0 16px 0 18px;
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.logo__p {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--acc);
}
.logo__p::before, .logo__p::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2.6px;
  margin: -1.3px 0 0 -6px;
  border-radius: 2px;
  background: #fff;
}
.logo__p::after { transform: rotate(90deg); }

/* ===== первый экран (v4): плитки, текст в своей плитке, не поверх кадра ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 72px minmax(200px, 1fr) 150px auto;
  gap: var(--gap);
}
.hero__bar { grid-column: 1 / -1; display: flex; gap: var(--gap); padding-right: 78px; min-width: 0; }
.hero__main { grid-column: 1 / -1; }
.hero__main > img { object-position: 40% 40%; transform-origin: 40% 40%; }
.hero__main::after { background: linear-gradient(180deg, rgba(20, 22, 26, 0) 70%, rgba(20, 22, 26, 0.45)); }
.hero__ba::after, .hero__det::after { background: linear-gradient(180deg, rgba(20, 22, 26, 0) 55%, rgba(20, 22, 26, 0.6)); }
.hero__ba figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; }
.hero__ba figcaption span, .hero__det figcaption {
  padding: 5px 9px;
  border-radius: var(--r2);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.hero__det figcaption { position: absolute; left: 8px; bottom: 8px; }
.hero__rate {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 11px;
  border-radius: var(--r2);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.hero__rate svg { color: #f2b01e; }
.wx {
  flex: 1;
  min-width: 0;
  min-height: 72px;
  padding: 10px 14px;
  border-radius: var(--r);
  background: var(--tile);
  color: var(--ink);
  display: grid;
  align-content: center;
  gap: 1px;
}
.wx__place span { display: none; }
.wx__place { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx__now { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 500; line-height: 1.15; }
.wx__now span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx__now b { font-weight: 500; flex: none; }
.wx__hint { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.3; color: var(--acc); font-weight: 500; }
.wx .wx__hint { display: none; }
.hero .logo { flex: none; }
.hero__txt {
  grid-column: 1 / -1;
  border-radius: var(--r);
  background: var(--dk);
  color: #fff;
  padding: 18px 16px 16px;
  display: grid;
  align-content: end;
  justify-items: start;
}
.hero__k { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.72); margin-bottom: 10px; }
.h1 {
  font-weight: 600;
  font-size: clamp(40px, 12vw, 58px);
  line-height: 0.93;
  letter-spacing: -0.045em;
}
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: inline-block; }
.hero__p { display: none; margin-top: 18px; font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, 0.8); max-width: 46ch; }
.hero__row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; width: 100%; }
.hero__go { flex: 1 1 100%; height: 56px; font-size: 17px; }
.slot { display: none; color: rgba(255, 255, 255, 0.85); text-align: left; line-height: 1.25; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.slot small { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.slot b { font-weight: 600; font-size: 15px; }
.slot:hover { color: #fff; border-bottom-color: #fff; }
.hero__from { display: none; }
@media (max-width: 419px) { .wx__now { font-size: 15px; } .wx { padding: 10px 12px; } }
@media (min-width: 420px) { .wx__place span { display: inline; } }
@media (max-width: 379px) { .hero .logo { padding: 0 12px 0 14px; font-size: 17px; } .wx { padding: 10px 12px; } .wx__now { font-size: 15px; } }

/* появление первого экрана */
.js .hero__main > img { transform: scale(1.08); }
.js.is-ready .hero__main > img { transform: none; transition: transform 2.4s var(--ease); }
.js .ln > span { transform: translateY(105%); }
.js.is-ready .ln > span { transform: none; transition: transform 1s var(--ease) calc(0.15s + var(--i) * 0.12s); }
.js .up { opacity: 0; transform: translateY(14px); }
.js.is-ready .up { opacity: 1; transform: none; transition: opacity 0.9s ease 0.55s, transform 0.9s var(--ease) 0.55s; }
.js.is-ready .hero .logo, .js.is-ready .wx, .js.is-ready .hero__main { transition-delay: 0.05s; }
.js.is-ready .hero__ba { transition-delay: 0.2s; }
.js.is-ready .hero__det { transition-delay: 0.3s; }

/* появление блоков */
.js .mo { opacity: 0; transform: translateY(26px); }
.js .mo.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease calc(var(--i, 0) * 0.08s), transform 0.9s var(--ease) calc(var(--i, 0) * 0.08s);
}

/* ===== заголовок блока ===== */
.head { display: grid; gap: 12px; margin-bottom: 18px; }
.head p { color: var(--ink2); max-width: 46ch; }

/* ===== цены плитками ===== */
.svc { padding: 48px var(--pad) 0; }
.svc__grid { display: grid; gap: var(--gap); }
.kind { min-height: 560px; }
.kind__body { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.kind--reg > img { object-position: 50% 40%; }
.kind--gen > img { object-position: 50% 60%; }
.kind .ic { position: absolute; top: 14px; right: 14px; }
.kind__from { position: absolute; top: 14px; left: 14px; padding: 7px 11px; border-radius: var(--r2); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.kind__t { font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: -0.025em; padding: 0 6px; }
.kind__s { margin: 8px 0 12px; padding: 0 6px; color: var(--on-dk2); font-size: 14px; line-height: 1.4; max-width: 42ch; }
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.cell {
  position: relative;
  min-height: 66px;
  padding: 9px 10px 8px;
  border-radius: var(--r2);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  text-align: left;
  display: grid;
  align-content: space-between;
  gap: 4px;
  transition: background-color 0.2s, color 0.2s;
}
.cell:hover { background: #fff; }
.cell span { font-size: 12px; color: var(--mute); line-height: 1.2; padding-right: 22px; }
.cell b { font-weight: 600; font-size: 16px; line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap; }
.cell b small { font-size: 12px; font-weight: 500; }
.cell i {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--tile2);
  display: grid;
  place-items: center;
  font-style: normal;
}
.cell.is-on { background: var(--acc); color: #fff; }
.cell.is-on span { color: rgba(255, 255, 255, 0.82); }
.cell.is-on i { background: #fff; color: var(--acc); }

/* окна и химчистка: строки со счётчиком */
.xt { padding: 18px 16px 10px; display: flex; flex-direction: column; }
.xt__foot { margin-top: auto; padding: 14px 0 6px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); }
.xt--dk { background: var(--dk); color: var(--on-dk); }
.xt__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 10px; }
.xt__t { font-weight: 500; font-size: 28px; line-height: 1; letter-spacing: -0.025em; }
.xt__note { font-size: 14px; color: var(--mute); margin: -2px 0 10px; }
.xt--dk .xt__note { color: var(--on-dk2); }
.cnt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}
.xt--dk .cnt { border-top-color: rgba(255, 255, 255, 0.1); }
.cnt__n { display: grid; font-size: 16px; font-weight: 500; line-height: 1.25; }
.cnt__n small { font-size: 13px; font-weight: 400; color: var(--mute); }
.xt--dk .cnt__n small { color: var(--on-dk2); }
.step { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.step__b {
  width: 40px;
  height: 40px;
  border-radius: var(--r2);
  display: grid;
  place-items: center;
  background: var(--tile2);
  color: var(--ink);
  transition: background-color 0.2s, opacity 0.2s;
}
.xt--dk .step__b { background: rgba(255, 255, 255, 0.1); color: #fff; }
.step__b:disabled { opacity: 0.35; cursor: default; }
.step__b[data-d="1"] { background: var(--acc); color: #fff; }
.step__b[data-d="1"]:hover { background: var(--acc2); }
.step__v { min-width: 30px; text-align: center; font-weight: 600; font-size: 17px; }
.cnt:not(.is-on) .step__b[data-d="-1"], .cnt:not(.is-on) .step__v { display: none; }
.cnt.is-off { opacity: 0.45; }
.cnt.is-off .step { display: none; }
.xt__ph { min-height: 300px; }

/* выбранное: заказ-наряд под плитками */
.pick {
  margin-top: var(--gap);
  border-radius: var(--r);
  background: var(--dk);
  color: var(--on-dk);
  padding: 16px;
  display: grid;
  gap: 14px;
}
.pick__l { display: grid; gap: 4px; min-width: 0; }
.pick__k { font-size: 13px; color: var(--on-dk2); }
.pick__v { font-weight: 500; font-size: 16px; line-height: 1.35; }
.pick__sum { font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.pick .btn { width: 100%; }

/* ===== заказ по шагам ===== */
.order { padding: 48px var(--pad) 0; display: grid; gap: var(--gap); }
.stage {
  position: relative;
  min-height: 420px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--dk);
  color: #fff;
  isolation: isolate;
}
.stage__ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: -2;
  transition: opacity 0.7s ease;
}
.stage__ph img.is-on { opacity: 1; }
.stage__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 26, 0.1) 15%, rgba(20, 22, 26, 0.6) 50%, rgba(20, 22, 26, 0.94)); }
.stage__txt { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 12px; }
.stage__txt p { color: rgba(255, 255, 255, 0.84); font-size: 15px; max-width: 44ch; }
.stage__sum {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.stage__sum span { font-size: 14px; color: rgba(255, 255, 255, 0.78); min-width: 0; }
.stage__sum b { font-weight: 600; font-size: clamp(34px, 9vw, 56px); line-height: 1; letter-spacing: -0.035em; white-space: nowrap; }
.stage__sum b.tick { animation: tick 0.5s var(--ease); }
@keyframes tick { from { opacity: 0.2; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wiz {
  border-radius: var(--r);
  background: var(--tile);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wiz__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.wiz__n { font-size: 14px; font-weight: 600; white-space: nowrap; }
.wiz__bar { flex: 1; height: 6px; border-radius: 3px; background: var(--tile2); overflow: hidden; }
.wiz__bar span { display: block; height: 100%; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0.14); transition: transform 0.5s var(--ease); }
.pane { flex: 1; display: flex; flex-direction: column; }
.pane.is-in .pane__t, .pane.is-in .pane__lead, .pane.is-in .pane__body { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.55s var(--ease); }
.pane:not(.is-in) .pane__t, .pane:not(.is-in) .pane__lead, .pane:not(.is-in) .pane__body { opacity: 0; transform: translateX(18px); }
.pane.is-in .pane__lead { transition-delay: 0.04s; }
.pane.is-in .pane__body { transition-delay: 0.08s; }
.pane__t { font-weight: 500; font-size: clamp(28px, 7.4vw, 40px); line-height: 1; letter-spacing: -0.03em; outline: none; }
.pane__lead { margin-top: 10px; color: var(--ink2); max-width: 52ch; }
.pane__body { margin-top: 18px; }
.pane__err { margin-top: 12px; padding: 10px 12px; border-radius: var(--r2); background: #fff1ee; color: #b0301a; font-weight: 500; font-size: 14px; }
.wiz__foot { margin-top: 20px; }
.wiz__nav { display: flex; gap: 6px; }
.wiz__back { height: 52px; padding: 0 18px; border-radius: var(--r2); background: var(--tile2); font-weight: 600; }
.wiz__back:hover { background: #e5e7e9; }
.wiz__next, .wiz__send { flex: 1; }
.wiz__send { white-space: normal; text-align: center; }

/* варианты шага 1 */
.opts { display: grid; gap: 6px; }
.opt {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 48px 14px 14px;
  border-radius: var(--r2);
  background: var(--tile2);
  text-align: left;
  transition: background-color 0.2s, color 0.2s;
}
.opt:hover { background: #e7e9eb; }
.opt__t { font-weight: 600; font-size: 16px; line-height: 1.25; }
.opt__p { font-weight: 600; font-size: 15px; white-space: nowrap; }
.opt__s { grid-column: 1 / -1; font-size: 13px; color: var(--mute); line-height: 1.35; }
.opt__mark { position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 4px; box-shadow: inset 0 0 0 1.6px rgba(21, 22, 26, 0.3); }
.opt.is-on { background: var(--acc); color: #fff; }
.opt.is-on .opt__s { color: rgba(255, 255, 255, 0.82); }
.opt.is-on .opt__mark { background: #fff; box-shadow: none; }
.opt.is-on .opt__mark::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--acc); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }

.lbl { display: block; font-size: 13px; color: var(--mute); margin: 16px 0 8px; }
.lbl:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  height: 44px;
  padding: 0 16px;
  border-radius: var(--r2);
  background: var(--tile2);
  font-weight: 500;
  font-size: 15px;
  transition: background-color 0.2s, color 0.2s;
}
.chip:hover { background: #e7e9eb; }
.chip.is-on { background: var(--acc); color: #fff; }
.chip:disabled { opacity: 0.35; cursor: default; }
.chips--n .chip { width: 52px; padding: 0; }
.num { display: flex; align-items: center; gap: 6px; }
.num__i {
  width: 120px;
  height: 48px;
  border-radius: var(--r2);
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
  -moz-appearance: textfield;
  appearance: textfield;
}
.num__i::-webkit-outer-spin-button, .num__i::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num__b { width: 48px; height: 48px; border-radius: var(--r2); background: var(--tile2); display: grid; place-items: center; }
.num__b:disabled { opacity: 0.35; }
.num__u { color: var(--mute); }
.hint { margin-top: 14px; padding: 10px 12px; border-radius: var(--r2); background: #eef1ff; color: #1b2f99; font-size: 14px; font-weight: 500; }
.note { padding: 10px 12px; border-radius: var(--r2); background: var(--tile2); font-size: 14px; margin-bottom: 14px; }
.grp + .grp { margin-top: 16px; }
.grp__t { font-size: 13px; font-weight: 500; color: var(--mute); margin: 0 0 2px; }

.cal__h, .cal__g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__h span { text-align: center; font-size: 12px; color: var(--mute); padding-bottom: 4px; }
.day {
  height: 50px;
  border-radius: var(--r2);
  background: var(--tile2);
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.05;
  transition: background-color 0.2s, color 0.2s;
}
.day:hover { background: #e7e9eb; }
.day__d { font-weight: 600; font-size: 17px; }
.day__m { font-size: 10px; color: var(--mute); }
.day.is-on { background: var(--acc); color: #fff; }
.day.is-on .day__m { color: rgba(255, 255, 255, 0.85); }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.times .chip { padding: 0; }

.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field__l { font-size: 13px; color: var(--mute); }
.field__i {
  height: 52px;
  border-radius: var(--r2);
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.field__i:focus { border-color: var(--acc); outline: none; }
.field__i::placeholder { color: #8a8f96; }

.bill { border-radius: var(--r2); background: var(--tile2); padding: 6px 14px 12px; }
.bill__row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bill__row b { white-space: nowrap; font-weight: 600; }
.bill__row--muted b { color: var(--mute); font-weight: 500; }
.bill__tot { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0 4px; }
.bill__tot span { font-weight: 500; }
.bill__tot b { font-weight: 600; font-size: 32px; letter-spacing: -0.03em; white-space: nowrap; }
.bill__fine { font-size: 13px; color: var(--mute); }
.bill__meta { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.bill__meta li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; font-size: 14px; }
.bill__meta li span:first-child { color: var(--mute); }

/* ===== кто приедет ===== */
.team { padding: 48px var(--pad) 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.team__big { grid-column: 1 / -1; min-height: 520px; }
.team__big .tile__txt { gap: 12px; }
.fact {
  border-radius: var(--r);
  background: var(--tile);
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 170px;
}
.fact .ic + b { margin-top: auto; }
.fact .ic { margin-bottom: 18px; }
.fact b { font-weight: 500; font-size: 22px; line-height: 1.05; letter-spacing: -0.02em; }
.fact span:not(.ic) { color: var(--mute); font-size: 14px; line-height: 1.35; }
.fact--acc { background: var(--acc); color: #fff; }
.fact--acc .ic { background: #fff; color: var(--acc); }
.fact--acc span:not(.ic) { color: rgba(255, 255, 255, 0.85); }
.fact--dk { background: var(--dk); color: var(--on-dk); }
.fact--dk span:not(.ic) { color: var(--on-dk2); }
.fact--acc { grid-column: 1 / -1; }
.team__s { min-height: 170px; }
.team__s::after { display: none; }
.team__s:last-child { grid-column: 1 / -1; min-height: 230px; }

/* ===== отзывы ===== */
.rev { padding: 48px var(--pad) 0; display: grid; gap: var(--gap); }
.rev__score { background: var(--dk); color: var(--on-dk); padding: 18px; min-height: 300px; display: flex; flex-direction: column; }
.rev__score > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.5; }
.rev__score::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,22,26,0.75), rgba(20,22,26,0.15) 40%, rgba(20,22,26,0.9)); }
.rev__top { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; font-size: 15px; }
.stars { display: inline-flex; gap: 2px; color: #ffd23f; }
.rev__n { margin-top: auto; font-weight: 500; font-size: clamp(110px, 32vw, 170px); line-height: 0.82; letter-spacing: -0.05em; }
.rev__s { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--on-dk2); }
.quote { padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { font-size: 17px; line-height: 1.42; font-weight: 500; letter-spacing: -0.005em; }
.quote figcaption { margin-top: auto; font-size: 13px; color: var(--mute); }
.quote--big { background: var(--acc); color: #fff; }
.quote--big blockquote { font-size: clamp(20px, 5.4vw, 28px); line-height: 1.22; letter-spacing: -0.015em; }
.quote--big figcaption { color: rgba(255, 255, 255, 0.82); }

/* ===== вопросы ===== */
.faq { padding: 48px var(--pad) 0; display: grid; gap: var(--gap); }
.faq__tile { padding: 20px 16px 8px; }
.faq__ph { min-height: 340px; }
.faq__ph::after { display: none; }
.faq__ph img { object-position: 50% 70%; }
.acc { margin-top: 18px; }
.acc__item { border-top: 1px solid var(--line); }
.acc__q {
  width: 100%;
  min-height: 60px;
  padding: 14px 44px 14px 0;
  position: relative;
  text-align: left;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
}
.acc__x { position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: var(--r2); background: var(--tile2); transition: background-color 0.25s; }
.acc__x::before, .acc__x::after { content: ""; position: absolute; left: 10px; top: 15px; width: 12px; height: 2px; border-radius: 1px; background: currentColor; transition: transform 0.35s var(--ease); }
.acc__x::after { transform: rotate(90deg); }
.acc__item.is-open .acc__x { background: var(--acc); color: #fff; }
.acc__item.is-open .acc__x::after { transform: rotate(0deg); }
.acc__a { padding: 0 0 16px; color: var(--ink2); max-width: 62ch; }

/* ===== контакты ===== */
.visit { padding: 48px var(--pad) 0; display: grid; gap: var(--gap); }
.visit__where { min-height: 460px; }
.visit__where .tile__txt { gap: 12px; }
.visit__where .tile__txt p { margin-top: -4px; }
.visit__where .btn { margin-top: 6px; }
.talk { padding: 18px 16px 8px; }
.talk__t { font-weight: 500; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px; }
.row { display: flex; align-items: center; gap: 14px; min-height: 68px; border-top: 1px solid var(--line); font-weight: 600; font-size: 16px; line-height: 1.2; }
.row > span:last-child { display: grid; }
.row small { font-weight: 400; font-size: 14px; color: var(--mute); }
.row__ic { width: 42px; height: 42px; border-radius: var(--r2); background: var(--tile2); display: grid; place-items: center; flex: none; transition: background-color 0.2s, color 0.2s; }
.row__ic--acc, .row:hover .row__ic { background: var(--acc); color: #fff; }

/* ===== подвал ===== */
.foot { padding: 48px var(--pad) 0; display: flex; align-items: center; gap: 16px; }
.foot p { font-size: 13px; color: var(--mute); line-height: 1.45; }
.logo--sm { height: 56px; font-size: 16px; flex: none; }

/* ===== док и приборка ===== */
.dock {
  position: absolute;
  z-index: 60;
  top: 12px;
  right: 12px;
  width: 72px;
  height: 72px;
  border-radius: var(--r);
  background: var(--acc);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.45s var(--ease), opacity 0.3s ease, background-color 0.2s;
}
.dock:hover { background: var(--acc2); }
.dock__l { display: none; }
.dock__ic { display: grid; gap: 4px; width: 20px; }
.dock__ic i { display: block; height: 2px; border-radius: 1px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.2s; }
.dock.is-open .dock__ic i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.dock.is-open .dock__ic i:nth-child(2) { opacity: 0; }
.dock.is-open .dock__ic i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.dock__n { height: 26px; padding: 0 9px; border-radius: 4px; background: #fff; color: var(--acc); display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; white-space: nowrap; }
.dock.is-float {
  position: fixed;
  top: auto;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  width: auto;
  height: 56px;
  padding: 0 18px;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(20, 30, 90, 0.28);
}
.dock.is-float .dock__l { display: block; }
.dock.is-float .dock__n { margin-left: auto; }
.dock.is-snap { transition: none; }
.dock.is-hid { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
.dock.is-open { background: var(--ink); }

.dash { position: fixed; inset: 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain; padding: 12px 12px 84px; }
.dash[hidden] { display: none; }
.dash__bg { position: fixed; inset: 0; background: rgba(226, 228, 229, 0.97); opacity: 0; transition: opacity 0.35s ease; }
.dash.is-in .dash__bg { opacity: 1; }
.dash__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.dash__grid > * { opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity 0.45s ease calc(var(--i) * 0.05s), transform 0.55s var(--ease) calc(var(--i) * 0.05s); }
.dash.is-in .dash__grid > * { opacity: 1; transform: none; }
.d-top { grid-column: 1 / -1; display: flex; gap: var(--gap); order: -1; }
.sq { width: 64px; height: 64px; flex: none; border-radius: var(--r); background: var(--tile); display: grid; place-items: center; transition: background-color 0.2s; }
.sq:hover { background: #f6f7f8; }
.sq--wide { flex: 1; width: auto; display: flex; gap: 10px; justify-content: center; background: var(--acc); color: #fff; font-weight: 600; }
.sq--wide:hover { background: var(--acc2); }
.d-main { grid-column: 1 / -1; min-height: 250px; }
.d-big { font-size: 34px !important; letter-spacing: -0.03em !important; }
.d-a, .d-b, .d-c { min-height: 150px; }
.d-c { grid-column: 1 / -1; }
.d-rate { grid-column: 1 / -1; background: var(--dk); color: var(--on-dk); padding: 16px; min-height: 160px; display: flex; flex-direction: column; }
.d-rate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.55; }
.d-rate::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,22,26,0.7), rgba(20,22,26,0.1) 40%, rgba(20,22,26,0.85)); }
.d-rate .rev__n { font-size: 84px; }
.d-rate .rev__s { margin-top: 8px; }
.d-rate .rev__top svg { color: #ffd23f; }
.d-sm { padding: 14px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.d-sm b { font-weight: 600; font-size: 15px; line-height: 1.2; }

/* ===== планшет ===== */
@media (min-width: 761px) {
  .wx { flex: none; width: 300px; margin-left: auto; padding: 14px 18px; min-height: 80px; }
  .wx .wx__hint:not([hidden]) { display: block; }
  .wx__now { font-size: 21px; }
  .hero { padding: var(--pad); grid-template-rows: auto minmax(320px, 1fr) 240px auto; }
  .hero__bar { padding-right: 0; align-items: start; }
  /* 22.10: погоды справа больше нет, меню встаёт на её место у правого края */
  .dock:not(.is-float) { top: var(--pad); right: var(--pad); left: auto; width: 230px; height: 52px; margin-left: 0; justify-content: space-between; padding: 0 18px; }
  .dock:not(.is-float) .dock__l { display: block; }
  .dock.is-float { left: 50%; right: auto; width: 300px; margin-left: -150px; }
  .hero__txt { padding: 28px; }
  .h1 { font-size: clamp(56px, 7.4vw, 84px); }
  .hero__p { display: block; }
  .hero__txt { display: flex; flex-direction: column; align-items: flex-start; }
  .hero__txt .hero__from { margin-bottom: auto; }
  .hero__txt .hero__k { margin-top: 28px; }
  .hero__from { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 100%; }
  .hero__from a { padding: 12px 14px; border-radius: var(--r2); background: rgba(255, 255, 255, 0.07); display: grid; gap: 4px; transition: background-color 0.2s; }
  .hero__from a:hover { background: rgba(255, 255, 255, 0.13); }
  .hero__from span { font-size: 13px; color: rgba(255, 255, 255, 0.66); }
  .hero__from b { font-weight: 600; font-size: 18px; white-space: nowrap; }
  .hero__go { flex: none; padding: 0 30px; }
  .slot:not([hidden]) { display: grid; }
  .head { grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-bottom: 22px; }
  .head p { max-width: 44ch; text-align: right; color: var(--mute); }
  .svc__grid { grid-template-columns: 1fr 1fr; }
  .kind--gen { grid-column: 1 / -1; }
  .pick { grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; padding: 18px 20px; }
  .pick .btn { width: auto; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .fact--acc { grid-column: auto; }
  .team__s:last-child { grid-column: auto; min-height: 170px; }
  .rev { grid-template-columns: 1fr 1fr; }
  .rev__score { grid-row: span 2; }
  .quote--big { grid-row: span 2; }
  .visit { grid-template-columns: 3fr 2fr; }
  .faq { grid-template-columns: 2fr 1fr; }
  .dash { padding: var(--pad) var(--pad) 84px; }
  .d-top { order: 0; }
  .dash__grid { grid-template-columns: repeat(4, 1fr); }
  .d-main { grid-column: span 2; grid-row: span 2; }
  .d-rate { grid-column: span 2; }
  .d-c { grid-column: span 2; }
  .d-top { grid-column: span 2; }
  .sq { width: 72px; height: 72px; }
}

/* ===== компьютер ===== */
@media (min-width: 1101px) {
  body { font-size: 16px; }
  .ub { padding-bottom: 0; }
  .hero { height: 100vh; height: 100svh; min-height: 680px; max-height: 1100px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr) clamp(200px, 28vh, 300px); }
  .hero__txt { grid-column: 1 / 6; grid-row: 2 / 4; padding: 36px 34px 34px; }
  .hero__main { grid-column: 6 / 13; grid-row: 2; }
  .hero__main > img { object-position: 60% 40%; }
  .hero__ba { grid-column: 6 / 9; grid-row: 3; }
  .hero__det { grid-column: 9 / 13; grid-row: 3; }
  .hero__rate { left: 16px; bottom: 16px; }
  .h1 { font-size: clamp(54px, 4.7vw, 92px); }
  .svc, .order, .team, .rev, .faq, .visit { padding-top: 64px; }
  .svc__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: clamp(520px, calc(100vh - 220px), 640px) auto;
  }
  .kind { min-height: 0; }
  .kind--gen { grid-column: 1 / 6; }
  .kind--reg { grid-column: 6 / 9; }
  .kind--rem { grid-column: 9 / 13; }
  .kind--reg .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xt--ok { grid-column: 1 / 5; }
  .xt--him { grid-column: 5 / 10; }
  .xt__ph { grid-column: 10 / 13; min-height: 0; }
  .kind__t { font-size: 34px; }
  .cell { min-height: 72px; }
  .cell b { font-size: 18px; }

  .order { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
  .stage__txt { left: 30px; right: 30px; bottom: 28px; }
  .stage__txt p { font-size: 17px; }
  .wiz { padding: 28px 30px 26px; }
  .opts { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(150px, 1fr); }
  .pane__body:has(> .opts) { flex: 1; display: grid; }
  .opt { align-content: start; grid-template-rows: auto 1fr; }
  .opt__s { align-self: end; font-size: 14px; }
  .opt__t { font-size: 20px; letter-spacing: -0.01em; }
  .stage { min-height: 640px; }
  .cal__g .day { height: 56px; }
  .times { grid-template-columns: repeat(8, minmax(0, 1fr)); }

  .team { grid-template-columns: repeat(12, 1fr); grid-template-rows: 250px 1fr; }
  .fact { display: flex; flex-direction: column; }
  .fact .ic { margin-bottom: 0; }
  .team__big { grid-column: 1 / 7; grid-row: 1 / 3; min-height: 620px; }
  .team__big .tile__txt { left: 30px; right: 30px; bottom: 28px; }
  .team__big .tile__txt p { font-size: 17px; }
  .fact { grid-column: span 2; min-height: 0; padding: 20px; }
  .fact b { font-size: 26px; }
  .team__s { grid-column: span 2; min-height: 0; }
  .team__s:nth-of-type(1) { grid-column: 7 / 9; }
  .team__s:nth-of-type(2) { grid-column: 9 / 11; }
  .team__s:last-child { grid-column: 11 / 13; min-height: 0; }

  .rev { grid-template-columns: 4fr 4fr 4fr; grid-template-rows: repeat(3, minmax(190px, auto)); }
  .rev__score { padding: 24px; grid-row: 1 / 4; }
  .quote { padding: 24px; }
  .quote--big { grid-row: 1 / 4; }
  .quote { padding: 22px 24px; gap: 12px; }
  .quote blockquote { font-size: 17px; }
  .quote--big blockquote { font-size: 30px; }

  .faq { grid-template-columns: 8fr 4fr; }
  .faq__tile { padding: 30px 30px 14px; }
  .acc__q { font-size: 19px; min-height: 66px; }
  .faq__ph { min-height: 0; }

  .visit { grid-template-columns: 8fr 4fr; height: clamp(480px, calc(100vh - 200px), 560px); }
  .visit__where { min-height: 0; }
  .visit__where .tile__txt { left: 30px; bottom: 28px; }
  .visit__where .h2 { font-size: clamp(44px, 4.4vw, 72px); }
  .talk { padding: 26px 24px 12px; }

  .foot { padding: 40px var(--pad) 40px; justify-content: space-between; }
  .foot p { text-align: right; }

  .dash__grid { grid-template-columns: repeat(12, 1fr); grid-template-rows: 80px 1fr 1fr 150px; height: calc(100vh - 84px - var(--pad)); min-height: 560px; }
  .d-main { grid-column: 1 / 9; grid-row: 1 / 3; min-height: 0; }
  .d-big { font-size: clamp(40px, 3.6vw, 58px) !important; }
  .d-top { grid-column: 9 / 13; grid-row: 1; }
  .sq { width: 80px; height: 80px; }
  .d-rate { grid-column: 9 / 13; grid-row: 2 / 4; padding: 22px; }
  .d-rate .rev__n { font-size: 150px; }
  .d-a { grid-column: 1 / 4; grid-row: 3 / 5; }
  .d-b { grid-column: 4 / 7; grid-row: 3 / 5; }
  .d-c { grid-column: 7 / 9; grid-row: 3 / 5; }
  .d-sm { grid-row: 4; padding: 18px; }
  .d-sm:nth-last-child(2) { grid-column: 9 / 11; }
  .d-sm:last-child { grid-column: 11 / 13; }
  .d-a, .d-b, .d-c { min-height: 0; }
}

@media (min-width: 1101px) and (max-height: 860px) {
  .h1 { font-size: clamp(50px, 4.4vw, 84px); }
  .hero__p { font-size: 16px; }
}
@media (min-width: 1700px) {
  .ub { max-width: 1920px; margin: 0 auto; }
}

/* 22.10 разработчик: «нормальное меню бургер». В шапке телефона кнопка только с бургером, сумма заказа в ней не показывается (налезала на иконку). Сумма видна в плавающем доке внизу. */
.dock:not(.is-float) .dock__n { display: none !important; }
.dock:not(.is-float) .dock__ic { margin: 0 auto; }
@media (min-width: 761px) { .dock:not(.is-float) .dock__ic { margin: 0; } }

/* 22.10 разработчик: «в хедере ПК пусто посередине»: плитка навигации между логотипом и меню */
.topnav { display: none; }
@media (min-width: 761px) {
  .topnav { display: flex; align-items: center; gap: 4px; flex: 1; height: 72px; margin-right: calc(230px + var(--gap)); padding: 0 10px; border-radius: var(--r); background: #fff; }
  .topnav a { padding: 10px 16px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 16px; white-space: nowrap; transition: background-color .2s, color .2s; }
  .topnav a:hover { background: var(--bg, #E6E7EA); }
  .topnav .topnav__tel { margin-left: auto; font-weight: 700; color: var(--acc); }
}
@media (min-width: 761px) { .dock:not(.is-float) { height: 72px; } }
@media (min-width: 761px) and (max-width: 1099px) {
  .topnav a:nth-child(n+3):not(.topnav__tel) { display: none; }   /* планшет: только Цены, Заказать и телефон */
  .topnav a { padding: 10px 12px; font-size: 15px; }
}
