:root {
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    /* Colors (Inferred from context and standard dark themes) */
    --bg-main: #0C101B;
    --bg-surface: #121624;
    --white-main: #FDFCFC;

    /* Text */
    --text-on-surface-primary: #FFFFFF;
    --text-on-surface-secondary: rgba(255, 255, 255, 0.7);
    --text-accent: #9947EB;

    /* Surfaces & Borders */
    --surface-accent: #9947EB;
    --surface-on-primary-100: rgba(255, 255, 255, 0.08);
    --borders-primary-subdued: rgba(255, 255, 255, 0.14);
    --borders-on-primary-subdued: rgba(255, 255, 255, 0.2);

    /* States */
    --state-hover-primary: #A663F2;
    --state-press-primary: #7D36C7;
    --cyan-main: #51F6EC;
    --cyan-400: #22D3EE;

    --surface-main-background: #0c101b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-on-surface-primary);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.no-scroll {
    overflow: hidden;
}

.header {
    position: fixed;
    display: flex;
    align-items: center;
    backdrop-filter: blur(40px);
    height: 80px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(0%);
    opacity: 1;
    width: 100%;
    background: rgba(12, 16, 27, 0.6);
}

.header--hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.header__inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.header__logo {
    margin-right: 80px;
}

.header__logo img {
    display: block;
    width: 180px;
}

.header__flex {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.header__flex--mobile {
    margin-left: auto;
    display: none;
}

.header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--borders-primary-subdued);
    border-radius: 12px;
    padding: 12px 16px 12px 19px;
    width: 480px;
    height: 44px;
    background: var(--surface-accent);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 143%;
    color: var(--text-on-surface-primary);
    transition: background 0.3s ease;
    cursor: pointer;
}

.header__cta:hover,
.header__cta:focus {
    background: var(--state-hover-primary);
}

.header__cta:active {
    background: var(--state-press-primary);
    color: var(--text-on-surface-secondary);
}

.header__cta-text {
    white-space: nowrap;
}

.header__soc {
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__soc img {
    transition: all 0.5s ease;
    width: 24px;
    filter: drop-shadow(3px 4px 6px black);
}

.header__soc:hover img {
    transition: all 0.5s ease;
    width: 30px;
}

.nav__list {
    display: flex;
    gap: 4px;
}

.nav__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 99px;
    height: 36px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 133%;
    color: var(--text-on-surface-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav__link:hover,
.nav__link:focus {
    background: var(--surface-on-primary-100);
    color: var(--text-on-surface-primary);
}

.nav__link:hover::after,
.nav__link:focus::after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--surface-accent);
}

.nav__link:active {
    background: var(--cyan-400);
    color: var(--text-on-surface-primary);
}

.nav__link:active::after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--surface-accent);
    box-shadow: 0 1px 4px 0 var(--cyan-main);
}

.nav__link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.01) 16%,
            rgba(255, 255, 255, 0.2) 30%,
            rgba(255, 255, 255, 0.1) 81%,
            rgba(153, 71, 235, 0.76) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav__link:hover::before,
.nav__link:focus::before {
    opacity: 1;
}


