/* ============================================================
   投资热土 · 机遇之城 — 政府招商引资门户网站
   设计系统: 深蓝(#0B1A2E) + 金色(#C9A84C) + 白色
   依赖: Font Awesome 6 Free, Swiper 11, AOS 2.3.4
   响应式断点: 768px
   ============================================================ */

/* ---- CSS 变量 ---- */
:root {
  /* 主色调 */
  --navy: #0B1A2E;
  --navy-light: #0F2440;
  --navy-card: #132D52;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-pale: rgba(201, 168, 76, 0.15);
  --gold-border: rgba(201, 168, 76, 0.3);
  --gold-border-hover: rgba(201, 168, 76, 0.6);
  --red: #C41E3A;
  --red-dark: #A01830;
  --white: #FFFFFF;
  --off-white: #E8E6E3;

  /* 文字 */
  --text: #E8E6E3;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-dark: #1F2937;

  /* 背景 */
  --bg-body: #060E1A;
  --bg-section: #0B1A2E;
  --bg-card: #0F2440;
  --bg-footer: #080F1E;
  --bg-overlay: rgba(6, 14, 26, 0.7);

  /* 边框 */
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.05);

  /* 圆角 */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold: 0 2px 12px rgba(201, 168, 76, 0.15);

  /* 字体 — 系统优先，无需加载Google Fonts */
  --font-heading: 'STZhongsong', '华文中宋', 'SimSun', '宋体', 'Noto Serif SC', serif;
  --font-body: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', '苹方', 'Helvetica Neue', 'Segoe UI', sans-serif;
  --font-number: 'Georgia', 'Cambria', 'Times New Roman', var(--font-heading);

  /* 间距 */
  --section-gap: 80px;
  --header-h: 72px;

  /* 过渡 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }

/* ---- 字体: 系统原生，无需第三方加载，Windows/Mac/iOS全平台覆盖 ---- */

/* ---- 容器 ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- 区块通用 ---- */
.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section--dark {
  background: var(--bg-section);
}

.section--navy {
  background: var(--navy);
}

/* ---- 区块标签 ---- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

/* ---- 区块标题 ---- */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ---- 金色分割线 ---- */
.divider-gold {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0 24px;
}
.divider-gold--center { margin: 16px auto 24px; }

/* ============================================================
   HEADER — 深色半透明固定顶栏
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 26, 46, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  transition: var(--transition);
  height: var(--header-h);
}

.header.scrolled {
  background: rgba(11, 26, 46, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.header__logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--gold);
}

.header__nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* 导航下拉 */
.header__nav-item {
  position: relative;
}

.header__nav-item > .header__nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--navy-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 60;
  box-shadow: var(--shadow-lg);
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.header__dropdown a:hover {
  background: var(--gold-pale);
  color: var(--gold);
}

/* 右侧操作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: var(--transition);
}

.header__cta:hover {
  background: var(--gold);
  color: var(--navy);
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- 移动端侧滑菜单 ---- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--navy-light);
  z-index: 105;
  transition: right var(--transition);
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,0.5);
}

.mobile-nav.active { right: 0; }

.mobile-nav__inner { padding: 24px; }

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav__link:hover { background: var(--gold-pale); color: var(--gold); }

.mobile-nav__sub {
  padding-left: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.mobile-nav__sub.open { max-height: 300px; }

.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav__overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   HERO — 全屏 Banner 轮播
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.swiper-slide-active .hero__slide {
  transform: scale(1);
}

/* 遮罩 */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,26,46,0.6) 0%, rgba(11,26,46,0.3) 50%, rgba(6,14,26,0.85) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(11,26,46,0.4) 100%);
  z-index: 2;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__title span {
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--off-white);
  margin-bottom: 36px;
  max-width: 640px;
  opacity: 0.9;
  letter-spacing: 0.05em;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__actions .btn { padding: 14px 32px; font-size: 1rem; }

/* 轮播分页器 */
.hero-pagination {
  position: absolute;
  bottom: 40px !important;
  z-index: 3;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.4);
  opacity: 1;
  transition: all 0.4s var(--ease);
  border-radius: 50%;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

