/* ================================================
   style.css — 益健药业官网
   Clean, professional pharmaceutical design
   ================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --green:        hsl(158, 52%, 40%);
  --green-light:  hsl(158, 55%, 52%);
  --green-pale:   hsl(158, 45%, 94%);
  --green-dark:   hsl(158, 55%, 28%);

  --blue:         hsl(210, 65%, 48%);
  --blue-pale:    hsl(210, 60%, 94%);

  --orange:       hsl(30,  75%, 55%);
  --orange-pale:  hsl(30,  70%, 94%);

  --teal:         hsl(185, 55%, 42%);
  --teal-pale:    hsl(185, 50%, 93%);

  --bg:           hsl(210, 18%, 98%);
  --surface:      #ffffff;
  --border:       hsl(210, 15%, 90%);

  --text:         hsl(220, 18%, 16%);
  --text-muted:   hsl(220, 12%, 48%);
  --text-inv:     #ffffff;

  --nav-h:        68px;
  --max-w:        1120px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-pill:  999px;

  --shadow-sm:  0 1px 4px  rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.09);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
  --trans:      .28s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img   { max-width:100%; display:block; }
a     { color:inherit; text-decoration:none; }
ul    { list-style:none; }
button { border:none; background:none; cursor:pointer; font:inherit; }

/* ---------- 通用工具 ---------- */
.section-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 96px 24px;
}
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  padding: .25rem .85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* 滚动淡入 */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   按钮
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .96rem;
  font-weight: 600;
  padding: .72rem 1.65rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: all var(--trans);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--text-inv);
  box-shadow: 0 4px 14px rgba(40,160,110,.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40,160,110,.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ================================================
   导航栏
   ================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  height: var(--nav-h);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,.97);
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .85rem;
}
.logo-accent { color: var(--green); }

/* 导航链接 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .2rem;
}
.nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .45rem .85rem;
  border-radius: var(--radius-pill);
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover,
.nav-link.active {
  color: var(--green);
  background: var(--green-pale);
}

/* 汉堡按钮（仅移动端） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--trans);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   首屏 Banner (Hero)
   ================================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  background: linear-gradient(150deg,
    hsl(158,30%,98%) 0%,
    hsl(210,20%,97%) 55%,
    hsl(30,30%,97%)  100%);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* 左侧文字 */
.hero-text { animation: slideUp .75s ease both; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-pale);
  border: 1px solid hsl(158,40%,84%);
  padding: .28rem .9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* 数据指标行 */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.metric {
  display: flex;
  flex-direction: column;
  padding-right: 2rem;
}
.metric-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
}
.metric-label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .15rem;
  white-space: nowrap;
}
.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin-right: 2rem;
  flex-shrink: 0;
}

/* 右侧图片 */
.hero-visual {
  animation: slideUp .75s .18s ease both;
  position: relative;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* 悬浮卡片 */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1.1rem;
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  animation: floatY 4s ease-in-out infinite;
  min-width: 164px;
}
.hero-float-card i { font-size: 1.2rem; }
.hero-float-card div { display: flex; flex-direction: column; gap: .1rem; }
.hero-float-card strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.hero-float-card span  { color: var(--text-muted); }
.hero-float-card--tl {
  top: -16px;
  left: -20px;
  animation-delay: 0s;
}
.hero-float-card--br {
  bottom: -16px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes slideUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ================================================
   关于我们
   ================================================ */
.about-section {
  background: var(--surface);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.about-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
}
.about-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.about-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.2rem;
}
.about-icon.green  { background: var(--green-pale);  color: var(--green); }
.about-icon.blue   { background: var(--blue-pale);   color: var(--blue);  }
.about-icon.orange { background: var(--orange-pale); color: var(--orange);}
.about-icon.teal   { background: var(--teal-pale);   color: var(--teal);  }
.about-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.about-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================================================
   研发创新
   ================================================ */
.research-section {
  background: linear-gradient(160deg,
    hsl(158,40%,96%) 0%,
    hsl(210,25%,97%) 100%);
}
.pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pipeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid hsl(158,40%,80%);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}
.step-icon.blue   { background: var(--blue-pale);  color: var(--blue);  border-color: hsl(210,50%,80%); }
.step-icon.orange { background: var(--orange-pale); color: var(--orange);border-color: hsl(30,60%,80%); }
.step-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, hsl(158,40%,80%), hsl(158,40%,90%));
  margin-top: 8px;
  margin-bottom: -4px;
}
.step-line.last { background: transparent; }
.pipeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  transition: box-shadow var(--trans), transform var(--trans);
}
.pipeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.pipeline-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.pipeline-content p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: .85rem;
}
.pipeline-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: var(--radius-pill);
}
.pipeline-badge.ongoing { background: var(--green-pale);  color: var(--green-dark); }
.pipeline-badge.active  { background: var(--orange-pale); color: hsl(30,70%,35%);   }

