:root {
  --form-bg:          rgba(255,255,255,0.04);
  --form-border:      rgba(255,255,255,0.12);
  --form-color:       #fff;
  --form-placeholder: rgba(255,255,255,0.35);

  --hero-grad-end:    #000D1F;
  --sand:             #001428;
  --white:            #00102A;
  --foam:             #00112B;
  --wave:             #00C8FF;
}

[data-theme="light"] {
  --form-bg:          rgba(0,87,231,0.04);
  --form-border:      rgba(0,87,231,0.2);
  --form-color:       #0A1628;
  --form-placeholder: #6B7E9C;

  --hero-grad-end:    #F4F8FF;
  --sand:             #EBF2FF;
  --white:            #FFFFFF;
  --foam:             #E4EEFF;
  --wave:             #0057E7;
}

img { max-width: 100%; }
a { text-decoration: none; }

.nav-wordmark {
  font-size: 18px; font-weight: 800; letter-spacing: -0.5px;
  color: #fff; transition: color .4s;
}
nav.scrolled .nav-wordmark { color: var(--text); }
.nav-wordmark span { color: var(--accent); }

.b2b-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #000D1F 0%, #00183D 50%, #000D1F 100%);
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
[data-theme="light"] .b2b-hero {
  background: linear-gradient(135deg, #0D2A5E 0%, #e5efff 50%, #0D2A5E 100%);
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
[data-theme="light"] .hero-glow {
  background: radial-gradient(circle, rgba(0,87,231,0.15) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  width: 100%;
  display: grid; grid-template-columns: 1fr 35%; gap: 50px; align-items: end;
  padding-top: 120px;
}
.hero-content-biz { padding: unset; }
.hero-eyebrow-biz { display: flex; align-items: center; gap: 5px; }
[data-theme="dark"] .hero-eyebrow-biz { color: var(--accent); }
.b2b-hero h1 {
  font-size: clamp(28px, 4.5vw, 52px); font-weight: 600; line-height: 1.06;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 12px;
  opacity: 0; animation: fadeUp .7s .4s ease forwards;
}
.b2b-hero h1 span { color: var(--accent); }
.hero-price-block {
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp .7s .55s ease forwards;
}
.hero-price {
  font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 10px;
}
.hero-price-label { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 300; }
.hero-lede {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text); line-height: 1.7;
  margin-bottom: 36px; font-weight: 300;
  opacity: 0; animation: fadeUp .7s .7s ease forwards;
}
.hero-cta-group {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .7s .85s ease forwards;
}
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px;
  opacity: 0; animation: fadeUp .7s 1s ease forwards;
}
.hero-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 20px;
}
[data-theme="light"] .hero-stat {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
}
.hero-stat-num { font-size: 28px; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.hero-stat-label { font-size: 12px; color: var(--text-mid); line-height: 1.4; }
.hero-visual {
  display: flex; flex-direction: column; gap: 16px;
  opacity: 0; animation: fadeIn .9s .6s ease forwards;
}
.btn-hero-biz {
  color: var(--text);
  border: 1.5px solid var(--border-accent);
  font-weight: 500;
}
.service-pill {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px; padding: 16px 20px;
  transition: border-color .3s, background .3s;
}
.service-pill:hover { background: rgba(0,200,255,0.08); border-color: rgba(0,200,255,0.2); }
[data-theme="light"] .service-pill {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.22);
}
.pill-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-bg); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.pill-name { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.pill-desc { font-size: 12px; color: var(--text-mid); }
.section { padding: 0 40px; }
.section-alt { background: var(--bg-section); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-white { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-sand { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-foam { background: var(--foam); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
  display: flex; align-items: center; gap: 5px;
}
.section-tag-icon { font-size: 18px; }
.section-tag-box {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-bg); border: 1px solid var(--border-accent);
  border-radius: 50px; padding: 6px 14px; margin-bottom: 16px;
}
.section-desc {
  font-size: 16px; color: var(--text-soft); line-height: 1.7; font-weight: 300;
  max-width: 680px; margin-bottom: 48px; transition: color .4s;
}
.tariff-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 80px;
}
.tariff-card-block-biz { height: 375px; }
.tariff-title {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 4px; transition: color .4s;
}
.tariff-badge-biz.featured { top: 10px; right: 10px; }
.tariff-badge-biz {
  top: 10px;
  right: 10px;
  border: 1px solid var(--border-accent);
  padding: 2px 10px;
  font-size: 7px;
}
.tariff-price-biz { font-weight: 600; font-size: 26px; }
.tariff-card.featured .tariff-price-biz { color: #fff; }
.tariff-card.featured .tariff-title { color: #fff; }
.tariff-notice { font-size: 12px; color: var(--text-soft); margin-bottom: 20px; transition: color .4s; }
.tariff-card.featured .tariff-notice { color: rgba(255,255,255,0.7); }
.tariff-period { font-size: 12px; color: var(--text-soft); margin-bottom: 24px; transition: color .4s; }
.tariff-card.featured .tariff-period { color: rgba(255,255,255,0.6); }
.tariff-info-name {
  font-size: 16px; font-weight: 700; color: var(--text);
  transition: color .4s; display: flex; align-items: center;
}
.tariff-card.featured .tariff-info-name { color: #fff; }
.tariff-card.featured .tariff-info-name img { filter: brightness(0) invert(100); }
.tariff-mob { font-size: 12px; color: var(--text-soft); transition: color .4s, border-color .4s; }
.tariff-card.featured .tariff-mob { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.15); }
.btn-tariff-outline {
  border: 1.5px solid var(--border-accent); color: var(--accent); background: transparent;
}
.btn-tariff-outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-tariff-filled { background: #fff; color: var(--accent); border: 1.5px solid #fff; }
.btn-tariff-filled:hover { background: rgba(255,255,255,0.88); }
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 20px; padding: 20px;
  transition: border-color .3s, transform .3s, box-shadow .3s, background .4s;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  align-content: flex-start;
}
.support-card:hover { border-color: var(--border-accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.support-icon { font-size: 24px; }
.support-card h3 { font-size: 15px; font-weight: 600; color: var(--text); transition: color .4s; }
.support-card p { font-size: 13px; color: var(--text-soft); line-height: 1.65; transition: color .4s; }
.vats-general {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 40px 0; background: linear-gradient(135deg, #001A3D 0%, #002B5C 100%);
  border-radius: 24px; padding: 40px; margin-bottom: 32px;
}
.vats-price-block { margin-bottom: 20px; }
.vats-price {
  font-size: clamp(26px, 3vw, 36px); font-weight: 700;
  color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.vats-price-label { font-size: 13px; color: rgba(255,255,255,0.5); }
.vats-features { list-style: none; margin: 20px 0 28px; }
.vats-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.75);
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vats-feature:last-child { border-bottom: none; }
.vats-feature-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; transition: background .4s;
}
.vats-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vats-module {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px;
  transition: border-color .3s, background .4s;
}
.vats-module:hover { border-color: var(--border-accent); }
.vats-module h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; transition: color .4s; }
.vats-module p { font-size: 12px; color: var(--text-soft); line-height: 1.55; transition: color .4s; }
.telephony-section { padding: 80px 40px; }
.telephony-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 32px;
}
.tel-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 20px;
  transition: border-color .3s, transform .3s, box-shadow .3s, background .4s;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}
.tel-card:hover { border-color: var(--border-accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tel-icon { font-size: 24px; }
.tel-card h3 { font-size: 16px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; transition: color .4s; }
.tel-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent-bg); color: var(--accent); padding: 3px 8px; border-radius: 50px;
  border: 1px solid var(--border-accent);
}
.tel-card p { font-size: 13px; color: var(--text-soft); line-height: 1.65; transition: color .4s; }
.tariff-office-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.tariff-office { list-style: none; margin-bottom: 60px; }
.tariff-office-block { height: 175px; }
.tariff-feature {
  font-size: 12px; color: var(--text-soft); padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  transition: color .4s, border-color .4s;
}
.tariff-feature::before { content:''; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.tariff-feature:last-child { border-bottom: none; }
.tariff-card.featured .tariff-feature { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.12); }
.tariff-card.featured .tariff-feature::before { background: rgba(255,255,255,0.7); }
.tariff-info { font-size: 12px; color: var(--text-soft); margin-bottom: 16px; transition: color .4s; }
.tariff-card.featured .tariff-info { color: rgba(255,255,255,0.65); }
.internet-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.inet-card {
  border-radius: 20px; padding: 20px;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  align-content: space-between;
  gap: 10px;
}
.inet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-accent); }
.inet-card.primary { background: var(--accent-bg); border-color: var(--border-accent); }
.inet-card.secondary { background: var(--bg-card); }
.inet-card.accent { background: var(--accent-bg2); border-color: var(--border-accent); }
.inet-icon { font-size: 24px; }
.inet-card h3 { font-size: 17px; font-weight: 700; color: var(--text); transition: color .4s; }
.inet-card p { font-size: 13px; color: var(--text-soft); line-height: 1.65; margin-bottom: 10px; transition: color .4s; }
.inet-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.inet-tag {
  font-size: 11px; font-weight: 500; color: var(--accent);
  background: var(--accent-bg); border: 1px solid var(--border-accent);
  padding: 4px 10px; border-radius: 50px;
}
.sms-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.sms-price {
  font-size: clamp(24px, 3vw, 34px); font-weight: 600; color: var(--accent);
  margin-bottom: 16px;
}
.sms-content > p { font-size: 15px; color: var(--text-soft); line-height: 1.7; margin-bottom: 28px; transition: color .4s; }
.sms-features { display: flex; flex-direction: column; gap: 16px; }
.sms-feature {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 20px;
  transition: border-color .3s, background .4s;
}
.sms-feature:hover { border-color: var(--border-accent); }
.sms-feature-icon {
  font-size: 22px; width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-bg); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sms-feature h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; transition: color .4s; }
