/* ==========================================================
   意如愿 · 药店收银系统 官网样式
   设计风格:简洁 / 药店绿 / 圆角卡片
   ========================================================== */

/* ---------- 变量与基础 ---------- */
:root {
  --primary: #059669;        /* 主色:药店绿 */
  --primary-dark: #047857;
  --primary-deep: #065f46;
  --teal: #0d9488;           /* 辅助:药感青 */
  --green-50: #f0faf5;
  --green-100: #d1fae5;
  --green-border: #cdeee2;
  --ink-1: #10241d;          /* 标题色 */
  --text-2: #45564f;         /* 正文色 */
  --text-3: #7d8f88;         /* 弱化文字 */
  --border: #e3efe9;
  --bg-soft: #f5faf7;
  --shadow-card: 0 16px 40px rgba(6, 95, 70, .10);
  --radius: 16px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 { color: var(--ink-1); line-height: 1.35; font-weight: 700; }

::selection { background: var(--green-100); color: var(--primary-deep); }

:focus-visible { outline: 3px solid rgba(5, 150, 105, .4); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }

/* 药店十字暗纹 */
.cross-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 13v14M13 20h14' stroke='%23059669' stroke-opacity='.10' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(5, 150, 105, .28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(5, 150, 105, .34); }
.btn-ghost { background: #fff; color: var(--ink-1); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(6, 95, 70, .10); }

.header-inner { display: flex; align-items: center; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 19px; letter-spacing: 2px; color: var(--ink-1); }
.logo-text small { font-size: 11px; color: var(--text-3); letter-spacing: .18em; }

.main-nav { margin-left: auto; display: flex; gap: 34px; }
.main-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .2s;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}
.nav-cta { margin-left: 38px; padding: 10px 24px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink-1); transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */
.hero {
  padding: 68px 0 96px;
  background:
    radial-gradient(620px 320px at 88% 6%, rgba(13, 148, 136, .10), transparent 62%),
    radial-gradient(520px 320px at 4% 96%, rgba(5, 150, 105, .09), transparent 62%),
    #fff;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--green-50);
  border: 1px solid var(--green-border);
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: .06em;
}
.eyebrow svg { width: 14px; height: 14px; }

.hero-title { font-size: 46px; line-height: 1.28; letter-spacing: .5px; margin-bottom: 20px; }
.hero-title em {
  font-style: normal;
  color: var(--primary);
  background: linear-gradient(transparent 64%, var(--green-100) 64%);
}
.hero-sub { font-size: 17px; color: var(--text-2); line-height: 1.9; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 26px; font-size: 13.5px; color: var(--text-3); }
.hero-note span::before { content: "✓"; color: var(--primary); font-weight: 700; margin-right: 7px; }

/* 收银台演示窗 */
.hero-visual { position: relative; }
.pos-window {
  max-width: 470px;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(6, 95, 70, .16);
  overflow: hidden;
}
.pos-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: #fbfdfc;
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; }
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.pos-title { font-size: 13px; color: var(--text-3); }
.pos-body { padding: 16px 22px 22px; }
.pos-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.pos-row span:first-child { flex: 1; color: var(--text-2); }
.pos-row .qty { color: var(--text-3); font-size: 13px; }
.pos-row b { color: var(--ink-1); font-variant-numeric: tabular-nums; }
.pos-total { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0 4px; font-weight: 700; color: var(--ink-1); }
.pos-total .amount { color: var(--primary); font-size: 24px; font-variant-numeric: tabular-nums; }
.pay-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.pay-pill {
  font-size: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--green-50);
  border: 1px solid var(--green-border);
  color: var(--primary-deep);
}
.pay-pill.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.pos-cta {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.pos-cta:hover { background: var(--primary-dark); }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 14px 34px rgba(6, 95, 70, .16);
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
  line-height: 1.45;
  animation: bob 5.5s ease-in-out infinite;
}
.float-badge small { display: block; font-size: 11.5px; font-weight: 400; color: var(--text-3); }
.float-badge .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
}
.float-badge .ic svg { width: 20px; height: 20px; }
.badge-1 { top: -22px; right: -12px; }
.badge-2 { bottom: -24px; left: -16px; animation-delay: 1.6s; }
.badge-3 { bottom: -24px; right: 30px; animation-delay: 3.1s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- 数据条 ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--primary-deep), var(--teal));
  padding: 46px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { font-size: 36px; color: #fff; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.stat b i { font-style: normal; font-size: 21px; margin-left: 2px; }
.stat span { display: block; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .74); }

