/* ===== 我想看 · Nature Distilled 主题样式 ===== */
/* 字体 */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* ===== 变量 ===== */
:root {
  --c-teal: #5cc6b0;
  --c-sand: #d4c4a8;
  --c-dark: #172623;
  --c-teal-light: #a8e8dc;
  --c-teal-dim: #3da890;
  --c-sand-light: #ede4d3;
  --c-sand-dark: #b8a88a;
  --c-dark-mid: #2a403b;
  --c-dark-soft: #3d5a53;
  --c-bg: #faf8f4;
  --c-bg-warm: #f5f0e8;
  --c-text: #1e2e2b;
  --c-text-soft: #4a6359;
  --c-text-muted: #7a9189;
  --c-border: #ddd8cc;
  --c-border-soft: #ede8e0;

  --font-display: 'Playfair Display', 'Source Serif 4', Georgia, serif;
  --font-body: 'Source Serif 4', 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius-pill: 999px;
  --radius-card: 18px;
  --radius-soft: 12px;
  --radius-xs: 6px;

  --shadow-soft: 0 2px 16px rgba(23, 38, 35, 0.08);
  --shadow-card: 0 4px 24px rgba(23, 38, 35, 0.10);
  --shadow-hover: 0 8px 32px rgba(23, 38, 35, 0.15);

  --header-h: 120px;
  --content-max: 1200px;
  --prose-max: 720px;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-organic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* ===== 布局包裹 ===== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

/* ===== 头部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--c-dark);
  letter-spacing: -0.02em;
}

/* 搜索框 */
.header-search { flex-shrink: 0; }
.search-form {
  display: flex;
  align-items: center;
  background: var(--c-bg-warm);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.search-form:focus-within {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(92, 198, 176, 0.18);
}
.search-input {
  border: none;
  background: transparent;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  color: var(--c-text);
  width: 200px;
  outline: none;
}
.search-input::placeholder { color: var(--c-text-muted); }
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  background: transparent;
  border: none;
  color: var(--c-text-soft);
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
  transition: color 0.2s;
}
.search-btn:hover { color: var(--c-teal); }

/* 药丸胶囊导航：header > nav > a×n */
.pill-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 2rem;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.pill-nav::-webkit-scrollbar { display: none; }

.pill-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 400;
  font-family: var(--font-body);
  white-space: nowrap;
  color: var(--c-text-soft);
  background: transparent;
  border: 1.5px solid transparent;
  transition: background 0.18s var(--ease-out), color 0.18s, border-color 0.18s;
  min-height: 40px;
  text-decoration: none;
}
.pill-nav-link:hover {
  background: var(--c-sand-light);
  color: var(--c-dark);
  border-color: var(--c-sand);
}
.pill-nav-link.active {
  background: var(--c-dark);
  color: var(--c-teal-light);
  border-color: var(--c-dark);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 2rem;
  max-width: var(--content-max);
  margin: 0 auto;
  font-size: 0.875rem;
  color: var(--c-text-muted);
}
.bc-link {
  color: var(--c-teal-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.bc-link:hover { color: var(--c-dark); }
.bc-sep { color: var(--c-border); font-size: 0.8rem; }
.bc-current { color: var(--c-text-soft); }

/* ===== 首页 Hero ===== */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--c-dark);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text-col {
  padding-right: 3rem;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: 1.2rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--c-teal);
  border-radius: var(--radius-pill);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--c-sand);
  margin-bottom: 2rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 双图错位拼贴 */
.hero-media-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-collage {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.hero-img {
  border-radius: var(--radius-card);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.hero-img-primary {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 320px;
  z-index: 2;
}

.hero-img-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58%;
  height: 240px;
  z-index: 3;
  border: 4px solid var(--c-dark);
}

.hero-accent-block {
  position: absolute;
  top: 60px;
  left: 20px;
  width: 100px;
  height: 100px;
  background: var(--c-teal);
  border-radius: 50% 30% 50% 20%;
  opacity: 0.3;
  z-index: 1;
}

/* 色带斜切 */
.hero-slash {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--c-bg);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 3;
}

/* ===== 按钮 ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  background: var(--c-teal);
  color: var(--c-dark);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  min-height: 48px;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-organic), box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--c-teal-dim);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 198, 176, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  background: transparent;
  color: var(--c-sand);
  border-radius: var(--radius-pill);
  font-weight: 400;
  font-size: 0.95rem;
  border: 1.5px solid var(--c-dark-soft);
  cursor: pointer;
  min-height: 48px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--c-sand);
  color: #fff;
  background: rgba(212, 196, 168, 0.12);
}

.btn-full { width: 100%; }

/* ===== 正文容器：main > section > figure/aside 交错 ===== */
.content-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
  align-items: start;
}

.content-section--full {
  grid-template-columns: 1fr;
}

.content-figure {
  min-width: 0;
}

.content-figure--full {
  max-width: var(--prose-max);
}

