@charset "UTF-8";

:root {
  /* шрифты проекта подключаются в fonts.scss */
  --font-accent: "Inter Tight", Arial, Helvetica, sans-serif;
  /* палитра макета */
  --dark-700: #1d232b;
  --dark-600: rgba(29, 35, 43, 0.9);
  --green-700: #327b3d;
  --green-600: #30953f;
  --white-700: #fff;
  --bg-page: #edf3f9;
  /* акцентный цвет проекта */
  --Color1: var(--green-700);
}

* {
  padding: 0;
  margin: 0;
  border: 0;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  box-sizing: border-box;
}

a {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html {
  /* плавный переход по якорям меню */
  scroll-behavior: smooth;
}

/* цели якорей не должны прятаться под фиксированную шапку */

[id=resheniya],
[id=contacts] {
  scroll-margin-top: 6rem;
}

html,
body {
  line-height: 1;
  font-size: 1.05vw;
  line-height: 120%;
  background: var(--bg-page);
  color: var(--dark-700);
  font-family: var(--font-accent);
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-weight: 400;
}

h1,
h2,
h3 {
  font-family: var(--font-accent);
  font-weight: 400;
  line-height: 120%;
}

p {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited,
a:active,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

a {
  transition: all 0.3s;
}

/*--------- RESET END -----------*/

img:not([src]):not([srcset]) {
  visibility: hidden;
  display: block;
}

@-webkit-keyframes splide-loading {
  0% {
    transform: rotateZ(0);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

@keyframes splide-loading {
  0% {
    transform: rotateZ(0);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

.splide__track--draggable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.splide__track--fade > .splide__list > .splide__slide {
  margin: 0 !important;
  opacity: 0;
  z-index: 0;
}

.splide__track--fade > .splide__list > .splide__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.splide--rtl {
  direction: rtl;
}

.splide__track--ttb > .splide__list {
  display: block;
}

.splide__container {
  box-sizing: border-box;
  position: relative;
}

.splide__list {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.splide.is-initialized:not(.is-active) .splide__list {
  display: block;
}

.splide__pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}

.splide__pagination li {
  display: inline-block;
  line-height: 1;
  list-style-type: none;
  margin: 0;
  pointer-events: auto;
}

.splide:not(.is-overflow) .splide__pagination {
  display: none;
}

.splide__progress__bar {
  width: 0;
}

.splide {
  position: relative;
  visibility: hidden;
}

.splide.is-initialized,
.splide.is-rendered {
  visibility: visible;
}

.splide__slide {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
  list-style-type: none !important;
  margin: 0;
  position: relative;
}

.splide__slide img {
  vertical-align: bottom;
}

.splide__spinner {
  -webkit-animation: splide-loading 1s infinite linear;
  animation: splide-loading 1s infinite linear;
  border: 0.09375rem solid #999;
  border-left-color: transparent;
  border-radius: 50%;
  bottom: 0;
  contain: strict;
  display: inline-block;
  height: 0.93752rem;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 0.93752rem;
}

.splide__sr {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.splide__toggle__pause {
  display: none;
}

.splide__toggle.is-active .splide__toggle__play {
  display: none;
}

.splide__toggle.is-active .splide__toggle__pause {
  display: inline;
}

.splide__track {
  overflow: hidden;
  position: relative;
  z-index: 0;
}

main {
  /* именно clip, а не hidden: hidden создаёт скролл-контейнер
     и ломает scroll-driven анимации (view-timeline) внутри */
  overflow-x: clip;
}

.main {
  width: 100%;
  margin: 0 auto;
  max-width: 85rem;
}

/*--------- UI: BUTTONS -----------*/

.bt {
  border-radius: 0.1875rem;
  background: var(--Color1);
  height: 2.25rem;
  color: #FFF;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.25rem;
}

.bt:hover {
  filter: brightness(1.2);
}

.bt.white {
  background: #fff;
  color: #000;
  border: 0.3px solid rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  cursor: pointer;
}

.bt.white:hover {
  background: #000;
  color: #fff;
}

/*--------- UI: CHECKBOX -----------*/

.ch label {
  display: block;
  cursor: pointer;
}

.ch input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ch p {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 400;
  line-height: 110%;
  align-items: center;
}

.ch i {
  position: relative;
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 1px;
  border-radius: 0.125rem;
  border: 0.3px solid rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.ch i:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 0.2375rem;
  height: 0.15rem;
  border-left: 0.09375rem solid var(--Color1);
  border-bottom: 0.09375rem solid var(--Color1);
  transform: translate(-50%, -50%) rotate(-45deg);
  opacity: 0;
  transition: 0.3s;
}

.ch span {
  display: block;
}

.ch a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.125rem;
  transition: 0.3s;
}

.ch a:hover {
  opacity: 0.8;
}

.ch input:checked + p i {
  background: transparent;
  border-color: var(--Color1);
}

.ch input:checked + p i:after {
  opacity: 1;
}

.ch input:focus-visible + p i {
  outline: 1px solid rgba(0, 0, 0, 0.6);
  outline-offset: 0.125rem;
}

/*--------- HEADER -----------*/

.hd {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  padding-top: 1.875rem;
  padding-bottom: 1.875rem;
  transition: background 0.35s ease, padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), -webkit-backdrop-filter 0.35s ease;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), -webkit-backdrop-filter 0.35s ease;
}

/* класс вешает app.js при прокрутке: подложка с блюром + шапка ужимается */

.hd.scrolled {
  padding-top: 0.9375rem;
  padding-bottom: 0.9375rem;
  background: rgba(237, 243, 249, 0.72);
  -webkit-backdrop-filter: blur(0.75rem);
  backdrop-filter: blur(0.75rem);
}

.hd_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.625rem;
}

/* ширина контейнера логотипа по макету — от неё считается раскладка шапки */

.logo {
  width: 11.5rem;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 6.4375rem;
  height: 1.5625rem;
}

.hd_menu ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.hd_menu a {
  font-size: 0.875rem;
  line-height: 130%;
  color: var(--dark-700);
}

.hd_menu a:hover {
  opacity: 0.6;
}

.hd_rg {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hd_login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.625rem;
  padding: 0 1.5rem;
  border-radius: 0.75rem;
  background: var(--white-700);
  font-size: 0.875rem;
  line-height: 130%;
  color: var(--dark-700);
  filter: drop-shadow(0.0278rem 0.0278rem 0.0196rem rgba(0, 0, 0, 0.26));
}

.hd_login i {
  font-style: normal;
  opacity: 0.3;
}

.hd_login:hover {
  filter: drop-shadow(0.0278rem 0.0278rem 0.0196rem rgba(0, 0, 0, 0.26)) brightness(0.97);
}

/* бургер и выпадающее меню живут только на планшете и мобильных */

.bt_menu,
.menu_box {
  display: none;
}

/*--------- B1 — HERO -----------*/

.b1 {
  position: relative;
  /* высота фиксированной шапки: 30 + 42 по макету */
  padding-top: 4.5rem;
  /* первый экран целиком: галочки и лента логотипов всегда в зоне просмотра */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.b1 .main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Система координат фона = фрейм Hero из макета: 1440×932, верх на уровне верха страницы */

.b1_bg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 90rem;
  height: 58.25rem;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.b1_bg_it {
  position: absolute;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.b1_bg_it img {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-animation: b1-appear 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) backwards, b1-float 7s ease-in-out infinite;
  animation: b1-appear 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) backwards, b1-float 7s ease-in-out infinite;
}

/* Телефон — ровный экспорт, скругление корпуса, наклон и тень рисует CSS */

.b1_bg_phone {
  left: 55.8583rem;
  top: 11.2191rem;
  width: 18.1585rem;
  height: 37.8102rem;
}

.b1_bg_phone img {
  border-radius: 2.9863rem;
  rotate: 4.821deg;
  box-shadow: -0.03125rem -0.03125rem 0 0 rgba(0, 0, 0, 0.69), 0.875rem 0.875rem 1.3256rem -0.2344rem rgba(0, 0, 0, 0.28), 0.3688rem 0.3688rem 0.5219rem -0.1875rem rgba(0, 0, 0, 0.27), 0.1663rem 0.1663rem 0.235rem -0.1406rem rgba(0, 0, 0, 0.32), 0.0756rem 0.0756rem 0.1069rem -0.0938rem rgba(0, 0, 0, 0.35), 0.0275rem 0.0275rem 0.0394rem -0.0469rem rgba(0, 0, 0, 0.36);
}

/* Уведомления — плоские карточки: картинка ровная, скругление, тень и наклон рисует CSS */

.b1_bg_note1 {
  left: 64.9703rem;
  top: 33.841rem;
  width: 17.9811rem;
  height: 3.7088rem;
}

.b1_bg_note2 {
  left: 43.7609rem;
  top: 38.3212rem;
  width: 15.4811rem;
  height: 3.7088rem;
}

.b1_bg_note1 img,
.b1_bg_note2 img {
  border-radius: 1.1376rem;
  box-shadow: 0.5416rem 0.5416rem 0.7797rem rgba(0, 0, 0, 0.22);
}

.b1_bg_note1 img {
  rotate: 9.16deg;
}

.b1_bg_note2 img {
  rotate: -6.16deg;
}

/* Стикеры — форма произвольная, поэтому тень по контуру через drop-shadow на обёртке
   (на обёртке, а не на картинке, чтобы тень не поворачивалась вместе со стикером) */

.b1_bg_apple {
  left: 45.2854rem;
  top: 6.253rem;
  width: 6.3083rem;
  height: 7.2726rem;
  filter: drop-shadow(0.5481rem 0.5481rem 1.1631rem rgba(0, 0, 0, 0.05)) drop-shadow(0.3238rem 0.3238rem 0.4575rem rgba(0, 0, 0, 0.19)) drop-shadow(0.1456rem 0.1456rem 0.2063rem rgba(0, 0, 0, 0.23));
}

.b1_bg_apple img {
  rotate: -0.79deg;
}

.b1_bg_google {
  left: 74.8314rem;
  top: 20.3139rem;
  width: 11.0472rem;
  height: 8.8383rem;
  filter: drop-shadow(0.495rem 0.495rem 1.0506rem rgba(0, 0, 0, 0.05)) drop-shadow(0.2925rem 0.2925rem 0.4131rem rgba(0, 0, 0, 0.19)) drop-shadow(0.1319rem 0.1319rem 0.1863rem rgba(0, 0, 0, 0.23));
}

.b1_bg_google img {
  rotate: 28.506deg;
}

/* Карта — ровный экспорт, скругление, наклон и тень в CSS */

.b1_bg_card {
  left: 43.3438rem;
  top: 16.7481rem;
  width: 20.9375rem;
  height: 13.6288rem;
}

.b1_bg_card img {
  border-radius: 1.0211rem;
  rotate: -9.78deg;
  box-shadow: 0.9119rem 0.9119rem 1.9338rem -0.3419rem rgba(0, 0, 0, 0.08), 0.5381rem 0.5381rem 0.7606rem -0.2738rem rgba(0, 0, 0, 0.3), 0.2425rem 0.2425rem 0.3425rem -0.205rem rgba(0, 0, 0, 0.37), 0.1106rem 0.1106rem 0.1563rem -0.1369rem rgba(0, 0, 0, 0.4), 0.0406rem 0.0406rem 0.0575rem -0.0681rem rgba(0, 0, 0, 0.42);
}

.b1_bg_glow {
  left: -5.5rem;
  top: -4.3125rem;
  width: 100.9375rem;
  height: 79.25rem;
}

/* появление каскадом + разная амплитуда покачивания */

.b1_bg_phone img {
  -webkit-animation-delay: 0.05s, 1s;
  animation-delay: 0.05s, 1s;
  -webkit-animation-duration: 0.9s, 11s;
  animation-duration: 0.9s, 11s;
  --float: -0.5rem;
}

.b1_bg_card img {
  -webkit-animation-delay: 0.2s, 1.15s;
  animation-delay: 0.2s, 1.15s;
  -webkit-animation-duration: 0.9s, 8s;
  animation-duration: 0.9s, 8s;
  --float: -1.1rem;
}

.b1_bg_note1 img {
  -webkit-animation-delay: 0.42s, 1.4s;
  animation-delay: 0.42s, 1.4s;
  -webkit-animation-duration: 0.9s, 6.4s;
  animation-duration: 0.9s, 6.4s;
  --float: -0.75rem;
}

.b1_bg_note2 img {
  -webkit-animation-delay: 0.52s, 1.55s;
  animation-delay: 0.52s, 1.55s;
  -webkit-animation-duration: 0.9s, 7.2s;
  animation-duration: 0.9s, 7.2s;
  --float: -0.65rem;
}

.b1_bg_apple img {
  -webkit-animation-delay: 0.62s, 1.7s;
  animation-delay: 0.62s, 1.7s;
  -webkit-animation-duration: 0.9s, 5.6s;
  animation-duration: 0.9s, 5.6s;
  --float: -0.9rem;
}

.b1_bg_google img {
  -webkit-animation-delay: 0.7s, 1.8s;
  animation-delay: 0.7s, 1.8s;
  -webkit-animation-duration: 0.9s, 6.8s;
  animation-duration: 0.9s, 6.8s;
  --float: -0.85rem;
}

.b1_bg_glow img {
  -webkit-animation: b1-appear 1.2s ease-out backwards;
  animation: b1-appear 1.2s ease-out backwards;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

@-webkit-keyframes b1-appear {
  from {
    opacity: 0;
    transform: translate3d(0, 2.5rem, 0) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes b1-appear {
  from {
    opacity: 0;
    transform: translate3d(0, 2.5rem, 0) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@-webkit-keyframes b1-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, var(--float, -0.75rem), 0);
  }
}

@keyframes b1-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, var(--float, -0.75rem), 0);
  }
}

.b1_txt {
  padding-top: 6.25rem;
}

.b1_txt h1 {
  max-width: 37.125rem;
  font-size: 4rem;
  font-weight: 500;
  line-height: 110%;
  color: var(--dark-700);
}

.b1_descr {
  margin-top: 1.75rem;
  max-width: 29.75rem;
  font-size: 1.125rem;
  line-height: 130%;
  color: var(--dark-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Иконка Telegram в кнопках: подложка и скругление — CSS, из макета только стрелка.
   Цвет стрелки задаётся переменной --btn-arrow */

.btn i {
  position: relative;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--white-700);
  box-shadow: 0.15625rem 0.15625rem 0.1875rem 0 rgba(0, 0, 0, 0.15), 0.0831rem 0.0831rem 0.1175rem 0 rgba(0, 0, 0, 0.25), 0.0381rem 0.0381rem 0.0538rem 0 rgba(0, 0, 0, 0.18), -0.03125rem -0.03125rem 0 0 rgba(0, 0, 0, 0.1), inset 0.03125rem 0.03125rem 0.0625rem 0 rgba(255, 255, 255, 0.9), inset -0.03125rem -0.03125rem 0.0625rem 0 rgba(0, 0, 0, 0.15);
}

.btn i::after {
  content: "";
  position: absolute;
  left: 0.9375rem;
  top: 1rem;
  width: 1.125rem;
  height: 1rem;
  background: var(--btn-arrow, #1f5327);
  -webkit-mask: url("../img/tg-arrow.svg") no-repeat center/contain;
  mask: url("../img/tg-arrow.svg") no-repeat center/contain;
}

.b1_btn {
  margin-top: 1.75rem;
  gap: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 1.375rem;
  background: var(--green-700);
  color: var(--white-700);
  font-size: 1rem;
  font-weight: 700;
  line-height: 130%;
  box-shadow: 0.0278rem 0.0278rem 0.0393rem 0 rgba(0, 0, 0, 0.26), 0.0757rem 0.0757rem 0.107rem 0 rgba(0, 0, 0, 0.25), 0.1661rem 0.1661rem 0.2349rem 0 rgba(0, 0, 0, 0.23), 0.3688rem 0.3688rem 0.5216rem 0 rgba(0, 0, 0, 0.19), 0.625rem 0.625rem 1.3258rem 0 rgba(0, 0, 0, 0.23), -0.03125rem -0.03125rem 0 0 rgba(0, 141, 21, 0.5), inset 0.0625rem 0.0625rem 0.0625rem 0 rgba(255, 255, 255, 0.83), inset -0.0625rem -0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.23);
}

.b1_btn:hover {
  background: var(--green-600);
}

.b1_check {
  display: flex;
  align-items: center;
  gap: 3.25rem;
  /* прижато к низу первого экрана, но не ближе макетных 110px к кнопке */
  margin-top: auto;
  padding-top: 6.875rem;
  margin-bottom: 6.25rem;
}

.b1_check li {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 3.25rem;
}

.b1_check_ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--white-700);
  filter: drop-shadow(0.0278rem 0.0278rem 0.0196rem rgba(0, 0, 0, 0.26));
}

.b1_check_ico img {
  display: block;
  width: 1.3438rem;
  height: 1.3438rem;
}

.b1_check p {
  font-size: 0.875rem;
  line-height: 130%;
  color: var(--dark-700);
}

.b1_check li:first-child p {
  width: 9.8125rem;
}

.b1_check li:last-child p {
  width: 8.75rem;
}

.b1_ticker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin: 4rem 0 -2rem;
}

