/* Onest variable font faces from the public Google CSS, one face per subset. */
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmS-HY6EQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmb-HY6EQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* math */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xnj-HY6EQ.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-209F, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/* symbols */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xnx-HY6EQ.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AE, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}
/* vietnamese */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmQ-HY6EQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmR-HY6EQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmf-HY.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* =========================================================
   Комфорт-Клининг — главная страница
   Развитие v1: то же направление, выше точность и глубина.
   ========================================================= */
:root {
  /* Цвет */
  --bg: #EEF3F9;
  --bg-soft: #F5F8FC;
  --surface: #FFFFFF;
  --panel: #EDF3FB;
  --panel-2: #DFE9F7;
  --ink: #0E1A2B;
  --ink-2: #2E3F55;
  --muted: #526176;
  --faint: #596B80;
  --hair: rgba(14, 26, 43, .08);
  --hair-2: rgba(14, 26, 43, .13);
  --line: #D6E1EE;
  --line-soft: #E6EDF6;
  --blue: #1F6BFF;
  --blue-600: #1158EC;
  --blue-700: #0B45BE;
  --blue-900: #0A2A66;
  --blue-50: #EEF4FF;
  --blue-100: #D9E7FF;
  --ok: #17A866;
  --err: #D63A47;
  --err-50: #FFF2F3;
  --err-100: #F8CDD2;

  /* Шрифт */
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-2xs: .72rem;
  --fs-xs: .8rem;
  --fs-sm: .9rem;
  --fs-md: 1rem;
  --fs-lg: clamp(1.05rem, .98rem + .3vw, 1.22rem);
  --fs-h2: clamp(1.9rem, 1.2rem + 2.2vw, 3.4rem);
  --fs-h1: clamp(2.4rem, 1rem + 3.4vw, 5rem);

  /* Геометрия */
  --container: 90vw;
  --r-2xl: clamp(28px, 1.4rem + 1vw, 44px);
  --r-xl: clamp(22px, 1.1rem + .6vw, 32px);
  --r-lg: 22px;
  --r-md: 16px;
  --pill: 999px;

  /* Глубина: три уровня + синий */
  --sh-1: 0 1px 1px rgba(14, 26, 43, .03), 0 2px 6px -2px rgba(14, 26, 43, .07);
  --sh-2: 0 1px 2px rgba(14, 26, 43, .04), 0 10px 28px -12px rgba(14, 26, 43, .18);
  --sh-3: 0 2px 6px rgba(14, 26, 43, .04), 0 32px 70px -28px rgba(14, 26, 43, .34);
  --sh-blue: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .08), 0 14px 30px -12px rgba(31, 107, 255, .6);
  --sh-blue-hover: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .08), 0 22px 44px -14px rgba(31, 107, 255, .72);
  --ring: 0 0 0 4px rgba(31, 107, 255, .16);

  /* Движение */
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --t-fast: 160ms;
  --t: 280ms;
  --t-slow: 520ms;

  --hdr-h: var(--shell-h);
  /* Reserve the header's intrinsic desktop height before app.js measures it. */
  --shell-h: 140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-md); line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: var(--container); margin-inline: auto; }

.demo-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--pill); background: #FFF6DD; color: #7A5300; border: 1px solid #F3E2AE; white-space: nowrap; }
.proto-bar { font-size: var(--fs-2xs); color: var(--muted); text-align: center; padding: 6px 16px; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.proto-bar a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   Кнопки
   ========================================================= */
.btn {
  --h: 56px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 28px; border-radius: var(--pill);
  font-weight: 700; font-size: .95rem; letter-spacing: .005em; white-space: nowrap;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arr { transition: transform var(--t) var(--ease-out); }
.btn:hover .arr, .btn.is-hover .arr { transform: translateX(4px); }
.btn--primary { color: #fff; background: linear-gradient(180deg, #3B82FF 0%, var(--blue) 52%, var(--blue-600) 100%); box-shadow: var(--sh-blue); }
/* Блик проходит по кнопке один раз при наведении */
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .3) 45%, transparent 60%); transform: translateX(-110%); transition: transform .8s var(--ease-out); }
.btn--primary:hover, .btn--primary.is-hover { transform: translateY(-2px); box-shadow: var(--sh-blue-hover); }
.btn--primary:hover::after, .btn--primary.is-hover::after { transform: translateX(110%); }
.btn--primary:active, .btn--primary.is-active { transform: translateY(0) scale(.985); box-shadow: var(--sh-blue); transition-duration: 80ms; }
.btn--primary:focus-visible, .btn--primary.is-focus { outline: none; box-shadow: var(--sh-blue), 0 0 0 4px rgba(31, 107, 255, .3); }
.btn--soft { --h: 46px; padding: 0 18px 0 14px; gap: 8px; font-size: .88rem; color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-100); }
.btn--soft svg { width: 17px; height: 17px; }
.btn--soft:hover, .btn--soft.is-hover { background: #fff; box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn--soft:active, .btn--soft.is-active { transform: none; box-shadow: none; background: var(--blue-100); }
.btn--lg { --h: 64px; padding: 0 26px 0 22px; gap: 10px; font-size: 1rem; }
.btn[aria-disabled="true"], .btn.is-disabled { background: #C7D4E8; box-shadow: none; transform: none; cursor: not-allowed; }
.btn[aria-disabled="true"]::after, .btn.is-disabled::after { display: none; }
.btn[aria-disabled="true"] .arr, .btn.is-disabled .arr { transform: none; }
.btn.is-ready { animation: readyPulse .9s var(--ease-out) 1; }
@keyframes readyPulse { from { box-shadow: var(--sh-blue), 0 0 0 0 rgba(31, 107, 255, .45); } to { box-shadow: var(--sh-blue), 0 0 0 16px rgba(31, 107, 255, 0); } }
.btn .lbl, .btn .arr { transition: opacity var(--t-fast), transform var(--t) var(--ease-out); }
.btn .spin { position: absolute; left: 50%; top: 50%; margin: -10px 0 0 -10px; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; opacity: 0; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .lbl, .btn.is-loading .arr, .btn.is-loading > svg { opacity: 0; }
.btn.is-loading .spin { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn { width: 44px; height: 44px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--hair-2); color: var(--ink-2); transition: border-color var(--t-fast), color var(--t-fast), transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--blue-100); color: var(--blue-600); box-shadow: var(--sh-2); transform: translateY(-1px); }

/* =========================================================
   Логотип
   ========================================================= */
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 50px; height: 50px; flex: none; filter: drop-shadow(0 10px 16px rgba(31, 107, 255, .26)); transition: transform var(--t-slow) var(--ease-spring); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.04); }
.logo__text { display: grid; line-height: 1.05; }
.logo__name { font-size: 1.24rem; font-weight: 800; letter-spacing: -.025em; color: var(--ink); white-space: nowrap; }
.logo__name span { color: var(--blue); }
.logo__tag { margin-top: 5px; font-size: .7rem; color: var(--muted); white-space: nowrap; }

/* =========================================================
   Шапка
   ========================================================= */
.top { position: relative; overflow-x: clip; }
.hdr-shell { position: relative; z-index: 50; min-height: var(--shell-h); }
.hdr { position: relative; padding-top: 16px; }
.hdr__top { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 26px); padding-bottom: 14px; }
.hdr__sep { width: 1px; height: 34px; background: var(--hair-2); flex: none; }
.hdr__spacer { flex: 1; }

.hc { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hc__ico { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .82); border: 1px solid var(--hair); color: var(--blue); box-shadow: var(--sh-1); }
.hc__ico svg { width: 17px; height: 17px; }
.hc__body { display: grid; gap: 1px; min-width: 0; font-size: var(--fs-sm); line-height: 1.3; }
.hc__addr { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.hc__mail { justify-self: start; color: var(--blue-700); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t) var(--ease-out); }
.hc__mail:hover { background-size: 100% 1px; }

.hmsg { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--pill); background: rgba(255, 255, 255, .7); border: 1px solid var(--hair); }
.hmsg__label { padding: 0 6px 0 10px; font-size: var(--fs-2xs); color: var(--muted); white-space: nowrap; }
.msg-btn { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--faint); border: 1px dashed #C3CFDE; }
.msg-btn[href] { background: var(--blue); color: #fff; border: 1px solid var(--blue); box-shadow: var(--sh-blue); transition: transform var(--t-fast), box-shadow var(--t-fast); }
.msg-btn[href]:hover { transform: translateY(-2px); box-shadow: var(--sh-blue-hover); }
.msg-btn[href]:focus-visible { outline: 3px solid var(--blue-100); outline-offset: 2px; }
.msg-btn svg { width: 17px; height: 17px; }
.msg-btn[aria-disabled="true"] { cursor: not-allowed; }
.msg-btn .tip { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); width: max-content; max-width: 220px; padding: 8px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .72rem; line-height: 1.35; text-align: center; opacity: 0; pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast); z-index: 5; }
.msg-btn:hover .tip, .msg-btn:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }

.hphone { display: grid; justify-items: end; gap: 1px; }
.hphone__hours { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-2xs); color: var(--muted); white-space: nowrap; }
.live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: live 2.4s var(--ease-out) 3; }
@keyframes live { from { transform: scale(.5); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.hphone__num { font-size: 1.26rem; font-weight: 800; letter-spacing: -.015em; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color var(--t-fast); }
.hphone__num:hover { color: var(--blue-600); }

/* Строка меню */
.hdr__nav { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 8px; background: rgba(255, 255, 255, .8); border-radius: var(--pill); box-shadow: var(--sh-2), inset 0 0 0 1px var(--hair); backdrop-filter: saturate(150%) blur(18px); }
.nav { flex: 1; min-width: 0; }
.nav__list { position: static; list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
/* «Бегущая» подложка: плавно переезжает между пунктами */
.nav__ink { position: absolute; z-index: 0; top: 0; left: 0; height: 46px; width: var(--w, 0); border-radius: var(--pill); background: var(--blue-50); transform: translateX(var(--x, 0)); opacity: 0; transition: transform var(--t) var(--ease-out), width var(--t) var(--ease-out), opacity var(--t-fast); pointer-events: none; }
.nav__list.has-ink .nav__ink { opacity: 1; }
.nav__item { position: static; z-index: 1; display: flex; align-items: center; height: 46px; border-radius: var(--pill); }
.nav__link, .nav__toggle-only { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 0 0 15px; border-radius: var(--pill); font-size: .93rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: color var(--t-fast); }
.nav__toggle-only { padding-right: 16px; }
.nav__item:hover .nav__link, .nav__item:hover .nav__toggle-only, .nav__item.is-hover .nav__link { color: var(--blue-700); }
.nav__link[aria-current="page"] { color: var(--blue-700); }
.nav__caret { width: 30px; height: 30px; margin: 0 6px 0 2px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--faint); transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
.nav__caret svg, .nav__toggle-only svg { width: 13px; height: 13px; transition: transform var(--t) var(--ease-out); }
.nav__caret:hover { background: #fff; color: var(--blue-600); box-shadow: var(--sh-1); }
.nav__toggle-only svg { color: var(--faint); }
.nav__item.is-open .nav__link, .nav__item.is-open .nav__toggle-only { color: var(--blue-700); }
.nav__item.is-open .nav__caret { background: #fff; color: var(--blue-600); box-shadow: var(--sh-1); }
.nav__item.is-open .nav__caret svg, .nav__item.is-open .nav__toggle-only svg { transform: rotate(180deg); color: var(--blue-600); }

/* Мегаменю */
.mega { position: absolute; left: 0; right: 0; top: calc(100% + 12px); display: grid; grid-template-columns: minmax(230px, 24%) 1fr; gap: clamp(22px, 3vw, 52px); padding: clamp(18px, 1.6vw, 24px); background: rgba(255, 255, 255, .97); border-radius: var(--r-2xl); box-shadow: var(--sh-3), inset 0 0 0 1px var(--hair); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.985); transform-origin: 50% 0; transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out), visibility 0s linear var(--t); max-height: calc(100vh - var(--hdr-h) - 40px); overflow: auto; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__intro { position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: end; gap: 8px; min-height: 290px; padding: 22px; border-radius: var(--r-xl); color: #fff; background: var(--blue-900); }
.mega__intro img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.mega__intro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 42, 102, 0) 15%, rgba(8, 28, 68, .9) 100%); }
.nav__item.is-open .mega__intro img { transform: scale(1.05); }
.mega__eyebrow { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.mega__title { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.mega__lead { margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .82); line-height: 1.4; }
.mega__all { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 10px 12px 10px 16px; border-radius: var(--pill); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .26); font-weight: 700; font-size: var(--fs-sm); backdrop-filter: blur(8px); transition: background-color var(--t-fast), color var(--t-fast); }
.mega__all:hover { background: #fff; color: var(--blue-700); }
.mega__all svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease-out); }
.mega__all:hover svg { transform: translateX(3px); }
.mega__cols { columns: 4 180px; column-gap: clamp(16px, 2vw, 32px); padding-top: 6px; }
.mega__group { break-inside: avoid; margin-bottom: 22px; opacity: 0; transform: translateY(6px); transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); transition-delay: calc(var(--i, 0) * 35ms + 60ms); }
.nav__item.is-open .mega__group { opacity: 1; transform: none; }
.mega__group h3 { margin: 0 0 8px; font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.mega__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mega__group a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; margin-left: -10px; border-radius: 10px; font-size: .93rem; color: var(--ink-2); transition: background-color var(--t-fast), color var(--t-fast); }
.mega__group a::after { content: "→"; font-size: .85rem; color: var(--blue); opacity: 0; transform: translateX(-4px); transition: opacity var(--t-fast), transform var(--t) var(--ease-out); }
.mega__group a:hover { background: var(--blue-50); color: var(--blue-700); }
.mega__group a:hover::after { opacity: 1; transform: none; }
.mega__group .lvl3 { margin: 2px 0 6px 2px; padding-left: 12px; border-left: 1px solid var(--line); }
.mega__group .lvl3 a { font-size: .86rem; color: var(--muted); padding-block: 4px; }
.mega__group .has-kids > a { font-weight: 700; color: var(--ink); }
.mega--compact { left: auto; right: auto; width: 250px; grid-template-columns: 1fr; padding: 8px; border-radius: var(--r-lg); }
.nav__item--compact { position: relative; }
.nav__item--compact .mega { left: 0; top: calc(100% + 18px); }
.mega--compact .mega__group { margin: 0; }
.mega--compact .mega__group a { margin-left: 0; padding: 10px 12px; }
.mega--compact .mega__parent { font-weight: 700; color: var(--blue-700) !important; }

