/* ============================================================
   ДифФин — one-page site
   ============================================================ */

@import url('cdn/fonts/inter.css');

:root {
  --blue: #0A56D4;
  --blue-dark: #0948b3;
  --blue-darker: #083d96;
  --navy: #0F172A;
  --slate: #303B4F;
  --bg: #F6F8FC;
  --border: #D9E2F2;
  --green: #16A34A;
  --amber: #D97706;

  --radius-card: 24px;
  --radius-btn: 20px;

  --shadow-card: 0 2px 16px 0 rgba(10, 86, 212, 0.07);
  --shadow-card-hover: 0 8px 40px 0 rgba(10, 86, 212, 0.10);
  --shadow-modal: 0 8px 48px 0 rgba(15, 23, 42, 0.18);
  --shadow-badge: 0 4px 20px 0 rgba(10, 86, 212, 0.13);

  --container: 1280px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--slate);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--navy);
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 64px; }
}

.section {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .section { padding: 112px 0; }
}

.section.light { background: var(--bg); }
.section.dark { background: var(--navy); }

.section-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-head p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
}

.section.dark .section-head h2,
.section.dark .section-head p { color: #fff; }

@media (min-width: 640px) {
  .section-head h2 { font-size: 38px; }
}

.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 20px 0 rgba(10, 86, 212, 0.35);
}
.btn-primary:active { background: var(--blue-darker); }

.btn-secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--bg);
  box-shadow: 0 4px 16px 0 rgba(10, 86, 212, 0.15);
}

.btn-outline {
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--border);
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-outline:hover {
  border-color: rgba(10, 86, 212, 0.4);
  color: var(--blue);
}

.icon { width: 1em; height: 1em; display: inline-block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em; }

/* ── Fade-in on scroll ─────────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: #fff;
  padding-top: 48px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 64px;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; padding: 80px 0 96px; }
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 86, 212, 0.08);
  border: 1px solid rgba(10, 86, 212, 0.15);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  width: fit-content;
}
.hero-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

.hero-left { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }

.hero-left h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) { .hero-left h1 { font-size: 50px; } }
@media (min-width: 1024px) { .hero-left h1 { font-size: 54px; } }

.hero-left .lead {
  font-size: 17px;
  line-height: 1.6;
  max-width: 500px;
}

.hero-cta-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; } }

.trust-list { display: flex; flex-direction: column; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(48, 59, 79, 0.75); }
.trust-list .icon { color: var(--green); flex-shrink: 0; }

.hero-right { position: relative; display: none; min-width: 0; }
@media (min-width: 1024px) { .hero-right { display: flex; justify-content: flex-end; padding: 32px 0; } }

/* min-width: 0 обязателен — без него флекс-итем не сжимается меньше
   "естественной" ширины картинки (1672px) и max-width игнорируется,
   из-за чего дашборд вылезал за правый край экрана */
.hero-visual { position: relative; width: 100%; max-width: 640px; min-width: 0; }
.hero-visual img { display: block; border-radius: 24px; box-shadow: 0 8px 48px 0 rgba(10, 86, 212, 0.12); width: 100%; height: auto; object-fit: cover; }

.badge {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-badge);
  border: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge-top { top: -20px; left: -16px; }
.badge-bottom { bottom: -20px; right: -12px; }
.badge-ico { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-ico.green { background: rgba(22, 163, 74, 0.1); color: var(--green); }
.badge-ico.blue { background: rgba(10, 86, 212, 0.1); color: var(--blue); }
.badge .label { font-size: 10px; color: rgba(48, 59, 79, 0.5); margin: 0 0 2px; }
.badge .value { font-size: 14px; font-weight: 700; color: var(--navy); margin: 0; }
.badge .value.green { color: var(--green); }

/* ── Pains ─────────────────────────────────────────────────── */

.pains-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 1024px) { .pains-grid { grid-template-columns: 1fr 1fr; } }

