/* smartchair.org homepage bottom — team letter + contact footer.
   Sober academic palette (navy + paper), matching portal-hero.css. Namespaced .scb-. */

.scb-team, .scb-foot {
  --scb-ink: #131722;
  --scb-soft: #4d5566;
  --scb-faint: #8a91a2;
  --scb-line: #e3e7ef;
  --scb-navy: #0f2d5a;
  --scb-blue: #2b59d1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  text-align: left;
}
.scb-team *, .scb-foot * { box-sizing: border-box; }

/* ---------- team letter ---------- */
.scb-team { padding: 88px 0; background: #f8f9fb; border-top: 1px solid var(--scb-line); }
.scb-team-grid { display: grid !important; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: start; }
.scb-team-grid::before, .scb-team-grid::after { display: none !important; }

.scb-team-side { position: sticky; top: 120px; }
.scb-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--scb-blue); }
.scb-team .scb-title { margin: 10px 0 0; padding: 0; font-family: inherit; font-size: 30px; line-height: 1.3; font-weight: 800; color: var(--scb-ink); text-transform: none; text-align: left; }

.scb-timeline { margin: 32px 0 0; padding: 0; list-style: none; position: relative; }
.scb-timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: #cfd5e1; }
.scb-timeline li { position: relative; padding: 0 0 22px 28px; }
.scb-timeline li:last-child { padding-bottom: 0; }
.scb-timeline li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2px solid var(--scb-navy);
}
.scb-timeline li:last-child::before { background: var(--scb-navy); }
.scb-timeline b { display: block; font-size: 14px; font-weight: 700; color: var(--scb-navy); font-variant-numeric: tabular-nums; }
.scb-timeline span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.6; color: var(--scb-soft); }

.scb-letter {
  position: relative; padding: 48px 52px 40px; background: #fff;
  border: 1px solid var(--scb-line); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(19, 23, 34, .04), 0 18px 48px rgba(15, 45, 90, .07);
}
.scb-quote { position: absolute; top: -17px; left: 44px; color: var(--scb-navy); background: #f8f9fb; padding: 0 10px; box-sizing: content-box; }
.scb-letter p { margin: 0 0 18px; font-size: 16px; line-height: 1.95; color: #2c3342; }
.scb-letter p:first-of-type { font-size: 18px; color: var(--scb-ink); font-weight: 500; }
.scb-sign { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--scb-line); }
.scb-sign img { flex: none; }
.scb-sign b { display: block; font-size: 15px; color: var(--scb-ink); }
.scb-sign span { display: block; font-size: 13px; color: var(--scb-soft); }
.scb-sign small { display: block; font-size: 12px; color: var(--scb-faint); }

/* ---------- footer ---------- */
.scb-foot { position: relative; background: var(--scb-navy); color: rgba(255, 255, 255, .72); padding: 0 0 28px; }
.scb-bar { display: flex; height: 4px; }
.scb-bar i { flex: 1; display: block; }
.scb-bar i:nth-child(1) { background: #ef3b36; } .scb-bar i:nth-child(2) { background: #ff9f1a; }
.scb-bar i:nth-child(3) { background: #10a5e8; } .scb-bar i:nth-child(4) { background: #2fbf4a; }

.scb-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 56px 0 48px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.scb-foot .scb-cta h3 { margin: 0; padding: 0; font-family: inherit; font-size: 26px; font-weight: 800; color: #fff; text-transform: none; line-height: 1.35; }
.scb-cta p { margin: 8px 0 0; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.scb-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scb-foot a.scb-btn {
  display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 99px;
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background .15s ease;
}
.scb-foot a.scb-btn:hover { transform: translateY(-1px); text-decoration: none; }
.scb-foot a.scb-btn-light { background: #fff; color: var(--scb-navy); }
.scb-foot a.scb-btn-light:hover { color: var(--scb-navy); background: #eef2fb; }
.scb-foot a.scb-btn-line { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.scb-foot a.scb-btn-line:hover { border-color: #fff; color: #fff; }

.scb-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 48px 0 40px; }
.scb-logo { display: flex; align-items: center; gap: 10px; }
.scb-logo img { border-radius: 6px; background: #fff; padding: 3px; }
.scb-logo span { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: .01em; }
.scb-brand p { margin: 14px 0 0; max-width: 300px; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .62); }
.scb-foot .scb-col h4 { margin: 0 0 14px; padding: 0; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.scb-foot .scb-col h4.scb-mt { margin-top: 24px; }
.scb-col ul { margin: 0; padding: 0; list-style: none; }
.scb-col li { margin: 0 0 10px; }
.scb-foot .scb-col a { font-size: 14px; color: rgba(255, 255, 255, .85); text-decoration: none; }
.scb-foot .scb-col a:hover { color: #fff; text-decoration: underline; }
.scb-langs { display: flex; gap: 6px; flex-wrap: wrap; }
.scb-langs li { margin: 0; }
.scb-foot .scb-langs a { display: inline-block; padding: 3px 10px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; }
.scb-foot .scb-langs a.on { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }
.scb-foot .scb-langs a:hover { text-decoration: none; border-color: #fff; }

.scb-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .scb-team { padding: 64px 0; }
  .scb-team-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .scb-team-side { position: static; }
  .scb-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scb-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .scb-team .scb-title { font-size: 24px; }
  .scb-letter { padding: 36px 20px 26px; border-radius: 14px; }
  .scb-quote { left: 20px; }
  .scb-letter p { font-size: 15px; line-height: 1.85; }
  .scb-letter p:first-of-type { font-size: 16px; }
  .scb-cta { padding: 40px 0 34px; }
  .scb-foot .scb-cta h3 { font-size: 21px; }
  .scb-cols { gap: 28px; padding: 36px 0 30px; }
}
