/* ============================================================
   BEX.GE — Sections & Components
   ============================================================ */

/* ---------- Header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s var(--e-out), border-color 0.4s, backdrop-filter 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; letter-spacing: 0.02em; color: var(--a1); }
.brand-tag { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 0.42em; color: var(--ink-3); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-2);
  padding: 9px 14px; border-radius: 9px; position: relative;
  transition: color 0.25s, background 0.25s;
}
.nav a:hover { color: var(--ink); background: rgba(var(--a1-rgb), 0.08); }
.nav a.active { color: var(--a1); }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink-2);
  transition: color 0.25s, border-color 0.25s, transform 0.25s, background 0.25s;
}
.icon-btn:hover { color: var(--a1); border-color: var(--a1); transform: translateY(-2px); }
.icon-btn svg { width: 18px; height: 18px; }
.lang-toggle {
  display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; height: 40px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
}
.lang-toggle button { padding: 0 12px; color: var(--ink-3); transition: color 0.25s, background 0.25s; }
.lang-toggle button.on { color: var(--bg); background: var(--a1); }
.menu-btn { display: none; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(82vw, 340px);
  background: var(--surface); border-left: 1px solid var(--line);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform 0.45s var(--e-out);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a { font-size: 1.15rem; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding-top: 150px; padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 1.1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero-copy { max-width: 600px; }
.hero h1 { margin: 22px 0 24px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 40px; flex-wrap: wrap; color: var(--ink-3); }
.hero-trust .ms-pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 500; color: var(--ink-2);
}
.ms-tiles { display: grid; grid-template-columns: repeat(2,7px); grid-template-rows: repeat(2,7px); gap: 2px; }
.ms-tiles i { display: block; }
.ms-tiles i:nth-child(1){background:#f25022}.ms-tiles i:nth-child(2){background:#7fba00}
.ms-tiles i:nth-child(3){background:#00a4ef}.ms-tiles i:nth-child(4){background:#ffb900}

/* ---------- Dashboard (hero + demo shared) ---------- */
.dash {
  border-radius: 20px; padding: 20px; position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}