.b1_ticker_line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin-left: calc((100% - 85rem) / 2);
  -webkit-animation: b1-ticker 100s linear infinite;
  animation: b1-ticker 100s linear infinite;
}

@-webkit-keyframes b1-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.375rem));
  }
}

@keyframes b1-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.375rem));
  }
}

.b1_logo {
  flex-shrink: 0;
  width: 5.625rem;
  height: 3.25rem;
  border-radius: 0.7143rem;
  background: var(--white-700);
  box-shadow: 0.125rem 0.125rem 0.1644rem -0.0625rem rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.b1_logo img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Окно ниже, чем требует макет первого экрана (1440×934):
   сжимаем только вертикальные зазоры, размеры шрифтов остаются макетными */

/* ноутбучные высоты: сжимаем сильнее, чтобы лента логотипов тоже осталась на экране */

/*--------- B2 — ДЛЯ ЧЕГО НУЖЕН КАРТОН (sticky-стопка) -----------*/

.b2 {
  position: relative;
  z-index: 1;
  padding-top: 9.5rem;
}

.b2_title {
  font-size: 4rem;
  font-weight: 500;
  line-height: 110%;
  text-align: center;
  color: var(--dark-700);
}

.b2_cards {
  /* параметры стопки: шаг сдвига и масштаба взяты из макета (1360 → 1320 → 1280 → 1240) */
  --cards: 4;
  /* высота шапки в прижатом состоянии: 15 + 42 + 15 */
  --hd-h: 4.5rem;
  /* карточка не выше экрана за вычетом шапки */
  --card-h: min(45rem, calc(100vh - var(--hd-h)));
  /* Высоту берём из --kp-vh: её один раз снимает скрипт в <head> и меняет
     только при повороте экрана. Единицы вьюпорта не годятся — во встроенном
     браузере Telegram сворачивание шапки меняет размер webview по-настоящему,
     и vh, svh, dvh одинаково «дышат», дёргая стопку карточек.
     Запасное значение 100svh — на случай отключённого JS.
     Через @supports, а не вторым объявлением: в пользовательском свойстве
     неизвестная единица не отбрасывается при разборе, а ломает свойство
     уже в момент применения. */
  --card-gap: 6rem;
  --stack-offset: 2.5rem;
  --stack-scale: 0.0294;
  --stack-top: var(--hd-h);
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  -ms-grid-rows: var(--card-h) [var(--cards)];
  grid-template-rows: repeat(var(--cards), var(--card-h));
  gap: var(--card-gap);
  margin-top: 4.5rem;
  padding-bottom: calc(var(--cards) * var(--stack-offset));
}

@supports (height: 100svh) {
  .b2_cards {
    --card-h: min(45rem, calc(var(--kp-vh, 100svh) - var(--hd-h)));
  }
}

.b2_card {
  position: -webkit-sticky;
  position: sticky;
  top: var(--stack-top);
  height: var(--card-h);
}

.b2_card_in {
  position: relative;
  height: 100%;
  padding: 3.25rem;
  border-radius: 3.125rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-origin: 50% 0;
  will-change: transform;
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.16);
}

