/* ---------- Кнопка «Стать партнёром» в шапке ---------- */
.nav-partner { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; margin-left: 14px; border-radius: 999px;
  font-size: 14px; font-weight: 800; color: var(--blue); text-decoration: none; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(52, 51, 154, .28);
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s; }
.nav-partner .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-partner:hover, .nav-partner[aria-current] { background: var(--blue); color: #fff; box-shadow: none; transform: translateY(-1px); }
.nav-partner:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.has-hero .nav-partner { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 210, 0, .7); }
.has-hero .nav-partner:hover, .has-hero .nav-partner[aria-current] { background: #ffd200; color: #1d1d3f; box-shadow: none; }
.nav__partner { display: none; }
@media (min-width: 1025px) { .nav { margin-left: clamp(20px, 5vw, 88px); } .nav ul { gap: clamp(14px, 1.6vw, 28px); } }
@media (max-width: 1240px) and (min-width: 1025px) { .nav-partner span { display: none; } .nav-partner { width: 42px; padding: 0; justify-content: center; } }
@media (max-width: 1024px) {
  .nav-partner { display: none; }
  .nav__partner { display: block; }
  .nav .nav__partner a { margin-top: 10px; border: 0; border-radius: 14px; text-align: center; background: var(--yellow); color: #1d1d3f; font-weight: 800; }
}

/* ---------- Страница «Стать партнёром» ---------- */
.page-partner .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pp-head { max-width: 760px; margin-bottom: 30px; }
.pp-head .h2 { margin: 6px 0 10px; }
.pp-head p:not(.eyebrow) { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.pp-head--light p:not(.eyebrow) { color: rgba(255, 255, 255, .78); }
.pp-head--light .h2 { color: #fff; }
@keyframes pp-in { from { opacity: 0; transform: translateY(14px); } }

/* первый экран */
.pp-hero { position: relative; overflow: hidden; color: #fff; padding-bottom: 72px;
  background: radial-gradient(60% 70% at 85% 10%, rgba(255, 210, 0, .22), transparent 60%), linear-gradient(155deg, #1b1a6e, #2e2d8c 50%, #4b42b8); }
.pp-hero__aura i { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.pp-hero__aura i:nth-child(1) { width: 520px; height: 520px; right: -140px; top: -120px; border: 70px solid rgba(255, 255, 255, .05); }
.pp-hero__aura i:nth-child(2) { width: 260px; height: 260px; left: -80px; bottom: -110px; background: rgba(255, 210, 0, .12); filter: blur(40px); }
.pp-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .9fr); gap: 48px; align-items: center; padding-block: 64px 0; }
.pp-hero__title { margin: 10px 0 18px; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; font-weight: 800; letter-spacing: -.01em; }
.pp-hero__lead { margin: 0 0 30px; max-width: 620px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.pp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.pp-hero__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: #fff; text-decoration: none; }
.pp-hero__link:hover { color: #ffd200; }
.pp-hero__link .i { transition: transform .25s; }
.pp-hero__link:hover .i { transform: translateX(4px); }
.pp-hero__cta { gap: 10px; padding-inline: 34px; }
.pp-hero__cta .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.pp-hero__cta:hover .i { transform: translateX(4px); }
.pp-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pp-stats li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: pp-in .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 90ms + .2s); }
.pp-stats b { font-size: 34px; font-weight: 800; line-height: 1; color: #ffd200; font-variant-numeric: tabular-nums; }
.pp-stats span { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .8); }

/* шаги */
.pp-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; position: relative; }
.pp-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 44px; height: 2px; background: repeating-linear-gradient(90deg, #c9cbe6 0 8px, transparent 8px 16px); }
.pp-steps li { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line-2, #e7e9f3);
  animation: pp-in .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 80ms); }
.pp-steps__ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 0 0 6px #fff; }
.pp-steps li:last-child .pp-steps__ico { background: #ffd200; color: #1d1d3f; }
.pp-steps__n { position: absolute; top: 20px; right: 22px; font-size: 28px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.4px #c9cbe6; }
.pp-steps h3 { margin: 10px 0 0; font-size: 18px; font-weight: 800; color: var(--ink); }
.pp-steps p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); }

/* лестница роста */
.pp-ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: end; }
.pp-pack { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 26px; background: #fff; border: 1px solid var(--line-2, #e7e9f3);
  box-shadow: 0 24px 50px -36px rgba(52, 51, 154, .5); margin-top: calc((2 - var(--i)) * 34px); animation: pp-in .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 110ms); }
.pp-pack::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: 26px 26px 0 0; background: var(--accent); }
.pp-pack:last-child { background: linear-gradient(160deg, #26258a, #34339a 60%, #4b42b8); color: #fff; border-color: transparent; }
.pp-pack__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pp-pack__n { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--blue); }
.pp-pack:last-child .pp-pack__n { color: #ffd200; }
.pp-pack__time { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #f1f2fa; font-size: 12px; font-weight: 700; color: var(--text); }
.pp-pack__time .i { width: 14px; height: 14px; }
.pp-pack:last-child .pp-pack__time { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
.pp-pack h3 { margin: 4px 0 0; font-size: 26px; font-weight: 800; }
.pp-pack__prod { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.pp-pack:last-child .pp-pack__prod { color: #fff; }
.pp-pack__prod img { width: 34px; height: 34px; object-fit: contain; padding: 4px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #eef0f6; }
.pp-pack__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); }
.pp-pack:last-child .pp-pack__text { color: rgba(255, 255, 255, .78); }
.pp-pack__sum { margin: 8px 0 0; display: grid; gap: 8px; }
.pp-pack__sum div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #f6f7fc; }
.pp-pack:last-child .pp-pack__sum div { background: rgba(255, 255, 255, .08); }
.pp-pack__sum dt { font-size: 13px; color: var(--text); }
.pp-pack:last-child .pp-pack__sum dt { color: rgba(255, 255, 255, .75); }
.pp-pack__sum dd { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-pack:last-child .pp-pack__sum dd { color: #fff; }
.pp-pack__sum .pp-pack__income { background: #fff6cc !important; }
.pp-pack__sum .pp-pack__income dt { color: #6e5300 !important; font-weight: 700; }
.pp-pack__sum .pp-pack__income dd { color: #1d1d3f !important; font-size: 19px; }
.pp-note { margin: 22px 0 0; max-width: 820px; font-size: 13px; line-height: 1.55; color: var(--text); }

/* калькулятор */
.pp-calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); gap: 0; border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(27, 26, 110, .7); }
.pp-calc__in { padding: 36px; color: #fff; background: radial-gradient(70% 80% at 0% 0%, rgba(255, 210, 0, .16), transparent 60%), linear-gradient(160deg, #1b1a6e, #2e2d8c); }
.pp-calc__in .h2 { color: #fff; margin: 6px 0 8px; }
.pp-calc__hint { margin: 0 0 22px; color: rgba(255, 255, 255, .75); }
.pp-calc__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-calc__rows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.pp-calc__name { display: grid; gap: 2px; min-width: 0; }
.pp-calc__name b { font-size: 17px; }
.pp-calc__name small { font-size: 13px; color: rgba(255, 255, 255, .7); }
.pp-calc__step { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.pp-calc__step button { all: unset; box-sizing: border-box; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 22px; font-weight: 700; color: #fff; transition: background-color .2s, color .2s; }
.pp-calc__step button:hover { background: #ffd200; color: #1d1d3f; }
.pp-calc__step button:focus-visible { outline: 3px solid #ffd200; }
.pp-calc__step output { min-width: 34px; text-align: center; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pp-calc__out { display: grid; gap: 10px; align-content: start; padding: 36px; background: #ffd200; color: #1d1d3f; }
.pp-calc__k { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pp-calc__total { margin: 0; font-size: clamp(36px, 4vw, 52px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pp-calc__total.is-bump { animation: pp-bump .3s ease; }
@keyframes pp-bump { 50% { transform: scale(1.04); } }
.pp-calc__sub { margin: 0; font-size: 14px; color: #5c4a00; }
.pp-calc__bar { display: flex; gap: 3px; height: 10px; margin: 8px 0 4px; border-radius: 5px; overflow: hidden; background: rgba(29, 29, 63, .1); }
.pp-calc__bar i { flex-grow: var(--w, 1); flex-basis: 0; background: var(--accent); transition: flex-grow .4s cubic-bezier(.2, .8, .2, 1); }
.pp-calc__dl { margin: 0 0 10px; display: grid; gap: 0; }
.pp-calc__dl div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(29, 29, 63, .12); }
.pp-calc__dl dt { font-size: 14px; }
.pp-calc__dl dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.pp-calc__out .btn { background: #1d1d3f; color: #fff; }
.pp-calc__out .btn:hover { background: #2e2d8c; }
.pp-calc__note { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: #5c4a00; }

/* помощь Berk Tor */
.pp-help { padding: 44px; border-radius: 32px; background: linear-gradient(160deg, #2e2d8c, #34339a 60%, #4b42b8); }
.pp-help__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pp-help__grid li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  transition: background-color .25s, transform .25s; }
.pp-help__grid li:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.pp-help__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #ffd200; color: #1d1d3f; }
.pp-help__grid h3 { margin: 8px 0 0; font-size: 17px; font-weight: 800; }
.pp-help__grid p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .75); }

/* почему сейчас */
.pp-why { padding-block: 88px; background: #14134f; color: #fff; }
.pp-why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pp-why__t { margin: 10px 0 0; font-size: clamp(32px, 3.8vw, 52px); font-weight: 800; line-height: 1.08; }
.pp-why__text { margin: 0 0 22px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.pp-why__pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-why__pts li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border-left: 3px solid #ffd200; font-weight: 700; }
.pp-why__pts .i { color: #ffd200; }

/* продукты */
.pp-prods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pp-prods a { display: grid; gap: 6px; align-content: start; height: 100%; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line-2, #e7e9f3); text-decoration: none; color: var(--ink);
  transition: transform .25s, box-shadow .25s, border-color .25s; }
.pp-prods a:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 22px 40px -28px var(--accent); }
.pp-prods__logo { aspect-ratio: 16 / 9; display: grid; place-items: center; margin-bottom: 6px; }
.pp-prods__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pp-prods__cat { font-size: 13px; font-weight: 800; }
.pp-prods__n { font-size: 12px; color: var(--text); }

/* требования и заявка */
.pp-apply { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.pp-req { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.pp-req li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #fff; font-size: 15px; line-height: 1.5; color: var(--ink); }
.pp-req .i { color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.pp-apply__contacts { display: grid; gap: 6px; }
.pp-apply__contacts a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 18px; font-weight: 800; color: var(--blue); text-decoration: none; }
.pp-apply__contacts a:hover { text-decoration: underline; }
.pp-form { background: #fff; border-radius: 28px; padding: 32px; box-shadow: 0 30px 60px -44px rgba(52, 51, 154, .55); }
.pp-form .field__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chip { position: relative; cursor: pointer; }
.pp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pp-chip span { display: grid; place-items: center; min-width: 64px; height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2, #e1e4f0); font-weight: 800; color: var(--blue); transition: background-color .2s, color .2s, border-color .2s; }
.pp-chip:hover span { border-color: var(--blue); }
.pp-chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pp-chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

@media (max-width: 1100px) {
  .pp-hero__grid, .pp-calc, .pp-why__grid, .pp-apply { grid-template-columns: minmax(0, 1fr); }
  .pp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-steps::before { display: none; }
  .pp-ladder { grid-template-columns: minmax(0, 1fr); }
  .pp-pack { margin-top: 0; }
  .pp-help__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pp-hero { padding-bottom: 48px; }
  .pp-hero__grid { padding-block: 36px 0; gap: 28px; }
  .pp-hero__lead { font-size: 16px; }
  .pp-hero__actions .btn { width: 100%; }
  .pp-stats b { font-size: 28px; }
  .pp-stats li { padding: 16px; }
  .pp-steps { grid-template-columns: minmax(0, 1fr); }
  .pp-calc__in, .pp-calc__out, .pp-help, .pp-form { padding: 22px; }
  .pp-calc__rows li { flex-wrap: wrap; }
  .pp-help__grid { grid-template-columns: minmax(0, 1fr); }
  .pp-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-why { padding-block: 56px; }
}
@media (prefers-reduced-motion: reduce) { .pp-stats li, .pp-steps li, .pp-pack { animation: none; } }

/* лестница: полоса сверху внутри скругления, логотип продукта на светлой плашке */
.pp-pack { overflow: hidden; }
.pp-pack::before { border-radius: 0; }
.pp-pack__prod { margin: 2px 0 0; }
.pp-pack__logo { display: inline-flex; align-items: center; height: 52px; padding: 8px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #eceef6; }
.pp-pack__logo img { height: 100%; width: auto; max-width: 180px; object-fit: contain; }
.pp-pack:last-child .pp-pack__logo { box-shadow: none; }

/* ---------- плитки продуктов мозаикой ---------- */
.ppp { list-style: none; margin: 0; padding: 0; display: grid; }
.ppp a { text-decoration: none; color: var(--ink); }
.ppp a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.ppp--c { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(170px, auto); gap: 14px; }
.ppp--c li.is-big { grid-column: span 2; grid-row: span 2; }
.ppp--c a { position: relative; display: grid; gap: 6px; align-content: start; height: 100%; padding: 20px; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid #e7e9f3;
  transition: transform .25s, box-shadow .25s; }
.ppp--c a:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px var(--accent); }
.ppp-c__art { width: 86px; height: 70px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 18px; background: color-mix(in srgb, var(--accent) 12%, #fff); }
.ppp-c__art svg { width: 76px; height: 62px; overflow: visible; }
.ppp-c__name { font-size: 13px; font-weight: 800; color: color-mix(in srgb, var(--accent) 80%, #10102a); }
.ppp-c__cat { font-size: 16px; font-weight: 800; }
.ppp-c__n { font-size: 13px; color: var(--text); }
.ppp-c__n b { font-size: 22px; font-weight: 800; color: var(--accent); }
.ppp--c li.is-big a { align-content: end; color: #fff; border: 0; background: radial-gradient(70% 70% at 90% 10%, rgba(255, 255, 255, .25), transparent 60%), linear-gradient(150deg, color-mix(in srgb, var(--accent) 85%, #10102a), color-mix(in srgb, var(--accent) 55%, #10102a)); }
.ppp--c li.is-big .ppp-c__art { position: absolute; top: 18px; right: 18px; width: 220px; height: 180px; background: rgba(255, 255, 255, .12); border-radius: 28px; }
.ppp--c li.is-big .ppp-c__art svg { width: 200px; height: 160px; }
.ppp--c li.is-big .ppp-c__name { color: #ffd200; font-size: 15px; }
.ppp--c li.is-big .ppp-c__cat { font-size: 26px; }
.ppp--c li.is-big .ppp-c__n { color: rgba(255, 255, 255, .85); }
.ppp--c li.is-big .ppp-c__n b { font-size: 56px; color: #ffd200; }
.ppp-c__lead { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .85); max-width: 460px; }
@media (max-width: 1100px) { .ppp--c { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ppp--c { grid-template-columns: minmax(0, 1fr); }
  .ppp--c li.is-big { grid-column: auto; grid-row: auto; }
  .ppp--c li.is-big a { padding-top: 150px; }
  .ppp--c li.is-big .ppp-c__art { width: 150px; height: 120px; }
  .ppp--c li.is-big .ppp-c__art svg { width: 136px; height: 108px; }
}

/* «Кому подходит партнёрство»: плитки с иконками в цветах направлений Berk */
.pa { margin-top: 44px; }
.pa__t { margin: 0 0 18px; font-size: 26px; line-height: 1.2; font-weight: 800; color: var(--ink, #1d1d3f); }
.pa__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pa__grid li { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 22px 18px 20px; border-radius: 20px; background: #fff;
  border: 1px solid color-mix(in srgb, var(--acc) 18%, #e6e8f3); box-shadow: 0 16px 34px -26px color-mix(in srgb, var(--acc) 70%, transparent);
  transition: transform .25s ease, box-shadow .25s ease; }
.pa__grid li::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--acc); }
.pa__grid li::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: color-mix(in srgb, var(--acc) 9%, transparent); transition: background-color .3s ease, transform .3s ease; }
.pa__grid li:hover::after { background: color-mix(in srgb, var(--acc) 30%, transparent); transform: scale(1.12); }
.pa__grid li:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px color-mix(in srgb, var(--acc) 80%, transparent); }
.pa__ico { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 4px;
  background: var(--acc); color: #fff; box-shadow: 0 10px 20px -10px var(--acc); }
.pa__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pa__grid b { position: relative; z-index: 1; font-size: 17px; line-height: 1.3; font-weight: 800; color: var(--ink, #1d1d3f); }
.pa__grid li > span:not(.pa__ico) { position: relative; z-index: 1; font-size: 13.5px; line-height: 1.5; color: var(--text, #3d3f5c); }

/* «Куда расти дальше»: светлая секция, лестница статусов снизу вверх (выделяется между тёмными блоками) */
.pg-sec { position: relative; overflow: hidden; padding: 84px 0 76px; background: radial-gradient(70% 80% at 90% 0%, rgba(255, 210, 0, .18), transparent 60%), linear-gradient(180deg, #f4f5fb 0%, #fff 100%); color: var(--ink, #1d1d3f); }
.pg-head { max-width: 720px; }
.pg-head .eyebrow { color: #b88f00; }
.pg-title { margin: 6px 0 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; color: var(--ink, #1d1d3f); letter-spacing: -.01em; }
.pg { position: relative; list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 14px; align-items: end; }
.pg__path { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pg__path path { fill: none; stroke: rgba(52, 51, 154, .35); stroke-width: 2.5; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.pg__path .pg__head { stroke-dasharray: none; stroke: rgba(52, 51, 154, .55); }
/* ступени: каждая следующая выше */
.pg__step { position: relative; z-index: 1; padding-bottom: calc(var(--i) * 34px); }
.pg__card { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 20px 16px 22px; border-radius: 20px; background: #fff;
  border: 1px solid #e3e5f0; box-shadow: 0 18px 36px -26px rgba(16, 16, 42, .55); transition: transform .25s ease, box-shadow .25s ease; }
.pg__card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(52, 51, 154, .55); }
.pg__step:first-of-type .pg__card { background: linear-gradient(160deg, #34339a, #26258a); color: #fff; border-color: transparent; }
.pg__step:first-of-type .pg__card p { color: rgba(255, 255, 255, .8); }
.pg__step:first-of-type .pg__n { color: rgba(255, 255, 255, .2); }
.pg__step:last-of-type .pg__card { border: 2px solid #ffd200; }
.pg__top { display: flex; align-items: center; justify-content: space-between; }
.pg__ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #ffd200; color: #1d1d3f; box-shadow: 0 10px 22px -12px rgba(200, 150, 0, .9); }
.pg__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pg__n { font-size: 30px; font-weight: 900; line-height: 1; color: rgba(52, 51, 154, .14); }
.pg__card h3 { margin: 8px 0 0; font-size: 15px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pg__card p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text, #3d3f5c); }
.pg-note { margin: 28px 0 0; font-size: 13px; color: var(--muted, #6b6d88); }

@media (max-width: 1100px) {
  .pa__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .pg__step { padding-bottom: 0; }
  .pg__path { display: none; }
}
@media (max-width: 640px) {
  .pa__grid { grid-template-columns: minmax(0, 1fr); }
  .pa__grid li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .pa__grid li > span:not(.pa__ico) { flex-basis: 100%; }
  .pa__ico { margin-bottom: 0; }
  .pg-sec { padding: 60px 0 56px; }
  /* телефон: вертикальная линия роста */
  .pg { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-left: 22px; }
  .pg::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; border-left: 2px dashed rgba(52, 51, 154, .35); }
  .pg__step::before { content: ""; position: absolute; left: -21px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: #ffd200; box-shadow: 0 0 0 4px rgba(255, 210, 0, .25); }
}
@media (prefers-reduced-motion: reduce) { .pa__grid li, .pa__grid li::after, .pg__card { transition: none; } }

/* «Лестница роста»: название продукта и подпись под ним, hover карточки */
.pp-pack__prod > span:not(.pp-pack__art) { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 16px; line-height: 1.25; font-weight: 800; }
.pp-pack__prod small { font-size: 13px; line-height: 1.35; font-weight: 500; color: var(--text, #5a5c78); }
.pp-pack:last-child .pp-pack__prod small { color: rgba(255, 255, 255, .72); }
.pp-pack { animation-fill-mode: backwards; transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s ease, box-shadow .35s ease; will-change: transform; }
.pp-pack__art { transition: transform .45s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.pp-pack:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--accent) 45%, #e7e9f3); box-shadow: 0 34px 60px -34px color-mix(in srgb, var(--accent) 75%, transparent); }
.pp-pack:last-child:hover { box-shadow: 0 34px 60px -30px rgba(38, 37, 138, .85); }
.pp-pack:hover .pp-pack__art { transform: translateY(-6px) scale(1.04); }
@media (prefers-reduced-motion: reduce) { .pp-pack, .pp-pack__art { transition: none; } .pp-pack:hover, .pp-pack:hover .pp-pack__art { transform: none; } }

/* Заявка: единая карточка, слева синяя панель с требованиями и контактами, справа форма */
.pp-apply { gap: 0; align-items: stretch; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); border-radius: 32px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -50px rgba(38, 37, 138, .6), 0 0 0 1px #e9ebf5; padding: 0; }
.pp-apply__side { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 44px 40px; color: #fff;
  background: radial-gradient(80% 60% at 100% 0%, rgba(255, 210, 0, .22), transparent 60%), radial-gradient(70% 50% at 0% 100%, rgba(122, 63, 214, .45), transparent 70%), linear-gradient(160deg, #26258a, #34339a 55%, #4038b0); }
.pp-apply__side::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); pointer-events: none; }
.pp-apply__eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffd200; }
.pp-apply__title { margin: 0; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; font-weight: 800; color: #fff; }
.pp-apply .pp-req { margin: 26px 0 30px; gap: 12px; }
.pp-apply .pp-req li { align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; font-size: 15px; transition: background-color .25s ease, transform .25s ease; }
.pp-apply .pp-req li:hover { background: rgba(255, 255, 255, .14); transform: translateX(4px); }
.pp-req__n { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #ffd200; color: #1d1d3f; }
.pp-apply .pp-req .i { width: 16px; height: 16px; padding: 0; margin: 0; background: none; border-radius: 0; color: currentColor; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.pp-apply__contacts { margin-top: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; position: relative; z-index: 1; }
.pp-ct { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border-radius: 16px; background: #fff; color: #1d1d3f; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease; }
.pp-ct:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); }
.pp-ct__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #eef0fb; color: var(--blue, #34339a); }
.pp-ct__ico .i { width: 20px; height: 20px; }
.pp-ct__txt { display: flex; flex-direction: column; min-width: 0; }
.pp-ct__txt small { font-size: 12px; color: #6b6d88; }
.pp-ct__txt b { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }

.pp-apply .pp-form { border-radius: 0; box-shadow: none; padding: 44px 44px 40px; gap: 20px; }
.pp-form__title { margin: 0; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; font-weight: 800; color: var(--ink, #1d1d3f); }
.pp-form .form-grid { gap: 18px 16px; }
.pp-form .field label, .pp-form .field__label { font-size: 13px; font-weight: 700; color: var(--ink, #1d1d3f); }
.pp-form .field label span[aria-hidden] { color: #e0435e; }
.pp-form input:not([type="checkbox"]):not([type="radio"]), .pp-form textarea, .pp-form .dd__button {
  background: #f5f6fb; border: 1.5px solid transparent; border-radius: 14px; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.pp-form input:not([type="checkbox"]):not([type="radio"]):hover, .pp-form textarea:hover, .pp-form .dd__button:hover { background: #eff0f8; }
.pp-form input:not([type="checkbox"]):not([type="radio"]):focus, .pp-form textarea:focus, .pp-form .dd__button:focus-visible {
  background: #fff; border-color: var(--blue, #34339a); box-shadow: 0 0 0 4px rgba(52, 51, 154, .12); outline: none; }
/* выбор числа специалистов: сегментированный переключатель */
.pp-form .pp-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: #f5f6fb; }
.pp-form .pp-chip span { min-width: 0; height: 44px; border: 0; border-radius: 11px; background: transparent; font-weight: 800; color: #4b4d6b; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.pp-form .pp-chip:hover span { background: #fff; }
.pp-form .pp-chip input:checked + span { background: var(--blue, #34339a); color: #fff; box-shadow: 0 8px 18px -10px rgba(52, 51, 154, .9); }
.pp-form .form-who { border-radius: 14px; }
.pp-form__send { gap: 10px; min-height: 56px; font-size: 16px; }
.pp-form__send .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.pp-form__send:hover .i { transform: translateX(4px); }
@media (max-width: 1024px) {
  .pp-apply { grid-template-columns: minmax(0, 1fr); }
  .pp-apply__contacts { margin-top: 0; }
}
@media (max-width: 640px) {
  .pp-apply { border-radius: 24px; }
  .pp-apply__side, .pp-apply .pp-form { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) { .pp-apply .pp-req li, .pp-ct, .pp-form__send .i { transition: none; } }

/* «Сколько специалистов»: бегунок, который ездит между вариантами и тянется зажатием */
.pp-form .pp-chips[data-pp-slider] { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.pp-form .pp-chips[data-pp-slider].is-dragging { cursor: grabbing; }
.pp-chips__thumb { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 11px; background: var(--blue, #34339a);
  box-shadow: 0 8px 18px -10px rgba(52, 51, 154, .9); opacity: 0; pointer-events: none;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), width .32s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; }
.pp-chips.is-ready .pp-chips__thumb { opacity: 1; }
.pp-chips.is-dragging .pp-chips__thumb { transition: opacity .2s ease; box-shadow: 0 12px 24px -10px rgba(52, 51, 154, 1); }
.pp-form .pp-chips[data-pp-slider] .pp-chip { position: relative; z-index: 1; cursor: inherit; }
.pp-form .pp-chips.is-ready .pp-chip input:checked + span { background: transparent; box-shadow: none; }
.pp-form .pp-chips[data-pp-slider] .pp-chip:hover span { background: transparent; }
.pp-form .pp-chips.is-ready .pp-chip span { transition: color .2s ease; }
.pp-form .pp-chips.is-dragging .pp-chip input:checked + span { color: #4b4d6b; }
.pp-form .pp-chips.is-dragging .pp-chip.is-over span { color: #fff; }
@media (prefers-reduced-motion: reduce) { .pp-chips__thumb { transition: opacity .2s ease; } }