/* 正文排版 */
.prose-content {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
}
.prose-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-dark);
  margin: 2.5rem 0 0.8rem;
  line-height: 1.3;
  border-bottom: 2px solid var(--c-teal);
  padding-bottom: 0.4rem;
}
.prose-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-dark-mid);
  margin: 2rem 0 0.6rem;
}
.prose-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text-soft);
  margin: 1.5rem 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.prose-content p { margin: 0 0 1.2rem; }
.prose-content ul, .prose-content ol {
  margin: 0 0 1.2rem 1.5rem;
}
.prose-content li { margin-bottom: 0.4rem; }
.prose-content a {
  color: var(--c-teal-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.prose-content a:hover { color: var(--c-dark); }
.prose-content blockquote {
  border-left: 3px solid var(--c-teal);
  padding: 0.6rem 1.2rem;
  margin: 1.5rem 0;
  background: var(--c-bg-warm);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-style: italic;
  color: var(--c-text-soft);
}
.prose-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--c-sand-light);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-xs);
  color: var(--c-dark);
}
.prose-content--narrow { max-width: var(--prose-max); }

/* 侧栏 */
.content-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.aside-block {
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-soft);
  padding: 1.2rem;
}

.aside-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 0.8rem;
}

.aside-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.aside-nav-link {
  display: block;
  padding: 0.45rem 0;
  color: var(--c-teal-dim);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--c-border-soft);
  text-decoration: none;
  transition: color 0.15s, padding-left 0.2s;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.aside-nav-link:hover {
  color: var(--c-dark);
  padding-left: 0.5rem;
}

/* ===== 服务卡片区域 ===== */
.services-section {
  background: var(--c-bg-warm);
  padding: 4rem 2rem;
}

.services-section .section-aside,
.children-section .section-aside,
.about-nav-section .section-aside {
  max-width: var(--content-max);
  margin: 0 auto 2rem;
  width: 100%;
}

.services-section .section-aside {
  text-align: center;
}

.services-figure {
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--c-text-soft);
  max-width: 55ch;
  margin: 0 auto;
}

/* 子页列表：table > tbody > tr > td */
.cards-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
}

.card-row { display: table-row; }

.card-cell {
  display: table-cell;
  padding: 0;
  vertical-align: top;
}

.service-card {
  display: block;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  border-bottom: 3px solid var(--c-teal);
  text-decoration: none;
  transition: box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out), border-color 0.2s;
  overflow: hidden;
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-bottom-color: var(--c-dark);
}

.card-inner {
  padding: 1.5rem;
}

.card-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--c-text-soft);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cta {
  font-size: 0.85rem;
  color: var(--c-teal-dim);
  font-weight: 600;
  font-family: var(--font-body);
}

/* 将 cards-table 改为网格以显示多列 */
@media (min-width: 640px) {
  .cards-table, .cards-table tbody { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .card-row { display: block; }
  .card-cell { display: block; }
}
@media (min-width: 900px) {
  .cards-table, .cards-table tbody { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Service 页面 Hero ===== */
.service-hero-section {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 0;
  max-width: var(--content-max);
  margin: 2rem auto 0;
  padding: 0 2rem;
  align-items: center;
}

.service-hero-figure {
  order: 2;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-hero-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-hero-aside {
  order: 1;
  padding-right: 3rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.service-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--c-dark);
  line-height: 1.2;
  margin: 0.6rem 0 0.8rem;
  letter-spacing: -0.02em;
}

.service-lead {
  color: var(--c-text-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 0.5rem;
  max-width: 50ch;
}

.article-date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
}

/* ===== 子页列表 (children-section) ===== */
.children-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

.children-figure {
  margin-top: 1.5rem;
}

.children-table {
  width: 100%;
  border-collapse: collapse;
}

.child-row {
  border-bottom: 1px solid var(--c-border-soft);
  transition: background 0.15s;
}
.child-row:first-child { border-top: 1px solid var(--c-border-soft); }
.child-row:hover { background: var(--c-bg-warm); }

.child-cell { padding: 0; }

.child-link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 1rem;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: var(--c-text);
  min-height: 44px;
  align-items: center;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, padding-left 0.2s;
}
.child-link:hover {
  border-bottom-color: var(--c-teal);
  padding-left: 1.5rem;
}

.child-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-dark);
  grid-column: 1;
  grid-row: 1;
}

.child-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-text-muted);
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}

.child-desc {
  font-size: 0.875rem;
  color: var(--c-text-soft);
  grid-column: 1;
  grid-row: 2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.child-arrow {
  grid-column: 2;
  grid-row: 2;
  color: var(--c-teal);
  font-size: 1rem;
  transition: transform 0.2s var(--ease-organic);
}
.child-link:hover .child-arrow { transform: translateX(4px); }

/* ===== 相关药丸 ===== */
.related-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  background: var(--c-sand-light);
  color: var(--c-dark-mid);
  border: 1px solid var(--c-sand);
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
  min-height: 40px;
}
.related-pill:hover {
  background: var(--c-teal);
  color: var(--c-dark);
  border-color: var(--c-teal);
}

/* ===== About 页 ===== */
.about-intro-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  max-width: var(--content-max);
  margin: 2rem auto 0;
  padding: 3rem 2rem;
  align-items: center;
}