/* фон и предметы — отдельные слои одного размера, обрезаются одинаково */

.b2_card_bg,
.b2_card_obj {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.b2_card_obj {
  z-index: 1;
}

/* карта — та же картинка, что в hero; скругление, наклон и тень в CSS */

.b2_card_pay {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: var(--w);
  height: var(--h);
  -webkit-animation: b2-pay-float 9s ease-in-out infinite;
  animation: b2-pay-float 9s ease-in-out infinite;
}

.b2_card_pay img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--r);
  rotate: var(--a);
  box-shadow: 0.5381rem 0.5381rem 0.7606rem -0.2738rem rgba(0, 0, 0, 0.3), 0.2425rem 0.2425rem 0.3425rem -0.205rem rgba(0, 0, 0, 0.37), 0.1106rem 0.1106rem 0.1563rem -0.1369rem rgba(0, 0, 0, 0.4);
}

@-webkit-keyframes b2-pay-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -1.25rem, 0);
  }
}

@keyframes b2-pay-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -1.25rem, 0);
  }
}

.b2_card_txt {
  position: relative;
  z-index: 4;
}

.b2_card_txt h3 {
  max-width: 33.25rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 130%;
  color: var(--white-700);
}

.b2_card_txt p {
  max-width: 22.1875rem;
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--white-700);
}