.pain-dark {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 340px;
}
@media (min-width: 1024px) { .pain-dark { padding: 40px; } }

.pain-ico {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 24px;
}

.pain-dark h3 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
@media (min-width: 640px) { .pain-dark h3 { font-size: 22px; } }
.pain-dark p { color: rgba(255,255,255,0.55); font-size: 15px; line-height: 1.6; }

/* Mini revenue-vs-profit chart — visualises the pain in CSS, no image needed */
.pain-chart {
  margin-top: auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 24px 16px;
}
.pain-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  height: 100px;
  padding: 0 8px;
}
.pain-chart-group {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex: 1;
  justify-content: center;
  height: 100%;
}
.pain-chart-group .bar {
  width: 14px;
  border-radius: 5px 5px 0 0;
  transition: height 0.3s ease;
}
.pain-chart-group .bar.revenue { background: rgba(10, 86, 212, 0.55); }
.pain-chart-group .bar.profit { background: var(--green); }
.pain-chart-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.pain-chart-legend span { display: flex; align-items: center; gap: 6px; }
.pain-chart-legend .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pain-chart-legend .dot.revenue { background: rgba(10, 86, 212, 0.75); }
.pain-chart-legend .dot.profit { background: var(--green); }

.pain-list { display: flex; flex-direction: column; gap: 20px; }
.pain-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s ease;
}
.pain-card:hover { box-shadow: var(--shadow-card); border-color: rgba(10, 86, 212, 0.2); }
.pain-card .pain-ico { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
.pain-card .pain-ico.blue { background: rgba(10, 86, 212, 0.1); color: var(--blue); }
.pain-card .pain-ico.amber { background: rgba(217, 119, 6, 0.1); color: var(--amber); }
.pain-card .title { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.pain-card .text { font-size: 14px; color: rgba(48, 59, 79, 0.75); line-height: 1.6; }

/* ── How it works ──────────────────────────────────────────── */

.how-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .how-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }

.how-grid h2 { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
@media (min-width: 640px) { .how-grid h2 { font-size: 38px; } }
.how-grid .lead { font-size: 17px; line-height: 1.6; margin-bottom: 40px; }

.steps { display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue);
  color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-num.green { background: var(--green); }
.step h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14px; color: rgba(48, 59, 79, 0.7); line-height: 1.6; }

/* Report mockup — CSS-built visual standing in for a product screenshot */
.how-visual { position: relative; }
@media (max-width: 1023px) { .how-visual { max-width: 420px; margin: 0 auto; } }

.report-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.report-head { display: flex; align-items: center; gap: 7px; margin-bottom: 22px; }
.report-dot { width: 9px; height: 9px; border-radius: 50%; }
.report-dot.red { background: #f87171; }
.report-dot.amber { background: var(--amber); }
.report-dot.green { background: var(--green); }
.report-title { margin-left: 8px; font-size: 13px; font-weight: 600; color: rgba(48, 59, 79, 0.6); }

.report-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; color: rgba(48, 59, 79, 0.6); margin-bottom: 8px; }
.report-row:not(:first-of-type) { margin-top: 18px; }
.report-val { font-size: 15px; font-weight: 700; color: var(--navy); }
.report-val.green { color: var(--green); }

.report-bar { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.report-bar-fill { height: 100%; border-radius: 999px; background: var(--blue); }
.report-bar-fill.amber { background: var(--amber); }
.report-bar-fill.green { background: var(--green); }

.report-checklist { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.report-checklist li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--slate); }
.report-checklist .icon { color: var(--green); flex-shrink: 0; }

/* ── Services ──────────────────────────────────────────────── */

.services-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  overflow: hidden;
}
.service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.service-card.dark {
  background: var(--navy);
  border-color: rgba(255,255,255,0.1);
}
.service-card.dark:hover { box-shadow: 0 12px 48px 0 rgba(10, 86, 212, 0.25); transform: none; }