/* ================================================
   新闻中心
   ================================================ */
.news-section { background: var(--surface); }
.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.news-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.news-card.featured { grid-row: span 2; display: flex; flex-direction: column; }
.news-img-wrap {
  position: relative;
  overflow: hidden;
}
.news-img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-img-wrap.small img { height: 160px; }
.news-card:hover .news-img-wrap img { transform: scale(1.04); }
.news-card.featured .news-img-wrap img { height: 300px; }
.news-category {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: var(--green);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: var(--radius-pill);
  letter-spacing: .04em;
}
.news-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-date {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .6rem;
  display: block;
}
.news-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: .6rem;
}
.news-card.featured .news-body h3 { font-size: 1.2rem; }
.news-body p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}
.news-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--trans);
}
.news-link:hover { gap: .6rem; }

/* ================================================
   联系我们
   ================================================ */
.contact-section {
  background: linear-gradient(160deg,
    hsl(210,20%,97%) 0%,
    hsl(158,35%,96%) 100%);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: box-shadow var(--trans);
}
.contact-item:hover { box-shadow: var(--shadow-md); }
.contact-icon {
  width: 38px;
  height: 38px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item div { display: flex; flex-direction: column; gap: .15rem; }
.contact-item strong { font-size: .88rem; font-weight: 700; }
.contact-item span   { font-size: .85rem; color: var(--text-muted); }

/* 表单 */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .3rem; }
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  padding: .72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px hsla(158,52%,40%,.14);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

/* ================================================
   页脚
   ================================================ */
.footer {
  background: hsl(222, 22%, 12%);
  color: rgba(255,255,255,.55);
}
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p {
  font-size: .88rem;
  line-height: 1.8;
  color: rgba(255,255,255,.45);
  margin-top: .75rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links h5 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: .35rem;
}
.footer-links a,
.footer-links span {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--green-light); }
.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 1.25rem 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: .5rem;
}


/* ================================================
   响应式系统 — 全平台适配
   ≥1400  大屏桌面
   ≤1024  笔记本 / 小桌面
   ≤900   平板横屏
   ≤768   平板竖屏 / 移动端
   ≤600   手机竖屏
   ≤480   小屏手机
   landscape+short 手机横屏
   ================================================ */

/* —— 大屏 ≥1400px —————————————————————————— */
@media (min-width: 1400px) {
  :root { --max-w: 1280px; }
  .hero-img   { height: 500px; }
  .hero-title { font-size: 3.4rem; }
  .about-grid { gap: 1.5rem; }
}

/* —— 笔记本 ≤1024px ————————————————————————— */
@media (max-width: 1024px) {
  :root { --max-w: 920px; }

  .hero-inner    { gap: 40px; padding-block: 64px; }
  .hero-img      { height: 360px; }
  .hero-title    { font-size: clamp(1.8rem, 4vw, 2.8rem); }

  .about-grid    { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* 新闻：featured 横排，其余两张各占1列 */
  .news-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .news-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }
  .news-card.featured .news-img-wrap img { height: 100%; min-height: 220px; }
  .news-card.featured .news-body         { padding: 1.75rem; }

  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
}

