/* TEFIN — стили сайта.
   Вынесены из index.html: страниц будет несколько (маркетплейсы,
   производство, услуги, клиники, рестораны, IT), и держать 80 КБ
   стилей внутри каждой значило бы править их по разу на страницу.
   Отдельным файлом браузер скачивает их один раз на весь сайт. */
/* self-host бренд-шрифты */
@font-face{font-family:'Inter';src:url('fonts/Inter-600.woff') format('woff');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'Inter';src:url('fonts/Inter-700.woff') format('woff');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Inter';src:url('fonts/Inter-800.woff') format('woff');font-weight:800;font-style:normal;font-display:swap;}
@font-face{font-family:'Manrope';src:url('fonts/Manrope-400.woff') format('woff');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Manrope';src:url('fonts/Manrope-500.woff') format('woff');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'Manrope';src:url('fonts/Manrope-600.woff') format('woff');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'Manrope';src:url('fonts/Manrope-700.woff') format('woff');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Manrope';src:url('fonts/Manrope-800.woff') format('woff');font-weight:800;font-style:normal;font-display:swap;}

:root {
  --bg: #0B0A0A;
  --bg-soft: #121110;
  --bg-elevated: #1A1817;
  --bg-card: #131313;
  --bg-inset: #221F1E;
  --border: rgba(255, 244, 240, 0.08);
  --border-strong: rgba(255, 244, 240, 0.16);
  --accent: #9D241E;
  --accent-light: #9D241E;
  --accent-dark: #9D241E;
  --accent-tint: rgba(157, 36, 30, 0.12);
  --accent-line: rgba(157, 36, 30, 0.34);
  --accent-glow: rgba(157, 36, 30, 0.18);
  --text: #F2EFED;
  --text-soft: #A8A19E;
  --text-mute: #867D79;
  --text-dim: #4E4846;
  --success: #38D399;
  --font: 'Manrope', system-ui, sans-serif;
  --font-head: 'Inter', 'Manrope', system-ui, sans-serif;
  --container: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-xs: 6px;
  --sh-1: 0 8px 24px rgba(0,0,0,.4);
  --sh-2: 0 24px 64px rgba(0,0,0,.55);
  --sh-3: 0 40px 120px rgba(0,0,0,.7);
  --sh-inset: inset 0 1px 0 rgba(255,255,255,.18);
  --t-fast: 0.2s cubic-bezier(0.2, 0.6, 0.2, 1);
  --t: 0.25s cubic-bezier(0.2, 0.6, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
ul { list-style: none; }

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

/* сквозной фоновый слой страницы: подсветка живёт здесь, а не в секциях */
body { position: relative; }

body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 760px at 80% 2%, rgba(157, 36, 30, 0.13), transparent 62%),
    radial-gradient(1000px 700px at 4% 38%, rgba(157, 36, 30, 0.055), transparent 60%),
    radial-gradient(1300px 900px at 62% 88%, rgba(157, 36, 30, 0.10), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  box-shadow: inset 0 0 260px 80px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 3;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.accent { color: var(--accent); }
.uppercase { text-transform: uppercase; }

.section { position: relative; padding: 80px 0; z-index: 1; overflow: visible; background: transparent; }

/* Sphere decoration */


.section > .container { position: relative; z-index: 2; }

.section__head { text-align: center; max-width: 880px; margin: 0 auto 40px; }
.nowrap { white-space: nowrap; }
.section__sub, .section__title, .hero__sub, .cost__lead { text-wrap: pretty; }

.section__kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding: 8px 16px;
  border: 1px solid rgba(157, 36, 30, 0.3);
  border-radius: 100px;
  background: rgba(157, 36, 30, 0.08);
  margin-bottom: 24px;
}

.section__kicker--white { color: var(--text); border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.04); }

.section__title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.section__sub {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.5;
  text-transform: none;
  font-weight: 400;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: all var(--t);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--accent); }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform var(--t); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(8, 8, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--t);
}

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

.logo {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--accent);
  text-transform: uppercase;
}

.logo--footer { font-size: 28px; }

.nav { display: flex; gap: 28px; flex: 1; justify-content: center; }

.nav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color var(--t-fast);
  position: relative;
}

.nav__link:hover { color: var(--text); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t);
}

.nav__link:hover::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 20px; }
.header__phone { font-size: 15px; font-weight: 700; color: var(--text); transition: color var(--t-fast); }
.header__phone:hover { color: var(--accent); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); transition: all var(--t-fast); }

/* ===== Hero ===== */
.hero { position: relative; padding: 150px 0 64px; overflow: hidden; }

.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero__inner { position: relative; z-index: 2; text-align: center; max-width: 1120px; margin: 0 auto; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.1s both;
}

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(56, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 211, 153, 0); }
}

.hero__slogan {
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.15s both;
}

.hero__title {
  font-size: clamp(28px, 3.1vw, 42px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-wrap: balance;
  text-transform: uppercase;
  animation: fadeUp 0.8s 0.2s both;
}

.hero__platforms {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--text-mute);
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.3s both;
}

.hero__sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 700px;
  margin: 0 auto 32px;
  animation: fadeUp 0.8s 0.4s both;
}

.hero__founder {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px 12px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.45s both;
  text-align: left;
}

.hero__founder-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--accent);
  box-shadow: 0 0 24px rgba(157, 36, 30, 0.3);
}

.hero__founder-photo svg { width: 100%; height: 100%; display: block; }

.hero__founder-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero__founder-role {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 4px;
  line-height: 1.3;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.5s both;
}

