:root {
  --ink: #0b0b0c;
  --ink-2: #131315;
  --ink-3: #1c1c1f;
  --text: #f2efea;
  --muted: #8f8b85;
  --line: rgba(242, 239, 234, .12);
  --orange: #ff6a13;
  --orange-2: #ff8a3d;
  --kraft: #e7e1d6;
  --kraft-2: #d8cfbf;
  --gutter: clamp(16px, 4vw, 56px);
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }
svg { display: block; }
::selection { background: var(--orange); color: var(--ink); }

.caps { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .28em; font-size: 12px; line-height: 2; }
.label { color: var(--muted); margin-bottom: 28px; }
.label--dark { color: rgba(11, 11, 12, .55); }
.muted { color: var(--muted); }
.title { font-family: var(--display); font-size: clamp(26px, 3.8vw, 56px); line-height: 1.02; letter-spacing: -.025em; text-transform: uppercase; }
.title--dark { color: var(--ink); }
.section-head { padding: 0 var(--gutter); margin-bottom: clamp(32px, 4.5vw, 64px); }

/* split text helpers */
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line-mask > span { display: block; will-change: transform; }

/* links with underline sweep */
.link { position: relative; display: inline-block; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(3%, -6%); }
  60% { transform: translate(-7%, -2%); } 80% { transform: translate(6%, 5%); } 100% { transform: translate(0, 0); }
}

/* cursor */
.cursor { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--orange); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(242, 239, 234, .5);
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s, border-color .35s;
}
.cursor.is-hover .cursor__ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(255, 106, 19, .12); border-color: var(--orange); }

/* preloader */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-items: center;
  animation: preloader-fallback .4s 2.5s forwards;
}
.no-preloader .preloader { display: none; }
@keyframes preloader-fallback { to { opacity: 0; visibility: hidden; } }
.preloader__inner { display: flex; align-items: center; gap: 18px; }
.preloader__mark { width: 48px; height: 48px; fill: var(--orange); }
.preloader__word { display: flex; overflow: hidden; font-family: var(--display); font-weight: 900; font-size: 34px; letter-spacing: -.02em; }
.preloader__word span { display: block; }
.preloader__count { position: absolute; right: var(--gutter); bottom: var(--gutter); font-family: var(--display); font-size: clamp(48px, 9vw, 140px); font-weight: 800; color: var(--ink-3); line-height: 1; }

