*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:     #0BA8DC;
  --blue-d:   #0775A8;
  --blue-bg:  #07A2D8;
  --teal:     #00C4BC;
  --orange:   #FF6B35;
  --gold:     #FFD438;
  --dark:     #0D1B2A;
  --text:     #1A1F2E;
  --muted:    #6B7585;
  --bg:       #F4F6F9;
  --white:    #FFFFFF;
  --border:   rgba(0,0,0,0.08);
  --border2:  rgba(0,0,0,0.14);
  --sh-sm:    0 2px 12px rgba(0,0,0,0.06);
  --sh-md:    0 8px 32px rgba(0,0,0,0.10);
  --sh-lg:    0 20px 60px rgba(0,0,0,0.14);
  --fd: 'Barlow Condensed', sans-serif;
  --fb: 'Golos Text', sans-serif;
  --r: 14px;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--fb); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
section { position: relative; z-index: 2; }

/* ─── TOPBAR ─────────────────── */
.topbar { background: var(--dark); padding: 8px 0; font-size: 13px; color: rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; gap: 24px; }
.topbar-left a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.topbar-left a:hover { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 6px; }
.topbar-phone { color: rgba(255,255,255,.8); font-weight: 600; font-size: 14px; letter-spacing: .02em; text-decoration: none; transition: color .2s; }
.topbar-phone:hover { color: var(--gold); }

/* ─── NAV ────────────────────── */
nav { position: sticky; top: 0; left: 0; right: 0; z-index: 100; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.07); transition: background .3s, box-shadow .3s, transform .35s; }
nav.scrolled { background: rgba(13,27,42,.97); box-shadow: 0 2px 24px rgba(0,0,0,.25); }
nav.hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; gap: 0; height: 64px; }
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 40px;
}
.logo-img {
  height: 68px;
  width: auto;
  display: block;
}
.logo-icon { width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, var(--teal), var(--blue)); display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 2px 10px rgba(0,200,192,.35); }
.logo span { color: var(--gold); }

.nav-links { display: flex; align-items: stretch; list-style: none; flex: 1; height: 100%; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links > li > a, .nav-links > li > button { display: flex; align-items: center; gap: 5px; padding: 0 16px; height: 100%; color: rgba(255,255,255,.65); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .01em; background: none; border: none; cursor: pointer; transition: color .2s, background .2s; white-space: nowrap; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li.has-drop:hover > button { color: #fff; background: rgba(255,255,255,.05); }
.nav-links > li > a.active { color: #fff; }
.caret { font-size: 10px; opacity: .6; transition: transform .25s; }
.nav-links > li.has-drop:hover .caret { transform: rotate(180deg); }

/* DROPDOWN */
.dropdown { position: absolute; top: calc(100% + 1px); left: 0; background: var(--white); border-radius: 12px; box-shadow: 0 16px 48px rgba(0,0,0,.18); min-width: 260px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; pointer-events: none; z-index: 200; }
.nav-links > li.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--text); transition: background .18s; }
.dropdown-item:hover { background: var(--bg); }
.dd-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(11,168,220,.1); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.dd-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.2; }
.dd-sub { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }
.dropdown-all { display: flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; border-radius: 6px; transition: background .18s; }
.dropdown-all:hover { background: var(--bg); }

.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-nav-ghost { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 500; text-decoration: none; padding: 0 14px; height: 36px; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; transition: all .2s; }
.btn-nav-ghost:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-nav { background: var(--blue); color: #fff; border: none; padding: 0 20px; height: 36px; border-radius: 7px; font-family: var(--fb); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; white-space: nowrap; }
.btn-nav:hover { background: var(--blue-d); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(11,168,220,.35); }

/* Бургер */
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 28px; background: none; border: none; cursor: pointer; padding: 0; z-index: 200; }
.burger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.7); border-radius: 2px; transition: all .3s; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Мобильное меню */
.mob-menu { position: fixed; inset: 0; background: rgba(13,27,42,.98); z-index: 99; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; opacity: 0; pointer-events: none; transition: opacity .35s; }
.mob-menu.open { opacity: 1; pointer-events: auto; }
.mob-menu a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 1.25rem; font-weight: 600; font-family: var(--fd); letter-spacing: .03em; text-transform: uppercase; transition: color .2s; }
.mob-menu a:hover { color: var(--gold); }

