/* =========================================================
   Zetronix — B2B-портал | Коммерческое предложение
   Дизайн-система и стили слайдовой презентации
   ========================================================= */

:root {
  /* Палитра */
  --navy: #0F172A;
  --navy-2: #1E293B;
  --accent: #0369A1;
  --accent-2: #0EA5E9;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --accent-soft: rgba(3, 105, 161, 0.10);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 30px 60px rgba(15, 23, 42, 0.18), 0 12px 24px rgba(15, 23, 42, 0.10);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden; /* слайдовый режим */
}

body { font-size: 17px; line-height: 1.6; }

/* ---------- Прогресс-бар (верх) ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: rgba(15, 23, 42, 0.08);
  z-index: 60;
}
.progress-bar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(3, 105, 161, 0.5);
}

/* ---------- Шапка слайда ---------- */
.slide-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  pointer-events: none;
}
.slide-header__brand { display: flex; align-items: center; gap: 12px; pointer-events: auto; }
.brand-logo { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand-legal { font-size: 12px; color: var(--muted); font-weight: 500; }

.slide-header__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--surface);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
}

/* ---------- Кнопка PDF ---------- */
.print-hint {
  position: fixed;
  top: 78px; right: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}
.print-hint:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--accent); }
.print-hint i { width: 15px; height: 15px; }

/* ---------- Колода слайдов ---------- */
.deck {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 7vw 96px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(60px) scale(0.98);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 0.55s;
  will-change: opacity, transform;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  transition-delay: 0s, 0s, 0s;
  z-index: 2;
}
.slide.is-exiting-left { transform: translateX(-60px) scale(0.98); }
.slide.is-exiting-right { transform: translateX(60px) scale(0.98); }

.slide__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ---------- Фоны слайдов ---------- */
.slide__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--bg);
}
.slide__bg--hero,
.slide__bg--solution,
.slide__bg--tech,
.slide__bg--budget,
.slide__bg--contacts {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(3, 105, 161, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(14, 165, 233, 0.10), transparent 55%),
    linear-gradient(180deg, #F8FAFC 0%, #EEF4FA 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.blob--1 {
  width: 460px; height: 460px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(3, 105, 161, 0.45), transparent 70%);
}
.blob--2 {
  width: 520px; height: 520px;
  bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.40), transparent 70%);
}
.blob--muted { opacity: 0.30; }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(900px 600px at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(900px 600px at 50% 40%, #000 30%, transparent 80%);
}

/* ---------- Типографика слайдов ---------- */
.slide__head { margin-bottom: 36px; max-width: 880px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.slide__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 14px;
}
.slide__lead {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0;
}

/* ---------- HERO ---------- */
.hero { text-align: center; max-width: 1000px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 22px;
}
.hero__subtitle {
  font-size: clamp(16px, 1.7vw, 22px);
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 auto 40px;
}
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  min-width: 200px;
  text-align: left;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.stat__label { font-size: 14px; color: var(--muted); line-height: 1.35; }
.hero__cta { display: flex; justify-content: center; }
.cta-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  background: var(--accent-soft);
  padding: 10px 18px;
  border-radius: 999px;
}
.cta-hint i { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Карточки проблем ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-card i {
  width: 30px; height: 30px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 8px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.problem-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 8px;
}
.problem-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Решение: поток ---------- */
.solution-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap;
}
.flow-step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}
.flow-step__icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.35);
}
.flow-step__icon i { width: 26px; height: 26px; }
.flow-step h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 6px;
}
.flow-step p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex: 0 0 auto;
}
.flow-arrow i { width: 26px; height: 26px; }

