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

:root {
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-dark: #1E3A8A;
  --navy: #1E2B4A;
  --bg: #EFF4FB;
  --bg-light: #F5F8FF;
  --white: #ffffff;
  --text: #1E2B4A;
  --text-muted: #4B5E7A;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-y: scroll;
  overflow-x: clip;
}

/* Hero section gets the gradient background */
.hero-section {
  background: #EFF4FB;
  background-image: url("backs.png");
  overflow: hidden;
}

/* ── NAVBAR ── */
nav {
  background: var(--white);
  border-bottom: 1px solid rgba(37,99,235,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-divider {
  width: 1px;
  height: 40px;
  background: #D1DCF0;
  margin: 0 24px;
  flex-shrink: 0;
}

.nav-person { flex-shrink: 0; }

.nav-person strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.nav-person span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s;
}

.nav-links a:hover { color: var(--blue); }

.btn-nav {
  margin-left: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}

.btn-nav:hover { background: var(--blue); color: var(--white); }
.btn-nav svg { flex-shrink: 0; }

/* mobile burger */
.burger {
  display: none;
  background: var(--bg);
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 0;
  border-radius: 2px;
}

/* ── HERO ── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
}

.hero-left { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.18);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

.hero-title .accent { color: var(--blue); }

.hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 30px;
}

/* feature pills under desc */
.hero-features {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 0;
}

.hero-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(37,99,235,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hero-feature span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* CTA buttons */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 0;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: gap .2s;
}

.btn-secondary:hover { gap: 12px; }

/* hero right image */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-right img {
  width: 460px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 83px;
  filter: drop-shadow(0 20px 60px rgba(37,99,235,0.12));
}

.hero-right img { opacity: 1; }

@keyframes floatImg {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── CONTACT MOBILE ── */
.contact-mobile { display: none; }
.mobile-only { display: none; }

/* ── TRUST STRIP ── */
.trust-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 40px 40px;
}

.trust-items-inner {
  display: flex;
  gap: 0;
  max-width: 800px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: 12px 24px 12px 0;
  border-right: 1px solid rgba(37,99,235,0.15);
}

.trust-item:last-child {
  border-right: none;
  padding-right: 0;
}

.trust-item:not(:first-child) {
  padding-left: 24px;
}

.trust-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(37,99,235,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.trust-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0; }

  .nav-inner {
    height: 60px;
    padding: 0 16px 0 12px;
  }

  .nav-logo img { height: 48px; }

  .nav-divider { margin: 0 12px; }

  .nav-links, .btn-nav { display: none; }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--white);
    border: 1.5px solid #D1DCF0;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    margin-left: auto;
    gap: 5px;
    width: 44px;
    height: 44px;
  }

  .burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 32px 20px 24px;
    gap: 0;
  }

  .hero-left { order: 1; }

  .hero-right {
    justify-content: center;
    order: 3;
    margin: 24px 0;
  }

  .hero-right img {
    width: 100%;
    max-width: 360px;
    margin-top: 0;
  }

  .hero-title { font-size: 28px; }

  .hero-desc { max-width: 100%; }

  .mobile-only { display: flex; }

  .hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-feature-icon {
    width: 32px;
    height: 32px;
  }

  .hero-feature-icon img {
    width: 18px;
    height: 18px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    order: 3;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  .trust-strip { padding: 0 20px 32px; }
  .trust-items-inner { max-width: 100%; flex-wrap: wrap; }
  .trust-item {
    min-width: 45%;
    border-right: none;
    padding: 8px 0;
  }

  .contact-mobile {
    display: block;
    padding: 0 20px 32px;
  }

  .contact-mobile-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 2px 10px rgba(37,99,235,0.08);
    text-decoration: none;
  }

  .contact-mobile-icon {
    width: 40px;
    height: 40px;
    background: rgba(37,99,235,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .contact-mobile-text {
    flex: 1;
  }

  .contact-mobile-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
  }

  .contact-mobile-text span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
  }

  .contact-mobile-arrow {
    flex-shrink: 0;
  }
}

/* Fade-in animation on load */
.hero-left > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .6s forwards;
}
.hero-badge    { animation-delay: .05s; }
.hero-title    { animation-delay: .15s; }
.hero-desc     { animation-delay: .25s; }
.hero-features { animation-delay: .35s; }
.hero-cta      { animation-delay: .45s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn { to { opacity: 1; } }


/* ═══════════════════════════════════════════
   WHY SEO FAILS IN B2B  (.wsf-*)
   Не конфликтует с hero — все классы уникальны
═══════════════════════════════════════════ */

.wsf-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 80px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}

/* Header */
.wsf-header {
  text-align: center;
  margin-bottom: 40px;
}

.wsf-badge {
  display: inline-block;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.18);
  margin-bottom: 20px;
}

