/* =========================================================
   稚言儿童能力发展中心 · 站点样式
   ========================================================= */

:root {
  --cream: #FBF6EF;
  --cream-deep: #F5EDE2;
  --paper: #FFFDF9;
  --ink: #26312C;
  --ink-2: #46524B;
  --ink-soft: #6B7770;
  --line: #E6DED2;
  --sage: #5F7F6C;
  --sage-deep: #3D5849;
  --sage-mid: #7F9E88;
  --sage-light: #E7EFE7;
  --sky: #6E97B6;
  --sky-light: #E6EFF5;
  --clay: #D0834F;
  --clay-deep: #B86B3C;
  --clay-light: #F9E8DA;
  --sand: #C8A277;

  --font-serif: "Songti SC", "STZhongsong", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", "STSong", serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(74, 63, 48, 0.05);
  --shadow: 0 18px 44px -22px rgba(58, 66, 54, 0.28);
  --shadow-lg: 0 30px 70px -30px rgba(48, 62, 52, 0.32);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

main section[id] { scroll-margin-top: 88px; }

/* 移动端底栏「查看地址」跳转落点，避开吸顶导航与底部固定条 */
#address,
#phone { scroll-margin-top: 96px; scroll-margin-bottom: 120px; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: 0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--clay-light); color: var(--clay-deep); }

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease),
    box-shadow 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.28s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--sage-deep);
  color: #FCFAF4;
  box-shadow: 0 12px 26px -14px rgba(61, 88, 73, 0.7);
}
.btn-primary:hover {
  background: #32493C;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -16px rgba(61, 88, 73, 0.72);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #D8CFC1;
}
.btn-ghost:hover {
  background: #fff;
  border-color: var(--sage);
  color: var(--sage-deep);
  transform: translateY(-2px);
}

.btn-light {
  background: #FCFAF4;
  color: var(--sage-deep);
}
.btn-light:hover { transform: translateY(-2px); background: #fff; }

.btn-outline-light {
  border-color: rgba(252, 250, 244, 0.45);
  color: #F3F1E8;
}
.btn-outline-light:hover {
  border-color: #F3F1E8;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 20px; font-size: 14.5px; }
.btn-block { width: 100%; margin-top: 4px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--sage-deep);
  border-bottom: 1px solid rgba(95, 127, 108, 0.35);
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.text-link:hover { gap: 12px; border-color: var(--sage-deep); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 246, 239, 0.86);
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(74, 63, 48, 0.07), 0 12px 30px -24px rgba(58, 66, 54, 0.5);
}
.header-inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: padding 0.35s var(--ease);
}
.is-scrolled .header-inner { padding-block: 10px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--clay);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 30px; height: 30px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.brand-text em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-2);
}
.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--sage);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--sage-deep); }
.nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  color: var(--sage-deep);
  font-variant-numeric: tabular-nums;
}
.header-phone svg { width: 17px; height: 17px; opacity: 0.8; }
.header-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 148px 0 0;
  background:
    radial-gradient(900px 500px at 82% -6%, #F3E9DC 0%, rgba(243, 233, 220, 0) 62%),
    radial-gradient(700px 460px at 4% 12%, #EDF3EA 0%, rgba(237, 243, 234, 0) 68%),
    var(--cream);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 131, 79, 0.14), rgba(208, 131, 79, 0));
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #EAE2D5;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}
.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(95, 127, 108, 0.14);
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.6vw, 3.85rem);
  line-height: 1.32;
  letter-spacing: 0.015em;
  margin: 26px 0 0;
  font-weight: 600;
}
.mark {
  color: var(--clay-deep);
  white-space: nowrap;
  background-image: linear-gradient(
    180deg,
    transparent 0.62em,
    rgba(208, 131, 79, 0.2) 0.62em,
    rgba(208, 131, 79, 0.2) 0.92em,
    transparent 0.92em
  );
  padding-bottom: 0.06em;
}
.mark--blue {
  color: var(--sky);
  background-image: linear-gradient(
    180deg,
    transparent 0.62em,
    rgba(110, 151, 182, 0.18) 0.62em,
    rgba(110, 151, 182, 0.18) 0.92em,
    transparent 0.92em
  );
}

.lead {
  margin-top: 24px;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 30em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.hero-facts li {
  position: relative;
  padding-left: 15px;
}
.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.4px solid var(--sage-mid);
}

.hero-art {
  position: relative;
}
.hero-svg {
  width: 100%;
  height: auto;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
}

