/* Страница «B2BPRO Phone» на b2bpro.kz. Все правила под .b2bp, чтобы не задевать тему Astra. */
.b2bp, .b2bp * { box-sizing: border-box; }
.b2bp {
  --ink: #0a1f44; --sub: #41618f; --muted: #6b7f9e; --blue: #0b66ff; --blue-d: #0a54d6; --sky: #2fc7f7;
  --line: #dde7f5; --bg: #f4f8ff; --card: #ffffff; --green: #1fa45b; --red: #d93025;
  font-family: 'Golos Text', 'Source Sans 3', system-ui, sans-serif;
  color: var(--ink); line-height: 1.55; font-size: 17px;
  background: #fff; overflow: hidden;
}
.b2bp h1, .b2bp h2, .b2bp h3, .b2bp p, .b2bp ul, .b2bp ol { margin: 0; padding: 0; }
.b2bp h1, .b2bp h2, .b2bp h3 { font-family: inherit; color: var(--ink); letter-spacing: -0.02em; }
.b2bp a { color: var(--blue); text-decoration: none; }
.b2bp a:hover { text-decoration: underline; }
.b2bp .wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Герой ── */
.b2bp .hero {
  background: radial-gradient(900px 420px at 85% 10%, rgba(47,199,247,.22), transparent 60%),
              linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
  padding: 72px 0 56px;
}
.b2bp .hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.b2bp .badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: #e3eeff; color: var(--blue-d);
  font-size: 14px; font-weight: 600; margin-bottom: 18px;
}
.b2bp .hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; font-weight: 700; margin-bottom: 18px; }
.b2bp .hero h1 span { color: var(--blue); }
.b2bp .lead { font-size: 19px; color: var(--sub); max-width: 560px; margin-bottom: 28px; }
.b2bp .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.b2bp .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none;
  padding: 15px 26px; border-radius: 14px; border: 2px solid var(--blue); transition: transform .12s, box-shadow .12s, background .12s;
}
.b2bp .btn:hover { text-decoration: none; transform: translateY(-1px); }
.b2bp .btn-primary { background: var(--blue); color: #fff !important; box-shadow: 0 8px 22px rgba(11,102,255,.28); }
.b2bp .btn-primary:hover { background: var(--blue-d); border-color: var(--blue-d); }
.b2bp .btn-ghost { background: #fff; color: var(--blue) !important; }
.b2bp .btn-ghost:hover { background: #f0f6ff; }
.b2bp .btn-small { padding: 11px 18px; font-size: 15px; border-radius: 12px; }
.b2bp .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.b2bp .meta { color: var(--muted); font-size: 14.5px; }
.b2bp .meta a { color: var(--sub); text-decoration: underline; }
.b2bp .hero-img { display: flex; justify-content: center; }
.b2bp .hero-img img { width: min(320px, 78%); height: auto; filter: drop-shadow(0 28px 40px rgba(10,31,68,.28)); }

/* ── Секции ── */
.b2bp section[id] { scroll-margin-top: 110px; }
.b2bp section { padding: 64px 0; }
.b2bp .sec-title { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; margin-bottom: 12px; text-align: center; }
.b2bp .sec-sub { color: var(--sub); text-align: center; max-width: 720px; margin: 0 auto 40px; font-size: 18px; }
.b2bp .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.b2bp .feat {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px;
  box-shadow: 0 6px 22px rgba(10,31,68,.05);
}
.b2bp .feat .ic {
  width: 48px; height: 48px; border-radius: 14px; background: #e8f1ff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.b2bp .feat h3 { font-size: 18px; font-weight: 650; margin-bottom: 8px; }
.b2bp .feat p { color: var(--sub); font-size: 15.5px; }

/* ── Генератор ── */
.b2bp .gen-sec { background: var(--bg); }
.b2bp .gen {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; background: #fff; border: 1px solid var(--line);
  border-radius: 28px; padding: 34px; box-shadow: 0 18px 50px rgba(10,31,68,.09); max-width: 1040px; margin: 0 auto;
}
.b2bp .where { background: #eef5ff; border-radius: 14px; padding: 14px 16px; font-size: 14.5px; color: var(--sub); margin-bottom: 20px; }
.b2bp .where b { color: var(--ink); }
.b2bp .field { margin-bottom: 14px; }
.b2bp .field label { display: block; font-size: 14px; font-weight: 600; color: var(--sub); margin-bottom: 6px; }
.b2bp .field input, .b2bp .field select {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid #cfdcf0; border-radius: 12px; padding: 13px 14px; outline: none; transition: border-color .12s, box-shadow .12s;
  height: auto; line-height: 1.3;
}
.b2bp .field input:focus, .b2bp .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,102,255,.14); }
.b2bp .pass { position: relative; }
.b2bp .pass input { padding-right: 52px; }
.b2bp .eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px;
  background: transparent; color: var(--sub); cursor: pointer; font-size: 18px; padding: 0; line-height: 1;
}
.b2bp .eye:hover { background: #eef3fb; color: var(--ink); }
.b2bp .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b2bp .preview { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; }
.b2bp .qrbox {
  width: 100%; max-width: 330px; aspect-ratio: 1; border-radius: 22px; background: #fff; border: 2px dashed #bcd0ee;
  display: flex; align-items: center; justify-content: center; padding: 12px; position: relative;
}
.b2bp .qrbox.ready { border: 2px solid var(--line); box-shadow: 0 10px 30px rgba(10,31,68,.1); }
.b2bp .qrbox canvas { width: 100%; height: 100%; image-rendering: pixelated; display: none; }
.b2bp .qrbox.ready canvas { display: block; }
.b2bp .qrbox .ph { color: var(--muted); font-size: 15px; text-align: center; padding: 0 22px; }
.b2bp .qrbox.ready .ph { display: none; }
.b2bp .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; }
.b2bp .warn {
  background: #fff6e6; border: 1px solid #ffe0a3; color: #7a4d00; border-radius: 12px; padding: 12px 14px; font-size: 14px; width: 100%;
}
.b2bp .ok { color: var(--green); font-weight: 600; font-size: 14px; min-height: 20px; }
.b2bp .err { color: var(--red); font-size: 14px; min-height: 18px; margin-top: 4px; }

/* ── Шаги ── */
.b2bp .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.b2bp .step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px 24px; }
.b2bp .step::before {
  counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(11,102,255,.35);
}
.b2bp .step h3 { font-size: 18px; margin-bottom: 8px; }
.b2bp .step p { color: var(--sub); font-size: 15.5px; }

/* ── Вопросы ── */
.b2bp .faq { max-width: 820px; margin: 0 auto; }
.b2bp details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 20px; }
.b2bp summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.b2bp summary::-webkit-details-marker { display: none; }
.b2bp summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; font-weight: 400; }
.b2bp details[open] summary::after { content: "−"; }
.b2bp details p { color: var(--sub); padding: 0 0 18px; font-size: 16px; }

/* ── Призыв ── */
.b2bp .band {
  background: linear-gradient(120deg, #0a2a6b 0%, #0b66ff 70%, #2fc7f7 130%); color: #fff; border-radius: 28px; padding: 44px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.b2bp .band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.b2bp .band p { color: #d6e5ff; max-width: 620px; }
.b2bp .band .btn { background: #fff; color: var(--blue-d) !important; border-color: #fff; }

@media (max-width: 960px) {
  .b2bp .hero .wrap, .b2bp .gen { grid-template-columns: 1fr; }
  .b2bp .features { grid-template-columns: repeat(2, 1fr); }
  .b2bp .steps { grid-template-columns: 1fr; gap: 28px; }
  .b2bp .hero { padding-top: 44px; }
  .b2bp .hero-img { order: -1; }
}
@media (max-width: 560px) {
  .b2bp .features { grid-template-columns: 1fr; }
  .b2bp .gen { padding: 20px; border-radius: 22px; }
  .b2bp .row2 { grid-template-columns: 1fr; }
  .b2bp .band { padding: 30px 22px; }
  .b2bp section { padding: 44px 0; }
}