/* ширины текстовых колонок по макету — от них зависят переносы строк */

.b2_card:nth-child(1) .b2_card_txt h3,
.b2_card:nth-child(2) .b2_card_txt h3 {
  max-width: 26.75rem;
}

.b2_card:nth-child(1) .b2_card_txt p {
  max-width: 20.8125rem;
}

.b2_card:nth-child(2) .b2_card_txt p {
  max-width: 23.375rem;
}

.b2_btn {
  --btn-arrow: #1d232b;
  position: relative;
  z-index: 4;
  align-self: flex-start;
  gap: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 1.375rem;
  background: var(--bg-page);
  color: var(--dark-700);
  font-size: 1rem;
  font-weight: 700;
  line-height: 130%;
  box-shadow: 0.0278rem 0.0278rem 0.0393rem 0 rgba(0, 0, 0, 0.26), 0.0757rem 0.0757rem 0.107rem 0 rgba(0, 0, 0, 0.25), 0.1661rem 0.1661rem 0.2349rem 0 rgba(0, 0, 0, 0.23), 0.3688rem 0.3688rem 0.5216rem 0 rgba(0, 0, 0, 0.19), 0.625rem 0.625rem 1.3258rem 0 rgba(0, 0, 0, 0.23), -0.03125rem -0.03125rem 0 0 rgba(207, 207, 207, 0.5), inset -0.0625rem -0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.23);
}

.b2_btn:hover {
  background: var(--white-700);
}

/* Стопка: уходящая карточка опускается на ступень и уменьшается,
   поэтому её нижний край выглядывает из-под следующей — как в макете */

@supports (animation-timeline: view()) {
  .b2_cards {
    view-timeline-name: --b2-cards;
  }

  .b2_card {
    --index0: calc(var(--index) - 1);
    --steps: calc(var(--cards) - var(--index));
  }

  .b2_card_in {
    -webkit-animation: b2-stack linear forwards;
    animation: b2-stack linear forwards;
    animation-timeline: --b2-cards;
    animation-range: exit-crossing calc(var(--index0) / var(--cards) * 100%) exit-crossing calc(var(--index) / var(--cards) * 100%);
  }

@-webkit-keyframes b2-stack {
    to {
      transform: translateY(calc(var(--stack-offset) * var(--steps))) scale(calc(1 - var(--stack-scale) * var(--steps)));
    }
}

@keyframes b2-stack {
    to {
      transform: translateY(calc(var(--stack-offset) * var(--steps))) scale(calc(1 - var(--stack-scale) * var(--steps)));
    }
}
}

/*--------- B3 — ТАРИФЫ -----------*/

.b3 {
  position: relative;
  z-index: 1;
  padding-top: 9.5rem;
}

.b3_cards {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr [2];
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.b3_card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  /* сверху место под карту, которая выступает за край */
  padding: 8.25rem 2.25rem 2.25rem;
  border-radius: 2rem;
  background: var(--white-700);
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.06);
}

/* карта выступает над карточкой; скругление и тень — в CSS */

.b3_card_pic {
  position: absolute;
  left: 50%;
  top: -7.25rem;
  width: 21.125rem;
  height: 13.7338rem;
  transform: translateX(-50%);
}

.b3_card_pic img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1.0288rem;
  box-shadow: 0.5381rem 0.5381rem 0.7606rem -0.2738rem rgba(0, 0, 0, 0.22), 0.2425rem 0.2425rem 0.3425rem -0.205rem rgba(0, 0, 0, 0.26), 0.1106rem 0.1106rem 0.1563rem -0.1369rem rgba(0, 0, 0, 0.28);
}

.b3_card_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.b3_card_head h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 130%;
  color: #000;
}

.b3_card_sub {
  font-size: 1rem;
  font-weight: 400;
  line-height: 130%;
  color: rgba(29, 35, 43, 0.72);
}

.b3_card_sub_row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* иконки сервисов идут внахлёст */

.b3_services {
  display: flex;
  align-items: center;
}

.b3_services i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
}

.b3_services i:not(:last-child) {
  margin-right: -0.25rem;
}

.b3_services--dark {
  background: #010202;
}

.b3_services--light {
  background: #dfe6ec;
}

.b3_services img {
  display: block;
}

.b3_terms {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 0.0625rem solid rgba(29, 35, 43, 0.16);
  border-radius: 1rem;
}

.b3_terms_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.b3_terms_row + .b3_terms_row {
  padding-top: 1.25rem;
  border-top: 0.0625rem solid rgba(29, 35, 43, 0.16);
  margin-top: -0.0625rem;
}

.b3_terms_name,
.b3_terms_val {
  font-size: 1rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
}

.b3_chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.b3_chip {
  display: inline-flex;
  align-items: center;
  /* отступ между подписью и значением по макету */
  gap: 0.25rem;
  height: 1.8125rem;
  padding: 0 0.625rem;
  border-radius: 0.375rem;
  background: var(--bg-page);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
  white-space: nowrap;
}

.b3_chip b {
  font-weight: 700;
}

/* две плашки курса (пополнение и вывод) и пометка под ними */

.b3_rates {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  margin-top: -1rem;
}

.b3_rate {
  display: inline-block;
  align-self: flex-start;
  padding: 0.4375rem 0.625rem;
  border-radius: 0.375rem;
  background: var(--bg-page);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
}

/* пометка под плашками: интервал обновления */

.b3_rate_note {
  display: block;
  font-size: 0.75rem;
  color: var(--dark-700);
  opacity: 0.5;
}

