/* ============================================================
   Skeleton C — Dark Tech / Card Grid
   Mono first, grid bg hero, dashboard cards, sharp corners
   ============================================================ */

:root {
  --bg: #0a0f0d;
  --bg-1: #0d1512;
  --bg-2: #111a17;
  --bg-3: #0f1815;
  --line: #1f2a26;
  --line-2: #283832;
  --primary: #0e3a2e;
  --primary-2: #064e3b;
  --accent: #4ade80;
  --accent-2: #34d399;
  --accent-3: #22d3ee;
  --text: #e6f1ec;
  --text-2: #a8b5af;
  --text-3: #6b7a73;
  --warn: #fbbf24;
  --danger: #f87171;
  --radius: 4px;
  --radius-l: 6px;
  --mono: 'JetBrains Mono', 'Cascadia Code', 'Consolas', 'SFMono-Regular', 'Menlo', monospace;
  --sans: 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-2); }

::selection { background: var(--accent); color: #062019; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-w { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,13,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .prompt { color: var(--accent); }
.brand .cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  margin-left: 2px;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.nav-menu { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav-menu a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all .15s;
}
.nav-menu a:hover { color: var(--accent); border-color: var(--line-2); background: var(--bg-2); }
.nav-menu a.active { color: var(--accent); border-color: var(--accent); }

.nav-cta {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 8px 14px;
  background: var(--accent);
  color: #062019 !important;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid var(--accent);
}
.nav-cta:hover { background: var(--accent-2); color: #062019 !important; }

.mob-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); padding: 6px 10px; border-radius: var(--radius); font-family: var(--mono); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 80px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74,222,128,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid var(--accent);
  background: rgba(74,222,128,0.06);
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-family: var(--mono);
  font-size: 44px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--accent); }
.hero h1 .br { display: block; }
.hero-lead {
  font-size: 15.5px;
  color: var(--text-2);
  margin-bottom: 30px;
  max-width: 540px;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s;
}
.btn-primary {
  background: var(--accent);
  color: #062019;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-2); color: #062019; box-shadow: 0 0 0 3px rgba(74,222,128,0.18); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
}

/* ---------- Hero Mockup ---------- */
.mockup {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(74,222,128,0.08);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.mockup-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-bar .dot.r { background: #ef4444; }
.mockup-bar .dot.y { background: #fbbf24; }
.mockup-bar .dot.g { background: #4ade80; }
.mockup-bar .title { margin-left: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }

.mockup-body { padding: 18px; font-family: var(--mono); font-size: 12.5px; }
.mockup-line { color: var(--text-2); padding: 2px 0; }
.mockup-line .pr { color: var(--accent); }
.mockup-line .kw { color: var(--accent-3); }
.mockup-line .str { color: var(--warn); }
.mockup-line .cm { color: var(--text-3); }
.mockup-line .ok { color: var(--accent); }

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
}
.mock-cell {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.mock-cell .k { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); letter-spacing: 0.5px; text-transform: uppercase; }
.mock-cell .v { font-family: var(--mono); font-size: 22px; color: var(--accent); margin-top: 4px; font-weight: 700; }
.mock-cell .d { font-size: 11px; color: var(--text-2); margin-top: 4px; }
.mock-cell.warn .v { color: var(--warn); }
.mock-cell.cyan .v { color: var(--accent-3); }

.bar-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.bar-row .lbl { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); width: 64px; }
.bar { flex: 1; height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.bar-row .pct { font-family: var(--mono); font-size: 10.5px; color: var(--text); width: 36px; text-align: right; }

/* ---------- Section ---------- */
section.block { padding: 80px 0; position: relative; }
section.block.alt { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow::before { content: '// '; opacity: 0.7; }
.section-title {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-2);
  font-size: 14.5px;
}

/* ---------- Card Grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px 24px;
  position: relative;
  transition: all .2s;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.85;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.card-ic {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: var(--radius);
  margin-bottom: 18px;
  color: var(--accent);
}
.card-title {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.card-desc {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  border-radius: var(--radius);
}
.chip.accent { color: var(--accent); border-color: rgba(74,222,128,0.4); }
.chip.cyan { color: var(--accent-3); border-color: rgba(34,211,238,0.4); }

/* ---------- Dashboard / KPI ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.kpi-ring { flex-shrink: 0; }
.kpi-data .v {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.kpi-data .l {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
  font-family: var(--mono);
}

/* ---------- Feature / Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-right: none;
  padding: 26px 22px;
  position: relative;
}
.step:last-child { border-right: 1px solid var(--line); border-top-right-radius: var(--radius-l); border-bottom-right-radius: var(--radius-l); }
.step:first-child { border-top-left-radius: var(--radius-l); border-bottom-left-radius: var(--radius-l); }
.step .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}
.step .t {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.step .d { font-size: 13px; color: var(--text-2); }
.step::after {
  content: '>';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  color: var(--accent);
  font-size: 18px;
  background: var(--bg);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.step:last-child::after { display: none; }

/* ---------- Code / Terminal Block ---------- */
.code-block {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-l);
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
  overflow-x: auto;
}
.code-block .pr { color: var(--accent); }
.code-block .kw { color: var(--accent-3); }
.code-block .str { color: var(--warn); }
.code-block .cm { color: var(--text-3); }
.code-block .ok { color: var(--accent); }

/* ---------- Two col list ---------- */
.tc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.feature-list { list-style: none; }
.feature-list li {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-2);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .ic {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.feature-list .t { font-weight: 600; color: var(--text); font-size: 14.5px; margin-bottom: 3px; }
.feature-list .d { color: var(--text-2); font-size: 13px; }

/* ---------- Case ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px;
  position: relative;
}
.case-card::before {
  content: '';
  position: absolute;
  left: 0; top: 28px;
  width: 3px;
  height: 28px;
  background: var(--accent);
}
.case-card .industry {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.case-card h3 {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--text);
  margin-bottom: 12px;
}
.case-card .summary { color: var(--text-2); font-size: 13.5px; margin-bottom: 18px; }
.case-card .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-card .metrics .v { font-family: var(--mono); font-size: 22px; color: var(--accent); font-weight: 700; }
.case-card .metrics .l { font-size: 11px; color: var(--text-3); margin-top: 3px; }

/* ---------- CTA Strip ---------- */
.cta-strip {
  background:
    linear-gradient(135deg, var(--primary-2) 0%, var(--primary) 100%);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: var(--radius-l);
  padding: 44px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 2; }
.cta-strip h3 { font-family: var(--mono); font-size: 24px; color: #fff; margin-bottom: 8px; }
.cta-strip p { color: rgba(230,241,236,0.85); font-size: 14px; }
.cta-strip .actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------- Footer ---------- */
footer {
  background: #06090a;
  border-top: 1px solid var(--line);
  padding: 60px 0 24px;
  color: var(--text-2);
  font-size: 13px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--text-3); font-size: 13px; max-width: 320px; }
.foot-col h4 { font-family: var(--mono); font-size: 13px; color: var(--text); margin-bottom: 16px; letter-spacing: 0.5px; }
.foot-col h4::before { content: '# '; color: var(--accent); }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { color: var(--text-2); }
.foot-col a:hover { color: var(--accent); }
.foot-col .ic { color: var(--text-3); margin-right: 6px; font-family: var(--mono); }

.foot-bot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--text-3);
  font-family: var(--mono);
}
.foot-bot a { color: var(--text-3); }
.foot-bot a:hover { color: var(--accent); }

/* ---------- Sub-page hero ---------- */
.subhero {
  padding: 70px 0 50px;
  background:
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  pointer-events: none;
}
.subhero .container { position: relative; z-index: 2; }
.crumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 16px;
}
.crumb a { color: var(--text-2); }
.crumb .sep { color: var(--accent); margin: 0 6px; }

