/* ================= 助残商城招商官网 · 公益风格样式 ================= */
:root {
  --orange: #f29100;
  --red: #e8542a;
  --blue: #2e7cc4;
  --green: #4caf5a;
  --ink: #333333;
  --ink-sub: #6b5a4c;
  --bg: #fff8f2;
  --bg-warm: #fff1e2;
  --white: #ffffff;
  --line: #ffe2c8;
  --shadow: 0 10px 30px rgba(232, 84, 42, 0.08);
  --shadow-hover: 0 16px 40px rgba(232, 84, 42, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --grad-main: linear-gradient(135deg, #f29100 0%, #e8542a 100%);
  --grad-soft: linear-gradient(135deg, #fff1e2 0%, #ffe6cf 100%);
  --container: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
ul { padding-left: 1.2em; margin: 0.6em 0; }
p { margin: 0 0 0.9em; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 0.6em; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--soft { background: var(--bg-warm); }
.section--white { background: var(--white); }
.section-title { text-align: center; margin-bottom: 10px; font-size: 32px; }
.section-sub { text-align: center; color: var(--ink-sub); margin-bottom: 40px; font-size: 16px; }
.section-title::after {
  content: "";
  display: block;
  width: 64px; height: 4px; margin: 14px auto 0;
  background: var(--grad-main); border-radius: 4px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 26px; border: none; border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer; transition: all .25s ease;
  font-family: inherit;
}
.btn--primary { background: var(--grad-main); color: #fff; box-shadow: 0 8px 20px rgba(242, 145, 0, .28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(242, 145, 0, .38); color: #fff; }
.btn--outline { background: #fff; color: var(--red); border: 2px solid var(--red); }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .18); color: #fff; border: 2px solid rgba(255, 255, 255, .75); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--bg-warm); color: var(--orange);
}
.badge--red { background: rgba(232, 84, 42, .12); color: var(--red); }
.badge--blue { background: rgba(46, 124, 196, .12); color: var(--blue); }
.badge--green { background: rgba(76, 175, 90, .14); color: #3d8b49; }

/* ---------------- 顶部 ---------------- */
.topbar {
  background: var(--bg-warm); color: var(--ink-sub); font-size: 13px; padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: var(--ink-sub); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.brand-text strong { display: block; font-size: 20px; color: var(--ink); letter-spacing: .5px; }
.brand-text span { display: block; font-size: 12px; color: var(--ink-sub); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 8px; color: var(--ink); font-size: 16px; font-weight: 500;
  transition: .2s; white-space: nowrap;
}
.nav a:hover { color: var(--red); background: var(--bg-warm); }
.nav a.is-active { color: var(--red); background: var(--bg-warm); font-weight: 700; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 40px; padding: 6px 18px; font-size: 15px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- 轮播 ---------------- */
.slider { position: relative; overflow: hidden; background: var(--grad-main); }
.slider-track { display: flex; transition: transform .6s ease; }
.slide { min-width: 100%; position: relative; }
.slide img { width: 100%; height: 520px; object-fit: cover; }
.slider-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0 0 56px; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .38), transparent);
}
.slider-caption .container { color: #fff; }
.slider-caption h2 { font-size: 40px; margin-bottom: 8px; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.slider-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider-dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .55); transition: .3s;
}
.slider-dots button.is-active { width: 26px; border-radius: 999px; background: #fff; }

/* ---------------- 卡片网格 ---------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
  border: 1px solid rgba(255, 226, 200, .8); transition: .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-sub); font-size: 15px; }
.card--center { text-align: center; }
.card--center img.icon { width: 72px; height: 72px; margin: 0 auto 14px; }
.card-index {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad-main); color: #fff;
  font-weight: 700; font-size: 18px; margin-bottom: 12px;
}

/* 矩阵三级 */
.matrix-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; }
.matrix-arrow { font-size: 28px; color: var(--orange); }

/* ---------------- 数据指标 ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item {
  background: var(--grad-soft); border-radius: var(--radius); padding: 26px 18px; text-align: center;
  border: 1px solid rgba(242, 145, 0, .18);
}
.stat-item strong {
  display: block; font-size: 40px; line-height: 1.2; color: var(--red);
  font-weight: 800; letter-spacing: 1px;
}
.stat-item span { font-size: 15px; color: var(--ink-sub); }
.stat-item em { display: block; font-style: normal; font-size: 13px; color: #a08b77; }

/* ---------------- 页面头部 ---------------- */
.page-head {
  background: var(--grad-soft); padding: 56px 0 48px; border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: 34px; margin-bottom: 8px; }
.page-head p { color: var(--ink-sub); margin: 0; }
.breadcrumb { font-size: 14px; color: var(--ink-sub); margin-bottom: 12px; }
.breadcrumb a { color: var(--ink-sub); }
.breadcrumb a:hover { color: var(--red); }

/* 富文本正文 */
.rich { font-size: 16px; color: #4a4a4a; }
.rich p { margin: 0 0 1em; }
.rich strong { color: var(--ink); }
.rich ul li { margin-bottom: .4em; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.step-card {
  background: #fff; border-radius: var(--radius); padding: 22px 18px; text-align: center;
  box-shadow: var(--shadow); border-top: 4px solid var(--orange); position: relative;
}
.step-card:nth-child(2) { border-top-color: var(--red); }
.step-card:nth-child(3) { border-top-color: var(--blue); }
.step-card:nth-child(4) { border-top-color: var(--green); }
.step-card:nth-child(5) { border-top-color: #f0b429; }
.step-card h3 { font-size: 17px; }
.step-card p { font-size: 14px; color: var(--ink-sub); margin: 0; }

/* 收益卡片 */
.income-card { display: flex; gap: 16px; align-items: flex-start; }
.income-card img { width: 56px; height: 56px; border-radius: 14px; }
.example-list { display: grid; gap: 18px; }
.example-item {
  background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow);
  border-left: 5px solid var(--orange);
}
.example-item h3 { margin: 0 0 4px; font-size: 18px; }
.example-item .amount { color: var(--red); font-weight: 700; font-size: 17px; }
.example-item p { margin: 8px 0 0; color: var(--ink-sub); font-size: 15px; }

/* 常见问题 */
.faq-item { background: #fff; border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, .04); }
.faq-q { padding: 16px 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-q::after { content: "+"; color: var(--orange); font-size: 22px; font-weight: 700; }
.faq-item.is-open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 20px 16px; color: var(--ink-sub); font-size: 15px; }
.faq-item.is-open .faq-a { display: block; }

/* ---------------- 新闻 ---------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; border: 1px solid rgba(255, 226, 200, .8); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-card img { width: 100%; height: 190px; object-fit: cover; background: var(--bg-warm); }
.news-body { padding: 20px; }
.news-body h3 { font-size: 18px; margin: 8px 0 10px; }
.news-body p { color: var(--ink-sub); font-size: 14px; margin: 0 0 12px; }
.news-meta { display: flex; justify-content: space-between; font-size: 13px; color: #a08b77; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pager button {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 15px; color: var(--ink);
}
.pager button.is-active { background: var(--grad-main); color: #fff; border-color: transparent; }
.pager button:disabled { opacity: .5; cursor: not-allowed; }

.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-bar button {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  cursor: pointer; font-size: 15px; color: var(--ink);
}
.filter-bar button.is-active { background: var(--grad-main); color: #fff; border-color: transparent; }

/* 新闻详情 */
.article { max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.article-header h1 { font-size: 30px; }
.article-meta { color: #a08b77; font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.article-cover { width: 100%; border-radius: var(--radius-sm); margin-bottom: 24px; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-size: 15px; flex-wrap: wrap; }

/* ---------------- 预约表单 ---------------- */
.form-wrap { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  min-height: 46px; transition: .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 145, 0, .14);
}
.field-hint { font-size: 13px; color: #a08b77; }
.field-error { font-size: 13px; color: var(--red); min-height: 18px; }
.captcha-row { display: flex; gap: 12px; align-items: stretch; }
.captcha-img { height: 46px; width: 120px; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid var(--line); background: #fff; }
.form-tip { background: var(--bg-warm); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 14px; color: var(--ink-sub); }
.form-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 8px; }

/* 联系信息 */
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-card .icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-main);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 700;
}
.contact-card h3 { margin: 0 0 4px; font-size: 17px; }
.contact-card p { margin: 0; color: var(--ink-sub); font-size: 15px; }
.qr-box { text-align: center; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.qr-box img { width: 140px; height: 140px; margin: 0 auto 10px; }

/* CTA 区 */
.cta-band {
  background: var(--grad-main); color: #fff; border-radius: 24px; padding: 48px 40px; text-align: center;
  box-shadow: 0 18px 40px rgba(232, 84, 42, .22);
}
.cta-band h2 { font-size: 30px; margin-bottom: 10px; }
.cta-band p { margin-bottom: 22px; opacity: .95; }
.cta-band .btn { background: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--bg-warm); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #2b2118; color: #e7dcd2; padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.site-footer p, .site-footer li { font-size: 14px; color: #cfc3b8; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfc3b8; }
.site-footer a:hover { color: var(--orange); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { width: 44px; height: 44px; border-radius: 10px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-mini { display: flex; gap: 14px; margin-top: 14px; }
.qr-mini img { width: 84px; height: 84px; border-radius: 8px; background: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #a99a8c;
}

/* 提示与状态 */
.toast-wrap { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 12px 22px; border-radius: 999px; background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .14);
  font-size: 15px; display: flex; align-items: center; gap: 8px; animation: toastIn .3s ease;
}
.toast--success { border-left: 5px solid var(--green); }
.toast--error { border-left: 5px solid var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

.empty { text-align: center; padding: 48px 20px; color: var(--ink-sub); }
.skeleton { background: linear-gradient(90deg, #f6efe8 25%, #fff8f2 37%, #f6efe8 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 8px; min-height: 18px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* 回到顶部 */
.to-top {
  position: fixed; right: 20px; bottom: 28px; width: 48px; height: 48px; border-radius: 50%;
  border: none; background: var(--grad-main); color: #fff; font-size: 20px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(242, 145, 0, .35); display: none; z-index: 80;
}
.to-top.is-show { display: block; }

.mobile-only-apply { display: none !important; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1199px) {
  .nav { gap: 0; }
  .nav a { padding: 10px; font-size: 15px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .slide img { height: 440px; }
  .slider-caption h2 { font-size: 32px; }
}

@media (max-width: 900px) {
  .matrix-flow { grid-template-columns: 1fr; }
  .matrix-arrow { transform: rotate(90deg); text-align: center; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .site-header .container { min-height: 60px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 10px 16px 18px; box-shadow: 0 14px 28px rgba(0, 0, 0, .1);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s ease;
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .mobile-only-apply { display: inline-flex !important; border-bottom: none; background: var(--grad-main); color: #fff; justify-content: center; }
  .section { padding: 40px 0; }
  .section-title { font-size: 25px; }
  .grid--2, .grid--3, .grid--4, .news-grid, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item strong { font-size: 30px; }
  .slide img { height: 300px; }
  .slider-caption { padding-bottom: 40px; }
  .slider-caption h2 { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 22px 18px; }
  .article { padding: 22px 18px; }
  .article-header h1 { font-size: 23px; }
  .income-card img { width: 48px; height: 48px; }
  .cta-band { padding: 32px 20px; border-radius: 18px; }
  .cta-band h2 { font-size: 23px; }
  .cta-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 36px 0 20px; }
  .footer-bottom { flex-direction: column; }
  .btn { width: auto; }
  .filter-bar button { padding: 8px 14px; font-size: 14px; }
}

@media print {
  .site-header, .site-footer, .to-top, .toast-wrap { display: none !important; }
}
