/* ============ Айзен / aizen.agency ============
   Дизайн-DNA: Manrope, dark teal #213537, cyan #4cc0db, lime #f1ff85
   ============================================== */

:root {
  --ink:       #213537;
  --ink-2:     #2c4548;
  --muted:     #7a898a;
  --paper:     #ffffff;
  --paper-2:   #f2f5f5;
  --paper-3:   #eaf3f6;
  --paper-4:   #dde9ed;
  --cyan:      #4cc0db;
  --cyan-2:    #3aa5be;
  --lime:      #f1ff85;
  --black:     #1b1b1b;

  --radius:    18px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(33, 53, 55, 0.06);
  --shadow-md: 0 8px 30px rgba(33, 53, 55, 0.08);
  --shadow-lg: 0 20px 60px rgba(33, 53, 55, 0.12);

  --ease:      cubic-bezier(.22, .61, .36, 1);

  --maxw:      1398px;
  --gutter:    20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ HEADER ============ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(33, 53, 55, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.logo-img {
  height: 35px;
  width: auto;
  display: block;
}

.logo-img--light {
  filter: brightness(0) invert(1);
}

/* deprecated — оставлены на случай если где-то остались, можно удалить позже */
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
}

.logo-mark--dark {
  background: var(--paper);
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--ink-2);
  transition: color .2s var(--ease);
}

.nav a:hover { color: var(--cyan-2); }

/* отступ для группы «Продукт + Академия» от навигационных пунктов */
.nav a.nav__group-sep { margin-left: 56px; }

/* mobile-only пункт меню — скрыт на десктопе */
.nav__item--mobile { display: none; }

/* HAMBURGER кнопка — скрыта на десктопе */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 1px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ MOBILE HEADER (only visible on mobile) ============ */

.mobile-header { display: none; }
.header__close { display: none; }

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--ink);
  color: var(--lime);
}

.btn--primary:hover {
  background: var(--ink-2);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

.btn--ghost-light:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn--link {
  background: transparent;
  color: var(--ink-2);
  padding: 16px 0;
}

.btn--link:hover { color: var(--cyan-2); }

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn--block { width: 100%; }

/* ============ SECTION HEAD ============ */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-2);
  margin-bottom: 16px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.167;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0 0 16px;
  color: var(--ink);
}

.section-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* ============ HERO ============ */

.hero {
  padding: 96px 0 96px;
  background:
    radial-gradient(circle at 85% 10%, rgba(76, 192, 219, 0.06), transparent 50%),
    radial-gradient(circle at 5% 90%,  rgba(241, 255, 133, 0.10), transparent 45%),
    var(--paper);
  position: relative;
}

.hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}

.hero__head-right {
  padding-top: 16px;
}

/* ============ PRODUCT PAGE (perceptron) ============ */

.product-page .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.product-page .section-title {
  text-wrap: balance;
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
}

.product-page .section-sub {
  margin-left: auto;
  margin-right: auto;
  max-width: 64ch;
  text-wrap: balance;
  text-align: center;
}

/* Centered содержимое карточек на продуктовой странице */

.product-page .step {
  text-align: center;
}

.product-page .step__num {
  margin-left: auto;
  margin-right: auto;
}

.product-page .step__time,
.product-page .step__title,
.product-page .step__desc {
  text-align: center;
}

