/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --accent: #1B4FD8;
  --accent-light: #EEF2FF;
  --accent-hover: #1640B8;
  --gold: #C9A84C;
  --text-h: #0D1117;
  --text-body: #374151;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
}
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Onest', system-ui, sans-serif; background: var(--bg); color: var(--text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ─── TYPOGRAPHY ─── */
.h1 { font-size: clamp(32px,5vw,58px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--text-h); }
.h2 { font-size: clamp(24px,3.5vw,40px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--text-h); margin-bottom: 16px; }
.h3 { font-size: 18px; font-weight: 600; color: var(--text-h); margin-bottom: 8px; line-height: 1.3; }
.lead { font-size: 17px; color: var(--text-muted); line-height: 1.7; }
em { font-style: normal; color: var(--accent); }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ─── UTILS ─── */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tag-blue { background: var(--accent-light); color: var(--accent); }
.tag-dark { background: #1F2937; color: #9CA3AF; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; border: none; transition: all .15s; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-light); }
.btn-dark { background: #0D1117; color: #fff; }
.btn-dark:hover { background: #1F2937; }
.btn-lg { padding: 15px 32px; font-size: 15px; border-radius: 12px; }
.btn-wa { background: #25D366; color: #fff; }
.btn-tg { background: #0088CC; color: #fff; }

/* Fade-in */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── HEADER ─── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px; background: rgba(247,248,250,.95);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }

.logo { text-decoration: none; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, #1640B8 100%);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(27,79,216,.35);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { font-size: 26px; font-weight: 900; letter-spacing: -.05em; color: var(--text-h); line-height: 1; display: flex; align-items: baseline; }
.logo-k { font-family: 'Georgia', 'Times New Roman', serif; font-size: 34px; font-weight: 900; font-style: italic; color: var(--accent); letter-spacing: -.06em; line-height: 1; }

nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
nav a { font-size: 13px; font-weight: 500; color: var(--text-body); text-decoration: none; padding: 6px 10px; border-radius: 8px; transition: all .15s; white-space: nowrap; }
nav a:hover, nav a.active { color: var(--accent); background: var(--accent-light); }

.header-contacts { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone { font-size: 14px; font-weight: 700; color: var(--text-h); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.header-phone:hover { color: var(--accent); }
.header-addrs { display: flex; align-items: center; gap: 6px; }
.header-addr { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.header-addr svg { width: 12px; height: 12px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.header-addr-sep { color: var(--border); font-size: 12px; }
.header-messengers { display: flex; align-items: center; gap: 6px; }
.header-messenger-btn { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: opacity .15s, transform .15s; }
.header-messenger-btn:hover { opacity: .85; transform: translateY(-1px); }
.header-messenger-btn svg { width: 18px; height: 18px; }
.header-wa { background: #25D366; color: #fff; }
.header-tg { background: #0088CC; color: #fff; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text-h); border-radius: 2px; transition: all .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--surface); z-index: 99; padding: 24px; overflow-y: auto; flex-direction: column; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 18px; font-weight: 600; color: var(--text-h); text-decoration: none; padding: 14px 16px; border-radius: 12px; transition: background .15s; }
.mobile-nav a:hover { background: var(--accent-light); color: var(--accent); }
.mobile-cta { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.mobile-nav-phone {	border: 1px solid #ccc!important; background: #fff!important; }

/* ─── HERO ─── */
.hero { padding-top: 148px; padding-bottom: 96px; min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-left { display: flex; flex-direction: column; gap: 24px; }
.hero-badge { display: flex; }
.hero-title { margin: 0; }
.hero-sub { max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-visual { position: relative; }

.browser-frame { background: #1F2937; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.browser-bar { background: #374151; padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: #6B7280; }
.browser-dot:nth-child(1) { background: #EF4444; }
.browser-dot:nth-child(2) { background: #F59E0B; }
.browser-dot:nth-child(3) { background: #10B981; }
.browser-url { flex: 1; background: #1F2937; border-radius: 6px; padding: 4px 10px; font-size: 11px; font-family: 'JetBrains Mono', monospace; color: #9CA3AF; margin-left: 4px; }
.browser-screen { line-height: 0; }
.browser-screen img { width: 100%; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.hero-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; }
.hero-stat .num { display: block; font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.hero-stat .lbl { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── SERVICES ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 0; }
.service-card { padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; transition: all .2s; }
.service-card:hover { transform: translateY(-3px); }
.icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-wrap svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.arrow { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); margin-top: auto; }
.arrow svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.stats-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.stat-box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; }
.stat-box .big { display: block; font-size: 36px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.stat-box .desc { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl-item { display: grid; grid-template-columns: 18px 56px 1fr; gap: 12px; align-items: start; padding: 0 0 24px; position: relative; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); margin-top: 3px; flex-shrink: 0; position: relative; z-index: 1; }
.tl-year { font-size: 13px; font-weight: 700; color: var(--accent); padding-top: 1px; }
.tl-text { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ─── WHY ─── */
.why { background: #0D1117; }
.why-title { color: #F9FAFB; }
.why-sub { color: #9CA3AF; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #1F2937; border-radius: var(--radius); overflow: hidden; margin-top: 48px; }
.why-item { padding: 36px 28px; border-right: 1px solid #1F2937; }
.why-item:last-child { border-right: none; }
.why-item .icon-wrap { background: #1F2937; margin-bottom: 20px; }
.why-item .icon-wrap svg { stroke: var(--accent); }
.why-item h3 { color: #F9FAFB; font-size: 16px; margin-bottom: 10px; }
.why-item p { color: #6B7280; font-size: 14px; line-height: 1.65; }

/* ─── TEAM ─── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.team-card { overflow: hidden; }
.team-photo { width: 100%; aspect-ratio: 3/4; background: var(--accent-light); position: relative; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.team-photo .photo-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.team-photo .photo-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; }
.team-photo .photo-icon svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.team-photo span { font-size: 12px; color: var(--text-muted); }
.team-info { padding: 20px; }
.team-name { font-size: 15px; font-weight: 700; color: var(--text-h); margin-bottom: 4px; }
.team-role { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.team-bio { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.team-tag { font-size: 11px; font-weight: 600; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); border-radius: 99px; padding: 3px 10px; }

/* ─── REVIEWS ─── */
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-bottom: 48px; }
.client-logo { padding: 10px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.client-logo span { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review-badge { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.review-badge svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.review-stars { display: flex; gap: 3px; }
.review-stars svg { width: 14px; height: 14px; fill: var(--gold); stroke: var(--gold); stroke-width: 1; }
.review-text { font-size: 14px; color: var(--text-body); line-height: 1.7; flex: 1; font-style: italic; }
.review-author { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--border); }
.review-author strong { font-size: 14px; color: var(--text-h); }
.review-author span { font-size: 12px; color: var(--text-muted); }

/* ─── CTA ─── */
.cta-section { background: #0D1117; padding: 96px 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.cta-title { font-size: clamp(24px,3vw,38px); font-weight: 800; color: #F9FAFB; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; }
.cta-sub { color: #6B7280; font-size: 16px; line-height: 1.65; }
.cta-contact-btn { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 600; transition: opacity .15s, transform .15s; }
.cta-contact-btn:hover { opacity: .9; transform: translateY(-1px); }
.cta-contact-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.cta-contact-wa { background: #25D366; color: #fff; }
.cta-contact-tg { background: #0088CC; color: #fff; }
.cta-contact-tel { background: #1F2937; color: #F9FAFB; }
.cta-form { display: flex; flex-direction: column; gap: 12px; }
.cta-form input, .cta-form textarea { width: 100%; padding: 14px 16px; border: 1.5px solid #1F2937; border-radius: 10px; background: #111827; color: #F9FAFB; font-size: 14px; outline: none; transition: border-color .15s; }
.cta-form input::placeholder, .cta-form textarea::placeholder { color: #4B5563; }
.cta-form input:focus, .cta-form textarea:focus { border-color: var(--accent); }
.cta-form textarea { height: 120px; resize: none; }
.btn-submit { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }
.cta-note { font-size: 12px; color: #4B5563; text-align: center; }

/* ─── FOOTER ─── */
footer { background: #0D1117; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #1F2937; }
.footer-brand .logo-text { color: #fff; }
.footer-desc { font-size: 14px; color: #6B7280; line-height: 1.65; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #F9FAFB; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: #9CA3AF; text-decoration: none; transition: color .15s; }
.footer-col ul li a:hover { color: #F9FAFB; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #9CA3AF; text-decoration: none; margin-bottom: 12px; transition: color .15s; }
.footer-contact-item:hover { color: #F9FAFB; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 1px; }
.footer-address-icon-vl { stroke: var(--gold) !important; }
.footer-address-icon-msk { stroke: #EF4444 !important; }
.footer-address-block { display: flex; flex-direction: column; gap: 2px; }
.addr-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #4B5563; }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom span, .footer-bottom a { font-size: 13px; color: #4B5563; text-decoration: none; }
.footer-bottom a:hover { color: #9CA3AF; }
.footer-requisites { padding: 16px 0 24px; border-top: 1px solid #1a2030; margin-top: 0; text-align: center; }
.footer-requisites p { font-size: 12px; color: #374151; line-height: 1.8; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  nav a { font-size: 12px; padding: 5px 8px; }
  .header-addrs { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; padding-bottom: 64px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item { border-right: none; border-bottom: 1px solid #1F2937; }
  .why-item:nth-child(odd) { border-right: 1px solid #1F2937; }
  .why-item:nth-last-child(-n+2) { border-bottom: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  nav { display: none; }
  .header-contacts { gap: 8px; }
  .header-addrs { display: none; }
  .header-phone { font-size: 13px; }
  .burger { display: flex; }
  .hero { padding-top: 108px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat .num { font-size: 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; }
  .why-item:last-child { border-bottom: none; }
  .team-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-2x2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stats-2x2 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE PAGES — общие компоненты
═══════════════════════════════════════════════════════════════ */

/* ─── PAGE HERO (внутренние страницы) ─── */
.page-hero { padding-top: 136px; padding-bottom: 80px; background: var(--bg); }
.page-hero.dark { background: #0D1117; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border); }
.page-hero-visual { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #F3F4F6; min-height: 340px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.page-hero-visual.dark-vis { background: #111827; border-color: #1F2937; }
.vis-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px; }
.vis-placeholder svg { opacity: .3; }
.vis-placeholder span { font-size: 13px; color: var(--text-muted); }
.steps-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.step-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-light); padding: 5px 10px; border-radius: 99px; }
.step-arr { color: var(--text-muted); font-size: 12px; }

/* ─── MOCK DASHBOARD (облако) ─── */
.mock-dashboard { background: #111827; border-radius: 12px; padding: 20px; min-height: 320px; }
.mock-topbar { display: flex; gap: 8px; margin-bottom: 16px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-row { display: grid; gap: 10px; margin-bottom: 10px; }
.mock-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.mock-row-2 { grid-template-columns: 2fr 1fr; }
.mock-block { background: #1F2937; border-radius: 8px; }
.mock-block-sm { height: 48px; }
.mock-block-md { height: 80px; }
.mock-block-lg { height: 120px; }
.mock-block-accent { background: rgba(27,79,216,.25); }

/* ─── SERVICES LIST (2×3 сетка) ─── */
.services-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px; }
.svc-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svc-icon.dark { background: #1F2937; }
.svc-icon.dark svg { stroke: var(--accent); }
.svc-text h3 { font-size: 15px; margin-bottom: 6px; }
.svc-text p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ─── TABS ─── */
.tabs-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 32px; overflow-x: auto; }
.tab-btn { padding: 10px 18px; font-size: 14px; font-weight: 500; color: var(--text-muted); background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: all .15s; margin-bottom: -1px; }
.tab-btn:hover { color: var(--text-h); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── CASE CARD ─── */
.case-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.case-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.case-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.case-meta-item svg { width: 14px; height: 14px; stroke: var(--text-muted); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.case-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.case-col-label { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 8px; }
.case-col-label svg { width: 14px; height: 14px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.case-col-label.warn svg { stroke: #F59E0B; }
.case-col-label.ok svg { stroke: var(--accent); }
.case-col-label.green svg { stroke: #10B981; }
.case-col p { font-size: 14px; color: var(--text-body); line-height: 1.65; }
.case-result-num { font-size: 22px; font-weight: 800; color: #10B981; letter-spacing: -.03em; }
.case-screens { display: flex; gap: 12px; }
.screen-stub { flex: 1; background: #F3F4F6; border-radius: 10px; border: 1px solid var(--border); min-height: 140px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.screen-stub svg { opacity: .25; }
.screen-stub span { font-size: 11px; color: var(--text-muted); }

/* ─── STEPPER ─── */
.stepper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.stepper.steps-5 { grid-template-columns: repeat(5, 1fr); }
.stepper::before { content: ''; position: absolute; top: 22px; left: 10%; right: 10%; height: 1px; background: #1F2937; z-index: 0; }
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; position: relative; z-index: 1; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: #1F2937; border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: var(--accent); margin-bottom: 16px; }
.step-title { font-size: 13px; font-weight: 600; color: #F9FAFB; margin-bottom: 6px; }
.step-desc { font-size: 12px; color: #6B7280; line-height: 1.5; }
.stepper-section { background: #0D1117; padding: 72px 0; }

/* ─── PRICING ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; display: flex; flex-direction: column; gap: 0; box-shadow: var(--shadow); transition: all .2s; }
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.price-card.featured { border: 2px solid var(--accent); }
.price-featured-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 99px; white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.price-name { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.price-val { font-size: 32px; font-weight: 800; color: var(--text-h); letter-spacing: -.03em; margin-bottom: 4px; }
.price-mo { font-size: 15px; font-weight: 600; color: var(--text-muted); margin-bottom: 24px; }
.price-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-body); }
.price-features li svg { width: 14px; height: 14px; stroke: #10B981; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }

/* ─── ACCORDION / FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: none; border: none; text-align: left; font-size: 15px; font-weight: 600; color: var(--text-h); cursor: pointer; transition: background .15s; }
.faq-q:hover { background: var(--bg); }
.faq-q svg { width: 18px; height: 18px; stroke: var(--text-muted); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ─── CONTACT SIDEBAR ─── */
.contact-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.contact-btns { display: flex; flex-direction: column; gap: 10px; }
.contact-btn { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; transition: opacity .15s, transform .15s; }
.contact-btn:hover { opacity: .9; transform: translateY(-1px); }
.contact-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-btn-wa { background: #25D366; color: #fff; }
.contact-btn-tg { background: #0088CC; color: #fff; }
.contact-btn-tel { background: #0D1117; color: #fff; }

/* ─── TWO-COL LAYOUT ─── */
.two-col { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.two-col.equal { grid-template-columns: 1fr 1fr; }
.two-col.faq-layout { grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }

/* ─── COMPARISON TABLE ─── */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.compare-table thead tr { background: #0D1117; }
.compare-table thead th { padding: 16px 20px; text-align: left; font-size: 13px; font-weight: 700; color: #F9FAFB; }
.compare-table thead th:first-child { color: #9CA3AF; }
.compare-table thead th:last-child { color: #7BA8FF; }
.compare-table tbody tr:nth-child(odd) { background: var(--surface); }
.compare-table tbody tr:nth-child(even) { background: var(--bg); }
.compare-table td { padding: 14px 20px; font-size: 14px; color: var(--text-body); border-bottom: 1px solid var(--border); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--text-muted); font-size: 13px; }
.ico-yes { color: #10B981; font-size: 16px; }
.ico-no { color: #EF4444; font-size: 16px; }

/* ─── PAIN / SOLUTION TABLE ─── */
.pain-table { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.pain-row { display: grid; grid-template-columns: 1fr 1fr; }
.pain-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.pain-row:nth-child(odd) { background: var(--surface); }
.pain-row:nth-child(even) { background: var(--bg); }
.pain-cell { padding: 18px 24px; font-size: 14px; line-height: 1.6; }
.pain-cell:first-child { border-right: 1px solid var(--border); color: var(--text-body); }
.pain-cell:last-child { color: #065F46; }
.pain-header { display: grid; grid-template-columns: 1fr 1fr; background: #0D1117; }
.pain-header-cell { padding: 14px 24px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 8px; }
.pain-header-cell svg { width: 14px; height: 14px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pain-header-cell.problem { color: #FBBF24; }
.pain-header-cell.problem svg { stroke: #FBBF24; }
.pain-header-cell.solution { color: #34D399; border-left: 1px solid #1F2937; }
.pain-header-cell.solution svg { stroke: #34D399; }

/* ─── FLOW SCHEMA (ЭДО) ─── */
.flow-schema { display: flex; align-items: center; gap: 0; justify-content: center; flex-wrap: nowrap; }
.flow-node { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; text-align: center; flex: 1; box-shadow: var(--shadow); }
.flow-node-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.flow-node-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.flow-node-title { font-size: 12px; font-weight: 600; color: var(--text-h); }
.flow-node-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.flow-arrow { flex-shrink: 0; padding: 0 6px; color: var(--accent); font-size: 18px; }

/* ─── ROI CALCULATOR ─── */
.calc-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.calc-wrap label { display: block; font-size: 14px; font-weight: 600; color: var(--text-h); margin-bottom: 8px; }
.calc-wrap input[type=range] { -webkit-appearance: none; width: 100%; height: 4px; background: var(--border); border-radius: 99px; outline: none; margin-bottom: 8px; }
.calc-wrap input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(27,79,216,.4); }
.calc-val { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.calc-result { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 12px; padding: 20px; text-align: center; }
.calc-result .num { font-size: 36px; font-weight: 800; color: #10B981; letter-spacing: -.03em; }
.calc-result .lbl { font-size: 14px; color: #065F46; margin-top: 4px; }

/* ─── DARK FEATURES GRID ─── */
.dark-features { background: #0D1117; }
.dark-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #1F2937; border-radius: var(--radius); overflow: hidden; }
.dark-item { padding: 32px 28px; border-right: 1px solid #1F2937; border-bottom: 1px solid #1F2937; }
.dark-item:nth-child(3n) { border-right: none; }
.dark-item:nth-last-child(-n+3) { border-bottom: none; }
.dark-item .icon-wrap { background: #1F2937; margin-bottom: 16px; }
.dark-item .icon-wrap svg { stroke: var(--accent); }
.dark-item h3 { color: #F9FAFB; font-size: 15px; margin-bottom: 8px; }
.dark-item p { color: #6B7280; font-size: 13px; line-height: 1.65; }

/* ─── MARKETPLACE LOGOS ─── */
.mp-logos { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.mp-logo { padding: 12px 20px; border-radius: 12px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.mp-logo-ozon { background: #E8F0FF; color: #005BFF; }
.mp-logo-wb { background: #F5E6FF; color: #8B1CC9; }

/* ─── PAYMENT LOGOS ─── */
.payment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.payment-logo { border: 1px solid var(--border); border-radius: 10px; padding: 14px 20px; text-align: center; font-size: 13px; font-weight: 700; color: var(--text-muted); background: var(--surface); }

/* ─── REPORTING LIST (бухгалтерия hero) ─── */
.report-list { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.report-list-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.report-list-item:last-child { border-bottom: none; }
.report-list-item-left { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-h); }
.report-list-item-left svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ─── GUARANTEES ─── */
.guarantees-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #0D1117; border: 1px solid #1F2937; border-radius: var(--radius); overflow: hidden; }
.guarantee-item { padding: 32px 24px; border-right: 1px solid #1F2937; }
.guarantee-item:last-child { border-right: none; }
.guarantee-item .icon-wrap { background: #1F2937; margin-bottom: 16px; }
.guarantee-item .icon-wrap svg { stroke: var(--accent); }
.guarantee-item h3 { color: #F9FAFB; font-size: 14px; margin-bottom: 8px; }
.guarantee-item p { color: #6B7280; font-size: 13px; line-height: 1.6; }

/* ─── RESPONSIVE FOR SERVICE PAGES ─── */
@media (max-width: 1024px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { padding-top: 110px; padding-bottom: 60px; }
  .services-list { grid-template-columns: repeat(2, 1fr); }
  .stepper { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .stepper::before { display: none; }
  .stepper.steps-5 { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.faq-layout { grid-template-columns: 1fr; }
  .case-cols { grid-template-columns: 1fr; gap: 16px; }
  .dark-grid { grid-template-columns: repeat(2, 1fr); }
  .dark-item:nth-child(3n) { border-right: 1px solid #1F2937; }
  .dark-item:nth-child(2n) { border-right: none; }
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-item:nth-child(2) { border-right: none; }
  .guarantee-item:nth-child(1), .guarantee-item:nth-child(2) { border-bottom: 1px solid #1F2937; }
  .flow-schema { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .flow-arrow { display: none; }
  .flow-node { flex: 0 0 calc(33% - 8px); min-width: 100px; }
}
@media (max-width: 768px) {
  .services-list { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
  .stepper { grid-template-columns: 1fr; }
  .step-item { flex-direction: row; text-align: left; gap: 16px; align-items: flex-start; }
  .step-num { flex-shrink: 0; margin-bottom: 0; }
  .step-item-text { flex: 1; }
  .tabs-nav { overflow-x: auto; }
  .case-meta { gap: 8px; }
  .case-screens { flex-direction: column; }
  .pain-row { grid-template-columns: 1fr; }
  .pain-cell:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .pain-header { grid-template-columns: 1fr; }
  .pain-header-cell.solution { border-left: none; border-top: 1px solid #1F2937; }
  .dark-grid { grid-template-columns: 1fr; }
  .dark-item { border-right: none !important; }
  .guarantees-grid { grid-template-columns: 1fr; }
  .guarantee-item { border-right: none !important; border-bottom: 1px solid #1F2937; }
  .guarantee-item:last-child { border-bottom: none; }
  .flow-node { flex: 0 0 calc(50% - 8px); }
  .compare-table { font-size: 12px; }
  .compare-table td, .compare-table th { padding: 10px 12px; }
  .mp-logos { gap: 10px; }
}