/* header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; gap: 40px; padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.header.is-scrolled { background: rgba(11, 11, 12, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.is-hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 30px; height: 30px; fill: var(--orange); transition: transform .8s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-90deg); }
.logo__word { font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: -.01em; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 600; }
.header__phone { font-weight: 700; font-size: 15px; white-space: nowrap; }
@media (max-width: 1240px) { .header__phone { display: none; } }
.pill {
  position: relative; overflow: hidden; display: inline-flex; align-items: center;
  padding: 13px 24px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700;
  transition: color .5s var(--ease), border-color .5s;
}
.pill::before {
  content: ""; position: absolute; inset: 0; background: var(--orange); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.pill span { position: relative; }
.pill:hover { color: var(--ink); border-color: var(--orange); }
.pill:hover::before { transform: none; }
.menu-btn { display: none; width: 46px; height: 46px; margin-left: auto; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--orange); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gutter) 32px;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 10vw, 64px); line-height: 1.12;
  transform: translateY(40px); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s;
}
.menu-open .menu__nav a { transform: none; opacity: 1; }
.menu-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu-open .menu__nav a:nth-child(6) { transition-delay: .5s; }
.menu__foot { display: flex; justify-content: space-between; font-weight: 700; }

@media (max-width: 960px) {
  .nav, .header .pill { display: none; }
  .menu-btn { display: block; }
}

/* HERO */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding: 130px var(--gutter) 40px;
  display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr auto; gap: 24px 40px; align-items: center; overflow: hidden;
  background: radial-gradient(55% 60% at 78% 42%, rgba(255, 106, 19, .16), transparent 70%);
}
.hero__text { position: relative; z-index: 2; }
.hero__kicker { display: flex; align-items: center; gap: 14px; color: var(--muted); margin-bottom: 26px; }
.hero__dash { width: 38px; height: 3px; background: var(--orange); }
.hero__title {
  font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.4vw, 56px);
  line-height: 1.04; letter-spacing: -.03em; text-transform: uppercase;
}
@media (min-width: 961px) { .hero__title .line-mask > span { white-space: nowrap; } }
.hero__title em { font-style: normal; color: var(--orange); }
.hero__lead { margin-top: 24px; font-size: clamp(16px, 1.2vw, 18px); color: var(--muted); max-width: 520px; }
.hero__lead b { color: var(--text); white-space: nowrap; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; font-weight: 600; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.hero__visual { position: relative; height: 100%; min-height: 420px; display: grid; place-items: center; }
.hero__badge {
  position: absolute; left: 0; bottom: 12%; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px; background: rgba(28, 28, 31, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); font-size: 14px;
}
.hero__badge b { display: block; }
.hero__badge small { color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.hero__mp {
  grid-column: 1 / -1; position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.hero__mp .caps { color: var(--muted); margin-right: 8px; }
.mp { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.mp--muted { color: var(--muted); }

.wordmark__last { position: relative; display: inline-block; }
.wordmark__arrow { position: absolute; width: .3em; height: .3em; left: .08em; bottom: .02em; fill: var(--orange); }

/* buttons */
.btn__icon { width: 20px; height: 20px; fill: currentColor; margin-right: 10px; position: relative; }
.btn span { position: relative; }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange::before { background: var(--text) !important; }
.btn--ghost { border: 1px solid rgba(242, 239, 234, .3); color: var(--text); align-items: center; }
.btn--ghost::before { background: var(--text) !important; }
.btn--ghost:hover { color: var(--ink); }

/* floating Telegram */
.tg-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 75; display: flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border-radius: 999px; background: #2aabee; color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transform: translateY(140%); transition: transform .6s var(--ease), background .3s;
}
.tg-float.is-visible { transform: none; }
.tg-float:hover { background: #229ed9; }
.tg-float svg { width: 22px; height: 22px; fill: currentColor; }
.menu-open .tg-float { transform: translateY(140%); }

.btn-round {
  position: relative; width: 128px; height: 128px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; text-align: center; background: var(--orange); color: var(--ink);
  font-weight: 800; font-size: 14px; line-height: 1.25; overflow: hidden; isolation: isolate;
}
.btn-round::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--text); z-index: -1;
  transform: scale(0); transition: transform .6s var(--ease);
}
.btn-round:hover::before { transform: scale(1); }
.btn-round svg { position: absolute; width: 18px; height: 18px; right: 34px; top: 34px; fill: currentColor; transition: transform .6s var(--ease); }
.btn-round:hover svg { transform: translate(6px, -6px); }
.btn-round--dark { background: var(--ink); color: var(--text); }
.btn-round--dark:hover { color: var(--ink); }

/* 3D box */
.scene {
  --s: clamp(140px, 16vw, 250px);
  position: relative; z-index: 1; width: var(--s); height: var(--s); perspective: 1200px;
}
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-22deg) rotateY(-34deg); }
.face {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--kraft), var(--kraft-2));
  box-shadow: inset 0 0 60px rgba(120, 90, 50, .25);
}
.face::after {
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='k'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .4 0 0 0 0 .3 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
}
.face--front { transform: translateZ(calc(var(--s) / 2)); }
.face--back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.face--right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.82); }
.face--left { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.82); }
.face--top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(1.06); }
.face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.6); }
.tape { position: absolute; top: 0; bottom: 0; left: 50%; width: 34%; transform: translateX(-50%); background: var(--orange); box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.face--top .tape { width: 34%; }
.face__mark { position: absolute; left: 50%; top: 58%; width: 26%; height: 26%; transform: translate(-50%, -50%); fill: var(--ink); z-index: 1; }
.face__word { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%) rotate(90deg); font-family: var(--display); font-weight: 900; font-size: calc(var(--s) * .07); color: var(--ink); z-index: 1; white-space: nowrap; }
.face__word--v { transform: translate(-50%, -50%); top: 50%; font-size: calc(var(--s) * .045); letter-spacing: .1em; font-weight: 600; }
.icons { position: absolute; left: 12%; top: 12%; display: flex; gap: 8%; width: 76%; }
.icons svg { width: 30%; aspect-ratio: 1; padding: 6%; border: 2px solid var(--ink); fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cube-fade { width: 100%; height: 100%; perspective: 1200px; }
.cube-move { width: 100%; height: 100%; transform-style: preserve-3d; }
.tape { transform-origin: 50% 0; }
.sticker {
  position: absolute; z-index: 2; left: 6%; top: 44%; width: 23%; height: 30%; padding: 5% 5% 4%;
  display: flex; flex-direction: column; gap: 6%; background: #fff; border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.sticker i { flex: 1; background: repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 3px, var(--ink) 3px 4px, transparent 4px 6.5px); }
.sticker b { font-size: calc(var(--s) * .028); line-height: 1; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }

/* Карточка статуса поставки */
.ship { min-width: 250px; }
.ship__body { flex: 1; min-width: 0; }
.ship__body small { display: block; }
.ship__bar { display: block; height: 3px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ship__bar i { display: block; width: 100%; height: 100%; background: var(--orange); transition: width .6s var(--ease); }
.ship__step { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--muted); }
.dot.is-progress { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 19, .2); }

.cube-shadow {
  position: absolute; left: 0; right: 0; bottom: -55%; height: 30%; margin: 0 auto; width: 110%;
  background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); filter: blur(10px);
}