.product-page .step__desc {
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

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

/* Селектор выше специфичнее медиазапросов .steps ниже по файлу — на планшете
   и телефоне три шага оставались в три колонки и распирали страницу вбок.
   Повторяем те же брейкпоинты с нужной специфичностью. */
@media (max-width: 1100px) {
  .product-page .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .product-page .steps { grid-template-columns: 1fr; }
}

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

/* !important выше перебивал медиазапросы .solutions-grid ниже по файлу —
   сетка тарифов оставалась трёхколоночной на любой ширине и уводила
   страницу в горизонтальный скролл на планшете и телефоне.
   Переопределяем на тех же брейкпоинтах, что и базовая .solutions-grid. */
@media (max-width: 1100px) {
  .solutions-grid--3 { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .solutions-grid--3 { grid-template-columns: 1fr !important; }
}

/* Featured tariff: тёмный фон → CTA инвертирована для контраста */

.solution--featured .btn--primary {
  background: var(--lime);
  color: var(--ink);
}

.solution--featured .btn--primary:hover {
  background: #e8f670;
  color: var(--ink);
  transform: translateY(-1px);
}

.product-page .who-card {
  text-align: center;
}

.product-page .who-card__title {
  text-align: center;
}

.product-page .team-card {
  text-align: center;
}

.product-page .team-card__role {
  text-align: center;
}

.product-page .included-list {
  max-width: 720px;
  margin: 0 auto;
}

.product-page .tariffs-note,
.product-page .trust-note {
  text-align: center;
}

.section-head--centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============ ZIG-ZAG (ai-trust pattern) ============ */

.trust {
  padding: 128px 0;
  background: var(--paper);
}

.zig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 56px 0;
}

.zig + .zig {
  border-top: 1px solid var(--paper-4);
}

.zig--reverse .zig__text  { order: 2; }
.zig--reverse .zig__visual { order: 1; }

.zig__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-2);
  margin-bottom: 14px;
}

.zig__title {
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 0 0 14px;
  color: var(--ink);
}

.zig__sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 48ch;
}

.zig__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--paper-3), var(--paper-2));
}

.zig__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(33, 53, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 53, 55, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.zig__visual .mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  mix-blend-mode: multiply;
}

.mesh-blob--a { width: 55%; height: 55%; top: -10%; left: -8%;  background: #4cc0db; opacity: .55; }
.mesh-blob--b { width: 50%; height: 50%; bottom: -12%; right: -8%; background: #f1ff85; opacity: .45; }
.mesh-blob--c { width: 60%; height: 60%; top: 10%;  right: -10%; background: #f1ff85; opacity: .50; }
.mesh-blob--d { width: 45%; height: 45%; bottom: -10%; left: 10%; background: #4cc0db; opacity: .55; }
.mesh-blob--e { width: 50%; height: 50%; top: -8%;  left: 15%;  background: #19a2c1; opacity: .50; }
.mesh-blob--f { width: 55%; height: 55%; bottom: -15%; right: -5%; background: #f1ff85; opacity: .35; }

/* ============ MINI CTA ============ */

.mini-cta {
  padding: 96px 0;
  background: var(--paper-2);
}

.mini-cta__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.mini-cta__title {
  margin-bottom: 12px;
}

.mini-cta__sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 32px;
}

/* ============ HERO CENTERED (продуктовая страница) ============ */

.hero--product {
  padding: 112px 0 96px;
}

.hero__centered {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero__title.hero__title--centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.hero__sub.hero__sub--centered {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 36px;
  text-wrap: balance;
}

.hero__cta.hero__cta--centered {
  justify-content: center;
}

.hero__stats--centered {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--paper-4);
  gap: 24px;
}

.hero__stats--centered .stat {
  text-align: center;
}

.hero__stats--centered .stat__num {
  font-size: clamp(17px, 1.8vw, 24px);
  margin-bottom: 6px;
}

.hero__stats--centered .stat__label {
  font-size: 14px;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--paper-2);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(76, 192, 219, 0.20);
  flex-shrink: 0;
}

.dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(76, 192, 219, 0.22);
}

.dot--lime {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(241, 255, 133, 0.35);
  border: 1px solid rgba(33, 53, 55, 0.10);
}

.hero__title {
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--ink);
}

.hero__title-accent {
  background: linear-gradient(120deg, var(--cyan-2) 0%, var(--ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
}

.hero__sub {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ HERO FEATURE CARD ============ */

.hero__feature {
  background: var(--paper-2);
  border-radius: 28px;
  padding: 14px 14px 28px;
  position: relative;
}

/* Hero feature — режим с картинкой (без табов/шаров) */
.hero__feature--image {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1400 / 932;
}

.hero__feature--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature__tabs {
  display: flex;
  gap: 4px;
  background: rgba(33, 53, 55, 0.04);
  padding: 6px;
  border-radius: 16px;
  width: fit-content;
  margin: 0 auto 14px;
}

.feature__tab {
  background: transparent;
  border: 0;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-radius: 12px;
  transition: background .2s var(--ease), color .2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.feature__tab:hover { color: var(--ink); }

.feature__tab--active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(33, 53, 55, 0.08);
}

.feature__stage {
  background: var(--paper-3);
  border-radius: 20px;
  padding: 24px 32px 16px;
  position: relative;
}

.feature__carousel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
}

.feature__cells {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  min-height: 360px;
}

.cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  flex-shrink: 0;
  max-width: 280px;
}

.cell--main { z-index: 2; }

.cell__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cell--main .cell__title { font-size: 18px; }

.cell__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: var(--cyan-2);
}

.cell__sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 28ch;
}

.cell:not(.cell--main) .cell__sub {
  opacity: 0.65;
}

.carousel__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--paper-4);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s var(--ease), border-color .2s var(--ease);
  font-family: inherit;
  padding-bottom: 2px;
}

