/* ---------- Страница «Комплект поддержки» (support.html) ---------- */
.btn--outline-light { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .16); }
.sp-hero .i, .sp-ico .i, .sp-period__go .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: center; }
.sp-hero__copy { display: grid; gap: 22px; justify-items: start; }
.sp-hero .h1 { min-height: 0; color: #fff; }
.sp-hero .lead { max-width: 640px; }

/* карточка-иллюстрация подписки */
.sp-card { position: relative; z-index: 1; background: #fff; color: #1d1d3f; border-radius: 24px; padding: 22px; box-shadow: 0 40px 80px -36px rgba(4, 4, 40, .85); transform: rotate(-2deg); animation: sp-float 7s ease-in-out infinite alternate; }
.sp-card__head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed #e3e5f0; }
.sp-card__badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #ffd200; color: #1d1d3f; }
.sp-card__head b { display: block; font-size: 16px; }
.sp-card__head small { font-size: 13px; color: #6b6d88; }
.sp-card__list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.sp-card__list li { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; opacity: 0; animation: sp-in .5s cubic-bezier(.2, .8, .2, 1) calc(.4s + var(--i) * .18s) both; }
.sp-card__list i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #e3f6ec; color: #0b7a4b; flex: none; }
.sp-card__list i .i { width: 14px; height: 14px; stroke-width: 3; }
.sp-card__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: #f3f3fb; font-size: 13px; color: #6b6d88; }
.sp-card__bar b { color: #0b7a4b; }
@keyframes sp-float { from { transform: rotate(-2deg) translateY(-4px); } to { transform: rotate(-2deg) translateY(6px); } }
@keyframes sp-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* что это + факты */
.sp-intro__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sp-intro__text { margin: 16px 0 0; font-size: 17px; line-height: 1.7; color: var(--text); }
.sp-facts { display: grid; gap: 12px; margin: 0; }
.sp-facts div { display: flex; align-items: baseline; gap: 14px; padding: 18px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2, #e7e9f3); }
.sp-facts div:first-child { background: var(--blue); border-color: var(--blue); }
.sp-facts dt { font-size: 24px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.sp-facts div:first-child dt { color: #ffd200; }
.sp-facts dd { margin: 0; font-size: 14px; color: var(--text); }
.sp-facts div:first-child dd { color: rgba(255, 255, 255, .8); }

/* что входит */
.sp-inc__grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sp-inc__item { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line-2, #e7e9f3); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.sp-inc__item:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -30px rgba(52, 51, 154, .55); }
.sp-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 9%, #fff); color: var(--blue); }
.sp-inc__item:nth-child(3n+2) .sp-ico { background: #fff6cc; color: #8a6d00; }
.sp-inc__item:nth-child(3n) .sp-ico { background: #e3f6ec; color: #0b7a4b; }
.sp-inc__item h3 { margin: 16px 0 0; font-size: 18px; font-weight: 800; color: var(--ink); }
.sp-inc__item p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--text); }

/* сроки и цены */
.sp-periods__grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sp-period { position: relative; display: grid; gap: 6px; align-content: start; padding: 26px 22px 22px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line-2, #e7e9f3); }
.sp-period.is-popular { border-color: var(--blue); }
.sp-period.is-best { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 30px 60px -34px rgba(38, 37, 138, .9); }
.sp-period__tag { position: absolute; top: -12px; left: 20px; padding: 4px 12px; border-radius: 999px; background: #ffd200; color: #1d1d3f; font-size: 12px; font-weight: 800; }
.sp-period__tag--pop { background: var(--blue); color: #fff; }
.sp-period__m { margin: 0; font-size: 15px; color: var(--text); }
.sp-period__m b { font-size: 34px; font-weight: 800; color: var(--ink); margin-right: 4px; }
.sp-period__price { margin: 6px 0 0; font-size: 22px; font-weight: 800; color: var(--blue); }
.sp-period__pm { margin: 0; font-size: 13px; color: var(--text); }
.sp-period.is-best .sp-period__m, .sp-period.is-best .sp-period__pm { color: rgba(255, 255, 255, .8); }
.sp-period.is-best .sp-period__m b { color: #fff; }
.sp-period.is-best .sp-period__price { color: #ffd200; }
.sp-period__go { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; }
.sp-period.is-best .sp-period__go { color: #ffd200; }
.sp-period__go .i { width: 16px; height: 16px; }

/* сервисы */
.sp-serv__grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sp-serv__grid li { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2, #e7e9f3); }
.sp-serv__grid b { font-size: 15px; color: var(--ink); }
.sp-serv__grid span { font-size: 13px; color: var(--text); }

/* без поддержки */
.sp-without__box { padding: 40px; border-radius: 28px; background: linear-gradient(150deg, #26258a, #34339a 60%, #4b42b8); color: #fff; }
.sp-without__box .h2 { color: #fff; margin: 0 0 20px; }
.sp-without__box ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.sp-without__box li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.sp-without__box li i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(224, 69, 123, .25); color: #ffb3cd; font-style: normal; font-weight: 800; }

/* как подключить */
.sp-steps__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.sp-steps__list li { position: relative; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line-2, #e7e9f3); }
.sp-steps__n { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #ffd200; color: #1d1d3f; font-weight: 800; }
.sp-steps__list h3 { margin: 14px 0 0; font-size: 17px; font-weight: 800; color: var(--ink); }
.sp-steps__list p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--text); }

/* вопросы */
.sp-faq__wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: start; }
.sp-faq__list { display: grid; gap: 10px; }
.sp-faq__item { border-radius: 18px; background: #fff; border: 1px solid var(--line-2, #e7e9f3); }
.sp-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-size: 16px; font-weight: 700; color: var(--ink); min-height: 44px; }
.sp-faq__item summary::-webkit-details-marker { display: none; }
.sp-faq__item summary span { position: relative; width: 28px; height: 28px; border-radius: 9px; background: color-mix(in srgb, var(--blue) 8%, #fff); flex: none; transition: transform .3s; }
.sp-faq__item summary span::before, .sp-faq__item summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; }
.sp-faq__item summary span::after { transform: rotate(90deg); }
.sp-faq__item[open] summary span { transform: rotate(45deg); }
.sp-faq__item p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--text); }
.sp-faq__item summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 18px; }
.sp-source { margin-top: 18px; }

/* ссылка «Что входит» в калькуляторе */
.calc-step__more { margin-left: auto; font-size: 13px; font-weight: 700; color: #ffd200; text-decoration: none; }
.calc-step__more:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .sp-hero__grid, .sp-intro__grid, .sp-faq__wrap { grid-template-columns: minmax(0, 1fr); }
  .sp-card { max-width: 420px; }
  .sp-inc__grid, .sp-serv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-periods__grid, .sp-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sp-inc__grid, .sp-serv__grid, .sp-periods__grid, .sp-steps__list, .sp-without__box ul { grid-template-columns: minmax(0, 1fr); }
  .sp-without__box { padding: 26px 20px; }
  .sp-periods__grid { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { .sp-card, .sp-card__list li { animation: none; opacity: 1; } }
.sp-facts { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) { .sp-facts div { flex-direction: column; gap: 4px; padding: 16px 18px; } .sp-facts dt { font-size: 22px; white-space: normal; } }

/* калькулятор: попап «Что входит в комплект поддержки» */
.calc-step__more { display: inline-flex; align-items: center; gap: 6px; }
.calc-step__more .i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sup-pop { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 26px; background: #fff; color: #1d1d3f;
  box-shadow: 0 40px 90px -30px rgba(4, 4, 40, .75); overflow: auto; }
.sup-pop::backdrop { background: rgba(16, 16, 50, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sup-pop[open] { animation: sup-in .28s cubic-bezier(.2, .9, .3, 1.15) both; }
.sup-pop[open]::backdrop { animation: sup-fade .25s ease both; }
@keyframes sup-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes sup-fade { from { opacity: 0; } }
.sup-pop__box { position: relative; padding: 28px 28px 24px; }
.sup-pop__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 12px; background: #f1f2fa; color: #1d1d3f; font: 400 24px/1 inherit; cursor: pointer; }
.sup-pop__x:hover { background: #e4e6f5; }
.sup-pop__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue, #34339a); }
.sup-pop__eyebrow .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sup-pop__t { margin: 8px 48px 18px 0; font-size: 24px; line-height: 1.2; font-weight: 800; }
.sup-pop__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sup-pop__list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #f6f7fc; font-size: 15px; font-weight: 600; line-height: 1.35;
  animation: sup-li .35s ease both; animation-delay: calc(var(--i) * 40ms + 80ms); }
@keyframes sup-li { from { opacity: 0; transform: translateX(-6px); } }
.sup-pop__list i { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #ffd200; color: #1d1d3f; }
.sup-pop__list .i { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sup-pop__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; }
.sup-pop__foot .btn .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.sup-pop__ok { min-height: 44px; padding: 0 6px; border: 0; background: none; font: inherit; font-weight: 700; color: #6b6d88; cursor: pointer; }
.sup-pop__ok:hover { color: #1d1d3f; }
@media (max-width: 640px) { .sup-pop__box { padding: 24px 18px 18px; } .sup-pop__t { font-size: 21px; } .sup-pop__foot .btn { flex: 1 1 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .sup-pop[open], .sup-pop__list li { animation: none; } }

/* калькулятор: «?» у серверной лицензии и ответы в окне */
.calc-help { width: 26px; height: 26px; flex: none; display: inline-grid; place-items: center; padding: 0; border: 1.5px solid rgba(255, 210, 0, .7); border-radius: 50%;
  background: rgba(255, 210, 0, .12); color: #ffd200; font: 800 14px/1 inherit; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.calc-help:hover { background: #ffd200; color: #1d1d3f; transform: scale(1.08); }
.calc-help:focus-visible { outline: 3px solid #ffd200; outline-offset: 2px; }
.calc-help::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.calc-help { position: relative; }
.sup-pop--faq { width: min(560px, calc(100vw - 32px)); }
.srv-faq { display: grid; gap: 6px; }
.srv-faq__item { border-radius: 14px; background: #f6f7fc; }
.srv-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 14px; list-style: none; cursor: pointer;
  font-size: 15px; font-weight: 700; line-height: 1.35; }
.srv-faq__item summary::-webkit-details-marker { display: none; }
.srv-faq__item summary .i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transition: transform .2s; color: var(--blue, #34339a); }
.srv-faq__item[open] summary .i { transform: rotate(-90deg); }
.srv-faq__item[open] { background: #eef0fb; }
.srv-faq__item p { margin: 0; padding: 0 14px 14px; font-size: 14px; line-height: 1.6; color: #3d3f5c; }
.srv-faq__item summary:focus-visible { outline: 3px solid var(--blue, #34339a); outline-offset: -3px; border-radius: 14px; }

/* калькулятор: «?» у продукта - подсказка, какой продукт под какую задачу */
.prod-guide { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.prod-guide li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #f6f7fc; }
.prod-guide__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); }
.prod-guide__ico .ti { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.prod-guide__txt { min-width: 0; display: grid; gap: 2px; }
.prod-guide__txt b { font-size: 15px; line-height: 1.3; }
.prod-guide__txt span { font-size: 13px; line-height: 1.45; color: #5d5f7a; }
.prod-guide__act { display: grid; justify-items: end; gap: 2px; }
.prod-guide__pick { min-height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--blue, #34339a); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.prod-guide__pick:hover { background: #26258a; }
.prod-guide__act a { font-size: 12px; font-weight: 700; color: var(--blue, #34339a); text-decoration: none; padding: 4px 2px; }
.prod-guide__act a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .prod-guide li { grid-template-columns: 36px minmax(0, 1fr); }
  .prod-guide__ico { width: 36px; height: 36px; }
  .prod-guide__act { grid-column: 2; display: flex; align-items: center; justify-content: flex-start; gap: 14px; }
}

/* бессрочные лицензии: метка «навсегда» и пояснение */
.perp { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; white-space: nowrap; }
.perp .i, .perp-note .i { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.perp .i { width: 15px; height: 15px; }
.pcard__price .perp { display: flex; margin-top: 3px; font-size: 12px; color: #1d8a55; }
.perp--pill { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 12px; cursor: help; }
.perp--tag { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #e7f6ee; color: #1d8a55; font-size: 11px; vertical-align: 1px; }
.perp--tag .i { width: 13px; height: 13px; }
.perp-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #e7f6ee; color: #1c5f3d; font-size: 13px; line-height: 1.45; }
.perp-note .i { width: 18px; height: 18px; margin-top: 1px; color: #1d8a55; }
.perp-note--dark { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .88); }
.perp-note--dark .i { color: #ffd200; }
.prv-pricebox__parts .perp--tag { background: rgba(29, 29, 63, .1); color: #1d1d3f; }
.prv-pricebox__main .perp-note { margin: 14px 0 18px; max-width: 460px; }

/* купон: 3 месяца поддержки в подарок */
.gift-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #ff5a7a; color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; cursor: help;
  box-shadow: 0 6px 14px -8px rgba(255, 90, 122, .9); }
.gift-pill .i, .gift-note .i, .breakdown__gift .i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gift-pill .i { width: 14px; height: 14px; }
.gift-note { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff0f3; color: #8a1d35; font-size: 14px; font-weight: 600; line-height: 1.45; }
.gift-note .i { width: 20px; height: 20px; color: #ff5a7a; }
.gift-note--dark { background: rgba(255, 90, 122, .16); color: #fff; margin: 0 0 18px; max-width: 460px; }
.prv-pricebox__main .perp-note + .gift-note--dark { margin-top: -8px; }
.gift-note--big { margin: 0 0 22px; padding: 14px 18px; font-size: 16px; border: 1px dashed #ff5a7a; }
.gift-note--big .i { width: 24px; height: 24px; }
.calc .breakdown .breakdown__gift dt { display: inline-flex; align-items: center; gap: 6px; color: #d23a5b; font-weight: 700; }
.calc .breakdown .breakdown__gift dd { color: #d23a5b; font-weight: 800; }
.breakdown__gift .i { width: 16px; height: 16px; }
