
:root {
  --bg-dark: #091a2f;
  --bg-card: #10263f;
  --bg-light: #f4f6f9;
  --primary: #c9e86b;
  --primary-hover: #b8de52;
  --gold: #e8a33d;
  --text-main: #17231f;
  --text-muted: #64748b;
  --text-white: #ffffff;
  --border-line: rgba(255, 255, 255, 0.1);
  --border-light: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: #fff; color: var(--text-main); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; letter-spacing: -0.03em; }

/* Навигация */
.topbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px 5%; background: rgba(9, 26, 47, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-line); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; background: var(--primary); color: var(--bg-dark); font-weight: 800; border-radius: 50%; }
.nav { display: flex; gap: 28px; }
.nav a { color: #cbd5e1; text-decoration: none; font-size: 14px; font-weight: 500; transition: 0.2s; }
.nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.phone-link { color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }

/* Кнопки */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; transition: 0.2s; border: none; }
.button-small { padding: 10px 18px; font-size: 13px; background: var(--primary); color: var(--bg-dark); }
.button-primary { background: var(--primary); color: var(--bg-dark); }
.button-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.button-secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid var(--border-line); }
.button-secondary:hover { background: rgba(255,255,255,0.2); }
.button-wa { background: #25D366; color: #fff; width: 100%; margin-top: 15px; }
.button-full { width: 100%; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 140px 5% 60px; background: var(--bg-dark); color: #fff; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 26, 47, 0.7) 0%, rgba(9, 26, 47, 0.95) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 850px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 20px; }
.eyebrow span:first-child { width: 30px; height: 2px; background: var(--gold); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.1; margin-bottom: 24px; font-weight: 800; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-copy { font-size: 18px; color: #cbd5e1; max-width: 650px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { position: relative; z-index: 2; margin-top: 60px; display: flex; gap: 40px; border-top: 1px solid var(--border-line); padding-top: 24px; }
.stat-badge b { font-size: 28px; color: var(--gold); display: block; line-height: 1; }
.stat-badge span { font-size: 13px; color: #94a3b8; }

/* Секции */
.section { padding: 100px 5%; }
.dark-bg { background: var(--bg-dark); color: #fff; }
.section-label { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 0.15em; margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 40px; }
.subtitle { color: #94a3b8; margin-top: -30px; margin-bottom: 40px; font-size: 15px; }

/* О нас */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.large-copy p { font-size: 18px; color: #cbd5e1; margin-bottom: 20px; }

/* Сетка услуг */
.services-b2b-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-b2b-card { background: #fff; border: 1px solid var(--border-light); padding: 36px; border-radius: 16px; transition: 0.3s; position: relative; }
.service-b2b-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--primary); }
.card-num { font-size: 24px; font-weight: 800; color: var(--gold); margin-bottom: 16px; }
.service-b2b-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--bg-dark); }
.service-b2b-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.service-b2b-card ul { list-style: none; }
.service-b2b-card li { font-size: 13px; color: var(--text-main); margin-bottom: 8px; padding-left: 18px; position: relative; }
.service-b2b-card li::before { content: "•"; color: var(--gold); font-size: 18px; position: absolute; left: 0; top: -3px; }

/* Таблица решений */
.table-wrap { overflow-x: auto; }
.solutions-table { width: 100%; border-collapse: collapse; margin-top: 20px; text-align: left; }
.solutions-table th, .solutions-table td { padding: 18px 24px; border-bottom: 1px solid var(--border-line); }
.solutions-table th { background: rgba(255,255,255,0.05); color: var(--gold); font-size: 14px; font-weight: 700; }
.solutions-table td { font-size: 15px; color: #e2e8f0; }
.solutions-table tr:hover { background: rgba(255,255,255,0.02); }

/* Шаги */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.step-card { background: var(--bg-light); padding: 30px; border-radius: 12px; border-left: 4px solid var(--primary); }
.step-card b { color: var(--gold); font-size: 14px; display: block; margin-bottom: 8px; }
.step-card h4 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-muted); }

/* Консультация */
.consult-section { background: linear-gradient(135deg, var(--bg-dark) 0%, #163654 100%); color: #fff; }
.consult-box { max-width: 900px; margin: 0 auto; }
.gold-badge { display: inline-block; background: var(--gold); color: var(--bg-dark); font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.consult-info h2 { font-size: 32px; margin-bottom: 16px; }
.check-list { list-style: none; margin-top: 24px; }
.check-list li { font-size: 16px; color: #cbd5e1; margin-bottom: 12px; }

/* Нам доверяют */
.trust-flex { display: flex; flex-wrap: wrap; gap: 16px; }
.trust-item { background: var(--bg-card); border: 1px solid var(--border-line); padding: 20px; border-radius: 10px; flex: 1 1 220px; }
.trust-item b { display: block; color: #fff; font-size: 16px; }
.trust-item span { font-size: 12px; color: #94a3b8; }

/* Контакты и форма */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.c-info-list { margin: 30px 0; }
.c-info-list div { margin-bottom: 12px; font-size: 15px; }
.c-info-list a { color: var(--bg-dark); font-weight: 700; text-decoration: none; }
.form-container { background: var(--bg-light); padding: 40px; border-radius: 16px; border: 1px solid var(--border-light); }
.form-container h3 { font-size: 22px; margin-bottom: 6px; }
.form-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.form-group input { width: 100%; padding: 14px; border: 1px solid var(--border-light); border-radius: 8px; font-family: inherit; font-size: 15px; }
.form-group input:focus { outline: none; border-color: var(--bg-dark); }
.form-success { display: none; margin-top: 15px; padding: 12px; background: #dcfce7; color: #166534; border-radius: 8px; font-size: 13px; font-weight: 600; }

/* WhatsApp кнопка плавающая */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 99; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,0.3); transition: 0.3s; }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }

footer { background: #05101f; color: #64748b; padding: 40px 5%; font-size: 13px; border-top: 1px solid var(--border-line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-inner a { color: #fff; text-decoration: none; font-weight: 700; }

/* Анимация проявления */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .topbar { padding: 15px 5%; }
}
