/* =========================================================
   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; }
}
