/*
Theme Name: Virbonus B2B
Theme URI: https://gotovayaliniya.ru
Author: Virbonus
Description: Mobile-first B2B lead generation theme for contact-center and industrial supply landings.
Version: 1.0.0
Text Domain: virbonus-b2b
*/

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6f8fb;
  color: #162032;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #dce3ec;
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #101828;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font-weight: 900;
}

.brand small {
  display: block;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 18px;
  color: #46556b;
  font-size: 14px;
  font-weight: 700;
}

.header-nav a {
  text-decoration: none;
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  padding: 0 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-channels {
  border-top: 1px solid #e6ebf2;
  background: #f8fafc;
}

.header-channels-inner {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.header-channels a {
  min-width: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  border-right: 1px solid #e6ebf2;
  text-decoration: none;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.header-channels a:first-child {
  border-left: 1px solid #e6ebf2;
}

.hero {
  background: #ffffff;
  border-bottom: 1px solid #dce3ec;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 22px;
  display: grid;
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #b9c7da;
  border-radius: 999px;
  color: #31506f;
  background: #f4f7fb;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  margin-top: 14px;
  color: #101828;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
}

.hero-lead {
  margin-top: 14px;
  max-width: 720px;
  color: #475467;
  font-size: 17px;
}

.hero-actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: #1d4ed8;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.btn-secondary {
  color: #1d2939;
  background: #eef3f8;
  border: 1px solid #cad6e2;
}

.trust-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.trust-pill {
  min-height: 54px;
  padding: 10px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fbfcfe;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.visual-card {
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #101828;
  color: #f8fafc;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.14);
}

.visual-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.visual-title {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 800;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #86efac;
  font-size: 12px;
  font-weight: 900;
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.visual-body {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.metric b {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 7px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}

.flow {
  display: grid;
  gap: 8px;
}

.flow-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: center;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 800;
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: #334155;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #38bdf8;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
}

.section h2 {
  color: #101828;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 900;
}

.section-intro {
  margin-top: 10px;
  color: #667085;
  font-size: 15px;
  max-width: 760px;
}

.grid {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.card {
  padding: 16px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
}

.card h3 {
  color: #101828;
  font-size: 17px;
  line-height: 1.2;
}

.card p,
.card li {
  color: #56657a;
  font-size: 14px;
}

.card p {
  margin-top: 8px;
}

.card ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.card li {
  position: relative;
  padding-left: 18px;
}

.card li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0f766e;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 56px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 16px;
  left: 16px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e0f2fe;
  color: #075985;
  font-weight: 900;
}

.lead-band {
  background: #0f172a;
  color: #fff;
}

.lead-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  gap: 18px;
}

.lead-grid h2 {
  color: #fff;
}

.lead-grid p {
  color: #cbd5e1;
}

.contact-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-actions a {
  min-width: 0;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid rgba(191, 219, 254, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #eff6ff;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.contact-actions small {
  font-size: 11px;
  font-weight: 700;
}

.lead-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.field {
  display: grid;
  gap: 5px;
}

.field label {
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 900;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 12px;
  outline: none;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  color: #94a3b8;
  font-size: 12px;
}

.consent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.4;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #2563eb;
}

.consent a {
  color: #bfdbfe;
}

.notice {
  padding: 12px;
  border-radius: 8px;
  background: #dcfce7;
  color: #14532d;
  font-size: 14px;
  font-weight: 800;
}

.notice-error {
  background: #fee2e2;
  color: #7f1d1d;
}

.policy {
  max-width: 820px;
}

.policy h1 {
  margin: 0;
  font-size: 32px;
}

.policy h2 {
  margin-top: 28px;
  font-size: 20px;
}

.policy p,
.policy li {
  color: #475467;
  font-size: 15px;
}

.policy p,
.policy ul {
  margin-top: 10px;
}

.policy ul {
  padding-left: 22px;
}

.white-fallback {
  border-top: 1px solid #dce3ec;
  background: #fff;
}

.white-fallback .card {
  border-color: #bfd6ef;
  background: #f8fbff;
}

.footer {
  background: #f1f5f9;
  border-top: 1px solid #dce3ec;
  color: #667085;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 88px;
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.sticky-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #dce3ec;
  backdrop-filter: blur(12px);
}

.sticky-mobile a {
  min-height: 46px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1d4ed8;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.sticky-mobile a:nth-child(2) {
  background: #0f766e;
}

.sticky-mobile a:last-child {
  background: #eef3f8;
  color: #1d2939;
  border: 1px solid #cad6e2;
}

@media (min-width: 720px) {
  .header-nav {
    display: flex;
  }

  .hero-inner {
    padding: 48px 0 42px;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    align-items: center;
  }

  h1 {
    font-size: 54px;
  }

  .hero-actions {
    max-width: 540px;
    grid-template-columns: 1fr 1fr;
  }

  .trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
    align-items: start;
  }

  .contact-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sticky-mobile {
    display: none;
  }

  .footer-inner {
    padding-bottom: 24px;
    grid-template-columns: 1fr auto;
  }
}
