/* ═══ Контейнер ═══ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ Hero ═══ */
.hero {
  background: linear-gradient(135deg, #0f1f3d 0%, #1a3a6b 60%, #1e4d8c 100%);
  padding: 96px 0 72px;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.1;
}
.hero .sub {
  font-size: 18px;
  color: rgba(255,255,255,.6);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.5;
}
.hero .metrics {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.hero .metrics b {
  color: #4d9fff;
  font-weight: 600;
}

/* ═══ Сетка ═══ */
.reports-section {
  padding: 96px 0;
}
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ═══ Карточка отчёта ═══ */
.report-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.report-card .thumb {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.report-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.report-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
}

.report-card .badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,.9);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #161616;
}

.report-card .meta {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
}
.report-card .meta .client {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 2px;
}
.report-card .meta .industry {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  margin: 0;
}

/* ═══ CTA ═══ */
.cta-section {
  padding: 0 0 96px;
}
.cta-box {
  text-align: center;
  padding: 48px 32px;
  border-left: 3px solid #0f62fe;
  border-radius: 4px;
  background: #fff;
}
.cta-box h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
}
.cta-box p {
  font-size: 15px;
  color: #525252;
  margin: 0 0 24px;
}

/* ═══ Модалка ═══ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,11,.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open {
  display: flex;
}
.modal-body {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
}
.modal-body img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.modal-close {
  position: fixed;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 101;
}
.modal-close:hover {
  background: rgba(255,255,255,.2);
}
.modal-download {
  display: block;
  margin: 16px auto 0;
  padding: 12px 32px;
  background: #0f62fe;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
}
.modal-download:hover {
  background: #0050e6;
}

/* ═══ Футер ═══ */
.disclaimer {
  padding: 16px 0 40px;
  text-align: center;
}
.disclaimer p {
  font-size: 12px;
  color: #8c8c8c;
  margin: 0;
  line-height: 1.5;
}

/* ═══ Навбар (простой, адаптивный) ═══ */
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 12px 24px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}
.nav-logo {
  font-weight: 700;
  font-size: 18px;
  color: #161616;
  text-decoration: none;
}
.nav-logo b { color: #0f62fe; }
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-link {
  color: #525252;
  font-size: 14px;
  text-decoration: none;
}
.nav-link:hover { color: #0f62fe; }
.nav-spacer { flex: 1; }
.nav-btns { display: flex; gap: 8px; }

/* Кнопки (Carbon) */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background .15s;
}
.btn-primary { background: #0f62fe; color: #fff; }
.btn-primary:hover { background: #0050e6; color: #fff; text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: #0f62fe;
  border: 1px solid #0f62fe;
}
.btn-secondary:hover { background: #f4f4f4; text-decoration: none; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ═══ АДАПТИВНОСТЬ ═══ */
@media (max-width: 900px) {
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .reports-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 16px 48px; }
  .hero .sub { font-size: 15px; }
  .container { padding: 0 16px; }
  .reports-section { padding: 48px 0; }
  .cta-section { padding: 0 0 48px; }
  .cta-box { padding: 32px 16px; }
  .modal { padding: 8px; }
  .modal-body { max-height: 95vh; }
}

/* ═══ Модификаторы (CSP: без inline-стилей) ═══ */
.badge.is-deep {
  background: #7c3aed;
  color: #fff;
}
.badge.is-repeat {
  background: #15803d;
  color: #fff;
}
.btn.is-large {
  padding: 14px 40px;
  font-size: 16px;
}

/* ═══ Конверсионные блоки витрины (25.10) ═══ */
.nav-link.is-active { color: #0f62fe; font-weight: 600; }
.hero-btns { margin-top: 22px; display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap; }
.hero-btns .btn-secondary { color: #fff; border-color: rgba(255,255,255,.55); }
.hero-btns .btn-secondary:hover { background: rgba(255,255,255,.12); }

.before-after { background: #fff; padding: 34px 0; }
.before-after_box { display: flex; gap: 24px; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  background: #f3f9f3; border: 1px solid #cfe3cf;
  border-left: 4px solid #15803d; border-radius: 12px;
  padding: 26px 30px; }
.before-after_text h2 { margin: 10px 0 8px; font-size: 24px; }
.before-after_text p { color: #444; max-width: 46rem; }

.whats-inside { padding: 52px 0; background: #f7f9fc; }
.whats-inside h2 { text-align: center; margin-bottom: 26px; }
.inside-grid { display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.inside-card { background: #fff; border: 1px solid #e3e8ef;
  border-radius: 10px; padding: 20px; }
.inside-card h3 { font-size: 16px; margin-bottom: 8px; }
.inside-card p { font-size: 14px; color: #555; line-height: 1.55; }

.modal-actions { position: sticky; bottom: 0; display: flex;
  gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 12px; padding: 12px 8px;
  background: linear-gradient(to top, #fff 65%, rgba(255,255,255,0)); }
.modal-actions .modal-download { margin: 0; background: #fff;
  color: #0f62fe; border: 1px solid #0f62fe; }
.modal-actions .modal-download:hover { background: #f4f4f4; }
@media (max-width: 672px) {
  .before-after_box { padding: 20px; }
  .before-after_text h2 { font-size: 20px; }
}

/* ═══ Блог (26.10) ═══ */
.blog-list { display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.blog-card { display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid #e3e8ef; border-radius: 12px;
  padding: 24px; color: #161616; text-decoration: none;
  transition: box-shadow .15s; }
.blog-card:hover { box-shadow: 0 6px 24px rgba(15,31,61,.10);
  text-decoration: none; color: #161616; }
.blog-card-date { font-size: 13px; color: #8c8c8c; }
.blog-card h2 { font-size: 19px; line-height: 1.35; }
.blog-card p { font-size: 14px; color: #555; line-height: 1.55; flex: 1; }
.blog-card-more { font-size: 14px; font-weight: 600; color: #0f62fe; }

.hero.is-post { padding: 44px 0 36px; }
.hero.is-post h1 { font-size: 34px; max-width: 52rem; margin: 8px auto 0; }

.post { background: #fff; padding: 8px 0 40px; }
.post-body { max-width: 46rem; margin: 0 auto; padding: 0 20px;
  font-size: 16px; line-height: 1.7; color: #222; }
.post-body h2 { font-size: 22px; margin: 30px 0 10px; }
.post-body p { margin: 12px 0; }
.post-body ul { margin: 12px 0 12px 22px; }
.post-body li { margin: 7px 0; }
.post-back { margin-top: 34px; }

.post-cta { margin: 30px 0 8px; padding: 26px 28px;
  background: #0f1f3d; border-radius: 12px; color: #fff; }
.post-cta h3 { font-size: 20px; margin-bottom: 8px; }
.post-cta p { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 16px; }
.post-cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,.55); }
.post-cta .btn-secondary:hover { background: rgba(255,255,255,.12); }
.post-see { margin: 26px 0; padding: 18px 22px;
  background: #f4f8ff; border: 1px solid #c9dcff; border-radius: 10px;
  font-size: 15px; line-height: 1.6; }
.post-see a { display: block; margin: 6px 0 4px; font-weight: 600; }