/* Progress bar */
.progress-bar{position:fixed;top:0;left:0;height:3px;background:linear-gradient(90deg,var(--teal),var(--blue));z-index:9999;width:0%;transition:width .1s linear}

/* Хлебные крошки */
.breadcrumbs-wrap{background:var(--bg);padding:10px 0 0}
.breadcrumbs{font-size:13px;color:var(--muted);display:flex;align-items:center;flex-wrap:wrap}
.breadcrumbs a{color:var(--muted);text-decoration:none;transition:color .2s}
.breadcrumbs a:hover{color:var(--blue)}
.breadcrumbs .sep{margin:0 8px;opacity:.35;font-size:11px}
.breadcrumbs .current{color:var(--text);font-weight:500}

/* ─── HERO ──────────────────── */
.hero { background: linear-gradient(155deg, #0D1B2A 0%,#13293D 60%,#0BA8DC 120%); min-height: 88vh; display: flex; align-items: center; padding: 60px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 70px; background: var(--bg); clip-path: ellipse(55% 100% at 50% 100%); }
.star { position: absolute; pointer-events: none; color: rgba(255,255,255,.65); font-size: 16px; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%,100%{opacity:.3;transform:scale(1)} 50%{opacity:1;transform:scale(1.25)} }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 100px; padding: 5px 16px; font-size: 12px; font-weight: 600; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 24px; animation: fade-up .7s ease both; backdrop-filter: blur(6px); }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

.hero-title { font-family: var(--fd); font-size: clamp(60px, 7vw, 100px); font-weight: 800; line-height: .92; letter-spacing: .02em; color: #fff; text-transform: uppercase; animation: fade-up .85s .08s ease both; }
.hero-title .gold { color: var(--gold); display: block; }
.hero-title .outline { -webkit-text-stroke: 2px rgba(255,255,255,.35); color: transparent; display: block; }

.hero-desc { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; margin-top: 22px; max-width: 430px; animation: fade-up .85s .16s ease both; }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; animation: fade-up .85s .24s ease both; }
.btn-white { background: #fff; color: var(--blue-d); border: none; padding: 15px 28px; border-radius: 9px; font-family: var(--fb); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .22s; display: inline-flex; align-items: center; gap: 9px; box-shadow: 0 6px 22px rgba(0,0,0,.14); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.btn-white svg { transition: transform .2s; }
.btn-white:hover svg { transform: translateX(4px); }
.btn-ghost-w { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.32); padding: 14px 24px; border-radius: 9px; font-family: var(--fb); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .22s; backdrop-filter: blur(6px); }
.btn-ghost-w:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.18); }

