/* ==========================================================================
   HYPELAB — основной файл стилей
   Структура:
     1. Шрифты
     2. Переменные и сброс
     3. Общие компоненты (контейнер, кнопки, иконки, заголовки, анимации)
     4. Шапка
     5. Первый экран
     6. Бегущая строка
     7. Цифры
     8. Услуги
     9. Команда
    10. Процесс
    11. Кейсы
    12. Тарифы и калькулятор
    13. Отзывы
    14. FAQ
    15. Контакты и форма
    16. Подвал
    17. Страница политики конфиденциальности
    18. Служебное
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Шрифты (локальные файлы, без внешних CDN)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Переменные и сброс
   -------------------------------------------------------------------------- */

:root {
  --ink: #161616;
  --coal: #1d1d1d;
  --violet: #4b3cf5;
  --violet-2: #7b6cff;
  --peach: #f4906b;
  --orange: #ff6a2b;
  --sun: #f2b630;
  --mist: #f1f1f3;
  --bg: #1b1b1b;

  --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1280px;
  --radius: 28px;
  --radius-lg: 32px;
  --shadow-card: 0 25px 50px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
}

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

::selection {
  background: var(--violet);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

[id] {
  scroll-margin-top: 100px;
}

/* --------------------------------------------------------------------------
   3. Общие компоненты
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}

.section {
  padding-block: 80px;
}

.text-violet {
  color: var(--violet);
}

.text-peach {
  color: var(--peach);
}

.text-telegram {
  color: #2aabee;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon--xs {
  width: 16px;
  height: 16px;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 40px;
  height: 40px;
}

/* 3D-объекты (звёзды, блобы, курсоры) */
.obj {
  position: absolute;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45));
  transform: rotate(var(--r, 0deg));
  animation: float 6s ease-in-out infinite;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  padding: 16px 24px;
  background: #fff;
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--violet);
  color: #fff;
}

.btn__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--primary:hover .btn__icon {
  background: #fff;
  color: var(--violet);
}

.btn--ghost {
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--dark {
  padding: 16px 24px;
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--violet);
}

/* Заголовок секции в белой «карточке» */
.heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.heading__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
}

