:root {
  --brand: #0b3a8c;
  --brand-2: #1b63f5;
  --brand-3: #4da3ff;
  --grad: linear-gradient(135deg, #0b2a5b 0%, #0b3a8c 55%, #1b63f5 100%);
  --text: #1f2530;
  --muted: #6b7484;
  --line: #e4e8f0;
  --bg: #f5f7fb;
  --card: #fff;
  --ok: #16a34a;
  --danger: #d33;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 58, 140, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
em { color: var(--danger); font-style: normal; }

/* ---------- header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--grad); color: #fff; font-size: 20px;
  display: grid; place-items: center; font-weight: 700;
}
.brand-text { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.brand-text small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: 2px; }
.header-nav { display: flex; gap: 22px; font-size: 14px; }
.header-nav a { color: var(--text); }
.header-nav a:hover { color: var(--brand-2); text-decoration: none; }
.header-nav a.current { color: var(--brand-2); font-weight: 600; position: relative; }
.header-nav a.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--brand-2); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { background: var(--grad); color: #fff; padding: 54px 0 60px; }
.hero-sub { opacity: .85; font-size: 13px; letter-spacing: 3px; margin-bottom: 10px; }
.hero h1 { font-size: 38px; letter-spacing: 2px; margin-bottom: 14px; }
.hero-desc { font-size: 16px; max-width: 640px; opacity: .95; }
.hero-desc strong { color: #ffd76a; }
.steps {
  margin-top: 30px; display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 14px 20px; width: fit-content;
  flex-wrap: wrap;
}
.step { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.step i {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; color: var(--brand); font-style: normal;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.step-line { width: 34px; height: 1px; background: rgba(255,255,255,.4); }

/* ---------- sections ---------- */
.services, .order { padding: 46px 0 10px; }
.section-title { font-size: 24px; color: var(--brand); margin-bottom: 4px; }
.section-title.left { margin-bottom: 18px; }
.section-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px;
}
.service-card {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 22px; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  position: relative;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card.selected { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(27,99,245,.14); }
.service-card.featured::after {
  content: "热门"; position: absolute; top: 14px; right: 0;
  background: linear-gradient(90deg,#ff8a3c,#ff5e3c); color: #fff;
  font-size: 11px; padding: 3px 10px 3px 14px; border-radius: 12px 0 0 12px;
}
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card-mark {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg,#0b3a8c,#1b63f5); color: #fff;
  font-size: 18px; display: grid; place-items: center; font-weight: 700;
}
.card-head h3 { font-size: 17px; }
.card-desc { color: var(--muted); font-size: 13px; min-height: 40px; margin-bottom: 10px; }
.card-points { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.card-points li {
  font-size: 12px; color: var(--brand);
  background: rgba(27,99,245,.08); border-radius: 20px; padding: 2px 10px;
}
.card-price { font-size: 13px; color: var(--muted); }
.card-price strong { font-size: 22px; color: var(--danger); font-weight: 800; margin-right: 2px; }
.card-radio {
  position: absolute; right: 16px; bottom: 16px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #c3cad6; display: grid; place-items: center;
}
.service-card.selected .card-radio { border-color: var(--brand-2); }
.service-card.selected .card-radio::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-2);
}

/* ---------- order form ---------- */
.order-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.order-form-box {
  background: var(--card); border-radius: var(--radius);
  padding: 26px; border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; }
.field span { font-size: 13px; color: var(--text); display: block; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 8px;
  padding: 11px 12px; font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--brand-2); }
.field.full { grid-column: 1 / -1; }
.field textarea { resize: vertical; }
.field .err { font-size: 12px; color: var(--danger); display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.btn-submit {
  margin-top: 22px; width: 100%; border: none; cursor: pointer;
  padding: 15px 20px; border-radius: 10px; font-size: 17px; font-weight: 700;
  color: #fff; letter-spacing: 2px;
  background: linear-gradient(90deg, #0b3a8c, #1b63f5);
  box-shadow: 0 8px 20px rgba(27,99,245,.28);
  transition: opacity .15s ease, transform .15s ease;
}
.btn-submit:hover { opacity: .92; transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-tip { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- summary ---------- */
.order-summary {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: sticky; top: 84px; box-shadow: var(--shadow);
}
.order-summary h3 { font-size: 16px; color: var(--brand); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.summary-list { display: grid; gap: 10px; font-size: 14px; margin-bottom: 14px; min-height: 80px; }
.summary-list .empty { color: var(--muted); font-size: 13px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; }
.summary-row dt { color: var(--muted); flex: none; }
.summary-row dd { text-align: right; }
.summary-price {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px dashed var(--line); padding-top: 12px;
}
.summary-price span { color: var(--muted); font-size: 13px; }
.summary-price strong { font-size: 24px; color: var(--danger); font-weight: 800; }
.summary-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 60px; background: #0b1626; color: #9fb0c8; font-size: 13px; text-align: center; padding: 26px 0; }
.site-footer a { color: #c8d6ea; }
.site-footer p + p { margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .header-nav { display: none; }
  .hero { padding: 38px 0 44px; }
  .hero h1 { font-size: 28px; }
  .order-wrap { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}