/* 滚动指示器 */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 2s ease-in-out infinite;
}

.hero__scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}

.btn--primary:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
  transform: translateY(-1px);
}

.btn--outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

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

.btn--white {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--white);
}

.btn--white:hover {
  background: var(--off-white);
  transform: translateY(-1px);
}

.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--sm { padding: 6px 16px; font-size: 0.8rem; }

/* 脉冲动画按钮 */
.btn--pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(201, 168, 76, 0); }
}

/* ============================================================
   城市数据统计区 (Stats)
   ============================================================ */
.stats-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.03) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
}

.stat-item__number {
  font-family: var(--font-number);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* ============================================================
   投资优势 (Features Grid)
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  background: var(--gold-pale);
  border-radius: 50%;
  border: 1px solid var(--gold-border);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   卡片系统
   ============================================================ */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

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

.card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-light);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__image img {
  transform: scale(1.06);
}

.card__body {
  padding: 20px;
}

.card__tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-pale);
  border-radius: 3px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.card__meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.card__meta i { color: var(--gold); margin-right: 4px; }

.card__price {
  font-family: var(--font-number);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 8px;
}

/* ---- 政策卡片 ---- */
.policy-card {
  padding: 24px;
  border-left: 2px solid var(--gold);
}

.policy-card:hover {
  border-left-color: var(--gold-light);
}

.policy-card__number {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-pale);
  border-radius: 3px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

/* ---- 项目详情卡片 (网格全宽) ---- */
.list-grid--full {
  grid-template-columns: repeat(3, 1fr);
}

/* ---- 合作伙伴卡片 ---- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 1fr 实为 minmax(auto,1fr)，公司名的 min-content 会撑宽列导致窄屏横向溢出 */
.partner-grid > * { min-width: 0; }

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  aspect-ratio: 3 / 2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.partner-card:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* ============================================================
   CTA 区块
   ============================================================ */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--bg-body) 100%);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section .btn { margin-top: 16px; }

/* ---- 咨询CTA条 ---- */
.cta-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bar::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* 以下三条原先是 index.html 里的行内 style，行内样式优先级高于 @media，
   手机端媒体查询覆盖不了，所以挪成类。取值与原来完全一致，PC 端外观不变 */
.cta-bar__title { margin-bottom: 16px; }
.cta-bar__text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-bar__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   内页Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-h);
}

.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,26,46,0.75) 0%, rgba(6,14,26,0.9) 100%);
  z-index: 1;
}