/* ---------- 区块标题 ---------- */
.section-head { max-width: 660px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: 32px; margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 16px; }
.section-head .small-note { display: block; margin-top: 10px; font-size: 12.5px; color: var(--text-3); }

/* ---------- 卡片网格 ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: rgba(5, 150, 105, .35); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-2); line-height: 1.8; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }

/* 勾选列表 */
.check-list li { display: flex; gap: 10px; padding: 7px 0; font-size: 15px; color: var(--text-2); }
.check-list svg { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 5px; }

/* ---------- 产品卡 ---------- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.product-card.featured { border: 2px solid var(--primary); box-shadow: 0 24px 60px rgba(5, 150, 105, .14); }
.product-card h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.product-card .fit { font-size: 13.5px; color: var(--text-3); margin-bottom: 18px; }
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--green-50);
  border: 1px solid var(--green-border);
  color: var(--primary-deep);
}
.pill.hot { background: var(--primary); border-color: var(--primary); color: #fff; }
.product-card .check-list { margin-bottom: 24px; }
.product-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.price-hint { font-size: 13px; color: var(--text-3); }

/* ---------- 左右分栏(图文) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-copy h2 { font-size: 30px; margin: 14px 0 16px; }
.split-copy > p { font-size: 15.5px; line-height: 1.9; margin-bottom: 18px; }
.split-copy .btn { margin-top: 16px; }

.media-stack { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.media-main {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: 22px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
}
.media-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 13v14M13 20h14' stroke='%23ffffff' stroke-opacity='.14' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.media-main b { position: relative; font-size: 26px; line-height: 1.45; }
.media-main span { position: relative; margin-top: 8px; font-size: 14px; opacity: .85; }
.media-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 14px 34px rgba(6, 95, 70, .16);
  padding: 13px 18px;
  line-height: 1.5;
}
.media-float .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--green-50); color: var(--primary); display: grid; place-items: center; flex: none; }
.media-float .ic svg { width: 20px; height: 20px; }
.media-float b { display: block; font-size: 15px; color: var(--ink-1); }
.media-float small { font-size: 12px; color: var(--text-3); }
.mf-1 { top: -22px; left: -26px; }
.mf-2 { bottom: -24px; right: -16px; }

/* ---------- 新闻卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { display: flex; flex-direction: column; gap: 12px; }
.news-meta { display: flex; align-items: center; justify-content: space-between; }
.news-date { font-size: 13px; color: var(--text-3); }
.news-card h3 { font-size: 17px; line-height: 1.55; }
.news-card h3:hover { color: var(--primary); }
.news-excerpt {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  align-self: flex-start;
  transition: gap .2s;
}
.news-more:hover { gap: 11px; }
.news-more svg { width: 16px; height: 16px; }
.news-more.link { color: var(--primary); }
.center-link { text-align: center; margin-top: 40px; }

/* 新闻筛选 */
.news-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.news-filter button {
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  font-size: 14px;
  cursor: pointer;
  transition: all .25s;
}
.news-filter button:hover { border-color: var(--primary); color: var(--primary); }
.news-filter button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.hide { display: none !important; }