.heading__kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.heading__title {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Окно со «свернуть / закрыть» */
.win {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
}

.win--light {
  color: #fff;
}

.win--dim {
  color: rgba(255, 255, 255, 0.4);
}

.win--dim .icon {
  width: 12px;
  height: 12px;
}

/* Переключатель */
.switch {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 44px;
  border-radius: 999px;
  background: #0d0d0d;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.6), 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: background-color 0.3s ease;
}

.switch__knob {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #bdbdbd 45%, #7a7a7a 80%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  transition: left 0.3s ease;
}

.switch[aria-checked="true"] {
  background: var(--violet);
}

.switch[aria-checked="true"] .switch__knob {
  left: calc(100% - 38px);
}

/* Боковая панель с иконками */
.side-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-toolbar__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Появление при скролле */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Текстура первого экрана */
.grain {
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 4px 4px;
}

/* --------------------------------------------------------------------------
   4. Шапка
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header__inner {
  padding-top: 16px;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo__badge {
  padding: 6px 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.logo__text {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 16px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn--header {
  display: none;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}

.btn--header:hover {
  background: var(--violet);
  color: #fff;
}

.header__burger {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.header__burger-close {
  display: none;
}

.header__burger[aria-expanded="true"] .header__burger-open {
  display: none;
}

.header__burger[aria-expanded="true"] .header__burger-close {
  display: block;
}

.mobile-nav {
  display: none;
  margin-top: 8px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  animation: pop 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: var(--mist);
}

.mobile-nav__cta {
  margin-top: 4px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.mobile-nav__cta:hover {
  background: var(--violet);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. Первый экран
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 128px;
  padding-bottom: 80px;
}

.hero__grid {
  display: grid;
  gap: 56px;
}

.hero__content {
  position: relative;
}

.hero__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
}

.hero__titles {
  position: relative;
  margin-top: 32px;
}

.hero__star {
  z-index: 10;
  top: -64px;
  right: 0;
  width: 128px;
}

.hero__title-card {
  position: relative;
  z-index: 1;
  padding: 16px 24px;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.hero__title-card--top {
  display: inline-block;
  transform: rotate(-2deg);
}

.hero__title-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.hero__title-card--bottom {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
  transform: rotate(1.5deg);
}

.hero__title {
  font-size: 36px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero__plus {
  padding: 6px 12px;
  border-radius: 16px;
  background: var(--violet);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-4deg);
}

.hero__blob {
  z-index: 10;
  top: -24px;
  left: -24px;
  width: 80px;
}

.hero__lead {
  max-width: 576px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.625;
}

.hero__lead strong {
  color: #fff;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero__switch-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.hero__switch-title {
  font-size: 14px;
  font-weight: 700;
}

.hero__switch-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Правая часть первого экрана */
.hero__stage {
  position: relative;
  height: 680px;
}

.hero__camera {
  z-index: 20;
  top: -16px;
  left: 0;
  width: 112px;
}

.hero__heart {
  z-index: 20;
  top: 24px;
  right: 8px;
  width: 96px;
}

.hero__cursor {
  z-index: 30;
  top: 300px;
  right: 0;
  width: 96px;
}

.hero__card-wrap {
  position: absolute;
  z-index: 10;
  top: 112px;
  left: 16px;
  right: 16px;
}

.hero__toolbar {
  position: absolute;
  z-index: 20;
  top: 16px;
  right: -56px;
  display: none;
}

.hero-card {
  position: relative;
}

.hero-card__backdrop {
  position: absolute;
  top: -32px;
  right: -24px;
  bottom: 24px;
  left: -24px;
  border-radius: 40px;
  background: linear-gradient(120deg, #4b3cf5 0%, #7b6cff 35%, #ff8a3d 80%);
  opacity: 0.9;
  transform: rotate(-4deg);
}

.hero-card__surface {
  position: relative;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-card__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-card__brand-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4b3cf5, #ff6a2b);
  color: #fff;
}

.hero-card__brand-icon .icon {
  width: 24px;
  height: 24px;
}

.hero-card__brand-name {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-card__plus {
  width: 24px;
  height: 24px;
  margin-top: 4px;
}

.hero-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.hero-card__action {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card__action:hover {
  background: #e6e6ea;
}

.hero-card__action.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -4px rgba(0, 0, 0, 0.15);
  transform: translateX(16px);
}

.hero-card__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--mist);
}

.hero-card__status-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(22, 22, 22, 0.5);
  font-size: 12px;
  font-weight: 600;
}

.hero-card__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-card__status-value {
  font-size: 16px;
  font-weight: 700;
}

.hero-card__status-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
}

/* Промокод */
.promo-card {
  position: absolute;
  z-index: 20;
  bottom: 0;
  left: 0;
  transform: rotate(-5deg);
}