.float-card {
  position: absolute;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 17px;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid #EFE6D9;
  border-radius: 16px;
  box-shadow: 0 20px 40px -22px rgba(52, 64, 54, 0.45);
  max-width: 235px;
  animation: floaty 7s ease-in-out infinite;
}
.float-card--a { left: -34px; top: 54px; }
.float-card--b { right: -18px; bottom: 62px; animation-delay: -3.2s; }

.fc-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--clay-light);
  color: var(--clay-deep);
  font-size: 13px;
}
.fc-icon--blue { background: var(--sky-light); color: var(--sky); }
.float-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.float-card span {
  display: block;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 2px;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 74px;
  padding: 30px 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 6px 22px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--sage-deep);
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}
.stat-num i {
  font-style: normal;
  font-size: 0.5em;
  color: var(--clay);
  font-family: var(--font-sans);
}
.stat p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ---------- trust ---------- */
.trust {
  background: var(--cream);
  padding: 22px 0 6px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #8B948D;
  text-align: center;
}
.trust-row span {
  position: relative;
  padding-left: 14px;
}
.trust-row span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C9D2C9;
}

/* ---------- section scaffolding ---------- */
.section { padding: clamp(76px, 8.5vw, 122px) 0; position: relative; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--sage);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--sage-mid);
}
.kicker--light { color: #C8D8CB; }
.kicker--light::before { background: rgba(200, 216, 203, 0.6); }

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.3vw, 2.6rem);
  line-height: 1.5;
  letter-spacing: 0.015em;
  font-weight: 600;
}

.section-head { max-width: 760px; }
.section-head--center {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}
.section-head--row {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 40px;
  align-items: end;
  max-width: none;
}
.section-lead {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 36em;
}
.section-head--center .section-lead { margin-inline: auto; }
.section-head--row .section-lead { margin-top: 0; padding-bottom: 6px; }

.br-lg { display: inline; }

/* ---------- about ---------- */
.section--about { background: var(--cream); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 58px;
}
.pillar {
  padding: 34px 30px 32px;
  background: var(--paper);
  border: 1px solid #EFE7DA;
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #E2D8C8;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--sage-light);
  color: var(--sage-deep);
  margin-bottom: 22px;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar:nth-child(2) .pillar-icon { background: var(--clay-light); color: var(--clay-deep); }
.pillar:nth-child(3) .pillar-icon { background: var(--sky-light); color: var(--sky); }
.pillar h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.06em;
}
.pillar p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