/* Сотрудник склада рядом с коробкой (inline SVG, без картинок) */
.worker {
  --skin: #e6b18a; --skin-2: #cf9670; --uniform: #4a4a52; --pants: #2e2f36;
  position: absolute; z-index: 2; width: calc(var(--s) * .8); left: calc(var(--s) * -.8); bottom: calc(var(--s) * -.1);
  overflow: visible; pointer-events: none;
}
.worker .w-shadow { fill: rgba(0, 0, 0, .45); }
.worker .w-pants, .worker .w-sleeve, .worker .w-forearm { fill: none; stroke-linecap: round; }
.worker .w-pants { stroke: var(--pants); stroke-width: 17; }
.worker .w-sleeve { stroke: var(--uniform); stroke-width: 13; }
.worker .w-forearm { stroke: var(--skin); stroke-width: 9; }
.worker .w-shoe { fill: #0b0b0c; }
.worker .w-shirt { fill: var(--uniform); }
.worker .w-apron, .worker .w-cap, .worker .w-tip { fill: var(--orange); }
.worker .w-logo { fill: var(--ink); }
.worker .w-skin { fill: var(--skin); }
.worker .w-ear { fill: var(--skin-2); }
.worker .w-eye { fill: var(--ink); }
.worker .w-mouth { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.worker .w-tool { fill: #1b1b1f; }
.worker .w-label { fill: #fff; }
.worker .w-bars { stroke: var(--ink); stroke-width: 1.2; }
.worker #wTape, .worker #wSticker { opacity: 0; }
@media (max-width: 960px) { .worker { left: calc(var(--s) * -.66); } }

/* Коробку можно крутить мышью или пальцем */
.no-motion .scan, .no-motion .fx, .no-motion .scene__hint { display: none; }
.cube-move { cursor: grab; touch-action: pan-y; }
.is-dragging .cube-move { cursor: grabbing; }
.scene__hint {
  position: absolute; left: 50%; top: -26%; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transition: opacity .6s;
}
.scene__hint::before { content: "↻ "; color: var(--orange); }
.scene__hint.is-on { opacity: 1; }

/* Лазер сканера: светящаяся линия с «шлейфом» света над ней */
.scan { position: absolute; left: -35%; right: -35%; top: 0; height: 0; z-index: 3; pointer-events: none; opacity: 0; }
.scan i {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #ffd2b3;
  box-shadow: 0 0 6px 1px var(--orange), 0 0 22px 4px rgba(255, 106, 19, .7);
  -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
          mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
.scan i::before {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 2px; height: calc(var(--s) * .3);
  background: linear-gradient(to top, rgba(255, 106, 19, .35), transparent);
}
.scan.is-up i::before { bottom: auto; top: 2px; transform: scaleY(-1); transform-origin: 50% 0; }

/* Частицы: пыль, ударная волна, шлейф скорости */
.fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fx > * { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; }
.fx .spark { width: 6px; height: 6px; margin: -3px; border-radius: 1px; background: var(--kraft); }
.fx .spark--o { background: var(--orange); }
.fx .wave {
  width: 160%; height: 30%; margin: -15% -80%; border-radius: 50%;
  border: 2px solid rgba(255, 106, 19, .7); box-shadow: 0 0 20px rgba(255, 106, 19, .4);
}
.fx .streak { height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--orange)); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 104px; }
  .hero__visual { min-height: 0; height: auto; padding: 50px 0 70px; order: -1; }
  .scene { --s: 150px; }
  .hero__visual { display: flex; flex-direction: column; align-items: center; gap: 56px; }
  .hero__badge { position: relative; left: auto; bottom: auto; }
}
@media (max-width: 640px) {
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__facts { flex-direction: column; }
  .btn-round { width: 120px; height: 120px; font-size: 13px; }
  .btn-round svg { right: 26px; top: 26px; }
  .tg-float span { display: none; }
  .tg-float { padding: 16px; }
}

/* TAPES */
.tapes { position: relative; height: clamp(140px, 15vw, 210px); overflow: hidden; margin: clamp(16px, 3vw, 40px) 0; }
.tapeband { position: absolute; left: -5%; right: -5%; top: 50%; overflow: hidden; }
.tapeband--a { background: var(--orange); color: var(--ink); transform: translateY(-50%) rotate(-4deg); z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.tapeband--b { background: var(--kraft); color: var(--ink); transform: translateY(-50%) rotate(3deg); }
.tapeband__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 13px 0; }
.tapeband span { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(17px, 2.1vw, 30px); letter-spacing: -.01em; white-space: nowrap; }
.tapeband svg { width: clamp(18px, 2vw, 26px); height: clamp(18px, 2vw, 26px); fill: currentColor; flex: none; }
.tapeband i { font-style: normal; font-family: var(--display); font-size: clamp(17px, 2vw, 26px); color: var(--orange); }

/* WHY */
.why { padding: clamp(64px, 8vw, 110px) var(--gutter); }
.why .section-head { padding: 0; }
.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pain {
  position: relative; overflow: hidden; padding: clamp(22px, 2.2vw, 30px); border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 20px; transition: border-color .4s, transform .5s var(--ease);
}
.pain::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.pain:hover { border-color: rgba(255, 106, 19, .4); transform: translateY(-4px); }
.pain:hover::before { transform: scaleX(1); }
.pain .caps { display: block; margin-bottom: 10px; font-size: 11px; }
.pain__q { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; letter-spacing: -.015em; }
.pain__q .caps { color: var(--muted); }
.pain__a { color: var(--muted); padding-top: 22px; border-top: 1px dashed var(--line); }
.pain__a .caps { color: var(--orange); }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 50px); line-height: 1; letter-spacing: -.03em; color: var(--orange); }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
}