.carousel__arrow:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.orb {
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.orb--xs {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), rgba(241, 255, 133, 0.35) 65%, transparent 100%);
  opacity: 0.5;
  filter: blur(6px);
}

.orb--side {
  width: 220px;
  height: 220px;
  opacity: 0.92;
  filter: blur(1px);
}

.orb--purple {
  background: radial-gradient(circle at 35% 25%, #efe0ff 0%, #8a7ce0 50%, #f4a774 100%);
}

.orb--teal {
  background: radial-gradient(circle at 30% 30%, #e8f7f3 0%, #58a98e 50%, #f0c89a 100%);
}

.orb--main {
  width: 340px;
  height: 340px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.orb--warm {
  background: radial-gradient(circle at 35% 28%, #ffe7d4 0%, #ff7a4c 50%, #b03450 95%);
}

.orb__play {
  background: var(--paper);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  padding-left: 4px;
}

.feature__caption {
  text-align: center;
  margin-bottom: 22px;
}

.feature__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.feature__sub {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.feature__subtabs {
  display: flex;
  gap: 4px;
  background: rgba(33, 53, 55, 0.04);
  padding: 6px;
  border-radius: 16px;
  margin: 0 auto;
  align-items: center;
  width: fit-content;
  flex-wrap: wrap;
}

.subtab {
  background: transparent;
  border: 0;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-radius: 12px;
  transition: background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}

.subtab:hover { color: var(--ink); }

.subtab--active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(33, 53, 55, 0.08);
}

.feature__cta {
  margin-left: 6px;
}

/* ============ HERO STATS (под feature card) ============ */

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--paper-4);
}

.stat__num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1;
}

.stat__label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 36ch;
}

/* ============ WHY NOW ============ */

.why {
  padding: 96px 0;
  background: var(--paper);
  border-top: 1px solid var(--paper-4);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.why__right p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 16px;
}

.why__right p:last-child { margin-bottom: 0; }

/* ============ SOLUTIONS ============ */

.solutions {
  padding: 128px 0;
  background: var(--paper-2);
}

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

.solution {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  border: 1px solid transparent;
}

.solution:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--paper-4);
}

.solution--featured {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.solution--featured:hover {
  border-color: var(--cyan);
  box-shadow: 0 20px 60px rgba(33, 53, 55, 0.28);
}

.solution--featured .solution__title { color: var(--paper); }
.solution--featured .solution__desc  { color: rgba(255, 255, 255, 0.78); }
.solution--featured .solution__meta  { color: var(--lime); }
.solution--featured .solution__price { color: var(--lime); }
.solution--featured .solution__num   { color: var(--cyan); }
.solution--featured .solution__deliver { color: rgba(255, 255, 255, 0.55); border-top-color: rgba(255, 255, 255, 0.10); }
.solution--featured .solution__list li { color: rgba(255, 255, 255, 0.78); border-top-color: rgba(255, 255, 255, 0.08); }
.solution--featured .solution__list li:first-child { border-top: none; }

.solution__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.solution__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  gap: 8px;
}