/* ---------- services ---------- */
.section--services {
  background: linear-gradient(180deg, #FFFDF9 0%, #F8F3EA 100%);
  border-top: 1px solid #F0E8DA;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.service {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--paper);
  border: 1px solid #EEE5D6;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-mid), rgba(127, 158, 136, 0));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service:hover {
  transform: translateY(-5px);
  border-color: #E3D7C5;
  box-shadow: var(--shadow);
}
.service:hover::before { opacity: 1; }
.service-no {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--clay);
  opacity: 0.85;
}
.service h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.045em;
  margin-top: 12px;
}
.service p {
  margin-top: 12px;
  font-size: 14.2px;
  line-height: 1.9;
  color: var(--ink-2);
}
.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed #E7DDCD;
}
.service-meta li {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--sage-deep);
  background: rgba(231, 239, 231, 0.75);
  padding: 4px 10px;
  border-radius: 999px;
}
.service-note {
  margin-top: 30px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.service-note span { color: var(--clay); margin-right: 4px; }

/* ---------- methods ---------- */
.section--methods {
  background: var(--sage-deep);
  color: #EDF1EA;
  overflow: hidden;
}
.section--methods::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -280px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.section--methods .kicker { color: #A9C2B2; }
.section--methods .kicker::before { background: #8CA898; }
.section--methods h2 { color: #F6F3EA; }
.section--methods p { color: #C6D3C9; }

.methods-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: start;
}
.methods-intro { position: sticky; top: 108px; }
.methods-intro .section-lead { color: #C6D3C9; }

.methods-quote {
  margin-top: 34px;
  padding: 22px 0 0 22px;
  border-left: 1px solid rgba(200, 216, 203, 0.3);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.85;
  color: #E4EBE2;
  letter-spacing: 0.03em;
}
.methods-quote span {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #9DB4A5;
  letter-spacing: 0.06em;
}

.method-list { display: grid; gap: 0; }
.method-list li {
  padding: 26px 0;
  border-top: 1px solid rgba(200, 216, 203, 0.18);
  transition: padding-left 0.35s var(--ease);
}
.method-list li:last-child { border-bottom: 1px solid rgba(200, 216, 203, 0.18); }
.method-list li:hover { padding-left: 8px; }
.m-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.m-head h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: #F4F1E7;
  font-weight: 600;
}
.m-head span {
  flex-shrink: 0;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #A9C2B2;
  border: 1px solid rgba(169, 194, 178, 0.35);
  padding: 2px 9px;
  border-radius: 999px;
}
.method-list p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.9;
  color: #B9C9BE;
  max-width: 46em;
}

/* ---------- day ---------- */
.section--day { background: var(--cream); }

.timeline {
  --line-x: 128px;
  margin-top: 62px;
  display: grid;
  gap: 0;
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: var(--line-x);
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, rgba(127, 158, 136, 0) 0%, #D3DFD1 12%, #D3DFD1 88%, rgba(127, 158, 136, 0) 100%);
}
.timeline li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 40px;
  padding: 20px 0;
  position: relative;
}
.t-time {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--sage-deep);
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.t-body {
  position: relative;
  padding-left: 26px;
}
.t-body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--sage-mid);
  box-shadow: 0 0 0 4px var(--cream);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.timeline li:hover .t-body::before { background: var(--clay); border-color: var(--clay); }
.t-body h3 {
  font-size: 16.5px;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.t-body p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- team ---------- */
.section--team { background: var(--paper); border-top: 1px solid #F0E8DA; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.member {
  padding: 30px 24px;
  border: 1px solid #EFE7DA;
  border-radius: var(--radius);
  background: #FDFBF7;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #fff;
  background: var(--sage);
}
.avatar--clay { background: #D9A17A; }
.avatar--blue { background: #8AAEC6; }
.avatar--sand { background: #C3A585; }
.member h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.08em;
}
.role {
  margin-top: 6px;
  font-size: 12px;
  color: var(--clay-deep);
  letter-spacing: 0.03em;
}
.bio {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px dashed #E9DFD0;
  font-size: 13.3px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- voices ---------- */
.section--voices { background: var(--cream); }

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 54px;
}
.voice {
  margin: 0;
  padding: 34px 30px 28px;
  background: var(--paper);
  border: 1px solid #EFE7DA;
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.voice:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.voice::before {
  content: "“";
  position: absolute;
  top: 6px;
  left: 22px;
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1;
  color: var(--clay);
  opacity: 0.22;
}
.voice blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative;
}
.voice figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #E9DFD0;
}
.v-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage-light);
  color: var(--sage-deep);
  font-family: var(--font-serif);
  font-size: 16px;
  flex-shrink: 0;
}
.v-avatar--clay { background: var(--clay-light); color: var(--clay-deep); }
.v-avatar--blue { background: var(--sky-light); color: var(--sky); }
.voice figcaption strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.voice figcaption span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ---------- give ---------- */
.give {
  padding: clamp(60px, 7vw, 92px) 0;
  background: linear-gradient(135deg, #41604F 0%, #35503F 55%, #3E5A48 100%);
  color: #EDF1EA;
  position: relative;
  overflow: hidden;
}
.give::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  bottom: -340px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.give-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.give h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.45;
  color: #FAF7EE;
}
.give p {
  margin-top: 18px;
  font-size: 14.8px;
  line-height: 1.95;
  color: #C6D3C9;
  max-width: 34em;
}
.give-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.give-stats {
  display: grid;
  gap: 18px;
}
.give-stat {
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.give-stat strong {
  font-family: var(--font-serif);
  font-size: 26px;
  color: #F5E7D4;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.give-stat span {
  font-size: 12.5px;
  color: #B9C9BE;
}

/* ---------- faq ---------- */
.section--faq { background: var(--cream); }

.faq-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 70px;
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro p {
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 22em;
}
.faq-intro .text-link { margin-top: 22px; }

.faq-list { border-top: 1px solid var(--line); }
.faq {
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 48px 24px 0;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sage-deep); }
.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--sage);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq[open] summary::before { transform: rotate(0deg); }
.faq[open] summary { color: var(--sage-deep); }
.faq p {
  padding: 0 56px 26px 0;
  font-size: 14.2px;
  line-height: 1.95;
  color: var(--ink-2);
  animation: faqIn 0.35s var(--ease);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- contact ---------- */
.section--contact {
  background: linear-gradient(180deg, #FFFDF9 0%, #F7F1E7 100%);
  border-top: 1px solid #F0E8DA;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-top: 4px; }

.contact-list {
  margin-top: 40px;
  display: grid;
  gap: 22px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #EEE5D6;
  color: var(--sage);
}
.ci-icon svg { width: 20px; height: 20px; }
.contact-list strong {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 500;
}
.contact-list p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}
.contact-list small {
  font-size: 12px;
  color: var(--ink-soft);
}
.contact-list a { border-bottom: 1px solid rgba(95, 127, 108, 0.3); }
.contact-list a:hover { color: var(--sage-deep); border-color: var(--sage-deep); }

/* 微信号与复制按钮 */
.wx-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  -webkit-user-select: all;
  user-select: all;
}
.wx-copy {
  margin-left: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(95, 127, 108, 0.35);
  background: rgba(95, 127, 108, 0.08);
  color: var(--sage-deep);
  font-size: 12px;
  font-family: inherit;
  line-height: 1.6;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  vertical-align: 1px;
}
.wx-copy:hover { background: rgba(95, 127, 108, 0.16); }
.wx-copy.is-copied {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: #FCFAF4;
}

.form-card {
  padding: 38px 36px 34px;
  background: var(--paper);
  border: 1px solid #EEE5D6;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -40px rgba(58, 66, 54, 0.5);
  position: relative;
}
.form-card h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  letter-spacing: 0.08em;
}
.form-sub {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
}