.inner-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.inner-banner__title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.inner-banner__subtitle {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ---- 面包屑 ---- */
.breadcrumb-bar {
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 0.6rem; margin: 0 8px; color: var(--text-muted); }

/* ---- 子栏目过滤栏 ---- */
.filter-bar {
  display: flex;
  gap: 4px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.filter-bar a {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: var(--transition);
}

.filter-bar a:hover,
.filter-bar a.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

/* ============================================================
   内页两栏布局
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 48px 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---- 侧边栏 ---- */
.sidebar {
  flex-shrink: 0;
}

.sidebar__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  padding: 20px;
  background: var(--navy-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
}

.sidebar__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.sidebar__nav a:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }

.sidebar__nav a:hover,
.sidebar__nav a.active {
  color: var(--gold);
  background: var(--gold-pale);
}

.sidebar__nav a::after {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.sidebar__nav a:hover::after { color: var(--gold); }

/* ---- 侧边栏联系卡片 ---- */
.sidebar-contact {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.sidebar-contact h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.sidebar-contact p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.sidebar-contact .phone {
  font-family: var(--font-number);
  font-size: 1.2rem;
  color: var(--gold);
  margin: 12px 0;
}

/* ---- 主内容区 ---- */
.main-content { min-height: 500px; }

/* ============================================================
   详情页
   ============================================================ */
.detail { max-width: 860px; margin: 0 auto; }

.detail__header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.detail__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 12px;
}

.detail__meta-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.detail__meta-row i { color: var(--gold); margin-right: 4px; }

/* 扩展字段参数卡片 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.detail__param {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.detail__param-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.detail__param-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* 正文内容 */
.detail__body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.detail__body img { border-radius: var(--radius); margin: 24px 0; }
.detail__body p { margin-bottom: 16px; }
.detail__body h2,
.detail__body h3 {
  font-family: var(--font-heading);
  color: var(--white);
  margin: 32px 0 16px;
}
.detail__body h2 { font-size: 1.4rem; }
.detail__body h3 { font-size: 1.15rem; }
.detail__body ul,
.detail__body ol { margin: 12px 0; padding-left: 20px; }
.detail__body li { margin-bottom: 6px; list-style: disc; }

/* 后台正文常含地图 iframe / 宽表格，固定宽度会撑破移动端容器 */
.detail__body img,
.detail__body iframe,
.detail__body video,
.detail__body table {
  max-width: 100%;
}
.detail__body iframe { width: 100%; }

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.detail__pager a:hover { color: var(--gold); }

/* 相关推荐 */
.related-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================================
   图片画廊网格
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
}

.gallery-grid img:hover { opacity: 0.85; }

/* ============================================================
   表单系统
   ============================================================ */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control { resize: vertical; min-height: 100px; }

/* 表单行（多列） */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* grid 子项默认 min-width:auto = min-content，会被内容(输入框/长文本)撑破容器，
   这是移动端横向溢出的元凶。统一归零，让 1fr 真正等于 minmax(0,1fr) */
.form-row > *,
.contact-layout > * { min-width: 0; }

/* ============================================================
   联系我们页面
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* 联系信息条目 */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  color: var(--gold);
}

.contact-item__body { min-width: 0; }

.contact-item__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

/* 邮箱/地址等长串不换行字符不再顶破容器 */
.contact-item__value {
  color: var(--text);
  overflow-wrap: anywhere;
}

.contact-item__value--phone {
  font-family: var(--font-number);
  font-size: 1.3rem;
  color: var(--gold);
}

/* 留言表单卡片 */
.contact-form-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i { font-size: 3rem; color: var(--border); margin-bottom: 16px; }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--gold-border);
  position: relative;
}

.footer__top-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.footer__brand-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: var(--transition);
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.footer__links a {
  display: block;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer__links a:hover { color: var(--gold); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  align-items: flex-start;
}

.footer__contact-item i {
  color: var(--gold);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer__qrcode {
  width: 100px;
  height: 100px;
  background: var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* 友情链接 */
.friend-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.friend-links__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.friend-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.friend-links a:hover { color: var(--gold); }

/* 版权栏 */
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  background: var(--navy-light);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  cursor: pointer;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ============================================================
   新闻列表
   ============================================================ */
.news-list { display: flex; flex-direction: column; gap: 16px; }

.news-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.news-item:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
}

.news-item__image {
  width: 200px;
  height: 140px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy-light);
}

.news-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item__info { flex: 1; min-width: 0; }

.news-item__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-item__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-item__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   留言/咨询区块
   ============================================================ */
.inquiry-section {
  padding: 48px 0;
}

.inquiry-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.inquiry-form-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
}

