/* ─── B2B page ───────────────────────────────────── */

/* HERO */
.b2b-hero {
  padding: 64px 0 32px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(34,197,94,0.08), transparent 60%),
    var(--color-bg);
}

.b2b-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--green-50, #f0fdf4);
  border: 1px solid var(--green-200, #bbf7d0);
  border-radius: 100px;
  color: var(--green-700, #15803d);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.b2b-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.2);
}

.b2b-h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.b2b-accent { color: var(--color-primary); }
.b2b-accent-green { color: var(--green-500, #22c55e); }

.b2b-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* PRICING GRID */
.b2b-pricing { padding: 32px 0 64px; }

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1100px) { .b2b-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .b2b-grid { grid-template-columns: 1fr; } }

/* Карточка = grid с фиксированными строками:
   1) name             auto
   2) tagline          84px (фиксировано под любой текст до 4 строк)
   3) price            76px
   4) divider          auto
   5) list-title       auto
   6) list             1fr (растягивается)
*/
.b2b-card {
  display: grid;
  grid-template-rows: auto 84px 76px auto auto 1fr;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.b2b-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.b2b-card-popular {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  position: relative;
}
.b2b-card-popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.b2b-card-custom {
  background: linear-gradient(180deg, var(--gray-900) 0%, #0a0e17 100%);
  color: #e5e7eb;
  border-color: var(--gray-900);
}
.b2b-card-custom .b2b-card-name { color: var(--green-500, #22c55e); }
.b2b-card-custom .b2b-card-tag { color: var(--gray-400); }
.b2b-card-custom .b2b-price-value-text { color: #fff; }
.b2b-card-custom .b2b-price-period { color: var(--gray-400); }
.b2b-card-custom .b2b-card-list-title { color: var(--gray-400); }
.b2b-card-custom .b2b-card-divider { background: rgba(255,255,255,0.1); }
.b2b-card-custom .b2b-card-list li { color: #d1d5db; }
.b2b-card-custom .b2b-card-list li strong { color: #fff; }

.b2b-card-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.b2b-card-tag {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  /* высота жестко задается grid-row 84px, внутри текст оверфлоуится как надо */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Оболочка блока цены — выравниваем по нижнему краю своей grid-ячейки */
.b2b-card-price-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.b2b-price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}
.b2b-price-value {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}
.b2b-card-custom .b2b-price-value { color: #fff; }
.b2b-price-cur {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-700);
}
.b2b-card-custom .b2b-price-cur { color: #e5e7eb; }
.b2b-price-value-text {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  text-align: center;
}
.b2b-price-period {
  font-size: 13px;
  color: var(--color-text-muted);
}

.b2b-card-divider {
  height: 1px;
  background: var(--color-border);
  margin: 24px 0 18px;
}



.b2b-card-list-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.b2b-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-grow: 1;
  padding: 0;
  margin: 0;
}

.b2b-card-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gray-700);
  /* фиксированная высота строки фичи — под максимум две строки текста */
  min-height: 44px;
  padding: 6px 0;
}

.b2b-card-list li strong {
  color: var(--gray-900);
  font-weight: 600;
}

.b2b-muted { color: var(--color-text-faint) !important; }

.ic-check, .ic-dash {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.ic-check { color: var(--color-primary); }
.ic-dash  { color: var(--gray-300); }
.b2b-card-custom .ic-check { color: var(--green-500, #22c55e); }

/* Контактный блок под карточками */
.b2b-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}
.b2b-contact-text {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.5;
}
.b2b-contact-email {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}
.b2b-contact-email:hover { color: var(--color-primary-hover); }

/* ADVANTAGE */
.b2b-advantage {
  padding: 80px 0;
  background: var(--gray-900);
  color: #e5e7eb;
}
.b2b-advantage-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) { .b2b-advantage-inner { grid-template-columns: 1fr; } }

.b2b-advantage-text h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
}
.b2b-advantage-text p {
  font-size: 16px;
  line-height: 1.65;
  color: #c2c4ca;
  margin-bottom: 14px;
}
.b2b-advantage-text strong { color: #fff; font-weight: 600; }

.b2b-timeline {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.b2b-timeline-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.b2b-timeline-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.b2b-timeline-label {
  width: 110px;
  font-size: 12px;
  color: #c2c4ca;
  font-weight: 500;
}
.b2b-timeline-track {
  flex: 1;
  height: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.b2b-timeline-tick {
  position: absolute;
  top: 4px;
  height: 16px;
  width: 3px;
  background: var(--green-500, #22c55e);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
}
.b2b-timeline-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  margin-left: 122px;
  font-size: 11px;
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}
.b2b-timeline-summary {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  line-height: 1.5;
  color: #c2c4ca;
}
.b2b-timeline-summary strong {
  color: var(--green-500, #22c55e);
  font-weight: 700;
}

/* COMPARISON TABLE */
.b2b-note {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 8px;
  font-style: italic;
}

.b2b-comparison { padding: 80px 0; }

.b2b-section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}
.b2b-section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.b2b-section-head p {
  font-size: 16px;
  color: var(--color-text-muted);
}

.b2b-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.b2b-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}
.b2b-table thead th {
  background: var(--gray-50);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  color: var(--gray-900);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
.b2b-table thead th:first-child { width: 32%; }
.b2b-table thead th.b2b-col-popular {
  background: var(--green-50, #f0fdf4);
  color: var(--green-700, #15803d);
}
.b2b-table tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}
.b2b-table tbody tr:last-child td { border-bottom: none; }
.b2b-table tbody td:first-child {
  font-weight: 500;
  color: var(--gray-800);
}
.b2b-table .b2b-row-group td {
  background: var(--gray-50);
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}
.b2b-table .b2b-row-group td span {
  text-transform: none;
  font-weight: 400;
  color: var(--gray-400);
}
.b2b-table td.b2b-col-popular { background: rgba(22,163,74,0.03); }

.b2b-table tbody td b {
  font-weight: 600;
  color: var(--gray-900);
  font-variant-numeric: tabular-nums;
}
.b2b-yes  { color: var(--color-primary); font-weight: 600; }
.b2b-no   { color: var(--gray-300); }
.b2b-cell-hint {
  display: inline-block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-left: 4px;
}

/* FAQ */
.b2b-faq { padding: 0 0 80px; }

.b2b-faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.b2b-faq-item {
  border-bottom: 1px solid var(--color-border);
}
.b2b-faq-item summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.b2b-faq-item summary::-webkit-details-marker { display: none; }
.b2b-faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform .2s;
  flex-shrink: 0;
}
.b2b-faq-item[open] summary::after { transform: rotate(45deg); }
.b2b-faq-answer {
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.b2b-faq-answer a { color: var(--color-primary); }

/* FINAL CTA */
.b2b-cta-final {
  padding: 64px 0;
  background: var(--green-50, #f0fdf4);
  text-align: center;
  border-top: 1px solid var(--green-100, #dcfce7);
}
.b2b-cta-final h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-align: center;
}
.b2b-cta-final p {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}
.b2b-cta-final p a {
  color: var(--color-primary);
  font-weight: 600;
}
.b2b-cta-final p a:hover { color: var(--color-primary-hover); }