.b3_features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* в карточке без плашки курса резервируем её место,
   чтобы «Возможности карты» в обеих колонках были на одном уровне */

.b3_card:not(:has(.b3_rate)) .b3_features {
  margin-top: 2.75rem;
}

.b3_features_title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 130%;
  color: var(--dark-700);
}

.b3_features ul {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.b3_features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
}

.b3_features li img {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.0625rem;
}

.b3_features li b {
  font-weight: 700;
}

.b3_price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  /* цена и кнопка всегда внизу карточки */
  margin-top: auto;
}

.b3_price_now {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 130%;
  color: var(--dark-700);
}

.b3_price_old {
  font-size: 1rem;
  font-weight: 700;
  line-height: 130%;
  color: rgba(29, 35, 43, 0.4);
}

.b3_btn {
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 1.375rem;
  background: var(--green-700);
  color: var(--white-700);
  font-size: 1rem;
  font-weight: 700;
  line-height: 130%;
  box-shadow: 0.0278rem 0.0278rem 0.0393rem 0 rgba(0, 0, 0, 0.26), 0.1661rem 0.1661rem 0.2349rem 0 rgba(0, 0, 0, 0.23), 0.3688rem 0.3688rem 0.5216rem 0 rgba(0, 0, 0, 0.19), inset 0.0625rem 0.0625rem 0.0625rem 0 rgba(255, 255, 255, 0.83), inset -0.0625rem -0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.23);
}

.b3_btn:hover {
  background: var(--green-600);
}

/*--------- B4 — ПУТЬ ОТ БОТА ДО ОПЛАТЫ -----------*/

.b4 {
  --steps: 4;
  /* высота прижатой шапки: 15 + 42 + 15 */
  --hd-h: 4.5rem;
  --b4-pad: 2rem;
  position: relative;
  z-index: 1;
  /* высота секции задаёт длину прокрутки: по экрану на шаг */
  height: calc(var(--steps) * 100vh);
  margin-top: 9.5rem;
}

/* фон живёт внутри sticky-кадра, поэтому при прокрутке стоит на месте.
   Смещение −23px повторяет положение подложки относительно контента в макете */

.b4_bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 105.6875rem;
  height: 56.375rem;
  transform: translate(-50%, -50%) translateY(-1.4375rem);
  pointer-events: none;
}

.b4_bg img {
  display: block;
  width: 100%;
  height: 100%;
}

.b4_sticky {
  position: -webkit-sticky;
  position: sticky;
  top: var(--hd-h);
  display: flex;
  align-items: center;
  /* кадр живёт под шапкой, поэтому её высоту вычитаем */
  height: calc(100vh - var(--hd-h));
  /* воздух между шапкой и контентом и такой же снизу */
  padding: var(--b4-pad) 0;
  /* overflow: hidden; */
}

/* высоту нужно протянуть до сетки, иначе min(…, 100%) не с чем сравнивать */

.b4_sticky > .main {
  display: flex;
  align-items: center;
  height: 100%;
}

.b4_grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 28.72rem auto 28.72rem;
  grid-template-columns: 28.72rem auto 28.72rem;
  /* строка не должна расти под натуральный размер картинки телефона */
  -ms-grid-rows: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 3.875rem;
  align-items: stretch;
  justify-content: center;
  /* не выше макетных 660 и не выше того, что осталось от экрана под шапкой */
  height: min(41.25rem, 100%);
}

/* левая колонка */

.b4_left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: min(3.25rem, 7vh) 0;
}

.b4_left h2 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 110%;
  color: var(--dark-700);
}

.b4_btn {
  align-self: flex-start;
  gap: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 1.375rem;
  background: var(--green-700);
  color: var(--white-700);
  font-size: 1rem;
  font-weight: 700;
  line-height: 130%;
  box-shadow: 0.0278rem 0.0278rem 0.0393rem 0 rgba(0, 0, 0, 0.26), 0.1661rem 0.1661rem 0.2349rem 0 rgba(0, 0, 0, 0.23), 0.3688rem 0.3688rem 0.5216rem 0 rgba(0, 0, 0, 0.19), 0.625rem 0.625rem 1.3258rem 0 rgba(0, 0, 0, 0.23), inset 0.0625rem 0.0625rem 0.0625rem 0 rgba(255, 255, 255, 0.83);
}

.b4_btn:hover {
  background: var(--green-600);
}

/* телефон: рамка поверх, экраны под ней */

.b4_phone {
  position: relative;
  height: 100%;
  min-height: 0;
  -ms-grid-column-align: center;
  justify-self: center;
  /* пропорции корпуса из макета: ширина считается от высоты */
  aspect-ratio: 316.97/660;
  filter: drop-shadow(0.5rem 0.75rem 1.5rem rgba(0, 0, 0, 0.18)) drop-shadow(0.125rem 0.1875rem 0.375rem rgba(0, 0, 0, 0.12));
}

/* доли от корпуса, чтобы экран масштабировался вместе с телефоном */

.b4_phone_screen {
  position: absolute;
  left: 3.183%;
  top: 1.529%;
  width: 93.633%;
  height: 96.94%;
  /* радиус экрана из макета — 43.72 при 296.79×639.82 */
  border-radius: 14.73%/6.83%;
  overflow: hidden;
  z-index: 4;
}

.b4_phone_screen img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.b4_phone_screen img.is-active {
  opacity: 1;
}

.b4_phone_frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

/* Dynamic Island лежит поверх экрана — в рамке телефона его нет.
   Доли от корпуса, чтобы двигался вместе с ним при любом масштабе */

.b4_phone_island {
  position: absolute;
  left: 35.278%;
  top: 3.057%;
  z-index: 5;
  width: 29.443%;
  height: 3.949%;
}

/* правая колонка — шаги */

.b4_steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: min(2.625rem, 5.7vh);
}

.b4_step {
  display: block;
}

.b4_step_head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* у каждого шага своя иконка из макета; появляется только у активного.
   Прозрачность держим в CSS — в самих SVG цвет сплошной */

.b4_step_head img {
  flex-shrink: 0;
  width: 0;
  height: 1.5rem;
  -o-object-fit: contain;
  object-fit: contain;
  opacity: 0;
  transition: width 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
  margin: 0.375rem 0 0;
}

.b4_step.is-active .b4_step_head img {
  width: 1.5rem;
  opacity: 0.42;
}

.b4_step_head h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 130%;
  color: var(--dark-700);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.b4_step.is-active .b4_step_head h3 {
  opacity: 1;
}

/* описание раскрывается плавно, без фиксированной высоты */

.b4_step_body {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 0fr;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease, opacity 0.35s ease, margin-top 0.45s ease;
  transition: grid-template-rows 0.45s ease, opacity 0.35s ease, margin-top 0.45s ease, -ms-grid-rows 0.45s ease;
  opacity: 0;
  overflow: hidden;
}