/* 新闻弹窗 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 36, 27, .55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-box {
  position: relative;
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 680px;
  max-height: 82vh;
  overflow: auto;
  padding: 40px 42px 36px;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--text-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .2s;
}
.modal-close:hover { color: var(--primary); border-color: var(--primary); }
.modal-close svg { width: 16px; height: 16px; }
.modal-tag { margin-bottom: 12px; }
.modal-title { font-size: 22px; line-height: 1.5; margin-bottom: 8px; padding-right: 40px; }
.modal-meta { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.modal-content p { font-size: 15px; line-height: 1.95; margin-bottom: 14px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--teal));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
}
.tl-year { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.tl-item p { font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  margin-bottom: 13px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: rgba(5, 150, 105, .45); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-1);
  cursor: pointer;
}
.faq-q svg { width: 18px; height: 18px; color: var(--primary); flex: none; transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.9; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.info-card {
  display: flex;
  gap: 15px;
  padding: 21px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 16px;
  transition: border-color .25s, box-shadow .25s;
}
.info-card:hover { border-color: rgba(5, 150, 105, .4); box-shadow: var(--shadow-card); }
.info-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
}
.info-card .ic svg { width: 22px; height: 22px; }
.info-card b { display: block; font-size: 15px; color: var(--ink-1); margin-bottom: 3px; }
.info-card p { font-size: 14px; line-height: 1.7; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(6, 95, 70, .07);
}
.contact-form h3 { font-size: 20px; margin-bottom: 6px; }
.contact-form .form-tip { font-size: 13.5px; color: var(--text-3); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-1); margin-bottom: 8px; }
.field label i { font-style: normal; color: #e11d48; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink-1);
  background: #fbfdfc;
  transition: all .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .13);
  background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-3); margin-top: 12px; }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--green-50);
  border: 1px solid var(--green-border);
  color: var(--primary-deep);
  font-size: 14px;
  align-items: center;
  gap: 10px;
}
.form-success svg { width: 20px; height: 20px; flex: none; }
.form-success.show { display: flex; }

.map-placeholder {
  margin-top: 56px;
  min-height: 300px;
  border: 1.5px dashed #bfe3d3;
  border-radius: 18px;
  background: var(--green-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: var(--text-3);
  font-size: 14px;
}
.map-placeholder svg { width: 36px; height: 36px; color: var(--primary); }
.map-placeholder b { color: var(--ink-1); font-size: 15px; }
.map-addr { color: var(--ink-2); font-size: 15px; margin: 2px 0 0; }
.map-nav-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---------- 底部 CTA 条 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--primary-deep), var(--teal));
  border-radius: 24px;
  padding: 54px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 13v14M13 20h14' stroke='%23ffffff' stroke-opacity='.09' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .82); font-size: 15px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a2c21; color: rgba(255, 255, 255, .72); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 44px;
  padding: 64px 0 48px;
}
.footer-logo .logo-text b { color: #fff; }
.footer-logo .logo-text small { color: rgba(255, 255, 255, .5); }
.footer-desc { font-size: 14px; line-height: 1.9; margin-top: 18px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .05em; }
.footer-col > a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(255, 255, 255, .72);
  transition: color .2s;
}
.footer-col > a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; padding: 5px 0; line-height: 1.7; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 5px; opacity: .75; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, .8);
  text-decoration: underline;
}

/* ---------- 页内横幅(子页面) ---------- */
.page-banner {
  padding: 76px 0 60px;
  background:
    radial-gradient(520px 260px at 90% 10%, rgba(13, 148, 136, .12), transparent 60%),
    radial-gradient(420px 240px at 6% 90%, rgba(5, 150, 105, .10), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-size: 36px; margin-bottom: 12px; }
.page-banner p { color: var(--text-2); font-size: 16px; max-width: 620px; }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: rise .7s cubic-bezier(.16, .84, .44, 1) backwards; animation-delay: var(--d, 0ms); }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; }
  .reveal.in { animation: none; }
  .float-badge { animation: none; }
  .btn, .card, .product-card, .info-card { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 52px; }
  .split-copy { max-width: 640px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .badge-2 { left: -10px; }
}

@media (max-width: 920px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgba(6, 95, 70, .10);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid #f0f6f3; }
  .main-nav a.active::after { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-title { font-size: 33px; }
  .hero-sub { font-size: 15.5px; }
  .pos-window { margin: 0 auto; }
  .badge-1 { top: -20px; right: 0; }
  .badge-2 { bottom: -18px; left: 6px; }
  .badge-3 { bottom: -20px; right: 8px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .stat b { font-size: 28px; }
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: 26px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 54px 0 44px; }
  .page-banner h1 { font-size: 28px; }
  .split-copy h2 { font-size: 25px; }
  .cta-band { padding: 40px 28px; }
  .cta-band h2 { font-size: 23px; }
  .modal-box { padding: 32px 24px 28px; }
  .contact-form { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 36px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .media-main { padding-bottom: 64px; }
  .media-float { padding: 10px 14px; }
  .mf-1 { left: 0; }
  .mf-2 { right: 0; }
}