/* Поиск */
.search { position: relative; flex: 0 1 320px; min-width: 220px; }
.search__field { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 16px; border-radius: var(--pill); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--hair); transition: background-color var(--t-fast), box-shadow var(--t) var(--ease-out), width var(--t) var(--ease-out); }
.search__field:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--hair-2); }
.search__field:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), var(--ring); }
.search__field > svg { width: 18px; height: 18px; color: var(--muted); flex: none; transition: color var(--t-fast); }
.search__field:focus-within > svg { color: var(--blue); }
.search__input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: .93rem; }
.search__input::-webkit-search-cancel-button, .search__input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.search__input::placeholder { color: var(--faint); }
.kbd { flex: none; display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair-2), 0 1px 0 var(--hair-2); font-size: .74rem; font-weight: 700; color: var(--muted); }
.search__field:focus-within .kbd, .search.has-value .kbd { display: none; }
.search__clear { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex: none; }
.search__clear:hover { background: var(--line-soft); color: var(--ink); }
.search__clear svg { width: 13px; height: 13px; }
.search__clear[hidden] { display: none; }
.search__panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(540px, 90vw); z-index: 20; background: rgba(255, 255, 255, .98); border-radius: var(--r-xl); box-shadow: var(--sh-3), inset 0 0 0 1px var(--hair); overflow: hidden; transform-origin: 80% 0; animation: pop var(--t) var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
.search__panel[hidden] { display: none; }
.search__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; font-size: var(--fs-2xs); color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.search__list { list-style: none; margin: 0; padding: 6px; max-height: min(440px, 60vh); overflow: auto; }
.search__sec { padding: 10px 12px 4px; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.search__res { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 2px 12px; padding: 9px 10px; border-radius: 14px; transition: background-color var(--t-fast); }
.search__res-ico { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.search__res-ico svg { width: 16px; height: 16px; }
.search__res-ico--post { background: var(--bg-soft); color: var(--muted); }
.search__res[aria-selected="true"], .search__res:hover { background: var(--blue-50); }
.search__res-title { font-weight: 600; font-size: .93rem; color: var(--ink); line-height: 1.3; }
.search__res-title mark { background: transparent; color: var(--blue-700); box-shadow: inset 0 -.42em 0 #DCEAFF; }
.search__res-url { grid-column: 2; font-size: var(--fs-2xs); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search__res-go { grid-row: 1 / span 2; grid-column: 3; color: var(--blue); opacity: 0; transform: translateX(-4px); transition: opacity var(--t-fast), transform var(--t) var(--ease-out); }
.search__res-go svg { width: 16px; height: 16px; }
.search__res[aria-selected="true"] .search__res-go, .search__res:hover .search__res-go { opacity: 1; transform: none; }
.search__empty { padding: 20px 18px; display: grid; gap: 12px; }
.search__empty p { margin: 0; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { padding: 7px 12px; border-radius: var(--pill); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--hair); font-size: var(--fs-sm); color: var(--ink-2); transition: all var(--t-fast); }
.chip-link:hover { box-shadow: inset 0 0 0 1px var(--blue-100); color: var(--blue-700); background: #fff; }
.search__all { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line-soft); font-size: var(--fs-sm); font-weight: 700; color: var(--blue-700); }
.search__all:hover { background: var(--bg-soft); }
.search__all svg { width: 16px; height: 16px; }

/* Липкая шапка */
.hdr.is-compact { position: fixed; inset: 0 0 auto 0; padding: 10px 0; background: rgba(238, 243, 249, .8); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--hair); animation: hdrIn var(--t-slow) var(--ease-out); }
.hdr.is-compact .hdr__top { display: none; }
.hdr.is-compact .hdr__nav { box-shadow: inset 0 0 0 1px var(--hair); }
.hdr__mini, .hdr__mini-end { display: none; }
.hdr.is-compact .hdr__mini { display: flex; align-items: center; flex: none; padding-left: 2px; }
.hdr__mini .logo__mark { width: 38px; height: 38px; }
.hdr.is-compact .hdr__mini-end { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr__mini-phone { font-weight: 800; white-space: nowrap; font-size: .96rem; font-variant-numeric: tabular-nums; }
@keyframes hdrIn { from { transform: translateY(-100%); } to { transform: none; } }

/* Мобильная шапка и меню */
.hdr__mobile { display: none; }
.burger { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform var(--t) var(--ease-out), background-color var(--t-fast); }
.burger:hover { background: var(--blue-700); }
.burger:active { transform: scale(.94); }
.burger svg { width: 22px; height: 22px; }
.drawer { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto 1fr; background: var(--bg); clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path var(--t-slow) var(--ease-out), visibility 0s linear var(--t-slow); }
.drawer.is-open { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--hair); background: var(--surface); }
.drawer__body { overflow: auto; padding: 16px 16px 40px; display: grid; grid-auto-rows: max-content; gap: 16px; align-content: start; }
.drawer__body > * { opacity: 0; transform: translateY(10px); transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.drawer.is-open .drawer__body > * { opacity: 1; transform: none; }
.drawer.is-open .drawer__body > *:nth-child(2) { transition-delay: 70ms; }
.drawer.is-open .drawer__body > *:nth-child(3) { transition-delay: 140ms; }
.drawer .search { flex: none; min-width: 0; width: 100%; }
.drawer .search__field { height: 52px; background: #fff; }
.drawer .search__panel { position: static; width: 100%; margin-top: 10px; box-shadow: var(--sh-2); }
.mnav { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.mnav > li + li { border-top: 1px solid var(--line-soft); }
.mnav__row { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.mnav__row > a { flex: 1; padding: 14px 16px; font-weight: 700; font-size: 1.02rem; }
.mnav__tg { width: 56px; height: 56px; display: grid; place-items: center; color: var(--muted); border-left: 1px solid var(--line-soft); transition: background-color var(--t-fast), color var(--t-fast); }
.mnav__tg svg { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.mnav__tg[aria-expanded="true"] { color: var(--blue-600); background: var(--blue-50); }
.mnav__tg[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__row > button.mnav__whole { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 14px 19px 14px 16px; font-weight: 700; font-size: 1.02rem; text-align: left; }
.mnav__row > button.mnav__whole svg { width: 18px; height: 18px; color: var(--muted); transition: transform var(--t) var(--ease-out); }
.mnav__row > button.mnav__whole[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--blue-600); }
.mnav__sub { padding: 4px 16px 16px; background: var(--bg-soft); }
.mnav__sub[hidden] { display: none; }
.mnav__sub:not([hidden]) { animation: pop var(--t) var(--ease-out); }
.mnav__sub h4 { margin: 14px 0 6px; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.mnav__sub ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mnav__sub a { display: block; padding: 10px 0; color: var(--ink-2); border-bottom: 1px solid var(--line-soft); }
.mnav__sub .lvl3 { padding-left: 14px; border-left: 1px solid var(--line); margin: 0 0 4px 2px; }
.mnav__sub .lvl3 a { font-size: .92rem; color: var(--muted); }
.mcontacts { display: grid; gap: 14px; padding: 18px; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--hair); }
.mcontacts .hphone { justify-items: start; }
.mcontacts .hmsg { justify-self: start; }
.mcontacts .btn { width: 100%; }
body.is-locked { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; isolation: isolate; margin-top: calc(-1 * var(--shell-h, 0px)); padding-top: var(--shell-h, 0px); background: radial-gradient(55% 60% at 14% 22%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #F4F8FD 0%, #E9F0F9 100%); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 47%) minmax(0, 53%); min-height: clamp(560px, 43vw, 860px); padding-top: clamp(36px, 4.4vw, 80px); }
.hero__copy { position: relative; z-index: 2; display: grid; align-content: start; gap: clamp(20px, 1.9vw, 30px); padding-bottom: clamp(36px, 3.6vw, 64px); }
.eyebrow { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--pill); background: rgba(255, 255, 255, .74); box-shadow: var(--sh-1), inset 0 0 0 1px rgba(255, 255, 255, .9); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); backdrop-filter: blur(10px); }
.eyebrow__mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.eyebrow__mark svg { width: 12px; height: 12px; }
.eyebrow--plain { padding: 0; background: none; box-shadow: none; backdrop-filter: none; color: var(--blue-700); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: var(--fs-2xs); }
.hero h1 { margin: 0; font-size: var(--fs-h1); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .accent { background: linear-gradient(180deg, #3F86FF 0%, var(--blue-700) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 .thin { font-weight: 300; color: var(--ink-2); letter-spacing: -.035em; }
.hero__lead { margin: 0; max-width: min(100%, 35.7rem); font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.55; }
.hero__lead a { color: var(--ink); font-weight: 600; background: linear-gradient(var(--blue-100), var(--blue-100)) 0 100% / 100% 2px no-repeat; transition: color var(--t-fast); }
.hero__lead a:hover { color: var(--blue-700); background-image: linear-gradient(var(--blue), var(--blue)); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.call-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-2); }
.call-link__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair); color: var(--blue); transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out); }
.call-link__ico svg { width: 18px; height: 18px; }
.call-link:hover .call-link__ico { transform: translateY(-2px) rotate(-10deg); box-shadow: var(--sh-2); }
.call-link small { display: block; font-size: var(--fs-2xs); color: var(--muted); }
.call-link b { font-weight: 800; font-size: 1.02rem; font-variant-numeric: tabular-nums; transition: color var(--t-fast); }
.call-link:hover b { color: var(--blue-700); }
.trust { list-style: none; margin: 6px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--hair); }
.trust li { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; white-space: nowrap; font-weight: 600; color: var(--ink-2); }
.trust svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

.hero__visual { position: relative; z-index: 1; }
.hero__photo { position: absolute; inset: calc(-1 * (var(--shell-h, 0px) + clamp(36px, 4.4vw, 80px))) calc(-5vw) 0 -16%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%), linear-gradient(180deg, transparent 0%, #000 16%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 28%), linear-gradient(180deg, transparent 0%, #000 16%, #000 88%, transparent 100%); mask-composite: intersect; }
.hero__photo img, .hero__photo .ph { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; transform: translate3d(0, var(--par, 0px), 0) scale(1.05); will-change: transform; }
#clearfy-cookie-accept { background-color: #0B45BE !important; color: #fff !important; }
.ph { background: linear-gradient(135deg, #DCE8F7 0%, #F6F9FC 55%, #CFE0F5 100%); }
.glass { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 9px 20px 9px 9px; background: rgba(255, 255, 255, .64); border-radius: var(--pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .9), 0 20px 40px -22px rgba(14, 26, 43, .45); backdrop-filter: saturate(170%) blur(16px); font-size: var(--fs-xs); line-height: 1.3; color: var(--muted); }
.glass b { display: block; color: var(--ink); font-size: .92rem; font-weight: 700; }
.glass__ico { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #3B82FF, var(--blue-600)); color: #fff; box-shadow: 0 8px 16px -8px rgba(31, 107, 255, .8); }
.glass__ico svg { width: 18px; height: 18px; }
.glass--a { top: 16%; right: 5%; }
.glass--b { bottom: 24%; left: 3%; }
.float { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform 1.1s var(--ease-out); }
.hero__credit { position: absolute; right: 0; bottom: 14px; z-index: 3; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(14, 26, 43, .36); }

.dirs { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.1vw, 20px); margin-top: clamp(4px, 1vw, 16px); padding-bottom: clamp(60px, 6vw, 112px); }
.dir { position: relative; overflow: hidden; display: block; min-height: clamp(160px, 11vw, 210px); padding: clamp(18px, 1.5vw, 26px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .84); box-shadow: var(--sh-2), inset 0 0 0 1px rgba(255, 255, 255, .95); backdrop-filter: blur(12px); transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out); }
.dir:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.dir--blue { background: linear-gradient(155deg, #3A80FF 0%, var(--blue-600) 55%, var(--blue-700) 100%); color: #fff; box-shadow: var(--sh-2); }
.dir__body { position: relative; z-index: 1; display: block; padding-bottom: 50px; }
.dir__idx { display: block; margin-bottom: 12px; font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .14em; color: var(--blue); font-variant-numeric: tabular-nums; }
.dir--blue .dir__idx { color: rgba(255, 255, 255, .7); }
.dir__title { margin: 0; font-size: clamp(1.12rem, .9rem + .65vw, 1.55rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; max-width: 11ch; }
.dir__sub { margin: 8px 0 0; font-size: var(--fs-xs); color: var(--muted); max-width: min(22ch, 54%); line-height: 1.4; }
.dir--blue .dir__sub { color: rgba(255, 255, 255, .8); }
.dir__img { position: absolute; right: -8%; bottom: -14%; width: 52%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255, 255, 255, .8); box-shadow: 0 22px 44px -20px rgba(14, 26, 43, .5); transition: transform 1.4s cubic-bezier(.19, 1, .22, 1); }
.dir--blue .dir__img { border-color: rgba(255, 255, 255, .2); }
.dir:hover .dir__img { transform: scale(1.04); }
.dir__img img, .dir__img .ph { width: 100%; height: 100%; object-fit: cover; }
.dir__go { position: absolute; left: clamp(18px, 1.5vw, 26px); bottom: clamp(18px, 1.5vw, 26px); z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); transition: background-color var(--t), color var(--t), transform var(--t) var(--ease-out); }
.dir__go svg { width: 16px; height: 16px; }
.dir:hover .dir__go { background: var(--blue); color: #fff; transform: translateX(4px); }
.dir--blue .dir__go { background: rgba(255, 255, 255, .18); color: #fff; }
.dir--blue:hover .dir__go { background: #fff; color: var(--blue-700); }
.hero__tab { position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); z-index: 4; width: 96px; height: 36px; display: grid; place-items: end center; padding-bottom: 6px; color: var(--blue); }
.hero__tab::before { content: ""; position: absolute; inset: 0; background: var(--bg); -webkit-mask: radial-gradient(62px 42px at 50% 100%, #000 98%, transparent 100%); mask: radial-gradient(62px 42px at 50% 100%, #000 98%, transparent 100%); }
.hero__tab svg { position: relative; width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.hero__tab:hover svg { transform: translateY(3px); }

/* =========================================================
   КВИЗ v2
   ========================================================= */
.quiz-sec { padding: clamp(64px, 7vw, 128px) 0; background: var(--bg); }
.sec-head { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: clamp(30px, 3vw, 52px); }
.sec-head .eyebrow { justify-self: center; }
.sec-head h2 { margin: 0; font-size: var(--fs-h2); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; max-width: 20ch; }
.sec-head h2 b { font-weight: 800; }
.sec-head p { margin: 0; max-width: 58ch; color: var(--muted); font-size: var(--fs-lg); }

.qz { position: relative; display: grid; grid-template-columns: minmax(290px, 31%) minmax(0, 1fr); border-radius: var(--r-2xl); background: #fff; box-shadow: 0 2px 6px rgba(14, 26, 43, .04), 0 50px 100px -50px rgba(14, 26, 43, .4), inset 0 0 0 1px var(--hair); overflow: hidden; }

/* Левая колонка: ассистент + шаги */
.qz-side { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; padding: clamp(22px, 2vw, 32px); background: radial-gradient(120% 50% at 50% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #F2F7FE 0%, #E6EFFB 100%); border-right: 1px solid var(--hair); }
.agent { display: grid; gap: 14px; }
.agent__art { position: relative; aspect-ratio: 1 / .86; border-radius: var(--r-xl); overflow: hidden; background: #E1EDFE; box-shadow: 0 18px 40px -24px rgba(10, 42, 102, .4); }
.agent__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); pointer-events: none; }
.agent__art picture, .agent__art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.agent__art img { object-fit: cover; object-position: 50% 8%; }
.agent__art .ph { position: absolute; inset: 0; }
.agent__tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .84); backdrop-filter: blur(10px); font-size: var(--fs-2xs); font-weight: 700; color: var(--ink-2); box-shadow: var(--sh-1); }
.agent__ill { position: absolute; right: 12px; bottom: 10px; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(14, 26, 43, .4); }
.agent__head { display: grid; gap: 2px; }
.agent__kicker { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); }
.agent__role { margin: 0; font-size: 1.14rem; font-weight: 800; letter-spacing: -.015em; }
.bubble { position: relative; margin: 0; padding: 14px 16px; border-radius: 6px 18px 18px 18px; background: #fff; box-shadow: var(--sh-2); font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.45; }
.bubble::before { content: ""; position: absolute; left: 0; top: -7px; width: 14px; height: 8px; background: #fff; clip-path: polygon(0 100%, 0 0, 100% 100%); }
.bubble.is-swap { animation: bubbleIn var(--t-slow) var(--ease-out); }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; vertical-align: middle; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); animation: typing 1s var(--ease) infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }

.qsteps { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.qsteps li { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: start; padding-bottom: 14px; }
.qsteps li::before { content: ""; position: absolute; left: 13.5px; top: 32px; bottom: 4px; width: 1px; background: var(--line); }
.qsteps li:last-child { padding-bottom: 0; }
.qsteps li:last-child::before { display: none; }
.qsteps li.is-done::before { background: var(--blue); }
.qsteps__dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: #fff; color: var(--faint); box-shadow: inset 0 0 0 1px var(--line); transition: all var(--t) var(--ease-out); font-variant-numeric: tabular-nums; }
.qsteps__dot svg { width: 13px; height: 13px; }
.qsteps li.is-done .qsteps__dot { background: var(--blue); color: #fff; box-shadow: none; }
.qsteps li.is-now .qsteps__dot { color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 5px rgba(31, 107, 255, .12); }
.qsteps__txt { display: grid; gap: 1px; padding-top: 4px; min-width: 0; }
.qsteps__name { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.qsteps li.is-now .qsteps__name, .qsteps li.is-done .qsteps__name { color: var(--ink); }
.qsteps__val { font-size: var(--fs-xs); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qsteps__val:empty { display: none; }
.qsteps__edit { margin-top: 4px; padding: 3px 8px; border-radius: 8px; font-size: var(--fs-2xs); font-weight: 700; color: var(--blue-700); opacity: 0; transition: opacity var(--t-fast), background-color var(--t-fast); }
.qsteps__edit:hover { background: #fff; }
.qsteps li.is-done:hover .qsteps__edit, .qsteps__edit:focus-visible { opacity: 1; }
.qz-side__foot { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: var(--fs-xs); color: var(--muted); }
.qz-side__foot .call-link__ico { width: 42px; height: 42px; }
.qz-side__foot a { display: block; font-size: 1.05rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.qz-side__foot a:hover { color: var(--blue-600); }

/* Правая часть */
.qz-main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; align-self: start; gap: clamp(22px, 2vw, 32px); padding: clamp(22px, 2.6vw, 46px); min-width: 0; min-height: 0; max-height: calc(100dvh - var(--shell-h) - var(--kk-cookie-inset, 0px) - 16px); overflow: hidden; scroll-margin-top: calc(var(--shell-h) + 8px); }
.qz-head { display: grid; gap: 14px; }
.qz-head__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.qz-kicker { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); font-variant-numeric: tabular-nums; }
.qz-kicker b { color: var(--ink); }
.qz-time { font-size: var(--fs-xs); color: var(--muted); }
.qprog { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.qprog__seg { position: relative; height: 6px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.qprog__seg i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #4C8DFF, var(--blue-600)); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--t-slow) var(--ease-out); }
.qprog__seg.is-done i { transform: scaleX(1); }
.qprog__seg.is-now i { transform: scaleX(.4); }
.qprog__seg.is-now.is-answered i { transform: scaleX(.85); }

.qz-stage { position: relative; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.step { display: grid; align-content: start; gap: clamp(20px, 1.7vw, 28px); min-width: 0; }
.step.is-leaving { animation: stepOut 200ms var(--ease) forwards; }
.step.is-leaving.is-back { animation-name: stepOutBack; }
.step.is-entering { animation: stepIn var(--t-slow) var(--ease-out) both; }
.step.is-entering.is-back { animation-name: stepInBack; }
@keyframes stepOut { to { opacity: 0; transform: translateX(-16px); filter: blur(4px); } }
@keyframes stepOutBack { to { opacity: 0; transform: translateX(16px); filter: blur(4px); } }
@keyframes stepIn { from { opacity: 0; transform: translateX(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.step.is-entering .stg { animation: rise .55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 90ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.step__top { display: grid; gap: 8px; }
.step__q { margin: 0; font-size: clamp(1.45rem, 1rem + 1.2vw, 2.15rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; outline: none; }
.step__hint { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.fieldset legend { padding: 0; margin-bottom: 12px; font-weight: 700; font-size: var(--fs-sm); }
.fieldset legend small { font-weight: 400; color: var(--muted); }

/* Карточки ответов — единая система */
.opts { display: grid; gap: clamp(12px, 1vw, 16px); }
.opts--photo { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opts--tile { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__card { --lift: 0px; position: relative; isolation: isolate; display: grid; height: 100%; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--hair-2), var(--sh-1); transform: translate3d(0, var(--lift), 0); transition: transform .7s var(--ease-out), box-shadow .5s var(--ease-out), background-color .4s var(--ease-out); will-change: transform; }
/* Глубокая тень проявляется прозрачностью — мягче, чем анимация box-shadow */
.opt__card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: 0 28px 50px -26px rgba(14, 26, 43, .34), 0 10px 20px -14px rgba(14, 26, 43, .14); opacity: 0; transition: opacity .7s var(--ease-out); pointer-events: none; }
.opt__mark { position: absolute; right: 12px; top: 12px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); box-shadow: inset 0 0 0 1.5px var(--hair-2), 0 2px 6px rgba(14, 26, 43, .12); color: transparent; transition: background-color var(--t-fast), box-shadow var(--t-fast), transform var(--t) var(--ease-spring), color var(--t-fast); }
.opt__mark svg { width: 14px; height: 14px; transform: scale(.3); transition: transform var(--t) var(--ease-spring); }
.opt--multi .opt__mark { border-radius: 8px; }
.opt:hover .opt__card, .opt.is-hover .opt__card { --lift: -4px; box-shadow: inset 0 0 0 1px var(--blue-100), var(--sh-1); }
.opt:hover .opt__card::before, .opt.is-hover .opt__card::before { opacity: 1; }
.opt:hover .opt__mark, .opt.is-hover .opt__mark { box-shadow: inset 0 0 0 1.5px var(--blue), 0 2px 6px rgba(14, 26, 43, .12); transition-duration: .4s; }
.opt input:focus-visible + .opt__card, .opt.is-focus .opt__card { box-shadow: inset 0 0 0 1px var(--blue-100), 0 0 0 3px #fff, 0 0 0 5px var(--blue); }
.opt input:checked + .opt__card, .opt.is-selected .opt__card { --lift: -2px; box-shadow: inset 0 0 0 2px var(--blue), 0 18px 36px -18px rgba(31, 107, 255, .5); background: #FAFCFF; }
.opt input:checked + .opt__card::before, .opt.is-selected .opt__card::before { opacity: 0; }
.opt input:checked + .opt__card .opt__mark, .opt.is-selected .opt__mark { background: var(--blue); color: #fff; box-shadow: 0 6px 14px -4px rgba(31, 107, 255, .7); transform: scale(1.08); }
.opt input:checked + .opt__card .opt__mark svg, .opt.is-selected .opt__mark svg { transform: scale(1); }
.opt input:disabled + .opt__card, .opt.is-disabled .opt__card { opacity: .45; --lift: 0px; box-shadow: inset 0 0 0 1px var(--hair); cursor: not-allowed; }
.opts.is-error .opt__card { box-shadow: inset 0 0 0 1px var(--err-100), var(--sh-1); }
.opts.is-error .opt__mark { box-shadow: inset 0 0 0 1.5px var(--err-100); }
.is-shake { animation: shake .42s var(--ease) 1; }
@keyframes shake { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } 100% { transform: none; } }

.opt--photo .opt__card { grid-template-rows: auto 1fr; overflow: hidden; }
.opt__img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--panel-2); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.opt__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 107, 255, 0) 40%, rgba(31, 107, 255, .2) 100%); opacity: 0; transition: opacity .6s var(--ease-out); }
.opt__img::before { content: ""; position: absolute; inset: -20% -60%; z-index: 1; background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .22) 50%, transparent 62%); transform: translateX(-60%); opacity: 0; pointer-events: none; }
.opt--photo:hover .opt__img::before { animation: sheen 1.6s cubic-bezier(.19, 1, .22, 1) 1 forwards; }
@keyframes sheen { 0% { transform: translateX(-60%); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(60%); opacity: 0; } }
.opt__img img, .opt__img .ph { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); filter: saturate(.96); transition: transform 1.8s cubic-bezier(.19, 1, .22, 1), filter 1.2s var(--ease-out); }
.opt--photo:hover .opt__img img { transform: scale(1.035); filter: saturate(1.06) brightness(1.02); }
.opt input:checked + .opt__card .opt__img::after, .opt.is-selected .opt__img::after { opacity: 1; }
.opt__label { display: grid; align-content: start; gap: 3px; padding: 14px 16px 16px; min-height: 5rem; }
.opt__label b { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; transition: color .4s var(--ease-out); }
.opt__label small { font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; }
.opt input:checked + .opt__card .opt__label b, .opt.is-selected .opt__label b { color: var(--blue-700); }

.opt--tile .opt__card { grid-template-columns: 1fr; align-content: start; gap: 16px; padding: 18px; min-height: 150px; }
.opt__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); transition: background-color var(--t), color var(--t), transform var(--t) var(--ease-spring); }
.opt__ico svg { width: 22px; height: 22px; }
.opt--tile:hover .opt__ico { transform: scale(1.04); transition-duration: .6s; }
.opt input:checked + .opt__card .opt__ico, .opt.is-selected .opt__ico { background: var(--blue); color: #fff; }
.opt__txt { display: grid; gap: 4px; padding-right: 22px; }
.opt__txt b { font-weight: 700; line-height: 1.25; }
.opt__txt small { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.opt--compact .opt__card { min-height: 0; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 14px 46px 14px 14px; }
.opt--compact .opt__mark { top: 50%; transform: translateY(-50%); }
.opt--compact input:checked + .opt__card .opt__mark, .opt--compact.is-selected .opt__mark { transform: translateY(-50%) scale(1.08); }
.opt--compact .opt__txt { padding-right: 0; }
.opt--compact .opt__ico { width: 40px; height: 40px; border-radius: 12px; }
.opt--compact .opt__ico svg { width: 20px; height: 20px; }

/* Сегменты */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__i { position: relative; }
.seg__i input { position: absolute; opacity: 0; pointer-events: none; }
.seg__i span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 52px; min-height: 48px; padding: 0 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair-2); font-weight: 600; font-size: .94rem; color: var(--ink-2); cursor: pointer; transition: all var(--t-fast); font-variant-numeric: tabular-nums; }
.seg__i span svg { width: 18px; height: 18px; }
.seg__i span:hover, .seg__i.is-hover span { box-shadow: inset 0 0 0 1px var(--blue-100), var(--sh-1); color: var(--blue-700); transform: translateY(-1px); }
.seg__i input:checked + span, .seg__i.is-selected span { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(31, 107, 255, .9); transform: none; }
.seg__i input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.fieldset.is-error .seg__i span { box-shadow: inset 0 0 0 1px var(--err-100); }

/* Площадь */
.area { display: grid; gap: 18px; padding: clamp(18px, 1.6vw, 26px); border-radius: var(--r-lg); background: linear-gradient(180deg, #F7FAFE, #F1F6FD); box-shadow: inset 0 0 0 1px var(--hair); transition: background-color var(--t), box-shadow var(--t); }
.area.is-error { box-shadow: inset 0 0 0 1px var(--err-100); background: var(--err-50); }
.area__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.area__top label { font-weight: 700; font-size: var(--fs-sm); }
.area__top label small { display: block; font-weight: 400; color: var(--muted); }
.area__num { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair-2); transition: box-shadow var(--t-fast); }
.area__num:focus-within { box-shadow: inset 0 0 0 1.5px var(--blue), var(--ring); }
.area.is-error .area__num { box-shadow: inset 0 0 0 1.5px var(--err); }
.area__num input { width: 5ch; border: 0; background: transparent; outline: none; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.area__num input::-webkit-outer-spin-button, .area__num input::-webkit-inner-spin-button { -webkit-appearance: none; }
.area__num span { color: var(--muted); font-weight: 700; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) 0 var(--p, 10%), #D7E2F0 var(--p, 10%) 100%); outline-offset: 10px; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 6px var(--blue), 0 6px 16px -4px rgba(31, 107, 255, .7); cursor: grab; transition: transform var(--t-fast); }
.range:active::-webkit-slider-thumb { transform: scale(1.14); cursor: grabbing; }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--blue); cursor: grab; }
.range__scale { display: flex; justify-content: space-between; font-size: var(--fs-2xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-2xs); color: var(--muted); }
.presets button { padding: 6px 12px; border-radius: var(--pill); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--hair); transition: all var(--t-fast); font-variant-numeric: tabular-nums; }
.presets button:hover { color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue-100); }
.param-grid { display: grid; gap: 24px; }

.qerr { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--err); animation: bubbleIn var(--t) var(--ease-out); }
.qerr[hidden] { display: none; }
.qerr svg { width: 16px; height: 16px; flex: none; }

/* Контактный шаг */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .85fr); gap: clamp(18px, 2vw, 32px); align-items: start; }
.contact__form { display: grid; gap: 18px; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field--full { grid-column: 1 / -1; }
.fl { position: relative; display: grid; gap: 6px; }
.fl__box { position: relative; }
.fl__ico { position: absolute; left: 16px; top: 21px; width: 18px; height: 18px; color: var(--faint); pointer-events: none; transition: color var(--t-fast); }
.fl input, .fl textarea { width: 100%; min-height: 62px; padding: 27px 44px 9px 46px; border: 0; border-radius: 16px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--hair); font-size: 1rem; outline: none; transition: box-shadow var(--t-fast), background-color var(--t-fast); }
.fl textarea { min-height: 96px; resize: vertical; padding-top: 30px; }
.fl label { position: absolute; left: 46px; top: 20px; font-size: .96rem; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform var(--t) var(--ease-out), color var(--t-fast); white-space: nowrap; }
.fl label small { color: var(--faint); }
.fl input:hover, .fl textarea:hover { box-shadow: inset 0 0 0 1px var(--hair-2); }
.fl input:focus, .fl textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), var(--ring); }
.fl input:focus ~ .fl__ico, .fl textarea:focus ~ .fl__ico { color: var(--blue); }
.fl input:focus ~ label, .fl input:not(:placeholder-shown) ~ label, .fl textarea:focus ~ label, .fl textarea:not(:placeholder-shown) ~ label { transform: translateY(-11px) scale(.78); color: var(--blue-700); }
.fl input::placeholder, .fl textarea::placeholder { color: transparent; transition: color var(--t-fast); }
.fl input:focus::placeholder, .fl textarea:focus::placeholder { color: var(--faint); }
.fl.is-error input { background: var(--err-50); box-shadow: inset 0 0 0 1.5px var(--err); }
.fl.is-error label, .fl.is-error .fl__ico { color: var(--err); }
.fl__ok { position: absolute; right: 16px; top: 21px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; opacity: 0; transform: scale(.4); transition: all var(--t) var(--ease-spring); }
.fl__ok svg { width: 11px; height: 11px; }
.fl.is-ok .fl__ok { opacity: 1; transform: scale(1); }
.check { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-xs); color: var(--muted); cursor: pointer; line-height: 1.45; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 22px; height: 22px; flex: none; border-radius: 7px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--hair-2); color: transparent; transition: all var(--t-fast); }
.check__box svg { width: 13px; height: 13px; transform: scale(.3); transition: transform var(--t) var(--ease-spring); }
.check:hover .check__box { box-shadow: inset 0 0 0 1.5px var(--blue); }
.check input:checked + .check__box { background: var(--blue); color: #fff; box-shadow: none; }
.check input:checked + .check__box svg { transform: scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.check a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }
.check.is-error { color: var(--err); }
.check.is-error .check__box { box-shadow: inset 0 0 0 1.5px var(--err); background: var(--err-50); }

.ticket { position: relative; display: grid; gap: 4px; min-width: 0; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(180deg, #F6F9FE, #EDF3FC); box-shadow: inset 0 0 0 1px var(--hair); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 58px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.ticket::before { left: -10px; box-shadow: inset -1px 0 0 var(--hair); }
.ticket::after { right: -10px; box-shadow: inset 1px 0 0 var(--hair); }
.ticket__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 10px; border-bottom: 1px dashed var(--line); }
.ticket__head b { font-size: var(--fs-sm); }
.ticket dl { margin: 0; display: grid; gap: 12px; }
.ticket dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; }
.ticket dt { font-size: var(--fs-2xs); color: var(--muted); }
.ticket dd { grid-column: 1; min-width: 0; margin: 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ticket__edit { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: var(--fs-2xs); font-weight: 700; color: var(--blue-700); padding: 4px 8px; border-radius: 8px; transition: background-color var(--t-fast); }
.ticket__edit:hover { background: #fff; }
.ticket__note svg { width: 16px; height: 16px; flex: none; color: var(--blue); margin-top: 1px; }
.ticket__note { display: flex; gap: 8px; min-width: 0; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: var(--fs-2xs); color: var(--muted); line-height: 1.45; }
.ticket__note span { min-width: 0; overflow-wrap: anywhere; }

.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--err-50); color: #8E1F28; font-size: var(--fs-sm); box-shadow: inset 0 0 0 1px var(--err-100); animation: bubbleIn var(--t) var(--ease-out); }
.form-alert[hidden] { display: none; }
.form-alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-alert a { color: inherit; font-weight: 700; }

/* Навигация квиза */
.qnav { display: flex; align-items: center; gap: 14px 16px; padding-top: clamp(18px, 1.6vw, 24px); border-top: 1px solid var(--hair); }
.qnav[hidden] { display: none; }
.qnav__back { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 20px 0 16px; border-radius: var(--pill); font-weight: 700; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair-2); background: #fff; transition: all var(--t) var(--ease-out); }
.qnav__back:hover { color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue-100), var(--sh-2); }
.qnav__back:hover svg { transform: translateX(-3px); }
.qnav__back svg { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.qnav__back[hidden] { display: none; }
.qnav__msg { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.qnav__msg svg { width: 22px; height: 22px; flex: none; color: var(--blue); }
.qnav__msg b { color: var(--ink-2); }
.qnav__msg.is-error { color: var(--err); animation: bubbleIn var(--t) var(--ease-out); }
.qnav__msg.is-error svg, .qnav__msg.is-error b { color: var(--err); }
.qnav .btn { margin-left: auto; }

/* Keep the existing quiz actions in view while a long step scrolls inside its form. */
.qz-main > .qnav { flex: none; }

/* Shared with the approved interior templates, which load this stylesheet too. */
.kk-back-top { position: fixed; z-index: 20; left: max(16px, env(safe-area-inset-left)); bottom: calc(var(--kk-cookie-inset, 0px) + 16px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--blue-700); background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--blue-100); }
.kk-back-top[hidden] { display: none; }
.kk-back-top:hover { color: #fff; background: var(--blue-700); }
.kk-back-top svg { width: 22px; height: 22px; }
.kk-back-top:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Результат */
.result { display: grid; gap: 22px; align-content: start; }
.result__head { display: flex; gap: 18px; align-items: center; }
.result__ico { width: 68px; height: 68px; flex: none; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(180deg, #3B82FF, var(--blue-600)); color: #fff; box-shadow: var(--sh-blue); }
.result__ico svg { width: 32px; height: 32px; }
.result__ico path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s var(--ease-out) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.result h3 { margin: 6px 0 0; font-size: clamp(1.35rem, 1rem + 1vw, 1.95rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; outline: none; }
.result p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.recap { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0; }
.recap div { padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--hair); }
.recap dt { font-size: var(--fs-2xs); color: var(--muted); }
.recap dd { margin: 3px 0 0; font-weight: 700; font-size: var(--fs-sm); }

/* Диалог */
.dlg { width: min(460px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-2xl); box-shadow: var(--sh-3); background: var(--surface); color: var(--ink); }
.dlg[open] { animation: pop var(--t-slow) var(--ease-out); }
.dlg::backdrop { background: rgba(14, 26, 43, .4); backdrop-filter: blur(6px); }
.dlg__in { position: relative; display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); }
.dlg__x { position: absolute; right: 14px; top: 14px; }
.dlg h2 { margin: 0; font-size: 1.55rem; font-weight: 800; letter-spacing: -.025em; padding-right: 40px; }
.dlg p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* Появление */
.fade { opacity: 0; }
.is-ready .fade { animation: fadeIn 1.1s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 80ms + 300ms); }
@keyframes fadeIn { to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(18px); }
.is-ready .reveal { animation: rise .9s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 80ms + 80ms); }
.hero h1 .line > span { transform: translateY(108%); }
.is-ready .hero h1 .line > span { animation: lineUp 1s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 90ms + 100ms); }
@keyframes lineUp { to { transform: none; } }
/* Hero copy is part of the first paint and must remain visible without app.js. */
.hero .reveal { opacity: 1; transform: none; }
.hero h1 .line > span { transform: none; }
.is-ready .hero .reveal, .is-ready .hero h1 .line > span { animation: none; }
.on-view { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.on-view.is-in { opacity: 1; transform: none; }

/* =========================================================
   Адаптив
   ========================================================= */
.hdr__nav .hmsg--nav { display: none; }
@media (max-width: 1499px) { .hdr__top .hmsg__label { display: none; } }
@media (max-width: 1379px) {
  .opts--tile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1380px) and (max-width: 1599px) {
  .hdr__nav .search { position: static; flex: none; min-width: 0; width: 118px; }
  .hdr__nav .search__field { width: 118px; padding: 0; cursor: pointer; }
  .hdr__nav .search__input::placeholder { color: var(--ink-2) !important; font-weight: 600; }
  .hdr__nav .search__field:focus-within .search__input::placeholder { font-weight: 400; }
  .hdr__nav .search__field > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; }
  .hdr__nav .search__input { padding-left: 42px; cursor: pointer; }
  .hdr__nav .kbd { display: none; }
  .hdr__nav .search__field:focus-within, .hdr__nav .search.has-value .search__field { position: absolute; z-index: 3; top: 6px; bottom: 6px; right: 6px; height: auto; width: min(620px, calc(100% - 12px)); padding-right: 8px; cursor: text; }
  .hdr__nav .search__field:focus-within .search__input::placeholder { color: var(--faint) !important; }
  .hdr__nav .search__panel { right: 6px; }
}
@media (min-width: 1380px) {
  .hdr.is-compact .hmsg--nav { display: none !important; }
  .hdr.is-compact .search { position: static; flex: none; min-width: 0; width: 118px; }
  .hdr.is-compact .search__field { width: 118px; padding: 0; cursor: pointer; }
  .hdr.is-compact .search__field > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; }
  .hdr.is-compact .search__input { padding-left: 42px; cursor: pointer; }
  .hdr.is-compact .search__input::placeholder { color: var(--ink-2); font-weight: 600; }
  .hdr.is-compact .kbd { display: none; }
  .hdr.is-compact .search__field:focus-within, .hdr.is-compact .search.has-value .search__field { position: absolute; z-index: 3; top: 6px; bottom: 6px; right: 6px; height: auto; width: min(620px, calc(100% - 12px)); padding-right: 8px; cursor: text; }
  .hdr.is-compact .search__field:focus-within .search__input::placeholder { color: var(--faint); font-weight: 400; }
  .hdr.is-compact .search__panel { right: 6px; }
}
@media (min-width: 1380px) and (max-width: 1599px) {
  .hdr.is-compact .hdr__mini-phone { display: none; }
  .hdr.is-compact .hdr__mini-end .btn--soft { width: 46px; padding: 0; }
  .hdr.is-compact .hdr__mini-end .btn--soft .lbl { display: none; }
}

@media (max-width: 1279px) {
  .nav__link, .nav__toggle-only { font-size: .88rem; padding-left: 12px; }
  .hc--addr .hc__ico { display: none; }
  .opts--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
}

/* Keep the desktop CTA in place while the Cyrillic and Latin font subsets swap. */
@media (min-width: 1100px) {
  .hero__lead { min-height: 7.565rem; }
}

/* Keep the compact header until the full menu and top contacts fit together. */
@media (max-width: 1379px) {
  :root { --shell-h: 76px; }
  .hdr__top, .hdr__nav { display: none; }
  .hdr { padding: 12px 0; }
  .hdr__mobile { display: flex; align-items: center; gap: 8px; }
  .hdr__mobile .logo { margin-right: auto; }
  .hdr__mobile .logo__mark { width: 42px; height: 42px; }
  .hdr__mobile .hphone { margin-right: 8px; }
  .hdr.is-compact { padding: 8px 0; }
  .hdr.is-compact .hdr__mobile .logo__tag { display: none; }
}

@media (max-width: 1099px) {
  :root { --container: calc(100vw - 48px); --shell-h: 66px; }

  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding-bottom: 0; }
  .hero__visual { height: clamp(320px, 62vw, 560px); margin-inline: -24px; margin-top: 4px; }
  .hero__photo { inset: 0; -webkit-mask-composite: source-over; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%); mask-composite: add; }
  .glass--a { top: 18%; right: 24px; }
  .glass--b { bottom: 16%; left: 24px; }
  .hero__credit { right: 24px; }
  .dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -12px; }

  .qz { grid-template-columns: 1fr; }
  .qz-side { grid-template-columns: 180px 1fr; grid-template-rows: auto; align-items: center; gap: 14px 24px; border-right: 0; border-bottom: 1px solid var(--hair); }
  .qz-side .agent { display: contents; }
  .agent__art { grid-row: span 2; aspect-ratio: 1; }
  .agent__head { align-self: end; }
  .bubble { align-self: start; }
  .qsteps, .qz-side__foot { display: none; }
}

/* The phone and logo make the natural header 72.5px at tablet widths. */
@media (min-width: 720px) and (max-width: 1099px) {
  :root { --shell-h: 73px; }
}

@media (max-width: 719px) {
  :root { --container: calc(100vw - 32px); }
  html { scroll-padding-top: 76px; }
  .hdr__mobile .hphone { display: none; }
  .logo__name { font-size: 1.06rem; }
  .logo__tag { font-size: .64rem; }
  .hero__visual { margin-inline: -16px; }
  .hero__ctas { display: grid; gap: 16px; }
  .hero__ctas .btn { width: 100%; }
  .trust { gap: 10px; flex-direction: column; }
  .glass { padding: 7px 14px 7px 7px; }
  .glass__ico { width: 34px; height: 34px; }
  .glass b { font-size: .84rem; }
  .glass--a { right: 16px; }
  .glass--b { left: 16px; }
  .hero__credit { right: 16px; }
  .dirs { grid-template-columns: 1fr; gap: 10px; }
  .dir { min-height: 128px; }
  .dir__img { width: 36%; right: -4%; bottom: -26%; }
  .dir__body { padding-bottom: 44px; }

  .qz { border-radius: 26px; }
  .qz-side { grid-template-columns: 84px 1fr; gap: 12px 14px; padding: 16px; }
  .agent__art { grid-row: span 1; border-radius: 22px; }
  .agent__tag, .agent__ill { display: none; }
  .agent__head { align-self: center; }
  .agent__role { font-size: 1rem; }
  .bubble { grid-column: 1 / -1; padding: 12px 14px; font-size: var(--fs-xs); }
  .bubble::before { left: 28px; }
  .qz-main { padding: 20px 16px 0; gap: 20px; max-height: calc(100dvh - var(--shell-h) - var(--kk-cookie-inset, 0px) - 24px); }
  .step__q { font-size: 1.4rem; }
  .opts--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .opt__label { padding: 10px 12px 12px; min-height: 3.6rem; }
  .opt__label b { font-size: .92rem; }
  .opt__label small { display: none; }
  .opt__mark { right: 8px; top: 8px; width: 24px; height: 24px; }
  .opts--tile { grid-template-columns: 1fr; gap: 10px; }
  .opt--tile .opt__card { grid-template-columns: auto 1fr; align-items: center; min-height: 0; padding: 14px 46px 14px 14px; gap: 14px; }
  .opt--tile .opt__mark { top: 50%; transform: translateY(-50%); }
  .opt--tile input:checked + .opt__card .opt__mark { transform: translateY(-50%) scale(1.08); }
  .opt--tile .opt__txt { padding-right: 0; }
  .opt__ico { width: 40px; height: 40px; border-radius: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .area__num input { font-size: 1.6rem; }
  .range__scale > span:not(.presets) { display: none; }
  .range__scale { justify-content: flex-start; }
  .seg__i span { min-height: 46px; padding: 0 14px; }
  .qnav { position: sticky; bottom: 0; z-index: 5; margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); }
  .qnav__msg { display: none; }
  .qnav { flex-wrap: wrap; }
  .qnav__msg.is-error { display: flex; position: static; order: -1; flex: 0 0 100%; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: var(--sh-2); }
  .qnav .btn { flex: 1; }
  .qnav__back { padding: 0 16px; }
  .qnav__back span { display: none; }
  .ticket::before, .ticket::after { display: none; }
}

@media (min-width: 2200px) {
  :root { --fs-md: 1.1rem; }
  .logo__mark { width: 60px; height: 60px; }
  .logo__name { font-size: 1.55rem; }
  .hphone__num { font-size: 1.55rem; }
  .nav__link, .nav__toggle-only { font-size: 1.06rem; }
  .btn { --h: 62px; font-size: 1.06rem; }
  .btn--lg { --h: 74px; font-size: 1.15rem; }
  .search { flex-basis: 420px; }
  .search__field { height: 52px; }
}
@media (min-width: 3200px) {
  html { font-size: 22px; }
  .hdr { padding-top: 26px; }
  .logo__mark { width: 80px; height: 80px; }
  .logo__name { font-size: 2rem; }
  .hc__ico, .msg-btn { width: 54px; height: 54px; }
  .hc__ico svg, .msg-btn svg { width: 24px; height: 24px; }
  .hphone__num { font-size: 2rem; }
  .nav__item, .nav__ink { height: 62px; }
  .nav__caret { width: 40px; height: 40px; }
  .search { flex-basis: 600px; }
  .search__field { height: 62px; }
  .btn { --h: 80px; padding: 0 40px; }
  .btn--soft { --h: 62px; }
  .btn--lg { --h: 92px; }
  .btn svg { width: 26px; height: 26px; }
  .glass { padding: 14px 26px 14px 14px; }
  .glass__ico { width: 56px; height: 56px; }
  .call-link__ico { width: 64px; height: 64px; }
  .qprog__seg { height: 9px; }
  .opt__mark { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .fade, .on-view, .mega__group { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span { transform: none !important; }
  .float { transform: none !important; }
}

/* Price block from design/design.css; selectors scoped to #prices. */
/* =========================================================
   «Цены» — новый блок сразу после квиза (#quiz), перед «Что входит» (#zones).
   Токены, кнопки, .sec-head, .eyebrow, .call-link, .on-view и @keyframes pop —
   из main.css. Здесь только раскладка прайса и его элементы (префикс .pr-).
   Ставки совпадают с калькулятором: assets/js/calculator.js → RATES, WINDOW_SASH, EXTRAS.
   ========================================================= */

/* Фон без шва: у квиза сверху и у «Что входит» снизу тот же --bg.
   Верхний отступ даёт нижний padding квиза; у .zones-sec padding-top: 0 — поэтому свой нижний */
#prices {
  --pr-gap: clamp(14px, 1.3vw, 24px);
  padding: 0 0 clamp(72px, 8vw, 140px);
  background:
    radial-gradient(40% 34% at 94% 28%, rgba(31, 107, 255, .06) 0%, rgba(31, 107, 255, 0) 70%),
    radial-gradient(30% 30% at 4% 74%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%),
    var(--bg);
}

/* Легенда: как читать цену — три разных вида записи */
#prices .pr-legend { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
#prices .pr-legend li { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: var(--pill); background: rgba(255, 255, 255, .78); box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair); font-size: var(--fs-xs); line-height: 1.3; color: var(--muted); text-align: left; }
#prices .pr-legend__key { flex: none; padding: 5px 11px; border-radius: var(--pill); background: var(--blue-50); color: var(--blue-700); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* =========================================================
   Раскладка: матрица по площади + колонка (окна, пример расчёта),
   ниже — химчистка и допуслуги парой, внизу — общая оговорка
   ========================================================= */
#prices .price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 30%); align-items: stretch; gap: var(--pr-gap); }
#prices .pr-aside { display: grid; grid-template-rows: auto 1fr; gap: var(--pr-gap); min-width: 0; }
#prices .pr-pair { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pr-gap); }
#prices .pr-foot { grid-column: 1 / -1; }

/* Карточка — та же поверхность, что у квиза и калькулятора */
#prices .pr-card { position: relative; min-width: 0; padding: clamp(20px, 2vw, 36px); border-radius: var(--r-2xl); background: #fff; box-shadow: 0 2px 6px rgba(14, 26, 43, .04), 0 40px 80px -48px rgba(14, 26, 43, .38), inset 0 0 0 1px var(--hair); }
#prices .pr-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: clamp(16px, 1.5vw, 26px); }
#prices .pr-card__ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-100); color: var(--blue-700); }
#prices .pr-card__ico svg { width: 22px; height: 22px; }
#prices .pr-card__hgroup { flex: 1 1 14rem; display: grid; gap: 2px; min-width: 0; }
#prices .pr-card__title { margin: 0; font-size: clamp(1.15rem, 1rem + .4vw, 1.45rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
#prices .pr-card__sub { margin: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
#prices .pr-card__end { flex: none; margin-left: auto; }

/* Метка «есть в калькуляторе» — общая для строк матрицы и шапок карточек */
#prices .pr-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 6px; border-radius: var(--pill); background: var(--blue-50); color: var(--blue-700); font-size: var(--fs-2xs); font-weight: 700; line-height: 1.4; white-space: nowrap; }
#prices .pr-tag svg { width: 12px; height: 12px; flex: none; }

#prices .pr-link { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 700; color: var(--blue-700); }
#prices .pr-link svg { width: 16px; height: 16px; flex: none; transition: transform var(--t) var(--ease-out); }
#prices .pr-link:hover { color: var(--blue); }
#prices .pr-link:hover svg { transform: translateX(3px); }
#prices .pr-link--down:hover svg { transform: translateY(3px); }

#prices .pr-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; max-width: 64ch; font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }
#prices .pr-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--blue); }

/* =========================================================
   Матрица «Уборка по площади»: строки — виды уборки,
   колонки — жильё / бизнес. Сравнение — по горизонтали
   ========================================================= */
#prices .pr-matrix { container: pr-matrix / inline-size; }
#prices .pr-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#prices .pr-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
#prices .pr-col-service { width: 39.4%; }
#prices .pr-col-residential, #prices .pr-col-business { width: 30.3%; }
#prices .pr-cols { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
#prices .pr-cols th { padding: 0 5px 12px; border-bottom: 1px solid var(--hair); text-align: left; font-weight: 700; }
#prices .pr-cols th:first-child { padding-left: 0; }
#prices .pr-col { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink-2); letter-spacing: .06em; line-height: 1.3; }
#prices .pr-col__pics { display: flex; flex: none; }
#prices .pr-col__pics img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 6px 12px -8px rgba(14, 26, 43, .6); }
#prices .pr-col__pics img + img { margin-left: -10px; }

#prices .pr-row > th, #prices .pr-row > td { padding: clamp(14px, 1.2vw, 20px) 5px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
#prices .pr-row > th:first-child { padding-left: 0; }
#prices .pr-row > td:last-child { padding-right: 0; }
#prices .pr-rows:not(.pr-rows--special) .pr-row:first-child > * { padding-bottom: 0; border-bottom: 0; }
#prices .pr-rows--special .pr-row:last-child > * { border-bottom: 0; padding-bottom: 0; }
#prices .pr-group th { padding: clamp(20px, 1.8vw, 28px) 0 2px; text-align: left; font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); }
#prices .pr-price-cell { min-width: 0; }

#prices .pr-svc { min-width: 0; text-align: left; font-weight: 400; }
#prices .pr-svc .pr-svc__ico { float: left; }
#prices .pr-svc__ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--hair); color: var(--blue-600); }
#prices .pr-svc__ico svg { width: 20px; height: 20px; }
#prices .pr-svc__txt { display: grid; justify-items: start; gap: 3px; min-width: 0; margin-left: 56px; }
#prices .pr-svc__name { margin: 0; font-size: clamp(1rem, .94rem + .2vw, 1.12rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
#prices .pr-svc__desc { margin: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
#prices .pr-svc__desc a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue-100); text-underline-offset: 3px; }
#prices .pr-svc__desc a:hover { text-decoration-color: currentColor; }
#prices .pr-svc .pr-tag { margin-top: 4px; }

/* Ячейка ставки. Жилая колонка — нейтральная, деловая — с голубым оттенком */
#prices .pr-cell { position: relative; display: grid; align-content: center; gap: 2px; min-width: 0; min-height: 64px; padding: 12px 42px 12px 16px; border-radius: var(--r-md); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--hair); transition: background-color var(--t-fast), box-shadow var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
#prices .pr-cell--biz { background: #F2F7FF; box-shadow: inset 0 0 0 1px var(--blue-100); }
#prices a.pr-cell:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--blue-100), var(--sh-2); }
#prices a.pr-cell:focus-visible { outline-offset: 2px; border-radius: var(--r-md); }
#prices .pr-cell__go { position: absolute; right: 12px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; display: grid; place-items: center; color: var(--faint); transition: color var(--t-fast), background-color var(--t-fast), transform var(--t) var(--ease-out); }
#prices .pr-cell__go svg { width: 14px; height: 14px; }
#prices a.pr-cell:hover .pr-cell__go, #prices a.pr-cell:focus-visible .pr-cell__go { color: #fff; background: var(--blue); transform: translateX(2px); }
/* Подпись колонки: на широкой матрице её заменяет общая шапка — видна только скринридеру */
#prices .pr-cell__lbl { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#prices .pr-cell--na { background: none; box-shadow: none; border: 1px dashed var(--line); padding-right: 16px; }
#prices .pr-na { font-size: 1.3rem; font-weight: 700; line-height: 1; color: var(--faint); }

#prices .pr-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .28em; font-size: clamp(1.3rem, 1rem + .8vw, 1.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
#prices .pr-rate > * { white-space: nowrap; }
#prices .pr-rate small { font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
#prices .pr-rate__u { font-size: .5em; font-weight: 700; letter-spacing: 0; color: var(--blue-700); }

/* Раскрываемый состав — нативный <details>, работает без JS и с клавиатуры */
#prices .pr-details-row td { padding: 0 0 16px; border-bottom: 1px solid var(--line-soft); }
#prices .pr-more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-left: 56px; padding: 0 14px 0 12px; border-radius: var(--pill); background: var(--blue-50); color: var(--blue-700); font-size: var(--fs-xs); font-weight: 700; cursor: pointer; list-style: none; transition: background-color var(--t-fast); }
#prices .pr-more summary::-webkit-details-marker { display: none; }
#prices .pr-more summary:hover { background: var(--blue-100); }
#prices .pr-more summary svg { width: 14px; height: 14px; flex: none; transition: transform var(--t) var(--ease-out); }
#prices .pr-more[open] summary svg { transform: rotate(180deg); }
#prices .pr-more__body { margin: 12px 0 0 56px; padding: 16px 18px; border-radius: var(--r-md); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--hair); }
#prices .pr-more[open] .pr-more__body { animation: pop var(--t) var(--ease-out); }
#prices .pr-checks { list-style: none; margin: 0; padding: 0; columns: 2 220px; column-gap: 28px; }
#prices .pr-checks li { display: flex; gap: 10px; padding: 5px 0; break-inside: avoid; font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-2); }
#prices .pr-checks svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--blue); }
#prices .pr-more__note { margin: 10px 0 0; font-size: var(--fs-2xs); color: var(--muted); }

#prices .pr-matrix__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: clamp(16px, 1.4vw, 22px); padding-top: clamp(14px, 1.2vw, 18px); border-top: 1px solid var(--hair); }

/* На узкой матрице строки становятся карточками; исходные table, th и td
   остаются в HTML, а заголовки столбцов повторяются визуально в ячейках. */
@container pr-matrix (max-width: 599px) {
  #prices .pr-table, #prices .pr-rows { display: block; }
  #prices .pr-cols { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  #prices .pr-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  #prices .pr-rows:not(.pr-rows--special) .pr-row:first-child { padding-bottom: 10px; border-bottom: 0; }
  #prices .pr-row > th, #prices .pr-row > td { display: block; padding: 0; border: 0; }
  #prices .pr-row > th.pr-svc { grid-column: 1 / -1; }
  #prices .pr-rows--special .pr-row:last-child > * { padding-bottom: 0; }
  #prices .pr-group { display: block; }
  #prices .pr-group th { display: block; padding: 20px 0 2px; }
  #prices .pr-details-row { display: block; }
  #prices .pr-details-row td { display: block; padding: 0 0 16px; }
  #prices .pr-cell { min-height: 0; padding: 10px 36px 10px 12px; }
  #prices .pr-cell__go { right: 8px; }
  #prices .pr-cell__lbl { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; font-size: var(--fs-2xs); font-weight: 600; line-height: 1.3; color: var(--muted); }
  #prices .pr-cell--na { min-height: 100%; padding-right: 12px; }
  #prices .pr-cell--na .pr-cell__lbl:last-child { font-size: var(--fs-2xs); }
  #prices .pr-rate { font-size: 1.3rem; }
  #prices .pr-more summary, #prices .pr-more__body { margin-left: 0; }
  #prices .pr-more__body { padding: 14px; }
}
@container pr-matrix (max-width: 399px) {
  #prices .pr-row { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   Мойка окон — синяя карточка-показатель, как синие карточки
   основного референса; круглое фото — как в карточках направлений hero
   ========================================================= */
#prices .pr-win { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 12px 16px; padding: clamp(22px, 2vw, 34px); border-radius: var(--r-2xl); color: #fff; background: linear-gradient(155deg, #3A80FF 0%, var(--blue-600) 50%, var(--blue-700) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 60px -34px rgba(10, 42, 102, .9); }
#prices .pr-win::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 1px, transparent 1.6px); background-size: 18px 18px; opacity: .18; -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 52%); mask-image: linear-gradient(200deg, #000 0%, transparent 52%); pointer-events: none; }
#prices .pr-win a:focus-visible { outline-color: #fff; }
#prices .pr-win__head { display: grid; align-content: start; gap: 4px; min-width: 0; }
#prices .pr-win__kicker { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
#prices .pr-win__title { margin: 0; font-size: clamp(1.25rem, 1.05rem + .5vw, 1.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
#prices .pr-win__img { grid-row: span 2; width: clamp(84px, 7vw, 132px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid rgba(255, 255, 255, .2); box-shadow: 0 22px 44px -20px rgba(2, 18, 47, .7); }
#prices .pr-win__img img { width: 100%; height: 100%; object-fit: cover; object-position: 9% 30%; }
#prices .pr-win__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .3em; margin: 0; font-size: clamp(2.6rem, 2rem + 1.6vw, 4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
#prices .pr-win__price span { font-size: .3em; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .9); }
#prices .pr-win__txt, #prices .pr-win__link { grid-column: 1 / -1; }
#prices .pr-win__txt { margin: 0; max-width: 34ch; font-size: var(--fs-xs); line-height: 1.5; color: rgba(255, 255, 255, .9); }
#prices .pr-win__link { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 2px; padding: 10px 12px 10px 16px; border-radius: var(--pill); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .26); font-size: var(--fs-sm); font-weight: 700; backdrop-filter: blur(8px); transition: background-color var(--t-fast), color var(--t-fast); }
#prices .pr-win__link svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease-out); }
#prices .pr-win__link:hover { background: #fff; color: var(--blue-700); }
#prices .pr-win__link:hover svg { transform: translateX(3px); }

/* =========================================================
   Пример расчёта — те же строки «× ставка», что в итоге калькулятора
   ========================================================= */
#prices .pr-ex { display: grid; align-content: start; gap: clamp(14px, 1.2vw, 20px); }
#prices .pr-ex .pr-card__head { margin-bottom: 0; }
#prices .pr-ex__rows { display: grid; margin: 0; }
#prices .pr-ex__rows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
#prices .pr-ex__rows dt { font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; color: var(--ink-2); }
#prices .pr-ex__rows dt small { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
#prices .pr-ex__rows dd { margin: 0; font-size: var(--fs-sm); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
#prices .pr-ex__rows .pr-ex__total { padding-top: 14px; border-bottom: 0; }
#prices .pr-ex__total dt { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); }
#prices .pr-ex__total dd { font-size: clamp(1.5rem, 1.2rem + .8vw, 2.1rem); letter-spacing: -.035em; color: var(--ink); }
#prices .pr-ex__total dd small { font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
#prices .pr-ex__cta { width: 100%; padding-inline: 20px; white-space: normal; text-align: center; line-height: 1.25; }
#prices .pr-ex .call-link { justify-self: center; }

/* =========================================================
   Списки с ценой за единицу: химчистка и доплаты к уборке
   ========================================================= */
#prices .pr-list { container: pr-list / inline-size; }
#prices .pr-items { width: 100%; border-collapse: collapse; table-layout: fixed; }
#prices .pr-list-service { width: 70%; }
#prices .pr-list-value { width: 30%; }
#prices .pr-list-table thead th { height: 0; padding: 0; border: 0; }
#prices .pr-item__service, #prices .pr-item__value { padding: 12px 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
#prices .pr-item__service { width: 70%; text-align: left; font-weight: 400; }
#prices .pr-item__value { width: 30%; text-align: right; }
#prices .pr-item:first-child > * { padding-top: 0; }
#prices .pr-item:last-child > * { padding-bottom: 0; border-bottom: 0; }
#prices .pr-item__service-layout { display: grid; grid-template-columns: auto minmax(0, max-content) minmax(16px, 1fr); align-items: center; gap: 14px; min-width: 0; }
#prices .pr-item__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
#prices .pr-item__ico svg { width: 20px; height: 20px; }
#prices .pr-item__name { font-size: .97rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
#prices a.pr-item__name { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t) var(--ease-out), color var(--t-fast); }
#prices a.pr-item__name:hover { color: var(--blue-700); background-size: 100% 1px; }
#prices .pr-item__dots { align-self: center; height: 4px; background: radial-gradient(circle, var(--line) 1.2px, transparent 1.6px) 0 50% / 8px 4px repeat-x; }
#prices .pr-item__price { display: grid; justify-items: end; gap: 1px; text-align: right; }
#prices .pr-item__price b { font-size: 1.14rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; font-variant-numeric: tabular-nums; }
#prices .pr-item__price b small { font-size: .7em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
#prices .pr-item__u { font-size: var(--fs-2xs); color: var(--muted); white-space: nowrap; }
@container pr-list (max-width: 379px) {
  #prices .pr-list-service { width: 60%; }
  #prices .pr-list-value { width: 40%; }
  #prices .pr-item__service { width: 60%; }
  #prices .pr-item__value { width: 40%; }
  #prices .pr-item__service-layout { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  #prices .pr-item__dots { display: none; }
  #prices .pr-item__ico { width: 36px; height: 36px; }
  #prices .pr-item__price b { font-size: 1rem; }
  #prices .pr-item__price b small { display: block; }
}

/* Общая оговорка и ссылка на полный прайс-лист */
#prices .pr-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: clamp(16px, 1.4vw, 22px) clamp(18px, 1.8vw, 30px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--hair); }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1399px) {
  #prices .price { grid-template-columns: minmax(0, 1fr) minmax(300px, 33%); }
}
@media (max-width: 1099px) {
  #prices .price { grid-template-columns: minmax(0, 1fr); }
  #prices .pr-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
}
@media (max-width: 899px) {
  #prices .pr-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  #prices .pr-aside { grid-template-columns: minmax(0, 1fr); }
  #prices .pr-card, #prices .pr-win { border-radius: 26px; }
  #prices .pr-card { padding: 20px 16px; }
  #prices .pr-win { padding: 22px 18px; }
  #prices .pr-legend { gap: 6px; }
  #prices .pr-legend li { font-size: .74rem; }
  #prices .pr-foot { border-radius: 22px; padding: 16px; }
}

@media (min-width: 2200px) {
  #prices .price { grid-template-columns: minmax(0, 1fr) minmax(460px, 27%); }
  #prices .pr-card__ico { width: 52px; height: 52px; border-radius: 16px; }
  #prices .pr-card__ico svg { width: 24px; height: 24px; }
  #prices .pr-svc__ico { width: 50px; height: 50px; border-radius: 15px; }
  #prices .pr-svc__ico svg { width: 24px; height: 24px; }
  #prices .pr-svc__txt { margin-left: 68px; }
  #prices .pr-more summary, #prices .pr-more__body { margin-left: 68px; }
  #prices .pr-cell { min-height: 78px; padding-left: 20px; }
  #prices .pr-col__pics img { width: 42px; height: 42px; }
  #prices .pr-item__ico { width: 46px; height: 46px; }
  #prices .pr-item__ico svg { width: 22px; height: 22px; }
}
@media (min-width: 3200px) {
  #prices .price { grid-template-columns: minmax(0, 1fr) minmax(640px, 26%); }
  #prices .pr-card__ico { width: 66px; height: 66px; border-radius: 20px; }
  #prices .pr-card__ico svg, #prices .pr-svc__ico svg, #prices .pr-item__ico svg { width: 28px; height: 28px; }
  #prices .pr-svc__ico, #prices .pr-item__ico { width: 60px; height: 60px; border-radius: 18px; }
  #prices .pr-svc__txt { margin-left: 78px; }
  #prices .pr-more summary, #prices .pr-more__body { margin-left: 78px; }
  #prices .pr-col__pics img { width: 56px; height: 56px; }
  #prices .pr-cell__go { width: 36px; height: 36px; margin-top: -18px; }
  #prices .pr-cell__go svg { width: 18px; height: 18px; }
  #prices .pr-tag svg, #prices .pr-note svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  #prices a.pr-cell:hover { transform: none; }
  #prices .pr-more[open] .pr-more__body { animation: none; }
}

/* =========================================================
   Комфорт-Клининг — продолжение главной после #calculator:
   «Как проходит заказ» (#process) → «Что помогает» (#benefits) →
   «Частые вопросы» (#faq) → «Нижний Новгород и область» (#contacts) → footer.
   Токены, .wrap, .sec-head, .eyebrow, .btn, .call-link, .glass, .logo, .live,
   .on-view и @keyframes pop/live — из main.css. Здесь только новые блоки.
   Префиксы: .fin (обёртка), .ps- (шаги), .bn- (преимущества),
   .fq- (вопросы), .rc- (зона и контакты), .ftr (подвал).
   ========================================================= */

/* Общая обёртка новых секций — фон без шва после калькулятора */
.fin { --fin-gap: clamp(12px, 1.1vw, 20px); background: var(--bg); }
.fin > section { padding: 0 0 clamp(72px, 8vw, 140px); }

/* Левый вариант заголовка секции (в колонках) */
.fin .sec-head--start { justify-items: start; text-align: left; }
.fin .sec-head--start .eyebrow { justify-self: start; }
.fin .sec-head--start h2 { max-width: 16ch; }
.fin .sec-head--start p { max-width: 46ch; }

/* Ссылка-стрелка и примечание — общие для новых блоков */
.fin .fin-link { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 700; color: var(--blue-700); }
.fin .fin-link svg { width: 16px; height: 16px; flex: none; transition: transform var(--t) var(--ease-out); }
.fin .fin-link:hover { color: var(--blue); }
.fin .fin-link:hover svg { transform: translateX(3px); }
.fin .fin-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; max-width: 60ch; font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }
.fin .fin-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--blue); }
.fin .fin-inline { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fin .fin-inline:hover { text-decoration-thickness: 2px; }

/* Белая кнопка на синем фоне — та же форма, что .btn--primary */
.fin .btn--white { color: var(--blue-700); background: #fff; box-shadow: inset 0 -1px 0 rgba(10, 42, 102, .08), 0 18px 34px -20px rgba(2, 18, 47, .85); }
.fin .btn--white:hover { transform: translateY(-2px); box-shadow: inset 0 -1px 0 rgba(10, 42, 102, .08), 0 24px 40px -20px rgba(2, 18, 47, .95); }
.fin .btn--white:active { transform: translateY(0) scale(.985); transition-duration: 80ms; }
.fin .btn--white:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* =========================================================
   1. Как проходит заказ и уборка — четыре карточки-шага.
   Чередование синих и белых карточек с крупной цифрой — как
   карточки-показатели основного референса и .dir в hero
   ========================================================= */
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--fin-gap); }
.ps-step { position: relative; display: flex; min-width: 0; }
.ps-card { position: relative; isolation: isolate; overflow: hidden; flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; min-height: clamp(270px, 17vw, 360px); padding: clamp(20px, 1.6vw, 30px); border-radius: var(--r-2xl); background: rgba(255, 255, 255, .88); box-shadow: var(--sh-2), inset 0 0 0 1px rgba(255, 255, 255, .95); }
.ps-step--blue .ps-card { color: #fff; background: linear-gradient(155deg, #3A80FF 0%, var(--blue-600) 55%, var(--blue-700) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 60px -34px rgba(10, 42, 102, .9); }
/* Точечная фактура в углу синих карточек — как у карточки «Мойка окон» */
.ps-step--blue .ps-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 1px, transparent 1.6px); background-size: 18px 18px; opacity: .18; -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 52%); mask-image: linear-gradient(200deg, #000 0%, transparent 52%); pointer-events: none; }

.ps-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ps-num { display: inline-flex; align-items: baseline; gap: .3em; font-size: clamp(3rem, 2rem + 2.4vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--blue); font-variant-numeric: tabular-nums; }
.ps-num small { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ps-step--blue .ps-num { color: #fff; }
.ps-step--blue .ps-num small { color: rgba(255, 255, 255, .72); }

/* «Медальон» с иконкой — объёмный круг вместо 3D-предметов референса */
.ps-ico { flex: none; width: clamp(56px, 4.4vw, 76px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--blue-600); background: radial-gradient(circle at 32% 26%, #FFFFFF 0%, #E4EEFF 62%, #CFE0FF 100%); box-shadow: inset 0 -5px 10px rgba(31, 107, 255, .12), 0 18px 30px -16px rgba(31, 107, 255, .6); }
.ps-ico svg { width: 42%; height: 42%; }
.ps-step--blue .ps-ico { color: #fff; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .14) 66%, rgba(255, 255, 255, .08) 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 18px 30px -16px rgba(2, 18, 47, .7); }

.ps-card__body { grid-row: 3; display: grid; gap: 8px; }
.ps-card h3 { margin: 0; font-size: clamp(1.15rem, .95rem + .55vw, 1.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.ps-card p { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.ps-step--blue .ps-card p { color: rgba(255, 255, 255, .88); }
.ps-card p a { color: var(--blue-700); font-weight: 700; text-decoration: underline; text-decoration-color: var(--blue-100); text-underline-offset: 3px; }
.ps-card p a:hover { text-decoration-color: currentColor; }
.ps-step--blue .ps-card p a { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
.ps-step--blue .ps-card a:focus-visible { outline-color: #fff; }

/* Стрелки-переходы между карточками (только в одном ряду) */
.ps-step:not(:last-child)::before,
.ps-step:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 50%; right: calc(-1 * var(--fin-gap) / 2 - 17px); width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; pointer-events: none; }
.ps-step:not(:last-child)::before { background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--hair); }
.ps-step:not(:last-child)::after { z-index: 3; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat; }

.ps-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: var(--fin-gap); padding: clamp(14px, 1.2vw, 20px) clamp(14px, 1.2vw, 20px) clamp(14px, 1.2vw, 20px) clamp(18px, 1.8vw, 30px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--hair); }
.ps-foot__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* =========================================================
   2. Что помогает организовать уборку — крупная интерьерная
   сцена с наложенными плашками (приём «Тёплого пола» и блока
   «Преимущества» основного референса) + три факта справа
   ========================================================= */
.bn { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: var(--fin-gap); align-items: stretch; }
.bn__media { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(440px, 36vw, 760px); border-radius: var(--r-2xl); background: var(--panel-2); box-shadow: var(--sh-3); }
.bn__media img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 76% 62%; transform: scale(1.04); transition: transform 1.8s cubic-bezier(.19, 1, .22, 1); }
.bn__media.is-in img { transform: none; }
.bn__media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 42, 102, 0) 42%, rgba(8, 28, 68, .72) 100%); pointer-events: none; }
.bn__media .glass { top: clamp(16px, 1.6vw, 28px); left: clamp(16px, 1.6vw, 28px); }
.bn__biz { position: absolute; left: clamp(18px, 2vw, 36px); right: clamp(18px, 2vw, 36px); bottom: clamp(18px, 2vw, 36px); display: grid; gap: 10px; color: #fff; }
.bn__biz-kicker { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.bn__biz-title { margin: 0; max-width: 24ch; font-size: clamp(1.25rem, 1rem + .8vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.bn__biz-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.bn__biz-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 16px; border-radius: var(--pill); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); font-size: var(--fs-sm); font-weight: 700; backdrop-filter: blur(8px); transition: background-color var(--t-fast), color var(--t-fast); }
.bn__biz-links a svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease-out); }
.bn__biz-links a:hover { background: #fff; color: var(--blue-700); }
.bn__biz-links a:hover svg { transform: translateX(3px); }
.bn__biz-links a:focus-visible { outline-color: #fff; }

.bn__side { display: grid; align-content: center; gap: clamp(18px, 1.6vw, 28px); padding: clamp(8px, 1.4vw, 28px) 0 clamp(8px, 1.4vw, 28px) clamp(4px, 1.6vw, 36px); min-width: 0; }
.bn__side .sec-head { margin-bottom: 0; }
.bn__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bn-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding: clamp(18px, 1.5vw, 26px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair); transition: transform .7s var(--ease-out), box-shadow .5s var(--ease-out); }
.bn-item:hover { transform: translateY(-3px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--blue-100); }
.bn-item__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-100); color: var(--blue-700); }
.bn-item__ico svg { width: 24px; height: 24px; }
.bn-item:first-child .bn-item__ico { background: linear-gradient(180deg, #3B82FF, var(--blue-600)); color: #fff; box-shadow: 0 10px 20px -10px rgba(31, 107, 255, .8); }
.bn-item h3 { margin: 2px 0 6px; font-size: clamp(1.05rem, .95rem + .3vw, 1.25rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.bn-item p { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); max-width: 52ch; }

/* =========================================================
   3. Частые вопросы — липкая колонка с контактом + аккордеон
   на нативных <details> (клавиатура и работа без JS)
   ========================================================= */
.fq { display: grid; grid-template-columns: minmax(280px, 34%) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 72px); align-items: start; }
.fq__aside { position: sticky; top: 110px; display: grid; gap: clamp(20px, 1.8vw, 30px); }
.fq__aside .sec-head { margin-bottom: 0; }
.fq-ask { display: grid; gap: 14px; padding: clamp(20px, 1.8vw, 30px); border-radius: var(--r-xl); background: radial-gradient(120% 60% at 50% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #F2F7FE 0%, #E6EFFB 100%); box-shadow: inset 0 0 0 1px var(--hair); }
.fq-ask__head { display: flex; align-items: center; gap: 14px; }
.fq-ask__ico { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #3B82FF, var(--blue-600)); color: #fff; box-shadow: 0 10px 20px -10px rgba(31, 107, 255, .8); }
.fq-ask__ico svg { width: 22px; height: 22px; }
.fq-ask h3 { margin: 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.fq-ask p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
.fq-ask__phone { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--hair); }
.fq-ask__phone a { font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); font-weight: 800; letter-spacing: -.015em; font-variant-numeric: tabular-nums; transition: color var(--t-fast); }
.fq-ask__phone a:hover { color: var(--blue-600); }
.fq-ask .btn--soft { justify-self: start; }

.fq__list { display: grid; gap: 10px; min-width: 0; }
.fq-item { border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair); transition: box-shadow var(--t) var(--ease-out); }
.fq-item:hover { box-shadow: var(--sh-2), inset 0 0 0 1px var(--hair-2); }
.fq-item[open] { box-shadow: var(--sh-2), inset 0 0 0 1.5px var(--blue-100); }
.fq-item summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 68px; padding: 14px 16px 14px clamp(18px, 1.6vw, 26px); border-radius: inherit; cursor: pointer; list-style: none; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary:focus-visible { outline-offset: 2px; border-radius: var(--r-lg); }
.fq-item__idx { width: 24px; font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .14em; color: var(--blue); font-variant-numeric: tabular-nums; }
.fq-item h3 { margin: 0; font-size: clamp(1rem, .94rem + .25vw, 1.18rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.3; transition: color var(--t-fast); }
.fq-item summary:hover h3, .fq-item[open] h3 { color: var(--blue-700); }
.fq-item__pm { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); transition: background-color var(--t), color var(--t), transform var(--t) var(--ease-out); }
.fq-item__pm svg { width: 15px; height: 15px; }
.fq-item[open] .fq-item__pm { background: var(--blue); color: #fff; transform: rotate(45deg); }
.fq-item__a { padding: 0 clamp(18px, 1.6vw, 26px) clamp(18px, 1.6vw, 24px) calc(clamp(18px, 1.6vw, 26px) + 24px + 16px); }
.fq-item[open] .fq-item__a { animation: pop var(--t) var(--ease-out); }
.fq-item__a p { margin: 0; max-width: 66ch; font-size: var(--fs-md); line-height: 1.6; color: var(--ink-2); }
.fq-item__a p + p { margin-top: 8px; }
.fq-item__a a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue-100); text-underline-offset: 3px; }
.fq-item__a a:hover { text-decoration-color: currentColor; }

/* =========================================================
   4. Нижний Новгород и область — заключительный призыв (синяя
   панель с «радиусом выезда») + карточка контактов
   ========================================================= */
.rc { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: var(--fin-gap); align-items: stretch; }
.rc-cta { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: start; gap: clamp(18px, 1.6vw, 26px); padding: clamp(26px, 3vw, 60px); border-radius: var(--r-2xl); color: #fff; background: linear-gradient(155deg, #3A80FF 0%, var(--blue-600) 50%, var(--blue-700) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 40px 80px -40px rgba(10, 42, 102, .9); }
.rc-cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 1px, transparent 1.6px); background-size: 18px 18px; opacity: .16; -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 46%); mask-image: linear-gradient(200deg, #000 0%, transparent 46%); pointer-events: none; }
/* Концентрические круги — «радиус выезда»; это графика, не карта */
.rc-cta__orbit { position: absolute; z-index: -1; right: -14%; top: -34%; width: min(64%, 720px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 255, 255, .16) 0 1px, transparent 1.5px 13%); -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%); pointer-events: none; }
/* Метка в центре кругов */
.rc-cta__pin { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--blue-700); background: #fff; box-shadow: 0 18px 36px -14px rgba(2, 18, 47, .8); }
.rc-cta__pin svg { width: 26px; height: 26px; }
.rc-cta__pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); opacity: 0; }
.rc-cta.is-in .rc-cta__pin::after { animation: live 2.4s var(--ease-out) .6s 3; }

.rc-cta .eyebrow--plain { color: rgba(255, 255, 255, .8); }
.rc-cta h2 { margin: 0; max-width: 14ch; font-size: var(--fs-h2); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.rc-cta h2 b { font-weight: 800; }
.rc-cta__lead { margin: 0; max-width: 48ch; font-size: var(--fs-lg); line-height: 1.55; color: rgba(255, 255, 255, .88); }

.rc-cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.rc-cities li { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border-radius: var(--pill); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .26); font-size: var(--fs-sm); font-weight: 700; backdrop-filter: blur(8px); }
.rc-cities li > span { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue-700); }
.rc-cities svg { width: 14px; height: 14px; }
.rc-cities .rc-cities__more { padding-left: 16px; background: none; border-style: dashed; border-color: rgba(255, 255, 255, .45); font-weight: 600; color: rgba(255, 255, 255, .9); backdrop-filter: none; }

.rc-cta__final { display: grid; gap: 18px; margin-top: clamp(6px, 1vw, 16px); padding-top: clamp(20px, 1.8vw, 30px); border-top: 1px solid rgba(255, 255, 255, .22); }
.rc-cta__final p { margin: 0; max-width: 52ch; font-size: var(--fs-md); line-height: 1.5; color: rgba(255, 255, 255, .86); }
.rc-cta__final p b { display: block; margin-bottom: 2px; font-size: clamp(1.15rem, 1rem + .45vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.rc-cta__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.rc-cta .call-link { color: #fff; }
.rc-cta .call-link small { color: rgba(255, 255, 255, .74); }
.rc-cta .call-link:hover b { color: #fff; }
.rc-cta .call-link__ico { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.rc-cta .call-link:focus-visible { outline-color: #fff; }

.rc-card { display: grid; grid-template-rows: auto 1fr auto; gap: clamp(16px, 1.4vw, 22px); padding: clamp(22px, 2vw, 36px); border-radius: var(--r-2xl); background: #fff; box-shadow: 0 2px 6px rgba(14, 26, 43, .04), 0 40px 80px -48px rgba(14, 26, 43, .38), inset 0 0 0 1px var(--hair); min-width: 0; }
.rc-card__title { margin: 0; font-size: clamp(1.15rem, 1rem + .4vw, 1.45rem); font-weight: 800; letter-spacing: -.025em; }
.rc-list { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.rc-list > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.rc-list > li:first-child { padding-top: 0; }
.rc-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.rc-list__ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.rc-list__ico svg { width: 19px; height: 19px; }
.rc-list__k { font-size: var(--fs-2xs); color: var(--muted); }
.rc-list__v { min-width: 0; font-size: var(--fs-md); font-weight: 700; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.rc-list__v a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t) var(--ease-out), color var(--t-fast); }
.rc-list__v a:hover { color: var(--blue-700); background-size: 100% 1px; }
.rc-list .rc-list__phone { font-size: clamp(1.2rem, 1.05rem + .4vw, 1.45rem); font-weight: 800; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.rc-list__hours { display: inline-flex; align-items: center; gap: 8px; }
.rc-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding-top: clamp(14px, 1.2vw, 20px); border-top: 1px solid var(--hair); }

/* =========================================================
   5. Подвал — тёмное применение логотипа, навигация, контакты,
   реквизиты и юридические ссылки. Вне <main>, после .top
   ========================================================= */
.ftr { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(48px, 5vw, 100px); border-radius: var(--r-2xl) var(--r-2xl) 0 0; color: rgba(255, 255, 255, .74); background: radial-gradient(55% 70% at 88% 0%, rgba(31, 107, 255, .32) 0%, rgba(31, 107, 255, 0) 62%), radial-gradient(40% 50% at 0% 100%, rgba(31, 107, 255, .14) 0%, rgba(31, 107, 255, 0) 70%), linear-gradient(180deg, #0D1F3C 0%, #0A1628 100%); font-size: var(--fs-sm); }
.ftr :focus-visible { outline-color: #8DB6FF; }
.ftr a { transition: color var(--t-fast); }

.ftr__top { display: grid; grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(0, 1fr)); gap: clamp(28px, 2.6vw, 56px); padding-bottom: clamp(36px, 3.6vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .1); }

.ftr__brand { display: grid; align-content: start; gap: 18px; min-width: 0; }
.ftr .logo__name { color: #fff; }
.ftr .logo__name span { color: #8DB6FF; }
.ftr .logo__tag { color: rgba(255, 255, 255, .56); }
.ftr .logo__mark { filter: drop-shadow(0 10px 18px rgba(31, 107, 255, .45)); }
.ftr__about { margin: 0; max-width: 36ch; line-height: 1.55; }
.ftr__phone { display: grid; gap: 4px; }
.ftr__phone a { justify-self: start; font-size: clamp(1.3rem, 1.1rem + .5vw, 1.65rem); font-weight: 800; letter-spacing: -.015em; color: #fff; font-variant-numeric: tabular-nums; }
.ftr__phone a:hover { color: #8DB6FF; }
.ftr__phone span { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: rgba(255, 255, 255, .62); }
.ftr .btn--soft { justify-self: start; color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.ftr .btn--soft:hover { background: #fff; color: var(--blue-700); }

.ftr__col { min-width: 0; }
.ftr__h { margin: 0 0 14px; font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ftr__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ftr__links a { display: inline-block; padding: 6px 0; color: rgba(255, 255, 255, .84); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: color var(--t-fast), background-size var(--t) var(--ease-out); }
.ftr__links a:hover { color: #fff; background-size: 100% 1px; }
.ftr__addr { margin: 0; display: grid; gap: 14px; font-style: normal; }
.ftr__addr > div { display: grid; gap: 2px; }
.ftr__k { font-size: var(--fs-2xs); color: rgba(255, 255, 255, .5); }
.ftr__v { color: rgba(255, 255, 255, .9); line-height: 1.4; overflow-wrap: anywhere; }
.ftr__addr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.ftr__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 14px 40px; padding: clamp(22px, 2vw, 32px) 0; font-size: var(--fs-xs); color: rgba(255, 255, 255, .56); }
.ftr__legal-id { margin: 0; display: grid; gap: 4px; line-height: 1.5; }
.ftr__legal-id b { font-weight: 600; color: rgba(255, 255, 255, .78); }
.ftr__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.ftr__legal a { color: rgba(255, 255, 255, .78); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.ftr__legal a:hover { color: #fff; text-decoration-color: currentColor; }
.ftr__offer { grid-column: 1 / -1; margin: 0; max-width: 90ch; font-size: var(--fs-2xs); line-height: 1.5; color: rgba(255, 255, 255, .62); }

/* Крупное написание бренда по нижней кромке — узнаваемость, только графика */
.ftr__word { display: block; margin: 0 0 -.14em; font-size: 9.2vw; font-weight: 800; letter-spacing: -.045em; line-height: .9; white-space: nowrap; text-align: center; color: transparent; background: linear-gradient(180deg, rgba(141, 182, 255, .2) 0%, rgba(141, 182, 255, 0) 92%); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1279px) {
  .ps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-step:not(:last-child)::before, .ps-step:not(:last-child)::after { display: none; }
  .ps-card { min-height: clamp(230px, 24vw, 300px); }
  .ftr__top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 32px; }
  .ftr__brand .logo, .ftr__about { grid-column: 1; }
  .ftr__phone, .ftr__brand .btn--soft { grid-column: 2; justify-self: end; }
  .ftr__phone { grid-row: 1; }
  .ftr__phone a { justify-self: end; }
  .ftr__brand .btn--soft { grid-row: 2; }
}

@media (max-width: 1099px) {
  .bn { grid-template-columns: minmax(0, 1fr); }
  .bn__media { min-height: clamp(340px, 60vw, 560px); }
  .bn__side { order: -1; padding: 0; }
  .fq { grid-template-columns: minmax(0, 1fr); }
  .fq__aside { position: static; grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); align-items: end; gap: 20px 32px; }
  .rc { grid-template-columns: minmax(0, 1fr); }
  .rc-card { grid-template-rows: auto; }
  .rc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .rc-list > li, .rc-list > li:first-child, .rc-list > li:last-child { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 719px) {
  .fin > section { padding-bottom: 64px; }
  .fin .sec-head--start h2 { max-width: none; }
  .ps-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ps-card { min-height: 0; grid-template-rows: auto auto; gap: 18px; padding: 20px 18px; border-radius: 26px; }
  .ps-card__body { grid-row: auto; }
  .ps-num { font-size: 2.8rem; }
  .ps-ico { width: 54px; }
  .ps-foot { padding: 16px; border-radius: 22px; }
  .ps-foot__ctas { display: grid; width: 100%; gap: 16px; }
  .ps-foot__ctas .btn { width: 100%; }

  .bn__media { min-height: 0; aspect-ratio: 4 / 5; border-radius: 26px; }
  .bn__media img { object-position: 72% 60%; }
  .bn__media .glass { right: 16px; }
  .bn__biz-links a { flex: 1 1 auto; justify-content: space-between; }
  .bn-item { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 16px; border-radius: 22px; }
  .bn-item__ico { width: 46px; height: 46px; border-radius: 14px; }

  .fq__aside { grid-template-columns: minmax(0, 1fr); }
  .fq-item summary { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; min-height: 60px; padding: 12px 12px 12px 16px; }
  .fq-item__idx { display: none; }
  .fq-item__a { padding: 0 16px 18px; }
  .fq-item__a p { font-size: .95rem; }

  .rc-cta { padding: 26px 18px; border-radius: 26px; }
  .rc-cta__orbit { right: -40%; top: -16%; width: 110%; }
  .rc-cta__pin { display: none; }
  .rc-cta__ctas { display: grid; gap: 16px; }
  .rc-cta__ctas .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
  .rc-card { padding: 22px 16px; border-radius: 26px; }
  .rc-list { grid-template-columns: minmax(0, 1fr); }
  .rc-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
  .rc-list > li:first-child { padding-top: 0; }
  .rc-card__foot .btn--soft { width: 100%; }

  .ftr { border-radius: 26px 26px 0 0; padding-bottom: calc(80px + var(--kk-cookie-inset, 0px) + env(safe-area-inset-bottom)); }
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .ftr__brand { grid-template-columns: minmax(0, 1fr); }
  .ftr__brand > * { grid-column: 1 !important; grid-row: auto !important; justify-self: start !important; }
  .ftr__phone a { justify-self: start; }
  .ftr__col--contacts { grid-column: 1 / -1; }
  .ftr__bottom { grid-template-columns: minmax(0, 1fr); }
  .ftr__legal { justify-content: flex-start; }
  .ftr__word { font-size: 10.4vw; }
}

@media (max-width: 419px) {
  .hdr__mobile > [data-open-drawer="search"] { display: none; }
  .hdr__mobile .logo { gap: 8px; }
  .hdr__mobile .logo__mark { width: 38px; height: 38px; }
  .hdr__mobile .logo__name { font-size: 1rem; }
  .ftr__top { grid-template-columns: minmax(0, 1fr); }
  .bn__biz-title { font-size: 1.15rem; }
}
@media (max-width: 359px) {
  .hdr__mobile .logo__text { display: none; }
}

@media (min-width: 2200px) {
  .ps-ico svg { width: 40%; height: 40%; }
  .bn-item__ico { width: 62px; height: 62px; border-radius: 18px; }
  .bn-item__ico svg { width: 28px; height: 28px; }
  .fq-item summary { min-height: 82px; }
  .fq-item__pm { width: 46px; height: 46px; }
  .fq-item__pm svg { width: 18px; height: 18px; }
  .fq-ask__ico { width: 58px; height: 58px; }
  .rc-list > li { grid-template-columns: 54px minmax(0, 1fr); }
  .rc-list__ico { width: 54px; height: 54px; border-radius: 16px; }
  .rc-list__ico svg { width: 23px; height: 23px; }
  .rc-cities li { min-height: 52px; }
  .rc-cities li > span { width: 34px; height: 34px; }
  .ps-step:not(:last-child)::before, .ps-step:not(:last-child)::after { width: 44px; height: 44px; margin-top: -22px; right: calc(-1 * var(--fin-gap) / 2 - 22px); }
}
@media (min-width: 3200px) {
  .bn-item__ico { width: 78px; height: 78px; border-radius: 22px; }
  .bn-item__ico svg { width: 34px; height: 34px; }
  .fq-item__pm { width: 60px; height: 60px; }
  .fq-item__pm svg { width: 22px; height: 22px; }
  .rc-list > li { grid-template-columns: 68px minmax(0, 1fr); }
  .rc-list__ico { width: 68px; height: 68px; border-radius: 20px; }
  .rc-list__ico svg { width: 28px; height: 28px; }
  .rc-cta__pin { width: 84px; height: 84px; }
  .rc-cta__pin svg { width: 36px; height: 36px; }
  .bn__biz-links a { min-height: 60px; }
  .ps-step:not(:last-child)::before, .ps-step:not(:last-child)::after { width: 56px; height: 56px; margin-top: -28px; right: calc(-1 * var(--fin-gap) / 2 - 28px); -webkit-mask-size: 22px; mask-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .bn__media img { transform: none !important; }
  .bn-item:hover { transform: none; }
  .rc-cta.is-in .rc-cta__pin::after { animation: none; }
  .fq-item[open] .fq-item__a { animation: none; }
}