.solution-note {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: #F8FAFC;
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
}
.solution-note i { width: 22px; height: 22px; color: var(--accent-2); flex: 0 0 auto; }
.solution-note span { font-size: 15.5px; }
.solution-note strong { color: #fff; }

/* ---------- Возможности ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.feature i {
  width: 38px; height: 38px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 9px;
  margin-bottom: 14px;
}
.feature h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 6px;
}
.feature p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Технологии ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tech-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.tech-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tech-card__head i {
  width: 36px; height: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 10px;
  padding: 8px;
}
.tech-card__head h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0;
}
.tech-list { list-style: none; margin: 0; padding: 0; }
.tech-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.tech-list li:last-child { border-bottom: none; }
.tech-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- Диаграмма Ганта ---------- */
.gantt {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-md);
}
.gantt {
  --gantt-cols: 12;
  --gantt-label: 220px;
}
.gantt__axis {
  display: grid;
  grid-template-columns: var(--gantt-label) repeat(var(--gantt-cols), 1fr);
  gap: 6px;
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
}
.gantt__axis span { text-align: center; }
.gantt__axis span:first-child { text-align: left; }

.gantt__row {
  display: grid;
  grid-template-columns: var(--gantt-label) repeat(var(--gantt-cols), 1fr);
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}
.gantt__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-head);
}
.gantt__track {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: repeat(var(--gantt-cols), 1fr);
  gap: 6px;
  height: 40px;
  background: linear-gradient(90deg,
    rgba(15,23,42,0.04) 1px, transparent 1px) 0 0 / calc(100%/var(--gantt-cols)) 100%;
  border-radius: 8px;
  position: relative;
}
.gantt__bar {
  grid-row: 1;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 6px 16px rgba(3, 105, 161, 0.30);
  transform-origin: left center;
}
.gantt__bar--1 { background: linear-gradient(90deg, #0369A1, #0EA5E9); }
.gantt__bar--2 { background: linear-gradient(90deg, #0EA5E9, #38BDF8); }
.gantt__bar--3 { background: linear-gradient(90deg, #0369A1, #0284C7); }
.gantt__bar--4 { background: linear-gradient(90deg, #0284C7, #0EA5E9); }
.gantt__bar--5 { background: linear-gradient(90deg, #1E293B, #0369A1); }
.gantt__bar--6 { background: linear-gradient(90deg, #0369A1, #38BDF8); }
.gantt__bar--7 { background: linear-gradient(90deg, #0F172A, #1E293B); }
.gantt__bar--8 { background: linear-gradient(90deg, #0369A1, #0EA5E9); }

/* Milestones (MVP / Release) */
.gantt__milestones {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.milestone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.milestone i { width: 18px; height: 18px; }
.milestone--mvp { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.milestone--release { background: linear-gradient(135deg, var(--navy), var(--accent)); }

/* ---------- Бюджет ---------- */
.budget-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  align-items: start;
}
.budget-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 24px;
  box-shadow: var(--shadow-md);
}
.budget-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.budget-row:last-child { border-bottom: none; }
.budget-row span:last-child { font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.budget-row--head {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid var(--navy);
}
.budget-row--head span:last-child { color: var(--muted); }
.budget-row--total {
  background: var(--navy);
  color: #fff;
  margin: 8px -24px 0;
  padding: 16px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 18px;
}
.budget-row--total span { color: #fff !important; }
.budget-row--total span:last-child { color: var(--accent-2) !important; font-size: 20px; }

.budget-payments {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.payments-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 18px;
}
.payments { display: flex; gap: 12px; }
.payment {
  flex: 1;
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.payment--1 { background: linear-gradient(160deg, #0369A1, #0EA5E9); }
.payment--2 { background: linear-gradient(160deg, #0F172A, #0369A1); }
.payment--3 { background: linear-gradient(160deg, #1E293B, #0284C7); }
.payment__pct {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.payment__sum { font-weight: 700; font-size: 15px; margin: 4px 0 8px; }
.payment__label { font-size: 12.5px; opacity: 0.92; line-height: 1.35; }
.payments-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.payments-note i { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Команда ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__avatar {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(3, 105, 161, 0.35);
}
.team-card__avatar i { width: 28px; height: 28px; }
.team-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 8px;
}
.team-card p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.team-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Понимание задачи (слайд 2) ---------- */
.understand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.understand-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.understand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.understand-card i {
  width: 38px; height: 38px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 9px;
  margin-bottom: 14px;
}
.understand-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 8px;
}
.understand-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.understand-card--accent {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-color: var(--navy);
}
.understand-card--accent i { color: var(--accent-2); background: rgba(14, 165, 233, 0.18); }
.understand-card--accent h3 { color: #fff; }
.understand-card--accent p { color: rgba(248, 250, 252, 0.85); }
.understand-card--accent strong { color: var(--accent-2); }

/* ---------- Архитектурная диаграмма (слайд 3) ---------- */
.arch-diagram {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 22px;
}
.arch-node {
  flex: 0 0 auto;
  width: 180px;
  text-align: center;
  border-radius: var(--radius);
  padding: 22px 16px;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.arch-node--erp { background: linear-gradient(160deg, var(--navy), var(--navy-2)); }
.arch-node--portal { background: linear-gradient(160deg, var(--accent), var(--accent-2)); }
.arch-node__icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  display: flex; align-items: center; justify-content: center;
}
.arch-node__icon i { width: 28px; height: 28px; color: #fff; }
.arch-node__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.arch-node__sub { font-size: 12.5px; opacity: 0.85; margin-top: 4px; }

.arch-flow {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.arch-arrow { color: var(--accent); flex: 0 0 auto; }
.arch-arrow i { width: 26px; height: 26px; }
.arch-buf {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
}
.arch-buf i { width: 28px; height: 28px; color: var(--accent); }
.arch-buf span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.3;
}
.arch-buf--gateway { border-style: solid; border-color: var(--navy); background: var(--navy); }
.arch-buf--gateway i { color: var(--accent-2); }
.arch-buf--gateway span { color: #fff; }

.arch-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.arch-point {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.arch-point i { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; }
.arch-point span { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Менеджерский модуль (слайд 5) ---------- */
.manager-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.manager-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.manager-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.manager-card__head i {
  width: 40px; height: 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  padding: 9px;
}
.manager-card__head h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0;
}
.manager-list { list-style: none; margin: 0; padding: 0; }
.manager-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  line-height: 1.45;
}
.manager-list li:last-child { border-bottom: none; }
.manager-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 15px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- Административный модуль (слайд 6) ---------- */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.admin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.admin-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.admin-card i {
  width: 38px; height: 38px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 9px;
  margin-bottom: 14px;
}
.admin-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 6px;
}
.admin-card p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.admin-card--accent {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-color: var(--navy);
}
.admin-card--accent i { color: var(--accent-2); background: rgba(14, 165, 233, 0.18); }
.admin-card--accent h3 { color: #fff; }
.admin-card--accent p { color: rgba(248, 250, 252, 0.85); }

/* ---------- Мессенджер и Push (слайд 7) ---------- */
.comms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.comms-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.comms-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.25;
}
.comms-card--chat::before { background: var(--accent); }
.comms-card--push::before { background: var(--accent-2); }
.comms-card__icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(3, 105, 161, 0.35);
  position: relative;
}
.comms-card__icon i { width: 30px; height: 30px; }
.comms-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 16px;
  position: relative;
}
.comms-list { list-style: none; margin: 0; padding: 0; position: relative; }
.comms-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  line-height: 1.5;
}
.comms-list li:last-child { border-bottom: none; }
.comms-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 17px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- Мобильность (слайд 8) ---------- */
.mobile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mobile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.mobile-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mobile-card__head i {
  width: 40px; height: 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  padding: 9px;
}
.mobile-card__head h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0;
}
.mobile-list { list-style: none; margin: 0; padding: 0; }
.mobile-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  line-height: 1.45;
}
.mobile-list li:last-child { border-bottom: none; }
.mobile-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 15px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- Гарантия и SLA (слайд 12) ---------- */
.sla-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sla-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.sla-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.sla-card__icon i { width: 24px; height: 24px; }
.sla-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 10px;
}
.sla-card__big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 32px;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.sla-card p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.sla-list { list-style: none; margin: 0 0 14px; padding: 0; }
.sla-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  line-height: 1.45;
}
.sla-list li:last-child { border-bottom: none; }
.sla-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 13px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.sla-card__price {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  padding-top: 10px;
  border-top: 2px solid var(--accent-soft);
}
.sla-card--guarantee {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-color: var(--navy);
  color: #fff;
}
.sla-card--guarantee .sla-card__icon { background: rgba(14, 165, 233, 0.18); color: var(--accent-2); }
.sla-card--guarantee h3 { color: #fff; }
.sla-card--guarantee .sla-card__big { color: var(--accent-2); }
.sla-card--guarantee p { color: rgba(248, 250, 252, 0.85); }

/* ---------- Контакты ---------- */
.contacts { max-width: 980px; margin: 0 auto; text-align: center; }
.contacts__intro { margin-bottom: 36px; }
.contacts__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 14px 0 16px;
}
.contacts__lead {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto;
}
.contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  color: inherit;
}
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.contact-item i {
  width: 38px; height: 38px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 9px;
  margin-bottom: 6px;
}
.contact-item__label { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.contact-item__value { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--navy); }

.contacts__sign {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--navy);
  color: #fff;
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.brand-logo--lg { flex: 0 0 auto; }
.brand-name--lg { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: #fff; }
.brand-legal--lg { font-size: 13px; color: rgba(248, 250, 252, 0.7); }

/* ---------- Навигация: кнопки + счётчик ---------- */
.nav-controls {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  box-shadow: var(--shadow-lg);
}
.nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 16px rgba(3, 105, 161, 0.35);
}
.nav-btn:hover { background: var(--navy); transform: scale(1.06); }
.nav-btn:active { transform: scale(0.96); }
.nav-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
.nav-btn i { width: 22px; height: 22px; }
.nav-counter {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  min-width: 78px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ---------- Точки-индикаторы ---------- */
.dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}
.dot:hover { background: var(--accent); transform: scale(1.2); }
.dot.is-active {
  background: var(--accent);
  transform: scale(1.35);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ---------- Тултип первого запуска ---------- */
.tooltip {
  position: fixed;
  bottom: 92px; left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}
.tooltip.is-visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.tooltip i { width: 18px; height: 18px; color: var(--accent-2); }
.tooltip__close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  padding: 2px;
  margin-left: 4px;
}
.tooltip__close:hover { color: #fff; }
.tooltip__close i { width: 16px; height: 16px; color: inherit; }

/* ---------- Lucide: базовый размер ---------- */
[data-lucide] { width: 24px; height: 24px; stroke-width: 2; }

:root {
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 38px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.14);
}

body { letter-spacing: -0.005em; }

.slide {
  padding: 88px clamp(48px, 6vw, 104px) 82px;
  transform: translateX(32px);
  transition-duration: 0.46s;
}
.slide.is-active { transform: translateX(0); }
.slide.is-exiting-left { transform: translateX(-32px); }
.slide.is-exiting-right { transform: translateX(32px); }
.slide::after {
  content: attr(data-slide);
  position: absolute;
  right: clamp(54px, 7vw, 120px);
  top: 64px;
  z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(72px, 9vw, 138px);
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 23, 42, 0.035);
  pointer-events: none;
}
.slide__inner { max-width: 1240px; }
.slide__bg { background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 55%, #EFF6FA 100%); }
.slide__bg--hero,
.slide__bg--solution,
.slide__bg--tech,
.slide__bg--budget,
.slide__bg--contacts {
  background:
    linear-gradient(90deg, rgba(3, 105, 161, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(3, 105, 161, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 55%, #EAF3F8 100%);
  background-size: 64px 64px, 64px 64px, auto;
}
.blob { opacity: 0.18; filter: blur(90px); }
.grid-overlay { opacity: 0.35; background-size: 64px 64px; }

.progress-bar { height: 3px; background: rgba(15, 23, 42, 0.08); }
.progress-bar__fill { box-shadow: none; transition-duration: 0.35s; }
.slide-header { height: 68px; padding: 0 clamp(24px, 3vw, 48px); }
.slide-header::after {
  content: "RFP · B2B COMMERCE";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.brand-name { font-size: 17px; letter-spacing: -0.02em; }
.slide-header__label {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-left: 2px solid var(--accent);
  box-shadow: none;
  padding: 2px 0 2px 12px;
  letter-spacing: 0.11em;
}
.print-hint {
  top: auto;
  right: clamp(20px, 3vw, 48px);
  bottom: 28px;
  border-radius: 8px;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.slide__head {
  max-width: none;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  column-gap: 34px;
  row-gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-tag {
  grid-row: 1 / span 2;
  align-self: start;
  margin: 4px 0 0;
  padding: 0 0 12px;
  border-radius: 0;
  border-bottom: 3px solid var(--accent);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.slide__title {
  font-size: clamp(32px, 3.9vw, 52px);
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 940px;
}
.slide__lead {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
  max-width: 850px;
}

.hero {
  text-align: left;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  column-gap: clamp(36px, 6vw, 96px);
  align-items: end;
}
.hero .eyebrow,
.hero__title,
.hero__subtitle,
.hero__cta { grid-column: 1; }
.eyebrow {
  justify-self: start;
  border: 0;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 3px 0 3px 14px;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(43px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}
.hero__subtitle {
  margin: 0 0 28px;
  max-width: 820px;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.58;
}
.hero__stats {
  grid-column: 2;
  grid-row: 1 / span 5;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--navy);
}
.stat {
  min-width: 0;
  padding: 24px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.stat__num { font-size: clamp(25px, 2.5vw, 36px); letter-spacing: -0.04em; }
.stat__label { font-size: 13px; }
.hero__cta { justify-content: flex-start; }
.cta-hint { border-radius: 8px; padding: 10px 14px; }

.problem-card,
.feature,
.tech-card,
.team-card,
.understand-card,
.manager-card,
.admin-card,
.mobile-card,
.sla-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--navy);
}
.problem-card:hover,
.feature:hover,
.team-card:hover,
.understand-card:hover,
.admin-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature,
.admin-card { padding: 20px; }
.feature i,
.admin-card i,
.problem-card i {
  background: transparent;
  padding: 0;
  border-radius: 0;
  width: 27px;
  height: 27px;
}
.features-grid,
.admin-grid { gap: 13px; }
.feature h3,
.admin-card h3 { font-size: 15px; }
.feature p,
.admin-card p { font-size: 13px; }
.understand-card--accent,
.admin-card--accent { border-top-color: var(--accent-2); }

.arch-diagram {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.arch-node { border-radius: 12px; box-shadow: none; }
.arch-buf { border-radius: 8px; }
.arch-point { border-radius: 8px; box-shadow: none; }

.comms-card {
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.comms-card__icon,
.manager-card__head i,
.mobile-card__head i,
.tech-card__head i,
.sla-card__icon {
  border-radius: 10px;
  box-shadow: none;
}

.gantt {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
}
.gantt__bar { height: 34px; border-radius: 6px; box-shadow: none; }
.gantt__track { height: 34px; }
.milestone { border-radius: 7px; box-shadow: none; }

.budget-table,
.budget-payments {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.budget-table { border-top: 4px solid var(--navy); }
.budget-payments { border-top: 4px solid var(--accent); }
.payment { border-radius: 9px; box-shadow: none; }

.sla-card--guarantee { border-top-color: var(--accent-2); }
.sla-card__price { font-size: 20px; }

.team-card {
  padding: 0 0 20px;
  overflow: hidden;
  text-align: left;
  background: var(--surface);
}
.team-card__photo {
  position: relative;
  height: 190px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(3,105,161,0.12), rgba(15,23,42,0.05)),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(3,105,161,0.06) 32px);
  border-bottom: 1px solid var(--line);
}
.team-card__photo > span {
  position: absolute;
  left: 18px;
  bottom: 8px;
  font-family: var(--font-head);
  font-size: 54px;
  font-weight: 800;
  color: rgba(3, 105, 161, 0.18);
  line-height: 1;
}
.team-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.82) contrast(1.04);
}
.team-card__role {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 17px 18px 8px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.team-card__role i { width: 15px; height: 15px; }
.team-card h3 { margin: 0 18px 7px; font-size: 16px; }
.team-card p { margin: 0 18px; font-size: 12.5px; line-height: 1.45; }

.contacts { text-align: left; max-width: 1060px; }
.contacts__intro { max-width: 820px; margin-bottom: 30px; }
.contacts__title { letter-spacing: -0.045em; }
.contacts__lead { margin: 0; }
.contact-item {
  align-items: flex-start;
  border-radius: var(--radius);
  border-top: 3px solid var(--navy);
  box-shadow: var(--shadow-sm);
}
.contact-item i { background: transparent; padding: 0; border-radius: 0; width: 27px; height: 27px; }
.contacts__sign { border-radius: 12px; box-shadow: none; }

.nav-controls {
  bottom: 24px;
  padding: 5px 8px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
}
.nav-btn { width: 40px; height: 40px; border-radius: 8px; box-shadow: none; }
.nav-counter { font-size: 13px; }
.dots {
  right: 28px;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.dot { width: 7px; height: 7px; }
.dot.is-active { transform: scale(1.2); box-shadow: 0 0 0 3px var(--accent-soft); }

button:focus-visible,
a:focus-visible,
.dot:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.45);
  outline-offset: 3px;
}

@media (max-height: 820px) and (min-width: 821px) {
  .slide { padding-top: 76px; padding-bottom: 70px; }
  .slide__head { margin-bottom: 20px; padding-bottom: 17px; }
  .section-tag { font-size: 10px; }
  .slide__title { font-size: clamp(29px, 3.2vw, 44px); }
  .slide__lead { font-size: 14.5px; }
  .features-grid, .admin-grid { gap: 10px; }
  .feature, .admin-card { padding: 15px 17px; }
  .feature i, .admin-card i { margin-bottom: 8px; }
  .tech-card { padding: 15px 18px; }
  .tech-card__head { margin-bottom: 8px; }
  .tech-list li { padding-top: 4px; padding-bottom: 4px; font-size: 12.5px; }
  .gantt { padding-top: 14px; padding-bottom: 14px; }
  .gantt__row { margin-bottom: 6px; }
  .gantt__bar, .gantt__track { height: 29px; }
  .gantt__bar { font-size: 10.5px; }
  .gantt__milestones { margin-top: 10px; }
  .milestone { padding: 7px 11px; font-size: 11px; }
  .budget-row { padding: 9px 0; font-size: 13px; }
  .budget-payments { padding: 18px; }
  .payment { padding: 13px 8px; }
  .payment__pct { font-size: 23px; }
  .sla-card { padding: 17px; }
  .sla-list li { padding-top: 4px; padding-bottom: 4px; font-size: 12px; }
  .team-card__photo { height: 145px; }
  .team-card p { font-size: 11.5px; }
}

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1100px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts__grid { grid-template-columns: repeat(2, 1fr); }
  .budget-wrap { grid-template-columns: 1fr; }
  .understand-grid { grid-template-columns: repeat(2, 1fr); }
  .manager-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: repeat(2, 1fr); }
  .comms-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-grid { grid-template-columns: repeat(2, 1fr); }
  .sla-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .arch-points { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  html {
    height: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 58px;
  }
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 16px;
    background: var(--bg);
  }
  .deck {
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .progress-bar { display: none; }
  .slide-header {
    position: sticky;
    top: 0;
    height: 58px;
    padding: 0 16px;
    background: rgba(248, 250, 252, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(16px);
    pointer-events: auto;
  }
  .slide-header::after,
  .slide-header__label,
  .print-hint,
  .nav-controls,
  .dots,
  .tooltip { display: none !important; }
  .brand-logo svg { width: 26px; height: 26px; }
  .brand-name { font-size: 15px; }
  .brand-legal { font-size: 10px; }

  .slide {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 42px 18px 54px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    border-bottom: 1px solid var(--line);
  }
  .slide:first-child {
    min-height: calc(100svh - 58px);
    display: flex;
    align-items: center;
    padding-top: 34px;
    padding-bottom: 42px;
  }
  .slide.is-active,
  .slide.is-exiting-left,
  .slide.is-exiting-right { transform: none; }
  .slide::after {
    top: 24px;
    right: 14px;
    font-size: 58px;
    color: rgba(15, 23, 42, 0.04);
  }
  .slide__inner { width: 100%; max-width: none; }
  .slide__bg--hero,
  .slide__bg--solution,
  .slide__bg--tech,
  .slide__bg--budget,
  .slide__bg--contacts { background-size: 44px 44px, 44px 44px, auto; }
  .blob { opacity: 0.1; }

  .slide__head {
    display: block;
    margin: 0 0 24px;
    padding: 0 0 18px;
  }
  .section-tag {
    display: inline-block;
    margin: 0 0 14px;
    padding: 0 0 7px;
    font-size: 10px;
  }
  .slide__title {
    max-width: 92%;
    margin: 0 0 11px;
    font-size: clamp(29px, 8.5vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }
  .slide__lead {
    max-width: none;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero { display: block; }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero__title {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(35px, 10vw, 51px);
    line-height: 1.03;
  }
  .hero__subtitle { margin-bottom: 26px; color: #475569; font-size: 15px; line-height: 1.55; }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 0 22px;
    border-top: 1px solid var(--navy);
  }
  .stat {
    min-width: 0;
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
  }
  .stat__num { font-size: 27px; }
  .stat__label { font-size: 12px; }
  .hero__cta { display: none; }

  .problem-grid,
  .features-grid,
  .tech-grid,
  .team-grid,
  .team-grid--4,
  .contacts__grid,
  .understand-grid,
  .manager-grid,
  .admin-grid,
  .comms-grid,
  .mobile-grid,
  .sla-grid,
  .arch-points,
  .budget-wrap { grid-template-columns: 1fr; gap: 12px; }

  .problem-card,
  .feature,
  .tech-card,
  .understand-card,
  .manager-card,
  .admin-card,
  .mobile-card,
  .sla-card,
  .comms-card {
    padding: 18px;
    border-radius: 12px;
  }
  .problem-card:hover,
  .feature:hover,
  .team-card:hover,
  .understand-card:hover,
  .admin-card:hover,
  .contact-item:hover { transform: none; box-shadow: var(--shadow-sm); }
  .problem-card h3,
  .manager-card__head h3,
  .mobile-card__head h3,
  .tech-card__head h3 { font-size: 16px; }
  .problem-card p,
  .feature p,
  .admin-card p,
  .understand-card p,
  .manager-list li,
  .mobile-list li,
  .tech-list li { font-size: 13px; }

  .arch-diagram {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    padding: 16px;
  }
  .arch-node { width: 100%; padding: 17px 14px; }
  .arch-node__icon { width: 46px; height: 46px; margin-bottom: 8px; }
  .arch-flow { flex-direction: column; width: 100%; gap: 7px; }
  .arch-arrow { transform: rotate(90deg); height: 24px; }
  .arch-buf { width: 100%; padding: 13px 10px; }
  .arch-point { align-items: flex-start; padding: 13px 14px; }
  .arch-point span { font-size: 13px; }

  .solution-flow { flex-direction: column; gap: 8px; }
  .flow-step { padding: 18px 16px; }
  .flow-arrow { transform: rotate(90deg); padding: 0; height: 24px; }
  .solution-note { margin-top: 16px; padding: 15px; }

  .comms-card__icon { width: 52px; height: 52px; margin-bottom: 14px; }
  .comms-card h3 { font-size: 19px; }
  .comms-list li { padding: 8px 0 8px 25px; font-size: 13px; }

  .gantt {
    --gantt-label: auto;
    padding: 16px;
    border-left-width: 3px;
    overflow: visible;
  }
  .gantt__axis { display: none; }
  .gantt__row {
    display: block;
    margin: 0 0 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--bg);
  }
  .gantt__label {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.35;
  }
  .gantt__track {
    display: block;
    width: 100%;
    height: auto;
    background: none;
  }
  .gantt__bar {
    display: flex;
    width: 100%;
    min-height: 34px;
    height: auto;
    grid-column: auto !important;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
  }
  .gantt__milestones { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .milestone { width: 100%; padding: 9px 11px; font-size: 11px; }

  .budget-table,
  .budget-payments { border-radius: 12px; box-shadow: var(--shadow-sm); }
  .budget-table { padding: 6px 16px; }
  .budget-row { align-items: flex-start; gap: 14px; padding: 11px 0; font-size: 12.5px; line-height: 1.4; }
  .budget-row span:first-child { flex: 1 1 auto; }
  .budget-row span:last-child { flex: 0 0 auto; white-space: nowrap; font-size: 12px; }
  .budget-row--total { margin: 6px -16px 0; padding: 14px 16px; }
  .budget-row--total span:last-child { font-size: 16px; }
  .budget-payments { padding: 16px; }
  .payments { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .payment {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    text-align: left;
  }
  .payment__pct { font-size: 22px; }
  .payment__sum { margin: 0; font-size: 13px; }
  .payment__label { text-align: right; font-size: 10.5px; }
  .payments-note { align-items: flex-start; font-size: 12px; }

  .sla-card__big { font-size: 28px; }
  .sla-card__price { font-size: 18px; }

  .team-card { padding-bottom: 18px; border-radius: 12px; }
  .team-card__photo { height: min(82vw, 340px); }
  .team-card__role { margin-top: 15px; }
  .team-card h3 { font-size: 17px; }
  .team-card p { font-size: 13px; }

  .contacts { text-align: left; }
  .contacts__intro { margin-bottom: 24px; }
  .contacts__title { font-size: clamp(34px, 10vw, 48px); }
  .contact-item { min-height: 0; padding: 17px; }
  .contact-item__value { font-size: 15px; overflow-wrap: anywhere; }
  .contacts__sign {
    display: flex;
    width: 100%;
    min-width: 0;
    padding: 15px 17px;
    border-radius: 10px;
  }
  .contacts__sign > div:last-child { min-width: 0; }
  .brand-legal--lg { overflow-wrap: anywhere; }
}

@media (max-width: 390px) {
  .slide { padding-right: 15px; padding-left: 15px; }
  .slide__title { font-size: 28px; }
  .hero__title { font-size: 34px; }
  .budget-row { font-size: 11.5px; }
  .budget-row span:last-child { font-size: 11px; }
  .payment { grid-template-columns: 52px 1fr; }
  .payment__label { grid-column: 1 / -1; text-align: left; }
}

/* ---------- Печать / PDF ---------- */
@media print {
  html, body { overflow: visible; height: auto; background: #fff; }
  .progress-bar, .slide-header, .print-hint, .nav-controls, .dots, .tooltip { display: none !important; }
  .deck { height: auto; overflow: visible; }
  .slide {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 100vh;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    page-break-after: always;
    padding: 40px 6vw;
  }
  .slide__inner { opacity: 1 !important; transform: none !important; }
  .blob, .grid-overlay { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Снижение анимаций по предпочтению ---------- */
@media (prefers-reduced-motion: reduce) {
  .slide, .progress-bar__fill, .nav-btn, .dot, .tooltip { transition: none !important; }
}
