/* Мастерская чистоты — стили сайта v3 */
:root {
  --bg: #f5f3ec;
  --paper: #fffdf8;
  --ink: #0f1f1a;
  --ink-2: #33443d;
  --muted: #5d6d66;
  --green: #0d2f25;
  --green-2: #134a39;
  --green-3: #1d6a52;
  --lime: #cce86a;
  --lime-2: #b5d84a;
  --mint: #8fdcbc;
  --wa: #25d366;
  --line: rgba(13, 47, 37, .12);
  --line-2: rgba(13, 47, 37, .2);
  --shadow: 0 1px 2px rgba(13, 47, 37, .06), 0 12px 32px -12px rgba(13, 47, 37, .18);
  --shadow-lg: 0 30px 80px -30px rgba(13, 47, 37, .45);
  --r: 22px;
  --r-sm: 14px;
  --head: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.65 var(--body); overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(34px, 5.6vw, 68px); }
h2 { font-size: clamp(26px, 3.4vw, 42px); }
h3 { font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--lime); color: var(--green); }
:focus-visible { outline: 3px solid var(--lime-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip-link:focus { top: 12px; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green-3); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .eyebrow.light { color: var(--lime); }
.hl { color: var(--green-3); }
.on-dark .hl { color: var(--lime); }

/* Кнопки */
.btn { --b: var(--green); --c: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--b); color: var(--c); font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; }
.btn:hover { color: var(--c); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(13,47,37,.55); }
.btn:hover::after { transform: translateX(120%); }
.btn .ico { width: 20px; height: 20px; }
.btn-lime { --b: var(--lime); --c: var(--green); }
.btn-wa { --b: var(--wa); --c: #06301a; }
.btn-ghost { --b: transparent; --c: var(--green); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--green); }
.on-dark .btn-ghost { --c: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.on-dark .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.aside-card .btn-ghost, .est-result .btn-ghost { --c: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.aside-card .btn-ghost:hover, .est-result .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); text-decoration: none; }
.text-link .ico { width: 18px; transition: transform .25s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }

/* Шапка */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--lime), var(--mint)); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }
.topbar { background: var(--green); color: rgba(255,255,255,.78); font-size: 14px; }
.topbar .container { display: flex; gap: 24px; align-items: center; justify-content: space-between; min-height: 38px; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ico { width: 16px; height: 16px; color: var(--lime); }
.topbar a { color: #fff; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
/* Размытие на подложке: backdrop-filter на самой шапке ломает position: fixed у мобильного меню */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(245,243,236,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(13,47,37,.4); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 44px; height: 44px; border-radius: 13px; background: var(--green); display: grid; place-items: center; flex: none; box-shadow: 0 8px 18px -8px rgba(13,47,37,.7); }
.brand-mark svg { width: 30px; height: 30px; }
.brand strong { display: block; font: 800 15px/1.05 var(--head); letter-spacing: .02em; }
.brand small { display: block; font: 700 11px/1.3 var(--body); letter-spacing: .16em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button { position: relative; font: 700 15px/1 var(--body); color: var(--ink-2); text-decoration: none; padding: 12px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s; }
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button { background: rgba(13,47,37,.07); color: var(--green); }
.nav > a[aria-current="page"], .nav-drop.is-current > button { color: var(--green); background: rgba(204,232,106,.45); }
.nav-drop { position: relative; }
.nav-drop > button .ico { width: 16px; height: 16px; transition: transform .25s; }
.nav-drop.is-open > button .ico { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; width: min(880px, 92vw); transform: translate(-50%, 8px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.nav-drop.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) { .nav-drop:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .nav-drop:hover > button .ico { transform: rotate(180deg); } }
.mega-col h4 { font: 800 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 10px 12px 8px; }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .2s; }
.mega a:hover, .mega a[aria-current="page"] { background: rgba(204,232,106,.35); }
.mega a .ico { color: var(--green-3); margin-top: 2px; width: 22px; height: 22px; }
.mega b { display: block; font-size: 15px; line-height: 1.3; }
.mega span { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font: 800 16px/1 var(--body); color: var(--green); text-decoration: none; white-space: nowrap; }
.header-phone .ico { width: 20px; height: 20px; }
.header-cta { min-height: 46px; padding: 0 20px; font-size: 15px; }
.nav .nav-call { display: none; }
.wa-ico { width: 24px; height: 24px; flex: none; }
.btn .wa-ico { width: 22px; height: 22px; }
@media (min-width: 1081px) { .nav > a, .nav-drop > button, .brand strong, .brand small { white-space: nowrap; } }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--green); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 23px; } .menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1480px) { .header-cta { display: none; } }
@media (max-width: 1240px) and (min-width: 1081px) { .topbar span:last-child { display: none; } .nav > a, .nav-drop > button { padding: 12px 10px; } .brand small { display: none; } }
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .header-phone { margin-left: auto; }
  .brand { margin-right: 0; }
  .nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(420px, 100%); height: 100dvh; background: var(--paper); flex-direction: column; align-items: stretch; gap: 2px; padding: 96px 20px 28px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); z-index: -1; }
  .nav.is-open { transform: none; }
  .nav > a, .nav-drop > button { width: 100%; justify-content: space-between; padding: 15px 14px; font-size: 17px; border-radius: 12px; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; padding: 4px 0 8px; grid-template-columns: 1fr; background: transparent; }
  .nav-drop.is-open .mega { display: grid; transform: none; }
  .mega a span { display: none; }
  .nav .nav-call { display: flex; margin-top: 16px; justify-content: center; }
}
@media (max-width: 560px) { .header-inner { gap: 10px; min-height: 68px; } .brand { gap: 10px; min-width: 0; } .brand strong { font-size: 13px; } .brand-mark { width: 40px; height: 40px; } .header-phone span { display: none; } .header-phone { width: 48px; height: 48px; border-radius: 14px; background: var(--lime); justify-content: center; } .brand small { display: none; } .topbar { display: none; } }