/* SERVICES */
.services { padding: clamp(48px, 6vw, 90px) 0; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__row {
  position: relative; display: grid; grid-template-columns: 70px 1fr 1fr 40px; gap: 24px; align-items: center;
  padding: clamp(18px, 2vw, 26px) var(--gutter); border-bottom: 1px solid var(--line); overflow: hidden; cursor: default;
  transition: color .6s var(--ease);
}
.svc__row::before {
  content: ""; position: absolute; inset: 0; background: var(--orange); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.svc__row { isolation: isolate; }
.svc__row:hover { color: var(--ink); }
.svc__row:hover::before { transform: scaleY(1); }
.svc__num { font-family: var(--display); font-size: 14px; color: var(--muted); transition: color .6s; }
.svc__row:hover .svc__num { color: var(--ink); }
.svc__name { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.7vw, 40px); text-transform: uppercase; letter-spacing: -.03em; line-height: 1; transition: transform .6s var(--ease); }
.svc__row:hover .svc__name { transform: translateX(14px); }
.svc__desc { color: var(--muted); max-width: 440px; transition: color .6s; }
.svc__row:hover .svc__desc { color: rgba(11, 11, 12, .8); }
.svc__arrow { width: 28px; height: 28px; fill: currentColor; justify-self: end; transform: rotate(45deg); transition: transform .6s var(--ease); }
.svc__row:hover .svc__arrow { transform: none; }
@media (max-width: 800px) {
  .svc__row { grid-template-columns: 44px 1fr 32px; gap: 10px 16px; }
  .svc__desc { grid-column: 2 / 3; font-size: 15px; }
  .svc__arrow { width: 26px; height: 26px; grid-row: 1; grid-column: 3; }
}

/* PROCESS */
.process { background: var(--kraft); color: var(--ink); overflow: hidden; }
.process__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 3vw, 44px); padding: 90px var(--gutter) 60px; }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.process__head .label { color: rgba(11, 11, 12, .55); }
.process__hint { opacity: .55; }
@media (max-width: 960px) { .process__hint { display: none; } }
.process__track { display: flex; gap: 24px; width: max-content; will-change: transform; }
.step {
  flex: none; width: clamp(280px, 30vw, 440px); height: min(46vh, 360px); padding: 30px; border-radius: 24px;
  background: var(--ink); color: var(--text); display: flex; flex-direction: column; justify-content: space-between;
}
.step--accent { background: var(--orange); color: var(--ink); }
.step__num { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 7vw, 110px); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.step h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.02em; margin-bottom: 14px; }
.step p { opacity: .7; }
@media (max-width: 960px) {
  .process__pin { height: auto; padding: 80px var(--gutter); }
  .process__head { display: block; }
  .process__track { flex-direction: column; width: auto; }
  .step { width: auto; height: auto; min-height: 280px; gap: 40px; }
}