.wsf-heading {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.wsf-accent { color: var(--blue); }

.wsf-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* Grid */
.wsf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

/* Cards */
.wsf-card {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.wsf-card:hover {
  box-shadow: 0 8px 28px rgba(37,99,235,0.10);
  transform: translateY(-2px);
}

.wsf-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.wsf-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(37,99,235,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wsf-card-icon svg { flex-shrink: 0; }


.wsf-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.wsf-card-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-bottom: 24px;
}

.wsf-card-num {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-size: 30px;
  font-weight: 800;
  color: rgba(37,99,235,0.07);
  line-height: 1;
  user-select: none;
}

/* CTA card (last in bottom row) */
.wsf-card-cta {
  background: #EFF4FB;
  border: 1.5px dashed #B5CDEF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wsf-card-cta:hover {
  box-shadow: none;
  transform: none;
}

.wsf-cta-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.wsf-cta-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
}

.wsf-cta-qmark-img {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}

.wsf-card-cta .wsf-cta-eyebrow,
.wsf-card-cta .wsf-cta-text {
  max-width: 86%;
}

/* Footer strip */
.wsf-footer {
  background: #EFF4FB;
  border: 1px solid #D0E1FA;
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 0;
  box-shadow: 0 8px 32px rgba(37,99,235,0.13);
}

.wsf-footer-icon {
  width: 48px;
  height: 48px;
  background: rgba(37,99,235,0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wsf-footer-icon svg { flex-shrink: 0; }

.wsf-footer-text { flex: 1; }

.wsf-footer-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.wsf-footer-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ── WSF RESPONSIVE ── */
@media (max-width: 900px) {
  .wsf-section {
    padding: 48px 16px 48px;
  }

  .wsf-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .wsf-card {
    border-radius: 12px;
    padding: 18px 16px;
  }

  .wsf-card-header {
    gap: 12px;
    margin-bottom: 10px;
  }

  .wsf-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .wsf-card-title {
    font-size: 15px;
  }

  .wsf-card-text {
    font-size: 13px;
    padding-bottom: 20px;
  }

  .wsf-card-num {
    font-size: 24px;
    bottom: 10px;
    right: 14px;
  }

  .wsf-card-cta {
    min-height: 110px;
  }

  .wsf-cta-text {
    font-size: 16px;
  }

  .wsf-footer {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 20px;
  }

  .wsf-footer-text {
    flex: 1;
    min-width: 0;
  }

  .wsf-footer .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }
}

@media (max-width: 600px) {
  .wsf-heading { font-size: 24px; }
  .wsf-sub br { display: none; }
}


/* ═══════════════════════════════════════════
   COMPARISON SECTION  (.cmp-*)
═══════════════════════════════════════════ */

.cmp-section {
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.cmp-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

/* Header */
.cmp-header {
  text-align: center;
  margin-bottom: 40px;
}

.cmp-badge {
  display: inline-block;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.18);
  margin-bottom: 20px;
}

.cmp-heading {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cmp-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Table — единый грид, строки выровнены */
/* Внешний грид — задаёт общие строки для обеих карточек */
.cmp-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: 0 16px;
  margin-bottom: 16px;
  align-items: stretch;
}

/* Column headers */
.cmp-col-header {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 18px 24px 12px;
}

.cmp-col-header--bad {
  color: #64748B;
  background: var(--white);
  border: 1.5px solid #C5D5EE;
  border-radius: 16px 16px 0 0;
  border-bottom: none;
}

.cmp-col-header--good {
  color: var(--blue);
  background: #F0F6FF;
  border: 1.5px solid #C5D5EE;
  border-radius: 16px 16px 0 0;
  border-bottom: none;
}

/* Cells */
.cmp-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 24px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  font-weight: 500;
}

.cmp-x, .cmp-check {
  flex-shrink: 0;
  margin-top: 0;
}

.cmp-cell--bad {
  background: var(--white);
  border-left: 1.5px solid #C5D5EE;
  border-right: 1.5px solid #C5D5EE;
}

.cmp-cell--good {
  background: #F0F6FF;
  border-left: 1.5px solid #C5D5EE;
  border-right: 1.5px solid #C5D5EE;
}

/* Последние ячейки каждой колонки — нижний бордер и скругление */
.cmp-table > *:nth-child(9),
.cmp-table > *:nth-child(10) {
  border-bottom: 1.5px solid #C5D5EE;
  border-radius: 0 0 16px 16px;
  padding-bottom: 18px;
}

/* Plain icons — no background circle */

/* Principle card */
.cmp-principle {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}

.cmp-principle-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(37,99,235,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.cmp-principle-body { flex: 1; min-width: 0; }

.cmp-principle-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.cmp-principle-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Обёртка иконки+текста CTA — на десктопе прозрачная */
.cmp-cta-icon-text {
  display: contents;
}

/* CTA strip */
.cmp-cta {
  background: #EFF4FB;
  border: 1px solid #D0E1FA;
  border-radius: 20px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cmp-cta-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(37,99,235,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmp-cta-text { flex: 1; min-width: 0; }

.cmp-cta-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.cmp-cta-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cmp-cta-btn {
  flex-shrink: 0;
  font-size: 15px;
  padding: 14px 24px;
}

/* ── COMPARISON RESPONSIVE ── */
@media (max-width: 900px) {
  .cmp-inner { padding: 48px 16px; }
  .cmp-col-header { padding: 16px 18px 12px; font-size: 11px; }
  .cmp-cell { padding: 10px 18px; font-size: 14px; gap: 10px; }
  .cmp-principle { padding: 20px; border-radius: 16px; }
  .cmp-cta { padding: 20px; border-radius: 16px; }
}

@media (max-width: 600px) {
  .cmp-inner { padding: 32px 16px; }
  .cmp-heading { font-size: 22px; }

  /* Две отдельные карточки стакаются вертикально */
  .cmp-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
  }

  /* Порядок: сначала все bad (заголовок + 4 ячейки), потом все good */
  .cmp-col-header--bad  { order: 1; }
  .cmp-table > *:nth-child(3)  { order: 2; } /* bad cell 1 */
  .cmp-table > *:nth-child(5)  { order: 3; } /* bad cell 2 */
  .cmp-table > *:nth-child(7)  { order: 4; } /* bad cell 3 */
  .cmp-table > *:nth-child(9)  { order: 5; } /* bad cell 4 — last bad */
  .cmp-col-header--good { order: 6; }
  .cmp-table > *:nth-child(4)  { order: 7; } /* good cell 1 */
  .cmp-table > *:nth-child(6)  { order: 8; } /* good cell 2 */
  .cmp-table > *:nth-child(8)  { order: 9; } /* good cell 3 */
  .cmp-table > *:nth-child(10) { order: 10; } /* good cell 4 — last good */

  /* Заголовок «Как у агентств» — верхняя карточка */
  .cmp-col-header--bad {
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    margin-top: 0;
  }

  /* Последняя bad-ячейка (4-я по счёту) — низ первой карточки */
  .cmp-table > *:nth-child(9) {
    border-bottom: 1.5px solid #C5D5EE;
    border-radius: 0 0 16px 16px;
    padding-bottom: 18px;
    margin-bottom: 12px;
  }

  /* Заголовок «Как у меня» — верхняя часть второй карточки */
  .cmp-col-header--good {
    border-left: 1.5px solid #C5D5EE;
    border-top: 1.5px solid #C5D5EE;
    border-radius: 16px 16px 0 0;
  }

  /* Ячейки «хорошей» колонки */
  .cmp-cell--good {
    border-left: 1.5px solid #C5D5EE;
    border-right: 1.5px solid #C5D5EE;
  }

  /* Последняя good-ячейка — низ второй карточки */
  .cmp-table > *:nth-child(10) {
    border-bottom: 1.5px solid #C5D5EE;
    border-radius: 0 0 16px 16px;
    padding-bottom: 18px;
  }

  /* Принцип — белая карточка, иконка слева, текст справа */
  .cmp-principle {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 16px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid #E2EAF5;
  }

  .cmp-principle-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 0;
  }

  .cmp-principle-body { flex: 1; }
  .cmp-principle-title { font-size: 15px; margin-bottom: 8px; }
  .cmp-principle-text  { font-size: 13.5px; line-height: 1.6; }

  /* CTA — иконка+текст в ряд сверху, кнопка снизу на всю ширину */
  .cmp-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .cmp-cta-icon-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }

  .cmp-cta-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .cmp-cta-text { flex: 1; }
  .cmp-cta-title { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
  .cmp-cta-sub   { font-size: 13px; }

  .cmp-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 16px;
    border-radius: 14px;
  }
}


/* ═══════════════════════════════════════════
   ABOUT SECTION  (.about-*)
═══════════════════════════════════════════ */

.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}

/* Header */
.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-badge {
  display: inline-block;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.18);
  margin-bottom: 20px;
}