/* Тёмные секции и фон */
.on-dark { position: relative; background: var(--green); color: rgba(255,255,255,.82); isolation: isolate; overflow: hidden; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:not(.btn) { color: var(--lime); }
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.aurora.a1 { width: 520px; height: 520px; background: #1f7a5c; top: -160px; right: -80px; }
.aurora.a2 { width: 420px; height: 420px; background: #7fae2e; bottom: -200px; left: -120px; opacity: .35; animation-duration: 22s; }
.aurora.a3 { width: 300px; height: 300px; background: #3fb98f; top: 40%; left: 45%; opacity: .25; animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.15); } }
.grid-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); }
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bubbles i { position: absolute; bottom: -60px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(204,232,106,.12) 45%, rgba(143,220,188,.28) 100%); box-shadow: inset 0 0 6px rgba(255,255,255,.35); animation: rise linear infinite; }
@keyframes rise { 0% { transform: translate(0, 0) scale(.8); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(40px, -110vh) scale(1.1); opacity: 0; } }

/* Главный экран */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(32px, 3.9vw, 54px); margin-bottom: 22px; }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--lime); }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .5s, transform .6s var(--ease); white-space: nowrap; }
.rotator > span.is-on { opacity: 1; transform: none; }
.rotator:not(.rot-js) > span:not(:first-child) { display: none; }
.rotator:not(.rot-js) > span:first-child { opacity: 1; transform: none; }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 600; color: #fff; }
.chips .ico { width: 17px; height: 17px; color: var(--lime); }