/* PRICES */
.prices { padding: 0 var(--gutter) clamp(60px, 8vw, 120px); }
.prices__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.prices__head { display: flex; flex-direction: column; gap: 12px; }
.subtitle { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.4vw, 34px); text-transform: uppercase; letter-spacing: -.02em; }
@media (max-width: 860px) { .prices__inner { grid-template-columns: minmax(0, 1fr); } }
.price {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(16px, 1.2vw, 18px); transition: padding .5s var(--ease), color .3s;
}
.price:first-child { border-top: 1px solid var(--line); }
.price__name { font-weight: 600; }
.price__dots { flex: 1; border-bottom: 1px dashed rgba(242, 239, 234, .18); transform: translateY(-6px); min-width: 20px; }
.price__val { font-family: var(--display); font-weight: 600; white-space: nowrap; }
.price__val small { font-family: var(--body); font-size: .7em; color: var(--muted); font-weight: 500; }
.price:hover { padding-left: 14px; color: var(--orange); }
.note { padding: 28px var(--gutter) 0; color: var(--muted); font-size: 15px; max-width: 760px; }
@media (max-width: 600px) {
  .price { flex-wrap: wrap; gap: 4px 12px; }
  .price__dots { display: none; }
  .price__name { width: 100%; }
}

/* CALC */
.calc-wrap { padding: 0 var(--gutter) clamp(48px, 6vw, 80px); }
.calc__hint { margin-top: 18px; font-weight: 600; opacity: .65; max-width: 380px; }
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px);
  background: var(--kraft); color: var(--ink); border-radius: clamp(22px, 2.4vw, 32px); padding: clamp(24px, 3.6vw, 56px);
  position: relative; overflow: hidden;
}
.calc::after {
  content: ""; position: absolute; right: -6%; bottom: -30%; width: 46%; aspect-ratio: 1; pointer-events: none;
  background: var(--orange); opacity: .1; border-radius: 50%; filter: blur(40px);
}
.calc__left { display: flex; flex-direction: column; align-items: flex-start; }
.calc__total { margin: auto 0 28px; padding-top: 40px; }
.calc__total small { display: block; font-weight: 700; opacity: .55; margin-bottom: 6px; }
.calc__total b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(36px, 4.4vw, 66px); line-height: 1; letter-spacing: -.04em; }
.calc__total span { display: block; margin-top: 10px; font-weight: 600; opacity: .7; }
.btn {
  position: relative; overflow: hidden; display: inline-flex; padding: 16px 28px; border-radius: 999px; font-weight: 800; font-size: 15px;
  isolation: isolate; transition: color .5s var(--ease);
}
.btn--dark { background: var(--ink); color: var(--text); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--orange); z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: none; }
.calc__form { position: relative; z-index: 1; }
.field { margin-bottom: 30px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-weight: 700; }
.field__top output { font-family: var(--display); font-weight: 800; font-size: 20px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(var(--orange), var(--orange)) 0 / var(--p, 10%) 100% no-repeat, rgba(11, 11, 12, .15); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); border: 6px solid var(--orange); transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 6px solid var(--orange); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.25); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; gap: 8px; align-items: center; padding: 10px 15px; border-radius: 999px; border: 1.5px solid rgba(11, 11, 12, .2);
  font-weight: 700; font-size: 14px; transition: background .3s, border-color .3s, color .3s;
}
.chip span em { font-style: normal; font-weight: 600; opacity: .55; font-size: 13px; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc__total { margin-top: 0; padding-top: 24px; }
  .calc__left { order: 2; }
}

