/*
  Design Philosophy: 临床洁净主义（Clinical Clean Minimalism）。
  本样式文件复刻参考图的浅色实验室企业官网气质：白色/浅灰背景、深绿色品牌色、线性图标、柔和卡片阴影、克制动效。
  图片均使用 /images/*.jpg 或 /images/*.png 作为预留路径，用户后续可自行放置同名图片。
  注意：顶部导航栏和底部导航栏使用 main.css 中的通用样式。
*/

:root {
  --green-900: #064b33;
  --green-800: #07563b;
  --green-700: #0b6b4b;
  --green-600: #16835d;
  --green-100: #e8f5ef;
  --green-50: #f4fbf8;
  --ink: #17231f;
  --muted: #5c6b65;
  --line: #e8efec;
  --soft: #f7faf9;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 69, 49, 0.08);
  --radius: 6px;
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.hero {
  position: relative;
  min-height: 475px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 36%, rgba(255,255,255,.25) 66%, rgba(255,255,255,.08) 100%),
    linear-gradient(180deg, rgba(240,248,246,.55), rgba(255,255,255,.55)),
    #f4f9f8;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero::before {  position: absolute; right: 32px; bottom: 22px; color: rgba(6, 75, 51, .44); font-size: 12px; letter-spacing: .04em; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 63% 45%, rgba(190, 224, 211, .22), transparent 33%); pointer-events: none; }
.hero-content { position: relative; width: min(1380px, calc(100% - 72px)); margin: 0 auto; padding: 66px 0 44px; }
.eyebrow { margin: 0 0 12px; color: var(--green-700); font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.hero h1 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.06; font-weight: 800; color: #071410; }
.hero h2 { margin: 16px 0 28px; font-size: clamp(22px, 2.25vw, 34px); line-height: 1.2; font-weight: 800; color: var(--green-700); }
.hero-copy { width: min(540px, 100%); margin: 0; font-size: 16px; line-height: 2; color: #2e3d39; font-weight: 500; }
.hero-features { display: grid; grid-template-columns: repeat(4, 108px); gap: 34px; margin-top: 42px; }
.hero-features article { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--green-800); }
.hero-features strong { font-size: 13px; color: #22342f; }
.hero-features span { font-size: 12px; color: var(--muted); }

[data-icon] { width: 34px; height: 34px; color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; }
[data-icon] svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section { width: min(1260px, calc(100% - 92px)); margin: 0 auto; padding: 42px 0 0; }
.section-heading { text-align: center; margin: 0 auto 32px; width: min(760px, 100%); }
.section-heading h2 { margin: 0 0 16px; font-size: 28px; line-height: 1.25; color: #101c18; font-weight: 800; }
.section-heading p { margin: 0; font-size: 15px; line-height: 1.9; color: #52625d; }
.section-heading.compact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.section-heading.compact h2 { margin: 0; }
.section-heading.compact p { flex-basis: 100%; }
.ornament { width: 32px; height: 2px; background: var(--green-700); display: inline-block; position: relative; }
.ornament::before { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--green-700); top: 50%; transform: translateY(-50%); }
.ornament:first-child::before { right: -8px; }
.ornament:nth-child(3)::before { left: -8px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 30px 0 48px; }
.stat-card { min-height: 108px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 20px; box-shadow: 0 8px 28px rgba(22, 75, 58, 0.045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(22, 131, 93, .28); }
.stat-card strong { display: block; color: var(--green-700); font-family: "Space Grotesk", "Noto Sans SC", sans-serif; font-size: 30px; line-height: 1; }
.stat-card small { font-family: "Noto Sans SC", sans-serif; font-size: 14px; margin-left: 4px; }
.stat-card span { display: block; margin-top: 7px; color: #566761; font-size: 14px; }

.mission-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 34px; align-items: stretch; }
.image-panel { position: relative; margin: 0; min-height: 306px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #edf6f3, #ffffff); box-shadow: var(--shadow); }
.image-panel img { width: 100%; height: 100%; min-height: 306px; object-fit: cover; }
.image-panel figcaption { position: absolute; left: 16px; bottom: 12px; background: rgba(255,255,255,.84); color: var(--green-800); padding: 6px 10px; border-radius: 3px; font-size: 12px; }
.mission-panel { padding: clamp(30px, 4.5vw, 54px); background: linear-gradient(135deg, #ffffff 0%, #fbfdfc 100%); border: 1px solid #edf2f0; border-radius: var(--radius); box-shadow: 0 20px 55px rgba(22, 75, 58, .05); }
.mission-panel h3 { margin: 0 0 30px; font-size: 26px; font-weight: 800; color: #101c18; }
.mission-item { display: flex; gap: 18px; align-items: flex-start; margin: 0 0 26px; }
.mission-item:last-child { margin-bottom: 0; }
.mission-item strong { display: block; margin-bottom: 7px; color: #14241f; font-size: 16px; }
.mission-item p { margin: 0; color: #52625d; line-height: 1.8; font-size: 14px; }

.rd-section { padding-top: 52px; }
.rd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.rd-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 35px rgba(12, 68, 48, .055); transition: transform .24s ease, box-shadow .24s ease; }
.rd-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.rd-card img { width: 100%; aspect-ratio: 1.92 / 1; object-fit: cover; background: linear-gradient(135deg, #eef7f4, #ffffff); }
.rd-card div { padding: 18px 20px 17px; }
.rd-card h3 { margin: 0 0 8px; font-size: 17px; color: #13241f; }
.rd-card p { margin: 0; font-size: 13px; color: #5d6b66; line-height: 1.65; }
.rd-card small { display: block; margin-top: 9px; color: rgba(11, 107, 75, .68); font-size: 11px; }

.quality-section { padding-top: 44px; padding-bottom: 32px; }
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 22px 0 12px; }
.cert-grid article { min-height: 92px; display: grid; align-content: center; justify-items: center; gap: 8px; text-align: center; border-radius: var(--radius); transition: background .2s ease, transform .2s ease; }
.cert-grid article:hover { background: var(--green-50); transform: translateY(-3px); }
.cert-grid strong { color: #243631; font-size: 15px; }
.cert-grid span { color: #5c6b65; font-size: 12px; }

.sustainability { width: min(1260px, calc(100% - 92px)); margin: 20px auto 72px; min-height: 282px; display: grid; grid-template-columns: 1fr 1fr; background: #f5faf8; border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 45px rgba(22, 75, 58, .055); }
.sustain-image { min-height: 282px; background-image: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.7)), url('/assets/imgs/about/bottom-banner.png'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.sustain-copy { padding: clamp(34px, 4.6vw, 58px); background-image: linear-gradient(90deg, rgba(255,255,255,.86), rgba(255,255,255,.94)), url('/assets/imgs/about/bottom-banner.png'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.sustain-copy h2 { margin: 0 0 14px; font-size: 28px; font-weight: 800; }
.sustain-copy p { margin: 0 0 22px; color: #52625d; line-height: 1.85; font-size: 15px; }
.sustain-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sustain-copy li { position: relative; padding-left: 25px; color: #243631; font-size: 14px; }
.sustain-copy li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; border: 1.8px solid var(--green-700); background: radial-gradient(circle at center, var(--green-700) 2px, transparent 3px); }
.sustain-copy small { display: block; margin-top: 14px; color: rgba(11,107,75,.68); font-size: 12px; }

/* 注意：底部导航栏使用 main.css 中的通用样式 */


.reveal { opacity: 0; transform: translateY(16px); transition: opacity .58s ease, transform .58s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .section, .sustainability { width: min(100% - 44px, 1080px); }
  .rd-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; background-position: 58% center; }
  .hero-content { padding: 54px 0 38px; }
  .hero-features { grid-template-columns: repeat(2, minmax(112px, 1fr)); width: min(360px, 100%); gap: 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid, .sustainability { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid article:last-child { grid-column: span 2; }
}

@media (max-width: 620px) {
  .hero-content, .section, .sustainability { width: calc(100% - 28px); }
  .hero { background-position: center center; }
  .hero::before { left: 14px; right: auto; bottom: 12px; }
  .hero h1 { font-size: 34px; }
  .hero h2 { font-size: 22px; }
  .hero-copy { font-size: 14px; }
  .hero-features, .stats-grid, .rd-grid, .cert-grid { grid-template-columns: 1fr; }
  .cert-grid article:last-child { grid-column: auto; }
  .section { padding-top: 34px; }
  .section-heading h2, .mission-panel h3, .sustain-copy h2 { font-size: 24px; }
  .image-panel, .image-panel img, .sustain-image { min-height: 220px; }
  .mission-panel, .sustain-copy { padding: 26px 20px; }
}