.service-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
.service-ico {
  width: 48px; height: 48px; border-radius: 16px;
  background: rgba(10, 86, 212, 0.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.service-card.dark .service-ico { background: rgba(255,255,255,0.1); color: #fff; }

.service-price-col { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.service-price {
  font-size: 16px; font-weight: 700; color: #fff;
  background: var(--blue);
  padding: 8px 16px; border-radius: 999px;
}
.service-card.dark .service-price { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
.service-timeline { font-size: 13px; font-weight: 500; color: rgba(48, 59, 79, 0.55); }
.service-card.dark .service-timeline { color: rgba(255,255,255,0.5); }

.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card.dark h3 { color: #fff; }
.service-card .desc { font-size: 14px; line-height: 1.6; color: rgba(48, 59, 79, 0.8); margin-bottom: 16px; }
.service-card.dark .desc { color: rgba(255,255,255,0.6); }

.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tool-tag {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; color: rgba(48, 59, 79, 0.8);
}
.service-card.dark .tool-tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.65); }

.service-card img { width: 100%; height: 110px; border-radius: 12px; object-fit: cover; margin-bottom: 20px; }

.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--blue);
  margin-top: auto; transition: gap 0.15s ease; background: none; padding: 0;
}
.service-link:hover { gap: 10px; }
.service-card.dark .service-link { color: rgba(255,255,255,0.7); }
.service-card.dark .service-link:hover { color: #fff; }

/* ── Segments slider ──────────────────────────────────────── */

.segments-row { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }

.slider-arrow {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px 0 rgba(15, 23, 42, 0.25);
  transition: background 0.2s ease;
  font-size: 20px;
}
.slider-arrow:hover { background: var(--blue); }
.slider-arrow:disabled { opacity: 0.35; cursor: default; }

.segments-track-wrap { position: relative; flex: 1; min-width: 0; }
.segments-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: none;
}
.segments-track::-webkit-scrollbar { display: none; }

.segment-card {
  scroll-snap-align: start;
  flex: none; width: 320px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
  text-align: left;
}
@media (min-width: 640px) { .segment-card { width: 380px; } }
.segment-card:hover { box-shadow: 0 4px 24px 0 rgba(10, 86, 212, 0.11); border-color: rgba(10, 86, 212, 0.3); }
.segment-ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(10, 86, 212, 0.1); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.segment-card img { width: 100%; height: 140px; border-radius: 14px; object-fit: cover; }
.segment-card .title { font-size: 16px; font-weight: 600; color: var(--navy); }
.segment-card .pain { font-size: 14px; color: rgba(48, 59, 79, 0.7); line-height: 1.6; flex: 1; }
.segment-card .cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }

/* ── Benefits ──────────────────────────────────────────────── */

.benefits-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.benefit-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: all 0.2s ease;
}
.benefit-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); transform: translateY(-2px); }

.benefit-ico {
  width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  color: #93c5fd; font-size: 22px;
}
.benefit-card .title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.benefit-card .text { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ── Cases slider ──────────────────────────────────────────── */

.cases-slider { position: relative; margin-bottom: 32px; z-index: 1; }
.cases-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease; color: var(--navy); font-size: 18px;
}
.cases-arrow:hover { background: #fff; box-shadow: 0 4px 20px 0 rgba(10, 86, 212, 0.18); }
.cases-arrow.prev { left: 12px; }
.cases-arrow.next { right: 12px; }
@media (min-width: 640px) { .cases-arrow.prev { left: 24px; } .cases-arrow.next { right: 24px; } }

.cases-viewport { overflow: hidden; }
.cases-track { display: flex; gap: 20px; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.case-slide { flex: none; transition: opacity 0.4s ease, transform 0.4s ease; cursor: pointer; }
.case-card {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 16/9;
}
@media (min-width: 640px) { .case-card { aspect-ratio: 2/1; } }
.case-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-overlay { position: absolute; inset: 0; }
.case-vignette { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1) 60%, transparent); }
.case-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
@media (min-width: 640px) { .case-content { padding: 40px; } }
.case-tag { display: inline-block; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 4px 12px; width: fit-content; }
.case-result { display: flex; flex-direction: column; gap: 10px; }
.case-number-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.case-number { font-size: 48px; font-weight: 700; line-height: 1; color: #fff; }
.case-number.positive { color: #4ade80; }
@media (min-width: 640px) { .case-number { font-size: 56px; } }
.case-label { font-size: 17px; font-weight: 600; color: rgba(255,255,255,0.8); }
.case-detail { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 480px; }
.case-problem { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 520px; }

.cases-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 40px; }
.cases-dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--border); transition: all 0.3s ease; }
.cases-dots button.active { width: 24px; background: var(--blue); }