/* WAREHOUSE */
.warehouse { padding: clamp(60px, 8vw, 120px) var(--gutter); }
.warehouse .section-head, .reviews .section-head { padding: 0; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: clamp(380px, 38vw, 540px); }
.photo { margin: 0; position: relative; overflow: hidden; border-radius: 24px; }
.photo--big { grid-row: 1 / 3; }
.photo__img {
  position: absolute; inset: -12% 0; display: grid; place-items: center;
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 106, 19, .06) 46px 48px),
    linear-gradient(160deg, var(--ink-3), var(--ink-2));
}
/* Фото всегда заполняет рамку и обрезается по центру (а не прилипает к верху в широкой ячейке) */
.photo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.photo__img span { font-family: var(--display); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.photo figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(11, 11, 12, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
/* Четыре фотографии: большая слева на всю высоту, справа две рядом и одна широкая под ними */
.gallery--four { grid-template-columns: 1.4fr 1fr 1fr; height: clamp(420px, 40vw, 820px); }
.gallery--four .photo--wide { grid-column: 2 / 4; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px; height: auto; }
  .photo--big { grid-row: auto; grid-column: 1 / -1; }
  .gallery--four { grid-template-rows: 260px 170px 200px; }
  .gallery--four .photo--wide { grid-column: 1 / -1; }
}

/* REVIEWS */
.reviews { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 140px); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  margin: 0; padding: 26px; border-radius: 20px; background: var(--kraft); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 250px;
  transition: transform .5s var(--ease);
}
.review:hover { transform: translateY(-6px) rotate(-.6deg); }
.review blockquote { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; position: relative; padding-top: 40px; }
.review blockquote::before { content: "“"; position: absolute; top: -18px; left: -4px; font-family: var(--display); font-size: 80px; color: var(--orange); line-height: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption b { display: block; }
.review figcaption small { opacity: .6; }
.review__ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--orange); font-family: var(--display); font-weight: 800; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } .review { min-height: 0; } }

/* FAQ */
.faq { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 120px); }
.faq__list { padding: 0 var(--gutter); max-width: 1200px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  padding: 22px 0; background: none; border: 0; cursor: pointer; font-family: var(--display); font-weight: 600;
  font-size: clamp(16px, 1.4vw, 20px); letter-spacing: -.01em; transition: color .3s;
}
.qa__q:hover { color: var(--orange); }
.qa__q i { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background .5s var(--ease), border-color .5s, transform .5s var(--ease); }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.qa__q i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.qa.is-open .qa__q i { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: rotate(180deg); }
.qa.is-open .qa__q i::after { transform: translate(-50%, -50%) rotate(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { color: var(--muted); padding: 0 80px 30px 0; max-width: 820px; }

/* CTA */
.cta { background: var(--orange); color: var(--ink); padding: clamp(64px, 8vw, 120px) var(--gutter); position: relative; overflow: hidden; }
.cta__title { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5.6vw, 88px); line-height: .92; letter-spacing: -.04em; text-transform: uppercase; margin-bottom: clamp(48px, 7vw, 100px); }
.cta__title { margin-bottom: 28px; }
.cta__lead { font-size: clamp(16px, 1.25vw, 18px); font-weight: 600; max-width: 580px; margin-bottom: clamp(32px, 4vw, 56px); }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; max-width: 1300px; }
.input { position: relative; display: block; }
.input--wide { grid-column: 1 / -1; }
.input input {
  width: 100%; padding: 22px 0 10px; border: 0; border-bottom: 1.5px solid rgba(11, 11, 12, .35); background: none;
  font: inherit; font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; color: var(--ink); outline: none; border-radius: 0;
}
.input span { position: absolute; left: 0; top: 22px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; color: rgba(11, 11, 12, .55); pointer-events: none; transform-origin: left; transition: transform .4s var(--ease), color .3s; }
.input input:focus + span, .input input:not(:placeholder-shown) + span { transform: translateY(-26px) scale(.6); color: var(--ink); }
.input::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.input:focus-within::after { transform: scaleX(1); }
.cta__send { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
.cta__send small { max-width: 360px; font-size: 13px; opacity: .7; }
.cta__send small a { text-decoration: underline; }
.form-ok { grid-column: 1 / -1; font-family: var(--display); font-weight: 600; font-size: 20px; }
@media (max-width: 640px) {
  .cta__form { grid-template-columns: 1fr; }
  .cta__send { flex-direction: column-reverse; align-items: flex-start; }
}

/* FOOTER */
.footer { padding: clamp(60px, 8vw, 120px) var(--gutter) 28px; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer__cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer .label { margin-bottom: 10px; }
.footer__big { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.5vw, 22px); }
.footer__word {
  font-family: var(--display); font-weight: 900; font-size: calc((100vw - 2 * var(--gutter)) / 7.5); line-height: .8; letter-spacing: -.035em;
  margin: clamp(60px, 8vw, 120px) -.02em 24px; white-space: nowrap; display: flex; overflow: hidden; padding-top: .05em;
}
.footer__word > span { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr; } }