.solution__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan-2);
  letter-spacing: 0.05em;
}

.solution__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.solution__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink);
  line-height: 1.18;
}

.solution__meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan-2);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.solution__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
}

.solution__deliver {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--paper-4);
  margin-bottom: 10px;
}

.solution__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}

.solution__list li {
  padding: 8px 0;
  border-top: 1px dashed var(--paper-4);
}

.solution__list li:first-child { border-top: none; padding-top: 4px; }

/* ============ HOW WE WORK ============ */

.how {
  padding: 128px 0;
  background: var(--paper);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  position: relative;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 50%;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

.step__time {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-2);
  margin-bottom: 8px;
}

.step__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}

.step__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ============ CASES ============ */

.cases {
  padding: 128px 0;
  background: var(--ink);
  color: var(--paper);
}

.cases .eyebrow      { color: var(--cyan); }
.cases .section-title { color: var(--paper); }
.cases .section-sub  { color: rgba(255, 255, 255, 0.65); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.case {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.case:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(76, 192, 219, 0.30);
  transform: translateY(-4px);
}

.case__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(241, 255, 133, 0.10);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.case__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--paper);
}

.case__lead {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 28px;
  flex: 1;
}

.case__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.metric__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.metric__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.35;
}

.cases-cta {
  text-align: center;
}

/* ============ ABOUT ============ */

.about {
  padding: 128px 0;
  background: var(--paper-2);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.about__quote {
  margin: 32px 0 0;
  padding: 24px 28px;
  background: var(--paper);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about__quote-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  font-style: italic;
}

.about__quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  font-style: normal;
}

.quote-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: var(--paper-2);
}

.quote-author__info {
  line-height: 1.35;
  min-width: 0;
}

.quote-author__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.quote-author__role {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.about__right p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 20px;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--paper-4);
}

.value__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.value__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* ============ CONTACT ============ */

.contact {
  padding: 128px 0;
  background: var(--paper);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__pitch p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  font-size: 16px;
  color: var(--ink-2);
}

.contact__list li {
  padding: 10px 0 10px 28px;
  position: relative;
}

.contact__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--cyan-2);
  border-bottom: 2px solid var(--cyan-2);
  transform: rotate(-45deg);
}

.contact__direct {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.contact__direct a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-underline-offset: 4px;
}

/* ============ FORM ============ */

.form {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 36px;
}

.form__row {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form__row label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.form__row .muted {
  color: var(--muted);
  font-weight: 400;
}

.form__row input,
.form__row textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--paper-4);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.form__row input:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(76, 192, 219, 0.15);
}

.form__row textarea {
  resize: vertical;
  min-height: 80px;
}

.form__consent {
  margin-bottom: 24px;
}

.form__consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.form__consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--ink);
}

.form__consent a {
  color: var(--ink-2);
  text-decoration: underline;
}