.b4_step.is-active .b4_step_body {
  -ms-grid-rows: 1fr;
  grid-template-rows: 1fr;
  margin-top: 0.625rem;
  opacity: 1;
}

.b4_step_body p {
  min-height: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
}

.b4_step_line {
  display: block;
  position: relative;
  height: 0.0625rem;
  margin-top: min(2.625rem, 5.7vh);
  background: rgba(29, 35, 43, 0.16);
}

.b4_step_line b {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress, 0%);
  background: var(--green-700);
}

/*--------- B5 — ЛЮБЫЕ ПОКУПКИ -----------*/

.b5 {
  position: relative;
  z-index: 1;
  padding-top: 9.5rem;
}

.b5_card {
  position: relative;
  height: 42.5rem;
  border-radius: 3.125rem;
}

.b5_card_bg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  -o-object-fit: cover;
  object-fit: cover;
}

/* персонаж выходит за пределы карточки, поэтому лежит поверх */

.b5_character {
  position: absolute;
  left: 42.125rem;
  top: 4.5rem;
  z-index: 2;
  width: 20.8125rem;
  height: 40.3125rem;
}

.b5_content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* 52 отступа + 561 колонка по макету */
  width: 38.3125rem;
  height: 100%;
  padding: 3.25rem;
  padding-right: 0;
}

.b5_txt {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.b5_txt h2 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 110%;
  color: var(--white-700);
}

.b5_tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.b5_tags li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.7143rem;
  background: var(--white-700);
  box-shadow: 0.125rem 0.125rem 0.0822rem rgba(0, 0, 0, 0.26);
  font-size: 1rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
  white-space: nowrap;
}

.b5_tags img {
  display: block;
  flex-shrink: 0;
}

.b5_note {
  font-size: 1rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--white-700);
}

.b5_btn {
  --btn-arrow: #1d232b;
  align-self: flex-start;
  gap: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 1.375rem;
  background: var(--bg-page);
  color: var(--dark-700);
  font-size: 1rem;
  font-weight: 700;
  line-height: 130%;
  box-shadow: 0.0278rem 0.0278rem 0.0393rem 0 rgba(0, 0, 0, 0.26), 0.1661rem 0.1661rem 0.2349rem 0 rgba(0, 0, 0, 0.23), 0.3688rem 0.3688rem 0.5216rem 0 rgba(0, 0, 0, 0.19), 0.625rem 0.625rem 1.3258rem 0 rgba(0, 0, 0, 0.23);
}

.b5_btn:hover {
  background: var(--white-700);
}

/*--------- B6 — ОТЗЫВЫ -----------*/

.b6 {
  position: relative;
  z-index: 1;
  padding-top: 9.5rem;
}

.b6_bg {
  position: absolute;
  left: 50%;
  top: -5.375rem;
  width: 127.75rem;
  height: 68.125rem;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
}

.b6_bg img {
  display: block;
  width: 100%;
  height: 100%;
}

.b6_title {
  font-size: 4rem;
  font-weight: 500;
  line-height: 110%;
  text-align: center;
  color: var(--dark-700);
}

.b6_slider_wrap {
  position: relative;
  margin-top: 3.25rem;
}

.b6_slider .splide__slide img {
  display: block;
  width: 100%;
  height: 15.5rem;
  border-radius: 2rem;
  -o-object-fit: cover;
  object-fit: cover;
  box-shadow: 0.125rem 0.125rem 0.0822rem rgba(0, 0, 0, 0.12);
}

/* точки под слайдером */

.b6_slider .splide__pagination {
  margin-top: 2rem;
  gap: 0.75rem;
}

.b6_slider .splide__pagination__page {
  width: 0.625rem;
  height: 0.625rem;
  margin: 0;
  border-radius: 50%;
  background: rgba(29, 35, 43, 0.16);
  opacity: 1;
  transition: background 0.3s;
}

.b6_slider .splide__pagination__page.is-active {
  background: rgba(29, 35, 43, 0.42);
  transform: none;
}

/* стрелки вынесены за колонку, как в макете */

.b6_slider_wrap .arrow button {
  position: absolute;
  top: 7.75rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--dark-700);
  -webkit-mask: url("../img/b6/arrow.svg") no-repeat center/contain;
  mask: url("../img/b6/arrow.svg") no-repeat center/contain;
  cursor: pointer;
  transition: opacity 0.3s;
}

.b6_slider_wrap .arrow .prev {
  left: -3.25rem;
  transform: translateY(-50%) scaleX(-1);
}

.b6_slider_wrap .arrow .next {
  right: -3.25rem;
  transform: translateY(-50%);
}

.b6_slider_wrap .arrow button:hover {
  opacity: 0.6;
}

/* карточки рейтингов */

.b6_rates {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr [4];
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.25rem;
}

.b6_rates li {
  border-radius: 1.5rem;
  background: var(--white-700);
  box-shadow: 0.125rem 0.125rem 0.0822rem rgba(0, 0, 0, 0.26);
}

/* вся карточка — ссылка на площадку с отзывами */

.b6_rate_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  /* высота карточки по макету */
  height: 6.25rem;
  padding: 1.5rem;
  color: inherit;
  transition: transform 0.25s ease;
}

.b6_rate_link:hover {
  transform: translateY(-0.125rem);
}

.b6_rate_txt {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.b6_rate_val {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 130%;
  color: var(--dark-700);
}

.b6_rate_val img {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.b6_rate_name {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
}

.b6_rate_ico {
  display: block;
  flex-shrink: 0;
  height: 3.25rem;
  width: auto;
}

.b6_slider .splide__track {
  padding: 0.5rem;
  margin: -0.5rem;
}

/*--------- B7 — КАРТОН БОЛЬШЕ, ЧЕМ КАРТА -----------*/

.b7 {
  position: relative;
  z-index: 1;
  padding-top: 9.5rem;
}

.b7_grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 47.5rem 42.5rem;
  grid-template-columns: 47.5rem 42.5rem;
  align-items: start;
  min-height: 35.375rem;
}

/* холст иллюстрации: система координат из макета — 692×600 */

.b7_img {
  position: relative;
  left: -0.25rem;
  top: -1.625rem;
  width: 43.25rem;
  height: 37.5rem;
}

.b7_layer {
  position: absolute;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.b7_layer img {
  display: block;
  width: 100%;
  height: 100%;
}

/* персонаж со своей тенью — один слой */

.b7_character {
  left: -2.8044rem;
  top: 0;
  width: 41.3731rem;
  height: 37.5rem;
}

.b7_apple {
  left: 34.1331rem;
  top: 7.1594rem;
  width: 6.2975rem;
  height: 6.2975rem;
}

.b7_tether {
  left: 0.265rem;
  top: 25.575rem;
  width: 3.425rem;
  height: 3.7225rem;
}

.b7_note {
  left: 29.3519rem;
  top: 20.3081rem;
  width: 16.8625rem;
  height: 11.9619rem;
}

.b7_google {
  left: 7.6206rem;
  top: 7.9206rem;
  width: 6.12rem;
  height: 6.12rem;
}

/* наклоны из макета (знак инвертирован под CSS) */

.b7_apple img {
  rotate: 44.36deg;
}

.b7_tether img {
  rotate: 9.61deg;
}

.b7_google img {
  rotate: -15deg;
}

/* покачивание: у каждого значка свои период и амплитуда */

.b7_apple img,
.b7_tether img,
.b7_note img,
.b7_google img {
  -webkit-animation: b7-float var(--dur, 7s) ease-in-out infinite;
  animation: b7-float var(--dur, 7s) ease-in-out infinite;
  -webkit-animation-delay: var(--delay, 0s);
  animation-delay: var(--delay, 0s);
}

.b7_apple img {
  --dur: 6.2s;
  --delay: 0.4s;
  --float: -1rem;
}

.b7_tether img {
  --dur: 5.4s;
  --delay: 0.9s;
  --float: -0.85rem;
}

.b7_note img {
  --dur: 7.6s;
  --delay: 0.2s;
  --float: -0.7rem;
}

.b7_google img {
  --dur: 6.8s;
  --delay: 0.6s;
  --float: -1.1rem;
}

@-webkit-keyframes b7-float {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 var(--float, -0.75rem);
  }
}

@keyframes b7-float {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 var(--float, -0.75rem);
  }
}