.dash::before {
  content: ""; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: linear-gradient(135deg, rgba(var(--a1-rgb),0.5), transparent 40%, transparent 60%, rgba(var(--a2-rgb),0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.7;
}
.hero-dash { animation: floaty calc(8s / var(--mo)) ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-title { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--ink-2); text-transform: uppercase; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display:block; }

/* KPI tiles */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  position: relative; overflow: hidden;
}
.kpi-label { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.kpi-val { font-family: var(--f-mono); font-weight: 700; font-size: 1.5rem; margin-top: 6px; color: var(--ink); letter-spacing: -0.01em; }
.kpi-delta { font-size: 0.72rem; font-weight: 600; margin-top: 3px; display: inline-flex; align-items: center; gap: 3px; }
.kpi-delta.up { color: var(--a2); }
.kpi-delta.down { color: #ff6b6b; }
.kpi-spark { position: absolute; right: 8px; bottom: 8px; width: 46px; height: 22px; opacity: 0.85; }

/* Chart panel */
.dash-chart {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 14px 8px; position: relative;
}
.dash-chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dash-chart-head h4 { font-size: 0.84rem; font-weight: 600; color: var(--ink-2); }
.chart-svg { width: 100%; display: block; overflow: visible; }
.dash-legend { display: flex; gap: 16px; margin-top: 8px; padding: 0 2px 6px; }
.dash-legend span { font-family: var(--f-mono); font-size: 10px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.dash-legend i { width: 9px; height: 9px; border-radius: 3px; display: block; }

.dash-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.donut-wrap { display: flex; align-items: center; gap: 12px; }
.donut-wrap .donut-label { font-family: var(--f-mono); }
.donut-wrap .donut-num { font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.donut-wrap .donut-cap { font-size: 10px; color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Partners marquee ---------- */
.partners { padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee { position: relative; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-top: 34px; }
.marquee-track { display: flex; width: max-content; animation: scrollx calc(60s / var(--mo)) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
/* per-item margin (not flex gap) so translateX(-50%) loops seamlessly */
.logo-tile {
  flex: 0 0 auto; height: 46px; margin-right: clamp(44px, 6vw, 84px);
  display: grid; place-items: center;
  opacity: 0.72; transition: opacity 0.35s var(--e-out), transform 0.35s var(--e-out), filter 0.35s;
}
.logo-tile:hover { opacity: 1; transform: translateY(-3px); }
.logo-tile img { max-height: 46px; max-width: 190px; width: auto; object-fit: contain; }
.logo-tile.boxed img { border-radius: 8px; max-height: 52px; }
/* dark artwork on transparent bg -> render light so it reads on dark */
.logo-tile.mono img { filter: brightness(0) invert(1); }
[data-theme="light"] .logo-tile.mono img { filter: none; }
/* light artwork on transparent bg -> render dark so it reads on light */
.logo-tile.mono-inv img { filter: none; }
[data-theme="light"] .logo-tile.mono-inv img { filter: brightness(0); }
/* dual artwork - separate image per theme (preserves brand colors) */
.logo-tile.dual { position: relative; }
.logo-tile.dual img { position: static; }
.logo-tile.dual .for-light { display: block; }
.logo-tile.dual .for-dark { display: none; }
[data-theme="dark"] .logo-tile.dual .for-light { display: none; }
[data-theme="dark"] .logo-tile.dual .for-dark { display: block; }
[data-theme="light"] .logo-tile { opacity: 0.85; }

/* ---------- Services ---------- */
.svc-head { display: flex; flex-direction: column; gap: 18px; max-width: 640px; margin-bottom: 56px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px 32px;
  position: relative; overflow: hidden; transition: transform 0.5s var(--e-out), border-color 0.4s;
}
.svc-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--a1), var(--a2)); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--e-out);
}
.svc-card:hover { transform: translateY(-8px); border-color: var(--line-strong); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-num { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.1em; }
.svc-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin: 18px 0 22px;
  background: rgba(var(--a1-rgb), 0.1); border: 1px solid rgba(var(--a1-rgb), 0.25); color: var(--a1);
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.28rem; font-weight: 600; line-height: 1.2; margin-bottom: 12px; }
.svc-card p { color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-2); padding: 5px 10px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--line); }

/* ---------- Interactive demo ---------- */
.demo-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.demo-controls { display: flex; flex-direction: column; gap: 22px; }
.seg {
  display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; padding: 4px; gap: 4px;
}
.seg button {
  padding: 9px 16px; border-radius: 8px; font-size: 0.86rem; font-weight: 600; color: var(--ink-3);
  transition: color 0.25s, background 0.25s;
}
.seg button.on { color: var(--bg); background: var(--a1); }
[data-theme="light"] .seg button.on { color: #fff; }
.seg.wrap { flex-wrap: wrap; }
.seg.wrap button { padding: 8px 13px; font-size: 0.82rem; }

/* ---------- Brand marks (Power BI / Microsoft) ---------- */
.pbi { display: inline-flex; align-items: center; gap: 8px; }
.pbi svg { width: 20px; height: 20px; display: block; }
.pbi-name { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.01em; color: var(--ink-2); white-space: nowrap; }
.ms-logo { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1.5px; width: 18px; height: 18px; }
.ms-logo i { display: block; }
.ms-logo i:nth-child(1){background:#f25022}.ms-logo i:nth-child(2){background:#7fba00}
.ms-logo i:nth-child(3){background:#00a4ef}.ms-logo i:nth-child(4){background:#ffb900}
.ms-lockup { display: inline-flex; align-items: center; gap: 9px; }
.ms-lockup .ms-word { font-size: 0.92rem; font-weight: 500; color: var(--ink-2); }
.ctrl-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 11px; }
.demo-readout { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 6px; }
.demo-readout .ro-num { font-family: var(--f-mono); font-weight: 700; font-size: 1.9rem; color: var(--ink); }
.demo-readout .ro-cap { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Certification ---------- */
.cert-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.cert-card {
  position: relative; border-radius: 22px; padding: 44px 36px; text-align: center;
  background: radial-gradient(120% 100% at 50% 0%, rgba(var(--a1-rgb), 0.14), var(--surface) 62%);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-card);
}
.cert-badge {
  width: 128px; height: 128px; margin: 0 auto 26px; border-radius: 50%;
  background: linear-gradient(150deg, var(--a1), var(--a1-deep)); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(var(--a1-rgb), 0.1), 0 20px 50px -16px rgba(var(--a1-rgb), 0.6);
  position: relative;
}
.cert-badge svg { width: 54px; height: 54px; color: #fff; }
.cert-badge .ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(var(--a1-rgb), 0.4); animation: spin calc(26s / var(--mo)) linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cert-card .ms-name { font-size: 0.92rem; font-weight: 600; color: var(--a1); letter-spacing: 0.04em; }
.cert-card h3 { font-family: var(--f-display); font-size: 1.16rem; font-weight: 700; margin: 8px 0 18px; letter-spacing: 0.01em; }
.cert-skills { display: inline-flex; gap: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); align-items: center; }
.cert-skills i { width: 4px; height: 4px; border-radius: 50%; background: var(--a2); display: block; }
.cert-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.cert-list li { display: flex; align-items: flex-start; gap: 13px; list-style: none; color: var(--ink-2); font-size: 1.02rem; }
.cert-list .ck { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: rgba(var(--a2-rgb), 0.12); color: var(--a2); display: grid; place-items: center; margin-top: 1px; }
.cert-list .ck svg { width: 15px; height: 15px; }

/* ---------- Why / feature cards ---------- */
.why { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-sub { color: var(--ink-3); margin-top: 14px; font-size: 1.02rem; max-width: 580px; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; }
.feature {
  padding: 28px 28px 30px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  position: relative; overflow: hidden; transition: transform 0.5s var(--e-out), border-color 0.4s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(var(--a1-rgb), 0.4); }
.feature::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--a1), var(--a2)); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--e-out);
}
.feature:hover::after { transform: scaleX(1); }
.feature-viz { height: 175px; display: grid; place-items: center; margin-bottom: 22px; position: relative; }
.feature-title { font-weight: 700; font-size: 1.18rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-desc { color: var(--ink-3); font-size: 0.95rem; line-height: 1.55; }

/* --- Viz 1: 24/7 clock arc + live pulse --- */
.viz-247 { position: relative; }
.viz-247 .clock-arc { width: 150px; height: 150px; opacity: 0.85; }
.viz-247 .clock-ring { fill: none; stroke: rgba(var(--a1-rgb), 0.22); stroke-width: 1.5; stroke-dasharray: 2 6; }
.viz-247-center { position: absolute; inset: 0; display: grid; place-items: center; gap: 6px; }
.viz-247-center .live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--a2); padding: 3px 9px; border: 1px solid rgba(var(--a2-rgb), 0.4);
  border-radius: 999px; background: rgba(var(--a2-rgb), 0.08);
}
.viz-247-center .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--a2);
  box-shadow: 0 0 0 0 rgba(var(--a2-rgb), 0.6); animation: pulse-dot 1.8s ease-out infinite;
}
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(var(--a2-rgb), 0.6); } 70% { box-shadow: 0 0 0 8px rgba(var(--a2-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--a2-rgb), 0); } }
.big-247 {
  font-family: var(--f-mono); font-weight: 700; font-size: 2.2rem; line-height: 1;
  color: var(--ink-1); letter-spacing: -0.02em;
}