.sms-feature p { font-size: 12px; color: var(--text-soft); line-height: 1.55; transition: color .4s; }
.solutions-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  transition: border-color .3s, transform .3s, box-shadow .3s, background .4s;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.solution-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.solution-icon { font-size: 24px; }
.solution-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color .4s;
}
.solution-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  transition: color .4s;
}
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 27px; left: calc(10.5% + 20px); right: calc(12.5% + 20px);
  height: 1px; background: var(--border-accent);
  pointer-events: none;
  z-index: 1;
}
.step {
  padding: 0 24px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--accent-light), var(--color-gray-100));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(0, 87, 184, .3);
  z-index: 2;
  border: 1px solid #c9dae4;
}
[data-theme="dark"] .step-num { color: #111; border: none;}
.step h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; transition: color .4s; }
.step p { font-size: 13px; color: var(--text-soft); line-height: 1.65; transition: color .4s; text-align: center; }
.cta-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding: 0 40px;
}
.cta-info { display: flex; flex-direction: column; gap: 20px; margin-top: 12px; }
.cta-info-line { display: flex; align-items: flex-start; gap: 14px; }
.cta-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-bg); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cta-icon svg { stroke: var(--accent); }
.cta-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); margin-bottom: 2px; font-weight: 500; }
.cta-text { font-size: 15px; font-weight: 600; color: var(--text); }
.info-url { color: var(--accent); text-decoration: none; }
.info-url:hover { text-decoration: underline; }
.general-card {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 24px;
  padding: 20px;
  transition: background .4s, border-color .4s;
}
.general-card h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px; transition: color .4s; }
.general-card > p { font-size: 13px; color: var(--text-soft); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; color: var(--text-soft); margin-bottom: 6px; font-weight: 500; }
.form-control {
  width: 100%; padding: 12px 16px;
  background: var(--form-bg);
  border: 1px solid var(--form-border);
  border-radius: 10px; color: var(--form-color);
  font-size: 14px; font-family: inherit;
  transition: border-color .2s, background .4s, color .4s;
  outline: none;
}
.form-control::placeholder { color: var(--form-placeholder); }
.form-control:focus { border-color: var(--accent); }
textarea.form-control { min-height: 90px; resize: vertical; }
.form-note { font-size: 11px; color: var(--text-soft); margin-top: 12px; text-align: center; }
.form-note a { color: var(--accent); }
.btn-submit {
  width: 100%; padding: 14px;
  background: var(--accent); color: var(--btn-primary-color);
  border: none; border-radius: 50px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .4s;
  margin-top: 8px;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,120,255,0.35); }
