/* ============================================================
   Промышленный инжиниринг — Было / Стало (презентация-сравнение)
   Палитра: #0D1524 (тёмный) + #E8A020 (золото) + #F4F5F0 (светлый)
   ============================================================ */

:root {
  --ink: #0D1524;
  --ink-2: #101C30;
  --gold: #E8A020;
  --gold-soft: #F0B84C;
  --light: #F4F5F0;
  --paper: #FFFFFF;
  --text: #1B2430;
  --muted: rgba(244,245,240,0.66);
  --muted-dark: rgba(27,36,48,0.62);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--ink);
  color: var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { display: none; }
body::-webkit-scrollbar { display: none; }

/* ---------- Шапка ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 14px 28px;
  background: rgba(13,21,36,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232,160,32,0.25);
}
.top-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: #F4F5F0; font-weight: 800; font-size: 14px; letter-spacing: 0.12em; display: flex; align-items: center; gap: 8px; }
.brand-mark { color: var(--gold); font-size: 16px; }
.top-label { color: var(--muted); font-size: 12px; letter-spacing: 0.06em; }

/* ---------- Слайды ---------- */
.slide {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 90px 28px 56px;
  scroll-snap-align: start;
  overflow: hidden;
}
.slide-inner {
  width: 100%; max-width: 1180px; margin: 0 auto;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.slide.active .slide-inner { opacity: 1; transform: translateY(0); }

.slide.dark { background: var(--ink); color: #F4F5F0; }
.slide.light { background: var(--light); color: var(--text); }

/* Обложка и финал */
.cover, .final { background: var(--ink); color: #F4F5F0; }
.cover-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(232,160,32,0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(232,160,32,0.10), transparent 55%),
    linear-gradient(160deg, #0D1524 0%, #12203A 55%, #0A111D 100%);
}
.cover-inner, .final-inner { position: relative; text-align: center; }

h1 {
  font-size: clamp(56px, 11vw, 140px);
  font-weight: 900; line-height: 1.02; letter-spacing: -0.02em;
  margin: 18px 0 26px;
}
h1 .gold, .gold { color: var(--gold); }

h2 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.01em;
  margin: 8px 0 26px;
}
h2 em { font-style: normal; color: var(--gold); }
.light h2 em { color: #C07F10; }

.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.kicker.gold { color: var(--gold-soft); }
.light .kicker { color: var(--muted-dark); }
.light .kicker.gold { color: #C07F10; }

.cover-sub { font-size: clamp(16px, 2vw, 22px); color: var(--muted); line-height: 1.5; }
.cover-cta { margin-top: 42px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.scroll-arrow { font-size: 22px; color: var(--gold); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Сплит (скриншот + текст) ---------- */
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.text-col h2 { margin-top: 6px; }

.points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.points li {
  padding: 14px 18px 14px 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  position: relative;
  color: var(--muted);
  font-size: 15px; line-height: 1.45;
}
.points li::before {
  content: '';
  position: absolute; left: 18px; top: 21px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232,160,32,0.18);
}
.points b { color: #F7F8F3; font-weight: 700; display: block; margin-bottom: 2px; font-size: 16px; }

/* Светлые слайды: тезисы (слайд «Было») */
.light .points li {
  background: #FFFFFF;
  border: 1px solid rgba(13,21,36,0.12);
  color: #3A4450;
  box-shadow: 0 6px 18px rgba(13,21,36,0.06);
}
.light .points li::before { background: #C07F10; box-shadow: 0 0 0 4px rgba(192,127,16,0.15); }
.light .points b { color: #0D1524; }

/* ---------- Браузерная рамка ---------- */
.browser {
  border-radius: 14px; overflow: hidden;
  background: #0A111D;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.12);
  transform: perspective(1400px) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.slide.active .browser { transform: perspective(1400px) rotateX(0deg); }
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  background: #182338;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #FF5F57; } .dot.y { background: #FEBC2E; } .dot.g { background: #28C840; }
.url {
  margin-left: 10px; font-size: 11px; color: rgba(244,245,240,0.5);
  font-family: Consolas, 'Courier New', monospace;
  background: rgba(255,255,255,0.07); padding: 3px 10px; border-radius: 6px;
}
.browser img { display: block; width: 100%; height: auto; }

.shot-col { min-width: 0; }
.shot-caption {
  margin-top: 14px; font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.badge {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 6px; text-transform: uppercase;
}
.badge.old { background: rgba(255,255,255,0.12); color: rgba(244,245,240,0.75); border: 1px solid rgba(255,255,255,0.2); }
.badge.new { background: var(--gold); color: #0D1524; }

/* ---------- Дуо (было/стало рядом) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 30px; }
.duo-item { min-width: 0; }
.light .browser { box-shadow: 0 24px 50px rgba(13,21,36,0.22), 0 0 0 1px rgba(13,21,36,0.12); }
.light .shot-caption { color: var(--muted-dark); }
.light .badge.old { background: rgba(13,21,36,0.08); color: rgba(13,21,36,0.6); border-color: rgba(13,21,36,0.18); }
.light .badge.new { background: #C07F10; color: #fff; }

.note { margin-top: 26px; color: var(--muted-dark); font-size: 15px; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; line-height: 1.5; }

/* ---------- Телефоны ---------- */
.phone {
  width: 250px; margin: 0 auto;
  border-radius: 26px; overflow: hidden;
  border: 8px solid #182338;
  background: #0A111D;
  box-shadow: 0 24px 50px rgba(13,21,36,0.25), 0 0 0 1px rgba(13,21,36,0.14);
}
.phone.big { width: 280px; border-color: var(--ink); }
.phone img { display: block; width: 100%; height: auto; }
.phones .shot-caption { justify-content: center; text-align: center; }

/* ---------- Сетка 6 причин ---------- */
.grid7 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px;
}
.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px; padding: 18px 18px 16px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(232,160,32,0.5); background: rgba(255,255,255,0.07); }
.num {
  display: inline-block; font-size: 12px; font-weight: 800; color: var(--gold);
  letter-spacing: 0.1em; margin-bottom: 10px;
  border: 1px solid rgba(232,160,32,0.4); border-radius: 6px; padding: 2px 8px;
}
.card b { display: block; color: #F7F8F3; font-size: 16px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ---------- Финал ---------- */
.final-inner { max-width: 900px; }
.final-sub { color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.55; max-width: 640px; margin: 0 auto 34px; }
.final-contact {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  font-size: 20px; font-weight: 700; color: #F7F8F3;
  margin-bottom: 22px;
}
.fc-item { padding: 10px 22px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 30px; }
.fc-sep { color: var(--gold); }
.final-note { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }

/* ---------- Прогресс ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: rgba(255,255,255,0.06); }
.progress-fill { height: 100%; width: 12.5%; background: linear-gradient(90deg, #E8A020, #F0B84C); transition: width 0.5s var(--ease); }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .duo { grid-template-columns: 1fr; gap: 30px; }
  .grid7 { grid-template-columns: repeat(2, 1fr); }
  .top-label { display: none; }
  .phone { width: 220px; }
  .phone.big { width: 240px; }
}
@media (max-width: 520px) {
  .slide { padding: 80px 16px 40px; }
  .grid7 { grid-template-columns: 1fr; }
  .final-contact { flex-direction: column; gap: 10px; }
}