#bookingForm { margin-top: 26px; display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 14px;
}
.field label {
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.03em;
}
.field .opt { color: var(--ink-soft); font-size: 11.5px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #FCFAF5;
  border: 1px solid #E8DFD0;
  border-radius: 12px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.7; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236B7770' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 34px;
}
.field input::placeholder,
.field textarea::placeholder { color: #B3B7B1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--sage-mid);
  box-shadow: 0 0 0 4px rgba(127, 158, 136, 0.14);
}
.field.has-error input,
.field.has-error select { border-color: #D0834F; box-shadow: 0 0 0 4px rgba(208, 131, 79, 0.12); }

.form-privacy {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #9AA29B;
  text-align: center;
}

.form-success {
  margin-top: 26px;
  text-align: center;
  padding: 22px 6px 8px;
}
.success-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  color: var(--sage);
}
.form-success h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.08em;
}
.form-success p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}
.form-success a { color: var(--sage-deep); border-bottom: 1px solid rgba(95, 127, 108, 0.4); }
.form-success .btn { margin-top: 22px; }

/* ---------- footer ---------- */
.site-footer {
  background: #2C3A32;
  color: #C2CFC5;
  padding: 66px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: 40px;
  padding-bottom: 52px;
}
/* 页脚品牌区：整块居中 */
.footer-brand {
  grid-column: 1 / -1;
  text-align: center;
}
.footer-brand .brand { justify-content: center; }