.cases-cta { display: flex; justify-content: center; position: relative; z-index: 1; }

/* ── FAQ ───────────────────────────────────────────────────── */

.faq-list { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 20px 0; text-align: left; background: none;
}
.faq-q span.q-text { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.5; }
@media (min-width: 640px) { .faq-q span.q-text { font-size: 17px; } }
.faq-q.open span.q-text { color: var(--blue); }
.faq-q .q-icon { flex-shrink: 0; margin-top: 2px; color: rgba(48, 59, 79, 0.5); font-size: 18px; }
.faq-q.open .q-icon { color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding-bottom: 20px; font-size: 15px; color: var(--slate); line-height: 1.6; }

/* ── Final CTA ─────────────────────────────────────────────── */

.final-cta {
  position: relative;
  background: linear-gradient(135deg, #0d1f52 0%, #0F172A 55%, #0a1428 100%);
  overflow: hidden;
}
.final-cta-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
  max-width: 620px; margin: 0 auto;
}
.final-cta h2 { color: #fff; font-size: 32px; font-weight: 700; line-height: 1.25; }
@media (min-width: 640px) { .final-cta h2 { font-size: 42px; } }
.final-cta .sub { color: rgba(255,255,255,0.7); font-size: 17px; line-height: 1.6; }
.final-cta .note { color: rgba(255,255,255,0.4); font-size: 13px; }

/* ── Floating CTA ──────────────────────────────────────────── */

.floating-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
}
.floating-cta .btn { box-shadow: 0 8px 24px 0 rgba(10, 86, 212, 0.35); }
@media (max-width: 639px) {
  .floating-cta .btn-label { display: none; }
  .floating-cta .btn { width: 56px; height: 56px; padding: 0; border-radius: 50%; }
}

/* ── Misc decorative shapes reused across sections ──────────── */

.shape-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(10, 86, 212, 0.08); pointer-events: none; }


/* ==========================================================================
   Базовая механика попапов Tilda (.t-popup / .t-popup__container)
   Воспроизведено 1-в-1 со штатного движка Tilda (tilda-popup-1.1.min.css).
   На этой статической версии сайта движок Tilda (static.tildacdn.com) не
   подключён, поэтому без этого блока попап рендерится прямо в потоке
   страницы — без подложки, центрирования и display:none по умолчанию
   (это и было на скрине). На живом Tilda-сайте эти же классы и значения
   уже есть в родном CSS Tilda — дубль ничего не ломает. Переключение
   видимости (класс .t-popup_show по клику) делает сама Tilda, это не
   эмулируем — здесь только база позиционирования.
   ========================================================================== */

.t-popup {
  background-color: rgba(15, 23, 42, 0.6); /* df-navy затемнение вместо чёрного */
  bottom: 0; left: 0; right: 0; top: 0;
  box-sizing: border-box;
  cursor: pointer;
  display: none;
  height: 100%; width: 100%;
  opacity: 0;
  outline: none;
  overflow-y: auto;
  padding: 0 20px;
  position: fixed;
  transition: opacity .3s ease-in-out;
  z-index: 10000001;
}
.t-popup.t-popup_show { display: block; opacity: 1; }