.hero__filter {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  animation: fadeUp 0.8s 0.6s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Proof / Stats ===== */
.proof {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  animation: fadeUp 0.8s 0.7s both;
  position: relative;
  z-index: 2;
}

.proof__item { text-align: center; }

.proof__num {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 30%, var(--text-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.proof__small {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.proof__label {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.proof__divider { width: 1px; height: 60px; background: var(--border); }

/* ===== Pains ===== */
.pains__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.pain-card {
  position: relative;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t);
  overflow: hidden;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.pain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(157, 36, 30, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--t);
}

.pain-card:hover { border-color: rgba(157, 36, 30, 0.3); transform: translateY(-4px); }
.pain-card:hover::before { opacity: 1; }

.pain-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(157, 36, 30, 0.12);
  color: var(--accent);
  border-radius: 12px;
  position: relative;
}

.pain-card__icon svg { width: 24px; height: 24px; }
.pain-card__body { position: relative; }

.pain-card__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.pain-card__text {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.pains__cta { text-align: center; }

/* ===== Cost of inaction ===== */
.cost {
  background: linear-gradient(180deg, #160606 0%, #0a0303 100%);
  border-top: 1px solid rgba(157, 36, 30, 0.2);
  border-bottom: 1px solid rgba(157, 36, 30, 0.2);
}

.cost__head { text-align: center; max-width: 800px; margin: 0 auto 56px; position: relative; }
.cost__head .cost__lead {
  margin-top: 24px;
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.55;
}

.cost__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto 32px;
  position: relative;
}

.cost-item {
  padding: 32px 28px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(157, 36, 30, 0.15);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: all var(--t);
}

.cost-item:hover { border-color: rgba(157, 36, 30, 0.4); transform: translateY(-4px); }

.cost-item__amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}

.cost-item__period {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}

.cost-item__desc {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.cost-item__desc strong { color: var(--text); font-weight: 700; }

.cost__total {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 40px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 16px 60px rgba(157, 36, 30, 0.3);
  position: relative;
}

.cost__total-left { display: flex; flex-direction: column; gap: 6px; }
.cost__total-label { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.08em; text-transform: uppercase; }
.cost__total-text { font-size: 22px; font-weight: 800; color: #fff; text-transform: uppercase; }

.cost__total-amount {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.cost__layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: start; }
.cost__layout .cost__head { text-align: left; max-width: none; margin: 0; }
.cost__layout .cost__head .cost__lead { margin-left: 0; margin-right: 0; }
.cost__stack { display: flex; flex-direction: column; gap: 14px; }
.cost__stack .cost-item {
  display: grid; grid-template-columns: auto 1fr; column-gap: 26px; row-gap: 2px;
  align-items: center; padding: 22px 26px;
}
.cost__stack .cost-item__amount { grid-column: 1; grid-row: 1; margin: 0; white-space: nowrap; font-size: 30px; }
.cost__stack .cost-item__period { grid-column: 1; grid-row: 2; margin: 0; }
.cost__stack .cost-item__desc { grid-column: 2; grid-row: 1 / 3; margin: 0; }
.cost__stack .cost__total { margin-top: 4px; }
.cost__note { margin-top: 24px; text-align: center; font-size: 12px; color: var(--text-mute); letter-spacing: 0.02em; }

/* ===== Philosophy Banner ===== */
.philosophy {
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.philosophy__inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.philosophy__quote {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.philosophy__author {
  margin-top: 32px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

/* ===== Services ===== */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.service-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height var(--t);
}

.service-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.service-card:hover::after { height: 100%; }

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(157, 36, 30, 0.12);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 24px;
}

.service-card__icon svg { width: 28px; height: 28px; }

.service-card__title { font-size: 22px; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; }
.service-card__text { color: var(--text-soft); margin-bottom: 24px; font-size: 15px; line-height: 1.55; }

.service-card__list { display: flex; flex-direction: column; gap: 10px; }

.service-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ===== Deliverables ===== */
.deliverables__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.deliverable {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.deliverable::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.deliverable:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.deliverable__tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(157, 36, 30, 0.12);
  color: var(--accent);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.deliverable__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  min-height: 2.3em;
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

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

.deliverable__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.5;
}

.deliverable__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 10px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.deliverables__note {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 32px;
  text-align: center;
  background: rgba(157, 36, 30, 0.06);
  border: 1px solid rgba(157, 36, 30, 0.2);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
}

.deliverables__note strong { color: var(--text); }

/* ===== Methodology cycle ===== */
.cycle {
  position: relative;
  max-width: 1060px;
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: 1fr minmax(200px, 240px) 1fr;
  grid-template-rows: auto auto;
  column-gap: 28px;
  row-gap: 24px;
  align-items: stretch;
}

.cycle__center {
  grid-column: 2; grid-row: 1 / 3;
  justify-self: center; align-self: center;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px var(--accent-glow);
  z-index: 2;
  border: 6px solid var(--bg);
}

.cycle__logo { font-size: 28px; font-weight: 800; letter-spacing: 0.04em; color: #fff; }
.cycle__center-text { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.7); margin-top: 4px; letter-spacing: 0.1em; text-transform: uppercase; }

.cycle__node {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t);
}

.cycle__node--1 { grid-row: 1; grid-column: 1; }
.cycle__node--2 { grid-row: 1; grid-column: 3; }
.cycle__node--3 { grid-row: 2; grid-column: 1; }
.cycle__node--4 { grid-row: 2; grid-column: 3; }

.cycle__node:hover { border-color: var(--accent); background: rgba(157, 36, 30, 0.04); }

.cycle__num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 10px; }
.cycle__title { font-size: 22px; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; }
.cycle__text { color: var(--text-soft); font-size: 14px; line-height: 1.5; }

/* ===== Results 30 days ===== */
.results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.result-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(157, 36, 30, 0.1) 0%, transparent 40%);
  opacity: 0;
  transition: opacity var(--t);
}

.result-card:hover { transform: translateY(-4px); border-color: rgba(157, 36, 30, 0.3); }
.result-card:hover::before { opacity: 1; }

.result-card__num {
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 24px;
  position: relative;
}

.result-card__title { font-size: 18px; font-weight: 800; margin-bottom: 12px; position: relative; text-transform: uppercase; }
.result-card__text { color: var(--text-soft); font-size: 14px; line-height: 1.55; position: relative; }

/* ===== Cases ===== */
.cases__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  transition: all var(--t-fast);
  background: rgba(255, 255, 255, 0.02);
}

.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn--active { background: var(--accent); border-color: var(--accent); color: #fff; }

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

.case-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.case-card[data-hidden="true"] { display: none; }
.case-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--bg-elevated); }

.case-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}