.brand--footer { color: var(--ink); }
.brand--footer .brand-text strong { color: #F4F1E7; }
.brand--footer .brand-text em { color: #8FA094; }
.brand--footer .brand-mark { background: rgba(255, 255, 255, 0.08); color: #E3B48C; }
.footer-slogan {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #DCE4DB;
}
.footer-small {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.9;
  color: #86968B;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #9CAFA1;
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 13.5px;
  line-height: 1.9;
  color: #BCCBC1;
  margin-bottom: 8px;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: #F4F1E7; }
.footer-col--contact p { color: #A6B6AB; }
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.footer-social a {
  font-size: 11.5px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  margin: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 11.5px;
  color: #7D8D82;
}
.disclaimer { max-width: 46em; text-align: right; }

/* 备案号：管局要求可点击跳转工信部备案系统 */
.footer-bottom .icp-link {
  color: #B9C8BE;
  border-bottom: 1px solid rgba(154, 171, 159, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-bottom .icp-link:hover { color: var(--sage); border-color: var(--sage); }

/* ---------- mobile bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 246, 239, 0.95);
  backdrop-filter: blur(14px);
  border-top: 1px solid #EBE2D4;
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
}
.mobile-bar svg { width: 17px; height: 17px; }
.mb-call { background: #fff; border: 1px solid #E4DACB; color: var(--ink); }
.mb-book { background: var(--sage-deep); color: #FCFAF4; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; font-size: 13.8px; }
  .header-phone span { display: none; }
  .hero-grid { gap: 40px; }
  .float-card--a { left: -14px; }
  .float-card--b { right: -8px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .methods-grid { gap: 44px; }
  .faq-grid { gap: 44px; }
}

@media (max-width: 920px) {
  .header-inner { gap: 14px; }
  .nav {
    position: fixed;
    inset: 68px 14px auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(18px);
    border: 1px solid #EBE2D4;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    padding: 13px 4px;
    border-bottom: 1px solid #F2EBDE;
    font-size: 15px;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }

  .hero { padding-top: 118px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .hero-art { max-width: 470px; margin-inline: auto; order: 2; }
  .hero-copy { order: 1; }
  .float-card--a { left: 0; top: 22px; }
  .float-card--b { right: 0; bottom: 20px; }

  .pillars { grid-template-columns: 1fr; gap: 16px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head--row { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .section-head--row .section-lead { margin-top: 0; }
  .methods-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .methods-intro,
  .faq-intro { position: static; }
  .voice-grid { grid-template-columns: 1fr; }
  .give-inner { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(3),
  .stat:nth-child(4) { padding-top: 20px; border-top: 1px solid var(--line); }
  .timeline { --line-x: 88px; }
  .timeline li { grid-template-columns: 66px 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
  .disclaimer { text-align: left; }
}

@media (max-width: 680px) {
  .wrap { padding-inline: 20px; }
  .header-inner { padding-inline: 20px; }
  .brand-text strong { font-size: 19px; }
  .brand-text em { font-size: 9.5px; letter-spacing: 0.18em; }

  .hero { padding-top: 104px; }
  h1 { font-size: clamp(2.1rem, 8.6vw, 2.7rem); line-height: 1.36; }
  .lead { font-size: 15.5px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { gap: 6px 16px; font-size: 12.5px; }

  .float-card { max-width: 200px; padding: 10px 13px; }
  .float-card strong { font-size: 13.5px; }
  .float-card span { font-size: 10.5px; }
  .float-card--a { left: -8px; top: 6px; }
  .float-card--b { right: -8px; bottom: 8px; }

  .stats { margin-top: 52px; padding: 24px 0; }
  .stat { padding: 4px 14px; }

  .section h2 { font-size: clamp(1.55rem, 6.4vw, 2rem); }
  .br-lg { display: none; }

  .service-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .service { padding: 28px 24px 24px; }

  .methods-grid { gap: 34px; }
  .methods-quote { font-size: 15.5px; }
  .m-head { flex-direction: column; gap: 6px; align-items: flex-start; }
  .m-head span { order: -1; }

  .timeline::before { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .t-time { text-align: left; font-size: 12.5px; letter-spacing: 0.16em; color: var(--clay-deep); }
  .t-body { padding-left: 0; }
  .t-body::before { display: none; }

  .form-card { padding: 28px 22px 26px; }
  .field-row { grid-template-columns: 1fr; gap: 16px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
  .site-footer { padding-bottom: 0; }
}

/* ---------- 教学现场 / 中心环境 相册 ---------- */
.section--gallery { background: var(--paper); }

.photo-grid { margin: 0; padding: 0; }
/* 图片的固有宽度会撑大 1fr 列，导致窄屏横向溢出 */
.photo { min-width: 0; }

.photo-grid--teaching {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.photo-grid--teaching .photo {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cream-deep);
  box-shadow: var(--shadow-sm);
}
.photo-grid--teaching .photo:nth-child(1),
.photo-grid--teaching .photo:nth-child(2) { grid-column: span 3; }

.photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.photo:hover img { transform: scale(1.035); }

.section-subhead {
  margin-top: 68px;
  text-align: center;
}
.section-subhead h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.3vw, 30px);
  color: var(--ink);
  font-weight: 600;
}
.section-subhead p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* 环境照按横竖分开排：竖版 4 张一排，横版 3 张一排，同类图尺寸统一 */
.photo-grid--portrait {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.photo-grid--landscape {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.photo-grid--portrait .photo,
.photo-grid--landscape .photo {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cream-deep);
  box-shadow: var(--shadow-sm);
}
.photo-grid--portrait .photo { aspect-ratio: 3 / 4; }
.photo-grid--landscape .photo { aspect-ratio: 4 / 3; }

@media (max-width: 920px) {
  .photo-grid--teaching { grid-template-columns: repeat(2, 1fr); }
  .photo-grid--teaching .photo,
  .photo-grid--teaching .photo:nth-child(1),
  .photo-grid--teaching .photo:nth-child(2) { grid-column: span 1; }
  /* 教学照为单数，末排剩一张时居中 */
  .photo-grid--teaching .photo:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 8px);
  }
  .photo-grid--portrait { grid-template-columns: repeat(2, 1fr); }
  .section-subhead { margin-top: 52px; }
}

@media (max-width: 680px) {
  .photo-grid--teaching { gap: 10px; margin-top: 34px; }
  .photo-grid--teaching .photo:nth-child(5) { width: calc(50% - 5px); }
  .photo-grid--portrait { gap: 10px; }
  .photo-grid--landscape { gap: 10px; margin-top: 10px; }
  .photo-grid--portrait .photo,
  .photo-grid--landscape .photo { border-radius: 14px; }
  .photo-grid--teaching .photo { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .float-card, .hero-glow { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