.about-intro-aside { order: 1; }
.about-intro-figure { order: 2; position: relative; }

.about-hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.about-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--c-teal);
  border-radius: 40% 60% 50% 55%;
  opacity: 0.22;
  z-index: -1;
}

.about-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--c-dark);
  line-height: 1.2;
  margin: 0.6rem 0 0.8rem;
}

.about-lead {
  color: var(--c-text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 48ch;
  margin-bottom: 2rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-teal-dim);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  font-family: var(--font-mono);
}

.about-nav-section {
  background: var(--c-bg-warm);
  padding: 3rem 2rem;
}

.about-nav-figure {
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

/* ===== Contact 页 ===== */
.contact-section {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  max-width: var(--content-max);
  margin: 2rem auto;
  padding: 2rem 2rem 4rem;
  align-items: start;
}

.contact-intro-aside {
  background: var(--c-dark);
  color: var(--c-sand);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.contact-h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 0.6rem 0 0.8rem;
}

.contact-lead {
  color: var(--c-sand);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-dark-soft);
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-teal);
}

.contact-info-val {
  font-size: 0.9rem;
  color: var(--c-sand-light);
}

.contact-nav-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.contact-form-figure {
  padding-top: 0.5rem;
}

.contact-prose {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--c-border);
}

.contact-form-wrapper {
  background: var(--c-bg-warm);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid var(--c-border);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-soft);
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-soft);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  min-height: 44px;
}
.form-input:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(92, 198, 176, 0.15);
}

.form-select { appearance: none; cursor: pointer; }

.form-textarea {
  resize: vertical;
  min-height: 120px;
  height: auto;
}

/* ===== Privacy 页 ===== */
.privacy-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  max-width: var(--content-max);
  margin: 2rem auto;
  padding: 2rem 2rem 4rem;
  align-items: start;
}

.privacy-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.privacy-h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--c-dark);
  line-height: 1.25;
  margin: 0.6rem 0 0.8rem;
}

.privacy-lead {
  color: var(--c-text-soft);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.privacy-toc-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border);
}

.privacy-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.privacy-content-figure {
  min-width: 0;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--c-dark);
  color: var(--c-sand);
  padding: 3rem 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-dark-soft);
}

.footer-brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-about {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--c-sand-dark);
}

.footer-col-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-teal);
  margin-bottom: 1rem;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--c-sand-dark);
  text-decoration: none;
  padding: 0.35rem 0;
  min-height: 40px;
  transition: color 0.15s, padding-left 0.15s;
}
.footer-link:hover {
  color: var(--c-teal-light);
  padding-left: 0.4rem;
}

.footer-bottom {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.2rem 0;
  text-align: center;
}

.footer-copy {
  font-size: 0.825rem;
  color: var(--c-dark-soft);
  font-family: var(--font-mono);
}

/* ===== 动效：stagger list ===== */
@media (prefers-reduced-motion: no-preference) {
  .stagger-item {
    opacity: 0;
    transform: translateY(16px);
    animation: staggerIn 0.45s var(--ease-out) forwards;
    animation-delay: calc(var(--stagger-i, 0) * 80ms);
  }

  @keyframes staggerIn {
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-text-col {
    animation: fadeSlideUp 0.7s var(--ease-out) 0.1s both;
  }

  .hero-media-col {
    animation: fadeSlideUp 0.7s var(--ease-out) 0.25s both;
  }

  @keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .stagger-item { opacity: 1; transform: none; animation: none; }
  .hero-text-col, .hero-media-col { animation: none; }
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 5rem;
  }
  .hero-text-col { padding-right: 0; }
  .hero-media-col { display: none; }

  .service-hero-section {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }
  .service-hero-figure { order: -1; }
  .service-hero-aside { padding-right: 0; padding-top: 1.5rem; }

  .about-intro-section {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .about-intro-figure { order: -1; }
  .about-hero-img { height: 260px; }

  .contact-section {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .contact-intro-aside { position: static; }

  .privacy-section {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .privacy-aside { position: static; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .content-section {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .content-aside { display: none; }
}

@media (max-width: 640px) {
  .brand-bar {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .search-input { width: 130px; }

  .pill-nav { padding: 0.4rem 1rem; gap: 0.35rem; }
  .pill-nav-link { padding: 0.4rem 0.8rem; font-size: 0.8rem; }

  .hero-layout { padding: 2.5rem 1rem 4rem; }
  .hero-h1 { font-size: 1.8rem; }

  .services-section { padding: 2.5rem 1rem; }

  .children-section { padding: 2rem 1rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-stats { flex-wrap: wrap; gap: 1rem; }

  .breadcrumb { padding: 0.6rem 1rem; }

  .contact-section { padding: 1rem; }
  .privacy-section { padding: 1rem; }
  .content-section { padding: 1.5rem 1rem; }
}

/* ===== 页面标题（default layout） ===== */
.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--c-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* ===== 图片空容器容忍 ===== */
.hero-collage:empty { display: none; }
.service-hero-figure:empty { display: none; }
