:root {
  color-scheme: light;
  --primary: #372f84; --primary-dark: #2a2366; --primary-light: #4c42b3;
  --accent: #d92c2c; --accent-light: #ef4444;
  --bg: #ffffff; --bg2: #f8fafc; --bg3: #f1f5f9;
  --card: #ffffff; --card-border: #e2e8f0;
  --text: #0f172a; --text-muted: #475569; --text-dim: #64748b;
  --heading: #0f172a;
  --radius: 12px; --radius-lg: 18px;
}
body.theme-dark {
  color-scheme: dark;
  --bg: #0b1020; --bg2: #121934; --bg3: #1a2245;
  --card: #151b2e; --card-border: #222b45;
  --text: #f1f5f9; --text-muted: #94a3b8; --text-dim: #64748b;
  --heading: #ffffff;
}

* { margin:0; padding:0; box-sizing:border-box }
html { scroll-behavior:smooth }
body { font-family:-apple-system,sans-serif; background:var(--bg); color:var(--text); line-height:1.65; overflow-x:hidden; transition: background 0.3s, color 0.3s; }
a { color: inherit; text-decoration: none }
img { max-width: 100% }
.container { max-width: 1150px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--accent) !important; color:#ffffff !important; padding:14px 28px; border:none; border-radius:8px; font-weight:600; font-size:15px; cursor:pointer; transition:.25s; text-shadow:none; }
.btn:hover { background:#b91c1c !important; transform:translateY(-2px); box-shadow:0 8px 24px rgba(217,44,44,.25) }
.btn-outline { background:transparent !important; border:2px solid var(--primary) !important; color:var(--primary) !important; }
body.theme-dark .btn-outline { border-color:#ffffff !important; color:#ffffff !important; }
.btn-outline:hover { background:rgba(55,47,132,.05) !important; }
.btn-sm { padding:9px 18px; font-size:13px; }

/* ── HEADER & MENU ── */
.hdr { position:sticky; top:0; z-index:100; background:rgba(255,255,255,.95); backdrop-filter:blur(15px); border-bottom:1px solid var(--card-border); box-shadow:0 4px 20px rgba(0,0,0,0.03); }
body.theme-dark .hdr { background:rgba(11,16,32,.95); }
.nav { display:flex; align-items:center; justify-content:space-between; padding:10px 24px; }
.brand-logo { display:flex; align-items:center; gap:10px; font-size:22px; font-weight:900; color:var(--primary); letter-spacing:-0.5px; }
body.theme-dark .brand-logo { color: var(--primary-light); }
.logo { height:42px; width:auto; object-fit:contain; }
body.theme-dark .logo { background: #fff; padding: 4px 8px; border-radius: 6px; }

.desktop-menu { display:flex; gap:24px; align-items:center; flex-wrap:wrap; }
.menu-link { font-size:14px; font-weight:600; color:var(--text-muted); transition:.2s; cursor:pointer; padding: 10px 0; }
.menu-link:hover { color:var(--primary); }
body.theme-dark .menu-link:hover { color: var(--primary-light); }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--bg); box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid var(--card-border); border-radius: 8px; opacity: 0; visibility: hidden; transition: .2s; min-width: 220px; display: flex; flex-direction: column; padding: 8px 0; z-index:150;}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 10px 20px; font-size: 14px; color: var(--text); transition: .2s; font-weight: 500; }
.dropdown-menu a:hover { background: var(--bg2); color: var(--primary); }

.header-right { display:flex; align-items:center; gap:16px; flex-shrink:0; }
.header-contacts { text-align:right; }
.phone { font-weight:700; color:var(--primary); font-size:17px; transition:.2s; display:block; line-height:1.2; margin-bottom:2px; }
body.theme-dark .phone { color: var(--primary-light); }
.phone:hover { color:var(--accent) }
.schedule { font-size:11px; color:var(--text-dim); line-height:1; }

.menu-toggle { display: none; background: none; border: none; color: var(--primary); cursor: pointer; padding: 4px; }
body.theme-dark .menu-toggle { color: var(--primary-light); }
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 199; opacity: 0; visibility: hidden; transition: .3s; }
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: var(--bg); z-index: 200; transition: .3s ease-in-out; box-shadow: -10px 0 30px rgba(0,0,0,0.1); padding: 24px; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu.open { right: 0; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--card-border); }
.menu-close { background: none; border: none; font-size: 32px; line-height: 1; color: var(--text-muted); cursor: pointer; }
.mobile-nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav > a, .mob-dropdown-btn { font-size: 16px; font-weight: 600; color: var(--text); display: flex; justify-content:space-between; width:100%; padding: 12px 0; border-bottom: 1px solid var(--card-border); transition: .2s; background:none; border-top:none; border-left:none; border-right:none; cursor:pointer; font-family:inherit;}
.mobile-nav > a:hover, .mob-dropdown-btn:hover { color: var(--primary); padding-left: 8px; }
.mob-dropdown-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; display:flex; flex-direction:column; background:var(--bg2); border-radius:8px; }
.mob-dropdown.open .mob-dropdown-content { max-height: 800px; padding: 10px; margin-top:10px; border: 1px solid var(--card-border); }
.mob-dropdown.open .arr { transform:rotate(180deg); }
.mob-dropdown-content a { padding: 10px 15px; font-size: 14px; color: var(--text-muted); border-bottom:1px solid var(--card-border); display:block; }
.mob-dropdown-content a:last-child { border:none; }
.arr { transition: .3s; font-size:12px; }

/* ── HERO ── */
.hero { position:relative; min-height:75vh; display:flex; align-items:center; padding:80px 0; background:var(--bg); overflow:hidden;}
#hero-canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.hero-bg-gradient { position:absolute; inset:0; background:radial-gradient(circle at 80% 20%, rgba(55,47,132,0.06) 0%, transparent 50%), linear-gradient(180deg, transparent 0%, var(--bg2) 100%); pointer-events:none;}
.hero-inner { display:flex; flex-wrap:wrap; gap:50px; align-items:center; position:relative; z-index:2; width:100%; }
.hero-left { flex:1; min-width:320px; }
.hero-right { flex:0.8; min-width:320px; display:flex; justify-content:flex-end;}

