/* =========================================================
   MIRIDEA · страница «Партнерство» v1.0
   Первый экран, модели сотрудничества, форматы, оплата,
   технологии, SLA, вопросы. Общие блоки — blocks.css / motion.css.
   ========================================================= */
.m-ph, .m-models, .m-formats, .m-pay, .m-techs, .m-sla, .m-faq { --p-ease: cubic-bezier(.22, 1, .36, 1); --p-back: cubic-bezier(.34, 1.56, .64, 1); }
.m-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Общая шапка секции: заголовок слева, пояснение справа */
.m-sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 60px; align-items: end; margin-bottom: 44px; }
.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; margin-bottom: 30px; } }

/* ---------- Первый экран ---------- */
.m-ph { padding: 160px 0 50px; overflow: hidden; }
@media (max-width: 992px) { .m-ph { padding: 110px 0 30px; } }
@media (max-width: 768px) { .m-ph { padding: 90px 0 20px; } }
.m-ph__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.m-ph__glow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: m-ph-drift 14s ease-in-out infinite alternate; }
.m-ph__glow i:nth-child(1) { width: 420px; height: 420px; left: -120px; top: 80px; background: #c9b6ff; }
.m-ph__glow i:nth-child(2) { width: 360px; height: 360px; right: 10%; top: 20px; background: #ffc4d4; animation-duration: 18s; animation-delay: -6s; }
@keyframes m-ph-drift { to { transform: translate(60px, 40px) scale(1.15); } }

.m-ph__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 30px 40px; }
@media (max-width: 992px) { .m-ph__grid { grid-template-columns: 1fr; } }
.m-ph__title {
  margin: 0 0 22px; font-weight: 500; font-size: clamp(34px, 4vw, 56px); line-height: 1.12;
  text-transform: uppercase; color: #39404b;
}
.m-ph__line { display: block; }
.m-ph__title b { font-weight: 700; }
.m-ph__title b, .m-ph__title b .m-w {
  background: linear-gradient(169deg, #f93c3c 0%, #cd0973 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.m-ph__lead, .m-ph__text { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: #8090aa; max-width: 60ch; }
.m-ph__q { margin: 6px 0 10px; font-size: 19px; line-height: 1.3; font-weight: 500; color: #39404b; }
.m-ph__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 30px; }
.m-ph__actions .btn--primary { min-height: 52px; padding: 5px 34px; }
.m-ph__link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #39404b; transition: color .3s; }
.m-ph__link svg { width: 18px; height: 18px; fill: none; stroke: #f93c3c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: m-ph-bob 1.8s ease-in-out infinite; }
.m-ph__link:hover { color: #f93c3c; }
@keyframes m-ph-bob { 50% { transform: translateY(4px); } }

.m-ph__pic { position: relative; }
.m-ph__pic img {
  display: block; width: 100%; max-width: 680px; height: auto; margin-left: auto;
  transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px), 0) rotate(calc(var(--mx, 0) * -1.2deg));
  transition: transform .9s var(--p-ease);
}
@media (max-width: 992px) { .m-ph__pic img { margin: 0 auto; } }

/* Цифры под первым экраном */
.m-ph__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 40px 0 0; padding: 0; list-style: none; }
@media (max-width: 992px) { .m-ph__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.m-ph__stat {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px;
  border: 1px solid #e4e7f0; border-radius: 10px 22px 10px 22px; background: rgba(255, 255, 255, .75);
  transition: border-color .4s, transform .45s var(--p-ease), box-shadow .45s;
}
.m-ph__stat::before { /* бегущий блик */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(160, 104, 248, .14) 50%, transparent 70%);
  animation: m-ph-shine 6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * .6s + 1.5s);
}
@keyframes m-ph-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.m-ph__stat:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 18px 36px -22px rgba(63, 85, 195, .55); }
.m-ph__stat b {
  font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; line-height: 1.1; white-space: nowrap;
  background: linear-gradient(120deg, #a068f8, #3f55c3 60%, #184eae); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.m-ph__stat b span { -webkit-text-fill-color: transparent; }
.m-ph__stat > span { font-size: 13px; line-height: 1.4; color: #8090aa; }

/* Появление первого экрана */
html.m-js .m-ph__in { opacity: 0; transform: translateY(24px); }
html.m-js .m-ph.is-ready .m-ph__in { animation: m-ph-up .9s var(--p-ease) both; }
html.m-js .m-ph.is-ready .m-about-hero__crumbs { animation-delay: .05s; }
html.m-js .m-ph.is-ready .m-ph__lead { animation-delay: .55s; }
html.m-js .m-ph.is-ready .m-ph__q { animation-delay: .7s; }
html.m-js .m-ph.is-ready .m-ph__text { animation-delay: .8s; }
html.m-js .m-ph.is-ready .m-ph__actions { animation-delay: .95s; }
@keyframes m-ph-up { to { opacity: 1; transform: none; } }
html.m-js .m-ph__pic { opacity: 0; transform: translateX(40px) scale(.96); }
html.m-js .m-ph.is-ready .m-ph__pic { animation: m-ph-pic 1.3s var(--p-ease) .3s both; }
@keyframes m-ph-pic { to { opacity: 1; transform: none; } }
/* Слова заголовка */
.m-w { display: inline-block; }
html.m-js .m-ph__title .m-w { opacity: 0; transform: translateY(.55em) rotate(3deg); filter: blur(6px); }
html.m-js .m-ph.is-ready .m-ph__title .m-w { animation: m-ph-word .9s var(--p-ease) both; animation-delay: calc(var(--i) * 90ms + .15s); }
@keyframes m-ph-word { to { opacity: 1; transform: none; filter: none; } }

/* ---------- «Мы предлагаем»: призыв ---------- */
.m-pcta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 34px; }
.m-pcta .btn--primary { flex: none; min-height: 52px; padding: 5px 34px; }
.m-pcta p { margin: 0; flex: 1 1 320px; max-width: 64ch; font-size: 15px; line-height: 1.6; color: #8090aa; }

/* ---------- Модели сотрудничества ---------- */
.m-models {
  position: relative; overflow: hidden; isolation: isolate; padding: 90px 0 100px;
  background: linear-gradient(120deg, #a068f8 0%, #3f55c3 55%, #184eae 100%);
}
@media (max-width: 768px) { .m-models { padding: 60px 0 70px; } }
.m-models__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.m-models__bg i { position: absolute; border-radius: 50%; }
.m-models__bg i:nth-child(1) { width: 560px; height: 560px; left: -160px; top: -220px; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); animation: m-ph-drift 16s ease-in-out infinite alternate; }
.m-models__bg i:nth-child(2) { width: 480px; height: 480px; right: -140px; bottom: -200px; background: radial-gradient(closest-side, rgba(249, 60, 60, .35), transparent); animation: m-ph-drift 20s ease-in-out -8s infinite alternate-reverse; }
.m-models__bg i:nth-child(3) { /* пятно за курсором */
  width: 520px; height: 520px; left: calc(var(--sx, 50%) - 260px); top: calc(var(--sy, 40%) - 260px);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent); transition: left .6s var(--p-ease), top .6s var(--p-ease);
}
.m-models::before { /* диагональные полосы, как на главной */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .1;
  background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(255, 255, 255, .5) 140px 141px);
}
.m-models__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 50px; align-items: end; margin-bottom: 44px; }
@media (max-width: 992px) { .m-models__head { grid-template-columns: 1fr; } }
.m-models__title { width: auto; margin: 0; }
.m-models__lead { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 52ch; }

