/* ═══ Главная ═══ */

/* ── 00 · Первый экран: шершавая стена → шпатель → идеальная гладь ── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr) + 40px) 0 150px; overflow: hidden; background: var(--plaster-2); isolation: isolate; }
.hero__wall { position: absolute; inset: 0; z-index: -1; }
.hero__rough { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__smooth { position: absolute; inset: 0; background: radial-gradient(120% 95% at 18% 22%, #FFFFFF 0%, #F7F8FA 42%, #EBEEF2 100%); clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); will-change: clip-path; }
.hero__smooth svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__ridge { position: absolute; top: -10%; left: 0; width: 70px; height: 120%; margin-left: -64px; transform-origin: 64px 50%; pointer-events: none; will-change: transform;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .7) 55%, #FFFFFF 86%, rgba(176, 186, 201, .9) 92%, rgba(11, 21, 48, .18) 100%); filter: blur(.6px); }
.hero__spatula { position: absolute; left: 0; top: 50%; height: min(58vh, 460px); aspect-ratio: 1 / 3; margin-top: calc(min(58vh, 460px) / -2); margin-left: -8px; transform-origin: 8% 50%; will-change: transform; filter: drop-shadow(22px 26px 20px rgba(11, 21, 48, .30)); }
.hero__spatula svg { width: 100%; height: 100%; }
.hero__ghost { position: absolute; right: -1.5vw; bottom: -5vw; z-index: 0; font-family: var(--f-disp); font-weight: 900; font-size: clamp(170px, 29vw, 470px); line-height: .78; letter-spacing: -.02em; color: var(--ink); opacity: .055; pointer-events: none; user-select: none; }
.hero__side { position: absolute; left: 20px; top: 50%; z-index: 1; writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.corner { position: absolute; width: 22px; height: 22px; z-index: 1; opacity: .4; border: 0 solid var(--ink); }
.corner--tl { top: calc(var(--hdr) + 18px); left: 18px; border-width: 1.5px 0 0 1.5px; }
.corner--tr { top: calc(var(--hdr) + 18px); right: 18px; border-width: 1.5px 1.5px 0 0; }
.corner--bl { bottom: 18px; left: 18px; border-width: 0 0 1.5px 1.5px; }
.corner--br { bottom: 18px; right: 18px; border-width: 0 1.5px 1.5px 0; }

.hero__in { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 22px; }
.hero__title { font-family: var(--f-disp); font-weight: 900; font-size: clamp(56px, 7.4vw, 126px); line-height: .88; letter-spacing: -.01em; text-transform: uppercase; margin: 0; }
.ln > span { white-space: nowrap; }
.ln { display: block; overflow: hidden; padding: .02em 0 .06em; margin-bottom: -.06em; }
.ln > span { display: inline-block; }
.mark { font-style: normal; color: var(--blue); position: relative; display: inline-block; }
.mark svg { position: absolute; left: -1%; bottom: -.02em; width: 102%; height: .2em; overflow: visible; }
.mark path { fill: none; stroke: var(--tape); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 0; }
.hero__sub { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 34ch; margin: 28px 0 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__facts { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 2; list-style: none; margin: 0 auto; display: flex; }
.hero__facts li { display: flex; align-items: center; gap: 12px; padding: 0 28px; border-left: 1px solid rgba(11, 21, 48, .16); }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
.hero__facts b { font-family: var(--f-disp); font-weight: 800; font-size: 28px; line-height: 1; white-space: nowrap; }
.hero__facts span { font-size: 13px; line-height: 1.25; color: var(--ink-2); }
.hero__scroll { position: absolute; right: var(--gut); bottom: 40px; z-index: 2; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.hero__scroll i { position: relative; width: 1.5px; height: 46px; background: rgba(11, 21, 48, .2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* Порядок появления первого экрана */
.js .hero__title .ln > span { transform: translateY(108%); transition: transform 1.15s var(--ease); }
.js .hero__title .ln:nth-child(2) > span { transition-delay: .12s; }
.js .mark path { stroke-dashoffset: 320; transition: stroke-dashoffset 1s var(--ease) 1.5s; }
.js .hero__eyebrow, .js .hero__sub, .js .hero__cta, .js .hero__facts, .js .hero__scroll { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero__sub { transition-delay: .35s; }
.js .hero__cta { transition-delay: .5s; }
.js .hero__facts { transition-delay: .8s; }
.js .hero__scroll { transition-delay: 1.1s; }
.is-ready .hero__title .ln > span, .is-ready .hero__eyebrow, .is-ready .hero__sub, .is-ready .hero__cta, .is-ready .hero__facts, .is-ready .hero__scroll { transform: none; opacity: 1; }
.is-ready .mark path { stroke-dashoffset: 0; }

/* ── 01 · О компании ── */
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px 80px; align-items: end; }
.about__text { display: grid; gap: 18px; }
.about__text p { margin: 0; color: var(--ink-2); }
.about__text .lead { color: var(--ink); }
.facts { margin-top: clamp(50px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.fact { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 4px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fact__num { font-family: var(--f-disp); font-weight: 900; font-size: clamp(66px, 7.4vw, 110px); line-height: .86; color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.fact__num small { font-size: .45em; color: var(--ink-3); font-weight: 800; margin-left: 2px; }
.fact__num--word { color: var(--ink); }
.fact__sub { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; max-width: 22ch; }

/* ── 02 · Почему мы ── */
.why { background-color: var(--navy); background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 48px 48px; }
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px 90px; align-items: start; }
.why__aside { position: sticky; top: calc(var(--hdr) + 40px); }
.why__lead { color: #A9B3CC; margin: 26px 0 0; max-width: 40ch; font-size: 18px; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.wcard { position: relative; padding: 30px 84px 30px 112px; border-radius: 20px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); overflow: hidden; transition: background .35s, border-color .35s, transform .5s var(--ease); }
.wcard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%); transform: translateX(-100%); transition: transform 1s var(--ease); }
.wcard:hover { background: rgba(255, 255, 255, .06); border-color: rgba(242, 183, 5, .4); transform: translateX(8px); }
.wcard:hover::before { transform: translateX(100%); }
.wcard__n { position: absolute; left: 28px; top: 22px; font-family: var(--f-disp); font-weight: 900; font-size: 62px; line-height: 1; color: transparent; -webkit-text-stroke: 1.3px rgba(255, 255, 255, .35); transition: color .35s, -webkit-text-stroke-color .35s; }
.wcard:hover .wcard__n { color: var(--tape); -webkit-text-stroke-color: var(--tape); }
.wcard__ico { position: absolute; right: 28px; top: 28px; width: 36px; height: 36px; fill: none; stroke: var(--tape); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.wcard h3 { font-size: 22px; font-weight: 600; margin: 0 0 8px; line-height: 1.25; }
.wcard p { margin: 0; color: #A9B3CC; font-size: 16px; }

/* ── 03 · До и после ── */
.ba__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 36px; flex-wrap: wrap; }
.ba__dash { color: var(--blue); }
.ba__lead { max-width: 32ch; color: var(--ink-2); margin: 0; font-size: 18px; }
.ba__stage { --x: 50%; position: relative; aspect-ratio: 16 / 8; border-radius: 24px; overflow: hidden; cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y; box-shadow: var(--shadow-lg); background: #ccc; }
.ba__img { position: absolute; inset: 0; }
.ba__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10%; }
.ba__before::after { background: linear-gradient(#A8A49C, #8E8A82); box-shadow: 0 -2px 0 rgba(0, 0, 0, .12); }
.ba__before svg { width: 100%; height: 100%; }
.ba__patch { position: absolute; inset: 0; background:
  radial-gradient(9% 14% at 22% 36%, rgba(120, 112, 100, .32), transparent 70%),
  radial-gradient(6% 9% at 64% 58%, rgba(255, 255, 255, .55), transparent 70%),
  radial-gradient(12% 8% at 78% 30%, rgba(120, 112, 100, .25), transparent 70%),
  linear-gradient(115deg, transparent 47%, rgba(70, 64, 56, .35) 47.3%, transparent 47.8%) 30% 20% / 40% 60% no-repeat; }
.ba__after { clip-path: inset(0 0 0 var(--x)); }
.ba__paint { position: absolute; inset: 0; background: var(--paint, #D9D3C7); transition: background .6s; }
.ba__light { position: absolute; inset: 0; background: linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, .26) 19%, rgba(255, 255, 255, .26) 33%, transparent 34%, transparent 38%, rgba(255, 255, 255, .18) 39%, rgba(255, 255, 255, .18) 50%, transparent 51%), radial-gradient(70% 100% at 12% 0%, rgba(255, 255, 255, .5), transparent 62%), linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .1)); }
.ba__after::after { background: linear-gradient(180deg, #fff 0 14%, #E9E6E0 14% 18%, #B98E63 18%, #9C744D); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(11, 21, 48, .25); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); }
.ba__stage:hover .ba__handle span, .ba__stage.is-drag .ba__handle span { transform: scale(1.1); }
.ba__handle svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba__tag { position: absolute; top: 18px; padding: 7px 13px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.ba__tag--l { left: 18px; background: rgba(11, 21, 48, .72); color: #fff; }
.ba__tag--r { right: 18px; background: var(--tape); color: var(--ink); }
.ba__meta { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; margin-top: 24px; flex-wrap: wrap; }
.ba__cap { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ba__cap b { font-family: var(--f-disp); font-weight: 800; font-size: 27px; text-transform: uppercase; line-height: 1.05; }
.ba__cap span { color: var(--ink-2); font-size: 15.5px; }
.ba__cap a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ba__cap a:hover { text-decoration-color: var(--tape); }
.ba__nav { display: flex; align-items: center; gap: 10px; }
.ba__count { font-family: var(--f-mono); font-size: 13px; color: var(--ink-3); margin-right: 6px; font-variant-numeric: tabular-nums; }
.ba__fade { animation: bafade .7s var(--ease); }
@keyframes bafade { from { opacity: .2; filter: blur(6px); } }

/* ── 04 · Отзывы ── */
.reviews { background: var(--plaster); }
.reviews__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px 40px; margin-bottom: 40px; flex-wrap: wrap; }
.reviews__top .h2 { max-width: 12ch; }
.rates { display: flex; gap: 12px; flex-wrap: wrap; }
.rate { display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease), background .3s, color .3s; }
.rate:hover { transform: translateY(-3px); background: var(--ink); color: #fff; }
.rate b { font-family: var(--f-disp); font-weight: 900; font-size: 52px; line-height: .9; }
.rate span { display: flex; flex-direction: column; gap: 3px; font-weight: 600; font-size: 15px; line-height: 1.2; }
.rate small { font-weight: 400; font-size: 13px; color: var(--ink-3); }
.rate:hover small { color: #A9B3CC; }
.rv__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rv__track::-webkit-scrollbar { display: none; }
.rv__card { scroll-snap-align: start; margin: 0; position: relative; padding: 30px 28px 26px; border-radius: 22px; background: #fff; display: flex; flex-direction: column; gap: 18px; min-height: 270px; box-shadow: var(--shadow); overflow: hidden; }
.rv__card::before { content: "“"; position: absolute; right: 22px; top: -14px; font-family: var(--f-disp); font-weight: 900; font-size: 150px; line-height: 1; color: var(--blue-3); }
.rv__card blockquote { margin: 0; font-size: 18px; line-height: 1.5; flex: 1; position: relative; }
.rv__card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.rv__card figcaption b { font-size: 15.5px; }
.rv__card figcaption span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rv__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* ── 05 · Каталог на перфорированной стене ── */
.sec--peg { background-color: #EEF1F5; background-image: radial-gradient(circle, #CDD4DE 2.4px, transparent 2.9px), radial-gradient(circle, rgba(255, 255, 255, .9) 2.4px, transparent 2.9px); background-size: 30px 30px, 30px 30px; background-position: 0 0, 0 1.2px; }
.catalog__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: 50px; flex-wrap: wrap; }
.catalog__side { max-width: 380px; display: grid; gap: 18px; justify-items: start; }
.catalog__side p { margin: 0; color: var(--ink-2); font-size: 18px; }
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }
.catc { position: relative; display: flex; flex-direction: column; padding: 34px 22px 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); transform-origin: 50% 18px; transition: box-shadow .35s; }
.catc::before { content: ""; position: absolute; top: 12px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, #B5BECC 55%, #7D879A); box-shadow: 0 2px 3px rgba(11, 21, 48, .3); }
.catc:hover { box-shadow: var(--shadow-lg); animation: swing 1.2s var(--ease); }
@keyframes swing { 25% { transform: rotate(-3.2deg); } 55% { transform: rotate(2deg); } 80% { transform: rotate(-.8deg); } 100% { transform: rotate(0); } }
.catc__art { width: 76%; aspect-ratio: 1; margin: 2px auto 8px; transition: transform .6s var(--ease); }
.catc:hover .catc__art { transform: translateY(-4px) scale(1.06); }
.catc__name { font-family: var(--f-disp); font-weight: 800; font-size: 25px; line-height: .98; text-transform: uppercase; margin: 0; hyphens: manual; }
.catc__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-3); }
.catc__foot i { width: 36px; height: 36px; border-radius: 50%; background: var(--plaster); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.catc__foot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.catc:hover .catc__foot i { background: var(--blue); color: #fff; transform: rotate(-45deg); }
.catc__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }

/* ── 06 · Подбор материалов ── */
.quiz { background: var(--plaster); }
.quiz__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 50px 80px; align-items: start; }
.quiz__aside { position: sticky; top: calc(var(--hdr) + 40px); }
.quiz__aside > p { color: var(--ink-2); margin: 24px 0 0; max-width: 40ch; font-size: 18px; }
.qsteps { list-style: none; counter-reset: q; margin: 36px 0 0; padding: 0; display: grid; max-width: 360px; }
.qsteps li { counter-increment: q; display: flex; align-items: center; gap: 14px; padding: 11px 0; font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--line); transition: color .3s; }
.qsteps li::before { content: counter(q, decimal-leading-zero); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; transition: all .35s var(--ease); }
.qsteps li.is-now { color: var(--ink); }
.qsteps li.is-now::before { background: var(--tape); color: var(--ink); box-shadow: none; transform: scale(1.08); }
.qsteps li.is-done { color: var(--ink-2); }
.qsteps li.is-done::before { content: "✓"; background: var(--ink); color: #fff; box-shadow: none; }
.qcard { position: relative; background: #fff; border-radius: 28px; padding: clamp(24px, 3.4vw, 46px); box-shadow: var(--shadow-lg); min-height: 560px; display: flex; flex-direction: column; overflow: hidden; }
.qcard__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.qbar { position: relative; height: 8px; border-radius: 999px; background: var(--plaster-2); margin: 14px 0 32px; overflow: hidden; }
.qbar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--s, 0) * 20%); background: var(--blue); border-radius: 999px; transition: width .7s var(--ease); }
.qbar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 2px), #fff calc(20% - 2px) 20%); }
.qbody { display: flex; flex-direction: column; flex: 1; animation: qin .55s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateX(26px); } }
.qbody h3 { font-family: var(--f-disp); font-weight: 800; font-size: clamp(34px, 3.4vw, 50px); line-height: .96; text-transform: uppercase; margin: 0 0 26px; }
.qopts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qopt { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 18px; text-align: left; font-weight: 600; font-size: 16.5px; line-height: 1.25; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .3s var(--ease), background .25s, color .25s; }
.qopt:hover { box-shadow: inset 0 0 0 2px var(--ink); background: var(--plaster); }
.qopt.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.qopt small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.qopt.is-on small { color: #A9B3CC; }
.qopt__ico { width: 44px; height: 44px; border-radius: 13px; background: var(--plaster); display: grid; place-items: center; flex: none; transition: background .25s; }
.qopt__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qopt.is-on .qopt__ico { background: rgba(255, 255, 255, .12); }
.qopt.is-on .qopt__ico svg { stroke: var(--tape); }
.qarea { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.qarea input { width: 220px; max-width: 100%; border: 0; border-bottom: 3px solid var(--ink); font-family: var(--f-disp); font-weight: 800; font-size: 88px; line-height: 1; padding: 0 0 4px; outline: none; background: transparent; font-variant-numeric: tabular-nums; }
.qarea input:focus { border-color: var(--blue); }
.qarea span { font-family: var(--f-disp); font-weight: 800; font-size: 40px; color: var(--ink-3); padding-bottom: 10px; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip { padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15px; transition: all .2s; }
.qchip:hover, .qchip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.qfoot { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qback { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); padding: 8px 4px; }
.qback:hover { color: var(--ink); }
.qback svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qres__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -10px 0 20px; }
.qres__chips span { padding: 5px 11px; border-radius: 999px; background: var(--plaster); font-size: 13.5px; color: var(--ink-2); }
.qlist { list-style: none; margin: 0; padding: 0; }
.qitem { display: grid; grid-template-columns: 26px 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: qin .5s var(--ease) both; }
.qitem__n { font-family: var(--f-mono); font-size: 12.5px; color: var(--blue); }
.qitem__art { width: 54px; height: 54px; border-radius: 12px; background: var(--plaster); padding: 3px; }
.qitem__name { font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.qitem__name a:hover { color: var(--blue); }
.qitem__tip { display: block; font-size: 13px; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.qitem__q { text-align: right; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.qitem__q small { display: block; color: var(--ink-3); font-size: 12.5px; }
.qtotal { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; }
.qtotal b { font-family: var(--f-disp); font-weight: 800; font-size: 34px; font-variant-numeric: tabular-nums; }
.qnote { font-size: 13px; color: var(--ink-3); margin: 0; }

/* ── 07 · Контакты ── */
.contacts { background-color: var(--navy); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px 70px; align-items: stretch; }
.cinfo { margin: 34px 0 30px; display: grid; }
.cinfo div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.cinfo dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8E9AB8; padding-top: 4px; }
.cinfo dd { margin: 0; font-size: 18.5px; line-height: 1.4; }
.cinfo dd small { display: block; font-size: 14px; color: #A9B3CC; }
.cinfo a:hover { color: var(--tape); }
.contacts__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; min-height: 480px; border-radius: 26px; overflow: hidden; background: var(--navy-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.03); }
/* Карта «заморожена», как в NERO: свайп и колесо листают страницу, карта не дёргается */
.map iframe { pointer-events: none; }
.map.is-active iframe { pointer-events: auto; }
.map__shield { position: absolute; inset: 0; z-index: 1; cursor: pointer; background: transparent; -webkit-tap-highlight-color: transparent; }
.map.is-active .map__shield { display: none; }
.map__hint { position: absolute; top: 14px; left: 14px; z-index: 1; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(10, 20, 51, .82); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 6px 18px rgba(10, 20, 51, .3); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.map__hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.map.is-active .map__hint { opacity: 0; transform: translateY(-4px); }

/* ── Адаптив ── */
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv__track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 900px) {
  .hero { padding-bottom: 210px; }
  .hero__side, .corner--tr, .corner--tl { display: none; }
  .hero__facts { flex-wrap: wrap; gap: 14px 0; bottom: 30px; }
  .hero__facts li { padding: 0 18px; }
  .hero__facts li:last-child { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .hero__scroll { display: none; }
  .hero__spatula { height: 300px; margin-top: -150px; }
  .about__grid, .why__grid, .quiz__grid, .contacts__grid { grid-template-columns: 1fr; }
  .why__aside, .quiz__aside { position: static; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .ba__stage { aspect-ratio: 4 / 3; }
  .map { min-height: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(40px, 12.2vw, 64px); }
  .ln > span { white-space: normal; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .hero__facts li, .hero__facts li:last-child { padding: 0; border: 0; flex-basis: auto; }
  .hero__facts li:last-child { grid-column: 1 / -1; }
  .hero__facts b { font-size: 22px; }
  .wcard { padding: 84px 22px 24px; }
  .wcard__n { left: 22px; top: 18px; font-size: 52px; }
  .wcard__ico { right: 22px; top: 24px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .catc { padding: 30px 14px 14px; }
  .catc__name { font-size: 20px; }
  .rv__track { grid-auto-columns: 86%; }
  .qopts { grid-template-columns: 1fr; }
  .qarea input { font-size: 68px; width: 170px; }
  .qitem { grid-template-columns: 46px minmax(0, 1fr); grid-template-areas: "art name" "art q"; gap: 4px 12px; }
  .qitem__n { display: none; }
  .qitem__art { grid-area: art; width: 46px; height: 46px; }
  .qitem__name { grid-area: name; }
  .qitem__q { grid-area: q; text-align: left; }
  .cinfo div { grid-template-columns: 1fr; gap: 4px; }
  .ba__cap b { font-size: 22px; }
}

/* ═══ Движение и новые элементы ═══ */

/* Заголовки поднимаются по словам */
.js .split.reveal { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em 0 .08em; margin: -.04em 0 -.08em; }
.split .w > span { display: inline-block; transform: translateY(108%) rotate(5deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.split.in .w > span { transform: none; }

/* Бегущие ленты — «малярный скотч» */
.mq { --skew: 0deg; position: relative; z-index: 3; overflow: hidden; white-space: nowrap; transform: rotate(-1.6deg) skewX(var(--skew)); margin: -26px -2% -10px; padding: 14px 0; }
.mq--tape { background: var(--tape); box-shadow: 0 10px 24px -14px rgba(11, 21, 48, .5);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px), repeating-linear-gradient(0deg, rgba(0, 0, 0, .025) 0 2px, transparent 2px 5px); background-size: 7px 100%, auto; }
.mq--blue { background: var(--blue); color: #fff; transform: rotate(1.2deg) skewX(var(--skew)); margin: -10px -2% -26px; }
.mq__track { display: inline-flex; align-items: center; gap: 28px; animation: mq 42s linear infinite; padding-left: 28px; }
.mq__track--rev { animation-direction: reverse; animation-duration: 50s; }
.mq span { font-family: var(--f-disp); font-weight: 800; font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.mq i { font-style: normal; font-size: 18px; opacity: .55; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Иллюстрации категорий «дышат» на гвоздике */
@keyframes floaty { 50% { transform: translateY(-6px) rotate(-1.2deg); } }

/* «Почему мы» — карточки выезжают справа */
.js .wcard.reveal { transform: translateX(60px); }
.js .wcard.reveal.in { transform: none; }
.wcard__n { transition: color .35s, -webkit-text-stroke-color .35s, transform .8s var(--ease); }
.wcard.in .wcard__n { animation: numIn 1.2s var(--ease) both; animation-delay: calc(var(--d, 0s) + .2s); }
@keyframes numIn { from { transform: translateY(30px); opacity: 0; } }

/* Профиль в контактах — без ссылки и названия соцсети, как в NERO */
.profile { display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); margin-bottom: 18px; }
.profile__ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.profile__ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; }
.profile__lbl { display: flex; flex-direction: column; line-height: 1.25; }
.profile__lbl b { font-weight: 600; }
.profile__lbl i { font-style: normal; font-size: 13.5px; color: #A9B3CC; }

@media (prefers-reduced-motion: reduce) { .mq__track, .catc__art svg { animation: none; } }
.shot .split .w > span { transform: none !important; }

/* ═══ Телефон: компактнее и без лишнего ═══ */
@media (hover: none) {
  .catc:hover { animation: none; box-shadow: var(--shadow); }
  .catc:hover .catc__art { transform: none; }
  .catc:active { transform: scale(.98); }
  .wcard:hover { transform: none; background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .09); }
  .wcard:hover::before { transform: translateX(-100%); }
  .wcard:hover .wcard__n { color: transparent; -webkit-text-stroke-color: rgba(255, 255, 255, .35); }
  .rv__card:hover { transform: rotate(var(--rot)); box-shadow: var(--shadow); }
  .rate:hover { transform: none; background: #fff; color: inherit; }
  .rate:hover small { color: var(--ink-3); }
}
@media (max-width: 900px) {
  .qsteps { display: none; }
  .quiz__aside > p { margin-top: 16px; }
  .qcard { min-height: 0; }
}
@media (max-width: 640px) {
  .sec { padding-block: 64px; }
  .sec-head { margin-bottom: 18px; font-size: 12px; }
  .h2 { font-size: clamp(34px, 10vw, 44px); }
  .lead { font-size: 18px; }
  .hero { padding-bottom: 130px; }
  .hero__facts li:last-child { display: none; }
  .hero__facts { grid-template-columns: auto auto; justify-content: start; column-gap: 26px; }
  .hero__facts span { font-size: 12px; }
  .about__grid { gap: 20px; }
  .facts { margin-top: 34px; }
  .fact__num { font-size: 58px; }
  .why__lead { font-size: 16px; margin-top: 16px; }
  .wcard { padding: 22px 20px 22px 76px; border-radius: 18px; }
  .wcard__n { left: 18px; top: 20px; font-size: 40px; }
  .wcard__ico { display: none; }
  .wcard h3 { font-size: 18.5px; }
  .wcard p { font-size: 15px; }
  .ba__head { margin-bottom: 20px; }
  .ba__lead { font-size: 16px; }
  .ba__stage { border-radius: 18px; }
  .ba__handle span { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .reviews__top { margin-bottom: 24px; }
  .rate { padding: 10px 16px 10px 12px; }
  .rate b { font-size: 40px; }
  .rv__card { padding: 26px 22px 22px; min-height: 0; }
  .rv__card blockquote { font-size: 16.5px; }
  .catalog__top { margin-bottom: 30px; }
  .catalog__side p { font-size: 16px; }
  .qcard { padding: 22px 18px; border-radius: 22px; }
  .qbody h3 { font-size: 32px; margin-bottom: 18px; }
  .qopt { padding: 12px 14px; font-size: 15.5px; }
  .qopt__ico { width: 38px; height: 38px; }
  .contacts__btns .btn { flex: 1 1 auto; }
  .profile { width: 100%; }
  .map { min-height: 300px; border-radius: 20px; }
  .level { margin-top: 30px; gap: 12px; }
  .level__lbl { font-size: 11px; letter-spacing: .1em; }
  .mq span { font-size: 24px; }
}
@media (max-width: 900px) {
  /* первый экран заканчивается над нижней панелью */
  .hero { min-height: calc(100svh - 84px - env(safe-area-inset-bottom, 0px)); padding-top: calc(var(--hdr) + 28px); }
}

/* ═══ Подбор v4: вопросы по ответам, площадь по комнате, этапы, «Пригодится» ═══ */
.qbar i { width: calc(var(--s, 0) / var(--n, 5) * 100%); }
.qbar::after { background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--n, 5) - 2px), #fff calc(100% / var(--n, 5) - 2px) calc(100% / var(--n, 5))); }
.qtabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--plaster); margin: -6px 0 22px; }
.qtabs button { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.qtabs button.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.qroom { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.qroom label { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.qroom input { width: 100%; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 12px; font-family: var(--f-disp); font-weight: 800; font-size: 26px; color: var(--ink); outline: none; }
.qroom input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-3); }
.qroom__res { margin: 16px 0 0; font-size: 18px; color: var(--ink-2); }
.qroom__res b { font-family: var(--f-disp); font-weight: 800; font-size: 30px; color: var(--blue); }
.qhint { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-3); }
.qstage { list-style: none; padding: 18px 0 6px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 12px; }
.qstage::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.qstage:first-child { padding-top: 4px; }
.qlist .qitem { grid-template-columns: 54px minmax(0, 1fr) auto; }
.qextra { margin-top: 22px; padding: 18px; border-radius: 18px; background: var(--plaster); }
.qextra h4 { margin: 0 0 12px; font-family: var(--f-disp); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.qextra__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.qx { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 14px; background: #fff; }
.qx__art { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--plaster); display: grid; place-items: center; }
.qx__art svg { width: 70%; }
.qx__name { font-size: 13px; font-weight: 600; line-height: 1.25; flex: 1; }
.qx__name:hover { color: var(--blue); }
.qx__foot { display: flex; justify-content: space-between; align-items: center; }
.qx__foot b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.qx__add { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.qx__add:hover { background: var(--ink); }
.qx__add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
@media (max-width: 640px) {
  .qroom { grid-template-columns: 1fr 1fr; }
  .qlist .qitem { grid-template-columns: 46px minmax(0, 1fr); }
  .qtabs button { padding: 8px 12px; font-size: 13.5px; }
}

/* Подбор: позиции с ценой по запросу */
.qtotal b small { display: block; font-family: var(--f-body); font-weight: 600; font-size: 13px; color: var(--ink-2); text-align: right; }
.qback { white-space: nowrap; }
@media (max-width: 560px) {
  .qextra { padding: 14px; }
  .qextra__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .qx { padding: 8px; }
}

/* Фото товаров и категорий */
.catc__art { position: relative; }
.catc__art > img.ph { position: absolute; inset: 0; }
.qx__art { position: relative; }
.qx__art > img.ph { position: absolute; left: 14%; top: 9%; width: 72%; height: 82%; }
@media (prefers-reduced-motion: reduce) { .catc__art img.ph { animation: none; } }

/* ══ Прелоадер ══ */
html.is-loading { overflow: hidden; }
.pl { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--navy); color: #fff;
  clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.77, 0, .18, 1); }
.pl::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.07) 1.6px, transparent 2px); background-size: 26px 26px; }
.pl.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.pl__in { position: relative; width: min(420px, 82vw); transition: transform .9s cubic-bezier(.77, 0, .18, 1), opacity .5s; }
.pl.is-out .pl__in { transform: translateY(-60px); opacity: 0; }
.pl__logo { position: relative; }
.pl__plate { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 16px 22px 14px; border-radius: 10px; background: var(--blue);
  font-family: var(--f-disp); font-weight: 800; font-size: clamp(38px, 9vw, 58px); line-height: 1; letter-spacing: .04em;
  box-shadow: 0 18px 40px rgba(0,0,0,.35); clip-path: inset(0 100% 0 0); animation: plWipe 1.1s .15s cubic-bezier(.65, 0, .35, 1) forwards; }
.pl__plate small { font-size: .32em; font-weight: 700; letter-spacing: .02em; opacity: 0; margin-bottom: .2em; animation: plPop .4s 1.15s ease-out forwards; }
.pl__blade { position: absolute; top: 50%; left: 0; height: 170%; width: auto; transform: translate(-30%, -50%) rotate(8deg); opacity: 0;
  filter: drop-shadow(10px 14px 12px rgba(0,0,0,.35)); animation: plBlade 1.1s .15s cubic-bezier(.65, 0, .35, 1) forwards; }
.pl__bar { margin-top: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.pl__bar i { display: block; height: 100%; background: var(--tape); transform: scaleX(0); transform-origin: 0 50%; }
.pl__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8FA0C8; }
.pl__meta b { font-family: var(--f-disp); font-size: 26px; letter-spacing: 0; color: #fff; font-weight: 800; }
.pl__meta em { font-style: normal; font-variant-numeric: tabular-nums; }
@keyframes plWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes plBlade { 0% { left: 0; opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes plPop { from { opacity: 0; transform: translateY(6px); } to { opacity: .85; transform: none; } }
@media (max-width: 560px) { .pl__meta { justify-content: flex-end; } .pl__meta span { display: none; } }

/* Каталог на белом фоне: карточкам — тонкая рамка, чтобы не терялись */
.catalog .catc { box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px rgba(11, 21, 48, .07); }

/* ── Блок категории с подкатегориями (19.11.2026) ── */
.catc__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.catc__subs { position: relative; z-index: 2; list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.catc__subs a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--ink-2); transition: color .2s; }
.catc__subs a::after { content: '→'; flex: none; color: var(--ink-3); transition: transform .25s var(--ease), color .2s; }
.catc__subs a:hover { color: var(--blue); }
.catc__subs a:hover::after { color: var(--blue); transform: translateX(3px); }
.cinfo__tel a { display: block; }