/* —— 平板横屏 ≤900px ———————————————————————— */
@media (max-width: 900px) {
  :root { --nav-h: 62px; }

  /* Hero → 单列居中 */
  .hero         { min-height: auto; }
  .hero-inner   {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 52px 32px 64px;
    gap: 32px;
  }
  .hero-visual  { order: -1; }
  .hero-img     { height: 280px; }
  .hero-float-card--tl { top: -10px; left: 10px; }
  .hero-float-card--br { bottom: -10px; right: 10px; }
  .hero-eyebrow  { display: inline-flex; }
  .hero-desc     { margin-inline: auto; max-width: 500px; }
  .hero-actions  { justify-content: center; }
  .hero-metrics  { justify-content: center; }
  .hero-title    { font-size: clamp(1.75rem, 5vw, 2.6rem); }

  .section-inner { padding: 72px 32px; }
  .section-sub   { margin-inline: auto; }

  /* News → 1列 */
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured {
    display: flex;
    flex-direction: column;
    grid-column: auto;
  }
  .news-card.featured .news-img-wrap img { height: 240px; }
  .news-card.featured .news-body         { padding: 1.5rem; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info   { order: 2; }
  .contact-form   { order: 1; }

  /* Footer */
  .footer-inner   { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .footer-brand   { grid-column: span 2; }
}

/* —— 平板竖屏 / 移动端 ≤768px ——————————————— */
@media (max-width: 768px) {
  /* 导航：汉堡菜单 */
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: .2rem;
    z-index: 199;
  }
  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; padding: .72rem 1rem; font-size: .98rem; border-radius: var(--radius); }

  /* Hero */
  .hero-inner    { padding: 44px 24px 52px; gap: 28px; }
  .hero-title    { font-size: clamp(1.65rem, 6vw, 2.4rem); }
  .hero-img      { height: 240px; }

  /* Pipeline */
  .pipeline-item  { grid-template-columns: 48px 1fr; gap: .8rem; }
  .step-icon      { width: 40px; height: 40px; font-size: .95rem; }
  .pipeline-content { padding: 1.25rem 1.25rem; }

  /* About */
  .about-grid   { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .about-card   { padding: 1.5rem 1.1rem; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner  { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand  { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .4rem; }
}

/* —— 手机竖屏 ≤600px ————————————————————————— */
@media (max-width: 600px) {
  :root { --nav-h: 56px; }

  .section-inner { padding: 52px 18px; }
  .section-title { font-size: clamp(1.45rem, 6.5vw, 2rem); }
  .section-sub   { font-size: .93rem; }

  /* Hero */
  .hero-inner    { padding: 36px 18px 48px; gap: 24px; }
  .hero-float-card { display: none; }
  .hero-img      { height: 200px; }
  .hero-title    { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero-desc     { font-size: .93rem; }
  .hero-metrics  { flex-wrap: wrap; gap: .6rem 1.4rem; }
  .metric-divider { display: none; }
  .hero-actions  { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* About → 1列 */
  .about-grid  { grid-template-columns: 1fr; }
  .about-card  { padding: 1.25rem 1rem; }
  .about-icon  { width: 50px; height: 50px; font-size: 1.1rem; }

  /* News */
  .news-img-wrap img,
  .news-img-wrap.small img              { height: 170px; }
  .news-card.featured .news-img-wrap img { height: 190px; }
  .news-body { padding: 1.1rem; }

  /* Pipeline */
  .pipeline-item    { grid-template-columns: 40px 1fr; gap: .6rem; }
  .step-icon        { width: 36px; height: 36px; font-size: .85rem; }
  .pipeline-content { padding: 1rem 1rem; }

  /* Contact */
  .contact-form  { padding: 1.1rem; gap: .85rem; }
  .contact-item  { padding: .8rem .9rem; gap: .75rem; }
  .contact-icon  { width: 34px; height: 34px; }

  /* Footer */
  .footer-inner  { padding: 44px 18px 28px; }
  .footer-bottom { font-size: .78rem; }
}

/* —— 小屏手机 ≤480px ———————————————————————— */
@media (max-width: 480px) {
  html { font-size: 15px; }

  .nav-inner  { padding-inline: 14px; }
  .nav-logo   { font-size: 1.08rem; }
  .logo-icon  { width: 28px; height: 28px; font-size: .75rem; border-radius: 7px; }

  .section-inner { padding: 44px 14px; }

  .hero-inner { padding: 32px 14px 42px; }
  .hero-title { font-size: clamp(1.35rem, 7.5vw, 1.75rem); }
  .btn        { font-size: .86rem; padding: .62rem 1.2rem; }

  .about-card       { padding: 1.1rem .9rem; }
  .news-body        { padding: 1rem; }
  .pipeline-content { margin-bottom: 1rem; }
  .contact-form     { padding: .9rem; }
}

/* —— 手机横屏（landscape + 屏高 < 500px）——————— */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --nav-h: 50px; }

  /* 横屏恢复左右双列布局 */
  .hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    padding: 28px 24px 36px;
    gap: 24px;
  }
  .hero-visual  { order: 0; }
  .hero-img     { height: 180px; }
  .hero-float-card { display: none; }
  .hero-actions { justify-content: flex-start; flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .hero-metrics { justify-content: flex-start; flex-wrap: nowrap; }
  .hero-desc    { margin-inline: 0; max-width: 100%; font-size: .88rem; }

  .section-inner { padding: 40px 24px; }

  /* 横屏下 about 改4列 */
  .about-grid { grid-template-columns: repeat(4, 1fr); gap: .75rem; }
  .about-card { padding: 1rem .85rem; }

  /* 联系表单横屏恢复双列 */
  .contact-layout { grid-template-columns: 1fr 1.4fr; }
  .contact-info   { order: 0; }
  .contact-form   { order: 0; }

  /* 新闻横屏2列 */
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: auto; display: flex; flex-direction: column; }

  /* 导航下拉用 absolute 不遮内容 */
  .nav-menu {
    position: absolute;
    top: var(--nav-h);
  }
}