/* --- Viz 2: Source convergence --- */
.viz-unify svg { width: 100%; max-width: 320px; height: 140px; }
.viz-unify .src-nodes rect { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1; }
.viz-unify .src-nodes text { fill: var(--ink-2); font-family: var(--f-mono); font-size: 9px; font-weight: 700; text-anchor: middle; letter-spacing: 0.08em; }
.viz-unify .flow-lines path { stroke-dasharray: 4 4; animation: flow-dash 1.8s linear infinite; }
@keyframes flow-dash { to { stroke-dashoffset: -16; } }
.viz-unify .hub .cloud { fill: rgba(var(--a1-rgb), 0.08); stroke: rgba(var(--a1-rgb), 0.55); stroke-width: 1.5; }
.viz-unify .hub text { fill: var(--a1); font-family: var(--f-mono); font-size: 9px; font-weight: 800; text-anchor: middle; letter-spacing: 0.1em; }

/* --- Viz 3: Mini KPI tiles --- */
.viz-kpis { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 320px; }
.mini-kpi {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(var(--a1-rgb), 0.04);
}
.mini-kpi .mk-text { flex: 0 0 auto; min-width: 110px; }
.mini-kpi .mk-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; }
.mini-kpi .mk-label { color: var(--ink-3); }
.mini-kpi .mk-delta.up { color: var(--a2); }
.mini-kpi .mk-val { font-family: var(--f-mono); font-weight: 700; font-size: 1.18rem; color: var(--ink-1); margin-top: 4px; letter-spacing: -0.01em; }
.mini-kpi .spark { flex: 1 1 auto; height: 32px; color: var(--a1); }
.mini-kpi .spark polyline { stroke: currentColor; }

