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

:root {
  --bg-primary: #080c14;
  --bg-secondary: #0d1421;
  --bg-card: #111927;
  --bg-card-hover: #162035;
  --accent: #00c8ff;
  --accent-dim: rgba(0, 200, 255, 0.12);
  --accent-glow: rgba(0, 200, 255, 0.3);
  --text-primary: #e8f0fe;
  --text-secondary: #7a9bbf;
  --text-muted: #4a6380;
  --border: rgba(0, 200, 255, 0.15);
  --border-subtle: rgba(255,255,255,0.06);
  --white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #080c14 0%, #0d1b2e 50%, #080c14 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.logo-text {
  display: flex; flex-direction: column;
}

.logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

nav { display: flex; align-items: center; gap: 32px; }

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

nav a:hover { color: var(--accent); }

.header-cta {
  display: flex; align-items: center; gap: 20px;
}

.header-phone {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.header-phone:hover { color: var(--accent); }

.btn-primary {
  background: var(--accent);
  color: #080c14;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 100, 200, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary { font-size: 15px; padding: 14px 28px; }
.hero-actions .btn-outline { font-size: 15px; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(0, 200, 255, 0.08);
}

.stat-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* SECTIONS */
section {
  padding: 100px 40px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* SERVICES */
.services { background: var(--bg-secondary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 200, 255, 0.08);
}

.service-icon {
  width: 60px; height: 60px;
  background: var(--accent-dim);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-features li::before {
  content: '›';
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.3;
}

/* BRANDS */
.brands { background: var(--bg-primary); }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 200, 255, 0.1);
}

.brand-name {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.brand-name.dreame { color: #00c8ff; }
.brand-name.deerma { color: #4da8ff; }
.brand-name.roborock { color: #7bc0ff; }

.brand-sub {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.brand-divider {
  width: 40px; height: 2px;
  background: var(--accent);
  margin: 0 auto 20px;
  opacity: 0.4;
}

.brand-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.brand-status {
  display: inline-block;
  margin-top: 20px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* WHY US */
.why { background: var(--bg-secondary); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.3s;
}

.why-card:hover { border-color: var(--border); }

.why-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  min-width: 48px;
  text-align: right;
  flex-shrink: 0;
}

.why-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.why-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* CONTACT */
.contact { background: var(--bg-primary); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-item-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item-value a:hover { color: var(--accent); }

/* FORM */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a6380' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option { background: #0d1421; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 15px;
  font-size: 15px;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* Custom checkbox */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.custom-checkbox {
  position: relative;
  flex-shrink: 0;
  margin-top: 1px;
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border: 2px solid var(--text-muted);
  border-radius: 5px;
  background: var(--bg-secondary);
  transition: border-color 0.2s, background 0.2s;
}

.checkmark svg { opacity: 0; transition: opacity 0.15s; }

.custom-checkbox input:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.custom-checkbox input:checked + .checkmark svg { opacity: 1; }

.consent-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.consent-text a {
  color: var(--accent);
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-brands {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brand-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 3px 8px;
  letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  header { padding: 0 20px; }
  nav { display: none; }
  section { padding: 70px 20px; }
  footer { padding: 40px 20px; }
  .hero { padding: 100px 20px 60px; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* DIVIDER LINE */
.line-accent {
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 40px;
}

/* ============================================================
   ОБЩЕЕ ДЛЯ B2C / B2B / СТАТЕЙ (добавлено при разделении сайта)
   ============================================================ */

/* Утилиты фона секций */
.bg-primary { background: var(--bg-primary); }
.bg-secondary { background: var(--bg-secondary); }

/* Переключатель между версиями сайта в шапке */
.nav-switch {
  color: var(--accent) !important;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-switch:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 16px var(--accent-glow);
}

/* --- Крупный телефон: главный способ связи на сайте для физлиц --- */
.phone-block {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.phone-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.phone-number {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
  transition: color 0.2s, text-shadow 0.2s;
  white-space: nowrap;
}

.phone-block:hover .phone-number {
  color: var(--accent);
  text-shadow: 0 0 28px var(--accent-glow);
}

.phone-hint {
  font-size: 14px;
  color: var(--text-secondary);
}

.btn-call {
  background: var(--accent);
  color: #080c14;
  font-weight: 800;
  font-size: 17px;
  padding: 17px 36px;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-call:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--accent-glow);
}

/* --- Большая ссылка «Сотрудничество (для организаций B2B)» --- */
.b2b-band {
  background: var(--bg-secondary);
  padding: 80px 40px;
}

.b2b-link {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0d1b2e 0%, #111927 60%, #0d1b2e 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 56px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.b2b-link::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.b2b-link:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0, 200, 255, 0.14);
}

.b2b-link-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.b2b-link-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.b2b-link h2 {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.b2b-link p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
}

.b2b-link-arrow {
  width: 72px; height: 72px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #080c14;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
}

.b2b-link:hover .b2b-link-arrow {
  transform: translateX(8px);
  box-shadow: 0 0 32px var(--accent-glow);
}

/* --- Как это работает: шаги --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.step-card:hover { border-color: var(--accent); transform: translateY(-3px); }

.step-num {
  width: 36px; height: 36px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 18px;
}

.step-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Блок частых вопросов (FAQ, полезен для GEO/AI-поиска) --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px 26px;
  transition: border-color 0.3s;
}

.faq-item:hover { border-color: var(--border); }

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Список статей --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 200, 255, 0.08);
}

.article-card-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.article-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.article-card-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  padding-top: 8px;
}

.articles-empty {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 18px;
  padding: 48px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
}

/* --- Страница статьи --- */
.article-page { padding: 140px 40px 100px; }

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumbs a:hover { color: var(--accent); }

.article-body h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.article-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin: 44px 0 16px;
  letter-spacing: -0.2px;
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 12px;
}

.article-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 22px;
  color: var(--text-secondary);
}

.article-body li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body strong { color: var(--text-primary); }

.article-body blockquote {
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 12px 12px 0;
  padding: 18px 24px;
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}

.article-body th,
.article-body td {
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  text-align: left;
  color: var(--text-secondary);
}

.article-body th {
  background: var(--bg-card);
  color: var(--white);
  font-weight: 700;
}

.article-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  margin-top: 48px;
  text-align: center;
}

.article-cta h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.article-cta p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* --- Плавающая кнопка звонка на мобильных --- */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 200;
  background: var(--accent);
  color: #080c14;
  font-weight: 800;
  font-size: 16px;
  padding: 16px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
  .b2b-band { padding: 60px 20px; }
  .b2b-link { padding: 32px 24px; }
  .b2b-link-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .b2b-link-arrow { width: 56px; height: 56px; font-size: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .article-page { padding: 100px 20px 80px; }
  .sticky-call { display: block; }
  body.has-sticky-call { padding-bottom: 84px; }
}

/* ============================================================
   ИСПРАВЛЕНИЯ АДАПТИВА
   ============================================================ */

/* Колонки grid по умолчанию ужимаются до min-content и выпирают за экран —
   minmax(0, 1fr) разрешает им быть уже содержимого */
.hero-inner,
.contact-inner,
.services-grid,
.brands-grid,
.why-grid,
.steps-grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }

.hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.contact-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.services-grid, .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hero-inner > *,
.contact-inner > * { min-width: 0; }

/* Длинные слова в заголовках не должны распирать страницу */
.hero h1,
.section-title,
.article-body h1,
.b2b-link h2 { overflow-wrap: break-word; }

@media (max-width: 900px) {
  /* Шапка: на узком экране оставляем логотип и кнопку звонка,
     номер дублируется плавающей кнопкой внизу */
  header { gap: 12px; }
  .logo-tagline { display: none; }
  .logo-name { font-size: 15px; }
  /* Номер в шапке на узком экране не помещается и переносится по строкам —
     его роль берёт на себя плавающая кнопка звонка внизу (есть на всех страницах) */
  .header-phone { display: none; }
  .btn-primary { padding: 9px 16px; font-size: 12px; }

  .hero-inner,
  .contact-inner,
  .services-grid,
  .brands-grid,
  .why-grid,
  .steps-grid { grid-template-columns: minmax(0, 1fr); }

  .phone-number { font-size: clamp(24px, 7.5vw, 34px); }
  .sticky-call { font-size: 15px; }

  /* Блок контактов: телефон и кнопка в столбик */
  .contact .container > div[style] { gap: 28px !important; }
}

@media (max-width: 380px) {
  .phone-number { white-space: normal; }
  .sticky-call { font-size: 14px; padding: 15px 10px; }
}