.inquiry-form-wrap > p {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* ============================================================
   在线客服按钮
   ============================================================ */
.online-service {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  z-index: 89;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
  cursor: pointer;
  transition: var(--transition);
  animation: pulse 2.5s ease-in-out infinite;
}

.online-service:hover {
  background: var(--gold-light);
  transform: scale(1.08);
}

/* ============================================================
   响应式 — 768px 断点
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-gap: 56px; }

  .section-title { font-size: 1.7rem; }

  .features { grid-template-columns: repeat(2, 1fr); }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .detail__params { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .form-row { grid-template-columns: 1fr; }

  .contact-form-card { padding: 32px 28px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 48px; --header-h: 60px; }

  body { font-size: 15px; }

  .section-title { font-size: 1.45rem; }
  .section-subtitle { font-size: 0.9rem; }

  /* 导航改为移动端 */
  .header__nav { display: none; }
  .header__cta { display: none; }
  .hamburger { display: flex; }

  /* 投资·优势：四张卡并成一行，只留图标+标题；描述文字手机端不占位(HTML 里仍在，爬虫可见) */
  .features { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .feature-card { padding: 14px 4px; }
  .feature-card:hover { transform: none; }   /* 触屏无真 hover，避免残留位移 */
  .feature-card__icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    font-size: 0.95rem;
  }
  .feature-card__title { font-size: 0.7rem; margin-bottom: 0; }
  .feature-card__desc { display: none; }

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

  /* 招商项目(首页)：一行两个 + 卡片瘦身。限定 --duo，不影响政策/新闻/伙伴模块与列表页 */
  .list-grid--duo { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .list-grid--duo .card__body { padding: 12px 10px; }
  .list-grid--duo .card__tag { font-size: 0.62rem; padding: 2px 7px; margin-bottom: 6px; }
  .list-grid--duo .card__title { font-size: 0.85rem; margin-bottom: 6px; }
  .list-grid--duo .card__desc { font-size: 0.72rem; -webkit-line-clamp: 2; margin-bottom: 8px; }
  .list-grid--duo .card__meta { flex-direction: column; gap: 4px; font-size: 0.68rem; }
  .list-grid--duo .card:hover { transform: none; }

  /* 营商政策：保持一行一个，卡片瘦身。
     原来 .policy-card 的 24px 内边距 + .card__body 的 20px 内边距叠加 = 左右各 44px 留白，太厚 */
  .policy-card { padding: 14px 16px; }
  .policy-card .card__body { padding: 0; }
  .policy-card__number { font-size: 0.64rem; padding: 2px 7px; margin-bottom: 6px; }
  .policy-card .card__tag { font-size: 0.62rem; padding: 2px 7px; margin-bottom: 6px; }
  .policy-card .card__title { font-size: 0.95rem; margin-bottom: 6px; }
  .policy-card .card__desc { font-size: 0.78rem; -webkit-line-clamp: 2; margin-bottom: 8px; }
  .policy-card .card__meta { font-size: 0.7rem; }
  .policy-card:hover { transform: none; }

  /* 新闻中心(首页)：上图下文改成左缩略图 + 右文字，只留标题和日期。
     min-width:0 防止 flex 子项被长标题撑破容器 */
  .list-grid--thumb { gap: 10px; }
  .list-grid--thumb .card { display: flex; align-items: center; padding: 10px; }
  .list-grid--thumb .card:hover { transform: none; }
  .list-grid--thumb .card__image {
    width: 104px;
    height: 78px;
    flex-shrink: 0;
    aspect-ratio: auto;
    border-radius: var(--radius-sm);
  }
  .list-grid--thumb .card__body { flex: 1; min-width: 0; padding: 0 0 0 12px; }
  .list-grid--thumb .card__title { font-size: 0.85rem; margin-bottom: 4px; }
  .list-grid--thumb .card__desc { display: none; }
  .list-grid--thumb .card__meta { font-size: 0.7rem; }
  /* 城市数据方块：收紧内边距与字号，四块不再占近 300px 竖向空间 */
  .stats { grid-template-columns: 1fr 1fr; gap: 6px; }
  .stat-item { padding: 18px 12px; }
  .stat-item__number { font-size: 1.6rem; margin-bottom: 4px; }
  .stat-item__label { font-size: 0.8rem; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* 合作伙伴：卡片高度改为跟文字走(取消 3/2 比例框)，文字上下留白只留 12px */
  .partner-card {
    padding: 12px 8px;
    aspect-ratio: auto;
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: center;
  }
  .partner-card > span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
  }

  /* 首屏 Banner 压缩：不再占满整屏，露出版块边缘提示可继续滚动。
     用 svh(小视口高度) 避免移动端地址栏收起时 banner 比可视区还高 */
  .hero {
    height: 68vh;
    height: 68svh;
    min-height: 400px;
    max-height: 560px;
  }

  /* 头部固定悬浮，内容区顶部让出安全距离 */
  .hero__content { padding: var(--header-h) 20px 24px; }

  .hero__title { font-size: 1.8rem; margin-bottom: 12px; }
  .hero__subtitle { font-size: 0.9rem; margin-bottom: 24px; }
  .hero__actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero__actions .btn { padding: 12px 28px; font-size: 0.95rem; }

  /* 分页器原本 bottom:40px 与 SCROLL 指示器(bottom:30px)重叠 */
  .hero-pagination { bottom: 18px !important; }
  .hero__scroll { display: none; }

  .inner-banner { height: 240px; }
  .inner-banner__title { font-size: 1.6rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-left: 14px; padding-right: 14px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  /* 快速链接：7 个 4 字栏目竖排要 281px，改成等宽一行。
     7×4 个字在 375px 上几乎占满整行，所以列间距只留 6px、字号降到 0.68rem，
     否则 7 个链接会连成一长串分不出彼此。
     放不下就自动折行，不会挤出横向滚动条 */
  .footer__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(38px, 1fr));
    gap: 2px 6px;
    margin-top: -4px;
  }
  .footer__links a {
    display: block;
    padding: 6px 0;
    font-size: 0.68rem;
    line-height: 1.5;
    text-align: center;
  }
  /* 竖排时的 hover 左移 4px 在横排里会顶乱整行，改成只变色 */
  .footer__links a:hover { padding-left: 0; }

  .inquiry-form-wrap { padding: 28px 20px; }
  .detail__params { grid-template-columns: 1fr 1fr; }
  .detail__title { font-size: 1.3rem; }
  .related-grid { grid-template-columns: 1fr; }

  .news-item { flex-direction: column; }
  .news-item__image { width: 100%; height: 180px; }

  /* 投资咨询(CTA)：原来区块上下各 80px 留白 + 卡片上下各 32px，
     标题和正文还是 PC 字号，四个加起来半个多屏。逐层收紧 */
  .cta-section { padding: 40px 0; }
  .cta-bar { padding: 22px 14px; }
  .cta-bar .section-tag { margin-bottom: 8px; }
  /* 1.1rem 时整行 323px 略超 315px 可用宽，最后一个"读"会掉到第二行成孤字 */
  .cta-bar__title {
    font-size: 1.05rem;
    letter-spacing: normal;
    margin-bottom: 8px;
    text-wrap: balance;
  }
  .cta-bar__text { font-size: 0.82rem; line-height: 1.55; margin-bottom: 16px; }
  .cta-bar__actions { gap: 10px; }
  /* .cta-section .btn 带 16px margin-top，这里清零免得按钮行被撑开 */
  .cta-bar__actions .btn {
    margin-top: 0;
    padding: 12px 16px; /* 12+12+正文高 ≈ 45px，保住 44px 的触控下限 */
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* 联系我们：双栏改单栏，卡片内边距收紧 */
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-card { padding: 24px 18px; }

  .back-top,
  .online-service { right: 16px; }
  .online-service { bottom: 80px; }
  .back-top { bottom: 24px; }
}

/* ============================================================
   动画 & 工具类
   ============================================================ */
/* 懒加载图片 */
img[data-src] {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

img[data-src].loaded {
  opacity: 1;
}

/* 淡淡入 */
.fade-in {
  animation: fadeIn 0.6s var(--ease) both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 金色发光文字 */
.text-glow {
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

/* 屏幕阅读器专用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* 快速链接在极窄屏(320px 等)7 个排不进一行，硬排会挤成 6+1 的孤儿行，
   不如固定 4 列排成 4+3 两行整齐。放在 768px 断点之后，同权重后者生效 */
@media (max-width: 344px) {
  .footer__links { grid-template-columns: repeat(4, 1fr); }
}

/* 隐藏移动端元素 (≥1024px显示) */
@media (max-width: 1023px) {
  .hide-mobile { display: none !important; }
}

/* 仅移动端显示 */
@media (min-width: 1024px) {
  .show-mobile { display: none !important; }
}

/* ============================================================
   滚动条美化
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   AOS 微调
   ============================================================ */
[data-aos] { transition-timing-function: var(--ease); }