/* До/после */
.ba { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); background: #0a241c; user-select: none; touch-action: pan-y; }
.ba svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba .dirty { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 20px rgba(255,255,255,.6); }
.ba .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2f25' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .tag { position: absolute; top: 18px; padding: 7px 12px; border-radius: 999px; font: 800 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.ba .tag-before { right: 18px; background: rgba(0,0,0,.55); color: #fff; }
.ba .tag-after { left: 18px; background: var(--lime); color: var(--green); }
.ba-caption { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.7); }
.hero-visual { position: relative; }
.float-card { position: absolute; z-index: 3; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.3; animation: bob 6s ease-in-out infinite; }
.float-card b { display: block; font: 800 15px/1.2 var(--head); }
.float-card .ico { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--lime); color: var(--green); }
.float-card.fc1 { left: -34px; bottom: 22%; }
.float-card.fc2 { right: -20px; top: 10%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Бегущая строка */
.marquee { background: var(--lime); color: var(--green); overflow: hidden; border-block: 1px solid rgba(13,47,37,.15); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 18px; padding: 18px 18px; font: 700 clamp(16px, 1.6vw, 20px)/1 var(--head); white-space: nowrap; }
.marquee span::after { content: "✦"; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Секции */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 760px; }
.section-head p { max-width: 520px; margin: 14px 0 0; color: var(--muted); }
.on-dark .section-head p { color: rgba(255,255,255,.7); }
.paper { background: var(--paper); }

/* Карточки */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-5 .card { padding: 22px; }
.grid-5 .card h3 { font-size: 17px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -200px), rgba(204,232,106,.35), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); color: var(--ink); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(204,232,106,.45); color: var(--green); margin-bottom: 20px; transition: transform .35s var(--ease), background .35s; }
.card-icon .ico { width: 28px; height: 28px; }
a.card:hover .card-icon { transform: rotate(-8deg) scale(1.06); background: var(--lime); }
.card .more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--green); }
.card .more .ico { width: 18px; transition: transform .25s var(--ease); }
a.card:hover .more .ico { transform: translateX(5px); }
.card .num { position: absolute; top: 22px; right: 24px; font: 700 13px/1 var(--head); color: rgba(13,47,37,.3); }
.on-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #fff; }
.on-dark .card p { color: rgba(255,255,255,.7); }
.on-dark .card-icon { background: rgba(204,232,106,.15); color: var(--lime); }