.t-popup__container {
  background: var(--df-white, #fff);
  cursor: default;
  left: 20px; right: 20px;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  transform: translateY(-30%) scale(.9);
  width: auto;
  z-index: 1;
}
.t-popup__container-animated {
  transition: transform .3s ease-in-out;
}
.t-popup_show .t-popup__container {
  transform: translateY(-50%);
}
.t-popup__container.t-popup__container-static {
  left: auto; right: auto;
  margin: 65px auto;
  position: relative;
  top: 0;
  transform: translateY(30%) scale(.9);
  width: 100%;
}
.t-popup_show .t-popup__container.t-popup__container-static {
  transform: translateY(0);
}

.t-popup__close {
  cursor: pointer;
  height: 23px; width: 23px;
  position: fixed;
  right: 20px; top: 20px;
  transition: opacity .3s ease-in-out;
  z-index: 9;
}
.t-popup__close:hover { opacity: .7; }

body.t-body_popupshowed,
body.t-body_scroll-locked {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

/* ── Legal pages (политика / согласие / оферта) ───────────────────────── */

.legal-page {
  padding: 56px 0 120px;
}

.legal-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(48, 59, 79, 0.5);
  margin-bottom: 32px;
}
.legal-crumb a { transition: color 0.15s ease; }
.legal-crumb a:hover { color: var(--blue); }
.legal-crumb .icon { width: 13px; height: 13px; }
.legal-crumb .current { color: rgba(48, 59, 79, 0.7); }

.legal-header {
  max-width: 800px;
  margin-bottom: 44px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.legal-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
@media (min-width: 640px) { .legal-title { font-size: 44px; } }
.legal-subtitle {
  font-size: 15px;
  color: rgba(48, 59, 79, 0.55);
  line-height: 1.5;
  margin-bottom: 4px;
}
.legal-updated {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(48, 59, 79, 0.55);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-top: 10px;
}

.legal-body { max-width: 780px; }
.legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
  margin: 0 0 16px;
}
.legal-body p.legal-lead { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 24px; }
.legal-body p.legal-label { font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.legal-body ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 20px;
}
.legal-body ul li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 8px;
}
.legal-body ul li::marker { color: var(--blue); }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { opacity: 0.8; }

@media (max-width: 640px) {
  .legal-page { padding: 40px 0 80px; }
  .legal-title { font-size: 28px; }
}

/* ── Page hero (sub-pages: faq, about, contacts, cases, отрасли/*) ────── */

.page-hero {
  max-width: 760px;
  padding: 56px 0 8px;
}
.page-hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
@media (min-width: 640px) { .page-hero-title { font-size: 44px; } }
@media (min-width: 1024px) { .page-hero-title { font-size: 52px; } }
.page-hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 600px;
}
@media (min-width: 640px) { .page-hero-lead { font-size: 18px; } }

@media (max-width: 640px) {
  .page-hero { padding: 40px 0 8px; }
}

/* ── FAQ accordion groups (faq.html) ──────────────────────────────────
   Нативный / вместо JS-аккордеона с homepage (там он
   завязан на спрайт #i-plus/#i-minus и main.html-скрипт, которых на
   отдельных страницах нет) — поведение и вид те же, без зависимостей. */

.faq-groups {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 16px;
  padding: 40px 0 112px;
}
.faq-group-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) { .faq-group-title { font-size: 26px; } }
.faq-acc { display: flex; flex-direction: column; }
.faq-acc-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-acc-item:last-child { border-bottom: none; }
.faq-acc-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
@media (min-width: 640px) { .faq-acc-item summary { font-size: 17px; } }
.faq-acc-item summary::-webkit-details-marker { display: none; }
.faq-acc-item summary::after {
  content: '+';
  flex-shrink: 0;
  color: var(--blue);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.faq-acc-item[open] summary { color: var(--blue); }
.faq-acc-item[open] summary::after { content: '\2212'; }
.faq-acc-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin: 14px 0 0;
  max-width: 680px;
}

