/*
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: #fff;
  border-bottom: 1px solid #dce3ec;
}

.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 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #0f172a;
  border-bottom: 1px solid #263449;
}

.hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(7, 15, 29, 0.74);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 64% center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 28px;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.64);
  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: #e2e8f0;
  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: #f8fafc;
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.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 rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.68);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}

.proof-band {
  background: #fff;
  border-bottom: 1px solid #dce3ec;
}

.proof-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-item {
  min-width: 0;
  min-height: 76px;
  padding: 14px 16px;
  border-right: 1px solid #e3e9f1;
  border-bottom: 1px solid #e3e9f1;
}

.proof-item b,
.proof-item span {
  display: block;
}

.proof-item b {
  color: #0f766e;
  font-size: 18px;
  font-weight: 900;
}

.proof-item span {
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.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;
}

.section-divided {
  border-top: 1px solid #dce3ec;
}

.section-cta {
  width: fit-content;
  min-height: 46px;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  color: #1d4ed8;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 900;
}

.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;
}

.result-card {
  border-top: 3px solid #0f766e;
}

.source-note {
  margin-top: 14px;
  color: #667085;
  font-size: 12px;
}

.source-note a {
  color: #475467;
  text-underline-offset: 3px;
}

.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;
}

.service-link-grid {
  grid-template-columns: 1fr;
}

.service-link {
  min-height: 188px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d4dde8;
  border-radius: 8px;
  background: #fff;
  color: #101828;
  text-decoration: none;
}

.service-link h3 {
  font-size: 18px;
  line-height: 1.2;
}

.service-link p {
  margin-top: 8px;
  color: #56657a;
  font-size: 14px;
}

.service-link span {
  margin-top: auto;
  padding-top: 14px;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 900;
}

.detail-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 510px;
  color: #fff;
  background: #0f172a;
  border-bottom: 1px solid #263449;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.detail-hero h1,
.hero h1 {
  color: #fff;
}

.breadcrumb {
  width: fit-content;
  margin-bottom: 18px;
  display: block;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.detail-inputs {
  display: grid;
  gap: 18px;
}

.input-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: inputs;
  border-top: 1px solid #dce3ec;
}

.input-list li {
  position: relative;
  min-height: 62px;
  padding: 16px 8px 16px 48px;
  counter-increment: inputs;
  border-bottom: 1px solid #dce3ec;
  color: #344054;
  font-weight: 750;
}

.input-list li::before {
  content: counter(inputs);
  position: absolute;
  top: 13px;
  left: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e0f2fe;
  color: #075985;
  font-weight: 900;
}

.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: #fff;
  border-top: 1px solid #dce3ec;
}

.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 (max-width: 719px) {
  .trust-row {
    display: none;
  }
}

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

  .hero-inner {
    min-height: 620px;
    padding: 64px 0;
    display: flex;
    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));
  }

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

  .proof-item {
    min-height: 92px;
    padding: 18px 20px;
    border-bottom: 0;
  }

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

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

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

  .operations-grid {
    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));
  }

  .detail-hero {
    min-height: 580px;
  }

  .detail-hero-inner {
    padding: 70px 0;
  }

  .detail-hero-inner h1 {
    max-width: 850px;
  }

  .detail-inputs {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: start;
  }

  .sticky-mobile {
    display: none;
  }

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