.m-models__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; perspective: 1100px; }
@media (max-width: 992px) { .m-models__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.m-model {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 30px 32px; border-radius: 10px 26px 10px 26px; background: rgba(255, 255, 255, .95);
  rotate: var(--ax, 0) var(--ay, 0) 0 var(--ang, 0deg);
  transition: rotate .6s var(--p-ease), translate .5s var(--p-ease), box-shadow .5s, opacity .9s var(--p-ease), transform .9s var(--p-ease);
  transform-style: preserve-3d;
}
.m-model.is-tilt { transition: rotate .12s linear, translate .5s var(--p-ease), box-shadow .5s, opacity .9s var(--p-ease), transform .9s var(--p-ease); }
.m-model:hover { translate: 0 -8px; box-shadow: 0 36px 60px -30px rgba(10, 8, 60, .7); }
.m-model::after { /* блик под курсором */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 0%), rgba(160, 104, 248, .16), transparent 60%);
}
.m-model:hover::after { opacity: 1; }
.m-model__num {
  position: absolute; top: 14px; left: 22px; font-size: 54px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(63, 85, 195, .14); transition: -webkit-text-stroke-color .4s, transform .6s var(--p-ease);
}
.m-model:hover .m-model__num { -webkit-text-stroke-color: rgba(249, 60, 60, .35); transform: translateY(-3px); }
.m-model__icon {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px;
  border-radius: 8px 20px 7px 20px; background: linear-gradient(135deg, #a068f8, #3f55c3 60%, #184eae);
  box-shadow: 0 14px 26px -14px rgba(63, 85, 195, .9); transition: transform .6s var(--p-back);
}
.m-model__icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-model:hover .m-model__icon { transform: rotate(-8deg) scale(1.08); }
.m-model--hot .m-model__icon { background: linear-gradient(135deg, #f93c3c, #cd0973); box-shadow: 0 14px 26px -14px rgba(205, 9, 115, .9); }
.m-model__icon::after { /* пульс */
  content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid rgba(160, 104, 248, .5);
  animation: m-pulse 2.6s ease-out infinite; animation-delay: calc(var(--d, 0) * .5s);
}
.m-model--hot .m-model__icon::after { border-color: rgba(249, 60, 60, .5); }
@keyframes m-pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.m-model__title { margin: 0 0 16px; font-size: 18px; font-weight: 700; line-height: 1.25; text-transform: uppercase; color: #39404b; }
.m-model__text p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: #8090aa; }
.m-model__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 6px 0 22px; padding: 0; list-style: none; }
.m-model__tags li { padding: 5px 12px; border-radius: 6px 14px 6px 14px; background: #f1effd; font-size: 12px; font-weight: 500; color: #5b4bd6; }
.m-model__badge {
  display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 6px 0 22px; padding: 12px 26px;
  border: 1px solid #f3d2dc; border-radius: 10px 24px 10px 24px; background: #fff7f9;
  font-weight: 700; color: #f93c3c; text-transform: uppercase;
}
.m-model__badge b { font-size: 34px; line-height: 1; background: linear-gradient(169deg, #f93c3c, #cd0973); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.m-model__badge span { font-size: 18px; }
.m-model__badge small { margin-left: 6px; font-size: 15px; text-transform: none; color: #cd0973; }
.m-model--hot .m-model__badge { animation: m-badge 2.8s ease-in-out infinite; }
@keyframes m-badge { 0%, 100% { box-shadow: 0 0 0 0 rgba(249, 60, 60, 0); } 50% { box-shadow: 0 0 0 8px rgba(249, 60, 60, .08); } }
.m-model__btn { margin-top: auto; min-height: 46px; padding: 5px 28px; }

.m-also {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 40px;
  margin-top: 24px; padding: 26px 34px; border-radius: 10px 26px 10px 26px; background: rgba(255, 255, 255, .95);
}
@media (max-width: 992px) { .m-also { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.m-also__title { margin: 0; font-size: 18px; font-weight: 700; text-transform: uppercase; color: #39404b; white-space: nowrap; }
.m-also__text { margin: 0; font-size: 14px; line-height: 1.6; color: #8090aa; max-width: 62ch; }
.m-also__btn { min-height: 46px; padding: 5px 28px; white-space: nowrap; }

/* ---------- Форматы работы ---------- */
.m-formats { padding-block: clamp(60px, 7vw, 100px); }
.m-formats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 992px) { .m-formats__grid { grid-template-columns: 1fr; } }
.m-format {
  position: relative; display: flex; flex-direction: column; padding: 36px 36px 30px;
  border: 1px solid #e4e7f0; border-radius: 10px 26px 10px 26px; background: #fff;
  transition: border-color .4s, translate .5s var(--p-ease), box-shadow .5s, opacity .9s var(--p-ease), transform .9s var(--p-ease);
}
.m-format:hover { translate: 0 -6px; border-color: transparent; box-shadow: 0 26px 50px -30px rgba(63, 85, 195, .55); }
.m-format--alt { background: linear-gradient(160deg, #f6f3ff, #fff 60%); }
.m-format__kicker {
  margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(169deg, #f93c3c, #cd0973); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.m-format__title { margin: 0 0 14px; font-size: 22px; line-height: 1.25; font-weight: 700; color: #39404b; }
.m-format > p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: #8090aa; }
.m-format__fit {
  display: flex; align-items: center; gap: 10px; margin: auto 0 0 !important; padding-top: 18px; border-top: 1px dashed #e4e7f0;
  font-weight: 500; color: #39404b !important;
}
.m-format__fit::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat, linear-gradient(135deg, #a068f8, #3f55c3);
}

/* Схема «Задача → Готово» */
.m-flow { position: relative; display: flex; justify-content: space-between; gap: 6px; margin: 10px 0 24px; padding: 0; list-style: none; counter-reset: flow; }
.m-flow::before, .m-flow::after { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; border-radius: 2px; background: #e4e7f0; }
.m-flow::after { right: auto; width: 0; background: linear-gradient(90deg, #a068f8, #f93c3c); }
.m-format.m-in .m-flow::after { animation: m-flow-line 6s var(--p-ease) .4s infinite; }
@keyframes m-flow-line { 0% { width: 0; } 60%, 85% { width: calc(100% - 36px); } 100% { width: calc(100% - 36px); opacity: 0; } }
.m-flow li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; counter-increment: flow; font-size: 12px; font-weight: 500; color: #8090aa; }
.m-flow li::before {
  content: counter(flow); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 2px solid #e4e7f0; font-size: 14px; font-weight: 700; color: #8090aa;
}
.m-format.m-in .m-flow li::before { animation: m-flow-dot 6s var(--p-ease) infinite; animation-delay: calc(var(--i) * .7s + .4s); }
@keyframes m-flow-dot {
  0% { background: #fff; color: #8090aa; border-color: #e4e7f0; transform: scale(1); }
  6% { transform: scale(1.18); }
  10%, 85% { background: linear-gradient(135deg, #a068f8, #3f55c3); color: #fff; border-color: transparent; transform: scale(1); }
  100% { background: #fff; color: #8090aa; border-color: #e4e7f0; }
}

/* Схема аутстаффа: ваш PM и наши специалисты */
.m-team { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 24px; }
.m-team__you {
  position: relative; padding: 9px 16px; border-radius: 8px 18px 7px 18px; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #f93c3c, #cd0973); margin-right: 26px;
}
.m-team__you::after { /* пунктир-связь */
  content: ""; position: absolute; left: 100%; top: 50%; width: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, #a068f8 0 5px, transparent 5px 9px); background-size: 18px 2px;
  animation: m-dash 1s linear infinite;
}
@keyframes m-dash { to { background-position: 18px 0; } }
.m-team__dev {
  padding: 8px 14px; border-radius: 8px 18px 7px 18px; font-size: 13px; font-style: normal; font-weight: 500; color: #3f55c3;
  background: #fff; border: 1px solid #dcd6fb;
}
html.m-js .m-format .m-team__dev { opacity: 0; transform: translateX(-14px); }
.m-format.m-in .m-team__dev { animation: m-dev .7s var(--p-back) both; animation-delay: calc(var(--i) * .15s + .5s); }
@keyframes m-dev { to { opacity: 1; transform: none; } }
.m-format.m-in .m-team__dev:hover { background: linear-gradient(135deg, #a068f8, #3f55c3); color: #fff; border-color: transparent; }

/* ---------- Оплата ---------- */
.m-pay { padding-block: 0 clamp(60px, 7vw, 100px); }
.m-pay__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; perspective: 1100px; }
@media (max-width: 992px) { .m-pay__grid { grid-template-columns: 1fr; max-width: 560px; } }
.m-plan {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 34px 32px 28px;
  border: 1px solid #e4e7f0; border-radius: 10px 26px 10px 26px; background: #fff;
  rotate: var(--ax, 0) var(--ay, 0) 0 var(--ang, 0deg);
  transition: rotate .6s var(--p-ease), translate .5s var(--p-ease), box-shadow .5s, border-color .4s, opacity .9s var(--p-ease), transform .9s var(--p-ease);
}
.m-plan.is-tilt { transition: rotate .12s linear, translate .5s var(--p-ease), box-shadow .5s, border-color .4s, opacity .9s var(--p-ease), transform .9s var(--p-ease); }
.m-plan:hover { translate: 0 -8px; border-color: transparent; box-shadow: 0 30px 54px -30px rgba(63, 85, 195, .6); }
.m-plan::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(160, 104, 248, .12), transparent 60%);
}
.m-plan:hover::after { opacity: 1; }
.m-plan__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 8px 20px 7px 20px; background: #f1effd; transition: transform .6s var(--p-back), background .4s; }
.m-plan__icon svg { width: 30px; height: 30px; fill: none; stroke: #3f55c3; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-plan:hover .m-plan__icon { transform: rotate(-8deg) scale(1.08); }
.m-plan__title { margin: 0 0 4px; font-size: 22px; font-weight: 700; color: #39404b; }
.m-plan__sub { margin: 0 0 14px !important; font-size: 13px !important; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: #f93c3c !important; }
.m-plan > p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: #8090aa; }
.m-plan__fit { padding-top: 14px; border-top: 1px dashed #e4e7f0; }
.m-plan__fit b { font-weight: 500; color: #39404b; }
.m-plan__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 500; color: #39404b; transition: color .3s; }
.m-plan__btn svg { width: 18px; height: 18px; fill: none; stroke: #f93c3c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--p-ease); }
.m-plan__btn:hover { color: #f93c3c; }
.m-plan__btn:hover svg { transform: translateX(5px); }
/* Акцентная карточка — как плитки сайта при наведении */
.m-plan--accent { border-color: transparent; background: linear-gradient(135deg, #a068f8 0%, #3f55c3 55%, #184eae 100%); box-shadow: 0 30px 54px -34px rgba(63, 85, 195, .9); }
.m-plan--accent .m-plan__title, .m-plan--accent .m-plan__fit b, .m-plan--accent .m-plan__btn { color: #fff; }
.m-plan--accent > p { color: rgba(255, 255, 255, .82); }
.m-plan--accent .m-plan__sub { color: #ffd0dc !important; }
.m-plan--accent .m-plan__fit { border-top-color: rgba(255, 255, 255, .25); }
.m-plan--accent .m-plan__icon { background: rgba(255, 255, 255, .16); }
.m-plan--accent .m-plan__icon svg, .m-plan--accent .m-plan__btn svg { stroke: #fff; }
.m-plan--accent::after { background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .18), transparent 60%); }
.m-plan--accent .m-plan__btn:hover { color: #fff; }

/* Единая ставка */
.m-rate {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; gap: 20px 50px;
  margin-top: 24px; padding: 28px 34px; border-radius: 10px 26px 10px 26px; background: #f6f4ff;
}
@media (max-width: 992px) { .m-rate { grid-template-columns: 1fr; } }
.m-rate__meter { display: flex; align-items: center; gap: 12px; }
.m-rate__h { flex: none; font-size: 13px; font-weight: 700; color: #3f55c3; }
.m-rate__track { position: relative; flex: 1; height: 10px; border-radius: 10px; background: #e4e1fb; }
.m-rate__track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #a068f8, #3f55c3); }
.m-rate__track::after { /* «цена часа» — линия не меняется */
  content: "₽ / час = const"; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  font-size: 11px; font-weight: 700; color: #cd0973; white-space: nowrap;
}
.m-rate.m-in .m-rate__track i { animation: m-rate 5s var(--p-ease) infinite; }
@keyframes m-rate { 0% { width: 4%; } 55%, 85% { width: 100%; } 100% { width: 4%; } }
.m-rate__title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #39404b; }
.m-rate__body p:last-child { margin: 0; font-size: 14px; line-height: 1.6; color: #8090aa; }

/* ---------- Технологии ---------- */
.m-techs { padding-block: clamp(60px, 7vw, 90px); background: #fff; }
.m-techs__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 14px 30px; padding: 22px 0; border-top: 1px dashed #e4e7f0; }
.m-techs__row:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 768px) { .m-techs__row { grid-template-columns: 1fr; } }
.m-techs__cat { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #39404b; }
.m-techs__cat small {
  display: inline-grid; place-items: center; min-width: 24px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 6px 12px 6px 12px;
  background: #f1effd; font-size: 11px; font-weight: 700; color: #5b4bd6; vertical-align: 2px;
}
.m-techs__list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.m-chip {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px;
  border-radius: 8px 18px 7px 18px; background: #fff; box-shadow: 0 10px 24px -12px rgba(63, 85, 195, .35), 0 0 0 1px #eef0f7;
  transition: transform .45s var(--p-back), box-shadow .45s;
}
.m-chip img { max-width: 36px; max-height: 36px; width: auto; height: auto; object-fit: contain; }
.m-chip__code {
  font-size: 18px; font-weight: 700; background: linear-gradient(135deg, #a068f8, #3f55c3);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.m-chip::after { /* подсказка */
  content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 3;
  padding: 6px 10px; border-radius: 6px 12px 6px 12px; background: #39404b; color: #fff;
  font-size: 12px; font-weight: 500; white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 6px); transition: opacity .25s, transform .25s;
}
.m-chip:hover { z-index: 2; transform: translateY(-6px) scale(1.08); box-shadow: 0 18px 30px -14px rgba(63, 85, 195, .55), 0 0 0 1px #dcd6fb; }
.m-chip:hover::after { opacity: 1; transform: translate(-50%, 0); }
html.m-js .m-techs__row .m-chip { opacity: 0; transform: translateY(16px) scale(.6); }
html.m-js .m-techs__row.m-in .m-chip { animation: m-chip .6s var(--p-back) both; animation-delay: calc(var(--i) * 40ms + .15s); }
@keyframes m-chip { to { opacity: 1; transform: none; } }
html.m-js .m-techs__row.m-in .m-chip:hover { animation: none; opacity: 1; transform: translateY(-6px) scale(1.08); }
html.m-js .m-techs__row.is-done .m-chip { animation: none; opacity: 1; transform: none; }
/* лёгкая «волна» по логотипам раз в несколько секунд */
.m-techs__row.is-wave .m-chip { animation: m-wave .9s var(--p-ease) both !important; animation-delay: calc(var(--i) * 45ms) !important; opacity: 1; }
@keyframes m-wave { 0%, 100% { transform: none; } 40% { transform: translateY(-6px); } }

/* ---------- SLA ---------- */
.m-sla { padding-block: clamp(60px, 7vw, 100px); }
.m-sla__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 992px) { .m-sla__grid { grid-template-columns: 1fr; } }
.m-sla__item {
  position: relative; padding: 32px 30px; border: 1px solid #e4e7f0; border-radius: 10px 26px 10px 26px; background: #fff;
  transition: border-color .4s, translate .5s var(--p-ease), box-shadow .5s, opacity .9s var(--p-ease), transform .9s var(--p-ease);
}
.m-sla__item:hover { translate: 0 -6px; border-color: transparent; box-shadow: 0 26px 50px -30px rgba(63, 85, 195, .55); }
.m-sla__icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 8px 20px 7px 20px;
  background: linear-gradient(135deg, #f93c3c, #cd0973); box-shadow: 0 14px 26px -14px rgba(205, 9, 115, .9);
}
.m-sla__icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
html.m-js .m-sla__icon svg * { stroke-dasharray: 160; stroke-dashoffset: 160; }
.m-sla__item.m-in .m-sla__icon svg * { animation: m-draw 1.4s var(--p-ease) both; animation-delay: calc(var(--d, 0) * .2s + .3s); }
@keyframes m-draw { to { stroke-dashoffset: 0; } }
.m-sla__item:hover .m-sla__icon { animation: m-jelly .7s var(--p-back); }
@keyframes m-jelly { 30% { transform: scale(1.12, .9); } 60% { transform: scale(.95, 1.06); } }
.m-sla__item h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: #39404b; }
.m-sla__item p { margin: 0; font-size: 15px; line-height: 1.6; color: #8090aa; }

/* ---------- Вопросы ---------- */
.m-faq { padding-block: 0 clamp(60px, 7vw, 100px); }
.m-faq__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px 60px; align-items: start; }
@media (max-width: 992px) { .m-faq__grid { grid-template-columns: 1fr; } }
.m-faq .title2 { width: auto; margin: 0; line-height: 1.2; }
.m-faq__item { border-bottom: 1px solid #e4e7f0; }
.m-faq__item summary {
  position: relative; display: block; padding: 20px 48px 20px 0; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 500; line-height: 1.4; color: #39404b; transition: color .3s;
}
.m-faq__item summary::-webkit-details-marker { display: none; }
.m-faq__item summary::before, .m-faq__item summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 16px; height: 2px; border-radius: 2px;
  background: #f93c3c; transition: transform .45s var(--p-ease);
}
.m-faq__item summary::after { transform: rotate(90deg); }
.m-faq__item[open] summary::after { transform: rotate(0); }
.m-faq__item summary:hover { color: #f93c3c; }
.m-faq__item summary:focus-visible { outline: 2px solid #a068f8; outline-offset: 3px; border-radius: 4px; }
.m-faq__a { overflow: hidden; }
.m-faq__a p { margin: 0; padding: 0 48px 22px 0; font-size: 15px; line-height: 1.65; color: #8090aa; }

/* ---------- Без анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
  .m-ph *, .m-models *, .m-formats *, .m-pay *, .m-techs *, .m-sla * { animation: none !important; }
  html.m-js .m-ph__in, html.m-js .m-ph__pic, html.m-js .m-ph__title .m-w,
  html.m-js .m-techs__row .m-chip, html.m-js .m-format .m-team__dev { opacity: 1; transform: none; filter: none; }
  html.m-js .m-sla__icon svg * { stroke-dashoffset: 0; }
  .m-model, .m-plan { rotate: none; }
}

/* =========================================================
   v2.0 · продающая версия для студий (блоки по ТЗ SEO)
   ========================================================= */
.m-calm, .m-who, .m-take, .m-start, .m-exp, .m-pform { --p-ease: cubic-bezier(.22, 1, .36, 1); --p-back: cubic-bezier(.34, 1.56, .64, 1); }
.m-ph__kicker { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 6px 14px 6px 14px; background: #f1effd; font-size: 13px; font-weight: 500; color: #5b4bd6; }
.m-ph__lead b { font-weight: 600; color: #39404b; }
.m-ph__text { font-size: 14px; font-weight: 500; color: #39404b; letter-spacing: .02em; }

/* Полоса трёх обещаний */
.m-pstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 18px 0 0; padding: 0; list-style: none;
  border-radius: 12px 26px 12px 26px; overflow: hidden; background: linear-gradient(120deg, #f93c3c, #cd0973); box-shadow: 0 24px 44px -28px rgba(205, 9, 115, .8); }
.m-pstrip li { display: flex; align-items: center; gap: 12px; padding: 20px 26px; font-size: 16px; font-weight: 600; color: #fff; }
.m-pstrip li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.m-pstrip svg { flex: none; width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .m-pstrip { grid-template-columns: 1fr; } .m-pstrip li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); } }

/* Почему с нами спокойно */
.m-calm { padding-block: clamp(60px, 7vw, 100px); }
.m-calm__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 992px) { .m-calm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .m-calm__grid { grid-template-columns: 1fr; } }
.m-calm__item { position: relative; padding: 30px 28px 28px; border: 1px solid #e4e7f0; border-radius: 10px 24px 10px 24px; background: #fff;
  transition: translate .5s var(--p-ease), box-shadow .5s, border-color .4s; }
.m-calm__item:hover { translate: 0 -6px; border-color: transparent; box-shadow: 0 26px 50px -30px rgba(63, 85, 195, .55); }
.m-calm__n { display: block; margin-bottom: 14px; font-size: 40px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #c9c2f5; }
.m-calm__item h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.3; font-weight: 700; color: #39404b; }
.m-calm__item p { margin: 0; font-size: 15px; line-height: 1.6; color: #8090aa; }
.m-calm__item--main { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; border-color: transparent;
  background: linear-gradient(150deg, #a068f8 0%, #3f55c3 55%, #184eae 100%); box-shadow: 0 30px 54px -34px rgba(63, 85, 195, .9); }
.m-calm__item--main .m-calm__n { font-size: 72px; -webkit-text-stroke-color: rgba(255, 255, 255, .45); margin-bottom: auto; }
.m-calm__item--main h3 { font-size: 26px; color: #fff; }
.m-calm__item--main p { font-size: 16px; color: rgba(255, 255, 255, .85); }
@media (max-width: 600px) { .m-calm__item--main { grid-row: auto; } .m-calm__item--main .m-calm__n { margin-bottom: 20px; } }

/* Кому подходит */
.m-who { padding-block: 0 clamp(60px, 7vw, 100px); }
.m-who__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 992px) { .m-who__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .m-who__grid { grid-template-columns: 1fr; } }
.m-who__item { padding: 26px 24px; border-radius: 10px 24px 10px 24px; background: #f6f5fe; transition: background .4s, translate .5s var(--p-ease); }
.m-who__item:hover { background: #efecfd; translate: 0 -4px; }
.m-who__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 8px 18px 8px 18px; background: #fff; }
.m-who__icon svg { width: 28px; height: 28px; fill: none; stroke: #f93c3c; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-who__item h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; font-weight: 700; color: #39404b; }
.m-who__item p { margin: 0; font-size: 14px; line-height: 1.55; color: #8090aa; }

/* Что берём на себя */
.m-take { padding-block: 0 clamp(60px, 7vw, 100px); }
.m-take__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1200px) { .m-take__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .m-take__grid { grid-template-columns: 1fr; } }
.m-take__item { display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid #e4e7f0; border-radius: 10px 22px 10px 22px; background: #fff; color: inherit;
  transition: translate .5s var(--p-ease), box-shadow .5s, border-color .4s; }
.m-take__item:hover { translate: 0 -6px; border-color: transparent; box-shadow: 0 26px 50px -30px rgba(63, 85, 195, .55); }
.m-take__item h3 { margin: 0 0 14px; font-size: 17px; font-weight: 700; color: #39404b; }
.m-take__item ul { margin: 0 0 18px; padding: 0; list-style: none; }
.m-take__item li { position: relative; padding-left: 16px; margin-bottom: 7px; font-size: 14px; line-height: 1.45; color: #8090aa; }
.m-take__item li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: linear-gradient(135deg, #a068f8, #3f55c3); }
.m-take__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 14px; font-weight: 500; color: #39404b; transition: color .3s; }
.m-take__more svg { width: 16px; height: 16px; fill: none; stroke: #f93c3c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--p-ease); }
.m-take__item:hover .m-take__more { color: #f93c3c; }
.m-take__item:hover .m-take__more svg { transform: translateX(4px); }

/* Модели: 4 карточки */
.m-models__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1200px) { .m-models__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 640px) { .m-models__grid--4 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.m-models__grid--4 .m-model__title { font-size: 17px; }

/* Ставка */
.m-price { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; margin-bottom: 28px; border-radius: 12px 28px 12px 28px; overflow: hidden;
  border: 1px solid #e4e7f0; background: #fff; box-shadow: 0 30px 60px -44px rgba(63, 85, 195, .6); }
@media (max-width: 860px) { .m-price { grid-template-columns: 1fr; } }
.m-price__main { padding: 34px 36px; background: linear-gradient(140deg, #a068f8 0%, #3f55c3 55%, #184eae 100%); color: #fff; }
.m-price__label { margin: 0 0 8px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: #ffd0dc; }
.m-price__value { margin: 0 0 14px; font-size: clamp(36px, 4vw, 54px); font-weight: 700; line-height: 1.05; }
.m-price__value small { font-size: .45em; font-weight: 500; opacity: .85; }
.m-price__note { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.m-price__tbd { display: inline-block; padding: 2px 10px; border-radius: 6px; background: #ffe066; color: #39404b; font-size: .6em; font-weight: 600; vertical-align: middle; }
.m-price__list { display: grid; margin: 0; padding: 14px 34px; list-style: none; }
.m-price__list li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 20px; padding: 16px 0; border-bottom: 1px dashed #e4e7f0; font-size: 15px; line-height: 1.5; }
.m-price__list li:last-child { border-bottom: 0; }
.m-price__list b { font-weight: 600; color: #39404b; }
.m-price__list span { color: #8090aa; }
.m-price__list .m-price__tbd { font-size: 13px; }
@media (max-width: 560px) { .m-price__list { padding: 6px 22px; } .m-price__list li { grid-template-columns: 1fr; } .m-price__main { padding: 28px 24px; } }

/* Как начать */
.m-start { padding-block: 0 clamp(60px, 7vw, 100px); }
.m-start__list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.m-start__list::before { content: ""; position: absolute; left: 30px; right: 30px; top: 27px; height: 2px; background: linear-gradient(90deg, #a068f8, #f93c3c); opacity: .35; }
@media (max-width: 992px) { .m-start__list { grid-template-columns: 1fr; } .m-start__list::before { left: 27px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; } }
.m-start__step { position: relative; padding: 0 6px; }
@media (max-width: 992px) { .m-start__step { padding: 0 0 0 76px; min-height: 56px; } }
.m-start__n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: #fff; border: 2px solid #e4e1fb; font-size: 20px; font-weight: 700; color: #3f55c3; }
@media (max-width: 992px) { .m-start__n { position: absolute; left: 0; top: 0; } }
.m-start__step h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #39404b; }
.m-start__step p { margin: 0; font-size: 14px; line-height: 1.55; color: #8090aa; }
.m-start__step--key .m-start__n { border-color: transparent; background: linear-gradient(135deg, #f93c3c, #cd0973); color: #fff; box-shadow: 0 0 0 8px rgba(249, 60, 60, .12); animation: m-key 2.4s ease-in-out infinite; }
.m-start__step--key h3 { color: #f93c3c; }
@keyframes m-key { 50% { box-shadow: 0 0 0 14px rgba(249, 60, 60, .05); } }

/* Опыт */
.m-exp { padding-block: 0 clamp(60px, 7vw, 100px); }
.m-exp .m-sec-head__text a { color: #f93c3c; }
.m-exp__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 992px) { .m-exp__grid { grid-template-columns: 1fr; max-width: 560px; } }
.m-exp__item { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e4e7f0; border-radius: 10px 24px 10px 24px; background: #fff; color: inherit;
  transition: translate .5s var(--p-ease), box-shadow .5s, border-color .4s; }
.m-exp__item:hover { translate: 0 -6px; border-color: transparent; box-shadow: 0 26px 50px -30px rgba(63, 85, 195, .55); }
.m-exp__pic { display: block; height: 220px; overflow: hidden; background: #f1f3f8; }
.m-exp__pic img { display: block; width: 100%; height: auto; transition: transform 3.5s ease; }
.m-exp__item:hover .m-exp__pic img { transform: translateY(calc(-100% + 220px)); }
.m-exp__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.m-exp__name { font-size: 18px; font-weight: 700; color: #39404b; }
.m-exp__row { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.5; color: #8090aa; }
.m-exp__row i { font-style: normal; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #f93c3c; padding-top: 2px; }

/* Форма партнёра */
.m-pform { padding-block: clamp(40px, 5vw, 70px) clamp(70px, 8vw, 110px); }
.m-pform__box { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; padding: clamp(28px, 4vw, 54px); border-radius: 14px 34px 14px 34px;
  background: linear-gradient(140deg, #1d1b4b 0%, #2a2470 55%, #3f55c3 100%); box-shadow: 0 40px 80px -50px rgba(29, 27, 75, .9); color: #fff; }
@media (max-width: 992px) { .m-pform__box { grid-template-columns: 1fr; } }
.m-pform__title { margin: 0 0 14px; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 500; text-transform: uppercase; }
.m-pform__title b { font-weight: 700; background: linear-gradient(169deg, #ff6b6b, #ff4fa3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.m-pform__info > p { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.m-pform__pdf { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px 20px 10px 20px; color: #fff; transition: background .3s, border-color .3s; }
.m-pform__pdf:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); }
.m-pform__pdf svg { flex: none; width: 34px; height: 34px; fill: none; stroke: #ff6b6b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.m-pform__pdf span { display: flex; flex-direction: column; gap: 2px; }
.m-pform__pdf b { font-size: 15px; font-weight: 600; }
.m-pform__pdf small { font-size: 13px; color: rgba(255, 255, 255, .65); }
.m-pform__contacts { font-size: 14px !important; line-height: 1.7 !important; }
.m-pform__contacts a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.m-pform__form { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 3vw, 30px); border-radius: 10px 24px 10px 24px; background: #fff; color: #39404b; }
.m-pform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .m-pform__row { grid-template-columns: 1fr; } }
.m-pform__f { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.m-pform__f > span, .m-pform__f legend { font-size: 13px; font-weight: 500; color: #8090aa; padding: 0; margin-bottom: 6px; }
.m-pform__f input, .m-pform__f textarea { width: 100%; padding: 12px 14px; border: 1px solid #e4e7f0; border-radius: 8px; background: #f8f9fc; font: inherit; font-size: 15px; color: #39404b; transition: border-color .3s, background .3s; }
.m-pform__f textarea { resize: vertical; min-height: 84px; }
.m-pform__f input:focus, .m-pform__f textarea:focus { outline: 0; border-color: #a068f8; background: #fff; }
.m-pform__f .is-err { border-color: #f93c3c; }
.m-pform__chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.m-pform__chips legend { width: 100%; }
.m-pform__chips label { position: relative; cursor: pointer; }
.m-pform__chips input { position: absolute; opacity: 0; pointer-events: none; }
.m-pform__chips span { display: inline-block; padding: 9px 14px; border: 1px solid #e4e7f0; border-radius: 6px 14px 6px 14px; font-size: 14px; color: #39404b; transition: all .3s; }
.m-pform__chips label:hover span { border-color: #a068f8; }
.m-pform__chips input:checked + span { border-color: transparent; background: linear-gradient(135deg, #a068f8, #3f55c3); color: #fff; }
.m-pform__chips input:focus-visible + span { outline: 2px solid #a068f8; outline-offset: 2px; }
.m-pform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.m-pform__foot .btn--primary { min-height: 52px; padding: 5px 34px; }
.m-pform__agree { flex: 1 1 200px; margin: 0; font-size: 12px; line-height: 1.5; color: #8090aa; }
.m-pform__agree a { color: #3f55c3; }
.m-pform__msg { margin: 0; font-size: 14px; font-weight: 500; }
.m-pform__msg.is-ok { color: #1f9d55; }
.m-pform__msg.is-err { color: #f93c3c; }
.m-price__side { padding: 26px 30px; }
.m-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 6px; padding: 0; list-style: none; }
@media (max-width: 560px) { .m-tiers { grid-template-columns: 1fr; } .m-price__side { padding: 20px; } }
.m-tier { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid #e4e7f0; border-radius: 8px 18px 8px 18px; transition: translate .4s var(--p-ease), box-shadow .4s; }
.m-tier:hover { translate: 0 -4px; box-shadow: 0 18px 34px -24px rgba(63, 85, 195, .6); }
.m-tier__vol { font-size: 13px; font-weight: 600; color: #3f55c3; }
.m-tier__rate { font-size: 26px; font-weight: 700; color: #39404b; line-height: 1.15; }
.m-tier__rate::after { content: " / ч"; font-size: 14px; font-weight: 500; color: #8090aa; }
.m-tier__note { font-size: 12px; line-height: 1.4; color: #8090aa; }
.m-tier--best { position: relative; border-color: transparent; background: linear-gradient(135deg, #f93c3c, #cd0973); }
.m-tier--best .m-tier__vol, .m-tier--best .m-tier__rate, .m-tier--best .m-tier__note, .m-tier--best .m-tier__rate::after { color: #fff; }
.m-price .m-price__list { padding: 0; }
.m-start__step p a { color: #f93c3c; border-bottom: 1px solid rgba(249, 60, 60, .35); }
.m-ph__body { min-width: 0; }
@media (max-width: 560px) { .m-ph__title { font-size: clamp(24px, 7.4vw, 34px); overflow-wrap: anywhere; } .m-ph__lead { font-size: 15px; } }

/* =========================================================
   v2.1 · единый ритм: компактные отступы между блоками,
   без фоновой картинки сайта (она растягивалась и резала фон)
   ========================================================= */
body .main::after { display: none; }
.main { background: #fff; }
.m-ph { padding-bottom: 0; background: linear-gradient(180deg, #f6f4fb 0%, #fff 100%); }
.m-calm, .m-who, .m-take, .m-formats, .m-pay, .m-start, .m-exp, .m-techs, .m-sla, .m-faq { padding-block: clamp(28px, 3.2vw, 44px); background: transparent; }
.m-calm { padding-top: clamp(40px, 4vw, 56px); }
.m-models { margin-block: clamp(16px, 2vw, 28px); padding-block: clamp(48px, 5vw, 70px); }
.m-pform { padding-block: clamp(28px, 3.2vw, 44px) clamp(48px, 5vw, 70px); }
.m-sec-head { margin-bottom: 30px; }
@media (max-width: 768px) { .m-sec-head { margin-bottom: 22px; } }

/* ---------- v2.2 · «Что берём»: акцент на доработку и поддержку ---------- */
.m-take__grid--main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 992px) { .m-take__grid--main { grid-template-columns: 1fr; } }
.m-take__hero { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); border-radius: 12px 30px 12px 30px; color: #fff;
  background: linear-gradient(140deg, #a068f8 0%, #3f55c3 55%, #184eae 100%); box-shadow: 0 34px 60px -36px rgba(63, 85, 195, .95); transition: translate .5s var(--p-ease), box-shadow .5s; }
.m-take__hero::after { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); pointer-events: none; }
.m-take__hero:hover { translate: 0 -6px; box-shadow: 0 44px 70px -36px rgba(63, 85, 195, 1); }
.m-take__badge { align-self: flex-start; margin-bottom: 16px; padding: 5px 12px; border-radius: 6px 14px 6px 14px; background: linear-gradient(135deg, #f93c3c, #cd0973); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.m-take__hero h3 { margin: 0 0 12px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 700; }
.m-take__lead { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 56ch; }
.m-take__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0 0 22px; padding: 0; list-style: none; }
@media (max-width: 560px) { .m-take__cols { grid-template-columns: 1fr; } }
.m-take__cols li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.4; }
.m-take__cols li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 3 3 5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.m-take__cms { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.m-take__cms span { padding: 5px 11px; border-radius: 6px; background: rgba(255,255,255,.14); font-size: 13px; }
.m-take__hero .m-take__more { color: #fff; }
.m-take__hero .m-take__more svg { stroke: #fff; }
.m-take__side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .m-take__side { grid-template-columns: 1fr; } }
.m-take__side .m-take__item { padding: 22px 20px; }
.m-take__side .m-take__item p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #8090aa; }
.m-take__item--minor { background: #f8f8fc; border-style: dashed; }
.m-take__item--minor h3 { font-size: 15px; color: #5d6a80; }

/* ---------- v2.2 · слайдер долгих проектов ---------- */
.m-exp__slider { position: relative; }
.m-exp__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 26px; margin: -6px -2px 0; scrollbar-width: none; }
.m-exp__track::-webkit-scrollbar { display: none; }
@media (max-width: 992px) { .m-exp__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .m-exp__track { grid-auto-columns: 86%; gap: 16px; } }
.m-exp__grid { display: none; }
.m-exp__item { scroll-snap-align: start; }
.m-exp__pic { position: relative; }
.m-exp__badge { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 6px 14px 6px 14px; background: linear-gradient(135deg, #f93c3c, #cd0973); color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 10px 20px -10px rgba(205, 9, 115, .9); }
.m-exp__item.is-active { border-color: transparent; box-shadow: 0 26px 50px -30px rgba(63, 85, 195, .55); }
html.m-js .m-exp__item.is-enter { animation: m-exp-in .8s var(--p-ease) both; }
@keyframes m-exp-in { from { opacity: 0; transform: translateX(60px) rotate(1.5deg) scale(.96); } }
.m-exp__nav { display: flex; align-items: center; justify-content: center; gap: 18px; }
.m-exp__arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #e4e7f0; border-radius: 50%; background: #fff; cursor: pointer; transition: background .3s, border-color .3s, transform .3s; }
.m-exp__arrow svg { width: 20px; height: 20px; fill: none; stroke: #39404b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-exp__arrow:hover { background: linear-gradient(135deg, #f93c3c, #cd0973); border-color: transparent; transform: scale(1.06); }
.m-exp__arrow:hover svg { stroke: #fff; }
.m-exp__dots { display: flex; gap: 8px; }
.m-exp__dots i { position: relative; width: 26px; height: 4px; border-radius: 4px; background: #e4e1fb; overflow: hidden; cursor: pointer; }
.m-exp__dots i::after { content: ""; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, #a068f8, #f93c3c); }
.m-exp__dots i.is-on::after { animation: m-exp-dot var(--t, 5s) linear forwards; }
.m-exp__slider.is-paused .m-exp__dots i.is-on::after { animation-play-state: paused; }
@keyframes m-exp-dot { to { width: 100%; } }
/* v2.3 · ещё плотнее: ~56px между блоками */
.m-calm, .m-who, .m-take, .m-formats, .m-pay, .m-start, .m-exp, .m-techs, .m-sla, .m-faq { padding-block: clamp(20px, 2vw, 28px); }
.m-calm { padding-top: clamp(32px, 3vw, 44px); }
.m-models { margin-block: clamp(20px, 2vw, 28px); }
.m-pform { padding-top: clamp(20px, 2vw, 28px); }
.m-models { margin-block: 12px; padding-block: clamp(40px, 4vw, 56px); }

/* фон-«дымка» сайта (body::before) обрывался посреди блоков — на этой странице не нужен */
html:not(.menu-open) body::before { display: none; }

/* v2.4 · заголовок первого экрана: шире, жирный, в две строки, как на кейсах */
.m-ph__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); }
.m-ph__title { font-weight: 700; font-size: clamp(32px, 3.7vw, 54px); line-height: 1.08; letter-spacing: -.01em; }
.m-ph__title .m-ph__line { white-space: nowrap; }
.m-ph__title b { font-weight: 700; }
@media (max-width: 1200px) { .m-ph__title .m-ph__line { white-space: normal; } }
@media (max-width: 992px) { .m-ph__grid { grid-template-columns: 1fr; } }
.m-take__cms span.m-take__cms-own { background: rgba(255,255,255,.28); font-weight: 600; }