.hero-stats { display: flex; gap: 36px; margin-top: 46px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.18); animation: fade-up .85s .32s ease both; }
.stat-num { font-family: var(--fd); font-weight: 700; font-size: 34px; color: #fff; line-height: 1; letter-spacing: .02em; }
.stat-lbl { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }

.hero-visual { display: flex; justify-content: center; align-items: center; animation: fade-up .85s .1s ease both; }
.hero-illus { position: relative; width: 520px; max-width: 100%; aspect-ratio: 520/480; }
.hero-illus svg.main-illus { width: 100%; height: 100%; }
.float-card { position: absolute; background: #fff; border-radius: 12px; padding: 13px 16px; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.fc-tr { top: 30px; right: -20px; animation: float-c 4s .7s ease-in-out infinite; }
.fc-bl { bottom: 60px; left: -10px; animation: float-c 4s .2s ease-in-out infinite; }
@keyframes float-c { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.fc-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.fc-val { font-family: var(--fd); font-weight: 700; font-size: 24px; color: var(--dark); margin: 3px 0 0; line-height: 1; letter-spacing: .02em; }
.fc-val span { color: #22C55E; font-size: 14px; font-family: var(--fb); font-weight: 700; }
.pos-mini { display: flex; flex-direction: column; gap: 5px; margin-top: 7px; }
.pos-mini-row { display: flex; align-items: center; gap: 7px; }
.pos-mini-n { font-size: 11px; font-weight: 700; color: var(--muted); width: 14px; }
.pos-mini-bar { height: 5px; background: #EEE; border-radius: 3px; width: 68px; overflow: hidden; }
.pos-mini-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.pos-mini-tag { font-size: 10px; color: #fff; background: var(--orange); padding: 1px 6px; border-radius: 3px; font-weight: 700; }

/* ─── CLIENTS STRIP ─────────── */
.clients-strip { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
.clients-label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.clients-logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.client-logo { font-family: var(--fd); font-weight: 700; font-size: 18px; letter-spacing: .06em; color: rgba(0,0,0,.2); text-transform: uppercase; transition: color .2s; user-select: none; }
.client-logo:hover { color: var(--blue); }

/* ─── SECTION COMMON ─────────── */
.section-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; padding-left: 18px; position: relative; }
.section-label::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 10px; height: 1.5px; background: var(--blue); }
.section-title { font-family: var(--fd); font-size: clamp(34px,4.5vw,58px); font-weight: 800; line-height: .97; letter-spacing: .02em; text-transform: uppercase; color: var(--dark); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 15px; max-width: 460px; line-height: 1.7; margin-bottom: 52px; }

/* ─── BUTTONS ─────────────────── */
.btn-primary { background: var(--blue); color: #fff; border: none; padding: 14px 26px; border-radius: 9px; font-family: var(--fb); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .22s; display: inline-flex; align-items: center; gap: 9px; box-shadow: 0 4px 20px rgba(11,168,220,.28); }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(11,168,220,.38); }
.btn-primary svg { transition: transform .2s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--dark); border: 1.5px solid var(--border2); padding: 13px 24px; border-radius: 9px; font-family: var(--fb); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .22s; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-inv { background: transparent; color: rgba(255,255,255,.75); border: 1.5px solid rgba(255,255,255,.2); padding: 13px 22px; border-radius: 9px; font-family: var(--fb); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .22s; }
.btn-ghost-inv:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ─── SERVICES ──────────────── */
.services { padding: 30px 0; }
.services-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.svc { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 32px; box-shadow: var(--sh-sm); transition: all .3s; position: relative; overflow: hidden; }
.svc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: transparent; transition: background .3s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(11,168,220,.2); }
.svc:hover::before { background: linear-gradient(90deg, var(--blue), var(--teal)); }
.svc.main { grid-row: 1/3; background: linear-gradient(150deg, #07A5DC 0%, #0568A0 100%); border: none; }
.svc.main::before { background: rgba(255,255,255,.15); height: 2px; }
.svc.main:hover { border-color: transparent; }
.svc.main::after { content: '\25CF ОСНОВНАЯ УСЛУГА'; position: absolute; top: 18px; right: 18px; font-size: 9px; font-weight: 700; letter-spacing: .1em; color: var(--gold); background: rgba(255,212,56,.15); padding: 3px 9px; border-radius: 4px; border: 1px solid rgba(255,212,56,.3); }
.svc-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 22px; background: rgba(11,168,220,.08); }
.svc.main .svc-icon { background: rgba(255,255,255,.18); }
.svc-name { font-family: var(--fd); font-size: 26px; font-weight: 700; line-height: 1; margin-bottom: 10px; letter-spacing: .03em; text-transform: uppercase; color: var(--dark); }
.svc.main .svc-name { font-size: 32px; color: #fff; }
.svc-desc { color: var(--muted); font-size: 13px; line-height: 1.65; }
.svc.main .svc-desc { color: rgba(255,255,255,.55); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.svc-tag { font-size: 11px; padding: 3px 10px; border-radius: 5px; color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.svc-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; margin-top: 22px; text-decoration: none; transition: gap .2s; }
.svc-link.gold { color: var(--gold); }
.svc-link.blue { color: var(--blue); }
.svc-link:hover { gap: 13px; }

/* ─── STATS ─────────────────── */
.stats-section { background: linear-gradient(135deg, #07A5DC, #0568A0); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stats-item { padding: 56px 36px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); position: relative; }
.stats-item:last-child { border-right: none; }
.stats-item::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; }
.stats-num { font-family: var(--fd); font-size: clamp(44px,5vw,68px); font-weight: 800; color: #fff; line-height: 1; letter-spacing: .02em; }
.stats-gold { color: var(--gold); }
.stats-lbl { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 9px; letter-spacing: .04em; }

/* ─── CASES ─────────────────── */
.cases { padding: 80px 0 100px; }
.cases-top-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.cases-slider-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--sh-md); }
.cases-slides { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.case-slide { min-width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.case-graph-side { padding: 48px 44px 48px 48px; border-right: 1px solid var(--border); }
.case-growth-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.case-growth-num { font-family: var(--fd); font-weight: 700; font-size: 36px; color: var(--blue); line-height: 1; margin-bottom: 30px; letter-spacing: .02em; text-transform: uppercase; }
.case-chart-wrap { position: relative; height: 235px; }
.case-chart-y { position: absolute; top: 0; bottom: 30px; left: 0; width: 54px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; padding-right: 10px; }
.case-chart-y span { font-size: 10px; color: var(--muted); font-weight: 500; }
.case-chart-area { position: absolute; top: 0; left: 54px; right: 0; bottom: 30px; }
.case-chart-area svg { overflow: visible; } /* edge points of the graph are not clipped by the SVG viewport */
.case-chart-x { position: absolute; bottom: 0; left: 54px; right: 0; display: flex; justify-content: space-between; }
.case-chart-x span { font-size: 10px; color: var(--muted); }
.case-detail-side { padding: 48px 48px 48px 44px; display: flex; flex-direction: column; }
.case-detail-title { font-weight: 700; font-size: 18px; color: var(--dark); margin-bottom: 24px; line-height: 1.35; }
.case-detail-rows { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.case-detail-row { display: flex; gap: 8px; font-size: 13px; }
.case-detail-row strong { color: var(--blue); font-weight: 600; min-width: 72px; }
.case-detail-row span { color: var(--muted); }
.case-results-lbl { font-size: 10px; font-weight: 700; color: var(--blue); margin-bottom: 9px; text-transform: uppercase; letter-spacing: .08em; }
.case-results-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.case-results-list li { font-size: 13px; color: var(--dark); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.case-results-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.case-results-desc { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 12px; }
.cases-nav { display: flex; align-items: center; gap: 10px; }
.case-nav-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--border2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; }
.case-nav-btn:hover { border-color: var(--blue); background: var(--blue); }
.case-nav-btn:hover svg path { stroke: #fff; }
.case-dots { display: flex; gap: 7px; }
.case-dot { width: 7px; height: 7px; border-radius: 50%; background: #CCC; transition: all .25s; cursor: pointer; border: none; padding: 0; }
.case-dot.active { background: var(--blue); width: 22px; border-radius: 3px; }

/* ─── NICHES ────────────────── */
.niches { padding: 0 0 100px; }
.niches-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 52px; }
.niche-card { border-radius: var(--r); overflow: hidden; position: relative; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .3s, box-shadow .3s; }
.niche-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.niche-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; }
.niche-card:hover .niche-bg { transform: scale(1.04); }
.niche-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,15,30,.88) 0%, rgba(10,15,30,.28) 60%, transparent 100%); }
.niche-body { position: relative; z-index: 1; padding: 26px; }
.niche-tag { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 4px; letter-spacing: .04em; text-transform: uppercase; }
.niche-cat { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.niche-title { font-family: var(--fd); font-size: 24px; font-weight: 700; color: #fff; line-height: 1.05; margin-bottom: 12px; letter-spacing: .03em; text-transform: uppercase; }
.niche-metric-val { font-family: var(--fd); font-weight: 700; font-size: 26px; color: #fff; letter-spacing: .02em; }
.niche-metric-up { color: #4ADE80; font-size: 13px; font-weight: 700; }
.niche-metric-lbl { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 1px; }

/* ─── WHY ──────────────────── */
.why { padding: 100px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-big { font-family: var(--fd); font-weight: 800; font-size: clamp(100px,13vw,170px); line-height: 1; -webkit-text-stroke: 2px rgba(11,168,220,.12); color: transparent; user-select: none; margin-bottom: -22px; letter-spacing: .02em; }
.why-cards { display: flex; flex-direction: column; gap: 9px; }
.why-card { background: var(--bg); border: 1px solid var(--border); border-radius: 11px; padding: 18px 20px; display: flex; align-items: flex-start; gap: 13px; transition: all .3s; }
.why-card:hover { border-color: rgba(11,168,220,.3); box-shadow: var(--sh-md); transform: translateX(5px); background: var(--white); }
.why-card-icon { font-size: 19px; min-width: 30px; }
.why-card-title { font-weight: 700; font-size: 14px; margin-bottom: 3px; color: var(--dark); }
.why-card-desc { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ─── TESTIMONIALS ──────────── */
.testimonials { padding: 0 0 100px; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 52px; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; box-shadow: var(--sh-sm); transition: all .3s; position: relative; }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: rgba(11,168,220,.18); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-star { color: var(--gold); font-size: 14px; }
.testi-text { font-size: 14px; color: var(--text); line-height: 1.65; margin-bottom: 20px; }
.testi-text::before { content: '\201C'; font-family: var(--fd); font-size: 48px; font-weight: 700; color: rgba(11,168,220,.15); line-height: 0.6; display: block; margin-bottom: 10px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-weight: 700; font-size: 16px; color: #fff; flex-shrink: 0; letter-spacing: .03em; }
.testi-name { font-weight: 700; font-size: 14px; color: var(--dark); }
.testi-pos { font-size: 12px; color: var(--muted); margin-top: 1px; }
.testi-metric { position: absolute; top: 24px; right: 24px; text-align: right; }
.testi-metric-val { font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--blue); letter-spacing: .02em; }
.testi-metric-lbl { font-size: 10px; color: var(--muted); }

/* ─── PROCESS ──────────────── */
.process { padding: 0 0 100px; }
.process-inner { background: linear-gradient(155deg, #07A5DC 0%, #0568A0 100%); border-radius: 20px; padding: 64px 72px; }
.process-inner .section-label { color: var(--gold); }
.process-inner .section-label::before { background: var(--gold); }
.process-inner .section-title { color: #fff; }
.process-inner .section-sub { color: rgba(255,255,255,.55); text-align: center; margin: 12px auto 0; }
.process-steps { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 52px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 25px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), rgba(255,212,56,.4), rgba(255,255,255,.25), transparent); }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
.step-num { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 18px; font-weight: 700; color: rgba(255,255,255,.65); margin-bottom: 16px; position: relative; z-index: 1; transition: all .3s; letter-spacing: .03em; }
.step:hover .step-num { background: var(--gold); border-color: var(--gold); color: var(--dark); box-shadow: 0 0 18px rgba(255,212,56,.4); }
.step-title { font-weight: 700; font-size: 13px; margin-bottom: 6px; color: #fff; }
.step-desc { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ─── LEAD MAGNET ──────────── */
.lead-magnet { padding: 0 0 100px; }
.lead-magnet-box { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 52px 56px; display: flex; align-items: center; gap: 48px; box-shadow: var(--sh-sm); position: relative; overflow: hidden; }
.lead-magnet-box::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, var(--teal), var(--blue)); }

/* ─── NOT FOUND ─────────────── */
.not-found { padding: 0 0 100px; }
.not-found-box { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; box-shadow: var(--sh-sm); position: relative; overflow: hidden; }
.not-found-box::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, var(--teal), var(--blue)); }
.not-found-icon { font-size: 44px; margin-bottom: 14px; }
.not-found-title { font-family: var(--fd); font-size: 34px; font-weight: 800; color: var(--dark); line-height: 1; margin-bottom: 10px; letter-spacing: .03em; text-transform: uppercase; }
.not-found-desc { color: var(--muted); font-size: 14px; max-width: 420px; line-height: 1.65; }

/* ─── BLOG PREVIEW ──────────── */
.blog-preview { padding: 0 0 100px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 30px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: all .3s; box-shadow: var(--sh-sm); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: rgba(11,168,220,.18); }
.blog-img { height: 160px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.blog-img-tag { position: absolute; top: 14px; left: 14px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 4px; letter-spacing: .04em; text-transform: uppercase; }
.blog-body { padding: 22px; }
.blog-date { font-size: 11px; color: var(--muted); margin-bottom: 9px; }
.blog-title { font-weight: 700; font-size: 15px; color: var(--dark); line-height: 1.4; margin-bottom: 10px; text-decoration: none; display: block; }
.blog-title:hover { color: var(--blue); }
.blog-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; }
.blog-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.blog-read { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 5px; transition: gap .2s; }
.blog-read:hover { gap: 10px; }
.blog-read-time { font-size: 11px; color: var(--muted); }

/* ─── CTA ───────────────────── */
.cta-section { padding: 100px 0 100px; }
.cta-box { background: linear-gradient(155deg, #07A5DC 0%, #0568A0 100%); border-radius: 20px; padding: 80px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 250px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); }
.cta-sparkle { position: absolute; color: rgba(255,255,255,.3); pointer-events: none; font-size: 20px; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 500px; height: 280px; background: radial-gradient(ellipse, rgba(255,255,255,.07) 0%, transparent 70%); }
.cta-astro { position: absolute; bottom: -10px; right: 40px; z-index: 3; }
.cta-title { font-family: var(--fd); font-size: clamp(38px,5vw,68px); font-weight: 800; line-height: .97; margin-bottom: 18px; color: #fff; position: relative; letter-spacing: .02em; text-transform: uppercase; }
.cta-title .gold { color: var(--gold); }
.cta-desc { color: rgba(255,255,255,.5); font-size: 16px; max-width: 480px; margin: 0 auto 36px; line-height: 1.7; position: relative; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── FOOTER ─────────────────── */
footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.05); padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand-desc { color: rgba(255,255,255,.32); font-size: 13px; line-height: 1.7; margin-top: 14px; max-width: 230px; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,212,56,.1); border: 1px solid rgba(255,212,56,.2); border-radius: 6px; padding: 5px 10px; font-size: 11px; color: var(--gold); font-weight: 600; margin-top: 16px; }
.footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.45); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 9px; }
.footer-contact-item a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.22); }
.footer-socials { display: flex; gap: 8px; }
.social-link { width: 34px; height: 34px; border-radius: 7px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); display: flex; align-items: center; justify-content: center; text-decoration: none; color: rgba(255,255,255,.38); font-size: 11px; font-weight: 700; transition: all .2s; }
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.22); text-decoration: none; font-size: 12px; transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.5); }

/* ─── MODAL ─────────────────── */
.modal-overlay{position:fixed;inset:0;z-index:9998;background:rgba(10,15,30,.6);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.modal-overlay.open{opacity:1;visibility:visible}
.modal-box{background:var(--white);border-radius:20px;width:100%;max-width:420px;padding:44px 40px 40px;position:relative;box-shadow:0 32px 80px rgba(0,0,0,.25);transform:translateY(24px) scale(.97);transition:transform .35s cubic-bezier(.16,1,.3,1)}
.modal-overlay.open .modal-box{transform:translateY(0) scale(1)}
.modal-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;background:var(--bg);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:20px;color:var(--muted);cursor:pointer;transition:all .2s;line-height:1}
.modal-close:hover{background:var(--border);color:var(--text)}
.modal-header{text-align:center;margin-bottom:28px}
.modal-icon{font-size:36px;margin-bottom:12px}
.modal-title{font-family:var(--fd);font-size:28px;font-weight:800;line-height:.97;letter-spacing:.02em;text-transform:uppercase;color:var(--dark);margin-bottom:10px}
.modal-desc{font-size:14px;color:var(--muted);line-height:1.65}
.modal-field{margin-bottom:12px}
.modal-input{width:100%;padding:14px 16px;border-radius:10px;border:1.5px solid var(--border2);background:var(--bg);font-family:var(--fb);font-size:14px;color:var(--text);outline:none;transition:border-color .2s,box-shadow .2s}
.modal-input::placeholder{color:var(--muted)}
.modal-input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,168,220,.12)}
.modal-submit{width:100%;padding:15px;border-radius:10px;background:var(--blue);color:#fff;border:none;font-family:var(--fb);font-size:15px;font-weight:700;cursor:pointer;transition:all .22s;margin-top:4px;box-shadow:0 4px 20px rgba(11,168,220,.3)}
.modal-submit:hover{background:var(--blue-d);transform:translateY(-1px);box-shadow:0 8px 28px rgba(11,168,220,.4)}
.modal-submit:disabled{opacity:.6;cursor:not-allowed;transform:none}
.modal-note{font-size:11px;color:var(--muted);text-align:center;margin-top:12px;line-height:1.5}
.modal-note a{color:var(--blue);text-decoration:none}
.modal-note a:hover{text-decoration:underline}

/* Тост */
.toast{position:fixed;bottom:24px;right:24px;background:var(--white);border:1px solid var(--border);border-radius:10px;padding:16px 22px;color:var(--text);font-size:14px;z-index:99999;box-shadow:0 8px 32px rgba(0,0,0,.15);transform:translateY(120%);transition:transform .4s cubic-bezier(.16,1,.3,1);display:flex;align-items:center;gap:10px;max-width:360px}
.toast.show{transform:translateY(0)}
.toast-icon{font-size:20px;flex-shrink:0}
.toast-error{border-left:3px solid #EF4444}
.toast-success{border-left:3px solid var(--teal)}

@media(max-width:768px){
  .modal-box{padding:32px 24px 28px;border-radius:16px}
  .modal-title{font-size:24px}
  .toast{bottom:16px;right:16px;left:16px;max-width:none}
}
@media(prefers-reduced-motion:reduce){
  .modal-overlay,.modal-box,.toast{transition:none}
}

/* Стили для ошибков в формах */
.form-error { color: #e74c3c; font-size: 12px; margin-top: 4px; }

/* ─── REVEAL & ANIMATIONS ──── */
@keyframes fade-up { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(11,168,220,.35); border-radius: 2px; }

/* ─── RESPONSIVE ─────────────── */
@media(max-width:1024px){
  .services-grid{grid-template-columns:1fr 1fr}
  .svc.main{grid-row:auto;grid-column:1/-1}
  .why-grid{grid-template-columns:1fr;gap:40px}
  .why-big{text-align:center;font-size:clamp(60px,12vw,120px)}
  .stats-grid{grid-template-columns:1fr 1fr}
  .stats-item:nth-child(2){border-right:none}
  .case-slide{grid-template-columns:1fr}
  .case-graph-side{border-right:none;border-bottom:1px solid var(--border)}
  .process-steps{grid-template-columns:repeat(3,1fr);gap:24px}
  .process-steps::before{display:none}
  .footer-top{grid-template-columns:1fr 1fr;gap:36px}
  .cta-box{padding:60px 40px}
  .cta-astro{display:none}
  .lead-magnet-box{flex-direction:column;padding:40px 32px}
  .not-found-box{flex-direction:column;text-align:center}
}

/* ─── CSS для чипов статей ─────────────── */
.cat-chip{
  display:inline-block;
  background:#eef4fb;
  color:#0b5cad;
  border-radius:6px;
  padding:4px 12px;
  font-size:13px;
  line-height:1.4;
  margin:0 6px 4px 0;
  text-decoration:none;
  font-weight:500;
}
.article-cats{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}

@media(max-width:768px){
  .container{padding:0 20px}
  .topbar{display:none}
  .nav-links,.nav-right{display:none}
  .burger{display:flex}
  .logo{margin-right:auto}
  .hero-grid{grid-template-columns:1fr;text-align:center}
  .hero-visual{display:none}
  .hero-desc{margin-left:auto;margin-right:auto}
  .hero-cta{justify-content:center}
  .hero-stats{justify-content:center;flex-wrap:wrap}
  .services-grid{grid-template-columns:1fr}
  .niches-grid{grid-template-columns:1fr}
  .testi-grid{grid-template-columns:1fr}
  .blog-grid{grid-template-columns:1fr}
  .process-inner{padding:40px 24px}
  .process-steps{grid-template-columns:1fr 1fr}
  .footer-top{grid-template-columns:1fr;gap:28px}
  .footer-bottom{flex-direction:column;gap:12px;text-align:center}
  .cases-top-row{flex-direction:column;align-items:flex-start}
  .stats-grid{grid-template-columns:1fr}
  .stats-item{border-right:none;border-bottom:1px solid rgba(255,255,255,.1)}
  .stats-item:last-child{border-bottom:none}
}

@media(prefers-reduced-motion:reduce){
  .reveal{transition:none;opacity:1;transform:none}
  .star,.eyebrow-dot,.float-card,.cta-astro{animation:none}
  .hero-eyebrow,.hero-title,.hero-desc,.hero-cta,.hero-stats,.hero-visual{animation:none}
}