@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --slide-w: 1280px;
  --slide-h: 720px;
  --s: 0.6666667;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #fafbfc;
  --bg-media: #f1f5f9;
  --deck: #e8eaef;
  --accent: #3b82f6;
  --client: #e11d48;
  --client-soft: rgba(225, 29, 72, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--deck);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.deck {
  width: var(--slide-w);
  margin: 28px auto 64px;
  padding: 0 16px;
}
.slide {
  width: var(--slide-w);
  height: var(--slide-h);
  position: relative;
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--bg);
  border-radius: 2px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  page-break-after: always;
  break-after: page;
}
.slide:last-child {
  page-break-after: auto;
  break-after: auto;
  margin-bottom: 0;
}

/* Cover */
.slide--cover {
  background: #0a0f18;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 72px;
}
.slide--cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 12% 10%, rgba(59, 130, 246, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse 55% 50% at 88% 80%, color-mix(in srgb, var(--client) 22%, transparent) 0%, transparent 48%),
    linear-gradient(168deg, #0c1220 0%, #111827 48%, #0f172a 100%);
  pointer-events: none;
}
.slide--cover > * { position: relative; z-index: 1; }
.cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.cover-logos {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cover-logo-haccp {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.35));
}
.cover-x {
  color: rgba(248,250,252,.35);
  font-size: 22px;
  font-weight: 600;
}
.cover-logo-client {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  padding: 6px 10px;
}
.cover-logo-client--round {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  padding: 0;
  object-fit: cover;
}
.cover-eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,250,252,.48);
}
.slide--cover h1 {
  margin: 0 0 22px;
  max-width: 920px;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #fff;
}
.cover-lead {
  margin: 0 0 36px;
  max-width: 720px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(226,232,240,.84);
}
.cover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 600;
  color: rgba(248,250,252,.88);
}
.chip--client {
  background: var(--client-soft);
  border-color: color-mix(in srgb, var(--client) 40%, transparent);
  color: #fff;
}

/* Split */
.slide--split { display: flex; flex-direction: column; }
.split {
  display: flex;
  flex: 1;
  min-height: 0;
  width: 100%;
}
.split__body {
  flex: 1 1 0;
  min-width: 0;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__media {
  flex: 1 1 0;
  min-width: 0;
  background: var(--bg-media);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 36px;
}
.split__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 4px 6px rgba(15,23,42,.04), 0 24px 56px rgba(15,23,42,.12);
}
.split__media--photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.split__media--photo {
  padding: 0;
  overflow: hidden;
}
.kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
}
.kicker--client { color: var(--client); }
h2 {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
}
.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
}
.lead + .lead { margin-top: 12px; }

.bullets {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.bullets li {
  position: relative;
  padding: 0 0 10px 28px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.bullets li:last-child { padding-bottom: 0; }
.bullets li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--client);
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.stat-val {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
}
.stat-label {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* Benefits grid */
.slide--grid {
  padding: 42px 52px;
  display: flex;
  flex-direction: column;
}
.grid-head { margin-bottom: 22px; }
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
}
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  display: flex;
  flex-direction: column;
}
.benefit-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin-bottom: 10px;
}
.benefit h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.benefit p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Process */
.slide--process {
  padding: 40px 52px 36px;
  display: flex;
  flex-direction: column;
}
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
  margin-top: 8px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--client-soft);
  color: var(--client);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
}
.pilot {
  margin-top: 14px;
  background: linear-gradient(135deg, #0c1220 0%, #111827 100%);
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  align-items: center;
}
.pilot h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}
.pilot p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(226,232,240,.78);
}
.pilot-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}
.pilot-item span {
  font-size: 13px;
  color: rgba(226,232,240,.72);
  line-height: 1.4;
}