/* ── Contact chips (email / phone — contacts.html) ────────────────────── */

.contact-chips { display: flex; flex-direction: column; gap: 16px; flex-wrap: wrap; }
@media (min-width: 640px) { .contact-chips { flex-direction: row; } }
.contact-chips .contact-chip { flex: 1 1 200px; }
.contact-chip {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 20px;
  transition: all 0.2s ease;
}
.contact-chip:hover { border-color: rgba(10, 86, 212, 0.4); box-shadow: var(--shadow-card); }
.contact-chip-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(10, 86, 212, 0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-chip .label { font-size: 11px; font-weight: 600; color: rgba(48, 59, 79, 0.5); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact-chip .value { font-size: 15px; font-weight: 600; color: var(--navy); transition: color 0.2s ease; }
.contact-chip:hover .value { color: var(--blue); }

/* ── Topic cards (contacts.html «что обсудить») ───────────────────────── */

.topics-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .topics-grid { grid-template-columns: repeat(6, 1fr); } }
.topic-card {
  grid-column: span 2;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 24px; display: flex; flex-direction: column; gap: 10px; height: 100%;
  transition: all 0.2s ease;
}
.topic-card:hover { box-shadow: var(--shadow-card); border-color: rgba(10, 86, 212, 0.2); }
.topic-card .title { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.topic-card .text { font-size: 14px; color: rgba(48, 59, 79, 0.8); line-height: 1.6; }

/* ── Contact / lead form (contacts.html, industry pages) ──────────────── */

.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.form-field {
  width: 100%; height: 52px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--border); background: #fff;
  font-family: inherit; font-size: 15px; color: var(--slate);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field::placeholder { color: rgba(48, 59, 79, 0.4); }
.form-field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 86, 212, 0.15); }
textarea.form-field { height: auto; padding: 14px 16px; resize: vertical; min-height: 90px; }
select.form-field { cursor: pointer; }
.form-hint { font-size: 13px; color: rgba(48, 59, 79, 0.6); line-height: 1.6; margin-top: -8px; }
.form-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; position: relative; }
.form-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.form-check-box {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px;
  border: 2px solid var(--border); transition: all 0.15s ease;
  display: flex; align-items: center; justify-content: center;
}
.form-check input:checked ~ .form-check-box { background: var(--blue); border-color: var(--blue); }
.form-check input:checked ~ .form-check-box::after {
  content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.form-check-text { font-size: 13px; color: rgba(48, 59, 79, 0.7); line-height: 1.6; }
.form-check-text a { color: var(--blue); text-decoration: underline; }

/* ── Check list (about.html, industry pages) ──────────────────────────── */

.check-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--navy); line-height: 1.5; }
.check-list .icon { color: var(--blue); flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; }

/* ── Dark topic/step cards (about.html «Как строится работа») ─────────
   Делит разметку и сетку с .topics-grid/.topic-card (включая асимметрию
   span-2 / col-start-2 для 5 карточек в 6 колонках), но в тёмных цветах
   для .section.dark. */