.case-card__niche {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(157, 36, 30, 0.12);
  color: var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.case-card__platforms {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.case-card__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.case-card__chart {
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.case-card__chart-bar {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 12px;
}

.case-card__chart-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-card__chart-track {
  height: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.case-card__chart-fill {
  height: 100%;
  border-radius: 100px;
  position: relative;
  animation: chartGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: left;
}

@keyframes chartGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.case-card__chart-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  text-align: right;
  letter-spacing: -0.01em;
}

.case-card__chart-unit {
  font-size: 11px;
  color: var(--text-mute);
  text-align: right;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.case-card__metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.metric { text-align: left; }
.metric--success { text-align: right; }

.metric__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.metric__val {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
}

.metric--success .metric__val { color: var(--success); }
.metric__detail { font-size: 12px; color: var(--text-mute); line-height: 1.3; }
.metric__arrow { font-size: 24px; color: var(--accent); font-weight: 700; }

.case-card__more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-align: left;
  padding: 12px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  transition: letter-spacing var(--t);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-card__more:hover { letter-spacing: 0.06em; }

.cases__all { text-align: center; margin-top: 48px; }

/* ===== Testimonials ===== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: all var(--t);
  position: relative;
}

.testimonial:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.testimonial__quote-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 16px;
}

.testimonial__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.testimonial__role {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 4px;
  line-height: 1.3;
}

.testimonials__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Process ===== */
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }

.process-step {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--t);
}

.process-step:hover { border-color: var(--accent); transform: translateY(-4px); }

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(157, 36, 30, 0.12);
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(157, 36, 30, 0.2);
}

.process-step__title { font-size: 17px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.process-step__text { color: var(--text-soft); font-size: 14px; line-height: 1.5; margin-bottom: 16px; }

.process-step__time {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

/* ===== Comparison ===== */
.comparison__table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.comparison__col { padding: 40px; border-radius: var(--radius); border: 1px solid var(--border); }
.comparison__col--bad { background: rgba(157, 36, 30, 0.04); border-color: rgba(157, 36, 30, 0.2); }
.comparison__col--good { background: rgba(56, 211, 153, 0.04); border-color: rgba(56, 211, 153, 0.2); }

.comparison__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.comparison__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
}

.comparison__col--bad .comparison__icon { background: rgba(157, 36, 30, 0.15); color: var(--accent); }
.comparison__col--good .comparison__icon { background: rgba(56, 211, 153, 0.15); color: var(--success); }

.comparison__title { font-size: 22px; font-weight: 800; text-transform: uppercase; }

.comparison__list { display: flex; flex-direction: column; gap: 14px; }

.comparison__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-soft);
}

.comparison__col--bad .comparison__list li::before {
  content: '×';
  position: absolute;
  left: 0;
  top: -2px;
  width: 20px; height: 20px;
  background: rgba(157, 36, 30, 0.15);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.comparison__col--good .comparison__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -2px;
  width: 20px; height: 20px;
  background: rgba(56, 211, 153, 0.15);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

/* ===== Team ===== */
.team__founder {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 52px;
  align-items: center;
  padding: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.team__founder::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 200px; height: 100%;
  background: radial-gradient(circle at center left, rgba(157, 36, 30, 0.08), transparent 70%);
  pointer-events: none;
}

.team__avatar {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1a1f 0%, #0a0a0f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--border-strong);
  box-shadow: 0 0 80px rgba(157, 36, 30, 0.2);
}

.team__avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 30%, rgba(157, 36, 30, 0.1) 100%);
  pointer-events: none;
}

.team__avatar-svg { width: 80%; height: 80%; }
.team__avatar-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; border-radius: inherit; }

.team__founder-info { position: relative; }

.team__founder-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.team__founder-name { font-size: 38px; font-weight: 800; margin-bottom: 24px; text-transform: uppercase; }
.team__founder-bio { display: flex; flex-direction: column; gap: 12px; }

.team__founder-bio li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.5;
}

.team__founder-bio li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.team__structure {
  padding: 48px;
  background: linear-gradient(135deg, rgba(157, 36, 30, 0.08) 0%, rgba(157, 36, 30, 0.02) 100%);
  border: 1px solid rgba(157, 36, 30, 0.2);
  border-radius: var(--radius);
}

.team__structure-title { font-size: 30px; font-weight: 800; text-align: center; margin-bottom: 16px; text-transform: uppercase; }

.team__structure-text {
  text-align: center;
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.team__role {
  padding: 36px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(10px);
}

.team__role-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(157, 36, 30, 0.12);
  color: var(--accent);
  border-radius: 16px;
}

.team__role-icon svg { width: 32px; height: 32px; }
.team__role-title { font-size: 20px; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; }
.team__role-text { color: var(--text-soft); font-size: 14px; line-height: 1.55; }

/* ===== Why us ===== */
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.why-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t);
}

.why-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.why-card__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.why-card__title { font-size: 22px; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; }
.why-card__text { color: var(--text-soft); font-size: 14px; line-height: 1.55; }

.why-card--cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-color: var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-card--cta .why-card__title, .why-card--cta .why-card__text { color: #fff; }
.why-card--cta .why-card__text { color: rgba(255, 255, 255, 0.85); margin-bottom: 20px; }

.why-card--cta .btn--primary {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  align-self: flex-start;
}

.why-card--cta .btn--primary:hover { background: rgba(0, 0, 0, 0.5); }

/* ===== Materials ===== */
.materials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.material-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t);
}

.material-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }

.material-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(157, 36, 30, 0.12);
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.material-card__title { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.material-card__text { color: var(--text-soft); font-size: 14px; line-height: 1.55; margin-bottom: 24px; }
.material-card .btn { margin-top: auto; align-self: flex-start; }

/* ===== FAQ ===== */
.faq__list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--t-fast);
}

.faq-item[open] { border-color: rgba(157, 36, 30, 0.3); background: var(--bg-elevated); }

.faq-item__q {
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  transition: all var(--t-fast);
}

.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--accent); }

.faq-item__toggle { position: relative; width: 24px; height: 24px; flex-shrink: 0; }

.faq-item__toggle::before, .faq-item__toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform var(--t);
  border-radius: 1px;
}

.faq-item__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__toggle::after { transform: translate(-50%, -50%) rotate(0); }