.promo-card__surface {
  position: relative;
  padding: 12px 20px 16px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.promo-card__label {
  color: rgba(22, 22, 22, 0.6);
  font-size: 14px;
  font-weight: 600;
}

.promo-card__code {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.promo-card__badge {
  position: absolute;
  top: -20px;
  right: -24px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: rotate(12deg);
}

/* Мини-статистика */
.mini-stat {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: 24px;
  width: 192px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #111;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: rotate(4deg);
}

.mini-stat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 600;
}

.mini-stat__value {
  margin-top: 4px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.mini-stat__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 48px;
  margin-top: 12px;
}

.mini-stat__bars span {
  flex: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
}

.mini-stat__bars .is-accent {
  background: var(--violet);
}

/* --------------------------------------------------------------------------
   6. Бегущая строка
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #151515;
}

.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item:nth-child(3n + 2) {
  background: var(--violet);
  color: #fff;
}

/* --------------------------------------------------------------------------
   7. Цифры
   -------------------------------------------------------------------------- */

.stats {
  padding-block: 80px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stats__card {
  height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.stats__card--accent {
  background: var(--violet);
  color: #fff;
}

.stats__value {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stats__label {
  margin-top: 12px;
  color: rgba(22, 22, 22, 0.6);
  font-weight: 600;
}

.stats__card--accent .stats__label {
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   8. Услуги
   -------------------------------------------------------------------------- */

.services {
  position: relative;
  padding-block: 64px;
}

.services__head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services__lead {
  max-width: 448px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  line-height: 1.55;
}

.services__star {
  display: none;
  top: -40px;
  left: 420px;
  width: 96px;
}

.services__grid {
  display: grid;
  gap: 56px 20px;
  margin-top: 64px;
}

.services__grid > .reveal {
  height: 100%;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card__img {
  top: -40px;
  right: -16px;
  width: 112px;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.1) rotate(6deg);
}

.service-card .win {
  margin-bottom: 40px;
}

.service-card__title {
  max-width: 85%;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.service-card__desc {
  margin-top: 12px;
  line-height: 1.625;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.service-card__tag {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 28px;
}

.service-card__price {
  font-size: 20px;
  font-weight: 900;
}

.service-card__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__link {
  transform: rotate(45deg);
}

/* Тёмная карточка */
.service-card--dark {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f0f0f;
  color: #fff;
}

.service-card--dark .service-card__desc {
  color: rgba(255, 255, 255, 0.7);
}

.service-card--dark .service-card__tag {
  background: rgba(255, 255, 255, 0.1);
}

.service-card--dark .service-card__tag:first-child {
  background: #fff;
  color: var(--ink);
}

.service-card--dark .service-card__link {
  background: #fff;
  color: var(--ink);
}

/* Фиолетовая карточка */
.service-card--violet {
  background: var(--violet);
  color: #fff;
}

.service-card--violet .service-card__desc {
  color: rgba(255, 255, 255, 0.7);
}

.service-card--violet .service-card__tag {
  background: rgba(255, 255, 255, 0.1);
}

.service-card--violet .service-card__tag:first-child {
  background: #fff;
  color: var(--ink);
}

.service-card--violet .service-card__link {
  background: #fff;
  color: var(--ink);
}

/* Белая карточка */
.service-card--white {
  background: #fff;
  color: var(--ink);
}

.service-card--white .service-card__desc {
  color: rgba(22, 22, 22, 0.65);
}

.service-card--white .service-card__tag {
  background: rgba(0, 0, 0, 0.06);
}

.service-card--white .service-card__tag:first-child {
  background: var(--ink);
  color: #fff;
}

.service-card--white .service-card__link {
  background: var(--ink);
  color: #fff;
}

/* Персиковая карточка */
.service-card--peach {
  background: var(--peach);
  color: var(--ink);
}

.service-card--peach .service-card__desc {
  color: rgba(22, 22, 22, 0.65);
}

.service-card--peach .service-card__tag {
  background: rgba(0, 0, 0, 0.06);
}

.service-card--peach .service-card__tag:first-child {
  background: var(--ink);
  color: #fff;
}

.service-card--peach .service-card__link {
  background: var(--ink);
  color: #fff;
}

/* --------------------------------------------------------------------------
   9. Команда
   -------------------------------------------------------------------------- */

.team {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
}

.team__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.team__kicker {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team__title {
  margin-top: 16px;
  font-size: 36px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.team__lead {
  max-width: 512px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  line-height: 1.6;
}

.team__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.team__tags span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
}

.team__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.team__visual-inner {
  position: relative;
}

.team__star {
  z-index: 0;
  top: -48px;
  right: -40px;
  width: 160px;
}

.team__toggle {
  z-index: 20;
  bottom: 8px;
  left: -64px;
  width: 144px;
}

.team-card {
  position: relative;
  z-index: 10;
  width: 300px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.team-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 8px;
}

.team-card__label {
  color: rgba(22, 22, 22, 0.5);
  font-size: 14px;
  font-weight: 600;
}

.team-card__list {
  display: flex;
  flex-direction: column;
}

.team-card__list li {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.team-card__list li.is-active {
  background: var(--violet);
  color: #fff;
  transform: translateX(-8px);
}

.team__toolbar {
  position: absolute;
  top: 40px;
  right: -56px;
  z-index: 20;
  display: none;
}

/* --------------------------------------------------------------------------
   10. Процесс
   -------------------------------------------------------------------------- */

.process {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
}

.mobile-only {
  display: block;
}

.process__body {
  position: relative;
  margin-top: 64px;
}

.process__path {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.process__path path {
  animation: dash 8s linear infinite;
}

.process__steps {
  position: relative;
  display: grid;
  gap: 24px;
}

.process-card {
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.process-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.process-card__time {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.process-card__num {
  margin-top: 24px;
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  opacity: 0.15;
}

.process-card__title {
  margin-top: -24px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.process-card__desc {
  margin-top: 8px;
  color: rgba(22, 22, 22, 0.6);
  line-height: 1.5;
}

.process-card--accent {
  background: var(--violet);
  color: #fff;
}

.process-card--accent .process-card__time {
  background: #fff;
  color: var(--violet);
}

.process-card--accent .process-card__desc {
  color: rgba(255, 255, 255, 0.8);
}

.process__cursor {
  display: none;
  right: 12%;
  bottom: -64px;
  width: 96px;
}

.process__blob {
  display: none;
  top: -40px;
  left: 22%;
  width: 80px;
}

/* --------------------------------------------------------------------------
   11. Кейсы
   -------------------------------------------------------------------------- */

.cases {
  margin-inline: 8px;
  padding-block: 80px;
  border-radius: 40px;
  background: var(--mist);
  color: var(--ink);
  overflow: hidden;
}

.cases__head {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cases__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.cases__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.cases__title {
  margin-top: 16px;
  font-size: 40px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.cases__title-accent {
  display: inline-block;
  padding: 0 12px;
  border-radius: 16px;
  background: var(--violet);
  color: #fff;
  transform: rotate(-2deg);
}

.cases__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cases__filter {
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cases__filter:hover {
  background: rgba(255, 255, 255, 0.6);
}

.cases__filter.is-active {
  background: var(--ink);
  color: #fff;
}

.cases__grid {
  display: grid;
  gap: 20px;
  margin-top: 56px;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.case-card.is-hidden {
  display: none;
}

.case-card__img {
  top: -24px;
  right: -24px;
  width: 144px;
  opacity: 0.95;
  transition: transform 0.5s ease;
}

.case-card:hover .case-card__img {
  transform: scale(1.1) rotate(-6deg);
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 70%;
}

.case-card__tag {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.case-card__body {
  margin-top: auto;
  padding-top: 64px;
}

.case-card__brand {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.6;
}

.case-card__metric {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.case-card__label {
  margin-top: 4px;
  font-weight: 600;
}

.case-card__extra {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.case-card__extra-value {
  font-size: 20px;
  font-weight: 900;
}

.case-card__extra-label {
  font-size: 12px;
  font-weight: 600;
}

/* Тона карточек кейсов */
.case-card--white {
  background: #fff;
  color: var(--ink);
}

.case-card--white .case-card__tag:first-child {
  background: var(--ink);
  color: #fff;
}

.case-card--white .case-card__tag--soft {
  background: rgba(0, 0, 0, 0.07);
}

.case-card--white .case-card__label,
.case-card--white .case-card__extra-label {
  color: rgba(22, 22, 22, 0.6);
}

.case-card--peach {
  background: var(--peach);
  color: var(--ink);
}

.case-card--peach .case-card__tag:first-child {
  background: var(--ink);
  color: #fff;
}

.case-card--peach .case-card__tag--soft {
  background: rgba(0, 0, 0, 0.07);
}

.case-card--peach .case-card__label,
.case-card--peach .case-card__extra-label {
  color: rgba(22, 22, 22, 0.6);
}

.case-card--violet {
  background: var(--violet);
  color: #fff;
}

.case-card--dark {
  background: #1b1b1b;
  color: #fff;
}

.case-card--violet .case-card__tag:first-child,
.case-card--dark .case-card__tag:first-child {
  background: #fff;
  color: var(--ink);
}

.case-card--violet .case-card__tag--soft,
.case-card--dark .case-card__tag--soft {
  background: rgba(255, 255, 255, 0.15);
}

.case-card--violet .case-card__label,
.case-card--dark .case-card__label,
.case-card--violet .case-card__extra-label,
.case-card--dark .case-card__extra-label {
  color: rgba(255, 255, 255, 0.7);
}

.case-card--violet .case-card__extra,
.case-card--dark .case-card__extra {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.cases__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   12. Тарифы и калькулятор
   -------------------------------------------------------------------------- */

.pricing {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
}

.pricing__head {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.billing {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: flex-start;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.billing__label {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  transition: color 0.2s ease;
}

.billing__label.is-active {
  color: #fff;
}

.billing__discount {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
}

.pricing__grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
  margin-top: 64px;
}

.pricing__grid > .reveal {
  height: 100%;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.plan--white {
  background: #fff;
  color: var(--ink);
}

.plan--violet {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 30px 80px rgba(75, 60, 245, 0.45);
}

.plan--dark {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f0f0f;
  color: #fff;
}

.plan__star {
  top: -56px;
  right: -32px;
  width: 112px;
}

.plan__badge {
  position: absolute;
  z-index: 2;
  top: -16px;
  left: 28px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plan__name {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.plan__desc {
  margin-top: 12px;
  line-height: 1.55;
}

.plan--white .plan__desc {
  color: rgba(22, 22, 22, 0.6);
}

.plan--violet .plan__desc,
.plan--dark .plan__desc {
  color: rgba(255, 255, 255, 0.7);
}

.plan__price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 24px;
}

.plan__amount {
  font-size: 60px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.plan__period {
  margin-bottom: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.plan--white .plan__period {
  color: rgba(22, 22, 22, 0.5);
}

.plan--violet .plan__period,
.plan--dark .plan__period {
  color: rgba(255, 255, 255, 0.6);
}

.plan__save {
  margin-top: 4px;
  color: var(--sun);
  font-size: 14px;
  font-weight: 600;
}

.plan--white .plan__save {
  color: var(--violet);
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 32px;
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.plan__check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.plan--white .plan__check {
  background: var(--ink);
  color: #fff;
}

.plan__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 16px 24px;
  border-radius: 16px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.plan--white .plan__cta {
  background: var(--ink);
  color: #fff;
}

.plan--white .plan__cta:hover {
  background: var(--violet);
}

.plan--violet .plan__cta {
  background: #fff;
  color: var(--ink);
}

.plan--violet .plan__cta:hover {
  background: var(--ink);
  color: #fff;
}

.plan--dark .plan__cta {
  background: #fff;
  color: var(--ink);
}

.plan--dark .plan__cta:hover {
  background: var(--violet);
  color: #fff;
}

.pricing__note {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  text-align: center;
}

/* Калькулятор разовых услуг */
.extras {
  margin-top: 80px;
}

.extras__grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.extras__panel {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
}

.extras__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.extras__title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.extras__sub {
  margin-top: 8px;
  color: rgba(22, 22, 22, 0.6);
}

.extras__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 600;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.extra:hover {
  background: #e7e7eb;
}

.extra.is-active {
  background: var(--ink);
  color: #fff;
}

.extra__name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.extra__box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(22, 22, 22, 0.2);
  border-radius: 8px;
}

.extra__box .icon {
  opacity: 0;
  color: #fff;
  transition: opacity 0.2s ease;
}

.extra.is-active .extra__box {
  border-color: var(--violet);
  background: var(--violet);
}

.extra.is-active .extra__box .icon {
  opacity: 1;
}

.extra__price {
  font-weight: 900;
  white-space: nowrap;
}

.extras__summary {
  position: relative;
}

.extras__toolbar {
  position: absolute;
  top: 32px;
  right: -56px;
  display: none;
}

.extras__blob {
  z-index: 10;
  top: -40px;
  left: -32px;
  width: 96px;
}

.extras-total {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #4b3cf5, #7b6cff 55%, #ff8a3d);
  overflow: hidden;
}

.extras-total__label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.extras-total__value {
  margin-top: 8px;
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.extras-total__count {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.extras-total__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 16px 24px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.extras-total__cta:hover {
  background: var(--ink);
  color: #fff;
}

.extras-total__cursor {
  right: -16px;
  bottom: -16px;
  width: 96px;
}

/* --------------------------------------------------------------------------
   13. Отзывы
   -------------------------------------------------------------------------- */

.reviews {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
}

.reviews__grid {
  display: grid;
  gap: 20px;
  margin-top: 56px;
}

.review-card {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius);
}

.review-card--white {
  background: #fff;
  color: var(--ink);
}

.review-card--violet {
  background: var(--violet);
  color: #fff;
}

.review-card--peach {
  background: var(--peach);
  color: var(--ink);
}

.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-card__stars {
  font-size: 24px;
  letter-spacing: 0.1em;
}

.review-card__text {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.review-card__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.review-card__avatar--invert {
  background: #fff;
  color: var(--violet);
}

.review-card__name {
  display: block;
  font-weight: 900;
}

.review-card__role {
  display: block;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */

.faq {
  position: relative;
  padding-block: 80px;
}

.faq__grid {
  display: grid;
  gap: 40px;
}

.faq__intro {
  position: relative;
}

.faq__lead {
  max-width: 384px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  line-height: 1.55;
}

.faq__telegram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 20px;
  border-radius: 16px;
  background: #2aabee;
  color: #fff;
  font-weight: 700;
  transition: filter 0.2s ease;
}

.faq__telegram:hover {
  filter: brightness(1.1);
}

.faq__visual {
  position: relative;
  display: none;
  height: 224px;
  margin-top: 24px;
}

.faq__megaphone {
  top: 16px;
  left: 40px;
  width: 176px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.faq-item.is-open {
  background: #fff;
  color: var(--ink);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: left;
}

.faq-item__toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.faq-item.is-open .faq-item__toggle {
  background: var(--violet);
  color: #fff;
  transform: rotate(45deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__answer p {
  padding: 0 24px 24px;
  color: rgba(22, 22, 22, 0.7);
  font-size: 18px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   15. Контакты и форма
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
}

.contact__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.contact__intro {
  position: relative;
}

.contact__star {
  top: -80px;
  right: 16px;
  width: 128px;
}

.contact__title-card {
  display: inline-block;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
}

.contact__title-card--white {
  background: #fff;
  color: var(--ink);
  transform: rotate(-2deg);
}

.contact__title-card--violet {
  background: var(--violet);
  color: #fff;
  transform: rotate(1.5deg);
}

.contact__title-row {
  margin-top: 12px;
  margin-left: 32px;
}

.contact__title {
  font-size: 44px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contact__lead {
  max-width: 448px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  line-height: 1.6;
}

.contact__links {
  display: grid;
  gap: 12px;
  max-width: 448px;
  margin-top: 32px;
}

.contact__links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.contact__links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.promo-card--contact {
  position: relative;
  display: inline-block;
  margin-top: 24px;
  transform: rotate(-4deg);
}

.promo-card--contact .promo-card__surface {
  padding-right: 92px;
}

.contact__form-wrap {
  position: relative;
}

.contact__form-backdrop {
  position: absolute;
  inset: -16px;
  border-radius: 44px;
  background: linear-gradient(130deg, #ff8a3d, #7b6cff 50%, #4b3cf5);
  opacity: 0.9;
  transform: rotate(3deg);
}

.contact__cursor {
  z-index: 20;
  bottom: -40px;
  left: -40px;
  width: 96px;
}

.contact__toolbar {
  position: absolute;
  top: 40px;
  right: -56px;
  z-index: 10;
  display: none;
}

.lead-card {
  position: relative;
  z-index: 10;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.lead-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lead-card__head h3 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.lead-form__input {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 16px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 600;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.lead-form__input::placeholder {
  color: rgba(22, 22, 22, 0.4);
}

.lead-form__input:focus {
  box-shadow: 0 0 0 4px rgba(75, 60, 245, 0.3);
}

.lead-form__label {
  margin-top: 8px;
  color: rgba(22, 22, 22, 0.5);
  font-size: 14px;
  font-weight: 700;
}

.lead-form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lead-form__chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lead-form__chip:hover {
  background: #e7e7eb;
}

.lead-form__chip.is-active {
  background: var(--violet);
  color: #fff;
}

.lead-form__chip--budget.is-active {
  background: var(--ink);
  color: #fff;
}

.lead-form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 8px 8px 8px 24px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.lead-form__submit:hover {
  background: var(--violet);
}

.lead-form__submit-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: transform 0.3s ease;
}

.lead-form__submit:hover .lead-form__submit-icon {
  transform: rotate(45deg);
}

.lead-form__note {
  color: rgba(22, 22, 22, 0.4);
  font-size: 12px;
  text-align: center;
}

.lead-form__note a {
  text-decoration: underline;
}

.lead-success {
  padding: 56px 0;
  text-align: center;
}

.lead-success__icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
}

.lead-success__title {
  margin-top: 24px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.lead-success__text {
  margin-top: 8px;
  color: rgba(22, 22, 22, 0.6);
  font-size: 18px;
  line-height: 1.5;
}

.lead-success__again {
  margin-top: 24px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--mist);
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.lead-success__again:hover {
  background: #e7e7eb;
}

/* --------------------------------------------------------------------------
   16. Подвал
   -------------------------------------------------------------------------- */

.footer {
  margin: 0 8px 8px;
  border-radius: 40px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}

.footer__inner {
  padding-block: 56px 32px;
  padding-inline: 24px;
}

.footer__grid {
  display: grid;
  gap: 40px;
}

.logo--footer .logo__badge {
  padding: 6px 12px;
  font-size: 24px;
}

.logo--footer .logo__text {
  font-size: 24px;
}

.logo--footer .logo__dot {
  width: 12px;
  height: 12px;
}

.footer__about {
  max-width: 384px;
  margin-top: 16px;
  color: rgba(22, 22, 22, 0.6);
  line-height: 1.6;
}

.footer__heading {
  margin-bottom: 12px;
  font-weight: 900;
}

.footer__list li + li {
  margin-top: 8px;
}

.footer__list a,
.footer__list li {
  color: rgba(22, 22, 22, 0.6);
  font-weight: 600;
}

.footer__list a {
  transition: color 0.2s ease;
}

.footer__list a:hover {
  color: var(--violet);
}

.footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer__socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  transition: background-color 0.2s ease;
}

.footer__socials a:hover {
  background: var(--violet);
}

.footer__word {
  margin-top: 56px;
  font-size: 18vw;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.footer__word span {
  color: var(--violet);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  margin-top: 24px;
  color: rgba(22, 22, 22, 0.5);
  font-size: 14px;
  font-weight: 600;
}

.footer__bottom a {
  transition: color 0.2s ease;
}

.footer__bottom a:hover {
  color: var(--violet);
}

/* --------------------------------------------------------------------------
   17. Страница политики конфиденциальности
   -------------------------------------------------------------------------- */

.legal {
  padding-top: 128px;
  padding-bottom: 80px;
}

.legal__card {
  max-width: 900px;
  margin-inline: auto;
  padding: 32px 24px;
  border-radius: 40px;
  background: #fff;
  color: var(--ink);
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--violet);
  font-weight: 700;
}

.legal__back .icon {
  transform: rotate(135deg);
}

.legal__title {
  font-size: 40px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.legal__meta {
  margin-top: 12px;
  color: rgba(22, 22, 22, 0.5);
  font-size: 14px;
  font-weight: 600;
}

.legal h2 {
  margin-top: 32px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.legal p {
  margin-top: 12px;
  color: rgba(22, 22, 22, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.legal ul {
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
  color: rgba(22, 22, 22, 0.7);
  line-height: 1.7;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--violet);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   18. Служебное: анимации и адаптивность
   -------------------------------------------------------------------------- */

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 4deg));
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(10px) rotate(calc(var(--r, 0deg) - 3deg));
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -200;
  }
}

@keyframes pop {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.pop {
  animation: pop 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
}

/* Медленное «парение» для отдельных объектов */
.hero__blob,
.hero__cursor,
.services__star,
.team__toggle,
.process__cursor,
.extras-total__cursor,
.contact__cursor {
  animation-name: floatSlow;
  animation-duration: 8s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .obj,
  .marquee__track,
  .process__path path,
  .hero-card__status-dot,
  .pop {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- от 640px --- */
@media (min-width: 640px) {
  .btn--header {
    display: inline-flex;
  }

  .hero__title {
    font-size: 64px;
  }

  .hero__plus {
    font-size: 24px;
  }

  .hero__stage {
    height: 620px;
  }

  .hero__title-card {
    padding: 20px 36px;
    border-radius: 36px;
  }

  .hero__title-card--bottom {
    margin-left: 56px;
  }

  .hero__card-wrap {
    left: 40px;
    right: 48px;
  }

  .hero__star {
    top: -96px;
    right: 40px;
    width: 192px;
  }

  .hero__blob {
    top: -24px;
    left: -40px;
    width: 112px;
  }

  .hero__camera {
    width: 144px;
  }

  .hero__heart {
    width: 112px;
  }

  .hero__cursor {
    right: 16px;
    width: 128px;
  }

  .marquee__item {
    font-size: 24px;
  }

  .stats__card {
    padding: 32px;
  }

  .stats__value {
    font-size: 60px;
  }

  .services {
    padding-block: 96px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    padding: 28px;
  }

  .service-card__img {
    width: 128px;
  }

  .service-card__title {
    font-size: 32px;
  }

  .team {
    padding-block: 112px;
  }

  .team__title {
    font-size: 60px;
  }

  .team__toolbar {
    display: flex;
  }

  .team__star {
    top: -48px;
    right: -96px;
    width: 224px;
  }

  .team__toggle {
    bottom: 8px;
    left: -112px;
    width: 192px;
  }

  .team-card {
    width: 380px;
    padding: 24px;
  }

  .team-card__list li {
    font-size: 36px;
  }

  .mobile-only {
    display: none;
  }

  .process {
    padding-block: 112px;
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases {
    margin-inline: 16px;
    padding-block: 112px;
    border-radius: 56px;
  }

  .cases__title {
    font-size: 64px;
  }

  .cases__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card {
    padding: 28px;
  }

  .case-card__metric {
    font-size: 60px;
  }

  .pricing {
    padding-block: 112px;
  }

  .plan {
    padding: 32px;
  }

  .plan__amount {
    font-size: 72px;
  }

  .extras__panel {
    padding: 32px;
  }

  .extras__title {
    font-size: 36px;
  }

  .extras-total {
    padding: 32px;
  }

  .extras-total__value {
    font-size: 72px;
  }

  .reviews {
    padding-block: 112px;
  }

  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    padding: 32px;
  }

  .review-card__text {
    font-size: 24px;
  }

  .faq {
    padding-block: 112px;
  }

  .contact {
    padding-block: 112px;
  }

  .contact__title {
    font-size: 72px;
  }

  .contact__star {
    top: -80px;
    right: 80px;
    width: 176px;
  }

  .contact__links {
    grid-template-columns: repeat(2, 1fr);
  }

  .lead-card {
    padding: 32px;
  }

  .lead-card__head h3 {
    font-size: 36px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
  }

  .legal__card {
    padding: 48px;
  }

  .legal__title {
    font-size: 56px;
  }
}

/* --- от 768px --- */
@media (min-width: 768px) {
  .container {
    padding-inline: 24px;
  }

  .nav {
    display: flex;
  }

  .nav a {
    padding-inline: 12px;
  }

  .header__burger {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero {
    padding-top: 144px;
  }

  .services__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .review-card--offset {
    transform: translateY(40px);
  }

  .footer__brand {
    grid-column: span 2;
  }
}

/* --- от 1024px --- */
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    align-items: center;
  }

  .team__toolbar {
    display: none;
  }

  .nav a {
    padding-inline: 16px;
  }

  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero__content {
    grid-column: span 7;
  }

  .hero__stage {
    grid-column: span 5;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services__star {
    display: block;
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
  }

  .team__visual {
    justify-content: flex-end;
  }

  .process__path {
    display: block;
  }

  .process__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .process__step:nth-child(even) {
    margin-top: 112px;
  }

  .process__cursor,
  .process__blob {
    display: block;
  }

  .cases__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  .cases__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plan--violet {
    transform: translateY(-24px);
  }

  .extras__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .extras__panel {
    grid-column: span 3;
  }

  .extras__summary {
    grid-column: span 2;
    position: sticky;
    top: 112px;
  }

  .faq__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
  }

  .faq__intro {
    grid-column: span 2;
  }

  .faq__visual {
    display: block;
  }

  .faq__list {
    grid-column: span 3;
  }

  .faq-item__question {
    font-size: 20px;
  }

  .contact__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
  }

  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__word {
    font-size: 180px;
  }
}

/* --- от 1280px --- */
@media (min-width: 1280px) {
  .hero__title {
    font-size: 84px;
  }

  .extras__toolbar,
  .contact__toolbar {
    display: flex;
  }

  .hero__toolbar {
    display: flex;
  }

  .header__inner {
    padding-top: 16px;
  }
}

/* --- мелкие экраны --- */
@media (max-width: 639px) {
  .hero__star {
    top: -48px;
    right: -8px;
    z-index: 0;
    width: 112px;
  }

  .hero__title-card {
    padding: 14px 20px;
  }

  .hero__title-card--bottom {
    margin-left: 16px;
  }

  .hero__title-row {
    margin-top: 16px;
  }
}

/* На планшетах и небольших ноутбуках заголовок переносится на две строки,
   чтобы звезда не закрывала текст */
@media (min-width: 640px) and (max-width: 1279px) {
  .hero__title-card--top {
    max-width: 520px;
  }
}

/* На узких десктопах звезда сдвигается правее, в пространство между колонками */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__star {
    right: -56px;
  }
}

@media (max-width: 420px) {
  .hero-card__brand-name {
    font-size: 28px;
  }

  .hero-card__brand-icon {
    width: 40px;
    height: 40px;
  }

  .hero__card-wrap {
    left: 12px;
    right: 12px;
  }

  .mini-stat {
    width: 170px;
    padding: 12px;
  }

  .footer__word {
    font-size: 17vw;
  }
}

/* Боковая панель команды помещается только на широких экранах */
@media (min-width: 1400px) {
  .team__toolbar {
    display: flex;
  }
}