/* Team */
.slide--team {
  padding: 42px 52px;
  display: flex;
  flex-direction: column;
}
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex: 1;
  min-height: 0;
  margin-top: 8px;
}
.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(15,23,42,.05);
}
.person-photo {
  height: 280px;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  display: block;
  background: #e2e8f0;
}
.person-body { padding: 16px 18px 18px; }
.person-name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.person-role {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--client);
}
.person-bio {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

/* Footer / contacts */
.slide--footer {
  background: #0a0f18;
  color: #f1f5f9;
  padding: 44px 56px 32px;
  display: flex;
  flex-direction: column;
}
.slide--footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 12% 8%, rgba(59,130,246,.22) 0%, transparent 52%),
    radial-gradient(ellipse 65% 55% at 92% 88%, color-mix(in srgb, var(--client) 18%, transparent) 0%, transparent 48%),
    linear-gradient(168deg, #0c1220 0%, #111827 42%, #0f172a 100%);
  pointer-events: none;
}
.slide--footer > * { position: relative; z-index: 1; }
.footer-title {
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}
.footer-lead {
  margin: 0 0 28px;
  max-width: 40rem;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(226,232,240,.78);
}
.contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex: 1;
}
.contact {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px 18px 20px;
}
.contact-name {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.contact-role {
  margin: 0 0 14px;
  font-size: 13px;
  color: rgba(148,163,184,.95);
}
.contact a {
  display: block;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-top: 6px;
}
.footer-bar {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
  color: rgba(226,232,240,.7);
}
.footer-bar a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 1px;
}

/* Results list */
.results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.result {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px;
}
.result-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--client-soft);
  color: var(--client);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 500;
}