.about-heading {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.about-accent { color: var(--blue); }

/* Profile card */
.about-profile {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.about-photo {
  flex-shrink: 0;
  width: 300px;
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
  background: #E8EEF8;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.about-bio {
  flex: 1;
  min-width: 0;
}

.about-bio-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.about-bio-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.about-bio-meta span {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.about-bio-dot {
  color: #B0BED4 !important;
}

.about-bio-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Advantage grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.about-card {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow .2s, transform .2s;
}

.about-card:hover {
  box-shadow: 0 8px 28px rgba(37,99,235,0.09);
  transform: translateY(-2px);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.about-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-icon-green  { background: rgba(5,150,105,0.08); }
.about-icon-blue   { background: rgba(37,99,235,0.08); }
.about-icon-navy   { background: #EAECF5; }
.about-icon-indigo { background: #EEEDF9; }
.about-icon-orange { background: rgba(234,88,12,0.08); }
.about-icon-amber  { background: #FEF3C7; }
.about-icon-violet { background: rgba(124,58,237,0.08); }
.about-icon-pink   { background: rgba(219,39,119,0.08); }

.about-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.about-card-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Stats row */
.about-stats {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}

.about-stat {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid #E2EAF5;
}

.about-stat:last-child { border-right: none; }

.about-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.about-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* CTA strip */
.about-cta-strip {
  background: #D9E6F7;
  border: 1px solid #C0D4EF;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: none;
}

.about-cta-icon {
  width: 40px;
  height: 40px;
  background: rgba(37,99,235,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-cta-text { flex: 1; }

.about-cta-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid var(--blue);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}

.about-cta-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* about mobile — see override below */


/* ── ABOUT RESPONSIVE OVERRIDE (mobile prototype) ── */
@media (max-width: 768px) {
  .about-section { padding: 40px 16px; }

  /* Profile: full-width photo, bio below */
  .about-profile {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 16px 0;
    overflow: hidden;
  }

  .about-photo {
    width: 100%;
    height: 240px;
    border-radius: 16px 16px 0 0;
  }

  .about-bio {
    padding: 16px 16px 0 16px;
  }

  .about-bio-name { font-size: 17px; margin-bottom: 6px; }
  .about-bio-meta { flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
  .about-bio-meta span { font-size: 12px; }
  .about-bio-text { font-size: 13px; line-height: 1.55; }

  /* Cards: 1 column */
  .about-grid { grid-template-columns: 1fr; gap: 10px; }
  .about-card { padding: 16px; border-radius: 14px; }
  .about-card-header { gap: 12px; margin-bottom: 10px; }
  .about-card-icon { width: 38px; height: 38px; }
  .about-card-title { font-size: 14px; }
  .about-card-text { font-size: 13px; }

  /* Stats: 4 columns */
  .about-stats { grid-template-columns: repeat(4, 1fr); border-radius: 14px; }
  .about-stat { border-right: 1px solid #E2EAF5; border-bottom: none; padding: 16px 8px; }
  .about-stat:last-child { border-right: none; }
  .about-stat-icon svg { width: 18px; height: 18px; }
  .about-stat-value { font-size: 22px; margin-bottom: 4px; }
  .about-stat-label { font-size: 11px; line-height: 1.3; }

  /* CTA strip: icon centered, text below, outline button */
  .about-cta-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 24px 16px;
    background: #D9E6F7;
    border: 1px solid #C0D4EF;
    box-shadow: none;
  }

  .about-cta-icon {
    width: 48px;
    height: 48px;
    background: rgba(37,99,235,0.07);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-cta-text { width: 100%; }

  .about-cta-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
  }

  .about-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    border-radius: 14px;
    font-size: 16px;
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
    box-shadow: none;
  }

  .about-cta-btn:hover {
    background: var(--blue);
    color: var(--white);
    transform: none;
  }
}


/* ═══════════════════════════════════════════
   CASES SECTION  (.cases-*)
═══════════════════════════════════════════ */

.cases-section {
  position: relative;
  padding: 0;
  background-image: url('back-keys.jpg');
  background-size: 100% auto;
  background-position: center 80%;
  background-repeat: no-repeat;
  background-color: #EFF4FB;
}

.cases-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #EFF4FB 0%,
    rgba(239,244,251,0.85) 35%,
    rgba(239,244,251,0.3) 60%,
    rgba(239,244,251,0.6) 85%,
    #EFF4FB 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Background overlay */
.cases-bg {
  display: none;
}

.cases-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.cases-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(239,244,251,0.45);
}

/* Inner container */
.cases-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 100px;
}

/* Header */
.cases-header {
  text-align: center;
  margin-bottom: 48px;
}

.cases-badge {
  display: inline-block;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.18);
  margin-bottom: 16px;
}

.cases-heading {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

.cases-accent { color: var(--blue); }

.cases-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Slider nav row: dots left, arrows right */
.cases-slider-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cases-dots {
  display: flex;
  gap: 8px;
}

.cases-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #C8D8EE;
  cursor: pointer;
  padding: 0;
  transition: background .2s, width .2s;
}

.cases-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--blue);
}

.cases-arrows {
  display: flex;
  gap: 8px;
}

.cases-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #D1DCF0;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}

.cases-arrow:hover:not(:disabled) {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.cases-arrow--disabled,
.cases-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Slider wrapper — clips overflow */
.cases-slider-wrap {
  overflow: hidden;
  margin-bottom: 24px;
}

/* Track — flex, transitions on transform */
.cases-grid {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Case card ── */
.case-card {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow .2s, transform .2s;
  /* slider: each card = exactly half the track minus half the gap */
  flex: 0 0 calc(50% - 12px);
  min-width: 0;
}

.case-card:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,0.10);
  transform: translateY(-3px);
}

/* Card top: tag + period */
.case-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.case-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 7px;
}

.case-tag--green  { background: rgba(5,150,105,0.10);  color: #059669; border: 1px solid rgba(5,150,105,0.18); }
.case-tag--violet { background: rgba(79,70,229,0.09);  color: #4F46E5; border: 1px solid rgba(79,70,229,0.18); }
.case-tag--orange { background: rgba(234,88,12,0.09);  color: #EA580C; border: 1px solid rgba(234,88,12,0.18); }

.case-period {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 7px;
}

.case-period--green  { background: #059669; color: #fff; }
.case-period--violet { background: #4F46E5; color: #fff; }
.case-period--orange { background: #C2410C; color: #fff; }

/* Title row with image */
.case-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.case-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  flex: 1;
}

/* Landscape image like in prototype */
.case-img {
  width: 130px;
  height: 95px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  flex-shrink: 0;
  background: #EFF4FB;
}

/* Metrics block */
.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #EAF0F8;
  border-bottom: 1px solid #EAF0F8;
  margin-bottom: 20px;
}

.case-metric-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.case-metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 14px;
}

.case-metric-value span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.case-bar-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.case-bar-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  width: 32px;
  flex-shrink: 0;
}

.case-bar-track {
  flex: 1;
  height: 6px;
  background: #EFF4FB;
  border-radius: 99px;
  overflow: hidden;
}

.case-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease;
}

.case-bar--thin   { background: #CBD5E1; }
.case-bar--green  { background: #059669; }
.case-bar--violet { background: #4F46E5; }
.case-bar--orange { background: #EA580C; }

.case-bar-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  width: 38px;
  text-align: right;
  flex-shrink: 0;
}

/* KPI row */
.case-kpi-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 24px;
  background: #F8FAFF;
  border: 1px solid #E8EFF9;
  border-radius: 14px;
  overflow: hidden;
}

.case-kpi {
  flex: 1;
  padding: 16px 18px;
  border-right: 1px solid #E8EFF9;
}

.case-kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.3;
}

.case-kpi-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}

.case-roi {
  padding: 16px 18px;
  border-radius: 0 14px 14px 0;
  flex-shrink: 0;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.case-roi--green  { background: rgba(5,150,105,0.08);  }
.case-roi--violet { background: rgba(79,70,229,0.08);  }
.case-roi--orange { background: rgba(234,88,12,0.08);  }

.case-roi-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.case-roi--green  .case-roi-label { color: #059669; }
.case-roi--violet .case-roi-label { color: #4F46E5; }
.case-roi--orange .case-roi-label { color: #EA580C; }

.case-roi-value {
  font-size: 24px;
  font-weight: 800;
}

.case-roi--green  .case-roi-value { color: #059669; }
.case-roi--violet .case-roi-value { color: #4F46E5; }
.case-roi--orange .case-roi-value { color: #EA580C; }

/* Done list */
.case-done {
  margin-bottom: 24px;
  flex: 1;
}

.case-done-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.case-done-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.case-done-list li {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.case-done-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7l3.5 3.5L12 4' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Галочки в цвет кейса */
.case-quote--green  ~ * .case-done-list li::before,
.case-card:has(.case-quote--green) .case-done-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7l3.5 3.5L12 4' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.case-card:has(.case-quote--violet) .case-done-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7l3.5 3.5L12 4' stroke='%234F46E5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.case-card:has(.case-quote--orange) .case-done-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7l3.5 3.5L12 4' stroke='%23EA580C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.case-card:has(.case-quote--amber) .case-done-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7l3.5 3.5L12 4' stroke='%23EF9F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.case-done-list li strong {
  color: var(--navy);
  font-weight: 700;
}

/* Quote */
.case-quote {
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.65;
  font-style: italic;
}

.case-quote--green  { background: rgba(5,150,105,0.06);  color: #064E3B; border-left: 3px solid #059669; }
.case-quote--violet { background: rgba(79,70,229,0.06);  color: #312E81; border-left: 3px solid #4F46E5; }
.case-quote--orange { background: rgba(234,88,12,0.06);  color: #7C2D12; border-left: 3px solid #EA580C; }

.case-quote-author {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  opacity: 0.7;
}

/* CTA strip */
.cases-cta {
  background: var(--white);
  border: 1px solid #D1DCF0;
  border-radius: 20px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 2px 16px rgba(37,99,235,0.07);
}

.cases-cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cases-cta-img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cases-cta-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cases-cta-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.cases-cta-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cases-cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.cases-cta-btn:hover {
  transform: translateY(-2px);
}

/* Third card spans full width */
.case-card--wide {
  grid-column: 1 / -1;
}

/* Wide card: title + image side by side, metrics in a row */
.case-card--wide .case-title-row {
  max-width: 600px;
}

.case-card--wide .case-metrics {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
}

.case-card--wide .case-kpi-row {
  max-width: 600px;
}

.case-card--wide .case-done {
  max-width: 600px;
}

.case-card--wide .case-quote {
  max-width: 600px;
}

/* ── CASES RESPONSIVE ── */
@media (max-width: 900px) {
  /* На планшете показываем 1 карточку */
  .case-card {
    flex: 0 0 calc(100% - 0px);
  }

  .case-card { padding: 24px; border-radius: 18px; }
  .case-title { font-size: 19px; }
  .case-img { width: 110px; height: 80px; }
}

@media (max-width: 600px) {
  .cases-inner { padding: 40px 16px; }
  .cases-sub br { display: none; }

  .case-card {
    flex: 0 0 100%;
    padding: 18px;
    border-radius: 16px;
  }
  .case-title { font-size: 17px; }
  .case-img { width: 80px; height: 60px; border-radius: 10px; }

  .case-metric-value { font-size: 20px; }
  .case-kpi-value { font-size: 17px; }
  .case-roi-value { font-size: 20px; }

  .cases-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
    gap: 16px;
    border-radius: 16px;
  }

  .cases-cta-left {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .cases-cta-img { width: 56px; height: 56px; flex-shrink: 0; }
  .cases-cta-title { font-size: 15px; }
  .cases-cta-sub { font-size: 13px; }

  .cases-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 16px;
  }
}

/* ── Amber (кейс 04) ── */
.case-tag--amber    { background: #FAEEDA; color: #BA7517; border: 1px solid #FAC775; }
.case-period--amber { background: #BA7517; color: #fff; }
.case-bar--amber    { background: #EF9F27; }

.case-roi--amber {
  background: #FAEEDA;
  border-left: 1px solid #FAC775;
}
.case-roi--amber .case-roi-label { color: #BA7517; }
.case-roi--amber .case-roi-value { color: #BA7517; }

.case-quote--amber {
  background: #FAEEDA;
  color: #412402;
  border-left: 3px solid #EF9F27;
}

.case-img--nobg { background: transparent; border-radius: 0; }

/* Drag cursor on slider track */
#casesTrack { cursor: grab; }
#casesTrack:active { cursor: grabbing; }
#casesTrack { user-select: none; }

/* ══════════════════════════════════════
   BLOCK 5 — ЧТО ВХОДИТ В РАБОТУ
══════════════════════════════════════ */
.wid-section {
  background: var(--bg);
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.wid-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.wid-header {
  text-align: center;
  margin-bottom: 48px;
}

.wid-badge {
  display: inline-block;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.18);
  margin-bottom: 16px;
}

.wid-heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 12px;
}

.wid-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* Список — на всю ширину контейнера, как другие секции */
.wid-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wid-item {
  background: var(--white);
  border: 1.5px solid #D1DCF0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}

.wid-item.open {
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 4px 24px rgba(37,99,235,0.08);
}

.wid-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .15s;
  font-family: 'Manrope', sans-serif;
}

.wid-trigger:hover { background: var(--bg-light); }

.wid-icon-wrap {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wic--blue   { background: rgba(37,99,235,0.08); }
.wic--indigo { background: rgba(79,70,229,0.08); }
.wic--green  { background: rgba(5,150,105,0.08); }
.wic--orange { background: rgba(234,88,12,0.08); }
.wic--pink   { background: rgba(219,39,119,0.08); }
.wic--amber  { background: rgba(217,119,6,0.08); }

.wid-trigger-label {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.wid-trigger-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 20px;
}

.wid-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: transform .3s ease, color .25s;
  margin-left: 4px;
}

.wid-item.open .wid-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

.wid-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.wid-panel-inner {
  padding: 0 24px 22px 76px;
  border-top: 1px solid #EAF0F8;
}

.wid-panel-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  padding-top: 16px;
}

.wid-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.wid-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid #D1DCF0;
}

/* Note — на всю ширину */
.wid-note {
  margin-top: 24px;
  background: rgba(37,99,235,0.05);
  border: 1.5px solid rgba(37,99,235,0.18);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wid-note-icon { flex-shrink: 0; margin-top: 1px; }

.wid-note-text {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.65;
}

.wid-note-text strong { font-weight: 700; }

/* CTA — на всю ширину, текст + кнопка в строку */
.wid-cta {
  margin-top: 24px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wid-cta-text { flex: 1; }

.wid-cta-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.wid-cta-sub {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

.wid-cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 15px;
  padding: 14px 24px;
}

@media (max-width: 900px) {
  .wid-inner { padding: 0 24px; }
  .wid-trigger-meta { display: none; }
}

@media (max-width: 600px) {
  .wid-section { padding: 56px 0; }
  .wid-inner { padding: 0 16px; }
  .wid-panel-inner { padding-left: 24px; }
  .wid-cta { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 16px; }
  .wid-cta-btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════
   BLOCK 6 — ТАРИФЫ / СТОИМОСТЬ
══════════════════════════════════════ */
.price-section {
  background: var(--bg);
  padding: 80px 0 90px;
  position: relative;
  z-index: 1;
}

.price-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.price-main-card {
  background: rgba(255,255,255,0.72);
  border: 1.5px solid #C8D8EE;
  border-radius: 22px;
  padding: 32px 28px 36px;
  display: grid;
  grid-template-columns: 1.02fr 1.85fr;
  gap: 28px;
  box-shadow: 0 10px 34px rgba(37,99,235,0.06);
  position: relative;
  overflow: hidden;
}

.price-main-card::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.13), rgba(37,99,235,0) 68%);
  pointer-events: none;
}

.price-intro,
.price-offer {
  position: relative;
  z-index: 1;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.16);
  box-shadow: 0 8px 24px rgba(37,99,235,0.08);
  margin-bottom: 26px;
}

.price-heading {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.16;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.price-heading span {
  color: var(--blue);
}

.price-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 390px;
}

.price-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.price-cost,
.price-factors {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.price-cost {
  border-left: 1.5px solid #D3E0F2;
  padding-left: 30px;
}

.price-factors {
  border-left: 1.5px solid #D3E0F2;
  padding-left: 34px;
}

.price-cost-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.price-cost-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2px;
}

.price-cost-from {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.price-cost-value {
  display: block;
  font-size: clamp(50px, 5vw, 76px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: var(--blue);
  text-shadow: 0 10px 26px rgba(37,99,235,0.18);
  white-space: nowrap;
}

.price-cost-period {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}

.price-blue-line,
.price-card-line {
  width: 44px;
  height: 2px;
  background: var(--blue);
  border-radius: 99px;
}

.price-blue-line {
  margin-bottom: 26px;
}

.price-cost-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--navy);
  max-width: 320px;
  margin-bottom: 26px;
}

.price-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.35;
  transition: gap .2s, color .2s;
}

.price-link-btn:hover {
  gap: 18px;
  color: #1d4ed8;
}

.price-link-btn svg {
  flex-shrink: 0;
}

.price-factors-title {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}

.price-factor-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.price-factor {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  position: relative;
  padding-bottom: 24px;
}

.price-factor:last-child {
  padding-bottom: 0;
}

.price-factor::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 24px;
  bottom: 0;
  width: 1px;
  border-left: 1.5px dashed #B9CFF0;
}

.price-factor:last-child::before {
  display: none;
}

.price-factor-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37,99,235,0.10);
  border: 8px solid rgba(37,99,235,0.06);
  box-shadow: inset 0 0 0 5px var(--blue);
  margin-top: 2px;
}

.price-factor-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 6px;
}

.price-factor p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.price-card {
  min-height: 234px;
  background: rgba(255,255,255,0.78);
  border: 1px solid #D7E2F2;
  border-radius: 18px;
  padding: 24px 24px 24px 18px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: center;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,99,235,0.09);
}

.price-card-accent {
  background: linear-gradient(135deg, rgba(255,255,255,0.74) 0%, rgba(226,237,254,0.82) 100%);
}

.price-card-img {
  width: 150px;
  height: 150px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.95), rgba(237,243,252,0.58));
}

.price-card-img img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  display: block;
}

.price-card-body h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 14px;
}

.price-card-line {
  margin-bottom: 16px;
}

.price-card-body p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.price-trust {
  margin-top: 16px;
  background: rgba(255,255,255,0.78);
  border: 1px solid #D7E2F2;
  border-radius: 18px;
  min-height: 104px;
  padding: 16px 28px 16px 24px;
  display: grid;
  grid-template-columns: 92px 1.3fr 1px 1fr 170px;
  align-items: center;
  gap: 24px;
  overflow: visible;
  position: relative;
}

.price-trust-icon {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
}

.price-trust-icon img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.price-trust-title {
  font-size: 18px;
  line-height: 1.45;
  color: var(--navy);
  font-weight: 800;
}

.price-trust-divider {
  width: 1px;
  height: 48px;
  background: #D2DFF1;
}

.price-trust p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.price-trust-graph {
  width: 170px;
  height: 110px;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.92;
  justify-self: end;
  border-radius: 8px;
  mix-blend-mode: multiply;
  overflow: visible;
}

@media (max-width: 1050px) {
  .price-main-card {
    grid-template-columns: 1fr;
  }

  .price-sub {
    max-width: 760px;
  }

  .price-cost {
    border-left: none;
    padding-left: 0;
  }

  .price-cards {
    grid-template-columns: 1fr;
  }

  .price-card {
    grid-template-columns: 170px 1fr;
  }


}

@media (max-width: 768px) {
  .price-section {
    padding: 40px 0 56px;
  }

  .price-inner {
    padding: 0 16px;
  }

  .price-main-card {
    border-radius: 20px;
    padding: 28px 24px 28px;
    gap: 26px;
  }

  .price-badge {
    margin-bottom: 24px;
  }

  .price-heading {
    font-size: 34px;
    line-height: 1.16;
    margin-bottom: 20px;
  }

  .price-sub {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.65;
  }

  .price-offer {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #D7E2F2;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.45);
  }

  .price-cost,
  .price-factors {
    min-height: auto;
    border-left: none;
    padding: 26px;
    justify-content: flex-start;
  }

  .price-cost {
    border-bottom: 1px solid #D7E2F2;
  }

  .price-cost-value {
    font-size: 56px;
  }

  .price-cost-text {
    max-width: 100%;
  }

  .price-link-btn {
    font-size: 16px;
  }

  .price-factors-title {
    margin-bottom: 24px;
  }

  .price-cards {
    gap: 12px;
    margin-top: 14px;
  }

  .price-card {
    min-height: 0;
    grid-template-columns: 132px 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
  }

  .price-card-img {
    width: 132px;
    height: 132px;
    padding: 12px;
  }

  .price-card-img img {
    width: 132px;
    height: 132px;
    padding: 12px;
  }

  .price-card-body h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .price-card-line {
    margin-bottom: 12px;
  }

  .price-card-body p {
    font-size: 13px;
    line-height: 1.55;
  }


}

@media (max-width: 480px) {
  .price-main-card {
    padding: 26px 18px 18px;
  }

  .price-heading {
    font-size: 31px;
  }

  .price-cost,
  .price-factors {
    padding: 24px 18px;
  }

  .price-cost-row {
    gap: 10px;
  }

  .price-cost-value {
    font-size: 48px;
  }

  .price-cost-from,
  .price-cost-period {
    font-size: 17px;
  }

  .price-card {
    grid-template-columns: 104px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .price-card-img,
  .price-card-img img {
    width: 104px;
    height: 104px;
  }

  .price-card-body h3 {
    font-size: 15px;
  }
}

/* ── PRICE BLOCK POLISH ── */
@media (min-width: 1060px) {
  .price-main-card {
    background: #fff;
    background-image: none;
    box-shadow: 0 6px 24px rgba(37,99,235,0.045);
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 30px;
    padding: 34px 34px;
    overflow: hidden;
  }

  .price-main-card::before,
  .price-main-card::after {
    content: none;
    display: none;
  }

  .price-intro {
    max-width: 390px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .price-badge {
    align-self: flex-start;
    margin-bottom: 28px;
  }

  .price-heading {
    max-width: 390px;
    color: var(--navy);
    font-size: 40px;
    line-height: 1.16;
    letter-spacing: -0.045em;
    margin-bottom: 24px;
  }

  .price-heading span {
    color: var(--blue);
  }

  .price-sub {
    max-width: 385px;
    font-size: 15px;
    line-height: 1.7;
  }

  .price-offer {
    background: transparent;
    background-image: none;
    grid-template-columns: minmax(300px, 0.96fr) minmax(320px, 1.04fr);
    gap: 30px;
  }

  .price-cost,
  .price-factors {
    min-height: 330px;
    justify-content: flex-start;
    background: transparent;
    background-image: none;
  }

  .price-cost {
    border-left: 1.5px solid #D3E0F2;
    padding-left: 30px;
  }

  .price-factors {
    border-left: 1.5px solid #D3E0F2;
    padding-left: 34px;
  }

  .price-cost-label {
    display: none;
  }

  .price-cost-from-line {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin: 0 0 8px 0;
  }

  .price-cost-row {
    display: block;
    margin: 0 0 8px 0;
  }

  .price-cost-value {
    display: inline-block;
    color: var(--blue);
    font-size: 64px;
    line-height: 0.95;
    letter-spacing: -0.06em;
    white-space: nowrap;
    text-shadow: 0 10px 26px rgba(37,99,235,0.16);
  }

  .price-ruble {
    font-size: 0.64em;
    top: -0.08em;
    margin-left: 0.025em;
  }

  .price-cost-period {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
  }

  .price-blue-line {
    width: 46px;
    margin-bottom: 24px;
  }

  .price-cost-text {
    max-width: 310px;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
  }

  .price-link-btn {
    width: fit-content;
    max-width: none;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.2;
    gap: 14px;
  }

  .price-factors-title {
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 28px;
  }

  .price-factor {
    grid-template-columns: 28px 1fr;
    gap: 18px;
    padding-bottom: 24px;
  }

  .price-factor-title {
    font-size: 15px;
    line-height: 1.35;
  }

  .price-factor p {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .price-card {
    grid-template-columns: 122px 1fr;
    gap: 18px;
    min-height: 220px;
    padding: 24px 22px;
  }

  .price-card-img {
    width: 122px;
    height: 122px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .price-card-img img {
    width: 122px;
    height: 122px;
    object-fit: contain;
  }

  .price-card-body h3 {
    font-size: 17px;
  }

  .price-card-accent {
    background: rgba(255,255,255,0.78);
    background-image: none;
  }

  .price-trust-icon,
  .price-trust-icon img {
    overflow: visible;
  }

  .price-trust-icon img {
    width: 82px;
    height: 82px;
    object-fit: contain;
  }
}

@media (min-width: 900px) and (max-width: 1059px) {
  .price-main-card {
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.65fr);
    gap: 24px;
    padding: 30px 26px;
  }

  .price-heading {
    font-size: 40px;
    line-height: 1.13;
  }

  .price-sub {
    max-width: 330px;
  }

  .price-offer {
    grid-template-columns: minmax(245px, .9fr) minmax(240px, 1fr);
    gap: 24px;
  }

  .price-cost,
  .price-factors {
    min-height: 330px;
  }

  .price-cost {
    padding-left: 26px;
  }

  .price-factors {
    padding-left: 28px;
  }

  .price-cost-row {
    gap: 10px;
  }

  .price-cost-value {
    font-size: 58px;
    letter-spacing: -0.065em;
  }

  .price-cost-text {
    max-width: 280px;
  }

  .price-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .price-card {
    grid-template-columns: 112px 1fr;
    gap: 16px;
    min-height: 230px;
    padding: 22px 20px;
  }

  .price-card-img,
  .price-card-img img {
    width: 112px;
    height: 112px;
  }

  .price-card-img img {
    object-fit: contain;
  }

  .price-card-body h3 {
    font-size: 16px;
  }

  .price-card-body p {
    font-size: 13px;
  }

  .price-trust {
    grid-template-columns: 78px 1.35fr 1px 1fr 130px;
    gap: 18px;
  }

  .price-trust-icon,
  .price-trust-icon img {
    overflow: visible;
  }

  .price-trust-icon img {
    width: 76px;
    height: 76px;
    object-fit: contain;
  }

  .price-trust-graph {
    width: 130px;
    height: 76px;
  }
}

/* ===== PRICE BLOCK FINAL CLEAN VERSION ===== */
.price-cost-from-line {
  display: block;
}

.price-ruble {
  font-size: 0.66em;
  line-height: 1;
  position: relative;
  top: -0.07em;
  margin-left: 0.02em;
}


@media (min-width: 900px) and (max-width: 1059px) {
  .price-main-card {
    background: #fff !important;
    background-image: none !important;
    grid-template-columns: 1fr !important;
  }

  .price-main-card::before,
  .price-main-card::after {
    content: none !important;
    display: none !important;
  }

  .price-heading {
    max-width: none !important;
    color: var(--navy) !important;
    font-size: 38px !important;
  }

  .price-heading span {
    color: var(--blue) !important;
  }

  .price-intro,
  .price-sub {
    max-width: none !important;
  }

  .price-cost-label {
    display: none !important;
  }

  .price-cost-from-line {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
    margin-bottom: 8px !important;
  }

  .price-link-btn {
    white-space: nowrap !important;
  }
}


/* ── PRICE TRUST MOBILE ── */
@media (max-width: 768px) {
  .price-trust {
    display: block;
    position: relative;
    padding: 18px 16px;
    border-radius: 16px;
    min-height: 0;
  }

  /* Иконка float left, заголовок рядом */
  .price-trust-icon {
    float: left;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: visible;
    margin-right: 14px;
    margin-bottom: 4px;
    flex-shrink: 0;
  }

  .price-trust-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }

  .price-trust-title {
    overflow: hidden;
    font-size: 15px;
    line-height: 1.45;
    padding-top: 2px;
  }

  /* Синяя линия под заголовком, float очищен */
  .price-trust-divider {
    clear: both;
    display: block;
    width: 44px;
    height: 2px;
    background: #2563EB;
    border-radius: 99px;
    margin: 12px 0 14px;
  }

  /* Текст с отступом справа под график */
  .price-trust p {
    font-size: 13px;
    line-height: 1.6;
    padding-right: 100px;
    padding-top: 0;
    border-top: none;
    min-height: 80px;
  }

  /* График absolute справа внизу */
  .price-trust-graph {
    display: block;
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 110px;
    height: 75px;
    object-fit: contain;
    object-position: right bottom;
  }
}


/* ═══════════════════════════════════════════
   PROCESS SECTION  (.proc-*)
═══════════════════════════════════════════ */

.proc-section {
  background: var(--bg);
  padding: 80px 0 90px;
  position: relative;
  z-index: 1;
}

.proc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.proc-header {
  text-align: center;
  margin-bottom: 56px;
}

.proc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.18);
  margin-bottom: 20px;
}

.proc-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.proc-heading {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.proc-heading-accent { color: var(--blue); }

.proc-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* Timeline row */
.proc-timeline {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  padding: 0 0;
}

.proc-timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--blue) 0%, rgba(37,99,235,0.25) 100%);
  transform: translateY(-50%);
  z-index: 0;
}

.proc-step-num {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.proc-step-num-inner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid rgba(37,99,235,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

/* Cards grid */
.proc-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.proc-card {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 16px;
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}

.proc-card:hover {
  box-shadow: 0 8px 28px rgba(37,99,235,0.10);
  transform: translateY(-2px);
}

/* Пунктирная линия от номера вниз к карточке */
.proc-card::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 24px;
  border-left: 1.5px dashed rgba(37,99,235,0.3);
}

.proc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.proc-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(37,99,235,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proc-card-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.proc-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}

.proc-card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* Footer strip */
.proc-footer {
  margin-top: 24px;
  background: rgba(37,99,235,0.05);
  border: 1.5px solid rgba(37,99,235,0.15);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.proc-footer-icon {
  width: 44px;
  height: 44px;
  background: rgba(37,99,235,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proc-footer-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.proc-footer-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── PROCESS RESPONSIVE ── */
@media (max-width: 900px) {
  .proc-inner { padding: 0 20px; }
  .proc-section { padding: 56px 0; }

  /* Скрываем горизонтальный timeline */
  .proc-timeline { display: none; }

  /* Вертикальный список */
  .proc-cards {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
  }

  /* Вертикальная линия */
  .proc-cards::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: linear-gradient(180deg, var(--blue) 0%, rgba(37,99,235,0.2) 100%);
    z-index: 0;
  }

  .proc-card {
    border-radius: 14px;
    padding: 18px 16px;
    margin-bottom: 12px;
    margin-left: 64px;
    position: relative;
  }

  /* Убираем верхнюю пунктирную линию */
  .proc-card::before { display: none; }

  /* Номер этапа слева от карточки */
  .proc-card::after {
    content: attr(data-step);
    position: absolute;
    left: -46px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid rgba(37,99,235,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--blue);
    text-align: center;
    line-height: 32px;
  }

  .proc-card-top {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .proc-footer {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }
}

@media (max-width: 600px) {
  .proc-heading { font-size: 26px; }
  .proc-sub br { display: none; }
  .proc-card { margin-left: 52px; }
  .proc-card::after { left: -38px; }
}


/* ═══════════════════════════════════════════
   FAQ SECTION  (.faq-*)
═══════════════════════════════════════════ */

.faq-section {
  background: var(--bg);
  padding: 80px 0 90px;
  position: relative;
  z-index: 1;
}

.faq-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.18);
  margin-bottom: 20px;
}

.faq-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.faq-heading {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.faq-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Layout: accordion left + sticky card right */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* ── Accordion ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.faq-item:hover {
  border-color: rgba(37,99,235,0.25);
}

.faq-item.open {
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 4px 20px rgba(37,99,235,0.07);
}

/* Last item — CTA style */
.faq-item--cta {
  border-color: rgba(37,99,235,0.2);
  background: rgba(37,99,235,0.03);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Manrope', sans-serif;
}

.faq-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  width: 28px;
  flex-shrink: 0;
  opacity: 0.7;
}

.faq-item.open .faq-num { opacity: 1; }

.faq-trigger-text {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.faq-item--cta .faq-trigger-text {
  color: var(--blue);
}

.faq-plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(37,99,235,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: transform .3s, background .2s, border-color .2s;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Panel */
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-panel-inner {
  padding: 0 20px 18px 64px;
}

.faq-panel-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-list-items {
  list-style: none !important;
  padding: 0 !important;
  margin: 8px 0 0 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-list-items li {
  list-style: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 !important;
}

.faq-list-items li::before {
  content: '' !important;
  display: block;
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--blue);
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

.faq-list-items li::marker {
  display: none;
  content: '';
}

/* CTA item — особый аккордеон */
.faq-item--cta .faq-panel-inner {
  padding-bottom: 20px;
}

.faq-cta-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.faq-cta-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.faq-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1.5px solid rgba(37,99,235,0.3);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}

.faq-cta-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ── Sticky sidebar card ── */
.faq-card {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 20px;
  padding: 28px 24px;
  position: sticky;
  top: 80px;
}

.faq-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(37,99,235,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.faq-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  text-align: center;
  margin-bottom: 12px;
}

.faq-card-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
  margin-bottom: 20px;
}

/* Checklist */
.faq-card-list {
  background: #F4F8FF;
  border: 1px solid #DDE8F8;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-card-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.faq-card-list-item svg {
  flex-shrink: 0;
}

/* Arrow + note */
.faq-card-arrow {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  color: #94a3b8;
}

.faq-card-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
  margin-bottom: 20px;
}

/* CTA button */
.faq-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--blue);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

.faq-card-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.4);
}