.hero-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(55,47,132,0.08); border:1px solid rgba(55,47,132,0.15); color:var(--primary); padding:6px 14px; border-radius:30px; font-size:13px; font-weight:600; text-transform:uppercase; margin-bottom:24px; }
body.theme-dark .hero-badge { color: var(--primary-light); background: rgba(76,66,179,0.15); }
.dot-pulse { width:8px; height:8px; border-radius:50%; background:var(--accent); animation:pulse-dot 1.5s infinite; }
.dot-pulse.green { background:#10b981; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

.hero h1 { font-size:clamp(34px, 4.5vw, 52px); font-weight:800; line-height:1.15; margin-bottom:20px; color:var(--heading); }
.hero h1 .grad { background:linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
body.theme-dark .hero h1 .grad { background:linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.hero-sub { font-size:17px; color:var(--text-muted); max-width:520px; margin-bottom:30px; line-height:1.7; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:40px; }

.hero-stats { display:flex; flex-wrap:wrap; gap:20px 40px; padding-top:30px; border-top:1px solid var(--card-border); }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size:30px; font-weight:800; color:var(--primary); line-height:1; }
body.theme-dark .stat-num { color: var(--primary-light); }
.stat-num span.plus { color:var(--accent); font-size:20px; font-weight:bold; }
.stat-label { font-size:12px; color:var(--text-dim); margin-top:4px; font-weight:600; text-transform:uppercase; }

/* ── TICKETS PANEL ── */
.tickets-panel { background:var(--card); backdrop-filter:blur(10px); border:1px solid var(--card-border); border-radius:var(--radius-lg); padding:24px; width:100%; max-width:400px; box-shadow:0 20px 40px rgba(0,0,0,0.06); }
.tickets-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.ticket { background:var(--bg); border:1px solid var(--card-border); border-radius:10px; padding:14px; margin-bottom:10px; box-shadow:0 2px 5px rgba(0,0,0,0.02); transition:.3s; }
.ticket:hover { transform:translateY(-2px); box-shadow:0 6px 15px rgba(0,0,0,0.05); }
.ticket-title { color:var(--heading); font-size:14px; font-weight:700; margin-bottom:4px; }
.ticket-meta { color:var(--text-muted); font-size:12px; }
.ticket-time { color:var(--text-dim); font-size:11px; }

.badge { font-size:10px; font-weight:700; text-transform:uppercase; padding:3px 8px; border-radius:6px; display: inline-block; }
.badge.resolved { background:rgba(16,185,129,0.15); color:#10b981; border:1px solid rgba(16,185,129,0.3); }
.badge.in-progress { background:rgba(217,119,6,0.15); color:#d97706; border:1px solid rgba(217,119,6,0.3); }
.badge.new { background:rgba(79,70,229,0.15); color:#4f46e5; border:1px solid rgba(79,70,229,0.3); }

.sla-bar { border-top:1px solid var(--card-border); padding-top:14px; margin-top:16px; }
.sla-track { height:6px; background:var(--bg2); border-radius:999px; overflow:hidden; margin-top:6px;}
.sla-fill { height:100%; background:#10b981; border-radius:999px; width:98.4%; }

/* ── TRUST BAR ── */
.trust-bar { background:var(--primary); padding:24px 0; color:#fff; position:relative; z-index:5; }
.trust-inner { display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; align-items:center; }
.trust-item { display:flex; align-items:center; gap:14px; flex:1; min-width:200px; }
.trust-item div { display:flex; flex-direction:column; }
.trust-item strong { font-size:14px; font-weight:700; line-height:1.2; color:#fff !important; }
.trust-item span { font-size:12px; color:rgba(255,255,255,0.7); }
.trust-divider { width:1px; height:40px; background:rgba(255,255,255,0.2); }

/* ── SECTIONS ── */
section { padding:80px 0; scroll-margin-top:70px; }
.section-label { display:inline-block; font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--primary); margin-bottom:12px; background:rgba(55,47,132,0.06); padding:4px 10px; border-radius:6px;}
body.theme-dark .section-label { color: var(--primary-light); background:rgba(76,66,179,0.15); }
h2 { font-size:clamp(26px, 3.5vw, 36px); font-weight:800; margin-bottom:12px; color:var(--heading); }
.section-sub { color:var(--text-muted); font-size:16px; margin-bottom:40px; }

/* ── SERVICES ── */
.services { background:var(--bg2); border-bottom:1px solid var(--card-border); border-top:1px solid var(--card-border); }
.grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:20px; }
.srv { background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius); padding:28px; transition:.3s; position:relative; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,0.02); }
.srv::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--primary); opacity:0; transition:.3s; }
.srv:hover { border-color:var(--primary-light); transform:translateY(-4px); box-shadow:0 15px 40px rgba(0,0,0,.1); }
.srv:hover::before { opacity:1; background:var(--primary); }
.srv-icon { width:48px; height:48px; background:rgba(55,47,132,.08); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:18px; color:var(--primary); }
.srv h3 { font-size:18px; font-weight:700; margin-bottom:10px; color:var(--heading); }
.srv p { font-size:14px; color:var(--text-muted); line-height:1.6 }

/* ── HOW WE WORK ── */
.steps-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:24px; }
.step-card { background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius); padding:24px; box-shadow:0 2px 10px rgba(0,0,0,0.02); }
.step-num { width:40px; height:40px; background:var(--primary); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:800; margin-bottom:16px; }
.step-card h3 { color: var(--heading); font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.step-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
.step-time { display: inline-block; background: rgba(55,47,132,0.08); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
body.theme-dark .step-time { color: var(--primary-light); background: rgba(76,66,179,0.15); }

/* ── REMOTE CARDS ── */
.remote-cards { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:40px; }
.remote-card { background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-lg); padding:32px; text-align:center; box-shadow:0 4px 15px rgba(0,0,0,0.02); display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.remote-icon { width:80px; height:80px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; }
.remote-card h3 { color: var(--heading); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.remote-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--card-border); border-radius: 8px; background: var(--card); overflow: hidden; transition: .3s; }
.faq-question { padding: 18px 24px; font-weight: 700; color: var(--heading); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition:.2s; }
.faq-question:hover { color: var(--primary); background: var(--bg2); }
body.theme-dark .faq-question:hover { color: var(--primary-light); }
.faq-question::after { content: '+'; font-size: 24px; color: var(--primary); transition: .3s; font-weight:300; }
body.theme-dark .faq-question::after { color: var(--primary-light); }
.faq-item.active { border-color: var(--primary-light); }
.faq-item.active .faq-question::after { transform: rotate(45deg); color: var(--accent); }
.faq-answer { padding: 0 24px; max-height: 0; opacity: 0; transition: .3s ease-in-out; color: var(--text-muted); font-size: 15px; }
.faq-item.active .faq-answer { padding: 0 24px 20px; max-height: 500px; opacity: 1; }

/* ── REVIEWS ── */
.reviews { background:var(--bg2); border-top:1px solid var(--card-border); }
.reviews .sw-app { width: 100%; min-height: 300px; }

/* ── LEAD FORM (ЖЕСТКАЯ КОНТРАСТНОСТЬ) ── */
.lead-block { background: var(--primary); color: #fff; padding: 80px 0; }
.lead-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lead-pitch h2 { color: #fff !important; font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin-bottom: 20px; }
.lead-pitch p { color: rgba(255,255,255,0.85) !important; font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.lead-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lead-perks li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #fff; }
.lead-perks li::before { content: '✓'; color: var(--primary); font-weight: 700; background: #fff; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }

.form { background: var(--card) !important; border: 1px solid var(--card-border) !important; border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.3); width: 100%; }
.form-title { font-size: 22px; font-weight: 800; color: var(--heading) !important; margin-bottom: 8px; }
.form input, .form textarea { background: var(--bg) !important; border: 1px solid var(--card-border) !important; border-radius: 8px; color: var(--text) !important; font-size: 15px; padding: 14px 16px; outline: none; font-family: inherit; transition: .2s; width: 100%; -webkit-appearance: none; box-sizing: border-box; }
.form input::placeholder, .form textarea::placeholder { color: var(--text-dim) !important; opacity: 1; }
.form input:focus, .form textarea:focus { border-color: var(--primary) !important; box-shadow: 0 0 0 3px rgba(55,47,132,.1); }
.form textarea { resize: vertical; min-height: 100px; }
.check { font-size: 14px; color: var(--text) !important; display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; margin-top: 5px; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
/* Чекбокс внутри формы: общий стиль «.form input» (appearance:none, padding, фон) прятал галочку — возвращаем родной вид */
.form .check input[type=checkbox] { -webkit-appearance: checkbox !important; -moz-appearance: checkbox !important; appearance: auto !important; background: transparent !important; border: 0 !important; padding: 0 !important; width: 20px !important; height: 20px !important; min-width: 20px; flex: 0 0 20px; margin: 0; box-shadow: none; }
.form-msg { font-size: 14px; min-height: 20px; color: var(--accent) !important; font-weight: 600; text-align: center; }
.captcha-row label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--text) !important; font-weight: 600; }
.captcha-row input { width: 150px; }

/* ── CERTS & NEWS ── */
.news { background:var(--bg); border-top:1px solid var(--card-border); }
.news .section-head { text-align:center; margin-bottom:48px }
.certs { background:var(--bg2); border-top:1px solid var(--card-border); }
.cert-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px }
.cert { display:block; text-align:center; background:var(--card); border:1px solid var(--card-border); padding:18px; border-radius:var(--radius); transition:.3s; cursor: pointer; }
.cert:hover { border-color:var(--primary); transform:translateY(-4px); box-shadow:0 10px 30px rgba(0,0,0,0.08); }
.cert img { width:100%; height:180px; object-fit:contain; margin-bottom:10px }
.cert span { font-size:13px; color:var(--text-muted); font-weight:500; }

/* ── LIGHTBOX ── */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90%; max-height: 90vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; font-weight: 300; line-height: 1; z-index: 2; transition: .2s; }
.lightbox-close:hover { color: var(--accent); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: #fff; border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 30px; cursor: pointer; transition: .2s; display: flex; align-items: center; justify-content: center; z-index: 2; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ── MAP ── */
.map-section { padding:0; border-top: 1px solid var(--card-border); }
.map-section iframe { display:block; width: 100%; filter: grayscale(0.8); }

/* ── FOOTER ── */
.ftr { background:#0f172a; padding:60px 0 24px; color:#94a3b8; }
.ftr-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:40px; margin-bottom:40px }
.ftr h3 { font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:#f1f5f9; margin-bottom:18px }
.ftr p { font-size:14px; margin-bottom:8px }
.ftr a { transition:.2s; }
.ftr a:hover { color:#fff }
.logo-footer { height:38px; width:auto; object-fit:contain; background:#fff; padding:6px 10px; border-radius:6px; display:block; margin-bottom:14px; }
.msg { display:inline-flex; align-items:center; gap:8px; margin:0 10px 10px 0; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); padding:8px 16px; border-radius:8px; font-size:14px; transition:.2s; color:#e2e8f0; }
.msg:hover { background:var(--primary); border-color:var(--primary); color:#fff }
.copy { margin-top:24px; padding-top:24px; border-top:1px solid rgba(255,255,255,0.1); font-size:13px; color:#64748b; text-align:center; }

/* ── FAB WIDGET ── */
.fab-widget { position:fixed; bottom:28px; right:28px; z-index:90; display:flex; flex-direction:column; align-items:center }
.fab-list { display:flex; flex-direction:column; gap:10px; margin-bottom:12px; opacity:0; visibility:hidden; transform:translateY(16px); transition:.25s }
.fab-widget.open .fab-list { opacity:1; visibility:visible; transform:translateY(0) }
.fab-item { width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(0,0,0,.2); transition:transform .2s; color:#ffffff !important; }
.fab-item:hover { transform:scale(1.12) }
.fab-wa { background:#25d366 !important; } .fab-tg { background:#229ed9 !important; } .fab-vk { background:#0077ff !important; } .fab-call { background:var(--primary) !important; }
.fab-toggle { width:58px; height:58px; border-radius:50%; background:var(--accent) !important; color:#ffffff !important; font-size: 24px; border:0; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 24px rgba(217,44,44,.4); transition:.3s; }
.fab-widget.open .fab-toggle { background:var(--primary) !important; transform:rotate(90deg); box-shadow:0 6px 24px rgba(55,47,132,.4); }
.fab-ic-close { display:none; transform:rotate(-90deg); transition:transform .3s; }
.fab-widget.open .fab-ic-open { display:none; }
.fab-widget.open .fab-ic-close { display:block; transform:rotate(90deg); }

/* ── ABOUT PAGE ── */
.value-tag { background: rgba(55,47,132,0.08); color: var(--primary); padding: 8px 16px; border-radius: 30px; font-weight: 600; font-size: 14px; }
body.theme-dark .value-tag { color: var(--primary-light); background: rgba(76,66,179,0.15); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; border-left: 2px solid var(--primary-light); }
.tl-item { position: relative; margin-bottom: 40px; }
.tl-item::before { content: ''; position: absolute; left: -37px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 4px solid var(--bg); }
.tl-year { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 8px; line-height: 1; }
body.theme-dark .tl-year { color: var(--primary-light); }
.tl-content { padding: 20px !important; margin: 0 !important; }
.tl-content strong { display: block; font-size: 16px; margin-bottom: 8px; color: var(--heading); }
.tl-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── ANIMATIONS ── */
.reveal { opacity:0; transform:translateY(30px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px) } to { opacity:1; transform:none } }
.animate-fade-in { animation:fadeUp .6s ease both; }
.animate-ticket { animation:fadeUp .5s ease both; }

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .hero-inner { grid-template-columns:1fr; }
  .lead-inner, .remote-cards { grid-template-columns:1fr; gap: 40px; }
  .ftr-grid { grid-template-columns:1fr 1fr }
  .desktop-menu, .trust-divider { display:none; }
  .menu-toggle { display: block; }
}
@media(max-width:600px) {
  section { padding:50px 0 }
  .hero { padding:40px 0; min-height:auto }
  .hero h1 { font-size:30px }
  .ftr-grid { grid-template-columns:1fr }
  .fab-widget { bottom:18px; right:18px }
  .nav-cta, .header-contacts.desktop-only { display:none; }
  .nav { padding:10px 16px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 24px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}


/* ── REQUISITES BEAUTIFICATION ── */
.req-box { display: flex; flex-direction: column; gap: 8px; font-family: -apple-system, sans-serif; }
.req-row { display: flex; flex-direction: column; padding: 14px 20px; background: var(--bg2); border-radius: 8px; border: 1px solid var(--card-border); transition: .2s; }
.req-row:hover { border-color: var(--primary-light); background: var(--bg); box-shadow: 0 4px 12px rgba(55,47,132,.05); }
@media(min-width: 600px) { .req-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.req-label { font-size: 14px; color: var(--text-muted); width: 100%; flex-shrink: 0; margin-bottom: 4px; }
@media(min-width: 600px) { .req-label { width: 45%; margin-bottom: 0; } }
.req-value { font-size: 15px; color: var(--heading); font-weight: 600; width: 100%; text-align: left; word-break: break-word; }
@media(min-width: 600px) { .req-value { width: 55%; text-align: right; } }
.req-spacer { height: 16px; }
.req-title { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; text-align: center; }
body.theme-dark .req-title { color: var(--primary-light); }
.req-subheader { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-top: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.req-text { font-size: 14px; color: var(--text-dim); background: rgba(55,47,132,0.05); padding: 16px 20px; border-left: 4px solid var(--primary); border-radius: 4px; line-height: 1.6; }
body.theme-dark .req-text { background: rgba(76,66,179,0.15); border-left-color: var(--primary-light); color: var(--text-muted); }


/* ── VACANCIES BEAUTIFICATION ── */
.vac-card { border: none; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.04); background: var(--card); border: 1px solid var(--card-border); margin-bottom: 40px; }
.vac-header { background: var(--bg2); padding: 25px 40px; border-bottom: 1px solid var(--card-border); border-left: 4px solid var(--primary); }
.vac-title { font-size: 24px; font-weight: 800; color: var(--heading); margin: 0; }
.vac-body { padding: 30px 40px; }
.vac-section-title { font-size: 17px; font-weight: 700; color: var(--heading); margin: 25px 0 15px 0; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
body.theme-dark .vac-section-title { color: var(--primary-light); }
.vac-section-title:first-child { margin-top: 0; }
.vac-section-title::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.vac-list { list-style: none; margin: 0 0 25px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vac-list li { position: relative; padding-left: 32px; font-size: 15px; color: var(--text); line-height: 1.6; font-weight: 500; }
.vac-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: bold; font-size: 13px; background: rgba(55,47,132,0.1); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
body.theme-dark .vac-list li::before { color: var(--primary-light); background: rgba(76,66,179,0.2); }
.vac-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 25px; padding: 15px 20px; background: var(--bg3); border-radius: 8px; }
.vac-footer { background: var(--bg2); padding: 25px 40px; border-top: 1px solid var(--card-border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.vac-footer p { margin: 0; font-size: 14px; color: var(--text-muted); }
@media (max-width: 600px) {
    .vac-header, .vac-body, .vac-footer { padding: 20px; }
    .vac-title { font-size: 20px; }
    .vac-footer { flex-direction: column; align-items: flex-start; }
    .vac-footer .btn { width: 100%; }
}


/* ── 404 PAGE ── */
.error-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.error-404-code { font-size: clamp(120px, 20vw, 220px); font-weight: 900; line-height: 1; margin-bottom: 20px; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
body.theme-dark .error-404-code { background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.error-404-title { font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: var(--heading); margin-bottom: 16px; }
.error-404-text { font-size: 16px; color: var(--text-muted); max-width: 500px; margin: 0 auto 40px auto; line-height: 1.6; }
.error-404-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }


/* ── PARTNERS PAGE BEAUTIFICATION ── */
.partner-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 50px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.partner-intro { font-size: 20px; line-height: 1.6; color: var(--primary); font-weight: 700; margin-bottom: 24px; }
body.theme-dark .partner-intro { color: var(--primary-light); }
.partner-text { font-size: 16px; line-height: 1.8; color: var(--text-muted); margin-bottom: 16px; }
.partner-list { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.partner-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; color: var(--text); line-height: 1.6; }
.partner-list li::before { content: '✓'; color: var(--primary); font-weight: bold; font-size: 14px; background: rgba(55,47,132,0.1); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
body.theme-dark .partner-list li::before { color: var(--primary-light); background: rgba(76,66,179,0.2); }
@media (max-width: 600px) {
    .partner-card { padding: 30px 20px; }
    .partner-intro { font-size: 18px; }
}


/* ── TICKETS BLUR ── */
.tkt-blur { filter: blur(5px); opacity: 0.65; pointer-events: none; user-select: none; display: inline-block; }

/* Уровни выпадающего меню */
.dropdown-menu .mob-dropdown-btn { padding: 10px 20px; width: 100%; text-align: left; }
.dropdown-menu .sub-menu { display: none; padding-left: 20px; }
.dropdown-menu > div:hover .sub-menu { display: block; }


.dropdown-content-sub { display: none; position: absolute; left: 100%; top: 0; background: var(--bg); min-width: 200px; }
.dropdown-submenu:hover .dropdown-content-sub { display: block; }
 v2 ── */

.dropdown-submenu:last-child { border-bottom: none; }


.dropdown-submenu:hover 
.submenu-items a { padding-left: 30px !important; font-size: 14px; border-bottom: none !important; color: var(--text-muted); }
.submenu-items a:hover { color: var(--primary); background: rgba(0,0,0,0.02); }
.mob-submenu-title { padding: 12px 20px; color: var(--primary); font-weight: bold; background: var(--bg2); font-size: 14px; text-transform: uppercase; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }


/* ── СТИЛИ ДЛЯ ВЛОЖЕННОГО ПОДМЕНЮ v4 (Polished) ── */
@media (min-width: 769px) {
    .dropdown-content.dropdown-menu { overflow: visible !important; }
    .dropdown-submenu { position: relative; }
    
    /* Стилизуем заголовок "Для сотрудников" точно так же, как обычные ссылки меню */
    .submenu-title { 
        display: block;
        font-family: inherit;
        font-size: 15px;
        font-weight: normal; 
        padding: 10px 20px; 
        color: var(--text); 
        cursor: default; 
        transition: background 0.2s, color 0.2s; 
    }
    .submenu-title:hover { background: var(--bg2); color: var(--primary); }
    
    /* Само выпадающее окошко */
    .submenu-items { 
        position: absolute; 
        left: 100%; 
        top: 0; 
        display: none; 
        background: var(--bg); 
        min-width: 220px; 
        box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
        border-radius: 8px; 
        border: 1px solid var(--card-border); 
        z-index: 100; 
        padding: 8px 0; /* Добавляем отступы сверху и снизу, чтобы не было "тонко" */
    }
    .dropdown-submenu:hover .submenu-items { display: block; animation: fadeFlyout 0.2s ease; }
    
    /* Внутренние ссылки генератора */
    .submenu-items a { 
        display: block !important;
        padding: 10px 20px !important; 
        color: var(--text) !important;
        text-decoration: none;
        transition: 0.2s;
        border-bottom: none !important; /* Убираем любые полоски */
    }
    .submenu-items a:hover { background: var(--bg2) !important; color: var(--primary) !important; }
    
    @keyframes fadeFlyout { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
}

@media (max-width: 768px) {
    .dropdown-submenu { display: block; border-bottom: 1px solid var(--card-border); }
    .submenu-title { padding: 12px 20px; display: block; color: var(--primary); font-weight: bold; background: var(--bg2); }
    .submenu-items { display: none; background: var(--bg); border-top: 1px solid var(--card-border); }
    .dropdown-submenu:hover .submenu-items { display: block; }
    .submenu-items a { padding-left: 30px !important; color: var(--text-muted); display: block; padding: 12px 20px; }
}


/* ===== NSKPC visual refresh: consistent, image-rich design across all pages ===== */
:root {
 --primary:#183b70; --primary-dark:#10284c; --primary-light:#3978c7;
 --accent:#f06435; --accent-light:#ff855b;
 --bg:#f6f8fc; --bg2:#edf2f8; --bg3:#e5edf7; --card:#fff; --card-border:#dfe7f1;
 --text:#17263b; --text-muted:#52647a; --text-dim:#718198; --heading:#102541;
 --radius:16px; --radius-lg:24px;
}
body {font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.7;background:var(--bg);color:var(--text)}
.container {max-width:1220px}
.hdr {background:rgba(255,255,255,.94);border-bottom:1px solid rgba(200,214,232,.8);box-shadow:0 8px 30px rgba(21,48,82,.06)}
.nav {min-height:82px;gap:22px}
.logo {height:48px;filter:drop-shadow(0 3px 5px rgba(25,52,88,.08))}
.desktop-menu {gap:clamp(10px,1.4vw,22px)}
.menu-link {font-size:13px;color:#344b68;font-weight:700;white-space:nowrap}
.menu-link:hover {color:var(--accent)}
.dropdown-menu,.submenu-items {border-radius:14px!important;box-shadow:0 18px 45px rgba(15,39,71,.14)!important;border-color:#e3eaf3!important;overflow:visible}
.dropdown-menu a {padding:11px 17px}
.btn {background:var(--accent)!important;border-radius:12px;padding:14px 23px;box-shadow:0 8px 18px rgba(240,100,53,.18);font-weight:750}
.btn:hover {background:#dc4e24!important;box-shadow:0 12px 24px rgba(240,100,53,.25)}
.btn-outline {border:1px solid #cbd8e8!important;color:var(--primary)!important;background:#fff!important;box-shadow:none}
.hero {min-height:620px;padding:76px 0 86px;background:linear-gradient(120deg,#f8fbff 0%,#eef4fc 58%,#e1ecfa 100%)}
.hero-bg-gradient {background:radial-gradient(circle at 78% 32%,rgba(64,128,202,.22),transparent 35%),linear-gradient(180deg,transparent 65%,rgba(255,255,255,.45))}
.hero-inner {gap:40px}
.hero-left {flex:1.05;min-width:300px}
.hero-right {flex:.95;min-width:300px;min-height:440px;position:relative;align-items:center;isolation:isolate}
.hero-right:before {content:"";position:absolute;z-index:0;inset:0 -35px 0 0;min-height:390px;border-radius:30px;background:linear-gradient(90deg,rgba(16,40,76,.12),rgba(16,40,76,.02)),url('ref_hero.webp') center/cover;box-shadow:0 28px 70px rgba(22,54,94,.2);border:8px solid rgba(255,255,255,.72)}
.hero-right:after {content:none!important;display:none!important}
/* Hide ticket/SLA overlays completely: they were overlapping the hero image and leaving stale metrics. */
.tickets-panel,.live-tickets-panel,#live-tickets-container,.hero-right .tickets-panel {display:none!important}
.hero h1 {font-size:clamp(36px,4.3vw,58px);letter-spacing:-1.5px;line-height:1.08;color:#102541}
.hero h1 .grad {background:linear-gradient(120deg,#1c5797,#f06435);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero-badge {background:#fff;border-color:#dce7f5;color:#224d80;box-shadow:0 4px 16px rgba(26,64,109,.06);text-transform:none}
.hero-sub {font-size:18px;color:#4c617b;max-width:560px}
.hero-stats {border-color:#d6e1ef;gap:18px 34px}
.stat-num {color:#183b70;font-weight:850}
.services {padding:82px 0;background:#fff}
.services-head {max-width:760px;margin:0 auto 38px;text-align:center}
.services-head h2,.section-head h2 {font-size:clamp(28px,3.3vw,40px);line-height:1.2;letter-spacing:-.8px;color:var(--heading)}
.section-label {border-radius:30px;background:#eaf2fc;color:#24558e;font-weight:800;letter-spacing:.04em}
.section-sub {color:#667991;font-size:16px}
/* Common content blocks on every service/detail page */
.page-header {position:relative;isolation:isolate;overflow:hidden!important;padding:78px 0!important;background:linear-gradient(110deg,#f3f7fc 0%,#e8f0fa 100%)!important;border-bottom:1px solid #dce6f2!important}
.page-header:before {content:"";position:absolute;z-index:-1;right:max(2%,calc((100vw - 1220px)/2));top:12%;width:min(35vw,420px);height:76%;border-radius:24px;background:linear-gradient(135deg,rgba(17,52,92,.08),rgba(17,52,92,.12)),url('ref_hero.webp') center/cover;box-shadow:0 18px 50px rgba(22,54,94,.15);opacity:.92}
.page-header .container {position:relative;z-index:1}
.page-header h1 {max-width:760px;letter-spacing:-1px;line-height:1.12!important;color:#102541!important}
.page-header p {max-width:700px;color:#526780!important;font-size:17px}
section[style*="padding: 80px 0"],section[style*="padding: 60px 0"] {padding-top:68px!important;padding-bottom:68px!important}
/* cards, forms, tables and FAQ blocks */
.service-card,.service-item,.feature-card,.step-card,.faq-item,.review-card,.news-card,.partner-card,.vacancy-card,.info-card,.card {border-radius:18px!important;border:1px solid #e1e9f3!important;box-shadow:0 8px 28px rgba(23,53,88,.055);transition:transform .22s ease,box-shadow .22s ease}
.service-card:hover,.service-item:hover,.feature-card:hover,.step-card:hover,.news-card:hover,.partner-card:hover,.vacancy-card:hover {transform:translateY(-4px);box-shadow:0 16px 38px rgba(23,53,88,.11)}
input,select,textarea {border-radius:10px!important;border-color:#d3deeb!important;padding:12px 14px!important}
input:focus,select:focus,textarea:focus {outline:3px solid rgba(57,120,199,.15);border-color:#3978c7!important}
.lead-block {background:linear-gradient(120deg,#163a69,#23548b)!important;color:#fff;border-radius:26px;margin:50px auto;max-width:1180px;padding:46px 24px!important;box-shadow:0 22px 55px rgba(20,56,99,.2)}
.lead-block h2,.lead-block h3,.lead-block p {color:#fff}
.ftr {background:#102541!important;color:#dce7f5!important;border-top:0!important}
.ftr a {color:#fff}
.ftr a:hover {color:#ff9b79}
/* useful image tiles for service pages; keeps content readable on narrow screens */
.page-header:after {content:"Сети · Серверы · Безопасность";position:absolute;right:max(3%,calc((100vw - 1220px)/2 + 20px));bottom:8%;background:rgba(255,255,255,.94);color:#234a79;padding:11px 15px;border-radius:10px;font-size:11px;font-weight:800;letter-spacing:.04em;box-shadow:0 8px 20px rgba(15,39,71,.12)}
@media(max-width:1000px){.desktop-menu{gap:10px}.header-contacts{display:none}.nav{min-height:72px}.hero-right:before{inset:0}.page-header:before{width:30vw;opacity:.22}.page-header:after{display:none}}
@media(max-width:760px){.hero{padding:55px 0 65px;min-height:auto}.hero-inner{gap:35px}.hero-left{min-width:0}.hero h1{font-size:clamp(34px,9vw,48px)}.hero-right{min-height:310px;width:100%;min-width:0}.hero-right:before{right:0;min-height:290px}.hero-right:after{right:6px;bottom:0}.hero-right .tickets-panel{display:none!important}.services{padding:58px 0}.page-header{padding:55px 0!important}.page-header:before{width:52vw;height:70%;right:-8vw;opacity:.13}.lead-block{margin:28px 12px;padding:30px 18px!important}section[style*="padding: 80px 0"],section[style*="padding: 60px 0"]{padding-top:48px!important;padding-bottom:48px!important}}

/* NSKPC homepage hero — close to the approved reference layout */
.hdr{background:#fff;box-shadow:0 2px 14px rgba(14,45,83,.055);border-bottom:1px solid #e8eef6}
.nav{min-height:86px;padding-top:8px;padding-bottom:8px}
.logo{height:54px;filter:none}
.desktop-menu{gap:clamp(12px,2vw,34px)}
.menu-link{font-size:14px;color:#102f58;font-weight:700}
.header-contacts .phone{font-size:18px;font-weight:800;color:#102f58}
.header-contacts .schedule{font-size:12px;color:#71829a}
.nav-cta{min-width:130px;text-align:center}
.hero{min-height:0;height:clamp(610px,39.8vw,700px);padding:0;display:block;overflow:hidden;background:linear-gradient(110deg,#f8fbff 0%,#eff6ff 52%,#e5f0fd 100%)}
.hero-bg-gradient{background:radial-gradient(ellipse at 10% 70%,rgba(215,234,255,.4),transparent 48%),linear-gradient(90deg,rgba(255,255,255,.18),transparent 60%)}
#hero-canvas{display:none!important}
.hero-inner{height:100%;max-width:1394px;gap:0;align-items:center;flex-wrap:nowrap;padding-top:0;padding-bottom:0}
.hero-left{flex:0 0 52%;min-width:0;padding:48px 36px 42px 0;position:relative;z-index:3}
.hero-right{position:absolute;left:53%;top:0;width:calc(50vw + 2%);height:100%;min-width:0;min-height:0;display:block;z-index:1}
.hero-right:before{content:"";position:absolute;inset:0;border:0;border-radius:0;min-height:0;background:linear-gradient(90deg,rgba(10,38,72,.08),transparent 20%),url('ref_hero.webp') center/cover no-repeat;box-shadow:none}
.hero-badge{padding:8px 15px;margin-bottom:24px;background:#eaf3fd;border:0;box-shadow:none;color:#244c7c;font-size:13px;font-weight:650}
.dot-pulse{background:#ff7517!important;box-shadow:none!important}
.hero h1{font-size:clamp(42px,3.6vw,62px);font-weight:850;letter-spacing:-1.7px;line-height:1.08;margin:0 0 20px;color:#10315b}
.hero h1 .grad{background:none;-webkit-background-clip:initial;-webkit-text-fill-color:#ff7016;color:#ff7016}
.hero-sub{font-size:18px;line-height:1.65;max-width:560px;color:#496384;margin-bottom:24px}
.hero-actions{gap:16px;margin-bottom:34px}
.hero-actions .btn{padding:15px 24px;border-radius:12px;min-height:54px}
.hero-actions .btn-outline{border:1px solid #4476b5!important;background:rgba(255,255,255,.65)!important}
.hero-stats{border:0;padding-top:16px;gap:22px 34px;justify-content:flex-start}
.stat-item{min-width:125px;position:relative}
.stat-num{font-size:27px;color:#2868b7;font-weight:850;line-height:1.2}
.stat-label{font-size:11px;color:#59718f;font-weight:650;text-transform:uppercase;line-height:1.5}
.trust-bar{background:linear-gradient(110deg,#123963,#0c2c52);padding:23px 0;color:#fff}
.trust-inner{max-width:1210px;gap:22px}
.trust-item{gap:16px;min-width:190px;padding:0 14px}
.trust-icon{width:34px;height:34px;flex:0 0 auto}
.trust-item strong{font-size:15px}.trust-item span{font-size:13px;color:#d2dfef}
.trust-divider{height:42px;background:rgba(255,255,255,.28)}
@media(max-width:1100px){.nav{gap:12px}.logo{height:44px}.desktop-menu{gap:10px}.menu-link{font-size:12px}.hero-inner{max-width:calc(100% - 48px)}.hero-left{flex-basis:53%;padding-right:20px}.hero h1{font-size:clamp(38px,4.3vw,52px)}.hero-right{left:52%;width:50vw}.hero-stats{gap:16px}.stat-item{min-width:100px}}
@media(max-width:760px){.nav{min-height:70px}.logo{height:40px}.hero{height:auto;min-height:0;padding:0}.hero-inner{max-width:100%;padding:0 22px;display:flex;flex-direction:column;align-items:stretch;gap:0}.hero-left{flex:auto;width:100%;padding:38px 0 28px}.hero-badge{font-size:11px;margin-bottom:18px}.hero h1{font-size:clamp(34px,9vw,46px);letter-spacing:-1px;line-height:1.08}.hero-sub{font-size:16px;line-height:1.55}.hero-actions{margin-bottom:18px;gap:10px}.hero-actions .btn{padding:12px 15px;min-height:48px;font-size:13px}.hero-stats{padding-top:14px;gap:12px 18px}.stat-item{min-width:calc(33.333% - 14px)}.stat-num{font-size:22px}.stat-label{font-size:9px}.hero-right{position:relative;left:auto;top:auto;width:calc(100% + 44px);height:300px;min-height:0;margin:0 -22px}.hero-right:before{inset:0;background-position:center 55%}.trust-bar{padding:18px 0}.trust-inner{padding:0 20px;gap:18px;align-items:flex-start}.trust-item{min-width:0;flex:1;padding:0;gap:9px}.trust-icon{width:27px;height:27px}.trust-item strong{font-size:12px}.trust-item span{font-size:10px}.trust-divider{display:none}}

/* HERO FIX v3: плавное смешивание светлой текстовой зоны с фотографией и полный кадр инженера */
@media (min-width:761px) {
  .hero-right { left:48.5%; width:53.5vw; overflow:hidden; }
  .hero-right:before {
    background-image:url('ref_hero.webp');
    background-size:cover;
    background-position:76% center;
    background-repeat:no-repeat;
  }
  .hero-right:after {
    content:"" !important;
    display:block !important;
    position:absolute;
    z-index:2;
    inset:0 auto 0 0;
    width:min(44%,420px);
    pointer-events:none;
    background:linear-gradient(90deg,
      #f7faff 0%,
      rgba(247,250,255,.96) 8%,
      rgba(247,250,255,.82) 22%,
      rgba(247,250,255,.48) 42%,
      rgba(247,250,255,.16) 68%,
      rgba(247,250,255,0) 100%);
  }
}
@media (min-width:761px) and (max-width:1100px) {
  .hero-right { left:49%; width:53vw; }
  .hero-right:before { background-position:79% center; }
  .hero-right:after { width:38%; }
}
@media (max-width:760px) {
  .hero-right:before { background-position:78% center; }
  .hero-right:after { content:none !important; display:none !important; }
}

/* HERO FIX v4: layered editorial transition inspired by the approved mockup.
   Instead of a simple vertical blur, use a broad pale field, diagonal glass ribbons,
   and subtle curved linework that visually connects the copy and the server-room photo. */
@media (min-width:761px) {
  .hero { position:relative; isolation:isolate; }
  .hero:before {
    content:"";
    position:absolute;
    z-index:2;
    pointer-events:none;
    inset:0 auto 0 0;
    width:62%;
    background:
      radial-gradient(ellipse 64% 84% at -4% 72%, transparent 0 61%, rgba(173,210,250,.24) 61.2% 61.6%, transparent 61.9%),
      radial-gradient(ellipse 58% 82% at 4% 72%, transparent 0 69%, rgba(173,210,250,.18) 69.2% 69.5%, transparent 69.8%),
      linear-gradient(112deg, rgba(248,251,255,.99) 0%, rgba(244,249,255,.99) 58%, rgba(237,246,255,.94) 74%, rgba(229,241,255,.72) 87%, rgba(229,241,255,0) 100%);
    -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 69%,rgba(0,0,0,.88) 79%,rgba(0,0,0,.42) 91%,transparent 100%);
    mask-image:linear-gradient(90deg,#000 0%,#000 69%,rgba(0,0,0,.88) 79%,rgba(0,0,0,.42) 91%,transparent 100%);
  }
  /* Broad diagonal translucent bands like the faceted glass shapes in the reference */
  .hero-bg-gradient {
    position:absolute;
    z-index:2;
    inset:0;
    pointer-events:none;
    background:
      linear-gradient(108deg, transparent 0 38%, rgba(255,255,255,.20) 38.1% 42%, transparent 42.2% 100%),
      linear-gradient(106deg, transparent 0 45%, rgba(255,255,255,.34) 45.1% 49.5%, transparent 49.7% 100%),
      linear-gradient(110deg, transparent 0 49%, rgba(199,223,250,.24) 49.1% 52.4%, transparent 52.6% 100%),
      radial-gradient(ellipse at 0% 78%, rgba(212,232,255,.28), transparent 47%);
  }
  .hero-right { z-index:1; }
  .hero-right:before {
    background-position:78% center;
    background-size:cover;
    /* Keep the photo crisp; the transition is created by overlays, not by blurring the image. */
    filter:none;
  }
  .hero-right:after {
    width:min(36%,360px);
    background:
      linear-gradient(90deg, rgba(247,250,255,.82) 0%, rgba(247,250,255,.58) 23%, rgba(247,250,255,.22) 57%, transparent 100%),
      linear-gradient(135deg, rgba(255,255,255,.28) 0%, transparent 40%);
  }
}
@media (min-width:761px) and (max-width:1100px) {
  .hero:before { width:64%; }
  .hero-bg-gradient {
    background:
      linear-gradient(108deg, transparent 0 41%, rgba(255,255,255,.17) 41.1% 45%, transparent 45.2% 100%),
      linear-gradient(106deg, transparent 0 48%, rgba(255,255,255,.25) 48.1% 51%, transparent 51.2% 100%);
  }
}
@media (max-width:760px) {
  .hero:before { content:none; }
  .hero-bg-gradient { background:linear-gradient(180deg,transparent 0%,rgba(255,255,255,.06) 100%); }
}

/* SUBPAGE HEADER FIX v5: remove the decorative server-room photo from inner pages.
   It competed with long page titles and lead text; keep the clean brand gradient instead. */
.page-header { position:relative; overflow:visible!important; padding:54px 0 48px!important; background:linear-gradient(110deg,#f7faff 0%,#edf4fc 62%,#e8f1fb 100%)!important; }
.page-header:before,.page-header:after { content:none!important; display:none!important; }
.page-header .container { position:relative; z-index:1; max-width:1220px; }
.page-header h1 { max-width:100%!important; overflow-wrap:anywhere; }
.page-header p { max-width:900px!important; }
@media(max-width:760px) { .page-header { padding:36px 0 32px!important; } }
