/* =========================================================
   Химчистка дивана — светлая тёплая тема «для семьи»
   ========================================================= */

@font-face { font-family: "Manrope"; src: url("/fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-cyrillic.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --bg: #fffaf4;
    --bg-2: #fff3e8;
    --surface: #ffffff;
    --surface-2: #fff6ee;
    --line: #f1e4d8;
    --line-2: #e8d6c6;
    --text: #2c2540;
    --muted: #6e6680;
    --dim: #9c94a8;
    --coral: #ff7f66;
    --pink: #ff6f96;
    --mint: #3cc9a6;
    --mint-soft: #e3f8f1;
    --lilac: #9a86ff;
    --lilac-soft: #efebff;
    --sky: #6cc4ff;
    --sky-soft: #e6f5ff;
    --butter: #ffcf5c;
    --butter-soft: #fff5d9;
    --peach-soft: #ffece5;
    --accent: var(--coral);
    --grad: linear-gradient(120deg, #ff8a5c 0%, #ff6f96 100%);
    --grad-soft: linear-gradient(135deg, #fff1e8 0%, #ffe9f0 100%);
    --shadow-sm: 0 2px 8px rgba(91, 60, 40, .06);
    --shadow: 0 10px 30px -12px rgba(91, 60, 40, .18);
    --shadow-lg: 0 30px 70px -30px rgba(120, 70, 50, .35);
    --radius: 26px;
    --radius-sm: 16px;
    --container: 1220px;
    --header-h: 76px;
    --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Nunito", "Manrope", system-ui, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
    font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid rgba(255, 127, 102, .5); outline-offset: 3px; border-radius: 10px; }
::selection { background: rgba(255, 127, 102, .25); }
svg { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Фон: мягкие пятна ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.bg-fx i:nth-child(1) { width: 520px; height: 520px; left: -180px; top: -160px; background: #ffd9c7; }
.bg-fx i:nth-child(2) { width: 560px; height: 560px; right: -220px; top: 120px; background: #d9f3ea; }
.bg-fx i:nth-child(3) { width: 460px; height: 460px; left: 35%; top: 75vh; background: #ebe4ff; opacity: .45; }

/* ---------- Типографика ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 900; letter-spacing: -.015em; line-height: 1.12; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    background: var(--peach-soft); color: #d9573e;
    font: 800 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow svg { width: 15px; height: 15px; }
.section { padding-block: clamp(56px, 8vw, 100px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--content { padding-top: clamp(24px, 4vw, 48px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 40px); flex-wrap: wrap; }
.section__head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section__title { font-size: clamp(28px, 3.8vw, 46px); }
.section__title--sm { font-size: clamp(22px, 2.6vw, 30px); margin: 40px 0 20px; }
.section__head .section__title--sm { margin: 0; }
.section__sub { color: var(--muted); max-width: 640px; margin: 12px auto 0; font-size: 17px; }

/* ---------- Кнопки ---------- */
.btn {
    --h: 50px;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--h); padding: 0 24px; border-radius: 999px;
    font-weight: 800; font-size: 15px; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -10px rgba(255, 111, 120, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(255, 111, 120, .8); }
.btn--ghost { background: #fff; border: 2px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--coral); color: #d9573e; }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: #e0604a; font-weight: 800; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px;
    border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    font-size: 14px; font-weight: 700; color: var(--muted);
}
.chip svg { width: 18px; height: 18px; color: var(--mint); }
.chip--glow { color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(60, 201, 166, .2); }
.pill {
    display: inline-flex; align-items: center; padding: 9px 15px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--muted);
    transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.pill:hover { color: #d9573e; border-color: #ffc4b4; background: var(--peach-soft); transform: translateY(-1px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* ---------- Шапка ---------- */
.header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(255, 250, 244, .8); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(91, 60, 40, .25); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark { width: 46px; height: 46px; flex-shrink: 0; border-radius: 15px; filter: drop-shadow(0 6px 12px rgba(255, 111, 120, .35)); transition: transform .35s var(--ease); }
.logo__mark svg { width: 100%; height: 100%; }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.05); }
.logo:hover .logo-spark { animation: spark 1s ease-in-out infinite; }
@keyframes spark { 50% { opacity: .35; } }
.logo__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.logo__name { font: 900 19px/1 var(--font-display); letter-spacing: -.01em; color: var(--text); white-space: nowrap; }
.logo__name b { font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__tag { font: 700 11px/1 var(--font); color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 420px) {
    .logo__mark { width: 40px; height: 40px; }
    .logo__name { font-size: 17px; }
    .logo__tag { font-size: 10px; }
}
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 9px 13px; border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--muted); transition: color .2s, background .2s; }
.nav__link:hover, .nav__item--mega.is-open .nav__link { color: var(--text); background: #fff; }
.nav__chev { width: 16px; height: 16px; transition: transform .2s; }
.nav__item--mega { position: relative; }
.nav__item--mega.is-open .nav__chev { transform: rotate(180deg); }
.mega {
    position: absolute; top: calc(100% + 14px); left: -40px; width: min(880px, 90vw);
    padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px 24px; }
.mega__title { display: flex; align-items: center; gap: 8px; font: 900 15px var(--font-display); color: var(--text); margin-bottom: 8px; }
.mega__title svg { width: 20px; height: 20px; color: var(--coral); }
.mega__link { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 14px; color: var(--muted); transition: color .2s; }
.mega__link small { color: var(--dim); white-space: nowrap; }
.mega__link:hover { color: #e0604a; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; white-space: nowrap; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(60, 201, 166, .2); }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 64px); }
.hero__title { font-size: clamp(34px, 4.4vw, 58px); margin: 22px 0 20px; letter-spacing: -.025em; }
.hero__title .grad { display: inline; }
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions--center { justify-content: center; }
.hero__facts { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.hero__facts li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hero__facts svg { width: 42px; height: 42px; padding: 10px; border-radius: 14px; background: var(--mint-soft); color: var(--mint); }
.hero__facts li:nth-child(2) svg { background: var(--peach-soft); color: var(--coral); }
.hero__facts li:nth-child(3) svg { background: var(--lilac-soft); color: var(--lilac); }
.hero__facts li:nth-child(4) svg { background: var(--butter-soft); color: #e0a400; }
.hero__facts span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); line-height: 1.3; }
.hero__facts b { font-size: 16px; color: var(--text); }

/* Иллюстрация: уютная гостиная */
.hero__visual { position: relative; }
.hero-art { position: relative; aspect-ratio: 1 / .92; border-radius: 40px; background: linear-gradient(160deg, #fff 0%, #fff4ec 100%); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-art svg { width: 100%; height: 100%; }
.hero-art .bubble { animation: bubble 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-art .bubble:nth-of-type(2n) { animation-duration: 9s; animation-delay: -2s; }
.hero-art .bubble:nth-of-type(3n) { animation-duration: 11s; animation-delay: -4s; }
@keyframes bubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-art .twinkle { animation: twinkle 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-art .twinkle:nth-of-type(2n) { animation-delay: -1.5s; }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
.float-card svg { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--mint-soft); color: var(--mint); }
.float-card b { display: block; font-size: 14px; } .float-card span { font-size: 12px; color: var(--muted); }
.float-card--a { left: -26px; bottom: 54px; }
.float-card--b { right: -18px; top: 30px; animation-delay: -3s; }
.float-card--b svg { background: var(--peach-soft); color: var(--coral); }
.float-card--c { right: 28px; bottom: -22px; animation-delay: -5s; }
.float-card--c svg { background: var(--lilac-soft); color: var(--lilac); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Главное фото «до и после» */
.ba { position: relative; }
.ba__frame { position: relative; margin: 0; aspect-ratio: 1; border-radius: 36px; overflow: hidden; background: #fff; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.ba__img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; transition: opacity .3s; background: var(--surface-2); }
.ba__img.is-contain { object-fit: contain; }
.ba__img.is-fading { opacity: 0; }
.ba__tag { position: absolute; top: 18px; padding: 7px 16px; border-radius: 999px; font: 900 15px var(--font-display); letter-spacing: .02em; box-shadow: var(--shadow); }
.ba__tag--before { left: 18px; background: #fff; color: var(--text); }
.ba__tag--after { right: 18px; background: var(--grad); color: #fff; }
.ba__frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .15); pointer-events: none; }
.ba__frame.no-tags::after, .ba__frame.no-tags .ba__tag { display: none; }
.ba__cap { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 12px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); font-size: 16px; font-weight: 800; line-height: 1.3; text-align: center; }
.ba__cap svg { width: 20px; height: 20px; color: var(--coral); }
.ba__thumbs { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.ba__thumb { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; border: 3px solid transparent; background: #fff; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.ba__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ba__thumb:hover { transform: translateY(-2px); }
.ba__thumb.is-active { border-color: var(--coral); }
.ba__more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #e0604a; font-weight: 800; font-size: 14px; }
.ba__more svg { width: 16px; height: 16px; }
/* Фото — главное на первом экране: карточки поверх него не показываем, преимущества перечислены слева. */
.hero__visual .float-card { display: none; }
@media (max-width: 720px) {
    .ba__frame { border-radius: 28px; border-width: 4px; }
    .ba__cap { font-size: 15px; padding: 10px 12px; margin-top: 10px; }
    .ba__tag { top: 12px; font-size: 13px; padding: 5px 12px; }
    .ba__tag--before { left: 12px; } .ba__tag--after { right: 12px; }
    .ba__thumb { width: 54px; height: 54px; }
}

/* ---------- Почему нам доверяют ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust__item { position: relative; margin: 0; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.trust__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trust__item img.is-contain { object-fit: contain; padding: 18px; background: var(--surface-2); }
.trust__item--big { grid-column: span 2; }
.trust__item--big img { aspect-ratio: 16 / 8; object-position: center 55%; }
.trust__item figcaption { padding: 16px 18px 18px; display: grid; gap: 4px; }
.trust__item figcaption b { font: 900 17px var(--font-display); }
.trust__item figcaption span { font-size: 14px; color: var(--muted); }
.trust__facts { list-style: none; margin: 0; padding: 20px; border-radius: 26px; background: var(--grad-soft); border: 1px solid #ffe0d4; display: grid; gap: 10px; align-content: center; font-weight: 700; }
.trust__facts li { display: flex; gap: 10px; align-items: center; }
.trust__facts svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--mint); color: #fff; stroke-width: 3; }
@media (max-width: 1024px) {
    .trust { grid-template-columns: 1fr 1fr; }
    .trust__item--big { grid-column: 1 / -1; }
    .trust__item--big img { aspect-ratio: 9 / 8; }
    .trust__item:not(.trust__item--big) img { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
    .trust { grid-template-columns: 1fr; }
}

/* ---------- Блок «для мам» ---------- */
.moms { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 40px; background: var(--grad-soft); border: 1px solid #ffe0d4; }
.moms__title { font-size: clamp(26px, 3.4vw, 42px); margin-bottom: 14px; }
.moms__lead { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.moms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mom-card { padding: 20px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.mom-card__icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 12px; }
.mom-card__icon svg { width: 24px; height: 24px; }
.mom-card:nth-child(1) .mom-card__icon { background: var(--mint-soft); color: var(--mint); }
.mom-card:nth-child(2) .mom-card__icon { background: var(--lilac-soft); color: var(--lilac); }
.mom-card:nth-child(3) .mom-card__icon { background: var(--butter-soft); color: #e0a400; }
.mom-card:nth-child(4) .mom-card__icon { background: var(--sky-soft); color: var(--sky); }
.mom-card__title { font: 900 17px var(--font-display); margin-bottom: 4px; }
.mom-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Карточки услуг ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.svc-card {
    position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 4px 16px;
    padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ffd2c4; }
.svc-card__icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--peach-soft); color: var(--coral); }
.svc-grid > :nth-child(4n+2) .svc-card__icon, .svc-card:nth-child(4n+2) .svc-card__icon { background: var(--mint-soft); color: var(--mint); }
.svc-grid > :nth-child(4n+3) .svc-card__icon, .svc-card:nth-child(4n+3) .svc-card__icon { background: var(--lilac-soft); color: var(--lilac); }
.svc-grid > :nth-child(4n+4) .svc-card__icon, .svc-card:nth-child(4n+4) .svc-card__icon { background: var(--sky-soft); color: #3aa6e8; }
.svc-card__icon svg { width: 28px; height: 28px; }
.svc-card__title { font-weight: 800; line-height: 1.3; }
.svc-card__price { font-size: 14px; color: var(--muted); }
.svc-card__go { grid-row: 1 / span 2; grid-column: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: background .3s, color .3s, transform .3s var(--ease); }
.svc-card__go svg { width: 16px; height: 16px; }
.svc-card:hover .svc-card__go { background: var(--grad); color: #fff; transform: rotate(-45deg); }
.svc-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.svc-group { margin-bottom: 40px; }
.svc-group__title { display: flex; align-items: center; gap: 12px; font-size: 24px; margin-bottom: 16px; }
.svc-group__title svg { color: var(--coral); width: 28px; height: 28px; }

/* ---------- Калькулятор ---------- */
.calc {
    display: grid; grid-template-columns: 1fr 360px; border-radius: 34px; overflow: hidden;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.calc__main { padding: clamp(20px, 3vw, 36px); min-width: 0; }
.calc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.calc__title { font-size: clamp(24px, 2.8vw, 34px); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.seg__btn { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 800; color: var(--muted); transition: background .2s, color .2s; }
.seg__btn.is-active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.calc__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.calc__tabs::-webkit-scrollbar { display: none; }
.calc__tab { flex-shrink: 0; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; color: var(--muted); transition: all .2s; }
.calc__tab.is-active { color: #d9573e; border-color: #ffc4b4; background: var(--peach-soft); }
.calc__tab .cnt { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 10px; background: var(--coral); color: #fff; font-size: 12px; }
.calc__items { display: grid; gap: 10px; }
.calc-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.calc-item.is-on { border-color: #9fe4d1; background: var(--mint-soft); }
.calc-item__name { font-weight: 700; line-height: 1.3; }
.calc-item__name small { display: block; font-weight: 500; color: var(--dim); font-size: 13px; }
.calc-item__price { font-size: 14px; color: var(--muted); white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); overflow: hidden; }
.stepper button { width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.stepper button:hover { background: var(--peach-soft); color: #d9573e; }
.stepper button svg { width: 16px; height: 16px; }
.stepper input { width: 52px; height: 38px; text-align: center; background: transparent; border: 0; border-inline: 1px solid var(--line); font-weight: 800; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__summary { padding: clamp(20px, 3vw, 32px); background: var(--grad-soft); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.calc__summary-title { font: 900 20px var(--font-display); margin-bottom: 16px; }
.calc__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; min-height: 120px; }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.calc__lines li span:first-child { color: var(--muted); }
.calc__empty { color: var(--dim) !important; font-size: 14px; }
.calc__extra { display: grid; gap: 8px; margin-top: 14px; font-size: 14px; }
.calc__extra div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 12px; background: #fff; color: #1f9b7d; font-weight: 700; }
.calc__extra .warn { color: #c07a00; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 8px; padding-top: 18px; border-top: 2px dashed #f3cfc2; }
.calc__total span { color: var(--muted); font-weight: 700; }
.calc__total strong { font: 900 clamp(28px, 3vw, 36px) var(--font-display); color: var(--text); }
.calc__hint { font-size: 12px; color: var(--muted); margin: 0 0 16px; }

/* ---------- Шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; font: 900 18px/1 var(--font-display); background: var(--peach-soft); color: var(--coral); margin-bottom: 16px; }
.step:nth-child(2) .step__num { background: var(--mint-soft); color: var(--mint); }
.step:nth-child(3) .step__num { background: var(--lilac-soft); color: var(--lilac); }
.step:nth-child(4) .step__num { background: var(--butter-soft); color: #d99a00; }
.step__title { font: 900 19px var(--font-display); margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.bento__item { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.bento__item p { margin: 0; color: var(--muted); font-size: 15px; }
.bento__item--wide { grid-column: 1 / -1; padding: clamp(24px, 4vw, 44px); background: linear-gradient(135deg, #e7f9f3, #eef0ff); border-color: #d6efe7; }
.bento__item--wide p { max-width: 760px; font-size: 17px; }
.bento__title { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.bento__icon { width: 48px; height: 48px; padding: 11px; border-radius: 16px; background: var(--peach-soft); color: var(--coral); margin-bottom: 16px; }
.bento__item:nth-child(3) .bento__icon { background: var(--mint-soft); color: var(--mint); }
.bento__item:nth-child(4) .bento__icon { background: var(--lilac-soft); color: var(--lilac); }
.bento__item:nth-child(5) .bento__icon { background: var(--sky-soft); color: #3aa6e8; }
.bento__item:nth-child(6) .bento__icon { background: var(--butter-soft); color: #d99a00; }
.bento__name { font-weight: 800; margin-bottom: 6px; }

/* ---------- Пятна ---------- */
.stains { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stains__col { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stains__title { display: flex; align-items: center; gap: 10px; font: 900 22px var(--font-display); margin-bottom: 16px; }
.stains__title svg { color: var(--coral); width: 26px; height: 26px; }
.stains__col:nth-child(2) .stains__title svg { color: var(--mint); }
.stains__note { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- Работы ---------- */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.works__item { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #fff; border: 4px solid #fff; box-shadow: var(--shadow); }
.works__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; transition: transform .6s var(--ease); }
.works__item:hover img { transform: scale(1.05); }
.works__cap { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(44, 37, 64, .85); backdrop-filter: blur(6px); }
.lightbox img { max-height: 86vh; border-radius: 20px; box-shadow: 0 40px 120px rgba(0,0,0,.4); }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--text); }
.lightbox .lb-close { top: 20px; right: 20px; } .lightbox .lb-prev { left: 20px; top: 50%; } .lightbox .lb-next { right: 20px; top: 50%; }
.lightbox .lb-prev svg { transform: rotate(180deg); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq__item[open] { border-color: #ffd2c4; }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 800; font-size: 17px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--peach-soft); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--coral); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }

/* ---------- География ---------- */
.search { position: relative; display: flex; align-items: center; min-width: min(360px, 100%); }
.search svg { position: absolute; left: 16px; color: var(--dim); width: 18px; height: 18px; }
.search input { width: 100%; height: 52px; padding: 0 18px 0 46px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 127, 102, .15); }
.search--wide { display: flex; margin-bottom: 28px; }
.geo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.geo__col { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.geo__title { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 14px; }
.geo__title svg { color: var(--coral); }
.geo__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.geo__empty { grid-column: 1 / -1; }
.place-group { margin-bottom: 32px; }
.place-group__title { font-size: 22px; margin-bottom: 14px; }
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.place-link { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 700; transition: border-color .2s, background .2s; }
.place-link svg { color: var(--coral); width: 18px; height: 18px; }
.place-link:hover { border-color: #ffc4b4; background: var(--peach-soft); }

/* ---------- Перелинковка на страницах районов ---------- */
.link-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 36px 0; }
.link-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s; }
.link-card:hover { transform: translateY(-2px); border-color: #ffc4b4; }
.link-card svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--peach-soft); color: var(--coral); }
.link-card small { display: block; font-size: 12px; color: var(--muted); }
.link-card b { font-weight: 800; line-height: 1.3; }
.link-box__metro { grid-column: 1 / -1; padding: 18px; border-radius: 22px; background: var(--surface-2); border: 1px solid var(--line); }
.link-box__title { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 12px; }
.link-box__title svg { color: var(--coral); }

/* ---------- Статьи ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--surface-2); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__img svg { width: 40px; height: 40px; color: var(--dim); }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.post-card__date { font-size: 13px; color: var(--dim); }
.post-card__title { font-weight: 800; font-size: 17px; line-height: 1.35; flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; color: #e0604a; font-weight: 800; font-size: 14px; }
.post-card__more svg { width: 16px; height: 16px; }

/* ---------- Формы ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field__input { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line-2); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field__input::placeholder { color: var(--dim); }
.field__input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 127, 102, .15); }
.field.is-invalid .field__input { border-color: #ef4f6b; box-shadow: 0 0 0 4px rgba(239, 79, 107, .12); }
.lead-form { position: relative; }
.lead-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.lead-form__fields .field--wide { grid-column: 1 / -1; }
.lead-form--modal .lead-form__fields { grid-template-columns: 1fr; }
.lead-form__submit { width: 100%; }
.lead-form__note { font-size: 12px; color: var(--dim); margin: 12px 0 0; }
.lead-form__done { text-align: center; padding: 20px 0; }
.lead-form__done-icon { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: #fff; box-shadow: 0 12px 28px -10px rgba(60, 201, 166, .7); }
.lead-form__done-icon svg { width: 32px; height: 32px; stroke-width: 2.6; }
.lead-form__done-title { font: 900 24px var(--font-display); margin-bottom: 8px; }
.lead-form__done p { color: var(--muted); margin: 0; }
.lead-form__done a { color: #e0604a; font-weight: 700; }
.lead-form__error { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #ffe8ec; color: #c43552; font-size: 14px; }
.lead-form.is-sent .lead-form__fields, .lead-form.is-sent .lead-form__submit, .lead-form.is-sent .lead-form__note { display: none; }
.lead-form.is-loading .lead-form__submit { opacity: .6; pointer-events: none; }

/* Быстрый выбор в форме заявки */
.quiz { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.quiz__label { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 800; color: var(--text); }
.quiz__label small { font-weight: 600; color: var(--dim); }
.quiz__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qchip { position: relative; cursor: pointer; }
.qchip input { position: absolute; opacity: 0; pointer-events: none; }
.qchip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 700; color: var(--muted); transition: all .15s; user-select: none; }
.qchip--sm span { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.qchip:hover span { border-color: #ffc4b4; color: var(--text); }
.qchip input:checked + span { background: var(--peach-soft); border-color: var(--coral); color: #c9472f; }
.qchip input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 900; }
.qchip input:focus-visible + span { outline: 3px solid rgba(255, 127, 102, .4); outline-offset: 2px; }
.quiz--inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quiz--inline .quiz__label { margin: 0; float: left; }
.req { color: var(--coral); }
.next-steps { text-align: left; margin: 14px 0; padding: 0; list-style: none; counter-reset: ns; display: grid; gap: 10px; }
.next-steps li { position: relative; padding-left: 40px; counter-increment: ns; font-size: 14px; color: var(--muted); }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint); font-weight: 900; font-size: 13px; }
.next-steps b { color: var(--text); }
.modal__box { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }

/* Плавающая кнопка заказа (только компьютер) */
.float-order { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; box-shadow: 0 16px 40px -12px rgba(255, 111, 120, .8); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.float-order.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-order:hover { transform: translateY(-2px); }
.float-order svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .float-order { display: none; } }

.final { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 52px); border-radius: 40px; background: var(--grad-soft); border: 1px solid #ffe0d4; }
.final__phone { display: inline-block; margin-top: 20px; font: 900 clamp(24px, 2.8vw, 32px) var(--font-display); }
.lead-form--card { padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------- Модалка ---------- */
.modal { padding: 0; border: 0; background: transparent; color: var(--text); max-width: 480px; width: calc(100% - 32px); }
.modal::backdrop { background: rgba(44, 37, 64, .45); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__box { position: relative; padding: 32px; border-radius: 32px; background: #fff; box-shadow: var(--shadow-lg); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.modal__title { font: 900 28px var(--font-display); margin-bottom: 8px; }
.modal__sub { margin: 0 0 22px; font-size: 15px; }

/* ---------- CTA ---------- */
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 36px 0; padding: 26px 28px; border-radius: 28px; background: var(--grad-soft); border: 1px solid #ffe0d4; }
.cta-inline__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; color: #e0604a; font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.cta-inline__badge svg { width: 16px; height: 16px; }
.cta-inline__title { font: 900 22px var(--font-display); margin-bottom: 4px; }
.cta-inline p { margin: 0; color: var(--muted); }
.cta-inline__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Внутренние страницы ---------- */
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(24px, 4vw, 40px); }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero__title { font-size: clamp(32px, 4.4vw, 56px); margin: 18px 0 16px; }
.page-hero__lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); margin: 0 0 24px; max-width: 680px; }
.page-hero__lead a { color: #e0604a; font-weight: 700; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.page-hero__media { margin: 0; border-radius: 36px; overflow: hidden; aspect-ratio: 1; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--404 { padding-block: clamp(48px, 8vw, 96px); }
.big-404 { font: 1000 clamp(96px, 16vw, 180px)/1 var(--font-display); }
.price-tag { display: flex; flex-direction: column; padding: 10px 18px; border-radius: 18px; background: var(--peach-soft); }
.price-tag span { font-size: 12px; color: var(--muted); font-weight: 600; }
.price-tag b { font: 900 22px var(--font-display); }
.price-tag--muted { background: var(--mint-soft); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--dim); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: #e0604a; }
.place-card { padding: 24px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 16px; }
.place-card__row { display: flex; gap: 14px; align-items: flex-start; }
.place-card__row svg { width: 42px; height: 42px; padding: 10px; border-radius: 14px; background: var(--mint-soft); color: var(--mint); }
.place-card__row:nth-child(2) svg { background: var(--lilac-soft); color: var(--lilac); }
.place-card__row:nth-child(3) svg { background: var(--peach-soft); color: var(--coral); }
.place-card__row b { display: block; } .place-card__row span { font-size: 14px; color: var(--muted); }
.place-card__phone { margin-top: 4px; font: 900 22px var(--font-display); text-align: center; padding: 14px; border-radius: 18px; background: var(--grad); color: #fff; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.content-grid__aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.order-card { padding: 24px; border-radius: 28px; background: var(--grad-soft); border: 1px solid #ffe0d4; display: grid; gap: 14px; }
.order-card__title { font: 900 19px var(--font-display); }
.order-card__price { font: 1000 32px var(--font-display); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.checklist li { display: flex; gap: 8px; }
.checklist svg { color: var(--mint); width: 18px; height: 18px; margin-top: 2px; }
.side-nav { padding: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: grid; }
.side-nav__title { font-weight: 800; margin-bottom: 8px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.side-nav a svg { width: 14px; height: 14px; opacity: 0; transition: opacity .2s, transform .2s; }
.side-nav a:hover { color: #e0604a; } .side-nav a:hover svg { opacity: 1; transform: translateX(2px); }
.toc { padding: 20px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); margin-bottom: 28px; }
.toc__title { font-weight: 800; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); }
.toc a:hover { color: #e0604a; }
.post-cover { margin: 0 0 28px; border-radius: 28px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }

/* ---------- Типографика контента ---------- */
.prose { color: #4a4360; font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--text); margin: 1.8em 0 .6em; }
.prose h3 { font-size: clamp(19px, 1.9vw, 23px); color: var(--text); margin: 1.5em 0 .5em; }
.prose h4 { font-size: 18px; color: var(--text); margin: 1.2em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: #e0604a; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(224, 96, 74, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: #e0604a; }
.prose strong, .prose b { color: var(--text); }
.prose ul, .prose ol { padding-left: 0; margin: 1em 0; list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--mint-soft); box-shadow: inset 0 0 0 4px var(--mint); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 38px; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--peach-soft); color: var(--coral); }
.prose img { border-radius: 22px; margin: 1.4em auto; box-shadow: var(--shadow); }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--coral); background: var(--peach-soft); border-radius: 0 18px 18px 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead td, .prose th { background: var(--surface-2); color: var(--text); font-weight: 800; }
.prose tr:last-child td { border-bottom: 0; }
.prose--fold { max-height: 360px; overflow: hidden; position: relative; transition: max-height .6s var(--ease); }
.prose--fold::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(rgba(255, 250, 244, 0), var(--bg)); pointer-events: none; transition: opacity .3s; }
.prose--fold.is-open { max-height: none; }
.prose--fold.is-open::after { opacity: 0; }
.fold-btn { margin-top: 16px; }

/* ---------- Прайс ---------- */
.price-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; margin: 1.4em 0; }
.price-card { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.price-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.price-card__title { font-size: 20px; color: var(--text); margin: 0 !important; }
.price-card__cols { display: flex; gap: 12px; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.price-card__cols span { width: 84px; text-align: right; }
.price-card__list { list-style: none; margin: 0 !important; padding: 0 !important; display: grid !important; gap: 0 !important; }
.price-row { display: flex; align-items: baseline; gap: 10px; padding: 10px 0 !important; border-top: 1px solid var(--line); font-size: 15px; }
.price-row::before { display: none !important; }
.price-row__name { color: var(--text); }
.price-row__name small { display: block; color: var(--dim); font-size: 12px; }
.price-row__dots { flex: 1; border-bottom: 2px dotted var(--line-2); transform: translateY(-4px); min-width: 12px; }
.price-row__val { font-weight: 800; white-space: nowrap; width: 84px; text-align: right; }
.price-row__val small { color: var(--dim); font-weight: 500; }
.price-row__val--alt { color: var(--muted); }
.price-card__head:not(:has(.price-card__cols)) + .price-card__list .price-row__val { width: auto; }
.price-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.price-note svg { color: var(--mint); width: 18px; height: 18px; margin-top: 2px; }

/* ---------- Контакты / отзывы ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contacts__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-card svg { color: var(--coral); width: 28px; height: 28px; margin-bottom: 10px; }
.contact-card span { font-size: 13px; color: var(--dim); }
.contact-card b { font-size: 16px; word-break: break-word; }
.contacts__map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.contacts__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.contacts__form { grid-column: 1 / -1; padding: 28px; border-radius: 28px; background: var(--grad-soft); border: 1px solid #ffe0d4; }
.contacts__form-title { font: 900 24px var(--font-display); margin-bottom: 16px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.review { margin: 0; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.review__stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review__stars svg { width: 18px; height: 18px; color: var(--line-2); }
.review__stars svg.on { color: var(--butter); fill: var(--butter); }
.review blockquote { margin: 0 0 14px; color: #4a4360; }
.empty-state { text-align: center; padding: 48px 24px; border-radius: 28px; border: 2px dashed var(--line-2); background: #fff; display: grid; justify-items: center; gap: 16px; }
.empty-state svg { width: 44px; height: 44px; color: var(--butter); }
.empty-state p { margin: 0; color: var(--muted); max-width: 520px; }
.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; }
.sitemap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.sitemap-list a:hover { color: #e0604a; }

/* ---------- Подвал ---------- */
.footer { padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px; border-radius: 34px; background: var(--grad); color: #fff; margin-bottom: 56px; box-shadow: 0 30px 60px -30px rgba(255, 111, 120, .8); }
.footer__cta .eyebrow { background: rgba(255, 255, 255, .22); color: #fff; }
.footer__cta-title { font: 900 clamp(22px, 2.8vw, 32px)/1.2 var(--font-display); max-width: 560px; }
.footer__cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__cta .btn--primary { background: #fff; color: #e0604a; box-shadow: none; }
.footer__cta .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__brand p { margin: 16px 0 0; font-size: 14px; max-width: 300px; }
.footer__title { font: 900 16px var(--font-display); margin-bottom: 14px; }
.footer__link { display: block; padding: 4px 0; font-size: 14px; color: var(--muted); transition: color .2s; }
.footer__link:hover { color: #e0604a; }
.footer__contact { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: 14px; color: var(--muted); }
.footer__contact svg { width: 18px; height: 18px; color: var(--coral); margin-top: 2px; }
a.footer__contact:hover { color: var(--text); }
.footer__social { display: flex; gap: 8px; margin-top: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

.mobile-bar { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1320px) {
    .nav__link--extra { display: none; }
}
@media (max-width: 1180px) {
    .nav__link { padding: 8px 9px; font-size: 14px; }
    .header__phone { display: none; }
}

@media (max-width: 1024px) {
    :root { --header-h: 66px; }
    .burger { display: block; }
    .header__cta { display: none; }
    .header__phone { display: inline-flex; font-size: 15px; }
    /* backdrop-filter у шапки делает её «контейнером» для fixed-меню — меню обрезалось по высоте шапки */
    .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
    .nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--header-h)); z-index: 49; margin: 0;
        overscroll-behavior: contain;
        flex-direction: column; align-items: stretch; gap: 4px; padding: 20px 24px 120px; overflow-y: auto;
        background: var(--bg);
        opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
    }
    .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open { overflow: hidden; }
    .nav__link { font-size: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; width: 100%; }
    .nav__link:hover { background: none; }
    .nav__link--extra { display: flex; }
    .mega { position: static; width: auto; padding: 8px 0 16px; border: 0; background: none; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; }
    .nav__item--mega.is-open .mega { display: block; }
    .mega__grid { grid-template-columns: 1fr; gap: 18px; }
    .mega__link { padding: 10px 0; font-size: 16px; border-bottom: 1px dashed var(--line); }
    .hero__grid, .page-hero__grid, .moms { grid-template-columns: 1fr; }
    .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
    .float-card--a { left: -8px; } .float-card--b { right: -8px; }
    .calc { grid-template-columns: 1fr; }
    .calc__summary { border-left: 0; border-top: 1px solid var(--line); }
    .steps { grid-template-columns: 1fr 1fr; }
    .bento { grid-template-columns: repeat(3, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
    .content-grid__aside { position: static; }
    .works { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .contacts { grid-template-columns: 1fr; }
    .page-hero__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
    body { font-size: 15px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .container { padding-inline: 16px; }
    .header__phone { display: none; }
    .hero__facts { grid-template-columns: 1fr 1fr; gap: 8px; }
    .hero__facts li { padding: 10px; gap: 8px; }
    .hero__facts svg { width: 36px; height: 36px; padding: 8px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .float-card { display: none; }
    .geo, .stains, .final, .lead-form__fields, .moms__grid { grid-template-columns: 1fr; }
    .steps, .bento { grid-template-columns: 1fr; }
    .works { grid-template-columns: 1fr 1fr; }
    .calc-item { grid-template-columns: 1fr auto; }
    .calc-item__price { grid-column: 1; grid-row: 2; }
    .calc-item .stepper { grid-column: 2; grid-row: 1 / span 2; }
    .price-board { grid-template-columns: 1fr; }
    .price-card__cols span, .price-row__val { width: 72px; }
    .contacts__cards { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__cta { padding: 24px; }
    .cta-inline { padding: 22px; }
    .moms { padding: 22px; border-radius: 30px; }
    .section__head { align-items: flex-start; }
    .search { width: 100%; }
    .mobile-bar {
        position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
        display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; padding: 6px; border-radius: 22px;
        background: rgba(255, 255, 255, .95); border: 1px solid var(--line); backdrop-filter: blur(12px);
        box-shadow: 0 16px 40px -12px rgba(91, 60, 40, .35);
    }
    .mobile-bar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 54px; border-radius: 16px; font-size: 12px; font-weight: 800; color: var(--muted); }
    .mobile-bar__btn svg { width: 20px; height: 20px; }
    .mobile-bar__btn--accent { background: var(--grad); color: #fff; }
    .modal__box { padding: 26px 20px; }
}

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