/* 小红护工官网 · 共享样式 */
:root {
  --brand: #e85d04;
  --brand-deep: #bc4a02;
  --brand-soft: #fff1e6;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --paper: #fafaf9;
  --white: #ffffff;
  --ok: #15803d;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
  --max: 1080px;
  --font: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "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(--paper);
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

/* 顶栏 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 800; font-size: 18px;
  text-decoration: none;
}
.brand img {
  width: 40px; height: 40px; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.25);
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.nav a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  text-decoration: none; padding: 6px 2px;
}
.nav a:hover, .nav a.active { color: var(--brand); }
.nav .cta {
  margin-left: 6px;
  background: var(--brand); color: #fff !important;
  padding: 8px 14px; border-radius: 999px; text-decoration: none !important;
}
.nav .cta:hover { background: var(--brand-deep); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(232, 93, 4, 0.18), transparent 60%),
    linear-gradient(180deg, #fff7f0 0%, var(--paper) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--brand-deep); background: var(--brand-soft);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 14px;
}
.hero .lead { color: var(--muted); font-size: 16px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.hero-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; box-shadow: var(--shadow);
}
.hero-panel h3 { font-size: 16px; margin-bottom: 12px; }
.hero-panel ul { list-style: none; }
.hero-panel li {
  display: flex; gap: 10px; padding: 10px 0;
  border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--muted);
}
.hero-panel li:last-child { border-bottom: 0; }
.dot {
  width: 8px; height: 8px; margin-top: 7px; border-radius: 50%;
  background: var(--brand); flex: 0 0 auto;
}

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { margin-bottom: 28px; max-width: 720px; }
.section-head h2 { font-size: 26px; margin-bottom: 8px; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); }

.grid-3, .grid-4, .grid-2 {
  display: grid; gap: 16px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; height: 100%;
}
.card .icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: var(--brand-soft); color: var(--brand-deep); font-weight: 800;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }

.case-card {
  display: block; color: inherit; text-decoration: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.case-card:hover {
  border-color: rgba(232, 93, 4, 0.35);
  box-shadow: var(--shadow);
}
.case-card .case-link {
  margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--brand);
}

.steps { counter-reset: step; }
.step {
  position: relative; padding: 20px 20px 20px 64px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 20px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.shot {
  min-height: 180px; border-radius: 18px; padding: 22px;
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow);
}
.shot.a {
  background:
    linear-gradient(135deg, rgba(232,93,4,.12), transparent),
    #fff;
}
.shot.b {
  background:
    linear-gradient(160deg, rgba(21,128,61,.08), transparent),
    #fff;
}
.shot .tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--brand-deep); background: var(--brand-soft);
  padding: 3px 8px; border-radius: 999px; margin-bottom: 10px;
}
.shot h3 { font-size: 18px; margin-bottom: 8px; }
.shot p { font-size: 14px; color: var(--muted); }

.table-like {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.table-like th, .table-like td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-size: 14px; vertical-align: top;
}
.table-like th { background: var(--brand-soft); color: var(--brand-deep); width: 28%; }
.table-like tr:last-child td, .table-like tr:last-child th { border-bottom: 0; }

.legal-body {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
}
.legal-body h1 { font-size: 28px; margin-bottom: 8px; }
.legal-body .meta { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.legal-body h2 { font-size: 18px; margin: 22px 0 10px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.legal-body ul { padding-left: 1.2em; margin-bottom: 10px; }
.page-hero {
  padding: 36px 0 8px;
  background: linear-gradient(180deg, #fff7f0, var(--paper));
}
.page-hero h1 { font-size: 30px; margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 640px; }

/* Footer */
.site-footer {
  margin-top: 24px; background: #1c1917; color: #d6d3d1; padding: 40px 0 24px;
}
.site-footer a { color: #fdba74; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px;
  margin-bottom: 28px;
}
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.site-footer p, .site-footer li { font-size: 13px; line-height: 1.8; }
.site-footer ul { list-style: none; }
.footer-bottom {
  border-top: 1px solid #44403c; padding-top: 16px;
  font-size: 12px; color: #a8a29e; text-align: center;
}
.footer-bottom .row { margin: 4px 0; }

.notice {
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
  border-radius: 12px; padding: 12px 14px; font-size: 13px; margin-top: 16px;
}

@media (max-width: 860px) {
  .hero-grid, .showcase, .footer-grid, .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .nav .hide-sm { display: none; }
}
