/* =========================================================
   MIRIDEA · страница «Услуги» v1.1
   Выбор реальности (ползунок) → два пути → все услуги →
   слои сайта → кейсы → смета → проверка идеи.
   Все блоки — одинаковые отступы: 60px сверху и снизу, 36px от заголовка до содержимого.
   ========================================================= */
.m-sv-hero, .m-paths, .m-layers, .m-contrast, .m-calc, .m-term, .m-offer {
  --ease: cubic-bezier(.22, 1, .36, 1); --back: cubic-bezier(.34, 1.56, .64, 1);
  --deep: #141a3c; --deep2: #0d1230; --gap: 60px;
}
.m-paths, .m-layers, .m-contrast, .m-calc, .m-term, #all.m-offer { padding-block: var(--gap); }
@media (max-width: 768px) { .m-paths, .m-layers, .m-contrast, .m-calc, .m-term, #all.m-offer { --gap: 40px; } }
#all.m-offer .title2 { margin-bottom: 36px; }
.m-sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px 60px; align-items: end; margin-bottom: 36px; }
.m-sec-head .title2 { width: auto; margin: 0; line-height: 1.2; }
.m-sec-head__text { margin: 0; font-size: 15px; line-height: 1.65; color: #8090aa; max-width: 60ch; }
@media (max-width: 992px) { .m-sec-head { grid-template-columns: 1fr; } }
.header__menu a[aria-current="page"] { color: #f93c3c; }

/* ---------- 1. Выбор реальности ---------- */
.m-sv-hero { padding: 140px 0 var(--gap); }
@media (max-width: 992px) { .m-sv-hero { padding-top: 100px; } }
.m-sv-hero__head { margin-bottom: 26px; }
.m-sv-hero__title { margin: 0 0 12px; font-size: clamp(28px, 2.9vw, 42px); line-height: 1.15; font-weight: 500; text-transform: uppercase; color: #39404b; }
.m-sv-hero__title span {
  font-weight: 700;
  background: linear-gradient(169deg, #f93c3c, #cd0973); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.m-sv-hero__sub { margin: 0; font-size: 16px; line-height: 1.6; color: #8090aa; max-width: 72ch; }

.m-split {
  position: relative; height: clamp(360px, 30vw, 430px); overflow: hidden; isolation: isolate;
  border-radius: 10px 30px 10px 30px; user-select: none; touch-action: pan-y;
  box-shadow: 0 40px 80px -50px rgba(20, 26, 60, .7);
}
.m-split__side { position: absolute; inset: 0; overflow: hidden; }
.m-split__side--deep { background: radial-gradient(120% 90% at 85% 20%, #2a3170 0%, var(--deep) 45%, var(--deep2) 100%); color: #cfd6ff; }
.m-split__side--fast {
  background: radial-gradient(90% 80% at 15% 20%, #fff 0%, #f3edff 45%, #ffe6ee 100%);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.m-split.is-anim .m-split__side--fast { transition: clip-path .7s var(--ease); }
.m-split__label { position: absolute; top: 24px; left: 30px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.m-split__label b { font-size: clamp(26px, 2.6vw, 38px); line-height: 1; font-weight: 700; text-transform: uppercase;
  background: linear-gradient(120deg, #a068f8, #f93c3c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.m-split__label span { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8090aa; }
.m-split__label--r { left: auto; right: 30px; text-align: right; }
.m-split__label--r b { background: linear-gradient(120deg, #9fb2ff, #fff); -webkit-background-clip: text; background-clip: text; }
.m-split__label--r span { color: #7d88c4; }

.m-neuro { position: absolute; left: 4%; top: 24%; width: 40%; max-width: 440px; height: auto; overflow: visible; }
.m-neuro__links path { stroke: rgba(160, 104, 248, .28); stroke-width: 2; fill: none; }
.m-neuro__pulse path { stroke: #f93c3c; stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 30 600; animation: m-flow 2.6s linear infinite; }
.m-neuro__pulse path:nth-child(2) { stroke: #a068f8; animation-delay: -.9s; }
.m-neuro__pulse path:nth-child(3) { stroke: #cd0973; animation-delay: -1.7s; }
@keyframes m-flow { from { stroke-dashoffset: 630; } to { stroke-dashoffset: 0; } }
.m-neuro__nodes circle { fill: #fff; stroke: #a068f8; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: m-node 2.4s ease-in-out infinite; }
.m-neuro__nodes circle:nth-child(3n+1) { animation-delay: -.8s; }
.m-neuro__nodes circle:nth-child(3n+2) { animation-delay: -1.6s; }
.m-neuro__out { fill: #f93c3c !important; stroke: #fff !important; }
@keyframes m-node { 50% { transform: scale(1.25); } }
.m-chips-fly { position: absolute; left: 5%; bottom: 86px; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; max-width: 44%; }
.m-chips-fly li {
  padding: 8px 14px; border-radius: 8px 18px 7px 18px; background: #fff; font-size: 13px; font-weight: 500; color: #5b4bd6;
  box-shadow: 0 12px 24px -14px rgba(91, 75, 214, .6); animation: m-bob 4s ease-in-out infinite;
}
.m-chips-fly li:nth-child(2) { animation-delay: -1.3s; }
.m-chips-fly li:nth-child(3) { animation-delay: -2.6s; color: #f93c3c; }
@keyframes m-bob { 50% { transform: translateY(-7px); } }

.m-code {
  position: absolute; right: 4%; top: 22%; width: min(44%, 450px); padding: 16px 18px;
  border-radius: 10px 22px 10px 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(160, 180, 255, .14);
  font: 500 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #cfd6ff;
}
.m-code p { margin: 0; white-space: nowrap; overflow: hidden; }
.m-code i { display: inline-block; width: 26px; font-style: normal; color: #4c5694; }
.m-code .k { color: #ff7aa8; } .m-code .t { color: #9fb2ff; } .m-code .f { color: #ffd479; } .m-code .s { color: #8ef0c4; }
.m-code__caret { display: inline-block; width: 8px; height: 15px; margin-left: 4px; vertical-align: -2px; background: #f93c3c; animation: m-blink 1s steps(2) infinite; }
@keyframes m-blink { 50% { opacity: 0; } }
.m-db { position: absolute; right: 7%; bottom: 74px; width: min(28%, 250px); }
.m-db rect { fill: rgba(255, 255, 255, .06); stroke: rgba(160, 180, 255, .35); stroke-width: 1.5; }
.m-db text { fill: #9fb2ff; font: 600 12px ui-monospace, Menlo, monospace; }
.m-db .m-db__t path { stroke: rgba(160, 180, 255, .3); stroke-width: 4; stroke-linecap: round; }
.m-db__link { fill: none; stroke: #f93c3c; stroke-width: 2; stroke-dasharray: 6 6; animation: m-dashm 1.2s linear infinite; }
@keyframes m-dashm { to { stroke-dashoffset: -24; } }
.m-gears { position: absolute; right: 40%; bottom: 60px; width: 96px; opacity: .8; }
.m-gear { animation: m-spin 9s linear infinite; }
.m-gear path, .m-gear circle { fill: none; stroke: #7d88c4; stroke-width: 2.5; }
.m-gear--r { animation-direction: reverse; animation-duration: 6s; }
.m-gear--r path { stroke: #f93c3c; }
@keyframes m-spin { to { transform: rotate(360deg); } }

.m-split__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 5; width: 44px; margin-left: -22px; cursor: ew-resize;
  display: grid; place-items: center; outline: none;
}
.m-split.is-anim .m-split__handle { transition: left .7s var(--ease); }
.m-split__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(#a068f8, #f93c3c); box-shadow: 0 0 18px rgba(249, 60, 60, .6); }
.m-split__knob {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #a068f8, #3f55c3 55%, #f93c3c); box-shadow: 0 10px 30px -6px rgba(63, 85, 195, .8);
  transition: transform .3s var(--back);
}
.m-split__knob::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(160, 104, 248, .5); animation: m-ring 2.2s ease-out infinite; }
@keyframes m-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.m-split__knob svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.m-split__handle:hover .m-split__knob, .m-split.is-drag .m-split__knob { transform: scale(1.12); }
.m-split__handle:focus-visible .m-split__knob { outline: 3px solid #fff; outline-offset: 3px; }
.m-split__cta { position: absolute; left: 50%; bottom: 22px; z-index: 6; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.m-split__btn { min-width: 290px; min-height: 52px; justify-content: center; transition: background .5s, box-shadow .5s; }
.m-split.is-deep .m-split__btn { background: linear-gradient(120deg, #f93c3c, #cd0973); box-shadow: 0 18px 36px -16px rgba(249, 60, 60, .9); }
.m-split__hint { margin: 0; font-size: 12px; font-weight: 500; color: #8090aa; letter-spacing: .04em; }
.m-split.is-deep .m-split__hint { color: #7d88c4; }
.m-split__btn.is-swap { animation: m-swap .5s var(--ease); }
@keyframes m-swap { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(8px); opacity: 0; } 55% { transform: translateY(-8px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (max-width: 768px) {
  .m-split { height: 480px; }
  .m-neuro { width: 80%; top: 18%; left: 6%; }
  .m-code { width: 84%; right: 8%; top: 20%; font-size: 11px; }
  .m-db, .m-gears { display: none; }
  .m-chips-fly { max-width: 80%; bottom: 120px; }
  .m-split__btn { min-width: 250px; }
}

/* ---------- 2. Два пути ---------- */
.m-paths__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.m-paths__head .title2 { width: auto; margin: 0; }
.m-paths__tabs { position: relative; display: flex; padding: 5px; border-radius: 10px 22px 10px 22px; background: #f1effd; }
.m-paths__tabs button {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 11px 20px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 500; color: #5b4bd6; transition: color .4s;
}
.m-paths__tabs button i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 700; background: #fff; }
.m-paths__tabs button.is-on { color: #fff; }
.m-paths__tabs button.is-on i { color: #3f55c3; }
.m-paths__bar { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 8px 18px 8px 18px; background: linear-gradient(120deg, #a068f8, #3f55c3); transition: transform .6s var(--ease), background .6s; }
.m-paths.is-b .m-paths__bar { transform: translateX(100%); background: linear-gradient(120deg, #2a3170, #141a3c); }
.m-paths__cards { display: flex; gap: 20px; min-height: 440px; }
.m-path {
  position: relative; overflow: hidden; flex: .55 1 0; min-width: 0; display: flex; flex-direction: column; padding: 32px 36px 30px;
  border-radius: 10px 30px 10px 30px; transition: flex-grow .8s var(--ease), opacity .6s, filter .6s; cursor: pointer;
}
.m-path.is-on { flex-grow: 1.45; cursor: default; }
.m-path:not(.is-on) { opacity: .55; filter: saturate(.6); }
.m-path__list, .m-path__honest, .m-path__stack { max-height: 260px; transition: opacity .5s .15s, transform .6s .15s var(--ease), max-height .6s var(--ease), margin .6s var(--ease); }
.m-path__foot .btn { transition: opacity .5s .15s, transform .6s .15s var(--ease); }
.m-path:not(.is-on) .m-path__list, .m-path:not(.is-on) .m-path__honest, .m-path:not(.is-on) .m-path__stack { max-height: 0; margin-block: 0; overflow: hidden; }
.m-path:not(.is-on) .m-path__list, .m-path:not(.is-on) .m-path__honest, .m-path:not(.is-on) .m-path__stack, .m-path:not(.is-on) .m-path__foot .btn { opacity: 0; transform: translateY(10px); pointer-events: none; transition-delay: 0s; }
.m-path--fast { background: radial-gradient(120% 100% at 0% 0%, #fff, #f3edff 50%, #ffe8ef); border: 1px solid #ece6ff; }
.m-path--deep { background: radial-gradient(120% 100% at 100% 0%, #2a3170, var(--deep) 50%, var(--deep2)); color: #cfd6ff; }
.m-path__kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #f93c3c; }
.m-path--deep .m-path__kicker { color: #ff7aa8; }
.m-path__title { margin: 0 0 22px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; font-weight: 700; text-transform: uppercase; color: #39404b; }
.m-path--deep .m-path__title { color: #fff; }
.m-path__list { display: grid; gap: 14px; margin: 0 0 18px; }
.m-path__list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.m-path__list dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a068f8; padding-top: 3px; }
.m-path--deep .m-path__list dt { color: #9fb2ff; }
.m-path__list dd { margin: 0; font-size: 15px; line-height: 1.6; color: #6b7690; }
.m-path--deep .m-path__list dd { color: #c3cbf2; }
.m-path__honest { margin: 0; padding: 14px 18px; border-radius: 8px 18px 8px 18px; background: rgba(255, 255, 255, .7); border: 1px dashed #d9cffd; font-size: 14px; line-height: 1.55; color: #6b7690; }
.m-path__honest b { color: #39404b; }
.m-path__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 24px; }
.m-path__big {
  display: inline-block; padding: .08em 0 .12em; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; font-weight: 700; white-space: nowrap;
  background: linear-gradient(120deg, #a068f8, #f93c3c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.m-path__foot .btn { min-height: 48px; padding: 5px 28px; }
.m-path--deep .m-path__foot .btn { background: linear-gradient(120deg, #f93c3c, #cd0973); }
/* бегущая строка: только логотипы */
.m-path__stack { overflow: hidden; margin: 6px -36px 0; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.m-path__row { display: flex; width: max-content; gap: 12px; animation: m-run 45s linear infinite; }
.m-path__stack:hover .m-path__row { animation-play-state: paused; }
@keyframes m-run { to { transform: translateX(-50%); } }
.m-logo { flex: none; display: grid; place-items: center; width: 124px; height: 78px; padding: 12px 16px; border-radius: 8px 18px 7px 18px; background: #fff; }
.m-logo img { display: block; max-width: 100%; max-height: 50px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 992px) {
  .m-paths__tabs { display: none; }
  .m-paths__cards { flex-direction: column; height: auto; }
  .m-path:not(.is-on) .m-path__list, .m-path:not(.is-on) .m-path__honest, .m-path:not(.is-on) .m-path__stack { max-height: none; overflow: visible; }
  .m-path, .m-path:not(.is-on) { opacity: 1; filter: none; cursor: default; }
  .m-path:not(.is-on) .m-path__list, .m-path:not(.is-on) .m-path__honest, .m-path:not(.is-on) .m-path__stack, .m-path:not(.is-on) .m-path__foot .btn { opacity: 1; transform: none; pointer-events: auto; }
  .m-path__list div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- 3. Слои сайта ---------- */
.m-layers__panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 30px 50px; align-items: center;
  padding: 44px 48px; border-radius: 10px 30px 10px 30px; background: linear-gradient(135deg, #f7f5ff 0%, #fff 55%, #fff4f7 100%); border: 1px solid #ece6ff;
}
@media (max-width: 992px) { .m-layers__panel { grid-template-columns: 1fr; padding: 30px 24px; } }
.m-layers .title2 { width: auto; margin: 0 0 26px; line-height: 1.2; }
.m-layers__steps { margin: 0; padding: 0; list-style: none; counter-reset: ly; display: grid; gap: 10px; }
.m-layers__steps li {
  position: relative; counter-increment: ly; padding: 14px 18px 14px 62px; border-radius: 10px 22px 10px 22px; border: 1px solid transparent; cursor: pointer;
  transition: background .5s, border-color .5s, box-shadow .5s;
}
.m-layers__steps li::before {
  content: "0" counter(ly); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #a068f8; background: #f1effd; transition: background .5s, color .5s;
}
.m-layers__steps li::after { /* полоса-таймер активного шага */
  content: ""; position: absolute; left: 62px; right: 18px; bottom: 8px; height: 2px; border-radius: 2px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, #a068f8, #f93c3c);
}
.m-layers__steps li.is-on { background: #fff; border-color: #ece6ff; box-shadow: 0 20px 40px -30px rgba(63, 85, 195, .6); }
.m-layers__steps li.is-on::before { background: linear-gradient(135deg, #a068f8, #3f55c3); color: #fff; }
.m-layers.is-play .m-layers__steps li.is-on::after { animation: m-timer 3s linear both; }
@keyframes m-timer { to { transform: scaleX(1); } }
.m-layers__steps b { display: block; margin-bottom: 3px; font-size: 17px; color: #39404b; }
.m-layers__steps span { display: block; font-size: 14px; line-height: 1.55; color: #8090aa; }

.m-stackview { position: relative; height: 400px; perspective: 1400px; --p: 0; }
.m-layers.is-open .m-stackview { --p: 1; }
.m-plate {
  position: absolute; left: 12%; right: 12%; top: 50%; height: 210px; margin-top: -105px; border-radius: 12px 28px 12px 28px; padding: 18px;
  transform: rotateX(56deg) rotateZ(-30deg) translateZ(calc(var(--z) * 1px)) scale(.84);
  transition: transform 1.1s var(--ease), box-shadow .4s, filter .4s;
  box-shadow: 0 30px 50px -20px rgba(20, 26, 60, .35);
}
.m-plate--ui { --z: calc(var(--p) * 95); background: #fff; border: 1px solid #ece6ff; transition-delay: .1s; }
.m-plate--seo { --z: 0; background: linear-gradient(135deg, #a068f8, #3f55c3); color: #fff; }
.m-plate--tech { --z: calc(var(--p) * -95); background: linear-gradient(135deg, #2a3170, #0d1230); color: #cfd6ff; transition-delay: .1s; }
.m-layers.is-open .m-plate:not(.is-on) { filter: saturate(.7) brightness(.97); }
.m-plate.is-on { box-shadow: 0 0 0 3px #f93c3c, 0 30px 50px -20px rgba(20, 26, 60, .35); }
.m-mini { display: grid; gap: 12px; height: 100%; }
.m-mini i { display: block; border-radius: 6px; background: #eef0f8; }
.m-mini__nav { height: 12px; width: 70%; }
.m-mini__hero { height: 74px; background: linear-gradient(120deg, #f3edff, #ffe6ee) !important; }
.m-mini__btn { height: 20px; width: 36%; background: linear-gradient(120deg, #a068f8, #3f55c3) !important; }
.m-mini span { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-mini span i { height: 38px; }
.m-plate--seo code { display: block; margin-top: 18px; font: 500 13px/1.9 ui-monospace, Menlo, monospace; color: #fff; opacity: .92; }
.m-tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.m-tech-grid i { display: grid; place-items: center; height: 56px; border-radius: 8px 16px 8px 16px; border: 1px solid rgba(160, 180, 255, .3); font-style: normal; font-weight: 700; font-size: 14px; color: #fff; }

/* ---------- 4. Кейсы ---------- */
.m-contrast__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 992px) { .m-contrast__grid { grid-template-columns: 1fr; } }
.m-ccase {
  position: relative; display: flex; flex-direction: column; padding: 22px 22px 26px; border-radius: 10px 30px 10px 30px;
  background: #fff; border: 1px solid #e4e7f0; color: inherit; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s;
}
.m-ccase--deep { background: radial-gradient(120% 100% at 100% 0%, #2a3170, var(--deep) 50%, var(--deep2)); border-color: transparent; }
.m-ccase:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(20, 26, 60, .6); }
.m-ccase__mock { position: relative; overflow: hidden; border-radius: 10px 22px 10px 22px; background: #0d1230; margin-bottom: 22px; }
.m-ccase__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e9ebf5; }
.m-ccase--deep .m-ccase__bar { background: #232a5c; }
.m-ccase__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9cfe4; }
.m-ccase__bar i:first-child { background: #f93c3c; }
.m-ccase__bar em { margin-left: 10px; font-size: 12px; font-style: normal; color: #8090aa; }
.m-ccase__shot { aspect-ratio: 800 / 500; overflow: hidden; }
.m-ccase__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.m-ccase:hover .m-ccase__shot img { transform: scale(1.05); }
.m-ccase__facts {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.m-ccase__facts li {
  padding: 16px 14px; background: linear-gradient(135deg, #a068f8, #3f55c3); color: rgba(255, 255, 255, .78); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease);
}
.m-ccase--deep .m-ccase__facts li { background: linear-gradient(135deg, #f93c3c, #cd0973); }
.m-ccase__facts b { display: block; margin-bottom: 3px; font-size: 16px; text-transform: none; letter-spacing: 0; color: #fff; }
.m-ccase:hover .m-ccase__facts, .m-ccase:focus-visible .m-ccase__facts { transform: none; }
.m-ccase:hover .m-ccase__facts li, .m-ccase:focus-visible .m-ccase__facts li { opacity: 1; transform: none; }
.m-ccase:hover .m-ccase__facts li:nth-child(2) { transition-delay: .08s; }
.m-ccase:hover .m-ccase__facts li:nth-child(3) { transition-delay: .16s; }
.m-ccase__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding: 0 8px; }
.m-ccase__meta > div { min-width: 0; }
.m-ccase__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #f93c3c; }
.m-ccase__title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; color: #39404b; }
.m-ccase--deep .m-ccase__title { color: #fff; }
.m-ccase__big {
  flex: none; margin: 0; padding-bottom: .06em; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.1; font-weight: 700; white-space: nowrap;
  background: linear-gradient(120deg, #a068f8, #f93c3c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (max-width: 560px) { .m-ccase__meta { flex-direction: column; align-items: flex-start; } }
@media (hover: none) { .m-ccase__facts, .m-ccase__facts li { position: static; transform: none; opacity: 1; } }

/* ---------- 5. Смета ---------- */
.m-calc { padding-top: 0; }
.m-calc__box { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 992px) { .m-calc__box { grid-template-columns: 1fr; } }
.m-calc__form { display: grid; gap: 14px; }
.m-calc__form fieldset { margin: 0; padding: 22px 24px; border: 1px solid #e4e7f0; border-radius: 10px 26px 10px 26px; background: #fff; display: flex; flex-wrap: wrap; gap: 10px; }
.m-calc__form legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; font-size: 17px; font-weight: 700; color: #39404b; }
.m-calc__form legend i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-size: 13px; color: #fff; background: linear-gradient(135deg, #a068f8, #3f55c3); }
.m-calc__form label { position: relative; cursor: pointer; }
.m-calc__form input { position: absolute; opacity: 0; pointer-events: none; }
.m-calc__form label span {
  display: block; padding: 12px 18px; border-radius: 8px 18px 7px 18px; border: 1px solid #e4e7f0; font-size: 14px; font-weight: 500; color: #6b7690;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--back);
}
.m-calc__form label:hover span { border-color: #c9b6ff; color: #39404b; }
.m-calc__form input:checked + span { background: linear-gradient(120deg, #a068f8, #3f55c3); border-color: transparent; color: #fff; transform: scale(1.04); }
.m-calc__form input:focus-visible + span { outline: 2px solid #a068f8; outline-offset: 3px; }
.m-calc__result {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 34px 32px; border-radius: 10px 30px 10px 30px; color: #cfd6ff;
  background: radial-gradient(120% 100% at 100% 0%, #2a3170, var(--deep) 55%, var(--deep2));
}
.m-calc__result::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(249, 60, 60, .35), transparent); }
.m-calc__label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7d88c4; }
.m-calc__price { margin: 0 0 6px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.15; font-weight: 700; color: #fff; white-space: nowrap; }
.m-calc__price.is-bump { animation: m-bump .45s var(--back); }
@keyframes m-bump { 40% { transform: scale(1.05); color: #ffd0dc; } }
.m-calc__term { margin: 0 0 20px; font-size: 15px; } .m-calc__term b { color: #fff; }
.m-calc__way { display: flex; gap: 8px; margin-bottom: 14px; }
.m-calc__chip { padding: 8px 14px; border-radius: 8px 18px 7px 18px; font-size: 13px; font-weight: 700; border: 1px solid rgba(160, 180, 255, .3); color: #7d88c4; transition: all .4s; }
.m-calc__chip.is-on { background: linear-gradient(120deg, #f93c3c, #cd0973); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -10px rgba(249, 60, 60, .9); }
.m-calc__why { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: #c3cbf2; min-height: 3.2em; }
.m-calc__btn { align-self: flex-start; min-height: 50px; padding: 5px 30px; margin-top: auto; }
.m-calc__note { margin: 14px 0 0; font-size: 12px; color: #7d88c4; }

/* ---------- 6. Проверка идеи ---------- */
.m-term { background: #fff; }
.m-term__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px 60px; align-items: center; }
@media (max-width: 992px) { .m-term__grid { grid-template-columns: 1fr; } }
.m-term .title2 { width: auto; margin: 0 0 20px; line-height: 1.2; }
.m-term__text p { margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: #8090aa; }
.m-term__steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.m-term__steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: #39404b; }
.m-term__steps i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #a068f8, #3f55c3); }
.m-term__win { overflow: hidden; border-radius: 10px 26px 10px 26px; background: #0d1230; box-shadow: 0 40px 80px -40px rgba(13, 18, 48, .8); }
.m-term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #1b2150; }
.m-term__bar i { width: 11px; height: 11px; border-radius: 50%; }
.m-term__bar i:nth-child(1) { background: #f93c3c; } .m-term__bar i:nth-child(2) { background: #ffbe3c; } .m-term__bar i:nth-child(3) { background: #3cd98a; }
.m-term__bar span { margin-left: 10px; font-size: 13px; font-weight: 500; color: #9fa8dc; }
.m-term__body { display: grid; gap: 14px; padding: 24px 26px 26px; }
.m-term__field { display: grid; gap: 7px; }
.m-term__field > span { font-size: 13px; font-weight: 500; color: #9fa8dc; }
.m-term__field input, .m-term__field textarea {
  box-sizing: border-box; width: 100%; padding: 14px 16px; border-radius: 8px 18px 8px 18px; border: 1px solid rgba(160, 180, 255, .22); background: rgba(255, 255, 255, .06);
  color: #fff; font: inherit; font-size: 15px; outline: 0; resize: none; transition: border-color .3s, background .3s, box-shadow .3s;
}
.m-term__field input::placeholder, .m-term__field textarea::placeholder { color: #6b74ad; }
.m-term__field input:focus, .m-term__field textarea:focus { border-color: #a068f8; background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 4px rgba(160, 104, 248, .18); }
.m-term__field.is-bad input, .m-term__field.is-bad textarea { border-color: #f93c3c; }
/* подсказка «заполните»: первое пустое поле мягко пульсирует, пока форма на экране */
.m-term__win.is-hint .m-term__field.is-next input, .m-term__win.is-hint .m-term__field.is-next textarea { animation: m-glow 1.8s ease-in-out infinite; }
@keyframes m-glow { 50% { border-color: #a068f8; box-shadow: 0 0 0 4px rgba(160, 104, 248, .2); } }
.m-term__consent { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #7d88c4; }
.m-term__consent a { color: #9fb2ff; }
.m-term__consent input { accent-color: #a068f8; }
.m-term__run {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 0; border-radius: 8px 22px 7px 22px; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 700; color: #fff; background: linear-gradient(120deg, #f93c3c, #cd0973);
  transition: transform .3s var(--back), box-shadow .3s;
}
.m-term__run svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.m-term__run:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(249, 60, 60, .9); }
.m-term__run:hover svg { transform: translateX(4px); }
.m-term__run[disabled] { opacity: .6; cursor: wait; }
.m-term__out { margin: 0; min-height: 1.4em; font-size: 14px; line-height: 1.6; }
.m-term__out.is-ok { color: #8ef0c4; } .m-term__out.is-err { color: #ff7aa8; }

/* ---------- Появление ---------- */
html.m-js .m-sv-in { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.m-js .m-sv-in.m-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .m-sv-hero *, .m-paths *, .m-layers *, .m-contrast *, .m-calc *, .m-term * { animation: none !important; }
  html.m-js .m-sv-in { opacity: 1; transform: none; }
  .m-stackview { --p: 1; }
}