/* Bottom note */
.faq-card-bottom {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #EAF0F8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-card-bottom-icon {
  flex-shrink: 0;
  color: var(--blue);
  opacity: 0.6;
}

.faq-card-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Q09 — статичный CTA без аккордеона */
.faq-item--cta-static {
  cursor: default;
}

.faq-trigger--static {
  cursor: default;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 18px 20px;
}

.faq-trigger--static:hover {
  background: none;
}

.faq-cta-static-body {
  flex: 1;
  min-width: 0;
}

.faq-cta-static-body .faq-trigger-text {
  display: block;
  margin-bottom: 4px;
}

.faq-cta-static-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}

/* ── FAQ RESPONSIVE ── */
@media (max-width: 900px) {
  .faq-inner { padding: 0 20px; }
  .faq-section { padding: 56px 0; }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-card {
    position: static;
  }

  .faq-card-icon { width: 56px; height: 56px; }
  .faq-card-title { font-size: 18px; }
}

@media (max-width: 600px) {
  .faq-heading { font-size: 30px; }
  .faq-sub br { display: none; }
  .faq-panel-inner { padding-left: 44px; padding-right: 16px; }
  .faq-cta-body { flex-direction: column; align-items: flex-start; }
  .faq-cta-btn { width: 100%; justify-content: center; }
}