.topic-card.dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.topic-card.dark:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.topic-card .step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.topic-card .step-ico {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(10, 86, 212, 0.25); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.topic-card.dark .step-ico { color: #93c5fd; }
.topic-card .step-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.08em; }
.topic-card.dark .title { color: #fff; }
.topic-card.dark .text { color: rgba(255,255,255,0.6); }
.topics-grid + p.topics-note {
  text-align: center; font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.6);
  max-width: 600px; margin: 0 auto;
}

/* ── Audience grid (about.html «С кем мы работаем») ────────────────────── */

.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .audience-grid { gap: 20px; } }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
.audience-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px; display: flex; flex-direction: column; gap: 12px; height: 100%;
  transition: all 0.2s ease;
}
@media (min-width: 640px) { .audience-card { padding: 24px; } }
.audience-card:hover { box-shadow: 0 4px 24px 0 rgba(10, 86, 212, 0.11); border-color: rgba(10, 86, 212, 0.3); }
.audience-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(10, 86, 212, 0.1); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.audience-card .title { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.4; }
@media (min-width: 640px) { .audience-card .title { font-size: 16px; } }
.audience-card .text { font-size: 13px; color: rgba(48, 59, 79, 0.7); line-height: 1.6; flex: 1; }

/* ── Cases grid (cases.html) — static grid version of the homepage
   case-slider; reuses .case-card/.case-overlay/.case-vignette/.case-tag
   for the dark photo-style tile, adds headline/desc/author fields. ───── */

