/* 武鑫（海南）健康科技有限公司 官网
   色值取自宣传册标准绿 #009944 与 logo 黄绿 #BED500；
   文字与按钮用加深的 #00703A（白底对比度 6.0:1），#009944 只用于大面积色块和细线。 */
:root {
  --green: #009944;
  --green-ink: #00703A;
  --green-deep: #0B3B24;
  --lime: #BED500;
  --ink: #18231D;
  --text: #33413A;
  --muted: #5A6760;
  --line: #D9E2DC;
  --tint: #F2F6F1;
  --white: #FFFFFF;
  --r-s: 4px;
  --r-m: 8px;
  --pack-photo-width: 11.5rem;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); }
a:focus, button:focus { outline: 2px solid var(--green-ink); outline-offset: 2px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 20; background: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; top: 8px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; }
h2 { font-size: 30px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }
p { margin: 0; }
sup { font-size: 0.6em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 顶栏：实色底，不做毛玻璃 */
.top { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; height: 68px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: auto; margin-right: 10px; }
.brand__name { font-size: 17px; font-weight: 600; white-space: nowrap; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; margin-left: 28px; }
.nav a:hover { color: var(--green-ink); }
.nav a.is-current { color: var(--green-ink); font-weight: 600; box-shadow: 0 2px 0 var(--green); }
.top__tel { margin-left: 32px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--green-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-btn { display: none; }

/* 首屏：照片向右出血，是全页唯一的破格处——它是真实案例，最能说明公司做的事 */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__in { display: flex; align-items: stretch; min-height: 560px; }
.hero__text { width: 50%; padding: 72px 48px 56px 0; }
.hero h1 { font-size: 44px; font-weight: 700; letter-spacing: 0.01em; }
.hero__lead { margin-top: 20px; font-size: 18px; color: var(--text); max-width: 30em; }
.hero__actions { margin-top: 32px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: var(--r-s); font-size: 16px; font-weight: 600; text-decoration: none; margin: 0 12px 12px 0; transition: background-color .15s, color .15s; }
.btn--main { background: var(--green-ink); color: var(--white); }
.btn--main:hover { background: var(--green-deep); }
.btn--line { border: 1px solid var(--green-ink); color: var(--green-ink); padding: 11px 21px; }
.btn--line:hover { background: var(--tint); }
.lines { margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.lines div { padding: 14px 16px 12px 0; border-bottom: 1px solid var(--line); }
.lines dt a { font-weight: 600; text-decoration: none; }
.lines dt a:hover { text-decoration: underline; }
.lines dd { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.hero__photo { margin: 0 calc(-1 * (100vw - 1200px) / 2 - 24px) 0 0; width: 50%; flex: 1 0 auto; align-self: center; position: relative; background: var(--tint); }
.hero__photo img { width: 100%; max-height: 70vh; object-fit: cover; object-position: 30% 50%; }
.hero__photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--white); color: var(--text); font-size: 14px; padding: 6px 12px; border-top-right-radius: var(--r-s); }

/* 区块节奏：主业务区块间距 112px，其余 88px，组内 16–24px */
.sec { padding: 88px 0; }
.sec--main { padding: 112px 0; }
.sec--tint { background: var(--tint); }
.sec__head { max-width: 760px; margin-bottom: 48px; }
.sec__head p { margin-top: 16px; font-size: 17px; }
.sec--main .sec__head h2 { font-size: 34px; }
.sub { margin: 56px 0 18px; font-size: 20px; }
.sec__head + .sub { margin-top: 0; }
.sub small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 10px; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 44em; }

/* 流程链：顺序有意义，所以用编号 */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: c; border-top: 3px solid var(--green); }
.chain li { counter-increment: c; padding: 18px 24px 4px 0; position: relative; }
.chain li::before { content: counter(c); display: block; font-size: 14px; font-weight: 600; color: var(--green-ink); margin-bottom: 4px; }
.chain li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.chain b { display: block; font-size: 22px; color: var(--ink); font-weight: 700; }
.chain span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.2fr 1fr; grid-column-gap: 64px; }
.duties { margin: 0; }
.duties div { display: flex; padding: 14px 0; border-top: 1px solid var(--line); }
.duties div:last-child { border-bottom: 1px solid var(--line); }
.duties dt { width: 7em; flex: 0 0 7em; font-weight: 600; color: var(--ink); }
.duties dd { margin: 0; }
.steps { margin: 0; padding: 0 0 0 1.4em; }
.steps li { padding: 6px 0 6px 4px; }
.steps li::marker { color: var(--green-ink); font-weight: 600; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 28px; }
.tbl td:first-child { color: var(--ink); font-weight: 600; }
.tbl--plans { max-width: 720px; }
.tbl--products { table-layout: fixed; }
.tbl--products .c-name { width: 25%; }
.tbl--products .c-cat { width: 19%; }
.tbl--products .c-num { width: 9%; }
.tbl--plans td:first-child { white-space: nowrap; }
.tbl--products td:nth-child(2) { color: var(--muted); font-size: 14px; white-space: nowrap; }