.faq-item__a {
  padding: 0 28px 28px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item__a p + p { margin-top: 12px; }

/* ===== Final CTA ===== */
.cta-final {
  background: linear-gradient(180deg, var(--bg) 0%, #0a0303 100%);
  position: relative;
  overflow: hidden;
}

.cta-final__inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
  position: relative;
}

.cta-final__title {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  margin: 24px 0 24px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.cta-final__text { font-size: 18px; color: var(--text-soft); line-height: 1.55; margin-bottom: 32px; }

.cta-final__benefits { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }

.cta-final__benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-soft);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(56, 211, 153, 0.15);
  color: var(--success);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.cta-final__contacts { display: flex; flex-wrap: wrap; gap: 12px; }

.cta-final__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--t-fast);
}

.cta-final__contact:hover { background: rgba(157, 36, 30, 0.1); border-color: var(--accent); color: var(--accent); }
.cta-final__contact svg { width: 16px; height: 16px; }

.cta-final__form {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  position: relative;
}

.cta-final__form-title { font-size: 24px; font-weight: 800; margin-bottom: 24px; text-transform: uppercase; }

.field { margin-bottom: 18px; }

.field__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mute);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.field__input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: all var(--t-fast);
}

.field__input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(157, 36, 30, 0.15);
}

.field__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23B4B4BC' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.field__select option { background: var(--bg-elevated); color: var(--text); }

.field__hint { margin-top: 16px; font-size: 12px; color: var(--text-mute); line-height: 1.5; }
.field__hint a { color: var(--text-soft); text-decoration: underline; text-decoration-color: var(--text-dim); }
.field__radios { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Footer ===== */
.footer { background: #050507; border-top: 1px solid var(--border); padding: 80px 0 32px; position: relative; z-index: 2; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer__tagline { margin-top: 20px; margin-bottom: 24px; color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.footer__socials { display: flex; gap: 12px; }

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  transition: all var(--t-fast);
}

.footer__social svg { width: 14px; height: 14px; }
.footer__social:hover { border-color: var(--accent); color: var(--accent); }

.footer__title { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.footer__list { display: flex; flex-direction: column; gap: 12px; }
.footer__list li, .footer__list a { font-size: 14px; color: var(--text-soft); transition: color var(--t-fast); }
.footer__list a:hover { color: var(--accent); }
.footer__bottom { padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-mute); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 13px; color: var(--text-mute); transition: color var(--t-fast); }
.footer__legal a:hover { color: var(--text); }

/* ===== Modals ===== */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal--open { display: flex; animation: modalIn 0.3s ease both; }

@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }

.modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); }

.modal__window {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  animation: modalSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.modal__scroll { max-height: 90vh; overflow-y: auto; padding: 48px; }
.cases__modal-grid { display: flex; flex-direction: column; gap: 20px; }
.modal__window--sm { max-width: 460px; }
.modal__window--exit { max-width: 480px; text-align: center; }
.modal__window--case { max-width: 780px; }

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--text-soft);
  transition: all var(--t-fast);
  z-index: 6;
}

.modal__close:hover { background: rgba(157, 36, 30, 0.15); color: var(--accent); border-color: var(--accent); }

.modal__head { text-align: center; margin-bottom: 32px; }
.modal__title { font-size: 26px; font-weight: 800; margin: 16px 0 8px; text-transform: uppercase; }
.modal__sub { color: var(--text-soft); font-size: 15px; line-height: 1.5; }

/* ===== Quiz ===== */
.quiz__progress { height: 4px; background: var(--border); border-radius: 100px; overflow: hidden; margin-bottom: 8px; }
.quiz__progress-bar { height: 100%; width: 33%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 100px; transition: width var(--t-slow); }
.quiz__counter { font-size: 13px; color: var(--text-mute); margin-bottom: 28px; text-align: center; letter-spacing: 0.04em; }
.quiz__step { display: none; animation: stepIn 0.4s ease both; }
.quiz__step--active { display: block; }

@keyframes stepIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.quiz__q { font-size: 20px; font-weight: 800; text-align: center; margin-bottom: 28px; text-transform: uppercase; }
.quiz__options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.quiz-opt {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t-fast);
  font-size: 15px;
}

.quiz-opt:hover { background: rgba(157, 36, 30, 0.08); border-color: rgba(157, 36, 30, 0.3); }

.quiz-opt input {
  appearance: none;
  width: 20px; height: 20px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  margin-right: 14px;
  transition: all var(--t-fast);
  position: relative;
  cursor: pointer;
}

.quiz-opt input[type="checkbox"] { border-radius: 6px; }
.quiz-opt input:checked { border-color: var(--accent); background: var(--accent); }

.quiz-opt input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
}

.quiz-opt input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.quiz-opt:has(input:checked) { border-color: var(--accent); background: rgba(157, 36, 30, 0.1); }
.quiz-opt--inline { padding: 10px 16px; font-size: 13px; }
.quiz-opt--inline input { width: 16px; height: 16px; margin-right: 8px; }
.quiz__actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

.simple-form .field { margin-bottom: 14px; }
.exit__inner { padding: 16px; }
.exit__icon { font-size: 56px; margin-bottom: 16px; }
.exit__title { font-size: 32px; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; }
.exit__text { color: var(--text-soft); font-size: 16px; line-height: 1.55; margin-bottom: 24px; }

.exit__inner input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 12px;
}

/* ===== Case Modal ===== */
.case-modal__niche {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(157, 36, 30, 0.12);
  color: var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.case-modal__title { font-size: 26px; font-weight: 800; margin-bottom: 28px; line-height: 1.15; text-transform: uppercase; }

.case-modal__points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }

