/* smartchair.org homepage hero — replaces the grey 01.jpg background.
   Palette follows the portal's four-colour brand bar (red / orange / sky blue / green)
   plus the deep blue of the release card. Namespaced under .sch-. */

.sch-hero {
  --sch-ink: #131722;
  --sch-soft: #4d5566;
  --sch-faint: #8a91a2;
  --sch-line: #e3e7ef;
  --sch-blue: #2b59d1;
  --sch-navy: #0f2d5a;
  --sch-r: #ef3b36;
  --sch-o: #ff9f1a;
  --sch-b: #10a5e8;
  --sch-g: #2fbf4a;

  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background: #f8f9fb;
  border-bottom: 1px solid var(--sch-line);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--sch-ink);
  text-align: left;
}
.sch-hero *, .sch-hero *::before, .sch-hero *::after { box-sizing: border-box; }

/* soft brand-colour glows + dotted grid */
.sch-bg { position: absolute; inset: 0; pointer-events: none; }
.sch-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(19, 23, 34, .08) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}
.sch-bg i { display: none; }

.sch-grid {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.sch-grid::before, .sch-grid::after { display: none !important; } /* neutralise Bootstrap clearfix */

/* ---------- copy ---------- */
.sch-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 99px;
  background: #fff; border: 1px solid var(--sch-line);
  box-shadow: 0 2px 8px rgba(19, 23, 34, .05);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--sch-soft);
}
.sch-dots { display: inline-flex; gap: 3px; }
.sch-dots i { width: 8px; height: 8px; border-radius: 2px; display: block; }
.sch-hero i.r { background: var(--sch-r); } .sch-hero i.o { background: var(--sch-o); }
.sch-hero i.b { background: var(--sch-b); } .sch-hero i.g { background: var(--sch-g); }

.sch-hero .sch-title {
  margin: 22px 0 0; padding: 0;
  font-family: inherit; font-weight: 800; color: var(--sch-ink);
  font-size: clamp(28px, 3.3vw, 44px); line-height: 1.22; letter-spacing: .01em;
  text-transform: none; text-align: left;
}
.sch-title-hl { color: var(--sch-navy); }
.sch-hero .sch-lede {
  margin: 20px 0 0; max-width: 560px;
  font-size: 17px; line-height: 1.8; color: var(--sch-soft);
}

.sch-modules { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; max-width: 580px; }
.sch-modules li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 8px;
  background: #fff; border: 1px solid var(--sch-line);
  font-size: 13px; font-weight: 500; color: var(--sch-ink); line-height: 1.5;
}
.sch-modules li i { width: 6px; height: 6px; border-radius: 50%; display: block; background: var(--sch-navy) !important; opacity: .55; }

.sch-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sch-hero a.sch-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 46px; padding: 0 22px; border-radius: 99px;
  font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.sch-hero a.sch-btn:hover { transform: translateY(-1px); text-decoration: none; }
.sch-hero a.sch-btn-primary { background: var(--sch-blue); color: #fff; box-shadow: 0 8px 20px rgba(43, 89, 209, .28); }
.sch-hero a.sch-btn-primary:hover { color: #fff; box-shadow: 0 12px 26px rgba(43, 89, 209, .34); }
.sch-hero a.sch-btn-ghost { background: #fff; color: var(--sch-ink); border: 1px solid var(--sch-line); }
.sch-hero a.sch-btn-ghost:hover { color: var(--sch-blue); border-color: var(--sch-blue); }
.sch-hero a.sch-btn-text { padding: 0 6px; color: var(--sch-blue); }
.sch-hero a.sch-btn-text:hover { color: var(--sch-navy); }

.sch-stats { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 36px; padding-top: 22px; border-top: 1px solid var(--sch-line); max-width: 560px; }
.sch-stats b { display: block; font-size: 26px; font-weight: 800; color: var(--sch-ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.sch-stats span { font-size: 13px; color: var(--sch-faint); }

/* ---------- visual ---------- */
.sch-visual { position: relative; margin: 0; }
.sch-win {
  position: relative; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--sch-line);
  box-shadow: 0 2px 4px rgba(19, 23, 34, .04), 0 24px 60px rgba(15, 45, 90, .16);
  font-size: 12px; line-height: 1.45;
}
.sch-win-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f5f7fb; border-bottom: 1px solid var(--sch-line); color: var(--sch-faint); }
.sch-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dfe3eb; display: block; }
/* window dots stay neutral */
.sch-win-bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sch-win-body { display: grid; grid-template-columns: 116px minmax(0, 1fr); min-height: 300px; }

.sch-side { padding: 14px 10px; border-right: 1px solid var(--sch-line); background: #fbfcfe; }
.sch-side span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--sch-soft); white-space: nowrap; overflow: hidden; }
.sch-side span i { width: 7px; height: 7px; border-radius: 2px; flex: none; display: block; background: #c5cbd8 !important; }
.sch-side span.on i { background: var(--sch-blue) !important; }
.sch-side span.on { background: #eaf0fd; color: var(--sch-blue); font-weight: 600; }

.sch-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sch-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sch-kpi { position: relative; padding: 11px 12px 10px; border-radius: 12px; background: #f7f9fc; border: 1px solid #eef1f6; min-height: 104px; }
.sch-kpi span { display: block; color: var(--sch-faint); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sch-kpi b { display: block; margin-top: 2px; font-size: 22px; font-weight: 800; color: var(--sch-ink); font-variant-numeric: tabular-nums; }
.sch-kpi.r, .sch-kpi.b, .sch-kpi.g { color: var(--sch-blue); }
.sch-kpi svg { display: block; width: 100%; height: 28px; margin-top: 6px; }
.sch-kpi .sch-ring { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; margin: 0; }
.sch-bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; margin-top: 6px; }
.sch-bars i { flex: 1; display: block; border-radius: 3px 3px 0 0; background: currentColor; opacity: .85; }

.sch-sched { border: 1px solid #eef1f6; border-radius: 12px; padding: 10px 12px; }
.sch-sched-h { font-weight: 700; color: var(--sch-ink); margin-bottom: 4px; }
.sch-sched-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--sch-line); color: var(--sch-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sch-sched-row:first-of-type { border-top: 0; }
.sch-sched-row em { font-style: normal; color: var(--sch-faint); font-variant-numeric: tabular-nums; width: 36px; flex: none; }
.sch-sched-row span { width: 4px; height: 18px; border-radius: 2px; flex: none; }
.sch-sched-row span.o, .sch-sched-row span.b, .sch-sched-row span.g { background: var(--sch-navy); opacity: .35; }


/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .sch-grid { gap: 36px; }
  .sch-hero a.sch-btn { padding: 0 18px; }
}
@media (max-width: 991px) {
  .sch-hero { padding: 44px 0 56px; }
  .sch-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sch-visual { max-width: 620px; }
}
@media (max-width: 600px) {
  .sch-hero { padding: 32px 0 44px; }
  .sch-hero .sch-lede { font-size: 15px; }
  .sch-actions { gap: 10px; }
  .sch-hero a.sch-btn { height: 42px; padding: 0 18px; font-size: 14px; }
  .sch-win-body { grid-template-columns: minmax(0, 1fr); }
  .sch-side { display: none; }
  .sch-kpi { min-height: 92px; padding: 9px; }
  .sch-kpi b { font-size: 18px; }
  .sch-kpi .sch-ring { width: 30px; height: 30px; }
}
