/* ===== Josh SCM — brand styles ===== */
:root {
  --blue: #1657A8;
  --blue-dark: #0F3F7D;
  --gold: #F2A900;
  --ink: #1B2430;
  --gray: #5B6573;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --line: #E3E9F1;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(22, 87, 168, 0.08);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); }
.brand__accent { color: var(--blue); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-size: 15px; color: var(--gray); font-weight: 500; }
.nav__links a:hover { color: var(--blue); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, #EAF1FB 0%, #FFFFFF 100%); padding: 84px 0 64px; }
.hero__inner { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.hero__title { font-size: clamp(32px, 5vw, 52px); line-height: 1.12; font-weight: 800; letter-spacing: -1px; }
.hero__sub { max-width: 680px; margin: 22px auto 0; font-size: 18px; color: var(--gray); }
.hero__sub strong { color: var(--ink); }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero__stats { display: flex; gap: 48px; justify-content: center; list-style: none; margin-top: 56px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.stat__num { font-size: 38px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat__label { font-size: 14px; color: var(--gray); margin-top: 8px; }
.hero__note { font-size: 12px; color: #9AA4B2; margin-top: 18px; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section--cta { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.5px; }
.section__lead { color: var(--gray); font-size: 17px; margin-top: 14px; }
.section--cta .section__head h2, .section--cta .eyebrow { color: #fff; }
.section--cta .eyebrow { color: var(--gold); }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--blue); }
.card__icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 15px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; position: relative; }
.step__no { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 14px; }

/* ===== Why ===== */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.why__item { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 24px; }
.why__item h3 { font-size: 19px; margin-bottom: 8px; }
.why__item p { color: var(--gray); font-size: 15px; }
.trustbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; justify-content: center; }
.trustbar__label { color: var(--gray); font-size: 14px; }
.trustbar__badge { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: var(--blue); background: #fff; }

/* ===== Resources ===== */
.resources { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.resources__copy h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.resources__copy p { color: var(--gray); margin-top: 14px; font-size: 16px; }
.resources__list { list-style: none; margin-top: 18px; }
.resources__list li { padding-left: 26px; position: relative; margin-bottom: 10px; color: var(--ink); font-size: 15px; }
.resources__list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.resources__form, .contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.resources__form h3 { font-size: 20px; margin-bottom: 18px; }
.resources__form label, .contact__form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.resources__form input, .contact__form input, .contact__form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #FBFCFE;
}
.resources__form input:focus, .contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--blue); }
.form__msg { font-size: 14px; margin-top: 12px; min-height: 18px; }
.form__msg.ok { color: #1B8A4B; }
.form__msg.err { color: #C0392B; }
.form__fine { font-size: 12px; color: #9AA4B2; margin-top: 10px; }

/* ===== About ===== */
.about { max-width: 760px; }
.about__copy h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.about__copy p { color: var(--gray); margin-top: 16px; font-size: 17px; }
.about__zh { color: var(--blue) !important; font-weight: 600; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact__copy h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.contact__copy p { margin-top: 14px; font-size: 17px; color: rgba(255,255,255,0.92); }
.contact__mail { margin-top: 22px !important; }
.contact__mail a { color: var(--gold); font-weight: 600; }
.contact__form { background: #fff; color: var(--ink); }
.section--cta .contact__form label { color: var(--ink); }

/* ===== Footer ===== */
.footer { background: #0F1B2D; color: #C7D0DC; padding: 48px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__brand .brand__word { color: #fff; }
.footer__brand p { font-size: 14px; margin-top: 12px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer__links a { font-size: 15px; color: #C7D0DC; }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 32px; padding-top: 20px; font-size: 13px; color: #8A95A5; }
.footer__disclaimer { color: #6E7A8C; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .resources, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 24px 20px; display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 10px 0; width: 100%; }
  .nav__toggle { display: flex; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .section { padding: 60px 0; }
}