.case-modal__point {
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.case-modal__point--success { border-color: rgba(56, 211, 153, 0.3); }

.case-modal__point-label { font-size: 11px; font-weight: 700; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.case-modal__point--success .case-modal__point-label { color: var(--success); }

.case-modal__point-val { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.1; }
.case-modal__point--success .case-modal__point-val { color: var(--success); }

.case-modal__point ul { display: flex; flex-direction: column; gap: 6px; }
.case-modal__point li { font-size: 13px; color: var(--text-soft); padding-left: 12px; position: relative; }
.case-modal__point li::before { content: '·'; position: absolute; left: 4px; color: var(--accent); }

.case-modal__section { margin-bottom: 24px; }
.case-modal__section-title { font-size: 13px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.case-modal__list { display: flex; flex-direction: column; gap: 8px; }

.case-modal__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.5;
}

.case-modal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ===== Floating chat ===== */
.floating-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 99;
  box-shadow: 0 8px 32px var(--accent-glow);
  transition: transform var(--t);
}

.floating-chat:hover { transform: scale(1.08); }

.floating-chat__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero__copy .hero__actions { justify-content: center; }
  .hero__visual { max-width: 560px; margin: 0 auto; }
  .nav { display: none; }
  .burger { display: flex; }

  .cases__grid, .services__grid, .pains__grid { grid-template-columns: 1fr; }
  .results__grid, .why__grid, .materials__grid { grid-template-columns: repeat(2, 1fr); }
  .deliverables__grid, .testimonials__grid { grid-template-columns: 1fr; }
  .cost__grid { grid-template-columns: repeat(2, 1fr); }
  .cost__layout { grid-template-columns: 1fr; gap: 40px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .proof__divider { display: none; }

  .cycle { grid-template-columns: 1fr; grid-template-rows: auto; }
  .cycle__center { grid-column: 1; grid-row: 1; margin: 0 auto 8px; }
  .cycle__node--1,.cycle__node--2,.cycle__node--3,.cycle__node--4 { grid-column: 1; grid-row: auto; }
  .cycle__node--1, .cycle__node--2, .cycle__node--3, .cycle__node--4 { grid-row: auto; grid-column: 1; }

  .cta-final__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }

  .team__founder { grid-template-columns: 1fr; text-align: center; gap: 32px; padding: 40px 32px; }
  .team__avatar { margin: 0 auto; }
  .team__founder-bio { text-align: left; }
}

@media (max-width: 768px) {
  .rep__label { font-size: 11px; }
  .rep { padding: 14px 14px 10px; }
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .header__cta .header__phone { display: none; }
  .hero { padding: 140px 0 60px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .proof { grid-template-columns: 1fr 1fr; padding: 24px 20px; gap: 20px; }

  .pains__grid, .services__grid, .cases__grid, .results__grid, .why__grid, .materials__grid, .process__steps,
  .comparison__table, .team__roles, .cost__grid {
    grid-template-columns: 1fr;
  }

  .cost__total { flex-direction: column; gap: 16px; text-align: center; padding: 28px 24px; }
  .cost__total-amount { font-size: 36px; }
  .team__avatar { width: 100%; max-width: 220px; height: auto; }
  .team__structure { padding: 32px 24px; }
  .modal__scroll { padding: 32px 24px; }

  .case-card__metrics { grid-template-columns: 1fr; gap: 12px; }
  .metric--success { text-align: left; }
  .metric__arrow { transform: rotate(90deg); justify-self: center; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  .case-modal__points { grid-template-columns: 1fr; }

  .floating-chat { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .pain-card { padding: 28px 24px; flex-direction: column; gap: 16px; }

  .philosophy { padding: 80px 0; }
}

/* заголовки — Inter (бренд) */
h1,h2,h3,h4,.hero__title,.section__title,[class$="__title"],.quiz__q,.modal__title,.proof__num,.metric__val,.cost__total-text,.result-num,.stat-num{font-family:var(--font-head);}

/* ── hero: две колонки + макет отчёта ── */
.hero__inner { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 52px; align-items: center; text-align: left; }
.hero__copy { min-width: 0; }
.hero__copy .hero__title { max-width: none; }
.hero__visual { min-width: 0; animation: fadeUp 0.8s 0.35s both; }
.rep {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)), #101014;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 18px 18px 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.rep__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rep__caption { font-size: 12px; color: var(--text-soft); }
.rep__tag { font-family: var(--font-head); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent); }
.rep__row { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 6px; }
.rep__row--head { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); padding-bottom: 9px; border-bottom: 1px solid var(--border); border-radius: 0; }
.rep__row--head .rep__cell { display: block; text-align: right; }
.rep__label { font-size: 11.5px; color: var(--text-soft); white-space: nowrap; }
.rep__cell { display: flex; justify-content: flex-end; }
.rep__bar { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.13); }
.rep__row--group { background: rgba(255,255,255,0.05); }
.rep__row--group .rep__label { color: var(--text); font-weight: 700; }
.rep__row--group .rep__bar { background: rgba(255,255,255,0.22); }
.rep__row--total { background: rgba(157,36,30,0.14); }
.rep__row--total .rep__label { color: var(--text); font-weight: 700; }
.rep__row--total .rep__bar { background: rgba(157,36,30,0.85); }
.rep__note { margin-top: 12px; text-align: center; font-size: 11px; color: var(--text-mute); }

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__copy .hero__actions { justify-content: center; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 768px) {
  .rep { padding: 14px 14px 10px; }
  .rep__label { font-size: 11px; }
  .rep__row { padding: 6px 8px; gap: 8px; }
}

@media (max-width: 768px) {
  .footer__list a { display: inline-block; padding: 7px 0; }
}
/* ============================================================
   TEFIN v8 — визуальная система (слой поверх базовой вёрстки)
   структура, тексты и JS не менялись
   ============================================================ */

/* --- фон: локальные круги убраны, среда общая --- */
.cost { background: transparent; border-top: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line); }
.cta-final { background: transparent; overflow: visible; }
.cta-final::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157,36,30,.5), transparent);
}
.philosophy { overflow: visible; padding: 88px 0; }
.footer { background: transparent; border-top: 1px solid var(--border); }
.hero { padding: 150px 0 64px; }
.hero__grid { background-image:
  linear-gradient(rgba(255,244,240,0.022) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,244,240,0.022) 1px, transparent 1px);
  background-size: 96px 96px; }

/* --- типографика: смешанный регистр в заголовках --- */
.section__title, .hero__title, .philosophy__quote, .service-card__title, .deliverable__title,
.cycle__title, .result-card__title, .process-step__title, .comparison__title, .team__founder-name,
.team__structure-title, .team__role-title, .why-card__title, .modal__title, .quiz__q,
.cta-final__title, .cost__total-text, .case-modal__title, .exit__title, .cta-final__form-title,
.case-card__more { text-transform: none; }