.burger {
    width: 44px;
    height: 44px;
    border: 1px solid var(--borders-primary-subdued);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    align-items: center;
}

 /* Mobile Menu */
 .menu-backdrop {
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, 0.45);
     opacity: 0;
     pointer-events: none;
     transition: opacity 0.25s ease;
     z-index: 150;
 }

 .menu-backdrop.is-open {
     opacity: 1;
     pointer-events: auto;
 }

 .menu-drawer {
     position: fixed;
     display: none;
     top: 0;
     right: 0;
     width: min(92vw, 360px);
     background: rgba(12, 16, 27, 0.95);
     backdrop-filter: blur(24px);
     border-left: 1px solid rgba(255, 255, 255, 0.08);
     transform: translateX(100%);
     transition: transform 0.25s ease;
     z-index: 160;
     padding: 18px;
     flex-direction: column;
     gap: 18px;
 }

 .menu-drawer.is-open {
     transform: translateX(0);
     display: flex;
 }

 .menu-drawer__top {
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 .menu-drawer__logo {
     width: 160px;
     display: block;
 }

 .menu-drawer__close {
     width: 44px;
     height: 44px;
     border-radius: 12px;
     border: 1px solid rgba(255, 255, 255, 0.14);
     background: rgba(255, 255, 255, 0.04);
     color: var(--text-on-surface-primary);
     cursor: pointer;
     font-size: 18px;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .menu-drawer__nav {
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

  .menu-link {
      display: flex;
      align-items: center;
      height: 44px;
      padding: 0 14px;
      border-radius: 12px;
      color: var(--text-on-surface-primary);
      text-decoration: none;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu-link:hover {
      background: rgba(255, 255, 255, 0.08);
  }

  .menu-drawer__cta {
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu-drawer__title {
      font-family: var(--font-family);
      font-weight: 500;
      font-size: 14px;
      color: var(--text-on-surface-secondary);
      margin-bottom: 10px;
  }

  .menu-drawer__socs {
      display: flex;
      align-items: center;
      gap: 10px;
  }


.burger__line {
    width: 20px;
    height: 2px;
    background: var(--text-on-surface-primary);
    border-radius: 2px;
    opacity: 0.9;
}


/* --- Hero --- */
.hero {
    position: sticky;
    top: 80px;
    height: 797px;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hero__glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.hero__blur {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    width: 100%;
    height: 100%;
}
.hero__decor {
    position: absolute;
    left: 45px;
    top: 441px;
    z-index: -1;
}

.hero__blur--svg {
    position: absolute;
    top: 40px;
    left: 361px;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding-top: 85px;
    padding-bottom: 253px;
    width: 100%;
}

.hero__left {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hero__year {
    padding-left: 152px;
    margin-bottom: -20px;
    font-size: 14px;
    font-weight: 400;
    line-height: 143%;
    color: var(--text-accent);
}

.hero__title {
    padding-left: 5px;
    font-size: 72px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: var(--white-main);
}

.hero__subtitle {
    padding-left: 234px;
    font-size: 72px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: var(--white-main);
}

.hero__rotating {
    padding-left: 5px;
    display: flex;
    align-items: center;
    padding-top: 2px;
}

.hero__arrow {
    margin-right: 32px;
    flex-shrink: 0;
}

.hero__dynamic-text {
    display: grid;
    width: 100%;
    position: relative;
    height: 50px;
    overflow: hidden;
}

.hero__changing {
    grid-area: 1 / 1;
    will-change: transform, opacity;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 50px;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: var(--text-accent);
}

.hero__changing.is-active {
    opacity: 1;
    transform: translateY(0);
}

.hero__changing.is-leaving {
    opacity: 0;
    transform: translateY(-100%);
}

/* --- Hero Overlay --- */
.hero-overlay {
    width: 100%;
    position: relative;
    height: 275px;
    background: linear-gradient(180deg,
            rgba(12, 16, 27, 0) 0%,
            #0c101b 100%);
    z-index: 2;
    flex-shrink: 0;
}


.stats {
    align-self: flex-end;
    position: relative;
    margin-bottom: 29px;
    margin-right: 25px;
    margin-left: auto;
    width: 357px;
    height: 133px;
}

.stats__item {
    position: absolute;
    width: 159px;
    height: 133px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}
.stats__bg {
    position: absolute;
    width: 153px;
    height: 129px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stats__content {
    position: relative;
    text-align: center;
}
.stats__value {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    line-height: 117%;
    letter-spacing: -.05em;
    color: var(--text-on-surface-tertiary);
}

.stats__label {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 12px;
    line-height: 133%;
    color: var(--text-accent);
}
.stats__label {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 12px;
    line-height: 133%;
    color: var(--text-accent);
}
.stats__item:nth-child(1) {
    left: 0;
}
.stats__item:nth-child(2) {
    left: 50%;
    transform: translate(-50%);
}
.stats__item:nth-child(3) {
    right: 0;
}

.stats__item.active {
    z-index: 10;
}


.services {
  position: relative;
  height: 740px;
  display: flex;
  align-items: center;
  z-index: 2;
  width: 100%;
 background: #0c101b;
}

.services__card {
  border-radius: 24px;
  padding: 24px;
  height: 500px;
  box-shadow: 0 8px 16px rgba(12, 16, 27, 0.7);
  background: url("/assets/images/services-bg.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.services__title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 72px;
  line-height: 100%;
  letter-spacing: -0.05em;
  color: var(--text-on-surface-primary);
  margin-bottom: 20px;
}

.services__items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Чтобы клики проходили к canvas */
}

.services__item {
  position: absolute;
  border-radius: 24px;
  padding: 12px 20px;
  background: var(--surface-main-background);
  color: var(--text-on-surface-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 40px;
  line-height: 120%;
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none; /* Элементы не перехватывают события */
  will-change: transform; /* Оптимизация анимации */
}

.services__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: grab;
  pointer-events: auto; /* Canvas принимает события мыши */
}

.services__canvas:active {
  cursor: grabbing;
}

/* Кнопки */
.hero__buttons {
  z-index: 99;
  display: flex;
  gap: 2px;
  top: 24px;
  right: 24px;
}

.hero__button_link {
  z-index: 99;
  display: block;
}

.hero__button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--borders-on-primary-subdued);
  border-radius: 12px;
  background: var(--surface-on-primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero__button:hover,
.hero__button:focus {
  border: none;
  background: transparent;
}

.hero__button:active {
  border: 1px solid var(--borders-on-primary-subdued);
  background: transparent;
}

/* ===== Секция Info ===== */
.info {
  position: relative;
  height: 800px;
  overflow: hidden;
  z-index: 2;
  background: #0c101b;
  width: 100%;
}

.info__decor {
  position: absolute;
  top: 122px;
  left: 118px;
  z-index: 0;
  pointer-events: none;
}

.info__img {
  width: 933px;
  height: 659px;
  object-fit: contain;
}

.info__content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
}

/* ===== Левая колонка ===== */
.info__left {
  display: flex;
  flex-direction: column;
  padding-top: 100px;
}

.info__title-accent {
  padding-left: 229px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: -0.05em;
  color: var(--text-accent);
}

.info__title-secondary {
  padding-left: 115px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: -0.05em;
  color: var(--text-on-surface-secondary);
}

/* ===== Слайдер ===== */
.info__slider {
  display: flex;
  align-items: center;
  padding-left: 115px;
  margin-top: 83px;
}

.info__controls {
  display: flex;
  gap: 8px;
}

.info__btn {
  border: 1px solid var(--borders-on-primary-subdued);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 12px;
  background: var(--surface-on-primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.info__btn:hover,
.info__btn:focus {
  background: var(--surface-primary-subdued);
  border: none;
}

.info__btn:active {
  border: 1px solid var(--borders-on-primary);
  padding: 13px 12px 11px;
  background: var(--surface-primary-subdued-menu);
}

.info__text {
  margin-left: 44px;
  width: 300px;
  min-height: 80px;
  position: relative;
  overflow: hidden;
}

.info__paragraph {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.05em;
  color: var(--text-on-surface-secondary);
  opacity: 0;
  transform: translateY(20%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.info__paragraph.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Анимация выхода */
.info__paragraph.fade-leave {
  opacity: 0;
  transform: translateY(-20%);
}

/* ===== Теги ===== */
.info__tags {
  display: flex;
  gap: 12px;
  padding-left: 115px;
  margin-top: 124px;
}

.info__tag {
  border: 1px solid var(--borders-on-primary-subdued);
  border-radius: 12px;
  padding: 4px 12px;
  width: 88px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  letter-spacing: -0.02em;
  color: var(--text-on-surface-secondary);
  background: var(--surface-on-primary-100);
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.info__tag.active {
  color: var(--text-on-surface-primary);
}

.info__tag.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(270deg, rgba(153, 71, 235, 0.4) 0%, rgba(153, 71, 235, 0) 85%);
  animation: fill 6s linear forwards;
}

@keyframes fill {
  from { width: 0; }
  to { width: 100%; }
}

/* ===== Правая колонка ===== */
.info__right {
  position: relative;
  margin-left: 182px;
  padding-top: 100px;
  height: 540px;
  display: flex;
  align-items: flex-start;
}

.info__card {
  position: relative;
  width: 400px;
  height: 540px;
  border-radius: 24px;
  right: 70px;

}

.info__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* ===== SVG маска и сканирующая линия ===== */
.info__mask-wrapper {
  position: absolute;
  top: 60px;
  left: 121px;
  width: 176px;
  height: 349px;
  pointer-events: none;
  overflow: visible;
}

.info__mask-svg {
  width: 176px;
  height: 349px;
}

.info__scan-line {
  animation: scanMove 2s ease-in-out infinite;
  opacity: 1;
}

@keyframes scanMove {
  0%   { transform: translateY(-80px); }
  30%  { transform: translateY(-80px); }
  70%  { transform: translateY(380px); }
  80%  { transform: translateY(380px); }
  100% { transform: translateY(-80px); }
}

/* ===== Glass tiles ===== */
.info__glass-tile1 {
  position: absolute;
  top: 100px;
  right: -70px;
  width: 156px;
  height: 180px;
  border-radius: 24px;
  backdrop-filter: blur(20px);
  background: var(--surface-on-primary-100);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}

.info__glass-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.20) 0%,
    rgba(255,255,255,0.01) 16%,
    rgba(255,255,255,0.20) 30%,
    rgba(255,255,255,0.10) 81%,
    rgba(153,71,235,0.76) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

.info__glass-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.30;
  background:
    radial-gradient(circle at 30% 40%, #9947EB 31%, transparent 31%),
    radial-gradient(circle at 70% 60%, #F6B151 14%, transparent 14%);
  background-size: 1px 1px;
}

.info__glass-tile-secondary {
  position: absolute;
  bottom: 80px;
  left: -91px;
  width: 156px;
  height: 180px;
  border-radius: 24px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(153, 71, 235, 0.29);
  box-shadow: 0 40px 40px -20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  isolation: isolate;
}

.info__glass-tile-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.20) 0%,
    rgba(255,255,255,0.01) 16%,
    rgba(255,255,255,0.20) 30%,
    rgba(255,255,255,0.10) 81%,
    rgba(153,71,235,0.76) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

.info__glass-tile-secondary * {
  position: relative;
  z-index: 2;
}

.info__tile-badge {
  position: relative;
  z-index: 2;
  width: 85px;
  height: 20px;
  padding: 2px 8px;
  border-radius: 12px;
  background: var(--surface-accent);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  letter-spacing: -0.02em;
  color: var(--text-on-surface-primary);
}

.info__tile-text {
  position: relative;
  z-index: 2;
  max-width: 132px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: var(--text-on-surface-primary);
}



.steps {
  position: relative;
  z-index: 2;
  background: var(--surface-main-background);
  margin: 0 11px;
  max-width: calc(100% - 22px);
}

.steps__inner {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.steps__title {
  --title-top: 150px;
  position: absolute;
  top: var(--title-top);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 72px;
  line-height: 100%;
  letter-spacing: -0.05em;
  text-align: center;
  color: var(--text-on-surface-secondary);
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}

.steps__tiles {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: stretch;
  z-index: 3;
}

/* ===== Плитка шага ===== */
.step-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  --tile-h: 180px;
  --gap: 12px;
}

/* Вертикальная линия */
.step-tile__line {
  width: 1px;
  flex: 1 1 auto;
  margin-bottom: var(--gap);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(253, 252, 252, 0) 0%, rgba(253, 252, 252, 0.06) 50.482%, rgba(253, 252, 252, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 4.80781%, rgba(255, 255, 255, 0.07) 36.0586%, rgba(255, 255, 255, 0) 63.4631%, rgba(255, 255, 255, 0.11) 80.7713%, rgba(255, 255, 255, 0) 100%);
}

/* Контент плитки */
.step-tile__content {
  margin-bottom: var(--bottom);
  z-index: 4;
}

.step-tile__index {
  border: 1px solid #9947eb;
  border-radius: 12px;
  padding: 2px 8px;
  width: 29px;
  height: 20px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  letter-spacing: -0.02em;
  color: var(--text-on-surface-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.step-tile__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: var(--text-on-surface-secondary);
}

/* ===== Glass tile (базовый стиль) ===== */
.info__glass-tile {
  position: relative;
  width: 156px;
  height: var(--tile-h);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  background: var(--surface-on-primary-100);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}

/* Граница с градиентом */
.info__glass-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.20) 0%,
    rgba(255, 255, 255, 0.01) 16%,
    rgba(255, 255, 255, 0.20) 30%,
    rgba(255, 255, 255, 0.10) 81%,
    rgba(153, 71, 235, 0.76) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

/* Фоновые радиальные градиенты */
.info__glass-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.30;
  background:
    radial-gradient(circle at 30% 40%, #9947EB 31%, transparent 31%),
    radial-gradient(circle at 70% 60%, #F6B151 14%, transparent 14%);
  background-size: 1px 1px;
}

/* ===== Secondary стиль (для последнего элемента) ===== */
.info__glass-tile--secondary {
  background: rgba(153, 71, 235, 0.29);
  box-shadow: 0 40px 40px -20px rgba(0, 0, 0, 0.25);
}

.info__glass-tile--secondary * {
  position: relative;
  z-index: 2;
}

@media (max-width: 1200px) {
    .header__logo {
        margin-right: 24px;
    }

    .header__cta {
        width: 420px;
        font-size: 16px;
    }

    .nav__link {
        width: 90px;
        font-size: 16px;
    }

    .hero {
        top: 72px;
        height: 720px;
    }

    .hero__content {
        padding-top: 70px;
        padding-bottom: 190px;
    }

    .hero__year {
        padding-left: 0;
        margin-bottom: 0;
    }

    .hero__title,
    .hero__subtitle {
        font-size: 56px;
        padding-left: 0;
    }

    .hero__changing {
        font-size: 40px;
    }

    .hero__dynamic-text {
        height: 44px;
    }

    .hero__arrow {
        margin-right: 18px;
        width: 56px;
        height: 56px;
    }

    .hero__blur--svg {
        left: 120px;
        top: 20px;
        transform: scale(0.85);
        transform-origin: top left;
    }

    .hero__decor {
        left: 0;
        top: 420px;
        transform: scale(0.9);
        transform-origin: left top;
    }
}

@media (max-width: 992px) {
    .header {
        height: 72px;
        width: 100%;
    }

    .header__logo img {
        width: 250px;
    }

    .header__flex--desktop {
        display: none;
        width: 0px;
    }

    .header__flex--mobile {
        display: flex;
        justify-content: end;
    }

    .hero {
        top: 72px;
        height: 680px;
        width: 100%;
    }

    .hero__content {
        padding-top: 60px;
        padding-bottom: 160px;
    }

    .hero__title,
    .hero__subtitle {
        font-size: 48px;
    }

    .hero__changing {
        font-size: 34px;
    }

    .hero__dynamic-text {
        height: 78px;
    }

    .hero__changing {
        white-space: normal;
    }

    .hero__rotating {
        align-items: flex-start;
    }

    .hero__blur--svg {
        left: -80px;
        top: 0px;
        transform: scale(0.75);
    }

    .hero__decor {
        top: 380px;
        transform: scale(0.8);
    }
}

@media (max-width: 640px) {
    .hero {
        top: 72px;
        height: 100%;
        width: 100%;
    }

    .hero__content {
        padding-top: 44px;
        padding-bottom: 140px;
        width: 100%;
    }

    .hero__year {
        font-size: 13px;
    }

    .hero__title,
    .hero__subtitle {
        font-size: 36px;
        line-height: 105%;
        letter-spacing: -0.04em;
    }

    .hero__rotating {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 10px;
    }

    .hero__arrow {
        margin-right: 0;
        width: 44px;
        height: 44px;
    }

    .hero__dynamic-text {
        height: 110px;
        width: 100%;
    }

    .hero__changing {
        font-size: 24px;
        line-height: 120%;
        white-space: normal;
    }

    .hero__glow {
        top: -40px;
        transform: translateX(-50%) scale(0.75);
        transform-origin: top center;
    }

    .hero__blur--svg {
        left: -260px;
        top: -40px;
        transform: scale(0.58);
        transform-origin: top left;
    }

    .hero__decor {
        left: -140px;
        top: 360px;
        transform: scale(0.62);
        transform-origin: left top;
    }

}

@media (max-width: 420px) {
    .menu-drawer__logo {
        width: 200px;
    }

    .header__logo img {
        width: 200px;
    }

    .header__flex--mobile {
        display: flex;
        justify-content: end;
    }

    .hero {
        height: 600px;
    }

    .hero__title,
    .hero__subtitle {
        font-size: 32px;
    }

    .hero__changing {
        font-size: 22px;
    }

    .hero__dynamic-text {
        height: 120px;
    }

}

@media (max-width: 1400px) {
  .services__title {
    font-size: 56px;
  }
  .services__item {
    font-size: 32px;
    padding: 10px 16px;
  }
}

@media (max-width: 768px) {
  .services {
    height: auto;
    min-height: 600px;
    padding: 20px 0;
  }
  .services__card {
    height: 400px;
  }
  .services__title {
    font-size: 40px;
  }
  .services__item {
    font-size: 24px;
  }
}

@media (max-width: 1200px) {
  .info {
    height: auto;
    min-height: 900px;
  }
  
  .info__content {
    display: block;
  }
  
  .info__left {
    padding-top: 40px;
  }
  
  .info__title-accent,
  .info__title-secondary,
  .info__slider,
  .info__tags {
    padding-left: 20px;
  }
  
  .info__text {
    width: 100%;
    min-height: 100px;
    margin-left: 0;
  }
  
  .info__right {
    margin-left: 0;
    padding-top: 40px;
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .info__card {
    width: 100%;
    max-width: 400px;
    height: 500px;
  }
  
  .info__decor {
    display: none;
  }
}

@media (max-width: 768px) {
  .info__title-accent,
  .info__title-secondary {
    font-size: 32px;
  }
  
  .info__paragraph {
    font-size: 18px;
  }
  
  .info__card {
    height: 400px;
  }
  
  .info__glass-tile,
  .info__glass-tile-secondary {
    transform: scale(0.85);
    transform-origin: center;
  }
}

@media (max-width: 992px) {
  .steps {
    display: none;
  }
}

@media (max-width: 1400px) {
  .steps__title {
    font-size: 56px;
    --title-top: 280px;
  }
  .info__glass-tile {
    width: 140px;
    --tile-h: 160px;
  }
  .step-tile__text {
    font-size: 14px;
  }
}


.discuss {
  height: 875px;
  background: var(--surface-main-background);
  position: relative;
  width: 100%;
  z-index: 2;
  margin: 0 11px;
}

.discuss__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Glass Panel ===== */
.discuss__panel {
  position: relative;
  width: 1130px;
  height: 354px;
  border-radius: 24px;
  padding: 20px;
  overflow: visible; /* маска должна выходить наружу */
}

.glass-panel {
  backdrop-filter: blur(20px);
  background: var(--surface-on-primary-100);
  overflow: visible;
  isolation: isolate;
  border-radius: 24px;
}

/* Декор (клипируется по радиусу) */
.glass-panel__decor {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

/* Градиентная рамка */
.glass-panel__decor::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.20) 0%,
    rgba(255, 255, 255, 0.01) 16%,
    rgba(255, 255, 255, 0.20) 30%,
    rgba(255, 255, 255, 0.10) 81%,
    rgba(153, 71, 235, 0.76) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
}

/* Фоновый паттерн */
.glass-panel__decor::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.30;
  background:
    radial-gradient(circle at 30% 40%, #9947EB 31%, transparent 31%),
    radial-gradient(circle at 70% 60%, #F6B151 14%, transparent 14%);
  background-size: 1px 1px;
}

/* ===== Контент ===== */
.discuss__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 313px 1fr;
  column-gap: 40px;
  height: 100%;
}

/* Левая колонка */
.discuss__left {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.discuss__title {
  margin: 0;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 72px;
  line-height: 100%;
  letter-spacing: -0.05em;
  color: var(--text-on-surface-secondary);
}

.discuss__desc {
  margin: 10px 0 0 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: var(--text-on-surface-secondary);
}

/* CTA кнопка */
.discuss__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--borders-primary-subdued);
  border-radius: 12px;
  padding: 12px 16px 12px 20px;
  width: 260px;
  height: 80px;
  background: var(--surface-accent);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  color: var(--text-on-surface-primary);
  transition: background 0.3s ease;
  cursor: pointer;
}

.discuss__cta:hover,
.discuss__cta:focus {
  background: var(--state-hover-primary);
  outline: none;
}

.discuss__cta:active {
  background: var(--state-press-primary);slice
  color: var(--text-on-surface-secondary);
}

.discuss__cta-icon {
  flex-shrink: 0;
}

/* Правая колонка с маской */
.discuss__right {
  position: relative;
  height: 100%;
}

.mask {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  width: 517px;
  height: 546px;
  pointer-events: none;
}

.mask__svgVisible {
  display: block;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

/* ===== Адаптив ===== */
@media (max-width: 992px) {
  .discuss {
    display: none;
  }
}

@media (max-width: 1400px) {
  .discuss__panel {
    width: 100%;
    max-width: 1130px;
  }
  .discuss__title {
    font-size: 56px;
  }
  .mask {
    right: 20px;
    width: 400px;
    height: 420px;
  }
}

/* ===== Footer ===== */
.footer {
  width: 100%;
  /* height: 500px; */
  background: var(--surface-main-background);
  z-index: 2;
  position: relative;
  margin: 0 11px;
}

.footer__inner {
  height: 280px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 20px;
}

/* Горизонтальная линия */
.footer__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
}

/* Контент футера */
.footer__content {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  bottom: 20px;
  margin: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  gap: 20px;
}

/* ===== LEFT колонка ===== */
.footer__left {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__navLink {
  text-decoration: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 117%;
  letter-spacing: -0.05em;
  color: var(--text-on-surface-secondary);
  transition: color 0.2s ease;
}

.footer__navLink:hover,
.footer__navLink:focus {
  color: var(--text-on-surface-primary);
  outline: none;
}

.footer__legal {
  margin-top: auto;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  letter-spacing: -0.02em;
  color: var(--text-on-surface-tertiary);
}

/* ===== CENTER колонка ===== */
.footer__center {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.footer__centerCols {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.footer__centerCol {
  display: flex;
  flex-direction: column;
}

.footer__centerCol--right {
  margin-left: 38px;
}

.footer__label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  letter-spacing: -0.02em;
  color: var(--text-on-surface-tertiary);
}

.footer__label--mt24 {
  margin-top: 24px;
}

.footer__value {
  margin-top: 4px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: var(--text-on-surface-secondary);
}

.footer__value--w200 {
  width: 200px;
}

.footer__link {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--text-on-surface-secondary);
  transition: color 0.2s ease;
}

.footer__link:hover,
.footer__link:focus {
  color: var(--text-on-surface-primary);
}

.footer__policy {
  margin-top: auto;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  letter-spacing: -0.02em;
  color: var(--text-on-surface-tertiary);
  transition: color 0.2s ease;
}

.footer__policy:hover,
.footer__policy:focus {
  color: var(--text-on-surface-secondary);
}

/* ===== RIGHT колонка ===== */
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-height: 100%;
}

.footer__social {
  display: flex;
  gap: 2px;
}

.footer__socialBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--borders-on-primary-subdued);
  border-radius: 12px;
  padding: 12px;
  width: 44px;
  height: 44px;
  background: var(--surface-on-primary-100);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.footer__socialBtn:hover,
.footer__socialBtn:focus {
  background: var(--surface-main-background);
  border-color: var(--text-on-surface-secondary);
  outline: none;
}

.footer__socialBtn:active {
  transform: scale(0.95);
}

.footer__socialBtn svg {
  display: block;
}

/* ===== Адаптив ===== */


@media (max-width: 1400px) {
  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer__right {
    grid-column: 1 / -1;
    align-items: flex-start;
    margin-top: 20px;
  }
  
  .footer__social {
    margin-left: 0;
  }
}

@media (max-width: 992px) {
  .footer {
     display: block; 
  }
  .footer__inner {
        height: 100%;
  }
  .footer__centerCols {
    display: block;
  }
  .footer__center {
     display: block;
  }
  .footer__line {
    position: relative;
  }
.footer__content {
        grid-template-columns: 1fr;
        gap: 201px;
    }
.footer__social {
        margin-left: 0;
        position: relative;
        top: 45px;
    }
    .footer__legal {
            font-size: 17px;
            display: flex;
            padding: 10px;
            gap: 15px;
            top: 277px;
                    position: relative;
    }
    .footer__centerCol--right {
    margin-left: 0px;
    }



}