/* ═══════════════════════════════════════════
   CONTACT FORM SECTION  (.cform-*)
═══════════════════════════════════════════ */

.cform-section {
  background: var(--bg);
  padding: 80px 0 90px;
  position: relative;
  z-index: 1;
}


.cform-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.cform-header {
  margin-bottom: 40px;
  max-width: 660px;
}

.cform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.18);
  margin-bottom: 20px;
}

.cform-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.cform-heading {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cform-heading-accent { color: var(--blue); }

.cform-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.cform-sub-accent {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}

/* 4 mini feature cards */
.cform-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.cform-feature {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 14px;
  padding: 16px;
  transition: box-shadow .2s, transform .2s;
}

.cform-feature:hover {
  box-shadow: 0 6px 20px rgba(37,99,235,0.09);
  transform: translateY(-2px);
}

.cform-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(37,99,235,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.cform-feature-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 6px;
}

.cform-feature-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Form wrapper */
.cform-form {
  background: var(--white);
  border: 1px solid #E2EAF5;
  border-radius: 20px;
  padding: 32px;
}

/* Form rows */
.cform-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.cform-row--4 { grid-template-columns: repeat(4, 1fr); }
.cform-row--2 { grid-template-columns: 1fr 1fr; }
.cform-row--1 { grid-template-columns: 1fr; }

/* Field */
.cform-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cform-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cform-label-note {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.cform-input {
  width: 100%;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid #E0EAF6;
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

input.cform-input { height: 48px; }

.cform-input::placeholder {
  color: #A0B0C8;
  font-weight: 400;
}

.cform-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: var(--white);
}

textarea.cform-input {
  resize: vertical;
  min-height: 100px;
}

/* Contact method checkboxes */
.cform-contacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cform-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  background: var(--white);
  border: 1.5px solid #E0EAF6;
  border-radius: 10px;
  padding: 0 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  user-select: none;
}

.cform-contact-item:hover {
  border-color: rgba(37,99,235,0.35);
}

.cform-contact-item.selected {
  border-color: var(--blue);
  background: rgba(37,99,235,0.05);
}

.cform-contact-item input[type="checkbox"] {
  display: none;
}

.cform-contact-icon {
  width: 28px;
  height: 28px;
  background: rgba(37,99,235,0.07);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cform-contact-icon--max {
  background: transparent;
  overflow: visible;
}

.cform-contact-label {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.cform-contact-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #C8D8EE;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}

.cform-contact-item.selected .cform-contact-check {
  background: var(--blue);
  border-color: var(--blue);
}

/* Submit */
.cform-submit {
  margin-top: 20px;
}

.cform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--blue);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

.cform-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.4);
}