.section__title { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.06; letter-spacing: -0.02em; }
.section__sub { font-size: 18px; line-height: 1.55; color: var(--text-soft); }
.section__head { margin-bottom: 48px; }
.hero__title { font-size: clamp(32px, 3.7vw, 50px); letter-spacing: -0.025em; line-height: 1.04; }
.hero__sub { font-size: 18px; color: var(--text-soft); }
.hero__slogan { font-size: 13px; letter-spacing: 0.16em; }
.philosophy__quote { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -0.02em; }
.service-card__title, .cycle__title, .why-card__title, .comparison__title { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
.deliverable__title, .team__role-title { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
.pain-card__title, .case-card__title { font-weight: 700; letter-spacing: -0.01em; line-height: 1.28; }
.team__founder-name { font-size: 34px; letter-spacing: -0.02em; }
.team__structure-title { font-size: 28px; letter-spacing: -0.02em; }
.modal__title, .case-modal__title { font-size: 26px; letter-spacing: -0.02em; line-height: 1.14; }
.quiz__q { font-size: 19px; letter-spacing: -0.01em; text-align: left; font-weight: 700; }
.cta-final__title { letter-spacing: -0.025em; }

/* --- кикеры и теги --- */
.section__kicker {
  font-size: 12px; letter-spacing: 0.18em; padding: 8px 14px;
  border-color: var(--accent-line); background: var(--accent-tint); margin-bottom: 20px;
}
.section__kicker--white { border-color: var(--border-strong); background: rgba(255,244,240,.03); color: var(--text-soft); }
.deliverable__tag, .case-card__niche, .case-modal__niche, .material-card__tag {
  border-radius: var(--radius-xs);
  border: 1px solid var(--accent-line);
  background: var(--accent-tint);
  font-size: 11px; letter-spacing: 0.14em; padding: 6px 12px;
}
.case-card__niche { border-color: var(--border-strong); background: rgba(255,244,240,.05); color: var(--text-soft); }
.process-step__time { border-radius: var(--radius-xs); background: rgba(255,244,240,.05); }

/* --- цифры --- */
.proof__num, .metric__val, .cost-item__amount, .cost__total-amount, .result-card__num,
.case-card__chart-val, .case-modal__point-val, .stat-num {
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}
.proof__num {
  background: none; -webkit-text-fill-color: currentColor; color: var(--text);
  font-size: clamp(32px, 3.6vw, 44px);
}
.proof__small { font-size: 0.36em; letter-spacing: 0.06em; color: var(--accent); -webkit-text-fill-color: var(--accent); }
.proof {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); backdrop-filter: none; padding: 32px;
}
.proof__label { color: var(--text-soft); }
.result-card__num {
  background: none; -webkit-text-fill-color: currentColor; color: var(--text); font-size: 40px;
}

/* --- кнопки --- */
.btn { border-radius: var(--radius-sm); font-size: 15px; }
.btn--sm { border-radius: 10px; }
.btn--primary { background: var(--accent); box-shadow: var(--sh-inset), 0 10px 28px rgba(0,0,0,.45); }
.btn--primary:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: var(--sh-inset), 0 12px 32px rgba(0,0,0,.5); }
.btn--primary:active { background: var(--accent-dark); transform: translateY(0); box-shadow: none; }
.btn--ghost { background: transparent; border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(255,244,240,.05); border-color: rgba(255,244,240,.3); }
.btn--ghost:active { background: rgba(255,244,240,.02); color: var(--text-soft); }
.btn[disabled], .btn:disabled { background: #2A2523; color: var(--text-dim); box-shadow: none; transform: none; cursor: not-allowed; border-color: transparent; }
.case-card__more { letter-spacing: 0.01em; border-bottom: 1px solid var(--accent-line); padding: 12px 0 3px; }
.case-card__more:hover { letter-spacing: 0.01em; color: var(--accent-light); border-color: var(--accent-light); }
.filter-btn { background: transparent; border-color: rgba(255,244,240,.12); }
.filter-btn:hover { border-color: rgba(255,244,240,.3); color: var(--text); }
.filter-btn--active { background: rgba(157,36,30,.16); border-color: var(--accent); color: var(--text); }

/* --- фокус с клавиатуры --- */
:focus-visible { outline: 2px solid #C9C3C0; outline-offset: 2px; }
.btn:focus-visible, .filter-btn:focus-visible, .quiz-opt:focus-within, .modal__close:focus-visible,
.nav__link:focus-visible, .footer__list a:focus-visible, .faq-item__q:focus-visible { outline: 2px solid #C9C3C0; outline-offset: 2px; }
.field__input:focus-visible { outline: none; }

/* --- карточки: единая система --- */
.pain-card, .service-card, .deliverable, .cycle__node, .result-card, .case-card,
.testimonial, .process-step, .why-card, .material-card, .faq-item {
  background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--sh-1);
}
.pain-card:hover, .service-card:hover, .deliverable:hover, .result-card:hover, .case-card:hover,
.testimonial:hover, .process-step:hover, .why-card:hover, .material-card:hover, .cycle__node:hover {
  transform: translateY(-3px); border-color: var(--accent-line); background: #161413;
}
.deliverable::before { display: none; }
.deliverable { padding: 30px; }
.deliverable__title { min-height: 0; margin-bottom: 20px; }
.service-card::after { width: 2px; }
.pain-card__icon, .service-card__icon, .team__role-icon, .process-step__num {
  background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: var(--radius-sm);
}
.process-step__num { border-radius: 50%; }
.deliverables__note, .team__structure {
  background: rgba(157,36,30,.07); border: 1px solid var(--accent-line); border-radius: var(--radius);
}
.case-card__chart, .case-card__metrics, .case-modal__point, .team__role {
  background: #0F0E0E; border: 1px solid rgba(255,244,240,.06); border-radius: var(--radius-sm); backdrop-filter: none;
}
.case-card__chart-track { background: rgba(255,244,240,.08); height: 8px; border-radius: 4px; }
.case-card__chart-fill { border-radius: 4px; }
.metric--success .metric__val, .metric__label { letter-spacing: 0.12em; }
.metric--success .metric__val { color: var(--text); }
.metric--success .metric__label { color: var(--success); }
.metric__arrow { color: var(--text-mute); font-size: 18px; font-weight: 400; }
.cost-item { background: var(--bg-card); border: 1px solid var(--border); backdrop-filter: none; }
.cost-item:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.cost__total { background: var(--accent); box-shadow: none; border-radius: var(--radius); }
.cost__total-text { font-size: 20px; }

/* --- методология --- */
.cycle__center { box-shadow: none; border: 6px solid var(--bg); background: radial-gradient(circle at 32% 30%, var(--accent-light) 0%, var(--accent-dark) 100%); }

/* --- сравнение --- */
.comparison__col { background: var(--bg-card); }
.comparison__col--bad { background: rgba(157,36,30,.05); border-color: var(--accent-line); }
.comparison__col--good { background: rgba(56,211,153,.05); border-color: rgba(56,211,153,.28); }
.comparison__col--good .comparison__icon { background: rgba(56,211,153,.15); color: var(--success); }
.comparison__col--good .comparison__list li::before { background: rgba(56,211,153,.15); color: var(--success); }
.check { background: var(--accent-tint); border: 1px solid var(--accent-line); color: var(--accent); border-radius: var(--radius-xs); width: 20px; height: 20px; }
.case-modal__point--success { border-color: rgba(56,211,153,.3); }

/* --- команда: фото основателя --- */
.team__avatar {
  border-radius: 14px; border: 1px solid var(--border-strong);
  box-shadow: var(--sh-2); background: #0F0E0E;
}
.team__avatar-img { filter: saturate(.92) contrast(1.04); }
.team__avatar::after {
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(157,36,30,.10), transparent 38%, rgba(11,10,10,.7));
}
.team__avatar::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); z-index: 2;
}
.team__founder { padding: 48px; }
.team__founder::before { display: none; }

