/* ВывозХлама24 — единый файл стилей на переменных */
:root {
  --bg: #f4f8fb;
  --alt: #e4f5f1;
  --surface: #ffffff;
  --text: #1c2630;
  --muted: #5a6876;
  --line: #d3dce5;
  --brand: #0f766e;
  --brand-dark: #0a5c56;
  --brand-deep: #0b4f4a;
  --brand-soft: #ccf2ea;
  --brand-light: #5eead4;
  --mint: #5eead4;
  --mint-ink: #053b36;
  --cyan: #0891b2;
  --sky: #0ea5e9;
  --violet: #6d5bd0;
  --emerald: #10b981;
  --grad: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
  --grad-hero: linear-gradient(135deg, #0f766e 0%, #0e7490 58%, #155e75 100%);
  --ink: #0c2a33;
  --danger: #b42318;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 33, 43, .06), 0 8px 24px rgba(16, 33, 43, .07);
  --shadow-lg: 0 18px 50px rgba(16, 33, 43, .16);
  --font: "Geologica", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 6.2vw, 58px); font-weight: 800; }
h2 { font-size: clamp(26px, 4.4vw, 40px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.stub { background: #fee2e2; color: var(--danger); padding: 0 6px; border-radius: 4px; font-weight: 600; }
.ico { flex-shrink: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--grad); color: #fff; font: 600 16px/1 var(--font);
  padding: 15px 24px; border-radius: var(--radius-sm);
  box-shadow: 0 8px 22px rgba(8, 145, 178, .32);
  transition: filter .15s, transform .15s, box-shadow .15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(8, 145, 178, .4); }
.btn--mint { background: var(--mint); color: var(--mint-ink); box-shadow: 0 10px 30px rgba(94, 234, 212, .45); }
.btn--mint:hover { box-shadow: 0 14px 36px rgba(94, 234, 212, .6); }
.btn:active { transform: none; }
.btn--big { font-size: 18px; padding: 19px 30px; }
.btn--wide { width: 100%; }
.btn--ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn--ghost:hover { background: var(--grad); color: #fff; box-shadow: none; }
.btn[disabled] { background: #9db9b6; box-shadow: none; cursor: not-allowed; transform: none; }
.btn:focus-visible, .link:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; }
.link { background: none; border: 0; color: var(--brand); font: inherit; text-decoration: underline; cursor: pointer; padding: 10px 0; }

/* ---------- Верхняя строка и шапка ---------- */
.topbar { background: var(--ink); color: #b9c6d2; font-size: 13px; display: none; }
.topbar__in { display: flex; gap: 24px; align-items: center; min-height: 36px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ico { color: var(--brand-light); }
.topbar a { color: #fff; text-decoration: none; }
.topbar__right { margin-left: auto; gap: 18px !important; }

.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header__in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.site-nav { display: none; gap: 26px; margin-left: 12px; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--brand); }
.site-header__contact { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.site-header__contact small { color: var(--muted); font-size: 12px; }
.phone { color: var(--text); text-decoration: none; font-weight: 700; white-space: nowrap; }
.phone:hover { color: var(--brand); }
.phone--big { font-size: 20px; }
.site-header__cta { display: none; padding: 12px 18px; }
.site-header__call {
  margin-left: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(8, 145, 178, .35);
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.logo__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad); box-shadow: 0 4px 12px rgba(8, 145, 178, .28); overflow: hidden;
}
.logo__mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
/* При наведении грузовик трогается: покачивается, а полосы скорости вытягиваются */
.logo__truck, .logo__load, .logo__speed { transform-box: fill-box; transform-origin: 50% 100%; }
.logo:hover .logo__truck { animation: logo-go .7s ease-in-out; }
.logo:hover .logo__load { animation: logo-load .7s ease-in-out; }
.logo:hover .logo__speed { animation: logo-speed .7s ease-in-out; }
@keyframes logo-go { 0%, 100% { transform: none; } 30% { transform: translateX(1.5px) rotate(-3deg); } 60% { transform: translateX(-.5px) rotate(1deg); } }
@keyframes logo-load { 0%, 100% { transform: none; } 40% { transform: translateY(-1.5px) rotate(-4deg); } 70% { transform: translateY(.3px); } }
@keyframes logo-speed { 0%, 100% { transform: none; opacity: .55; } 40% { transform: translateX(-1.5px) scaleX(1.4); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .logo:hover .logo__truck, .logo:hover .logo__load, .logo:hover .logo__speed { animation: none; } }
.logo__text { font-size: 21px; font-weight: 300; letter-spacing: -.02em; }
.logo__text b { font-weight: 800; }
.logo__text i { font-style: normal; font-weight: 800; color: var(--brand); }
.logo--light { color: #fff; }
.logo--light .logo__text i { color: var(--brand-light); }

/* ---------- Первый экран ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(700px 420px at 90% 10%, rgba(94, 234, 212, .35), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(14, 165, 233, .35), transparent 60%),
    var(--grad-hero);
}
.hero__in { padding-top: 36px; padding-bottom: 60px; display: grid; gap: 32px; align-items: center; }
.hero__media { position: relative; }
.hero__photo { width: 100%; height: auto; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 30, 40, .35); border: 4px solid rgba(255, 255, 255, .18); }
.hero__photo--stub { display: grid; place-items: center; text-align: center; padding: 24px; color: rgba(255,255,255,.7); border: 2px dashed rgba(255,255,255,.4); }
.hero h1 { max-width: 13em; margin-bottom: .4em; }
.hero__points { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.hero__points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.hero__points .ico { color: var(--mint-ink); background: var(--mint); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__phone { display: flex; flex-direction: column; line-height: 1.25; }
.hero__phone .phone { color: #fff; font-size: 24px; }
.hero__phone small { color: #cdeef0; }

/* Полоса преимуществ под первым экраном */
.features { position: relative; z-index: 2; }
.features__in {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: -22px;
  padding: 0;
}
.feature { background: var(--surface); display: flex; gap: 14px; padding: 16px; align-items: center; --c: #0d9488; --c-bg: #e3f7f3; }
.feature:nth-child(2) { --c: #0284c7; --c-bg: #e4f2fc; }
.feature:nth-child(3) { --c: #6047c4; --c-bg: #eeebfb; }
.feature:nth-child(4) { --c: #058a62; --c-bg: #e0f6ec; }
.feature b { display: block; font-size: 15px; line-height: 1.3; }
.feature span { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; }
.feature .feature__ico {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; display: grid !important; place-items: center;
  color: var(--c); background: var(--c-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent);
  transition: transform .25s;
}
.feature:hover .feature__ico { transform: translateY(-3px) rotate(-3deg); }

/* Анимации иконок преимуществ */
.fi { overflow: visible; }
.fi * { transform-box: view-box; }
.fi-min { transform-origin: 24px 24px; animation: fi-spin 6s linear infinite; }
.fi-hour { transform-origin: 24px 24px; animation: fi-spin 72s linear infinite; }
.fi-pin { animation: fi-bounce 2.4s ease-in-out infinite; }
.fi-shadow { transform-origin: 24px 42px; animation: fi-shadow 2.4s ease-in-out infinite; }
.fi-tag { transform-origin: 34.5px 13.5px; animation: fi-swing 3s ease-in-out infinite; }
.fi-truck { animation: fi-bob .6s ease-in-out infinite alternate; }
.fi-wheel { transform-origin: 13px 32.5px; animation: fi-spin 1s linear infinite; }
.fi-wheel--2 { transform-origin: 34px 32.5px; }
.fi-road { animation: fi-road .8s linear infinite; }
@keyframes fi-spin { to { transform: rotate(360deg); } }
@keyframes fi-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes fi-shadow { 0%, 100% { transform: scale(1); opacity: .22; } 50% { transform: scale(.7); opacity: .12; } }
@keyframes fi-swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes fi-bob { to { transform: translateY(-1px); } }
@keyframes fi-road { to { stroke-dashoffset: 13; } }

/* ---------- Секции ---------- */
.section { padding: 28px 0; }
.section--alt { background: var(--alt); }
.section__head { margin-bottom: 28px; max-width: 760px; }
.section__lead { color: var(--muted); font-size: 17px; margin: 0; }

/* Ситуации */
.situations { display: grid; gap: 18px; }
.situation {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.situation img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .4s; }
.situation:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.situation:hover img { transform: scale(1.04); }
.situation__body { display: flex; flex-direction: column; padding: 20px 22px 22px; flex: 1; }
.situation__text { color: var(--muted); flex: 1; margin-bottom: 14px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 600; }

/* Услуги */
.services { display: grid; gap: 16px; }
.service {
  display: flex; background: var(--surface); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service__img { position: relative; width: 38%; flex-shrink: 0; background: var(--alt); }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__price {
  position: absolute; left: 8px; bottom: 8px; background: var(--mint); color: var(--mint-ink); box-shadow: 0 4px 12px rgba(0, 40, 40, .25);
  font-weight: 700; font-size: 13px; padding: 5px 9px; border-radius: 8px; line-height: 1.2;
}
.service__body { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.service__body h3 { font-size: 18px; margin: 0; }
.service__body span { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- Калькулятор ---------- */
.calc-wrap { display: grid; gap: 20px; align-items: start; }
.calc { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: clip; display: flex; flex-direction: column; }

.calc__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.calc__steps li {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px;
  font-size: 14px; font-weight: 500; color: var(--muted); position: relative;
}
.calc__steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.calc__steps span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--bg); color: var(--muted); font-weight: 700; font-size: 13px;
}
.calc__steps li.is-on { color: var(--text); }
.calc__steps li.is-on::after { background: var(--grad); }
.calc__steps li.is-on span { background: var(--brand); color: #fff; }
.calc__steps li.is-done span { background: var(--brand-soft); color: var(--brand-dark); }

.calc__body { padding: 20px 18px; }
.calc__q { font-size: 22px; margin-bottom: 16px; }
.calc__q small { display: block; font-size: 15px; font-weight: 400; color: var(--muted); margin-top: 4px; letter-spacing: 0; }

/* Плитки групп */
.tiles { display: grid; gap: 10px; align-items: start; }
.tile { border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: #9fc9c3; }
.tile.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); }
.tile__head {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: none; border: 0;
  text-align: left; cursor: pointer; font: inherit; color: var(--text);
}
.tile__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--bg); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; transition: background .15s, color .15s; }
.tile.is-on .tile__ico { background: var(--grad); color: #fff; }
.tile__txt { flex: 1; min-width: 0; line-height: 1.3; }
.tile__txt b { display: block; font-size: 16px; font-weight: 600; }
.tile__txt small { display: block; color: var(--muted); font-size: 13px; }
.tile__check {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #b7c4d0; display: grid; place-items: center;
  color: transparent; flex-shrink: 0;
}
.tile.is-on .tile__check { background: var(--brand); border-color: var(--brand); color: #fff; }
.tile__sizes { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px 74px; }
.tile__sizes button, .opt {
  font: 500 14px var(--font); color: var(--text); background: var(--bg); border: 1.5px solid transparent;
  border-radius: 10px; padding: 9px 13px; cursor: pointer;
}
.tile__sizes button:hover { border-color: #9fc9c3; }
.tile__sizes button[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); font-weight: 600; }

/* Этаж */
.floor { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--bg); border-radius: 14px; margin-bottom: 14px; }
.floor__label { font-weight: 600; font-size: 17px; }
.floor__ctl { display: flex; align-items: center; gap: 6px; }
.floor__ctl button {
  width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  font: 600 24px/1 var(--font); color: var(--brand); cursor: pointer;
}
.floor__ctl button:hover { border-color: var(--brand); }
.floor__ctl output { min-width: 48px; text-align: center; font-size: 26px; font-weight: 800; }

/* Варианты (лифт, когда) */
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  padding: 16px 8px; background: var(--surface); border-color: var(--line); border-radius: 14px; line-height: 1.25;
}
.opt .ico { color: var(--brand); }
.opt small { color: var(--muted); font-size: 12px; font-weight: 400; }
.opt span small { display: block; margin-top: 3px; line-height: 1.25; }
.opt:hover { border-color: #9fc9c3; }
.opt[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); font-weight: 600; }
.opt[aria-checked="true"] small { color: var(--brand-dark); }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type=date], .lead input, .lead textarea {
  width: 100%; font: 400 16px var(--font); color: var(--text); background: var(--surface);
  border: 1px solid #b7c4d0; border-radius: 10px; padding: 13px 14px;
}
input[type=date] { max-width: 260px; }
input:focus, textarea:focus { outline: 3px solid rgba(94, 234, 212, .6); outline-offset: 0; border-color: var(--brand); }
.tile__head:focus-visible, .tile__sizes button:focus-visible, .opt:focus-visible, .floor__ctl button:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; }

/* Низ калькулятора: живая цена и кнопки */
.calc__foot {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line);
  background: #f7fafb; position: sticky; bottom: 0;
}
.calc__live { margin-right: auto; line-height: 1.2; min-width: 0; }
.calc__live small { display: block; color: var(--muted); font-size: 12px; }
.calc__live b { font-size: 22px; font-weight: 800; color: var(--cyan); white-space: nowrap; }
.calc__live b.is-empty { font-size: 14px; font-weight: 500; color: var(--muted); white-space: normal; }
.calc__foot .btn { padding: 14px 20px; }

/* Результат */
.result { display: grid; gap: 16px; background: radial-gradient(400px 200px at 100% 0%, rgba(94, 234, 212, .35), transparent 70%), var(--grad-hero); color: #fff; border-radius: 16px; padding: 20px; }
.result__price > span { display: block; color: #a7d8d1; font-size: 14px; }
.result__price b { display: block; font-size: clamp(34px, 7vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.result__price small { display: block; color: #c9e3df; font-size: 15px; }
.result__list { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.15); display: grid; gap: 6px; font-size: 15px; color: #dbe7ee; }
.result__list li::before { content: "— "; color: var(--brand-light); }
.result__note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.calc__form-title { margin: 22px 0 12px; font-size: 20px; }
.calc .lead { box-shadow: none; border: 1px solid var(--line); padding: 18px; }

.calc-aside { background: radial-gradient(300px 200px at 100% 0%, rgba(94, 234, 212, .3), transparent 70%), var(--grad-hero); color: #e6f6f8; border-radius: var(--radius); padding: 24px; }
.calc-aside h3 { color: #fff; }
.calc-aside__phone .phone { color: #fff; font-size: 24px; }
.calc-aside__hours { color: #a7c3cf; font-size: 14px; }
.calc-aside__list { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; }
.calc-aside__list li { display: flex; gap: 10px; font-size: 15px; }
.calc-aside__list .ico { color: var(--brand-light); margin-top: 3px; }

/* ---------- Форма заявки ---------- */
.lead { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); color: var(--text); }
.lead__grid { display: grid; gap: 0 14px; }
.lead__row { margin-bottom: 14px; }
.lead__row label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 15px; }
.lead textarea { resize: vertical; }
.lead input.is-bad { border-color: var(--danger); }
.lead__calc { background: var(--brand-soft); border-radius: 10px; padding: 12px 14px; font-size: 15px; white-space: pre-line; }
.lead__msg { margin: 12px 0 0; font-weight: 600; min-height: 1.6em; }
.lead__msg.is-ok { color: var(--brand-dark); }
.lead__msg.is-err { color: var(--danger); }
.lead__legal { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.req { color: var(--danger); }

/* ---------- Цены ---------- */
.prices { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 8px 16px; }
.prices__tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; scrollbar-width: none; }
.prices__tabs::-webkit-scrollbar { display: none; }
.prices__tabs button {
  flex-shrink: 0; border: 0; background: var(--bg); color: var(--text); font: 500 15px var(--font);
  padding: 11px 16px; border-radius: 10px; cursor: pointer;
}
.prices__tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(8, 145, 178, .3); }
.prices__table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.prices__table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prices__table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices__table tr:last-child td { border-bottom: 0; }
.prices__table td b { white-space: nowrap; }
.prices__table td:last-child { color: var(--muted); font-size: 14px; }
.prices__note { padding: 12px 12px 0; margin: 0; color: var(--muted); }

/* ---------- Как проходит выезд ---------- */
.process { display: grid; gap: 32px; align-items: center; }
.story { list-style: none; margin: 28px 0 0; padding: 0 0 0 28px; border-left: 2px solid var(--brand-soft); }
.story li { position: relative; padding-bottom: 26px; }
.story li:last-child { padding-bottom: 0; }
.story li::before {
  content: ""; position: absolute; left: -38px; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint); border: 4px solid var(--cyan);
}
.story h3 { margin-bottom: 4px; }
.story p { color: var(--muted); margin: 0; }
.process__photo { position: relative; }
.process__photo img { border-radius: var(--radius); aspect-ratio: 7 / 8; object-fit: cover; width: 100%; max-height: 560px; }
.process__badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center;
  background: var(--surface); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow-lg); line-height: 1.3;
}
.process__badge .ico { color: var(--brand); }
.process__badge b { display: block; }
.process__badge span { color: var(--muted); font-size: 14px; }
.process__badge span b { color: var(--text); font-size: 16px; }

/* ---------- Что забираем ---------- */
.scope { display: grid; gap: 18px; }
.scope__col { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.scope__col h3 { display: flex; align-items: center; gap: 10px; }
.scope__col--yes h3 .ico { color: #fff; background: var(--grad); border-radius: 50%; padding: 4px; width: 32px; height: 32px; }
.scope__col--no h3 .ico { color: #fff; background: #5d6b78; border-radius: 50%; padding: 5px; width: 32px; height: 32px; }
.scope__col ul { margin: 0; padding: 0; list-style: none; }
.scope__col li { padding: 10px 0; border-top: 1px solid var(--line); }
.scope__col li span { display: block; color: var(--muted); font-size: 14px; }
.scope__note { margin: 20px 0 0; color: var(--muted); }

/* ---------- Оплата ---------- */
.pay { display: grid; gap: 28px; align-items: center; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin: 0; }
.docs li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 16px;
  display: flex; flex-direction: column; gap: 4px; transition: transform .2s, box-shadow .2s, border-color .2s;
  --c: #0d9488; --c-bg: #e3f7f3;
}
.docs li:nth-child(2) { --c: #0284c7; --c-bg: #e4f2fc; }
.docs li:nth-child(3) { --c: #6047c4; --c-bg: #eeebfb; }
.docs li:nth-child(4) { --c: #058a62; --c-bg: #e0f6ec; }
.docs li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 35%, transparent); }
.docs small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.docs__ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 8px;
  color: var(--c); background: var(--c-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent);
}

/* Анимации иконок документов */
.di { overflow: visible; }
.di * { transform-box: view-box; }
.di-sign { stroke-dasharray: 34; stroke-dashoffset: 34; animation: di-draw 3.2s ease-in-out infinite; }
.di-card { transform-origin: 20px 26px; animation: di-tilt 3s ease-in-out infinite; }
.di-arrow { animation: di-slide 1.6s ease-in-out infinite; }
.di-c { stroke-dasharray: 12; stroke-dashoffset: 12; animation: di-check 3.6s ease-out infinite; }
.di-c2 { animation-delay: .35s; }
.di-c3 { animation-delay: .7s; }
.di-stamp { transform-origin: 36.5px 24px; animation: di-stamp 2.8s ease-in-out infinite; }
@keyframes di-draw { 0% { stroke-dashoffset: 34; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes di-tilt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-5deg) translateY(-1px); } }
@keyframes di-slide { 0%, 100% { transform: translateX(-3px); opacity: .6; } 50% { transform: translateX(2px); opacity: 1; } }
@keyframes di-check { 0% { stroke-dashoffset: 12; } 25%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes di-stamp { 0%, 55% { transform: scale(1.6); opacity: 0; } 68% { transform: scale(.88); opacity: 1; } 76%, 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* ---------- Вопросы ---------- */
.faq details { background: var(--surface); border-radius: var(--radius-sm); margin-bottom: 10px; box-shadow: 0 1px 2px rgba(16,33,43,.05); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--brand); font-size: 22px; line-height: 1; width: 28px; height: 28px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- Финальная заявка ---------- */
.final { background: radial-gradient(600px 400px at 100% 0%, rgba(94, 234, 212, .35), transparent 60%), radial-gradient(500px 360px at 0% 100%, rgba(14, 165, 233, .35), transparent 60%), var(--grad-hero); color: #fff; padding: 28px 0; }
.final__in { display: grid; gap: 28px; align-items: center; }
.final__text p { color: #d3e6e3; font-size: 17px; }
.final__phone { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.final__phone .phone { color: #fff; font-size: 28px; }
.final__phone .ico { color: var(--brand-light); }
.final__hours { font-size: 15px !important; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); color: #a9b7c4; padding: 48px 0 0; font-size: 15px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer a { color: #dbe5ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__in { display: grid; gap: 28px; padding-bottom: 32px; }
.site-footer__brand p { margin-top: 14px; max-width: 26em; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__phone .phone { color: #fff; font-size: 22px; }
.site-footer p { margin: 0 0 6px; }
.messengers a { margin-right: 16px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 90px; font-size: 13px; color: #7f8f9e; }

/* Нижняя панель на телефоне */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,33,43,.08);
}
.calc-in-view .mobile-bar { transform: translateY(110%); }
.mobile-bar { transition: transform .2s; }
.mobile-bar .btn { flex: 1; padding: 14px 10px; font-size: 15px; box-shadow: none; }

/* ---------- Адаптив ---------- */
@media (min-width: 600px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service { flex-direction: column; }
  .service__img { width: 100%; aspect-ratio: 4 / 3; }
  .service__body { padding: 18px 20px 22px; }
  .lead__grid { grid-template-columns: 1fr 1fr; }
  .lead__row--wide { grid-column: 1 / -1; }
  .docs { grid-template-columns: repeat(4, 1fr); }
  .features__in { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .topbar { display: block; }
  .site-header__in { min-height: 76px; }
  .site-nav { display: flex; }
  .site-header__contact .phone { font-size: 20px; }
  .site-header__contact small { font-size: 12px; }
  .site-header__cta { display: inline-flex; }
  .site-header__call { display: none; }
  .hero__in { grid-template-columns: 1.1fr .9fr; gap: 56px; padding-top: 64px; padding-bottom: 104px; }
  .feature { padding: 22px; }
  .features__in { margin-top: -44px; }
  .section { padding: 44px 0; }
  .situations { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(3, 1fr); }
  .calc-wrap { grid-template-columns: minmax(0, 1fr) 340px; }
  .calc-aside { position: sticky; top: 100px; }
  .calc__body { padding: 28px 30px; }
  .calc__foot { padding: 16px 30px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .scope { grid-template-columns: 1fr 1fr; }
  .pay { grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .docs { grid-template-columns: 1fr 1fr; }
  .final { padding: 44px 0; }
  .final__in { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .lead { padding: 28px; }
  .site-footer__in { grid-template-columns: 1.5fr 1fr 1fr; }
  .mobile-bar { display: none; }
  .site-footer__bottom { padding-bottom: 24px; }
}

@media (max-width: 599px) {
  .prices__table thead { display: none; }
  .prices__table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px; border-bottom: 1px solid var(--line); }
  .prices__table tr:last-child { border-bottom: 0; }
  .prices__table td { padding: 0; border: 0; }
  .prices__table td:last-child { grid-column: 1 / -1; font-size: 13px; }
}

@media (max-width: 420px) {
  .logo__text { font-size: 18px; }
  .logo__mark { width: 36px; height: 36px; font-size: 13px; }
  .hero__actions .btn { width: 100%; }
  .feature { padding: 14px 12px; gap: 10px; align-items: center; }
  .feature .feature__ico { width: 46px; height: 46px; border-radius: 13px; }
  .feature .fi { width: 28px; height: 28px; }
  .feature b { font-size: 14px; }
  .feature { gap: 10px; }
  .calc__body { padding: 16px 14px; }
  .calc__steps li { font-size: 12px; gap: 6px; }
  .tile__sizes { padding-left: 14px; }
  .opts { gap: 6px; }
  .opt { padding: 12px 4px; font-size: 13px; }
  .calc__foot { padding: 12px 14px; }
  .calc__foot .btn { padding: 13px 14px; }
  .calc__live b { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .fi *, .di * { animation: none !important; stroke-dashoffset: 0 !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* ---------- Шапка на телефоне: телефон и часы вместо круглой кнопки ---------- */
.site-header__call { display: none; }
.site-header__contact .phone { font-size: 16px; }
.site-header__contact small { font-size: 11px; }
@media (max-width: 380px) {
  .site-header__in { gap: 10px; }
  .logo__text { font-size: 16px; }
  .logo__mark { width: 32px; height: 32px; font-size: 12px; border-radius: 9px; }
  .site-header__contact .phone { font-size: 15px; }
}

/* Полоса преимуществ на телефоне: подпись под заголовком, без переносов по слову */
@media (max-width: 599px) {
  .feature { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .feature b { font-size: 14px; }
  .feature span { font-size: 12px; }
}

/* ---------- Первый экран: ползунок «до / после» (стили в конце файла) ---------- */

@keyframes sc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Калькулятор: прайс-лист строками и чек ---------- */
.cats {
  display: flex; gap: 4px; padding: 4px; margin: 0 0 14px; background: var(--bg); border-radius: 14px;
  overflow-x: auto; scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cats button {
  flex: 1 0 auto; position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 0; background: transparent; color: var(--muted); font: 500 13px/1.2 var(--font);
  padding: 10px 12px 9px; border-radius: 11px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s;
}
.cats button .ico { color: currentColor; }
.cats button:hover { color: var(--brand); }
.cats button[aria-selected="true"] { background: var(--surface); color: var(--brand-dark); font-weight: 600; box-shadow: 0 2px 8px rgba(16, 33, 43, .1); }
.cats__n {
  position: absolute; top: 4px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--cyan); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cats__n:empty { display: none; }

.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pitem {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 14px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, box-shadow .15s;
}
.pitem:hover { box-shadow: inset 0 0 0 1px #9fc9c3; }
.pitem.is-on { background: #effbf8; box-shadow: inset 0 0 0 1.5px var(--brand); }
.pitem__main {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.pitem__main img { width: 64px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--alt); }
.pitem__txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pitem__txt b { font-size: 15px; font-weight: 600; }
.pitem__price { font-size: 15px; font-weight: 800; color: var(--cyan); white-space: nowrap; }
.pitem__price small { font-size: 12px; font-weight: 400; color: var(--muted); }
.pitem.is-on .pitem__main { cursor: default; }

.qty { display: flex; align-items: center; flex-shrink: 0; border-radius: 12px; }
.qty button {
  width: 40px; height: 40px; border: 0; border-radius: 11px; cursor: pointer; font: 600 22px/1 var(--font);
  display: grid; place-items: center;
}
.qty__inc { background: var(--brand-soft); color: var(--brand-dark); }
.qty__inc:hover { background: var(--grad); color: #fff; }
.qty .qty__dec, .qty output { display: none; }
.pitem.is-on .qty { background: var(--grad); }
.pitem.is-on .qty button { background: transparent; color: #fff; }
.pitem.is-on .qty .qty__dec { display: grid; }
.pitem.is-on .qty output { display: block; min-width: 24px; text-align: center; color: #fff; font-weight: 800; font-size: 16px; }
.qty button:focus-visible, .pitem__main:focus-visible, .cats button:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; }
.plist__note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* Чек: что выбрано и из чего складывается сумма. Стоит белым «чеком» вверху тёмной боковой колонки,
   нижний край — зубчиками, как у отрывного чека */
.calc__main { min-width: 0; }
.bill {
  position: relative; margin: -4px -4px 24px; padding: 18px 18px 26px;
  background: var(--surface); color: var(--text); border-radius: 14px 14px 0 0;
  font-size: 14px; box-shadow: 0 14px 30px rgba(0, 30, 40, .28);
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 96%, #000) 0 0 / 18px 100% repeat-x;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 96%, #000) 0 0 / 18px 100% repeat-x;
}
.bill__list { max-height: 40vh; overflow-y: auto; overscroll-behavior: contain; }
.calc-aside .bill h3, .calc-aside .bill p { color: inherit; }
.bill__head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; margin: 0 0 10px; }
.bill__head .ico { color: var(--brand); }
.bill__empty { color: var(--muted); margin: 0 0 12px; }
.bill__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bill__list li { display: flex; align-items: baseline; gap: 8px; line-height: 1.3; animation: sc-in .2s ease-out; }
.bill__name { flex: 1; min-width: 0; }
.bill__list b { white-space: nowrap; }
.bill__extra { color: var(--muted); }
.bill__x {
  width: 22px; height: 22px; flex-shrink: 0; border: 0; border-radius: 50%; background: transparent; color: #8a98a6;
  font-size: 18px; line-height: 1; cursor: pointer; align-self: center;
}
.bill__x:hover { background: #fee2e2; color: var(--danger); }
.bill__total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding-top: 12px; border-top: 1.5px dashed #b9cdd4;
}
.bill__total span { font-weight: 600; }
.bill__total b { font-size: 24px; font-weight: 800; color: var(--cyan); }
.bill__min { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }

@media (min-width: 600px) {
  .plist { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .cats { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .cats button { padding: 9px 10px 8px; font-size: 12px; }
  .pitem__main { gap: 10px; }
  .pitem__main img { width: 56px; height: 46px; }
  .pitem__txt b { font-size: 14px; }
}
.calc-wrap > * { min-width: 0; }


/* На телефоне номер уже в шапке — в первом экране не дублируем */
@media (max-width: 899px) {
  .hero__phone { display: none; }
  .hero__points { margin: 18px 0 24px; }
}


/* ---------- Страница услуги ---------- */
.section--tight { padding: 22px 0; }
.srv-page h2 { font-size: clamp(24px, 3.6vw, 34px); }

.phero {
  color: #fff; padding: 22px 0 44px;
  background:
    radial-gradient(600px 360px at 95% 0%, rgba(94, 234, 212, .32), transparent 60%),
    radial-gradient(500px 360px at 0% 100%, rgba(14, 165, 233, .3), transparent 60%),
    var(--grad-hero);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: #cdeef0; margin-bottom: 22px; }
.crumbs a { color: #fff; }
.phero__in { display: grid; gap: 26px; align-items: center; }
.phero h1 { font-size: clamp(30px, 5.4vw, 50px); max-width: 14em; }
.phero__lead { font-size: 18px; color: #e6f6f8; max-width: 34em; }
.phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.phero__calc { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.5); padding-bottom: 2px; }
.phero__calc:hover { border-bottom-color: #fff; }
.phero__media { position: relative; }
.phero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; border: 4px solid rgba(255,255,255,.18); box-shadow: 0 24px 50px rgba(0, 30, 40, .35); }
.phero__price {
  position: absolute; right: 14px; bottom: 14px; display: grid; line-height: 1.15; padding: 12px 16px; border-radius: 14px;
  background: linear-gradient(135deg, #5eead4, #a5f3fc); color: var(--mint-ink); box-shadow: var(--shadow-lg);
}
.phero__price small { font-size: 13px; color: #0b5f59; }
.phero__price b { font-size: 26px; font-weight: 800; }

.ptable { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ptable__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.ptable__row--head { display: none; }
.ptable__name { display: flex; align-items: center; gap: 12px; font-weight: 600; grid-row: span 2; }
.ptable__name img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.ptable__price { font-weight: 800; color: var(--cyan); font-size: 17px; white-space: nowrap; text-align: right; }
.ptable__floor { color: var(--muted); font-size: 13px; white-space: nowrap; text-align: right; }
.ptable__floor::before { content: "этаж без лифта "; }
.ptable__row:first-child + .ptable__row { border-top: 0; }
.ptable__note { color: var(--muted); margin: 14px 0 0; font-size: 15px; }

.pchecks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pchecks li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; line-height: 1.4; }
.pchecks .ico { color: #fff; background: var(--grad); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

.ptext-wrap { display: grid; gap: 28px; align-items: start; }
.ptext { max-width: 760px; font-size: 17px; }
.ptext h2 { margin-top: 1.3em; }
.ptext h2:first-child { margin-top: 0; }
.ptext p { color: #33414d; }
.ptext a { color: var(--brand); font-weight: 500; }
.plinks { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.plinks h3 { font-size: 18px; margin-bottom: 10px; }
.plinks ul { list-style: none; margin: 0; padding: 0; }
.plinks li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-weight: 500;
}
.plinks li:first-child a { border-top: 0; }
.plinks li a .ico { color: var(--cyan); transition: transform .15s; }
.plinks li a:hover { color: var(--brand); }
.plinks li a:hover .ico { transform: translateX(3px); }
.plinks__phone { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; }
.plinks__phone .phone { font-size: 20px; }
.plinks__phone small { color: var(--muted); }

.psteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.psteps li { background: var(--surface); border-radius: var(--radius-sm); padding: 18px; display: grid; gap: 4px; }
.psteps span { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 6px; }
.psteps small { color: var(--muted); font-size: 14px; line-height: 1.45; }

.pcards { display: grid; gap: 14px; }
.pcard {
  display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 10px;
  text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard img { width: 110px; height: 84px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.pcard span { display: grid; gap: 4px; min-width: 0; }
.pcard b { font-size: 17px; color: var(--brand-dark); }
.pcard small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.pcards__home { margin: 18px 0 0; color: var(--muted); }
/* Страница «Все услуги» */
.phero--short h1 { max-width: none; }
.pcard__price { font-style: normal; font-weight: 800; color: var(--cyan); font-size: 16px; margin-top: 2px; }
.pcards--all + .photo-ask { margin-top: 22px; }
.photo-ask p a { color: var(--brand); font-weight: 600; }
@media (min-width: 900px) { .pcards.pcards--all { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 600px) {
  .ptable__row { grid-template-columns: 1fr 160px 170px; }
  .ptable__row--head { display: grid; background: #f7fafb; font-size: 13px; color: var(--muted); border-top: 0; }
  .ptable__row--head span:not(:first-child) { text-align: right; }
  .ptable__name { grid-row: auto; }
  .ptable__floor::before { content: none; }
  .ptable__floor { font-size: 15px; }
  .pchecks { grid-template-columns: 1fr 1fr; }
  .pcards { grid-template-columns: 1fr 1fr; }
  .psteps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .phero { padding: 28px 0 72px; }
  .phero__in { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .section--tight { padding: 32px 0; }
  .ptext-wrap { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .plinks { position: sticky; top: 100px; }
  .psteps { grid-template-columns: repeat(4, 1fr); }
  .pcards { grid-template-columns: repeat(4, 1fr); }
  .pcard { flex-direction: column; align-items: stretch; padding: 0 0 16px; overflow: hidden; }
  .pcard img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .pcard span { padding: 0 16px; }
}


/* Калькулятор: «Показать ещё» и просьба прислать фото */
.plist__toggle {
  display: block; width: 100%; margin-top: 10px; padding: 12px; border: 1.5px dashed #9fc9c3; border-radius: 12px;
  background: transparent; color: var(--brand-dark); font: 600 15px var(--font); cursor: pointer; transition: background .15s, border-color .15s;
}
.plist__toggle:hover { background: var(--brand-soft); border-color: var(--brand); }
.plist__toggle:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; }
.photo-ask {
  margin-top: 14px; padding: 16px; border-radius: 14px; background: var(--alt);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.photo-ask p { margin: 0; font-size: 15px; color: var(--muted); }
.photo-ask p b { display: block; color: var(--text); font-size: 16px; }
.photo-ask__links { display: flex; gap: 8px; flex-wrap: wrap; }
/* Кнопки мессенджеров — белые с рамкой, иконки в фирменных цветах мессенджеров */
.msg {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 12px;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--brand-dark); font-weight: 600; font-size: 15px;
  text-decoration: none; transition: border-color .15s, background .15s, transform .15s;
}
.msg::before {
  content: ""; width: 20px; height: 20px; flex-shrink: 0; background: var(--grad);
  -webkit-mask: var(--msg-ico) center / contain no-repeat; mask: var(--msg-ico) center / contain no-repeat;
}
.msg:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); }
.msg:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; }
.msg--wa::before { background: #25d366; }
.msg--max::before { background: linear-gradient(135deg, #2b7bff, #8b3dff); }
.msg--wa { --msg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a9.4 9.4 0 0 0-8.1 14.2L2.6 21.4l4.8-1.3A9.4 9.4 0 1 0 12 2.5zm5.3 13.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.6-.4.8-.4h.6c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.4 0 .5l-.3.5-.4.5c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l2 .9c.3.1.5.2.5.3.1.2.1.8-.1 1.3z'/%3E%3C/svg%3E"); }
.msg--max { --msg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5C6.8 2.5 3 6.3 3 11.2c0 2.6 1 4.8 2.8 6.4l-.6 3.5c-.1.5.4.9.8.6l3.2-1.9c.9.3 1.8.4 2.8.4 5.2 0 9-3.8 9-8.9S17.2 2.5 12 2.5zm0 13.3a4.6 4.6 0 1 1 0-9.2 4.6 4.6 0 0 1 0 9.2z'/%3E%3C/svg%3E"); }

/* Что забираем / не берём: маленькие фото у пунктов */
.scope__list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.scope__list img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--alt); }
.scope__col .scope__list .scope__txt { display: block; color: var(--text); font-size: 16px; line-height: 1.35; }
.scope__txt small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.scope__col--no .scope__list img { filter: grayscale(.35); box-shadow: inset 0 0 0 2px rgba(180, 35, 24, .25); }
@media (max-width: 420px) {
  .scope__list img { width: 60px; height: 46px; }
  .scope__col .scope__list .scope__txt { font-size: 15px; }
}

/* Ответ формы: крупно и заметно */
.lead__msg { font-size: 18px; line-height: 1.35; }
.lead__msg.is-ok, .lead__msg.is-err { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; }
.lead__msg.is-ok { font-size: 21px; font-weight: 700; color: #064e48; background: #ccfbf1; box-shadow: inset 0 0 0 2px #5eead4; }
.lead__msg.is-ok::before {
  content: "✓"; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 20px;
}
.lead__msg.is-err { background: #fee2e2; }

/* «Как проходит выезд»: шарик едет по линии при прокрутке и закрашивает пункты */
.story.is-live { position: relative; border-left-color: #d7e6ea; }
.story__fill {
  position: absolute; left: -3px; top: 0; width: 4px; height: 0; border-radius: 4px; pointer-events: none;
  background: linear-gradient(180deg, var(--mint), var(--cyan));
}
.story__ball {
  position: absolute; left: -10px; top: -9px; width: 18px; height: 18px; border-radius: 50%; pointer-events: none; z-index: 2;
  background: #fff; border: 4px solid var(--cyan);
  box-shadow: 0 0 0 6px rgba(94, 234, 212, .35), 0 4px 12px rgba(8, 145, 178, .45);
  transform: translateY(0); will-change: transform;
}
.story.is-live li::before { background: #fff; border-color: #c9d8dd; transition: background .3s, border-color .3s, transform .3s; z-index: 1; }
.story.is-live li h3, .story.is-live li p { transition: opacity .3s, color .3s; }
.story.is-live li:not(.is-done) h3, .story.is-live li:not(.is-done) p { opacity: .45; }
.story.is-live li.is-done::before { background: var(--mint); border-color: var(--cyan); }
.story.is-live li.is-current::before { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(94, 234, 212, .3); }
.story.is-live li.is-current h3 { color: var(--brand-dark); }
.story.is-live li { cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .story__ball { display: none; }
}

/* Шарик ярче: малиновый с красноватым свечением */
.story__ball {
  left: -12px; top: -11px; width: 22px; height: 22px;
  background: radial-gradient(circle at 35% 30%, #fb7185, #e11d48 60%, #be123c);
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, .25), 0 0 18px 4px rgba(225, 29, 72, .45), 0 6px 14px rgba(159, 18, 57, .4);
  animation: ball-glow 1.6s ease-in-out infinite;
}
@keyframes ball-glow {
  50% { box-shadow: 0 0 0 7px rgba(225, 29, 72, .18), 0 0 26px 8px rgba(225, 29, 72, .4), 0 6px 14px rgba(159, 18, 57, .4); }
}

/* Шарик мягче: размытый ореол вместо резкой обводки, тень больше */
.story__ball {
  background: radial-gradient(circle at 38% 32%, #ffd1db 0%, #fb7185 35%, #e11d48 75%);
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 10px 24px rgba(159, 18, 57, .35);
  filter: blur(.4px);
}
/* Ореол — размытая тень вокруг шарика (псевдоэлемент лёг бы поверх заливки) */
.story__ball { animation: ball-halo 1.8s ease-in-out infinite; }
@keyframes ball-halo {
  0%, 100% { box-shadow: 0 0 18px 6px rgba(244, 63, 94, .35), 0 10px 24px rgba(159, 18, 57, .3); }
  50% { box-shadow: 0 0 30px 12px rgba(244, 63, 94, .45), 0 12px 28px rgba(159, 18, 57, .35); }
}
@media (prefers-reduced-motion: reduce) { .story__ball { animation: none; } }

/* Шарик — мягкий световой блик: белое ядро, розовое свечение, края растворяются */
.story__ball {
  left: -17px; top: -16px; width: 32px; height: 32px; border: 0;
  background: radial-gradient(circle, #fff 0 14%, rgba(255, 214, 224, .95) 24%, rgba(251, 113, 133, .75) 42%, rgba(244, 63, 94, .3) 58%, rgba(244, 63, 94, 0) 72%);
  box-shadow: none; filter: blur(1.5px);
  animation: ball-light 1.8s ease-in-out infinite;
}
@keyframes ball-light { 0%, 100% { scale: 1; opacity: .9; } 50% { scale: 1.25; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .story__ball { animation: none; } }

/* Шарик без пульсации: просто едет за скроллом */
.story__ball { animation: none; scale: 1; opacity: 1; }


/* Галочка согласия в формах */
.agree { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 14px; cursor: pointer; font-size: 14px; line-height: 1.4; color: var(--muted); position: relative; }
.agree input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.agree__box {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #b7c4d0; background: var(--surface);
  display: grid; place-items: center; color: transparent; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.agree:hover .agree__box { border-color: var(--brand); }
.agree input:checked + .agree__box { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 4px 10px rgba(8, 145, 178, .3); }
.agree input:focus-visible + .agree__box { outline: 3px solid var(--brand-light); outline-offset: 2px; }
.agree a { color: var(--brand); }
.agree.is-bad .agree__box { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); animation: agree-shake .35s; }
.agree.is-bad .agree__text { color: var(--danger); }
@keyframes agree-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.btn.is-off { opacity: .55; filter: saturate(.4); box-shadow: none; }
.btn.is-off:hover { transform: none; filter: saturate(.4); }


/* ---------- Первый экран: гараж до и после, ползунок ---------- */
.cmp {
  position: relative; aspect-ratio: 960 / 686; overflow: hidden; border-radius: 24px; background: #2a3236; /* точное соотношение — в style из before_after() */
  border: 4px solid rgba(255, 255, 255, .18); box-shadow: 0 30px 60px rgba(0, 30, 40, .35);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.cmp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
/* Линия раздела светится мятным */
.cmp__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), #fff 20%, var(--mint) 50%, #fff 80%, rgba(255, 255, 255, .2));
  box-shadow: 0 0 14px 2px rgba(94, 234, 212, .75);
}
/* Ручка — маленькая вертикальная капсула с насечками */
.cmp__grip {
  position: absolute; top: 50%; left: var(--pos); z-index: 3; width: 16px; height: 36px; margin: -18px 0 0 -8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-radius: 999px; background: #fff; border: 2px solid var(--mint);
  box-shadow: 0 4px 12px rgba(0, 30, 40, .4), 0 0 0 4px rgba(94, 234, 212, .25); pointer-events: none;
  transition: transform .15s, box-shadow .15s;
}
.cmp__grip i { display: block; width: 7px; height: 1.5px; border-radius: 1px; background: var(--brand); }
.cmp.is-drag .cmp__grip { transform: scale(1.15); box-shadow: 0 4px 10px rgba(0, 30, 40, .45), 0 0 0 5px rgba(94, 234, 212, .3); }
/* Подпись внизу едет вместе с ручкой: «До» слева от линии, «После» справа */
.cmp__pill {
  position: absolute; bottom: 14px; left: clamp(78px, var(--pos), calc(100% - 78px)); z-index: 3; transform: translateX(-50%);
  display: flex; border-radius: 999px; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 30, 40, .35); pointer-events: none;
  font-size: 13px; letter-spacing: .03em; text-transform: uppercase;
}
.cmp__pill b { width: 72px; padding: 7px 0; text-align: center; font-weight: 800; }
.cmp__pill-do { background: rgba(10, 30, 38, .82); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmp__pill-posle { background: var(--mint); color: var(--mint-ink); }
/* Прозрачный ползунок на всё фото: тянуть можно за любое место, стрелки клавиатуры тоже работают */
.cmp__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.cmp__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100vh; }
.cmp__range::-moz-range-thumb { width: 44px; height: 100vh; border: 0; }
.cmp:has(.cmp__range:focus-visible) .cmp__grip { outline: 3px solid var(--mint); outline-offset: 3px; }

@media (max-width: 599px) {
  .cmp { border-radius: 18px; }
  .cmp__pill { bottom: 10px; font-size: 12px; left: clamp(64px, var(--pos), calc(100% - 64px)); }
  .cmp__pill b { width: 60px; padding: 6px 0; }
}
@media (prefers-reduced-motion: reduce) { .cmp__grip { transition: none; } }
/* На странице услуги ползунок — вместо картинки в шапке */
.phero__media--ba .cmp { border-radius: 22px; }
.phero__media .cmp__img { aspect-ratio: auto; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