.form__status {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.form__status.is-success { color: #1f8a4f; }
.form__status.is-error   { color: #c0392b; }

/* ============ FOOTER ============ */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 96px 0 32px;
  font-size: 14px;
}

/* MAIN — слоган слева + колонки справа */
.footer__main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
  padding: 8px 0 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__slogan {
  font-family: 'Manrope', sans-serif;
  font-size: 43px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0;
  max-width: 460px;
  text-align: left;
  text-wrap: balance;
}
.footer__cols {
  display: flex;
  gap: 56px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__col-title {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 4px;
}
.footer__col a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--cyan-2); }

/* BOTTOM — юр.строка */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer__bottom a:hover { color: var(--cyan-2); }

/* ============ FOOTER: реквизиты и платёжный блок ============ */
/* Требование эквайринга: сведения о продавце и порядок оплаты на каждой странице */

.footer__legal {
  padding-top: 32px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer__req {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  max-width: 880px;
}

.footer__req a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__req a:hover { color: var(--cyan-2); }

.footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.footer__pay span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 5px 10px;
}

@media (max-width: 768px) {
  .footer__legal { padding-top: 24px; }
}

/* ============ NAV ACTIVE ============ */

.nav__active {
  color: var(--ink) !important;
  position: relative;
}


/* ============ TEAM (7 ролей) ============ */

.team {
  padding: 128px 0;
  background: var(--paper);
}

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

.team-card {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--paper-4);
}

.team-card__role {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan-2);
  margin-bottom: 12px;
}

.team-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ============ INCLUDED (что входит) ============ */

.included {
  padding: 128px 0;
  background: var(--paper-2);
}

.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}

.included-list li .dot {
  margin-top: 6px;
  flex-shrink: 0;
}

/* ============ TARIFFS NOTE ============ */

.tariffs-note {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.solution__cta {
  margin-top: 20px;
}

/* ============ WHO FOR ============ */

.who-for {
  padding: 128px 0;
  background: var(--paper);
}

.who-for-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.who-card {
  padding: 28px 24px;
  background: var(--paper-2);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}

.who-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.who-card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}

.who-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ============ TRUST NOTE (под cases на perceptron) ============ */

.trust-note {
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.70);
  text-align: center;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ FAQ ============ */

.faq-section {
  padding: 128px 0;
  background: var(--paper-2);
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.faq__item {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .2s var(--ease);
}

.faq__item[open] {
  border-color: var(--paper-4);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--cyan-2);
  transition: transform .2s var(--ease);
  flex-shrink: 0;
}

.faq__item[open] .faq__q::after {
  content: "−";
}