.case { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 56px; margin-top: 72px; align-items: start; }
.case figure { margin: 0; }
.case img { border-radius: var(--r-m); }
.case .sub { margin-top: 0; }
.case h4 { margin-top: 28px; font-size: 16px; }
.hospitals { list-style: none; margin: 10px 0 0; padding: 0; columns: 2; column-gap: 28px; font-size: 15px; }
.hospitals li { padding: 5px 0; break-inside: avoid; border-bottom: 1px solid var(--line); }
.partners { margin-top: 16px; }
.partners p { max-width: 42em; }

.boxes { list-style: none; margin: 0; padding: 0; }
.boxes li { display: flex; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--line); }
.boxes li:last-child { border-bottom: 1px solid var(--line); }
.boxes img { width: var(--pack-photo-width); flex: 0 0 var(--pack-photo-width); margin-right: 32px; }
.boxes h4 { font-size: 18px; }
.boxes .meta { margin: 4px 0 8px; font-size: 14px; color: var(--muted); }
.boxes p { max-width: 40em; }

.device { display: flex; align-items: flex-start; padding: 40px 0; border-top: 1px solid var(--line); }
.device__img { width: 240px; flex: 0 0 240px; margin-right: 56px; mix-blend-mode: multiply; }
.device--wide .device__img { width: 340px; flex-basis: 340px; }
.device__body { flex: 1; min-width: 0; }
.device__body > p { margin: 12px 0 20px; max-width: 40em; }
.device h3 { font-size: 24px; }
.model { font-size: 15px; font-weight: 600; color: var(--green-ink); margin-left: 8px; }
.tbl--spec { max-width: 560px; }
.tbl--spec th { width: 8em; font-weight: 400; color: var(--muted); font-size: 14px; }
.tbl--spec td:first-child { font-weight: 400; color: var(--text); }
.models { margin: 24px 0 0; max-width: 560px; }
.models div { display: flex; padding: 10px 0; border-top: 1px solid var(--line); }
.models dt { width: 8em; flex: 0 0 8em; font-weight: 600; color: var(--green-ink); }
.models dd { margin: 0; }
.support { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 8px; }
.support .sub { margin-top: 32px; }
.support__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 12px 48px; max-width: 1000px; }
.support__list b { display: block; font-size: 20px; color: var(--green-ink); }
.consum { margin-top: 28px; max-width: 760px; }
.consum dt { width: 9em; flex-basis: 9em; }

/* 手机端底部固定的电话入口；桌面端顶栏已有电话，不显示 */
.callbar { display: none; }

.app { display: flex; align-items: flex-start; }
.app__text { width: 42%; flex: 0 0 42%; margin-right: 56px; }
.app__text > p { margin-top: 16px; font-size: 17px; }
.app__text .sub { margin: 32px 0 10px; font-size: 18px; }
.ticks { margin: 0; padding: 0 0 0 1.2em; }
.ticks li { padding: 3px 0; }
.ticks li::marker { color: var(--green); }
.phones { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 20px; }
.phones figure { margin: 0; }
.phones img { border-radius: var(--r-m); border: 1px solid var(--line); }
.phones figure:nth-child(2) { margin-top: 48px; }
.case figcaption, .phones figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