@media print {
  body { background: #fff; }
  .deck { margin: 0; padding: 0; width: var(--slide-w); }
  .slide {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* page: expert cabinet presentation */
:root {
      --client: #e30613;
      --client-soft: rgba(227, 6, 19, 0.12);
    }
    .ph {
      width: 100%;
      height: 100%;
      min-height: 420px;
      border: 2px dashed rgba(227, 6, 19, 0.35);
      border-radius: 14px;
      background:
        linear-gradient(160deg, #fff 0%, #fff5f5 100%),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(227, 6, 19, 0.03) 10px, rgba(227, 6, 19, 0.03) 20px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 28px;
      text-align: center;
    }
    .ph-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #94a3b8;
    }
    .ph-title {
      margin: 0;
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--ink);
      max-width: 18rem;
      line-height: 1.3;
    }
    .ph-hint {
      margin: 0;
      font-size: 13px;
      line-height: 1.45;
      color: var(--muted);
      max-width: 16rem;
    }
    .modules {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin: 20px auto 0;
      flex: 0 0 auto;
      width: 100%;
      max-width: 920px;
    }
    .module {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 14px 14px 16px;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
      display: flex;
      flex-direction: column;
      height: auto;
      min-height: 0;
    }
    .module-num {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      color: var(--client);
      margin-bottom: 8px;
    }
    .module h3 {
      margin: 0 0 6px;
      font-size: 17px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .module p {
      margin: 0;
      font-size: 13px;
      line-height: 1.45;
      color: var(--muted);
    }
    .cover-brand {
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -0.04em;
      color: #fff;
      line-height: 1;
    }
    .voice-flow {
      margin-top: 18px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      width: 100%;
    }
    .voice-flow__caption {
      margin: 0;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #94a3b8;
    }
    .voice-flow__row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }
    .voice-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 12px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--line);
      font-size: 13px;
      font-weight: 600;
      color: var(--ink-soft);
      line-height: 1.25;
    }
    .voice-chip--speech {
      background: var(--client-soft);
      border-color: color-mix(in srgb, var(--client) 35%, transparent);
      color: var(--client);
    }
    .voice-chip--ai {
      background: #00C896;
      border-color: #00C896;
      color: #fff;
      font-weight: 700;
    }
    .voice-chip--step {
      background: #f8fafc;
      border-color: #e2e8f0;
      color: var(--ink-soft);
    }
    .voice-arrow {
      color: #94a3b8;
      font-weight: 700;
      font-size: 14px;
    }
    .quote-box {
      margin-top: 18px;
      padding: 14px 16px;
      border-radius: 12px;
      background: #fff7ed;
      border: 1px solid #fdba74;
      border-left: 4px solid #f97316;
      color: var(--ink);
      font-size: 14px;
      line-height: 1.45;
      font-weight: 500;
    }
    .quote-box span {
      display: block;
      margin-top: 8px;
      font-size: 13px;
      font-weight: 600;
      color: #c2410c;
      letter-spacing: 0;
      text-transform: none;
    }
    .split__media--phone {
      padding: 28px 40px;
      background: #eef2f7;
    }
    .split__media--phone img {
      max-height: 100%;
      width: auto;
      max-width: 280px;
      border: none;
      box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
      border-radius: 28px;
    }

    /* Центрирование контента на слайдах-сетках и пилоте */
    .slide--center {
      justify-content: center;
    }
    .slide--center .grid-head {
      margin-bottom: 18px;
      text-align: center;
    }
    .slide--center .grid-head h2 {
      margin-left: auto;
      margin-right: auto;
    }

    .slide--features .benefits {
      flex: 0 0 auto;
      width: 100%;
      max-width: 980px;
      margin: 0 auto;
      gap: 12px;
      grid-template-columns: repeat(3, 1fr);
    }
    .slide--features .benefit {
      padding: 14px 14px 16px;
      border-radius: 12px;
    }
    .slide--features .benefit-num { margin-bottom: 8px; }
    .slide--features .benefit h3 {
      font-size: 16px;
      margin-bottom: 6px;
    }
    .slide--features .benefit p {
      font-size: 13px;
      line-height: 1.45;
    }

    .slide--modules .modules {
      max-width: 860px;
    }

    .slide--process.slide--center {
      justify-content: center;
    }
    .slide--process .process {
      flex: 0 0 auto;
      margin: 18px auto 0;
      width: 100%;
      max-width: 860px;
      gap: 12px;
      align-items: stretch;
    }
    .slide--process .step {
      flex: none;
      height: auto;
      min-height: 0;
      padding: 14px 14px 16px;
      border-radius: 12px;
    }
    .slide--process .step-num {
      width: 30px;
      height: 30px;
      margin-bottom: 10px;
      font-size: 13px;
    }
    .slide--process .step h3 {
      font-size: 16px;
      margin-bottom: 6px;
    }
    .slide--process .step p {
      flex: none;
      font-size: 13px;
      line-height: 1.45;
    }

    .bullets--features {
      margin-top: 14px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 20px;
      list-style: none;
      padding: 0;
    }
    .bullets--features > .bullets {
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .bullets--features > .bullets li {
      padding: 0 0 10px 22px;
      font-size: 14px;
      line-height: 1.4;
    }
    .bullets--features > .bullets li:last-child {
      padding-bottom: 0;
    }
    .bullets--features > .bullets li::before {
      top: 0.45em;
    }
    .split__body--features {
      padding: 40px 40px 40px 48px;
      justify-content: center;
    }
    .split__body--features h2 {
      font-size: 30px;
      margin-bottom: 4px;
    }
    .contacts--two {
      grid-template-columns: repeat(2, minmax(0, 340px));
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
      gap: 16px;
      flex: 1;
      align-content: center;
    }
    .contact--person {
      overflow: hidden;
      padding: 0;
      display: flex;
      flex-direction: column;
    }
    .contact--person .contact-photo {
      width: 100%;
      height: 305px;
      object-fit: cover;
      object-position: center top;
      display: block;
      background: #1e293b;
    }
    .contact--person .contact-body {
      padding: 14px 16px 16px;
      display: flex;
      flex-direction: column;
      gap: 0;
      flex: 1;
    }
    .contact--person .contact-name {
      margin-bottom: 2px;
    }
    .contact--person .contact-role {
      margin-bottom: 8px;
      color: #fda4af;
    }
    .contact--person .contact-bio {
      margin: 0 0 12px;
      font-size: 13px;
      line-height: 1.4;
      color: rgba(226, 232, 240, 0.78);
    }
    .contact--person a {
      margin-top: 4px;
    }
    .slide--footer .footer-title {
      font-size: 32px;
      margin-bottom: 6px;
    }
    .slide--footer .footer-lead {
      display: none;
    }
    .slide--footer {
      padding: 36px 56px 28px;
    }