/* ── CONTACT FORM RESPONSIVE ── */
@media (max-width: 900px) {
  .cform-inner { padding: 0 20px; }
  .cform-section { padding: 56px 0; }
  .cform-features { grid-template-columns: repeat(2, 1fr); }
  .cform-form {
    padding: 24px;
    grid-template-columns: 1fr;
  }
  .cform-form-right {
    position: static;
  }
  .cform-row--4 { grid-template-columns: repeat(2, 1fr); }
  .cform-contacts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .cform-features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cform-feature { padding: 14px; }
  .cform-feature-icon { width: 36px; height: 36px; margin-bottom: 10px; }
  .cform-row--4 { grid-template-columns: 1fr; }
  .cform-row--2 { grid-template-columns: 1fr; }
  .cform-form { padding: 20px 16px; border-radius: 16px; }
  .cform-contacts { grid-template-columns: repeat(2, 1fr); }
  .cform-btn { font-size: 15px; padding: 16px; }
}

/* ─────────────────────────────────────────────
   Дополнения темы WordPress (не было в вёрстке)
───────────────────────────────────────────── */

/* Honeypot — скрытое поле-ловушка для ботов. */
.b2bseo-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Сообщения после отправки формы. */
.cform-notice {
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.cform-notice--ok {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.cform-notice--error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* Админ-бар не должен наезжать на фиксированную шапку. */
body.admin-bar nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar nav {
    top: 46px;
  }
}

/* ─────────────────────────────────────────────
   Мобильное меню (раскрытие по бургеру)
───────────────────────────────────────────── */

.mobile-menu {
  display: none;
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-links li { margin: 0; }

.mobile-menu-links a {
  display: block;
  padding: 15px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.mobile-menu-links a:active { color: var(--blue); }

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
}

.mobile-menu-btn svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    background: var(--white);
    border-top: 0 solid rgba(37, 99, 235, 0.08);
    transition: max-height .32s ease, padding .32s ease;
  }

  nav.menu-open .mobile-menu {
    max-height: 80vh;
    overflow-y: auto;
    padding: 8px 16px 20px;
    border-top: 1px solid rgba(37, 99, 235, 0.08);
  }

  /* Анимация бургера в «крестик». */
  .burger { transition: none; }
  .burger span { transition: transform .28s ease, opacity .2s ease; }

  nav.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.menu-open .burger span:nth-child(2) { opacity: 0; }
  nav.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Блокировка прокрутки, когда открыто меню или модалка. */
body.b2bseo-no-scroll { overflow: hidden; }

/* ─────────────────────────────────────────────
   Модальное окно «Связаться»
───────────────────────────────────────────── */

.cmodal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cmodal[hidden] { display: none; }

.cmodal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  animation: cmodalFade .2s ease;
}

