/* 首页专属样式（共用部分在 site.css） */

/* ---------- 首屏：孩子哪里让您担心 ---------- */
.hero { padding: 52px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; align-items: start; }
.hero h1 { font-family: var(--kai); font-weight: 700; font-size: 64px; line-height: 1.18; letter-spacing: .02em; }
.hero .sub { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: 12px 10px; margin-top: 34px; }
.chip {
  padding: 9px 18px; border: 1.5px solid var(--green-line); border-radius: 999px;
  background: #fff; cursor: pointer; text-align: left;
  font-family: var(--kai); font-size: 19px; line-height: 1.35;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--green); background: var(--green-tint); }
.chip[aria-pressed="true"] { background: var(--orange-pick); border-color: var(--orange-pick); color: #fff; }
.chip.call { border-style: dashed; border-color: #b9cfbf; color: var(--ink-2); }
.chip.call[aria-pressed="true"] { border-style: solid; color: #fff; }

.reply {
  --tail: 44px;
  position: relative; margin-top: 26px; padding: 26px 30px 28px;
  border-radius: 18px; background: var(--green-tint); min-height: 216px;
}
.reply::before {
  /* 小尖角指向被选中的标签 */
  content: ""; position: absolute; top: -9px; left: var(--tail);
  width: 20px; height: 20px; margin-left: -10px; border-radius: 3px;
  background: var(--green-tint); transform: rotate(45deg);
  transition: left .25s ease;
}
.reply-body.in { animation: reply-in .32s ease both; }
@keyframes reply-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.reply .hint { font-family: var(--kai); font-size: 21px; line-height: 1.7; }
.reply .hint + p { margin-top: 8px; color: var(--ink-2); }
.reply h2 { font-family: var(--kai); font-size: 30px; line-height: 1.3; }
.reply .lead { margin-top: 6px; color: var(--green-ink); font-weight: 600; }
.reply .text { margin-top: 10px; max-width: 36em; color: var(--ink-2); }
.reply .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
.reply .tel { font-size: 15px; color: var(--ink-2); }
.reply .tel a { font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.reply .big-tel { display: inline-block; margin-top: 8px; font-size: 34px; font-weight: 800; letter-spacing: .03em; color: var(--orange-ink); }

.window { position: relative; padding-top: 6px; }
.window img {
  width: 100%; aspect-ratio: 44 / 50; object-fit: cover; object-position: 64% 50%;
  border-radius: 50% 50% 26px 26px / 44% 44% 26px 26px;
  background: var(--green-tint);
}
.window figcaption {
  display: flex; align-items: center; gap: 6px; margin: 14px 0 0 18px;
  font-family: var(--kai); font-size: 19px; color: var(--green-ink);
  transform: rotate(-3deg); transform-origin: left center;
}
.window figcaption svg { width: 46px; height: 30px; flex: none; color: var(--green); }

/* ---------- 康复服务：运动发育障碍 / 学习认知障碍 / 儿童神经发育 三栏 ---------- */
.services { border-top: 1px solid var(--green-line); }
/* 3 列 × 4 行：第 1 行是大类名，后 3 行放服务。各列用 subgrid 共用行线，
   高度自适应时 3 个 1fr 行都取最高那一项的高度，所以每项服务一样高、横向对齐 */
.svc-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto repeat(3, 1fr);
  column-gap: 56px; margin-top: 44px;
}
.svc-group { display: grid; grid-template-rows: subgrid; grid-row: 1 / span 4; }
.svc-group ul { display: grid; grid-template-rows: subgrid; grid-row: 2 / -1; }
.svc-group h3 {
  padding-bottom: 12px; border-bottom: 2px solid var(--ink);
  font-family: var(--kai); font-size: 21px; line-height: 1.4; color: var(--green-ink);
}
.svc { display: block; height: 100%; padding: 24px 0 26px; border-bottom: 1px dashed var(--green-line); }
.svc h4 { font-family: var(--kai); font-size: 28px; line-height: 1.35; font-weight: 700; transition: color .15s ease; }
.svc:hover h4 { color: var(--orange-ink); }
.svc .desc { margin-top: 6px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.svc-foot { margin-top: 40px; color: var(--ink-2); }
.svc-foot a:not(.link) { color: var(--ink); font-weight: 600; }

/* ---------- 创始人引语 ---------- */
.voice { background: var(--green-tint); padding: 104px 0 96px; text-align: center; }
.voice blockquote { max-width: 20em; margin: 0 auto; font-family: var(--kai); font-size: 40px; line-height: 1.6; }
.voice .clause { display: inline-block; }
.voice .who { display: inline-flex; align-items: center; gap: 16px; margin-top: 40px; text-align: left; }
.voice .who img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 4px solid #fff; background: #fff; }
.voice .who strong { display: block; font-family: var(--kai); font-size: 22px; line-height: 1.3; }
.voice .who span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.voice .link { display: inline-block; margin-top: 22px; }

/* ---------- 孩子的一天 ---------- */
.day { border-top: 1px solid var(--green-line); }
.day .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: center; }
.day h2 { font-family: var(--kai); font-size: 38px; line-height: 1.3; }
.day p { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.day .link { display: inline-block; margin-top: 18px; }
.day-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.day-photos figure:last-child { margin-top: 64px; }
.day-photos img { width: 100%; border-radius: 14px; }
.day-photos figcaption { margin-top: 10px; font-family: var(--kai); font-size: 19px; }

/* ---------- 离您最近的鹿童 ---------- */
.near { background: var(--green-tint); }
.block.near { padding-top: 96px; padding-bottom: 96px; }

/* ---------- 新闻 + 慈善 ---------- */
.more .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.more h2 { font-family: var(--kai); font-size: 30px; line-height: 1.3; }
.news { margin-top: 18px; }
.news li + li { border-top: 1px solid var(--green-line); }
.news li:last-child { border-bottom: 1px solid var(--green-line); }
.news a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
.news a:hover span { color: var(--orange-ink); }
.news time { font-size: 14px; color: var(--ink-2); padding-top: 2px; }
.more .link { display: inline-block; margin-top: 16px; }
.charity { padding: 34px 32px; border-radius: 12px; background: var(--orange-tint); }
.charity p { margin-top: 12px; color: var(--ink-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .hero h1 { font-size: 54px; }
}

@media (max-width: 900px) {
  .hero { padding: 36px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .window { max-width: 420px; }
  .day .wrap, .more .wrap { grid-template-columns: 1fr; gap: 40px; }
  .svc-cols { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 40px; }
  .svc-group { display: block; grid-row: auto; }
  .svc-group ul { grid-row: auto; grid-template-rows: none; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; column-gap: 32px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 40px; }
  .hero .sub { font-size: 16px; }
  .chips { gap: 9px 8px; margin-top: 26px; }
  .chip { font-size: 17px; padding: 8px 14px; }
  .reply { padding: 22px 20px 24px; }
  .reply h2 { font-size: 26px; }
  .voice { padding: 72px 0 64px; }
  .voice blockquote { font-size: 23px; }
  .block.near { padding: 64px 0; }
  .day h2 { font-size: 30px; }
  .day-photos figure:last-child { margin-top: 36px; }
  .svc-group ul { grid-template-columns: 1fr; }
  .svc h4 { font-size: 25px; }
  .news a { grid-template-columns: 1fr; gap: 0; }
  .charity { padding: 26px 22px; }
}