.faq-section { max-width: 860px; margin: 0 auto; padding: 80px 40px; }
.faq-li { list-style: none; display: flex; align-items: flex-start; gap: 8px; margin: 4px 0; }
.faq-li::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }

@media (max-width: 900px) {
  .container { padding: 0 !important; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 50px !important; padding: 0 10px; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .b2b-hero {
    align-items: center;
    padding-bottom: 20px;
    min-height: 100vh;
    padding-left: 10px;
    padding-right: 10px;
  }
  .tariff-grid { grid-template-columns: 1fr 1fr; margin-bottom: 0; }
  .block1mob-biz { height: 320px; }
  .block2mob-biz { height: 360px; }
  .tariff-office-grid { grid-template-columns: 1fr 1fr; }
  .tariff-office-block { height: 155px; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .support-card { padding: 10px; }
  .vats-general { grid-template-columns: 1fr; gap: 0px; padding: 0; }
  .vats-content { padding: 20px; }
  .vats-modules { grid-template-columns: 1fr; padding: 10px;}
  .vats-module { padding: 10px; }
  .vats-features { margin: 20px 0 0; }
  .tel-card { padding: 10px; }
  .telephony-grid { grid-template-columns: 1fr; }
  .internet-grid { grid-template-columns: 1fr; }
  .inet-card { padding: 10px; }
  .sms-section { grid-template-columns: 1fr; gap: 40px; }
  .sms-feature { padding: 10px; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .solution-card { padding: 10px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .step { padding: 0 0 30px 0; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; padding: 50px 10px; }
  .section { padding: 50px 10px !important; }
  .section-desc { margin-bottom: 28px; }
  .faq-section { padding: 40px 10px; }
}
@media (max-width: 600px) {
  .tariff-grid { grid-template-columns: 1fr; }
  .tariff-office-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}