/* правая колонка */

.b7_txt {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.b7_title {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.b7_title h2 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 110%;
  color: var(--dark-700);
}

.b7_title p {
  max-width: 40.5625rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 130%;
  color: var(--dark-700);
}

.b7_list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.b7_list li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.b7_list_ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.25rem;
  background: var(--white-700);
  box-shadow: 0.0385rem 0.0385rem 0.0272rem rgba(0, 0, 0, 0.26);
}

.b7_list_ico img {
  display: block;
  width: 2rem;
  height: 2rem;
}

.b7_list_txt {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.b7_list_name {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 130%;
  color: var(--dark-700);
}

.b7_list_txt p:last-child {
  font-size: 1rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
}

.b7_list li:nth-child(1) .b7_list_txt p:last-child {
  max-width: 23.1875rem;
}

.b7_list li:nth-child(2) .b7_list_txt p:last-child {
  max-width: 35.125rem;
}

.b7_list li:nth-child(3) .b7_list_txt p:last-child {
  max-width: 32.5625rem;
}

/*--------- B8 — FAQ -----------*/

.b8 {
  position: relative;
  z-index: 1;
  padding-top: 9.5rem;
}

.b8_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.b8_title h2 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 110%;
  color: var(--dark-700);
}

.b8_title p {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
}

.b8_list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 3.25rem;
}

.b8_item {
  border-radius: 1.5rem;
  background: var(--white-700);
  box-shadow: 0.125rem 0.125rem 0.0822rem rgba(0, 0, 0, 0.06);
}

.b8_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: none;
  text-align: left;
  cursor: pointer;
}

.b8_q {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 130%;
  color: var(--dark-700);
}

.b8_toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.375rem;
  height: 3.375rem;
  border-radius: 1.125rem;
  background: var(--bg-page);
  transition: background 0.3s;
}

.b8_toggle img {
  display: block;
  width: 0.5139rem;
  height: 0.875rem;
  /* стрелка в макете смотрит вправо — доворачиваем вниз, а у открытого пункта вверх */
  rotate: 90deg;
  transition: rotate 0.35s ease;
}

.b8_item.is-open .b8_toggle img {
  rotate: -90deg;
}

.b8_head:hover .b8_toggle {
  background: rgba(29, 35, 43, 0.09);
}

/* ответ раскрывается без фиксированной высоты */

.b8_body {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 0fr;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease, -ms-grid-rows 0.4s ease;
  opacity: 0;
}

.b8_item.is-open .b8_body {
  -ms-grid-rows: 1fr;
  grid-template-rows: 1fr;
  opacity: 1;
}

/* прямой потомок грида не должен иметь отступов — иначе строка не схлопнется в 0 */

.b8_body_in {
  min-height: 0;
  overflow: hidden;
}

.b8_body p {
  padding: 0 5.75rem 1.5rem 2rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
}

.b8_body s {
  opacity: 0.4;
}

/*--------- FOOTER -----------*/

.ft {
  position: relative;
  z-index: 1;
  padding-top: 9.5rem;
  padding-bottom: 2.5rem;
}

.ft_card {
  display: flex;
  flex-direction: column;
  gap: 1.9375rem;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: var(--white-700);
  box-shadow: 0.125rem 0.125rem 0.0822rem rgba(0, 0, 0, 0.06);
}

.ft_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* левая группа: логотип и соцсети — рамки и скругления в CSS */

.ft_soc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ft_logo,
.ft_soc_it,
.ft_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.625rem;
  border: 0.0625rem solid rgba(29, 35, 43, 0.16);
  border-radius: 0.75rem;
  transition: border-color 0.3s, background 0.3s;
}

.ft_logo {
  padding: 0 0.75rem;
}

.ft_logo img {
  display: block;
  width: 5.2725rem;
  height: 1.25rem;
}

.ft_soc_it {
  width: 2.625rem;
  flex-shrink: 0;
}

.ft_soc_it img {
  display: block;
}

.ft_logo:hover,
.ft_soc_it:hover,
.ft_btn:hover {
  border-color: rgba(29, 35, 43, 0.42);
  background: rgba(29, 35, 43, 0.03);
}

/* правая группа: кнопки */

.ft_actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ft_btn {
  gap: 0.625rem;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 130%;
  color: var(--dark-700);
  white-space: nowrap;
}

.ft_btn img {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
}

.ft_btn--login {
  gap: 0.5rem;
}

.ft_btn--login i {
  font-style: normal;
  opacity: 0.3;
}

.ft_line {
  display: block;
  height: 0.0625rem;
  background: rgba(29, 35, 43, 0.16);
}

.ft_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.875rem;
  line-height: 130%;
}

.ft_docs,
.ft_nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.ft_docs a {
  color: rgba(29, 35, 43, 0.42);
}

.ft_nav a {
  color: var(--dark-700);
}

.ft_docs a:hover,
.ft_nav a:hover {
  color: var(--green-700);
}

.ft_license {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 140%;
  color: rgba(29, 35, 43, 0.42);
}

/*--------- УВЕДОМЛЕНИЕ О COOKIE -----------*/

