/* 业昇托管中心 · 全站样式（移动端优先，无外部依赖） */
:root {
  --orange: #FF7A45;
  --orange2: #FFA940;
  --green: #0E8A6D;
  --green-light: #E7F6F1;
  --bg: #FFF8F0;
  --text: #2B2B2B;
  --muted: #7A7268;
  --card: #FFFFFF;
  --radius: 18px;
  --shadow: 0 6px 20px rgba(180, 110, 40, 0.10);
  --maxw: 480px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #F0E7DB;
  background-image: radial-gradient(rgba(255, 169, 64, 0.10) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  line-height: 1.7;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 手机感居中容器 */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 40px rgba(90, 60, 20, 0.12);
  min-height: 100vh;
}
.container { padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 122, 69, 0.14);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  font-size: 19px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 1px;
}
.brand:hover { text-decoration: none; }
.site-nav { display: flex; gap: 14px; font-size: 14px; }
.site-nav a { color: var(--text); }
.site-nav a:hover { color: var(--orange); }

/* ---------- 首屏 Hero ---------- */
.hero {
  background: linear-gradient(150deg, var(--orange) 0%, var(--orange2) 100%);
  color: #fff;
  padding: 52px 20px 44px;
  text-align: center;
  border-radius: 0 0 28px 28px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -90px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(14, 138, 109, 0.16);
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 13px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 14px;
}
.hero h1 span { display: block; }
.hero-sub {
  font-size: 15px;
  opacity: 0.94;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 17px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.btn:active { transform: scale(0.97); }
.btn svg { flex: none; }
.btn-call {
  background: #E8541A;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 22px rgba(232, 84, 26, 0.45);
}
.btn-call:hover { text-decoration: none; box-shadow: 0 10px 26px rgba(232, 84, 26, 0.55); }
.btn-wechat {
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-wechat:hover { text-decoration: none; background: #fff; }
.btn-outline-green {
  background: var(--green-light);
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline-green:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 122, 69, 0.35);
}
.btn-primary:hover { text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.hero-note { font-size: 13px; opacity: 0.9; margin-top: 14px; }

/* ---------- 通用区块 ---------- */
.section { padding: 40px 0 8px; }
.section-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}
.section-sub .hl { color: var(--green); font-weight: 600; }

/* ---------- 服务流程时间线 ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.timeline li {
  position: relative;
  padding: 0 0 26px 52px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: -2px;
  width: 2px;
  background: linear-gradient(var(--orange2), rgba(255, 169, 64, 0.15));
}
.timeline li:last-child::before { display: none; }
.tl-num {
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 122, 69, 0.35);
}
.tl-body {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.tl-body h3 { margin: 0 0 4px; font-size: 17px; }
.tl-body p { margin: 0; font-size: 14px; color: var(--muted); }
.tl-record {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--green);
  background: var(--green-light);
  border-radius: 999px;
  padding: 2px 10px;
}

/* ---------- 学校卡片 ---------- */
.school-cards { display: flex; flex-direction: column; gap: 14px; }
.school-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 122, 69, 0.08);
}
.school-card:hover { text-decoration: none; border-color: var(--orange2); }
.school-badge {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.school-card h3 { margin: 0 0 2px; font-size: 18px; color: var(--text); }
.school-card p { margin: 0; font-size: 13px; color: var(--muted); }
.school-card .go { margin-left: auto; color: var(--orange); font-weight: 700; flex: none; }

/* ---------- 安全与信任 ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.trust-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 14px;
  box-shadow: var(--shadow);
  text-align: center;
}
.trust-item .ico {
  width: 44px; height: 44px;
  margin: 0 auto 8px;
  border-radius: 14px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.trust-item h3 { margin: 0 0 4px; font-size: 15px; }
.trust-item p { margin: 0; font-size: 12.5px; color: var(--muted); }
.trust-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--green);
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 10px 14px;
}

/* ---------- FAQ ---------- */
.faq-list details {
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  color: var(--orange);
  font-size: 20px;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14.5px;
  color: var(--muted);
}
.faq-more { text-align: center; margin-top: 14px; }

/* ---------- 资料领取 / 招聘 / 通用卡片 ---------- */
.promo-card {
  background: linear-gradient(135deg, #0E8A6D, #13A87F);
  color: #fff;
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 10px 26px rgba(14, 138, 109, 0.3);
}
.promo-card.orange {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  box-shadow: 0 10px 26px rgba(255, 122, 69, 0.3);
}
.promo-card h2, .promo-card h3 { margin: 0 0 8px; font-size: 21px; }
.promo-card p { margin: 0 0 16px; font-size: 14px; opacity: 0.94; }
.promo-card .btn { width: auto; padding: 12px 26px; font-size: 16px; }
.promo-card .btn-light { background: #fff; color: var(--green); }
.promo-card .btn-light:hover { text-decoration: none; }

/* ---------- 表单 ---------- */
.booking-form {
  background: var(--card);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
}
.form-field { margin-bottom: 16px; border: none; padding: 0; }
.form-field label, .form-field legend {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-field em { color: #E8541A; font-style: normal; }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1.5px solid #EAD9C4;
  border-radius: 12px;
  background: #FFFDF9;
  color: var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 69, 0.15);
}
.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  font-size: 14.5px;
  background: #FFFDF9;
  border: 1.5px solid #EAD9C4;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  margin: 0;
}
.radio-row input { accent-color: var(--orange); }
.form-warning {
  background: #FFF3E4;
  border: 1px solid #FFD8A8;
  color: #AD4E00;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin: 0 0 16px;
}
.form-msg { margin: 12px 0 0; font-size: 14.5px; text-align: center; min-height: 1em; }
.form-msg.is-ok { color: var(--green); font-weight: 700; }
.form-msg.is-error { color: #C8371A; font-weight: 700; }

/* ---------- 弹层 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(30, 20, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}
.modal-box h3 { margin: 0 0 10px; font-size: 19px; }
.modal-box p { margin: 0 0 16px; font-size: 14.5px; color: var(--muted); }
.modal-box .btn { margin-bottom: 10px; }
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 48px;
  background: #2B2B2B;
  color: #D8D2C8;
  padding: 32px 0 110px; /* 底部留出悬浮 CTA 高度 */
  font-size: 13.5px;
}
.site-footer .f-name { font-size: 17px; font-weight: 800; color: #fff; margin: 0 0 10px; }
.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--orange2); }
.site-footer .icp { color: #8A8378; font-size: 12.5px; margin-top: 14px; }

/* ---------- 底部悬浮 CTA（仅移动端） ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);
  z-index: 60;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 248, 240, 0.96);
  border-top: 1px solid rgba(255, 122, 69, 0.2);
  box-shadow: 0 -6px 20px rgba(90, 60, 20, 0.12);
}
.sticky-cta .btn { padding: 13px 10px; font-size: 16.5px; }
@media (min-width: 768px) {
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 40px; }
}

/* ---------- 面包屑 / 子页 ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 14px 0 0;
}
.breadcrumb a { color: var(--green); }
.page-hero {
  padding: 28px 0 6px;
}
.page-hero h1 { font-size: 27px; font-weight: 800; margin: 0 0 8px; }
.page-hero p { margin: 0; color: var(--muted); font-size: 15px; }
.prose h2 { font-size: 20px; margin: 28px 0 10px; }
.prose h3 { font-size: 17px; margin: 20px 0 6px; }
.prose p, .prose li { font-size: 15px; color: #4A453E; }
.prose ul { padding-left: 20px; }
.job-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 14px;
}
.job-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--orange); }
.job-card ul { margin: 0; padding-left: 20px; font-size: 14.5px; color: #4A453E; }

/* ---------- 滚动淡入 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- 桌面端微调 ---------- */
@media (min-width: 768px) {
  .hero h1 { font-size: 34px; }
  .page { margin-top: 24px; margin-bottom: 24px; border-radius: 24px; overflow: hidden; min-height: auto; }
}

/* ---------- 文章/家长指南 ---------- */
.guide-card {
  display: block;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 122, 69, 0.08);
}
.guide-card:hover { text-decoration: none; border-color: var(--orange2); }
.guide-card h3 { margin: 0 0 6px; font-size: 18px; color: var(--text); }
.guide-card p { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.guide-card .meta { font-size: 12.5px; color: var(--orange); font-weight: 600; }
.article-hero { padding: 28px 0 6px; }
.article-hero h1 { font-size: 26px; font-weight: 800; margin: 0 0 8px; line-height: 1.5; }
.article-hero .meta { color: var(--muted); font-size: 13.5px; }
.answer-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 15px;
  color: #14594A;
}

/* ---------- 桌面端宽屏布局（≥992px 内容铺开） ---------- */
@media (min-width: 992px) {
  :root { --maxw: 1024px; }
  .container { padding: 0 32px; }
  .site-nav { gap: 22px; font-size: 15px; }
  .hero { padding: 76px 32px 68px; }
  .hero h1 { font-size: 44px; }
  .hero-sub { font-size: 17px; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-actions .btn { width: auto; padding: 16px 38px; }
  .section { padding: 56px 0 16px; }
  .section-title { font-size: 28px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .trust-item { padding: 22px 18px; }
  .school-cards { flex-direction: row; gap: 16px; }
  .school-card { flex: 1; }
  .timeline, .faq-list, .booking-form, .promo-card { max-width: 720px; margin-left: auto; margin-right: auto; }
  .prose { max-width: 760px; margin: 0 auto; }
  .page-hero, .article-hero { max-width: 760px; margin: 0 auto; }
  .article-hero h1 { font-size: 30px; }
  .site-footer .container { display: flex; flex-wrap: wrap; gap: 8px 48px; align-items: baseline; }
  .site-footer .icp { width: 100%; }
}
