/* ============================================================
   成长同行 · 亲子教育 — 温暖亲和 × 现代简约
   ============================================================ */
:root {
  --cream-50: #fdfbf7;
  --cream-100: #faf6ee;
  --cream-200: #f3ece0;
  --sage-700: #4a6b52;
  --sage-600: #5c8064;
  --sage-500: #6f9a78;
  --sage-200: #cfe0d2;
  --sage-100: #e7f0e8;
  --orange-500: #e08a52;
  --orange-400: #ec9d68;
  --orange-100: #fbe9dc;
  --ink: #2f3a33;
  --body: #5a665d;
  --muted: #8b968d;
  --line: #e8e2d6;
  --white: #ffffff;

  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;

  --shadow-sm: 0 2px 12px rgba(74, 107, 82, .07);
  --shadow-md: 0 14px 38px rgba(74, 107, 82, .12);
  --shadow-lg: 0 30px 66px rgba(74, 107, 82, .16);
  --radius: 20px;
  --radius-sm: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--cream-50);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { width: min(1160px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.3; font-weight: 400; letter-spacing: .01em; }

.eyebrow {
  font-size: .82rem; letter-spacing: .22em; color: var(--sage-600);
  font-weight: 700; margin-bottom: .9rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--orange-400); vertical-align: middle; margin-right: .6rem; border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px; font-size: .97rem; font-weight: 500;
  font-family: var(--font-body); border-radius: 50px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer; border: 1.5px solid transparent;
}
.btn-soft { background: var(--orange-400); color: #fff; box-shadow: 0 10px 26px rgba(224,138,82,.34); }
.btn-soft:hover { transform: translateY(-2px); background: var(--orange-500); box-shadow: 0 16px 36px rgba(224,138,82,.46); }
.btn-line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.16); }
.btn-sage { background: var(--sage-600); color: #fff; }
.btn-sage:hover { background: var(--sage-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: background .35s, box-shadow .35s, padding .35s; }
.site-header.scrolled { background: rgba(253,251,247,.94); backdrop-filter: blur(10px); box-shadow: 0 4px 22px rgba(74,107,82,.10); padding: 10px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; background: var(--sage-100); color: var(--sage-600); border-radius: 14px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.24rem; color: var(--ink); letter-spacing: .06em; }
.brand-text em { font-style: normal; font-size: .7rem; letter-spacing: .26em; color: var(--sage-500); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink); font-size: .94rem; font-weight: 500; position: relative; transition: color .2s; }
.nav a:hover { color: var(--sage-600); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--orange-400); border-radius: 2px; transition: width .3s; }
.nav a:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px !important; background: var(--sage-600); color: #fff !important; border-radius: 50px; font-weight: 500; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--sage-700); }