.cases-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }
.cases-grid .case-card { aspect-ratio: 4/3; }
@media (min-width: 900px) { .cases-grid .case-card { aspect-ratio: 3/4; } }
.case-card .case-title { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.3; }
.case-card .case-desc { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.55; }
.case-card .case-author-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 4px; }
.case-card .case-author-name { font-size: 13px; font-weight: 600; color: #fff; }
.case-card .case-author-role { font-size: 11px; color: rgba(255,255,255,0.55); }

/* ── Review grid (cases.html «Больше отзывов») ─────────────────────────── */

.review-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
.review-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; height: 100%;
}
.review-card .quote-icon { color: rgba(10, 86, 212, 0.4); flex-shrink: 0; }
.review-card .text { font-size: 15px; color: var(--slate); line-height: 1.6; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.review-avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(10, 86, 212, 0.1); color: var(--blue); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-author .name { font-size: 13px; font-weight: 600; color: var(--navy); }
.review-author .role { font-size: 11px; color: rgba(48, 59, 79, 0.55); }

/* ==========================================================================
   Отраслевые страницы (отрасли/*.html) — общие блоки
   ========================================================================== */

/* ── Industry hero ─────────────────────────────────────────────────── */

.ind-hero { padding: 56px 0 64px; }
@media (min-width: 1024px) { .ind-hero { padding: 72px 0; } }
.ind-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .ind-hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.ind-hero-left { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.ind-h1 { font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
@media (min-width: 640px) { .ind-h1 { font-size: 42px; } }
@media (min-width: 1024px) { .ind-h1 { font-size: 48px; } }
.ind-lead { font-size: 16px; line-height: 1.6; color: var(--slate); }
@media (min-width: 640px) { .ind-lead { font-size: 17px; } }
.ind-hero-image { display: none; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); }
@media (min-width: 1024px) { .ind-hero-image { display: block; } }
.ind-hero-image img { width: 100%; display: block; }

/* ── "Кому подойдёт" — 3 колонки ──────────────────────────────────── */

.who-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .who-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
/* Вариант с картинкой по центру (desktop) между списками "ситуация"/"получаете" */
.who-grid.has-image { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .who-grid.has-image { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }
.who-grid.has-image .who-image { display: none; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-card); }
@media (min-width: 1024px) { .who-grid.has-image .who-image { display: block; } }
.who-grid.has-image .who-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Картинка сверху у tool-card / result-card, когда она есть */
.tool-card img.photo {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; margin: -4px -4px 4px;
}
.result-card.has-photo { padding: 0 0 20px; overflow: hidden; }
.result-card.has-photo img.photo { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; margin: 0 0 16px; }
.result-card.has-photo .title, .result-card.has-photo .text { padding: 0 20px; }
.who-col-label {
  font-size: 11px; font-weight: 700; color: rgba(48, 59, 79, 0.4);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px;
}
.who-list { display: flex; flex-direction: column; gap: 10px; }
.situation-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 20px; font-size: 15px; font-weight: 500; color: var(--navy);
  transition: border-color 0.2s ease;
}
.situation-item:hover { border-color: rgba(217, 119, 6, 0.4); }
.benefit-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 20px; font-size: 15px; font-weight: 600; color: var(--navy);
  transition: border-color 0.2s ease;
}
.benefit-item:hover { border-color: rgba(10, 86, 212, 0.3); }
.benefit-item .ico {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  background: rgba(10, 86, 212, 0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.who-callout {
  margin-top: 4px; background: rgba(10, 86, 212, 0.05); border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0; padding: 16px 20px;
  font-size: 14px; font-weight: 600; color: var(--blue); line-height: 1.5;
}

/* ── Карусель инструментов ───────────────────────────────────────── */

.tools-row { display: flex; align-items: center; gap: 16px; }
.tools-row .slider-arrow { display: none; }
@media (min-width: 768px) { .tools-row .slider-arrow { display: flex; } }
.tools-scroll {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: none; -ms-overflow-style: none;
  flex: 1; min-width: 0;
}
.tools-scroll::-webkit-scrollbar { display: none; }
.tool-card {
  scroll-snap-align: start; flex: 0 0 280px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  transition: all 0.2s ease;
}
@media (min-width: 640px) { .tool-card { flex-basis: 320px; } }
.tool-card:hover { box-shadow: 0 4px 24px 0 rgba(10, 86, 212, 0.11); border-color: rgba(10, 86, 212, 0.3); }
.tool-card .tool-ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: rgba(10, 86, 212, 0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.tool-card .title { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.tool-card .text { font-size: 13px; color: rgba(48, 59, 79, 0.65); line-height: 1.6; }

/* ── "Как мы работаем" — 5 больших шагов (тёмная секция) ───────────── */

.steps-big { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
@media (min-width: 640px) { .steps-big { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-big { grid-template-columns: repeat(5, 1fr); gap: 24px; } }
.step-big { display: flex; flex-direction: column; gap: 14px; }
.step-big-head { display: flex; align-items: center; gap: 14px; }
.step-big-num { font-size: 40px; font-weight: 700; line-height: 1; color: var(--blue); }
.step-big-line { flex: 1; height: 2px; background: rgba(255,255,255,0.1); }
.step-big .title { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.03em; }
.step-big .text { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── Mini-FAQ в тёмной секции («Ответы на главные вопросы») ─────────── */

.mini-faq { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; margin-bottom: 32px; }
@media (min-width: 1024px) { .mini-faq { grid-template-columns: 1fr 1fr; gap: 48px; } }
.mini-faq-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.mini-faq-item {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px;
  padding: 16px 20px; transition: all 0.2s ease;
}
.mini-faq-item:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.mini-faq-item .q { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.4; }
.mini-faq-item .a { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.callout-dark {
  background: rgba(10, 86, 212, 0.15); border: 1px solid rgba(10, 86, 212, 0.3); border-radius: 14px;
  padding: 16px 20px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.6;
}

/* ── Результаты (3+2 карточки) ───────────────────────────────────────── */

/* flex + justify-content:center вместо grid — так неполная последняя
   строка (напр. 2 карточки из 5) центрируется, а не прижимается влево */
.result-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.result-card {
  flex: 1 1 100%;
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 24px; display: flex; flex-direction: column; gap: 6px;
  transition: all 0.2s ease;
}
@media (min-width: 640px) { .result-card { flex-basis: calc(50% - 10px); } }
@media (min-width: 1024px) { .result-card { flex-basis: calc(33.333% - 14px); } }
.result-card:hover { box-shadow: 0 4px 28px 0 rgba(10, 86, 212, 0.10); border-color: rgba(10, 86, 212, 0.2); }
.result-card .title { font-size: 17px; font-weight: 700; color: var(--navy); }
.result-card .text { font-size: 13px; color: rgba(48, 59, 79, 0.65); line-height: 1.6; }