/* ESTIMATE — калькулятор: шаги слева, расшифровка справа */
.est { background: var(--kraft); color: var(--ink); border-radius: clamp(22px, 2.4vw, 32px); padding: clamp(20px, 3.6vw, 56px); }
.est__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.est__hint { max-width: 400px; font-weight: 600; opacity: .7; }
.est__body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.est__body > *, .prices__inner > * { min-width: 0; }
.est__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.est__step { min-width: 0; background: rgba(255, 255, 255, .55); border-radius: 20px; padding: clamp(18px, 2vw, 24px); }
.est__step.is-off { display: none; }
.est__step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.est__step-head h3 { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.est__n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--orange); font-family: var(--display); font-weight: 700; font-size: 13px; }

.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button {
  flex: none; width: 52px; height: 52px; border-radius: 14px; border: 0; background: var(--ink); color: var(--text);
  font-size: 24px; line-height: 1; cursor: pointer; transition: background .25s, color .25s, transform .15s;
}
.stepper button:hover { background: var(--orange); color: var(--ink); }
.stepper button:active { transform: scale(.94); }
.stepper__field {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px;
  background: #fff; border-radius: 14px; border: 1.5px solid transparent; transition: border-color .25s; cursor: text;
}
.stepper__field:focus-within { border-color: var(--orange); }
.stepper__field input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 22px; -moz-appearance: textfield; appearance: textfield;
}
.stepper__field input::-webkit-outer-spin-button, .stepper__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__field span { font-weight: 600; opacity: .5; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.presets button {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(11, 11, 12, .15); background: none; color: var(--ink);
  font-weight: 700; font-size: 13px; cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
.presets button:hover { border-color: var(--ink); }
.presets button.is-on { background: var(--ink); border-color: var(--ink); color: var(--text); }
.est__nudge { margin-top: 12px; font-size: 14px; }
.est__nudge b { color: #c4520f; }
.est__note { margin-top: 10px; font-size: 13px; opacity: .6; }

.packs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pack { position: relative; cursor: pointer; }
.pack input { position: absolute; opacity: 0; pointer-events: none; }
.pack__body {
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px;
  background: #fff; border-radius: 16px; border: 2px solid transparent;
  transition: border-color .25s, box-shadow .3s, transform .3s var(--ease-out);
}
.pack:hover .pack__body { transform: translateY(-2px); }
.pack input:checked + .pack__body { border-color: var(--orange); box-shadow: 0 10px 26px rgba(255, 106, 19, .18); }
.pack input:focus-visible + .pack__body { outline: 2px solid var(--ink); outline-offset: 2px; }
.pack__name { font-family: var(--display); font-weight: 700; font-size: 15px; }
.pack__price { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.pack__price small { font-family: var(--body); font-size: 13px; font-weight: 600; opacity: .5; }
.pack__desc { font-size: 13px; line-height: 1.4; opacity: .65; }
.pack__badge {
  position: absolute; top: -10px; right: 12px; padding: 4px 10px; border-radius: 999px; background: var(--orange); color: var(--ink);
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}

.toggles { margin-top: 14px; }
.toggles[hidden] { display: none; }
.toggles__group { margin: 12px 0 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .5; }
.tgl { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(11, 11, 12, .08); cursor: pointer; }
.tgl input { position: absolute; opacity: 0; pointer-events: none; }
.tgl__ui { position: relative; width: 40px; height: 24px; border-radius: 999px; background: rgba(11, 11, 12, .15); transition: background .25s; }
.tgl__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--ease-out); }
.tgl input:checked + .tgl__ui { background: var(--orange); }
.tgl input:checked + .tgl__ui::after { transform: translateX(16px); }
.tgl input:focus-visible + .tgl__ui { outline: 2px solid var(--ink); outline-offset: 2px; }
.tgl__name { font-weight: 600; font-size: 14.5px; }
.tgl__price { font-size: 13px; opacity: .6; white-space: nowrap; }

.est__sum { position: sticky; top: 90px; background: var(--ink); color: var(--text); border-radius: 22px; padding: clamp(20px, 2.2vw, 28px); }
.est__sum-title { color: var(--muted); margin-bottom: 8px; }
.est__lines { list-style: none; margin: 0 0 18px; padding: 0; }
.est__lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.est__lines li small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.est__lines li b { white-space: nowrap; }
.est__lines li.is-discount b { color: #4ade80; }
.est__lines li.is-note b { color: var(--orange); }
.est__lines li.is-empty { color: var(--muted); }
.est__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.est__total span { font-weight: 700; }
.est__total b { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.03em; }
.est__per { margin-top: 4px; color: var(--muted); font-size: 14px; text-align: right; }
.est__promo { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 106, 19, .1); border: 1px solid rgba(255, 106, 19, .25); font-size: 13.5px; }
.est__promo b { color: var(--orange); }
.est__cta { width: 100%; justify-content: center; margin-top: 16px; }
.est__fine { margin-top: 12px; font-size: 12px; color: var(--muted); }
@media (max-width: 980px) {
  .est__body { grid-template-columns: minmax(0, 1fr); }
  .est__sum { position: static; }
}
.packs__desc, .est__bar { display: none; }

/* Телефон: компактный калькулятор — пакеты сеткой 2×2, пресеты в одну строку, итог закреплён внизу экрана */
@media (max-width: 640px) {
  .est { padding: 16px 12px; border-radius: 22px; }
  .est__head { margin-bottom: 14px; }
  .est__hint { display: none; }
  .est__form { gap: 8px; }
  .est__step { padding: 14px; border-radius: 16px; }
  .est__step-head { gap: 10px; margin-bottom: 10px; }
  .est__step-head h3 { font-size: 15px; }
  .est__n { width: 24px; height: 24px; font-size: 12px; }

  .stepper { gap: 6px; }
  .stepper button { width: 44px; height: 44px; border-radius: 12px; font-size: 22px; }
  .stepper__field { height: 44px; padding: 0 14px; border-radius: 12px; }
  .stepper__field input { font-size: 19px; }
  .presets {
    flex-wrap: nowrap; overflow-x: auto; margin: 10px -14px 0; padding: 0 14px 2px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .presets::-webkit-scrollbar { display: none; }
  .presets button { flex: none; padding: 7px 12px; }
  .est__nudge { margin-top: 8px; font-size: 13px; }

  .packs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pack__body { gap: 2px; padding: 12px; border-radius: 14px; }
  .pack:hover .pack__body { transform: none; }
  .pack__name { font-size: 13.5px; }
  .pack__price { font-size: 17px; white-space: nowrap; }
  .pack__price small { font-size: 11.5px; }
  .pack__desc { display: none; }
  .pack__badge { top: -8px; right: 8px; padding: 3px 7px; font-size: 9px; }
  .packs__desc { display: block; margin-top: 10px; font-size: 13px; line-height: 1.4; opacity: .7; }

  .tgl { grid-template-columns: 40px 1fr; padding: 8px 0; }
  .tgl__price { grid-column: 2; margin-top: -8px; }

  .est__sum { border-radius: 18px; padding: 18px 16px; }
  .est__lines li { padding: 9px 0; font-size: 13.5px; }
  .est__promo { margin-top: 14px; font-size: 12.5px; }

  .est__bar {
    position: sticky; bottom: 10px; z-index: 5; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
    width: 100%; margin-top: 4px; padding: 12px 14px; border: 0; border-radius: 16px; cursor: pointer; text-align: left;
    background: var(--ink); color: var(--text); font: inherit; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
  .est__bar span { font-weight: 700; font-size: 14px; line-height: 1.2; }
  .est__bar small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
  .est__bar b { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
  .est__bar i { font-style: normal; font-weight: 700; font-size: 12.5px; color: var(--orange); white-space: nowrap; }
  /* Пока виден калькулятор, кнопка Telegram не перекрывает полоску с итогом */
  .calc-in-view .tg-float { transform: translateY(140%); }
}

/* PRICE GROUPS */
/* Группы разной высоты — раскладываем колонками, чтобы не было дыр */
.price-list { display: block; columns: 3; column-gap: 14px; }
.price-group { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 14px; min-width: 0; padding: 20px 22px 8px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); }
.price-group__title { margin: 0 0 4px; font-family: var(--display); font-weight: 700; font-size: 16px; }
.price-group__note { color: var(--orange); font-size: 13px; margin-bottom: 6px; }
.price-group .price { padding: 11px 0; font-size: 14.5px; gap: 12px; }
.price-group .price:last-child { border-bottom: 0; }
.price-group .price:hover { padding-left: 0; color: inherit; }
.price-group .price__name { flex: 1 1 auto; min-width: 0; }
.price-group .price__dots { flex: 0 1 40px; min-width: 12px; }
.price-group .price__val { flex: none; white-space: nowrap; text-align: right; }
.price-group .price__val.is-text { flex: 0 1 auto; max-width: 50%; white-space: normal; }
.price__val.is-free { color: var(--orange); }
.prices__terms { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.prices__terms li { padding: 10px 14px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); }
.prices__terms b { color: var(--orange); }
@media (max-width: 1100px) { .price-list { columns: 2; } }
@media (max-width: 700px) {
  .price-list { columns: 1; }
  .price-group .price__val { max-width: none; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
