/* ==========================================================================
   百草华荣药业 · 官方网站
   备选主题 A：白色科技系（Snow Tech）
   设计基准：纯净白/浅灰底 + 科技青蓝点缀（#0AA6C3 → #1B6BFF）
   参考风格：https://www.tci-bio.net（科技感、玻璃拟态、微网格）
   ========================================================================== */

:root {
  --bg: #f6f8fb;
  --bg-2: #ffffff;
  --bg-3: #eef2f7;
  --gold: #0aa6c3;
  --gold-light: #35c6e8;
  --gold-dark: #0b5fa8;
  --text: #16283a;
  --text-dim: #55687c;
  --text-faint: #8ba1b5;
  --line: rgba(10, 166, 195, 0.28);
  --line-soft: rgba(22, 40, 58, 0.10);
  --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-en: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 76px;
  --radius: 14px;
  --shadow: 0 22px 48px rgba(22, 80, 120, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

::selection {
  background: rgba(10, 166, 195, 0.25);
  color: #fff;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 10px 32px rgba(27, 107, 255, 0.10);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 42px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-logo .brand-cn {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text);
  white-space: nowrap;
}

.nav-logo .brand-en {
  font-size: 10px;
  letter-spacing: 3.5px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-menu a {
  font-size: 14.5px;
  letter-spacing: 1px;
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold-dark);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold-dark);
  transition: 0.3s;
}

/* --------------------------------------------------------------------------
   Hero 首屏
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(10, 166, 195, 0.14), transparent 60%),
    radial-gradient(ellipse 45% 40% at 85% 15%, rgba(27, 107, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f2f7fc 60%, #f6f8fb 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 166, 195, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 166, 195, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-title-cn {
  font-size: clamp(40px, 6.4vw, 74px);
  font-weight: 800;
  letter-spacing: 8px;
  line-height: 1.25;
  color: var(--text);
}

.hero-title-cn .accent {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-en {
  margin: 18px 0 30px;
  font-family: var(--font-en);
  font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-desc {
  max-width: 680px;
  margin: 0 auto 46px;
  color: var(--text-dim);
  font-size: 16.5px;
}

.hero-cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 2px;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-dark));
  color: #ffffff;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(10, 166, 195, 0.32);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--gold-dark);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(10, 166, 195, 0.06);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 4px;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   通用区块
   -------------------------------------------------------------------------- */
.section {
  padding: 110px 56px;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text);
  margin-bottom: 18px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 15.5px;
}

.section-head .divider {
  width: 64px;
  height: 2px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* --------------------------------------------------------------------------
   数据统计区块
   -------------------------------------------------------------------------- */
.stats {
  background:
    linear-gradient(180deg, rgba(10, 166, 195, 0.05), transparent 45%),
    var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 64px 56px;
}

.stats-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat {
  text-align: center;
  padding: 20px 10px;
}

.stat-num {
  font-family: var(--font-en);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.stat-label {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 14.5px;
  letter-spacing: 2px;
}

/* --------------------------------------------------------------------------
   卡片网格
   -------------------------------------------------------------------------- */
.card-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(22, 80, 120, 0.05);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 166, 195, 0.08);
  border: 1px solid var(--line);
}

.card-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--gold-dark);
}

.card h3 {
  font-size: 19px;
  color: var(--text);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-dim);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   产品卡片（带占位图）
   -------------------------------------------------------------------------- */
.product-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(22, 80, 120, 0.05);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-media .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  color: var(--gold-dark);
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.product-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 18px;
  color: var(--text);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.product-body p {
  color: var(--text-dim);
  font-size: 14px;
  flex: 1;
}

.product-body .more {
  margin-top: 18px;
  font-size: 13px;
  color: var(--gold-dark);
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-body .more::after {
  content: "→";
  transition: transform 0.3s;
}

.product-card:hover .more::after {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   双栏特性区（关于 / 生产）
   -------------------------------------------------------------------------- */
.split {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(22, 40, 58, 0.35));
  pointer-events: none;
}

.split-text h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  color: var(--text);
  letter-spacing: 2.5px;
  margin-bottom: 20px;
}

.split-text p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 15.5px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   时间线
   -------------------------------------------------------------------------- */
.timeline {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(10, 166, 195, 0.08));
}

.timeline-item {
  position: relative;
  padding: 0 0 44px 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(10, 166, 195, 0.15);
}