/* --- Viz 4: Speed comparison --- */
.viz-fast { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; }
.viz-fast .speed-side { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; min-width: 90px; }
.viz-fast .speed-side svg { width: 32px; height: 32px; stroke: currentColor; color: var(--ink-3); }
.viz-fast .speed-side.fast svg { color: var(--a2); filter: drop-shadow(0 0 6px rgba(var(--a2-rgb), 0.5)); }
.viz-fast .speed-num { font-family: var(--f-mono); font-weight: 700; font-size: 0.85rem; color: var(--ink-2); letter-spacing: 0.05em; }
.viz-fast .speed-side.fast .speed-num { color: var(--a2); }
.viz-fast .speed-sub { font-size: 0.7rem; color: var(--ink-3); }
.viz-fast .speed-arrow svg { width: 70px; height: 22px; stroke: var(--a1); opacity: 0.7; animation: arrow-shift 1.6s ease-in-out infinite; }
@keyframes arrow-shift { 0%, 100% { transform: translateX(0); opacity: 0.5; } 50% { transform: translateX(4px); opacity: 1; } }

/* Responsive */
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(64px, 9vw, 120px) 0; }
.cta-inner {
  position: relative; border-radius: 26px; padding: clamp(44px, 6vw, 76px); overflow: hidden;
  background: radial-gradient(110% 130% at 12% 0%, rgba(var(--a1-rgb), 0.18), var(--surface) 60%);
  border: 1px solid var(--line-strong); text-align: center;
}
.cta-inner .glow-orb { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.cta-inner h2 { max-width: 18ch; margin: 18px auto 18px; }
.cta-inner p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 34px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.ft { padding: 72px 0 36px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ft-brand .brand-name { font-size: 1.5rem; }
.ft-brand p { color: var(--ink-2); margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.ft h5 { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--a1); margin-bottom: 20px; }
.ft-links { display: flex; flex-direction: column; gap: 13px; }
.ft-links a { color: var(--ink-2); transition: color 0.25s; display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.ft-links a:hover { color: var(--a1); }
.ft-links svg { width: 16px; height: 16px; color: var(--ink-3); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); gap: 16px; flex-wrap: wrap; }

/* ---------- Section heading block ---------- */
.sec-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; }
.sec-head.center { align-items: center; text-align: center; }
.sec-head .lede { max-width: 56ch; }

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed; width: 460px; height: 460px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--a1-rgb), 0.10), transparent 65%);
  transform: translate(-50%, -50%); transition: opacity 0.4s; opacity: 0; mix-blend-mode: screen;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-dash { animation: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .demo-grid, .cert-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .nav, .lang-desktop { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}