.cmodal-dialog {
  position: relative;
  width: 100%;
  max-width: 620px;
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
  animation: cmodalPop .24s cubic-bezier(.2, .9, .3, 1.2);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

@keyframes cmodalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmodalPop {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cmodal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: none;
  border-radius: 12px;
  color: var(--navy);
  cursor: pointer;
  transition: background .2s;
}

.cmodal-close:hover { background: #E2E8F5; }

.cmodal-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 60px 14px 0;
  line-height: 1.15;
}

.cmodal-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.cmodal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cmodal-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1.5px solid #E2E8F5;
  border-radius: 16px;
  text-decoration: none;
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s, transform .1s;
}

.cmodal-item:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.cmodal-item:active { transform: scale(.99); }

.cmodal-item-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.cmodal-icon--tg   { background: #29A9EB; }
.cmodal-icon--max  { background: linear-gradient(135deg, #6D5AE6 0%, #B14BF4 100%); }
.cmodal-icon--mail { background: #2563EB; }

/* Иконка-картинка (загруженный логотип). */
.cmodal-item-icon--img { background: transparent; }
.cmodal-item-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

/* Строка e-mail: не ссылка целиком — текст можно выделять. */
.cmodal-item--email {
  cursor: default;
}
.cmodal-email-text {
  user-select: all;
  pointer-events: none; /* отключает переход по mailto */
}
.cmodal-item--email:hover {
  border-color: #E2E8F5;
  box-shadow: none;
}
.cmodal-email-text {
  user-select: text;
  -webkit-user-select: text;
  cursor: text;
  text-decoration: none;
  color: var(--navy);
  word-break: break-all;
}
.cmodal-email-text:hover {
  color: var(--blue);
  text-decoration: underline;
}

.cmodal-copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--text-muted);
  font: 600 13px 'Manrope', sans-serif;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cmodal-copy:hover { background: #E2E8F5; color: var(--navy); }
.cmodal-copy-done { display: none; color: #059669; }
.cmodal-copy.is-done { background: #ECFDF5; }
.cmodal-copy.is-done .cmodal-copy-ico { display: none; }
.cmodal-copy.is-done .cmodal-copy-done { display: inline; }

.cmodal-item-label {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
}

.cmodal-item-arrow {
  flex-shrink: 0;
  color: #B4C0D6;
}

@media (max-width: 600px) {
  .cmodal { padding: 14px; }
  .cmodal-dialog { padding: 28px 20px; border-radius: 20px; }
  .cmodal-close { top: 16px; right: 16px; width: 38px; height: 38px; }
  .cmodal-title { font-size: 24px; margin-right: 44px; }
  .cmodal-desc { font-size: 15px; margin-bottom: 22px; padding-bottom: 18px; }
  .cmodal-item { padding: 14px 16px; gap: 14px; }
  .cmodal-item-icon { width: 46px; height: 46px; border-radius: 12px; }
  .cmodal-item-label { font-size: 16px; }
}

/* ─────────────────────────────────────────────
   Обязательные поля, ошибки, AJAX-форма
───────────────────────────────────────────── */

/* Компенсация липкой шапки: якоря (#cform и др.) не «недоезжают». */
:target,
#hero, #wsf, #cmp, #about, #cases, #wid, #proc, #price, #faq, #cform {
  scroll-margin-top: 84px;
}

.cform-req {
  color: #EF4444;
  font-weight: 700;
}

.cform-input--error {
  border-color: #EF4444 !important;
  background: #FEF2F2;
}

.cform-input--error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.cform-notice-js[hidden] { display: none; }

.cform-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.cform-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

@media screen and (max-width: 782px) {
  /* Под админ-баром смещение якоря чуть больше. */
  body.admin-bar :target,
  body.admin-bar #cform { scroll-margin-top: 130px; }
}

/* ─────────────────────────────────────────────
   Плавающий виджет связи (правый нижний угол)
───────────────────────────────────────────── */

.cfab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cfab-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
  /* скрыто по умолчанию */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.cfab.open .cfab-items {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.cfab-item {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  transition: transform .18s ease;
}

.cfab-item:hover { transform: scale(1.08); }

.cfab-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cfab-item-ico {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cfab-ico--tg  { background: #29A9EB; }
.cfab-ico--max { background: linear-gradient(135deg, #6D5AE6 0%, #B14BF4 100%); }

/* Плавное появление каждой иконки со сдвигом. */
.cfab.open .cfab-items .cfab-item { animation: cfabPop .28s ease backwards; }
.cfab.open .cfab-items .cfab-item:nth-child(1) { animation-delay: .02s; }
.cfab.open .cfab-items .cfab-item:nth-child(2) { animation-delay: .08s; }

@keyframes cfabPop {
  from { opacity: 0; transform: translateY(10px) scale(.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cfab-toggle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease;
}

.cfab-toggle:hover { background: var(--blue-dark); transform: scale(1.05); }

.cfab-toggle .cfab-ic-open,
.cfab-toggle .cfab-ic-close {
  position: absolute;
  transition: opacity .2s ease, transform .2s ease;
}

.cfab-toggle .cfab-ic-close { opacity: 0; transform: rotate(-90deg); }

.cfab.open .cfab-toggle .cfab-ic-open  { opacity: 0; transform: rotate(90deg); }
.cfab.open .cfab-toggle .cfab-ic-close { opacity: 1; transform: rotate(0); }

/* Лёгкая пульсация, чтобы привлечь внимание (пока закрыт). */
.cfab:not(.open) .cfab-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45);
  animation: cfabPulse 2.4s ease-out infinite;
}

@keyframes cfabPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@media (max-width: 600px) {
  .cfab { right: 16px; bottom: 16px; }
  .cfab-toggle { width: 54px; height: 54px; }
  .cfab-item { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .cfab:not(.open) .cfab-toggle::before { animation: none; }
  .cfab.open .cfab-items .cfab-item { animation: none; }
}

/* ─────────────────────────────────────────────
   Чекбокс согласия с политикой
───────────────────────────────────────────── */

.cform-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-top: 4px;
}

.cform-consent input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cform-consent-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid #C7D2E6;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}

.cform-consent-box svg { opacity: 0; transition: opacity .15s; }

.cform-consent input:checked + .cform-consent-box {
  background: var(--blue);
  border-color: var(--blue);
}
.cform-consent input:checked + .cform-consent-box svg { opacity: 1; }

.cform-consent input:focus-visible + .cform-consent-box {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.cform-consent-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.cform-consent-text a {
  color: var(--blue);
  text-decoration: underline;
}

.cform-consent--error .cform-consent-box { border-color: #EF4444; background: #FEF2F2; }
.cform-consent--error .cform-consent-text { color: #B91C1C; }