/* --- отзывы, материалы, FAQ --- */
.testimonials__note { font-style: normal; }
.faq-item { border-radius: var(--radius-sm); }
.faq-item[open] { border-color: var(--accent-line); background: #161413; }
.faq-item__q { font-size: 17px; font-weight: 700; }

/* --- шапка --- */
.header { background: rgba(11,10,10,.72); padding: 14px 0; }
.logo { letter-spacing: 0.05em; }

/* --- поля форм --- */
.field__input, .exit__inner input, .quiz-opt {
  background: var(--bg-inset); border: 1px solid rgba(255,244,240,.1); border-radius: var(--radius-sm);
}
.field__input:focus, .exit__inner input:focus {
  background: var(--bg-inset); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(157,36,30,.22);
}
.field__label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.cta-final__form { background: var(--bg-card); border-color: var(--border-strong); border-radius: 18px; box-shadow: var(--sh-2); }
.cta-final__contact { border-radius: var(--radius-sm); background: rgba(255,244,240,.02); border-color: rgba(255,244,240,.12); }
.cta-final__contact:hover { background: rgba(157,36,30,.1); border-color: var(--accent); color: var(--accent); }

/* --- модалки --- */
.modal__overlay { background: rgba(6,5,5,.78); backdrop-filter: blur(6px); }
.modal__window { background: #161413; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--sh-3); }
.modal__scroll { padding: 40px; }
.modal__close {
  border-radius: 9px; background: rgba(255,244,240,.03); border: 1px solid rgba(255,244,240,.12);
  color: var(--text-soft); top: 20px; right: 20px; width: 34px; height: 34px;
}
.modal__close:hover { background: rgba(255,244,240,.07); border-color: rgba(255,244,240,.3); color: var(--text); }
.modal__head { text-align: left; margin-bottom: 28px; }
.modal__sub { color: var(--text-soft); }
@keyframes modalSlide { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: scale(1); } }

/* --- квиз --- */
.quiz__progress { height: 3px; background: rgba(255,244,240,.08); border-radius: 2px; }
.quiz__progress-bar { background: var(--accent); border-radius: 2px; }
.quiz__counter { text-align: left; margin-bottom: 24px; font-weight: 600; font-size: 12px; }
.quiz-opt { padding: 15px 18px; }
.quiz-opt:hover { background: #262322; border-color: rgba(255,244,240,.24); }
.quiz-opt input { border-radius: 50%; border-width: 1px; border-color: rgba(255,244,240,.24); width: 18px; height: 18px; }
.quiz-opt input[type="checkbox"] { border-radius: 4px; }
.quiz-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* --- плавающая кнопка --- */
.floating-chat { background: var(--accent); box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.floating-chat__pulse { display: none; }

/* --- появление блоков --- */
.reveal { transform: translateY(12px); transition: opacity .5s cubic-bezier(.2,.6,.2,1), transform .5s cubic-bezier(.2,.6,.2,1); }

/* --- панель отчёта в первом экране --- */
.rep {
  background: linear-gradient(180deg, #181615, #131313);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--sh-2), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 0 0 8px;
  overflow: hidden;
}
.rep__top { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(255,244,240,.02); }
.rep__tag { border: 1px solid var(--accent-line); background: var(--accent-tint); padding: 5px 8px; border-radius: 5px; font-size: 10px; }
.rep__row { padding: 8px 18px; border-radius: 0; }
.rep__row--head { padding: 10px 18px; }
.rep__row--group { background: rgba(255,244,240,.03); }
.rep__row--total { background: rgba(157,36,30,.07); }
.rep__row--total:first-of-type { border-top: 1px solid var(--accent-line); }
.rep__row--total .rep__label { color: var(--text); }
.rep__row--total .rep__bar { background: var(--accent); }
.rep__bar { height: 7px; border-radius: 3px; }
.rep__note { margin-top: 14px; }

/* --- разделитель между секциями (по необходимости) --- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }

/* --- адаптив --- */
@media (max-width: 1100px) {
  .section { padding: 88px 0; }
  .cta-final__inner { grid-template-columns: minmax(0, 1fr); }
  .cta-final__left, .cta-final__form { min-width: 0; }
  .cost__layout, .team__founder, .hero__inner, .comparison__table,
  .pains__grid, .services__grid, .cases__grid, .deliverables__grid,
  .testimonials__grid, .results__grid, .why__grid, .materials__grid,
  .process__steps, .cost__grid, .team__roles, .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .results__grid, .why__grid, .materials__grid, .process__steps, .cost__grid, .footer__inner,
  .team__roles, .comparison__table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases__grid, .services__grid, .pains__grid, .deliverables__grid, .testimonials__grid,
  .cost__layout, .team__founder, .hero__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .section { padding: 72px 0; }
  .hero { padding: 132px 0 56px; }
  .philosophy { padding: 72px 0; }
  .team__founder { padding: 32px 24px; }
  .modal__scroll { padding: 32px 22px; }
  .proof { padding: 24px 20px; }
  .rep__row, .rep__row--head, .rep__top { padding-left: 14px; padding-right: 14px; }
  .deliverable { padding: 26px 22px; }
  .cta-final__form { padding: 26px 20px; }
  .btn { white-space: normal; text-align: center; }
  .pains__grid, .services__grid, .cases__grid, .results__grid, .why__grid, .materials__grid,
  .process__steps, .comparison__table, .team__roles, .cost__grid, .footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .field__input, .field__select, .exit__inner input { max-width: 100%; }
}


/* --- доступность и исправления --- */


/* приглушённый текст: контраст 3.60 → 4.97 */
/* карточка-призыв в «3 причины»: правило .why-card перебивало красный градиент */
.why-card--cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-color: var(--accent);
  box-shadow: 0 18px 48px rgba(157, 36, 30, 0.28);
}
.why-card--cta .why-card__title { color: #fff; }
.why-card--cta .why-card__text { color: rgba(255,255,255,0.88); }
.why-card--cta:hover { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); border-color: var(--accent); }

/* ── читаемость: красный остаётся #9D241E, меняется способ его подачи ── */

/* 1. Теги-категории: сплошная фирменная плашка + белый текст (контраст 7.76) */
.material-card__tag, .deliverable__tag {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* 2. Кикеры разделов: светлый текст в нейтральной плашке (контраст 10.96) */
.section__kicker {
  color: var(--text-soft);
  border-color: var(--border-strong);
  background: rgba(255, 244, 240, 0.03);
}

/* 3. «Подробно →» — кликабельный элемент, текст читаемый, стрелка фирменная */
.case-card__more { color: var(--text); }
.case-card__more .case-card__arrow { color: var(--accent); }
.case-card__more:hover { color: #fff; }

/* 4. Смысловые подписи, которые читают */
.team__founder-role, .philosophy__author { color: var(--text-soft); }

/* ══ возврат фирменного красного (по правкам Михаила) ══ */

/* 1. Кикеры разделов: красный текст в прозрачно-красной рамке */
.section__kicker {
  color: var(--accent);
  border-color: rgba(157, 36, 30, 0.32);
  background: rgba(157, 36, 30, 0.08);
}

/* 2. Номера 01–04 в «В первый месяц работы» */
.result-card__num { color: var(--accent); }

/* 3. Ниши в карточках кейсов */
.case-card__niche, .case-modal__niche {
  color: var(--accent);
  border-color: rgba(157, 36, 30, 0.32);
  background: rgba(157, 36, 30, 0.10);
}

/* 5. «Основатель компании» */
.team__founder-role { color: var(--accent); }

/* 6. Текст ответов в FAQ — светлее для чтения длинных абзацев */
.faq-item__a, .faq-item__a p { color: #CFC9C6; }

/* 7. Голова квиза по центру */
#modal-audit .modal__head { text-align: center; }

/* зелёный акцент прироста — как в исходной версии */
.metric--success .metric__val { color: var(--success); }
.case-modal__point--success .case-modal__point-val { color: var(--success); }
.case-modal__point--success .case-modal__point-label { color: var(--success); }

/* макет отчёта: числовые значения вместо полосок */
.rep__cell { display: block; text-align: right; font-size: 11.5px; color: var(--text-soft);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.rep__row--group .rep__cell { color: var(--text); font-weight: 700; }
.rep__row--total .rep__cell { color: var(--accent); font-weight: 700; }
.rep__row--head .rep__cell { font-size: 10px; color: var(--text-mute); }
.footer__requisites { font-size: 13px; color: var(--text-mute); line-height: 1.65; margin-bottom: 8px; }
.footer__requisites a { color: inherit; text-decoration: none; }
.footer__requisites a:hover { color: var(--text-soft); }

/* ═══════════ МОБИЛЬНАЯ АДАПТАЦИЯ ═══════════ */
@media (max-width: 768px) {
  /* 1. Плотнее по вертикали: 38 экранов — слишком длинно для пальца */
  .section { padding: 52px 0; }
  .philosophy { padding: 56px 0; }
  .hero { padding: 108px 0 48px; }
  .section__head { margin-bottom: 30px; }
  .container { padding: 0 18px; }

  /* 2. Карточки компактнее */
  .case-card { padding: 22px 18px; }
  .case-card__chart { margin: 14px 0; }
  .pain-card, .service-card, .deliverable, .why-card, .material-card,
  .testimonial, .process-step, .result-card { padding: 22px 18px; }
  .cost__stack .cost-item { padding: 16px 18px; }

  /* 3. Читаемые кегли: 11px на телефоне мелко */
  .rep__label { font-size: 12.5px; }
  .rep__cell { font-size: 12.5px; }
  .rep__row--head .rep__cell, .rep__row--head .rep__label { font-size: 11px; }
  .rep__caption { font-size: 12.5px; }
  .rep__note { font-size: 12px; }
  .case-card__platforms, .footer__requisites { font-size: 12.5px; }

  /* 4. Тач-цели не меньше 44px */
  .footer__list a, .nav a { display: inline-block; padding: 9px 0; }
  .cases__filter button { min-height: 44px; padding: 10px 16px; }
  .faq-item__q { min-height: 52px; }

  /* 5. Формы: крупнее ввод, без зума в iOS (шрифт ≥16px) */
  .field__input, .field__select, .exit__inner input { font-size: 16px; min-height: 50px; }
  .quiz-opt { min-height: 50px; }
  .btn { min-height: 50px; }
  .btn--lg { min-height: 56px; }

  /* 6. Модалки во весь экран — на телефоне так удобнее */
  .modal__window { max-height: 92vh; border-radius: 16px; }
  .modal__scroll { padding: 26px 18px; }
  .modal__close { top: 12px; right: 12px; }
}

/* 7. Липкая кнопка: на странице в 38 экранов CTA должен быть под рукой всегда */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.28s cubic-bezier(.2,.6,.2,1);
}
.mcta--on { transform: translateY(0); }
.mcta .btn { width: 100%; min-height: 52px; font-size: 16px; }
@media (max-width: 768px) { .mcta { display: block; } body { padding-bottom: 0; } }
.anchor-alias { display: block; height: 0; scroll-margin-top: 90px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