.timeline-year {
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-item h4 {
  color: var(--text);
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.timeline-item p {
  color: var(--text-dim);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   新闻列表
   -------------------------------------------------------------------------- */
.news-list {
  max-width: 960px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s;
  border-radius: 8px;
}

.news-item:hover {
  background: rgba(10, 166, 195, 0.05);
}

.news-date {
  flex: 0 0 auto;
  text-align: center;
  width: 74px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.news-date .d {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.2;
}

.news-date .m {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 2px;
}

.news-item h3 {
  font-size: 17px;
  color: var(--text);
  letter-spacing: 1px;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.news-item:hover h3 {
  color: var(--gold-dark);
}

.news-item p {
  color: var(--text-dim);
  font-size: 14px;
}

.news-tag {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text-dim);
  border: 1px solid var(--line-soft);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   联系页
   -------------------------------------------------------------------------- */
.contact-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 46px;
}

.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: 0 8px 24px rgba(22, 80, 120, 0.05);
}

.contact-card h3 {
  color: var(--text);
  font-size: 19px;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.contact-card .en-note {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold-dark);
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}

.contact-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row .label {
  flex: 0 0 76px;
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: 2px;
  padding-top: 2px;
}

.contact-row .value {
  color: var(--text);
}

.contact-row .value small {
  display: block;
  color: var(--text-faint);
  font-size: 12.5px;
  margin-top: 2px;
}

/* 页首横幅 */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 90px) 24px 80px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% -20%, rgba(10, 166, 195, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 166, 195, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 166, 195, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 20%, transparent 70%);
}

.page-hero > * {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  color: var(--text);
  letter-spacing: 5px;
  margin-bottom: 16px;
}

.page-hero .en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.breadcrumb {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 2px;
}

.breadcrumb a {
  color: var(--gold-dark);
}

/* --------------------------------------------------------------------------
   页脚（深色收尾，与白色主区形成对比）
   -------------------------------------------------------------------------- */
.footer {
  background: #0e1c2a;
  border-top: 1px solid rgba(10, 166, 195, 0.20);
  padding: 70px 56px 36px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 46px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 44px;
  width: auto;
  max-width: 68px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 18px;
}

.footer-brand h4 {
  color: #fff;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.footer-brand p {
  color: #8ba1b5;
  font-size: 13.5px;
  line-height: 1.9;
}

.footer-col h5 {
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-col a,
.footer-col li {
  display: block;
  color: #9fb4c7;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: 1280px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: #7d93a8;
  font-size: 12.5px;
}

.footer-bottom a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-bottom a:hover {
  color: #7fe0f5;
}

/* --------------------------------------------------------------------------
   进场动画
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 {
  transition-delay: 0.12s;
}
.reveal.d2 {
  transition-delay: 0.24s;
}
.reveal.d3 {
  transition-delay: 0.36s;
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .card-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav {
    padding: 0 22px;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line-soft);
    padding: 10px 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    display: block;
    padding: 14px 30px;
    font-size: 16px;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 76px 22px;
  }

  .stats {
    padding: 48px 22px;
  }

  .card-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 14px;
  }

  .news-tag {
    margin-left: 0;
  }

  .footer {
    padding: 50px 22px 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }
}

/* ========== 联系弹窗 ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 28, 42, 0.60);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  color: #333;
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px 36px 40px;
  position: relative;
  box-shadow: 0 30px 80px rgba(14, 50, 80, 0.30);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s ease;
}
.modal-overlay.show .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 4px;
  transition: color 0.2s;
}
.modal-close:hover { color: #333; }

.modal-header {
  font-size: 26px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 2px;
}
.modal-sub {
  text-align: center;
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.form-row {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
  color: #444;
}
.req {
  color: #c44;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d8dde4;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  background: #fafbfd;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(10, 166, 195, 0.18);
}

.form-agree label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
}
.form-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}
.form-agree a {
  color: var(--gold-dark);
  text-decoration: none;
}
.form-agree a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(120deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 4px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 4px;
}
.form-submit:hover {
  filter: brightness(1.08);
}
.form-submit:active {
  transform: translateY(1px);
}
.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}
.form-status.success { color: #2a7; }
.form-status.error   { color: #c44; }

@media (max-width: 540px) {
  .modal {
    padding: 26px 20px 30px;
    max-height: 88vh;
  }
  .modal-header { font-size: 22px; }
}