/* Hero 上的导航文字为白色 */
.hero-wrap-top .nav a { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: heroPan 24s ease-in-out infinite alternate; }
@keyframes heroPan { from { transform: scale(1.05); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(47,58,51,.72) 0%, rgba(47,58,51,.42) 48%, rgba(74,107,82,.18) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 130px 0 90px; max-width: 720px; }
.hero-kicker { display: inline-block; font-size: .85rem; letter-spacing: .2em; color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); padding: 8px 18px; border-radius: 50px; margin-bottom: 1.7rem; font-weight: 500; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); color: #fff; margin-bottom: 1.5rem; line-height: 1.25; }
.hero-sub { font-size: 1.13rem; color: rgba(255,255,255,.92); max-width: 560px; margin-bottom: 2.4rem; line-height: 1.9; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 信任条带 ---------- */
.trustbar { background: var(--sage-700); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 30px 22px; text-align: center; border-right: 1px solid rgba(255,255,255,.13); }
.trust-item:last-child { border-right: none; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: #fff; margin-bottom: 5px; }
.trust-item span { font-size: .85rem; color: rgba(255,255,255,.72); }

/* ---------- Section 通用 ---------- */
.section { padding: 108px 0; position: relative; }
.section-head { max-width: 700px; margin-bottom: 58px; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin-bottom: 1.1rem; }
.lead { font-size: 1.08rem; color: var(--body); }

/* ---------- Pain ---------- */
.pain { background: var(--cream-50); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pain-card { background: var(--white); padding: 42px 34px; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pain-emoji { display: inline-grid; place-items: center; width: 58px; height: 58px; background: var(--orange-100); color: var(--orange-500); border-radius: 16px; margin-bottom: 22px; }
.pain-card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.pain-card p { font-size: .97rem; }

/* ---------- Service ---------- */
.service { background: var(--cream-100); }
.service-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.service-col { background: var(--white); border-radius: var(--radius); padding: 44px 40px; box-shadow: var(--shadow-sm); }
.service-col-alt { background: var(--sage-700); }
.service-tag { display: inline-block; font-size: .8rem; letter-spacing: .14em; color: var(--sage-600); background: var(--sage-100); padding: 6px 15px; border-radius: 50px; margin-bottom: 16px; font-weight: 700; }
.service-col-alt .service-tag { color: #fff; background: rgba(255,255,255,.18); }
.service-head h3 { font-size: 1.6rem; margin-bottom: 12px; }
.service-col-alt .service-head h3, .service-col-alt .service-head p { color: #fff; }
.service-head p { font-size: .98rem; margin-bottom: 26px; }
.service-col-alt .service-head p { color: rgba(255,255,255,.8); }
.service-list { list-style: none; }
.service-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.service-col-alt .service-list li { border-top-color: rgba(255,255,255,.15); }
.service-list strong { color: var(--ink); font-weight: 700; font-size: 1rem; }
.service-list span { color: var(--muted); font-size: .88rem; }
.service-col-alt .service-list strong { color: #fff; }
.service-col-alt .service-list span { color: rgba(255,255,255,.72); }

/* ---------- Method ---------- */
.method { background: var(--cream-50); }
.method-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.method-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.method-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 1rem; }
.method-copy > p { font-size: 1.04rem; margin-bottom: 2rem; }
.method-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.method-list li { display: flex; gap: 20px; }
.method-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--orange-400); flex-shrink: 0; line-height: 1.3; }
.method-list strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }
.method-list p { font-size: .95rem; }

/* ---------- Voices ---------- */
.voices { background: var(--sage-100); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.voice-card { background: var(--white); border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow-sm); position: relative; }
.voice-card::before { content: "\201C"; font-family: var(--font-display); font-size: 4rem; color: var(--sage-200); position: absolute; top: 14px; right: 28px; line-height: 1; }
.voice-card blockquote { font-size: 1rem; color: var(--body); line-height: 1.9; margin-bottom: 24px; position: relative; z-index: 1; }
.voice-card figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 16px; }
.voice-card figcaption strong { color: var(--ink); font-size: 1rem; }
.voice-card figcaption span { font-size: .84rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--cream-50); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 70px; }
.contact-card { padding: 42px 32px; background: var(--white); border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; background: var(--sage-100); color: var(--sage-600); border-radius: 50%; margin-bottom: 18px; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.contact-big { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--sage-700); margin-bottom: 12px; }
a.contact-big:hover { color: var(--orange-500); }
.contact-todo { color: var(--muted); font-size: 1.3rem !important; }
.contact-card p { font-size: .92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq-title { font-size: 1.6rem; margin-bottom: 24px; text-align: center; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 22px 40px 22px 0; font-family: var(--font-display); color: var(--ink); font-size: 1.12rem; position: relative; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange-400); transition: transform .3s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list p { padding: 0 40px 24px 0; font-size: .97rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage-700); color: rgba(255,255,255,.75); padding: 58px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 1.55rem; color: #fff; margin-bottom: 6px; }
.footer-brand span { font-size: .92rem; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.footer-contact a { color: #fff; font-weight: 500; }
.footer-disclaimer { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 22px; }
.footer-disclaimer p { font-size: .82rem; color: rgba(255,255,255,.55); }
.copyright { margin-top: 12px; color: rgba(255,255,255,.42) !important; }

/* ---------- 浮动按钮 ---------- */
.float-call { position: fixed; right: 24px; bottom: 24px; z-index: 99; display: flex; align-items: center; gap: 9px; padding: 14px 22px; background: var(--orange-400); color: #fff; font-weight: 500; font-size: .95rem; border-radius: 50px; box-shadow: 0 12px 30px rgba(224,138,82,.42); transition: transform .25s, box-shadow .25s; }
.float-call:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 40px rgba(224,138,82,.58); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .trustbar-inner { grid-template-columns: 1fr 1fr; }
  .trust-item { border-bottom: 1px solid rgba(255,255,255,.13); }
  .trust-item:nth-child(2) { border-right: none; }
  .pain-grid, .voice-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .service-split, .method-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 74px 0; }
  .pain-grid, .voice-grid, .contact-grid { grid-template-columns: 1fr; }
  .trustbar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; }
  .hero-inner { padding: 110px 0 70px; }
  .float-call span { display: none; }
  .float-call { padding: 16px; border-radius: 50%; }
}