/* Бенто услуг */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento > * { grid-column: span 3; }
.bento > .wide { grid-column: span 6; }
.bento > .feature { grid-column: span 6; grid-row: span 2; background: var(--green); color: #fff; border-color: transparent; justify-content: flex-end; min-height: 380px; }
.bento > .feature h3 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); }
.bento > .feature p { color: rgba(255,255,255,.75); font-size: 16.5px; }
.bento > .feature .card-icon { background: var(--lime); color: var(--green); position: absolute; top: 26px; left: 26px; }
.bento > .feature { padding-top: 110px; }
.bento > .feature .big-ico { position: absolute; right: -24px; bottom: -24px; width: 280px; height: 280px; opacity: .08; color: #fff; stroke-width: 1.1; z-index: -1; }
.bento > .feature .more { color: var(--lime); }
.bento > .feature::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(204,232,106,.35), transparent 65%); z-index: -1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags span { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(13,47,37,.06); color: var(--ink-2); }
.feature .tags span { background: rgba(255,255,255,.1); color: #fff; }

/* Две аудитории */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo-card { position: relative; border-radius: 28px; padding: clamp(28px, 4vw, 48px); overflow: hidden; isolation: isolate; min-height: 420px; display: flex; flex-direction: column; }
.duo-card.home { background: linear-gradient(160deg, #e9f5c9, #d6ecb0); }
.duo-card.biz { background: var(--green); color: rgba(255,255,255,.82); }
.duo-card.biz h3 { color: #fff; }
.duo-card h3 { font-size: clamp(24px, 2.6vw, 34px); }
.duo-card ul { list-style: none; display: grid; gap: 10px; margin: 18px 0 28px; }
.duo-card li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.duo-card li .ico { width: 20px; height: 20px; color: var(--green-3); }
.duo-card.biz li .ico { color: var(--lime); }
.duo-card .btn { align-self: flex-start; margin-top: auto; }
.duo-card .big-ico { position: absolute; right: -30px; bottom: -30px; width: 240px; height: 240px; opacity: .1; z-index: -1; stroke-width: 1.2; }

/* Шаги */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; counter-reset: s; }
.steps li { position: relative; padding: 26px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.on-dark .steps li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.step-n { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--green); font: 800 17px/1 var(--head); margin-bottom: 18px; box-shadow: 0 0 0 8px rgba(204,232,106,.18); }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.on-dark .steps p { color: rgba(255,255,255,.7); }
.steps-compact { grid-template-columns: repeat(2, 1fr); }

/* Цифры-факты */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { padding: 26px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.fact strong { display: block; font: 700 clamp(34px, 4vw, 52px)/1 var(--head); color: var(--lime); margin-bottom: 10px; letter-spacing: -.03em; }
.fact span { font-size: 15px; color: rgba(255,255,255,.75); }

/* Контент внутренних страниц */
.page-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 58px); max-width: 900px; }
.page-hero .hero-lead { max-width: 760px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 26px; color: rgba(255,255,255,.6); }
.breadcrumbs a { color: rgba(255,255,255,.85) !important; text-decoration: none; }
.breadcrumbs a:hover { color: var(--lime) !important; }
.breadcrumbs .sep { opacity: .5; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.block { margin-bottom: clamp(44px, 5vw, 64px); }
.block:last-child { margin-bottom: 0; }
.prose { max-width: 760px; }
.prose p { color: var(--ink-2); }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; color: var(--ink-2); }
.include-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.include-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.include-list li .ico { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: rgba(204,232,106,.45); color: var(--green); }
.include-list b { display: block; font-size: 16px; line-height: 1.3; margin-bottom: 3px; }
.include-list span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.note { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r); background: linear-gradient(135deg, rgba(204,232,106,.45), rgba(143,220,188,.3)); border: 1px solid rgba(13,47,37,.1); }
.note .ico { width: 30px; height: 30px; color: var(--green); }
.note p { margin: 0; color: var(--ink); font-weight: 600; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2f25' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.toc { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.toc h3 { font-size: 16px; margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 4px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 600; }
.toc a:hover { background: rgba(204,232,106,.35); color: var(--green); }

/* Боковая панель */
.sticky-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-card { border-radius: var(--r); padding: 26px; background: var(--green); color: rgba(255,255,255,.8); position: relative; overflow: hidden; isolation: isolate; }
.aside-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(204,232,106,.4), transparent 65%); z-index: -1; }
.aside-card h3 { color: #fff; font-size: 22px; }
.aside-card p { font-size: 15px; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card .hours { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.65); }
.aside-card .hours .ico { width: 18px; height: 18px; color: var(--lime); }
.aside-links { border-radius: var(--r); padding: 22px; background: var(--paper); border: 1px solid var(--line); }
.aside-links h3 { font-size: 16px; margin-bottom: 10px; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.aside-links a:first-of-type { border-top: 0; }
.aside-links a:hover { color: var(--green); }
.aside-links .ico { width: 16px; height: 16px; color: var(--green-3); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 22px; font-weight: 800; font-size: 16.5px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(204,232,106,.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2f25' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq-body { padding: 0 22px 20px; color: var(--ink-2); }
.faq-body p:last-child { margin: 0; }

/* Районы */
.district-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.district-grid li { display: flex; gap: 10px; align-items: center; padding: 16px 18px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); font-weight: 700; }
.district-grid .ico { width: 20px; height: 20px; color: var(--green-3); }
.on-dark .district-grid li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #fff; }
.on-dark .district-grid .ico { color: var(--lime); }

/* Калькулятор */
.estimator { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; border-radius: 28px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.est-form { padding: clamp(22px, 3vw, 36px); display: grid; gap: 24px; }
.est-group > b { display: block; font: 700 15px/1.3 var(--head); margin-bottom: 12px; }
.est-options { display: flex; flex-wrap: wrap; gap: 8px; }
.est-options label { position: relative; cursor: pointer; }
.est-options input { position: absolute; opacity: 0; pointer-events: none; }
.est-options span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: 14.5px; transition: background .2s, border-color .2s, color .2s; background: #fff; }
.est-options label:hover span { border-color: var(--green-3); }
.est-options input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.est-options input:focus-visible + span { outline: 3px solid var(--lime-2); outline-offset: 2px; }
.est-range { display: flex; align-items: center; gap: 16px; }
.est-range output { min-width: 92px; font: 700 20px/1 var(--head); color: var(--green); text-align: right; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--green-3) var(--p, 30%), rgba(13,47,37,.12) var(--p, 30%)); outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); border: 4px solid var(--green); cursor: grab; box-shadow: 0 4px 12px rgba(13,47,37,.35); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 4px solid var(--green); cursor: grab; }
.est-result { background: var(--green); color: rgba(255,255,255,.8); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; isolation: isolate; }
.est-result::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(204,232,106,.35), transparent 65%); z-index: -1; }
.est-result h3 { color: #fff; margin: 0; }
.est-summary { white-space: pre-line; font-size: 14.5px; line-height: 1.6; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px; margin: 0; flex: 1; min-height: 160px; }
.est-result .btn { width: 100%; }
.est-result small { color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.5; }

/* Модальное окно расчёта */
dialog.calc-dialog { width: min(980px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px; background: transparent; overflow: auto; }
dialog.calc-dialog::backdrop { background: rgba(6, 20, 15, .62); backdrop-filter: blur(6px); }
dialog.calc-dialog[open] { animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.calc-close { position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.calc-close:hover { background: var(--green-3); }
@media (max-width: 760px) { .est-options span { min-height: 38px; padding: 0 12px; font-size: 13.5px; } .est-form { gap: 18px; } }
.calc-wrap { position: relative; }
.calc-wrap .estimator { border: 0; }

/* Форма */
.cta-band { border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); }
.cta-contacts { display: grid; gap: 12px; margin-top: 26px; }
.cta-contacts a { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 18px; color: #fff !important; text-decoration: none; }
.cta-contacts .ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: rgba(255,255,255,.08); color: var(--lime); transition: background .25s; }
.cta-contacts a:hover .ico { background: var(--lime); color: var(--green); }
.cta-contacts small { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); }
.request-form { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.request-form h3, .on-dark .request-form h3 { margin-bottom: 6px; color: var(--ink); }
.on-dark .request-form a:not(.btn) { color: var(--green-3); }
.request-form > p { color: var(--muted); font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.field { display: grid; gap: 7px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; padding: 12px 16px; font: 500 16px/1.4 var(--body); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-3); box-shadow: 0 0 0 4px rgba(204,232,106,.5); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-bottom: 18px; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn { flex: 1 1 200px; }
.form-notice { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.status { font-weight: 700; color: var(--green-3); margin: 10px 0 0; min-height: 1px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Контакты */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.contact-card .ico { width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: rgba(204,232,106,.45); color: var(--green); }
.contact-card small { display: block; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.contact-card b { font-size: 17px; word-break: break-word; }

/* Подвал */
.site-footer { background: #08201a; color: rgba(255,255,255,.65); padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.site-footer .brand { display: flex; color: #fff; margin-bottom: 18px; padding: 0; }
.site-footer .brand small { color: rgba(255,255,255,.5); }
.site-footer h4 { color: #fff; font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 16px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { margin-top: 56px; padding: 22px 0 110px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.45); }
.footer-bottom a { display: inline; padding: 0; }

/* Плавающие кнопки */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease), box-shadow .3s; }
.fab-btn:hover { transform: scale(1.08); }
.fab-btn .ico { width: 28px; height: 28px; }
.fab-btn svg.wa-ico { width: 32px; height: 32px; }
.fab-call { background: var(--green); color: var(--lime); }
.fab-call::before, .fab-call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green-3); animation: ring 2.4s ease-out infinite; }
.fab-call::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.fab-call .ico { animation: shake 3.2s ease-in-out infinite; }
@keyframes shake { 0%, 80%, 100% { transform: none; } 84% { transform: rotate(-16deg); } 88% { transform: rotate(14deg); } 92% { transform: rotate(-10deg); } 96% { transform: rotate(6deg); } }
.fab-wa { background: var(--wa); color: #fff; }
.fab-calc { width: auto; height: 58px; padding: 0 22px 0 18px; border-radius: 999px; gap: 10px; background: var(--lime); color: var(--green); font: 800 15.5px/1 var(--body); }
.fab-calc .ico { width: 24px; height: 24px; }
.fab-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: var(--green); color: #fff; font: 700 13.5px/1 var(--body); padding: 9px 12px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.fab-btn:hover .fab-tip, .fab-btn:focus-visible .fab-tip { opacity: 1; transform: translate(0, -50%); }
.fab-top { width: 48px; height: 48px; background: var(--paper); color: var(--green); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.fab-top.is-on { opacity: 1; visibility: visible; transform: none; }
.fab-top svg.ring { position: absolute; inset: 0; width: 48px; height: 48px; transform: rotate(-90deg); }
.fab-top svg.ring circle { fill: none; stroke: var(--lime-2); stroke-width: 3; stroke-dasharray: 138; stroke-dashoffset: 138; }
.fab-top .ico { width: 20px; height: 20px; }

.mobile-bar { display: none; }
@media (max-width: 760px) {
  .fab { right: 14px; bottom: 84px; gap: 10px; }
  .fab-call, .fab-wa, .fab-calc { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,253,248,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(13,47,37,.45); }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; border-radius: 16px; border: 0; font: 800 13px/1 var(--body); text-decoration: none; cursor: pointer; }
  .mobile-bar .ico { width: 22px; height: 22px; }
  .mobile-bar svg.wa-ico { width: 22px; height: 22px; }
  .mb-call { background: var(--green); color: #fff; }
  .mb-wa { background: var(--wa); color: #06301a; }
  .mb-calc { background: var(--lime); color: var(--green); }
  .footer-bottom { padding-bottom: 100px; }
}

/* Появление */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.split-words .w { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split-words.is-visible .w { opacity: 1; transform: none; }
.split-words .rotator.w { display: inline-grid; }
.hero h1, .page-hero h1 { animation: rise-in .9s var(--ease) both; }
.hero .hero-lead, .page-hero .hero-lead { animation: rise-in .9s .12s var(--ease) both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }

/* Адаптив */
@media (max-width: 1080px) {
  .hero-grid, .page-layout, .cta-band, .estimator { grid-template-columns: 1fr; }
  .sticky-aside { position: static; }
  .grid-4, .facts, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento > .wide { grid-column: span 6; }
  .bento > .feature { grid-column: span 12; grid-row: auto; min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .district-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-visual { max-width: 560px; }
  .float-card.fc1 { left: -8px; } .float-card.fc2 { right: -8px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .duo, .include-list, .contact-cards, .form-grid, .steps-compact { grid-template-columns: 1fr; }
  .bento > *, .bento > .wide { grid-column: span 12; }
  .district-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid-5 .card { padding: 16px; }
  .grid-5 .card h3 { font-size: 15px; }
  .grid-5 .card p, .grid-5 .card .num { display: none; }
  .grid-5 .card-icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .grid-5 .card .more { padding-top: 10px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { display: none; }
  .duo-card { min-height: 0; }
  .section-head { align-items: flex-start; }
}
@media (max-width: 520px) {
  .facts, .steps { grid-template-columns: 1fr; }
  .district-grid { grid-template-columns: 1fr; }
  .card, .steps li, .fact { padding: 22px; }
}
@media print { .fab, .mobile-bar, .site-header, .topbar, .marquee { display: none !important; } .on-dark { background: #fff; color: #000; } }