.subhero h1 {
  font-family: var(--mono);
  font-size: 36px;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 700;
}
.subhero p { color: var(--text-2); font-size: 15px; max-width: 660px; }

/* ---------- About content ---------- */
.prose { color: var(--text-2); font-size: 14.5px; line-height: 1.85; }
.prose h2 {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--text);
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.prose h3 {
  font-family: var(--mono);
  font-size: 17px;
  color: var(--text);
  margin: 26px 0 10px;
}
.prose p { margin-bottom: 14px; }
.prose ul { margin: 12px 0 18px 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--accent); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-2);
}
.tl-item { position: relative; padding: 10px 0 22px; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 16px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  background: var(--bg);
  border-radius: 50%;
}
.tl-item .y { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.tl-item .t { font-weight: 600; color: var(--text); font-size: 14.5px; margin-bottom: 4px; }
.tl-item .d { color: var(--text-2); font-size: 13px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px;
}
.contact-card .lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.contact-card .v { font-family: var(--mono); font-size: 20px; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.contact-card .d { color: var(--text-2); font-size: 13.5px; }
.contact-card .ic { color: var(--accent); margin-right: 8px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.info-block {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 24px;
}
.info-block h3 {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 14px;
}
.info-block dl { display: grid; grid-template-columns: 90px 1fr; row-gap: 10px; column-gap: 12px; font-size: 13.5px; }
.info-block dt { color: var(--text-3); font-family: var(--mono); font-size: 12.5px; }
.info-block dd { color: var(--text); }

/* ---------- Service detail ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.svc-row:last-child { border-bottom: none; }
.svc-row .side { font-family: var(--mono); }
.svc-row .side .n { font-size: 12px; color: var(--text-3); letter-spacing: 1px; }
.svc-row .side .t { font-size: 22px; color: var(--accent); margin-top: 6px; }
.svc-row .body p { color: var(--text-2); margin-bottom: 14px; font-size: 14px; }
.svc-row .body .pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 34px; }
  .tc-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid, .card-grid.two, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: 1px solid var(--line); }
  .step::after { display: none; }
  .case-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-strip { flex-direction: column; align-items: flex-start; padding: 32px; }
  .contact-grid, .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .container-w { padding: 0 18px; }
  .nav-menu { display: none; }
  .mob-toggle { display: inline-flex; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--bg-1);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav-menu.open li { width: 100%; }
  .nav-menu.open a { width: 100%; border-radius: 0; padding: 12px 22px; }
  .hero { padding: 50px 0 60px; }
  .hero h1 { font-size: 28px; }
  section.block { padding: 60px 0; }
  .section-title { font-size: 24px; }
  .card-grid, .card-grid.two, .card-grid.four, .kpi-grid, .process { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .subhero h1 { font-size: 26px; }
  .cta-strip { padding: 26px; }
  .cta-strip h3 { font-size: 20px; }
}