.notification {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
  display: none;
  align-items: center;
  gap: 1rem;
  width: min(38rem, 100% - 3rem);
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  background: var(--white-700);
  transform: translateY(1rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* класс вешает app.js, если согласие ещё не сохранено */

.notification.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.notification__txt p {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 135%;
  color: rgba(29, 35, 43, 0.72);
}

.notification__txt a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}

.notification__txt a:hover {
  text-decoration: none;
}

.notification__close {
  flex-shrink: 0;
  height: 2.25rem;
  padding: 0 1.25rem;
  border-radius: 0.625rem;
  background: var(--green-700);
  color: var(--white-700);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 130%;
  cursor: pointer;
  transition: background 0.3s;
}

.notification__close:hover {
  background: var(--green-600);
}

/*--------- ВНУТРЕННИЕ СТРАНИЦЫ: ДОКУМЕНТ -----------*/

.doc {
  position: relative;
  z-index: 1;
  /* отступ под фиксированную шапку */
  padding-top: 11rem;
  padding-bottom: 5rem;
}

.doc h1 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 110%;
  color: var(--dark-700);
}

.doc_body {
  max-width: 62.5rem;
  margin-top: 3rem;
}

.doc_body h2 {
  margin-top: 3rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 130%;
  color: var(--dark-700);
}

.doc_body h2:first-child {
  margin-top: 0;
}

.doc_body p {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%;
  color: rgba(29, 35, 43, 0.86);
}

.doc_body .doc_li {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

/* страницы без шапки: убираем отступ, который держал место под неё */

.doc--plain {
  padding-top: 5rem;
}

.doc_body ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.doc_body li {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 150%;
  color: rgba(29, 35, 43, 0.86);
  list-style: disc;
}

.doc_body a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}

/*=========== ПЛАНШЕТ И МОБИЛЬНАЯ: до 1199 ===========*/

/* Один брейкпоинт на всё, что уже десктопа, — так в исходной вёрстке.
   Ниже 680px поверх него ложится assets/css/media/340/media.css,
   где размеры пересчитаны от макетной базы 340 в vw. */

@media (max-width: 1199px) {
  html,
  body {
    /* не даём кеглю падать вместе с шириной до нечитаемого */
    font-size: clamp(0.8125rem, 1.6vw, 1rem);
  }

  .main {
    max-width: none;
    padding: 0 2rem;
  }

  /* шапка: меню прячем в бургер */

  .hd_menu {
    display: none;
  }

  .bt_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 0.75rem;
    background: var(--white-700);
    cursor: pointer;
  }

  .bt_menu span,
  .bt_menu span::before,
  .bt_menu span::after {
    display: block;
    width: 1.125rem;
    height: 0.125rem;
    border-radius: 0.125rem;
    background: var(--dark-700);
    transition: transform 0.3s, opacity 0.3s;
  }

  .bt_menu span::before,
  .bt_menu span::after {
    content: "";
    position: absolute;
  }

  .bt_menu span::before {
    transform: translateY(-0.375rem);
  }

  .bt_menu span::after {
    transform: translateY(0.375rem);
  }

  .menu_open .bt_menu span {
    background: transparent;
  }

  .menu_open .bt_menu span::before {
    transform: rotate(45deg);
  }

  .menu_open .bt_menu span::after {
    transform: rotate(-45deg);
  }

  .menu_box {
    display: block;
    position: fixed;
    right: 1.5rem;
    top: 5.5rem;
    z-index: 90;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: var(--white-700);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  }

  .menu_open .menu_box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu_box nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .menu_box nav a {
    font-size: 1rem;
    color: var(--dark-700);
  }

  /* hero */

  .b1_txt h1 {
    max-width: 26rem;
    font-size: 3rem;
  }

  .b1_bg {
    /* композиция уезжает правее, чтобы не лезть под текст */
    left: auto;
    right: -14rem;
    transform: none;
  }

  .b1_check {
    gap: 2rem;
  }

  /* блок 02 */

  .b2_title,
  .b3_cards + *,
  .b6_title,
  .b8_title h2 {
    font-size: 3rem;
  }

  .b2_card_txt h3 {
    font-size: 1.5rem;
  }

  .b2_card_in {
    padding: 2.25rem;
  }

  /* тарифы — в одну колонку */

  .b3_cards {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 7.5rem;
  }

  .b3_card {
    max-width: 42rem;
    margin: 0 auto;
  }

  /* блок 04 — колонка текста уходит под телефон */

  .b4_grid {
    -ms-grid-columns: auto 24rem;
    grid-template-columns: auto 24rem;
    gap: 2.5rem;
  }

  .b4_left {
    display: none;
  }

  .b4_left h2 {
    font-size: 2.75rem;
  }

  /* блок 05 */

  .b5_content {
    width: 60%;
    padding: 2.25rem;
    padding-right: 0;
  }

  .b5_txt h2 {
    font-size: 3rem;
  }

  .b5_character {
    left: auto;
    right: -2rem;
    width: 17rem;
    height: 33rem;
  }

  /* отзывы */

  .b6_slider_wrap .arrow .prev {
    left: -1.75rem;
  }

  .b6_slider_wrap .arrow .next {
    right: -1.75rem;
  }

  .b6_rates {
    -ms-grid-columns: 1fr [2];
    grid-template-columns: repeat(2, 1fr);
  }

  /* блок 07 — иллюстрация над текстом */

  .b7_grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .b7_img {
    left: 50%;
    width: 36rem;
    height: 31rem;
    transform: translateX(-50%);
  }

  .b7_img .b7_layer {
    scale: 0.83;
  }

  .b7_title h2 {
    font-size: 3rem;
  }

  .b7_title p {
    font-size: 1.5rem;
  }

  /* FAQ */

  .b8_body p {
    padding-right: 2rem;
  }

  /* футер */

  .ft_top {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .ft_bottom {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (min-aspect-ratio: 1440/934) {
  .b1_txt {
    padding-top: 10.71vh;
  }

  .b1_check {
    padding-top: 11.78vh;
    margin-bottom: 10.71vh;
  }
}

@media (min-aspect-ratio: 1440/862) {
  .b1_txt {
    padding-top: 8.75vh;
  }

  .b1_check {
    padding-top: 9.65vh;
    margin-bottom: 8.75vh;
  }
}

@media (min-aspect-ratio: 1440/802) {
  .b1_txt {
    padding-top: 7.05vh;
  }

  .b1_check {
    padding-top: 7.78vh;
    margin-bottom: 7.05vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b1_ticker_line,
  .b1_bg_it img {
    -webkit-animation: none;
    animation: none;
  }

  .b1_bg_it {
    transition: none;
  }

  .b2_card_in,
  .b2_card_pay {
    -webkit-animation: none;
    animation: none;
  }

  .b4_phone_screen img,
  .b4_step_body,
  .b4_step_head img,
  .b4_step_head h3 {
    transition: none;
  }

  .b7_layer img {
    -webkit-animation: none;
    animation: none;
  }

  .b7_layer {
    transition: none;
  }

  .b8_body,
  .b8_toggle img {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}