.faq__a {
  padding: 0 28px 22px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ============ CODE TAG (inline) ============ */

code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.9em;
  background: var(--paper-3);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1100px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps       { grid-template-columns: repeat(2, 1fr); }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
  .who-for-grid { grid-template-columns: repeat(2, 1fr); }
  .included-list { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero__head {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }
  .hero__head-right { padding-bottom: 0; }

  .zig {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .zig--reverse .zig__text  { order: 1; }
  .zig--reverse .zig__visual { order: 2; }
  .zig__visual { aspect-ratio: 16 / 10; }

  .feature__cells { gap: 16px; min-height: 300px; }
  .orb--main { width: 280px; height: 280px; }
  .orb--side { width: 160px; height: 160px; }
  .orb--xs { display: none; }
  .cell:not(.cell--main) { display: none; }

  .feature__subtabs { font-size: 13px; }
}

@media (max-width: 700px) {
  .feature__cells { min-height: 240px; gap: 8px; }
  .orb--main { width: 200px; height: 200px; }
  .orb--side { width: 110px; height: 110px; }
  .feature__stage { padding: 20px 18px 14px; }
  .feature__subtabs { padding: 4px; flex-direction: column; width: 100%; }
  .feature__subtabs .subtab { width: 100%; text-align: center; }
  .feature__cta { width: 100%; margin: 8px 0 0; }
  .carousel__arrow { display: none; }
}

@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: 1fr; }
  .about__grid, .contact__grid, .why__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__values { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 88px 0 64px; }
  .why, .solutions, .how, .cases, .about, .contact,
  .team, .included, .who-for, .faq-section { padding: 80px 0; }

  /* Header поверх drawer всегда — чтобы крестик и лого были видны */
  /* Скрываем desktop header полностью пока он не превратился в шторку */
  .header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(85%, 340px) !important;
    height: 100vh !important;
    z-index: 300 !important;
    background: var(--paper) !important;
    flex-direction: column !important;
    padding: 24px 24px 32px !important;
    overflow-y: auto;
    box-shadow: -16px 0 40px rgba(33, 53, 55, 0.12);
    transform: translate3d(100%, 0, 0);
    -webkit-transform: translate3d(100%, 0, 0);
    transition: transform .3s cubic-bezier(0.32, 0.72, 0, 1), -webkit-transform .3s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .header .header__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    max-width: none;
  }

  /* Mobile top bar — glass-эффект */
  .mobile-header {
    display: flex !important;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(33, 53, 55, 0.06);
  }
  .mobile-header__logo { display: flex; align-items: center; }
  .mobile-header__logo .logo-img { height: 22px; width: auto; }

  /* Бургер живёт в mobile-header */
  .nav-toggle { display: block; }
  /* Когда шторка открыта — бургер скрыть (его заменяет крестик внутри шторки) */
  body.nav-open .mobile-header .nav-toggle { opacity: 0; pointer-events: none; }

  /* Крестик внутри шторки */
  .header__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: transparent;
    border: 0; padding: 0; cursor: pointer;
    color: var(--ink);
    position: absolute;
    top: 16px; right: 16px;
    z-index: 10;
  }

  /* Гарантированно скрываем desktop-CTA */
  .header .nav__cta-desktop,
  .btn.nav__cta-desktop { display: none !important; }

  /* Backdrop — клик-перехват + лёгкий darkening */
  .nav-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(33, 53, 55, 0.25);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  /* Внутренняя структура шторки */
  .header .nav,
  .nav {
    display: flex !important;
    position: static !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 24px 0 0 !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: visible;
  }

  /* Шторка открыта */
  body.nav-open { overflow: hidden; position: relative; }
  body.nav-open .header {
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
  }

  /* PREMIUM — фон контента размывается, когда шторка открыта */
  body.nav-open > *:not(.header):not(.mobile-header):not(.nav-backdrop) {
    filter: blur(8px);
    -webkit-filter: blur(8px);
    transition: filter .25s ease, -webkit-filter .25s ease;
    pointer-events: none;
  }
  body > *:not(.header):not(.mobile-header):not(.nav-backdrop) {
    transition: filter .25s ease, -webkit-filter .25s ease;
  }

  /* Сдвинуть main контент вниз чтобы не перекрывался mobile-header */
  main { padding-top: 64px; }

  .nav a {
    display: block !important;
    width: 100% !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #213537 !important;
    padding: 16px 0 !important;
    text-decoration: none !important;
    text-align: left !important;
    border: 0 !important;
  }

  /* Разделитель группы «Продукт + Академия» на мобильном — отступ сверху */
  .nav a.nav__group-sep { margin-left: 0 !important; margin-top: 28px !important; }

  /* Кнопка «Связаться» — повышенная specificity .nav a.nav__item--mobile */
  .nav a.nav__item--mobile {
    margin-top: 28px !important;
    padding: 16px 28px !important;
    border: 1.5px solid #213537 !important;
    border-radius: 999px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #213537 !important;
    width: auto !important;
    align-self: stretch !important;
  }
  .nav a.nav__item--mobile:active {
    background: #213537 !important;
    color: #ffffff !important;
  }

  .hero__stats { grid-template-columns: 1fr; gap: 24px; }

  .solutions-grid { grid-template-columns: 1fr; }
  .steps       { grid-template-columns: 1fr; }
  .case__metrics { grid-template-columns: 1fr 1fr; }
  .team-grid   { grid-template-columns: 1fr; }
  .who-for-grid { grid-template-columns: 1fr; }

  .footer { padding: 64px 0 24px; }
  .footer__slogan { font-size: 28px; max-width: none; }
  .footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 8px 0 40px;
  }
  .footer__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-head { margin-bottom: 44px; }
  .section-sub { font-size: 17px; }

  .faq__q { font-size: 16px; padding: 18px 20px; }
  .faq__a { padding: 0 20px 18px; font-size: 15px; }
}