.sec--dark { background: var(--green-deep); color: #D7E4DB; }
.sec--dark h2 { color: var(--white); font-size: 26px; }
.contact { display: grid; grid-template-columns: 1.3fr 1fr; grid-column-gap: 80px; }
.contact__about p { margin-top: 16px; max-width: 36em; }
.contact__info dl { margin: 16px 0; }
.contact__info dl div { display: flex; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); }
.contact__info dt { width: 4em; flex: 0 0 4em; color: #A9C2B3; }
.contact__info dd { margin: 0; color: var(--white); }
.contact__info dd a { color: var(--white); font-size: 22px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact__info p { font-size: 15px; }
.sec--dark a:focus { outline-color: var(--lime); }

.foot { background: #072818; color: #9DB5A7; font-size: 14px; }
.foot__in { display: flex; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.foot__in a + a { margin-left: 24px; }
.foot__in span { margin-right: auto; }
.foot a { color: #9DB5A7; }

@media (max-width: 1248px) {
  .hero__photo { margin-right: -24px; }
}

@media (max-width: 1080px) {
  .nav a { margin-left: 18px; }
  .top__tel { display: none; }
  .split, .case, .contact { grid-template-columns: 1fr; }
  .split > div + div, .case__text, .contact__info { margin-top: 48px; }
  .app { display: block; }
  .app__text { width: auto; margin: 0 0 40px; }
}

@media (max-width: 860px) {
  .top__in { height: 60px; }
  .brand__name { font-size: 15px; }
  .menu-btn { display: block; margin-left: 12px; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); font: inherit; font-size: 15px; color: var(--ink); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--white); border-bottom: 1px solid var(--line); padding: 4px 24px 12px; }
  .nav.is-open { display: block; }
  .nav a { display: block; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
  .hero__in { display: block; min-height: 0; }
  .hero__text { width: auto; padding: 40px 0 32px; }
  .hero h1 { font-size: 30px; }
  .hero__lead { font-size: 17px; }
  .hero__photo { width: auto; margin: 0 -24px; }
  .hero__photo img { height: 260px; max-height: none; }
  .sec { padding: 64px 0; }
  .sec--main { padding: 72px 0; }
  h2, .sec--main .sec__head h2 { font-size: 26px; }
  .chain { grid-template-columns: 1fr 1fr; }
  .chain li:nth-child(3) { padding-left: 0; border-left: 0; }
  .device, .device--wide { display: block; }
  .device__img, .device--wide .device__img { width: 200px; margin: 0 0 24px; }
  .device--wide .device__img { width: 300px; }
  .support__list { grid-template-columns: 1fr; }
  .phones { grid-gap: 10px; }
  .phones figure:nth-child(2) { margin-top: 24px; }
  html { scroll-padding-top: 60px; }
  .nav a.is-current { box-shadow: none; }
  .callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: var(--green-ink); color: var(--white); text-align: center; font-weight: 600; font-size: 16px; padding: 13px 16px; padding-bottom: calc(13px + env(safe-area-inset-bottom)); text-decoration: none; font-variant-numeric: tabular-nums; }
  .callbar:focus { outline-color: var(--lime); outline-offset: -4px; }
  .callbar.is-on { display: block; }
  .foot { padding-bottom: 52px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero__photo { margin: 0 -18px; }
  .brand__name { font-size: 14px; white-space: normal; line-height: 1.3; }
  .lines { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr; border-top-width: 2px; }
  .chain li, .chain li + li { padding: 14px 0 6px; border-left: 0; border-bottom: 1px solid var(--line); }
  .duties div, .models div { display: block; }
  .duties dt, .models dt, .consum dt { width: auto; }
  .hospitals { columns: 1; }
  .boxes li { display: block; }
  .boxes img { margin: 0 0 14px; }
  /* 产品表在窄屏改为逐行堆叠，避免横向滑动 */
  .tbl--products thead { display: none; }
  .tbl--products, .tbl--products tbody, .tbl--products tr, .tbl--products td { display: block; width: auto; }
  .tbl--products tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tbl--products td { border: 0; padding: 1px 0; text-align: left; }
  .tbl--products td.num { display: inline-block; padding-right: 16px; font-size: 14px; }
  .tbl--products td.num:nth-child(3)::before { content: "能量 "; color: var(--muted); }
  .tbl--products td.num:nth-child(3)::after { content: " kJ"; color: var(--muted); }
  .tbl--products td.num:nth-child(4)::before { content: "蛋白质 "; color: var(--muted); }
  .tbl--products td.num:nth-child(4)::after { content: " g"; color: var(--muted); }
  .tbl--products td:last-child { min-width: 0; font-size: 14px; }
  .phones { grid-template-columns: 1fr 1fr; }
  .phones figure:nth-child(2) { margin-top: 0; }
  .phones figure:nth-child(3) { display: none; }
  .foot__in { display: block; }
  .foot__in a { display: inline-block; margin: 6px 24px 0 0; }
  .foot__in a + a { margin-left: 0; }
}
