/* ============================================================
   泰州华热电气有限公司 - 官网首页样式
   配色：工业深蓝 + 活力橙（参考同行业电气设备企业常用色调）
   布局：整体宽度 1500px，全站响应式适配
   ============================================================ */

/* ---------- 变量与基础 ---------- */
:root {
  --blue-900: #071F3D;
  --blue-800: #0B3B6F;
  --blue-700: #0E4DA4;
  --blue-600: #1B6FD8;
  --blue-100: #EAF2FC;
  --orange: #FFA11E;
  --orange-dark: #F08A00;
  --ink: #1E2A3A;
  --muted: #5E6E82;
  --line: #E4EAF2;
  --bg: #F4F7FB;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 31, 61, .10);
  --shadow-lg: 0 18px 50px rgba(7, 31, 61, .18);
  --font: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --header-h: 82px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

i.iconfont { font-style: normal; }

.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: all .3s ease;
  white-space: nowrap;
}
.btn i { font-size: 15px; transition: transform .3s ease; }
.btn:hover i { transform: translateX(4px); }

.btn-accent {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(240, 138, 0, .35);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(240, 138, 0, .45); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .65);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .2); transform: translateY(-3px); }

.btn-line {
  border: 1px solid var(--blue-700);
  color: var(--blue-700);
  background: transparent;
}
.btn-line:hover { background: var(--blue-700); color: #fff; transform: translateY(-3px); }

.btn-sm { padding: 10px 22px; font-size: 15px; }

/* ---------- 板块标题 ---------- */
.section { padding: 96px 0; }

.section-head { max-width: 640px; margin-bottom: 52px; }

.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255, 255, 255, .72); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 30px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-head.light .section-tag { background: rgba(27, 111, 216, .25); color: #7FB4F5; }

.section-head h2 {
  font-size: 40px;
  font-weight: 900;
  color: var(--blue-800);
  line-height: 1.25;
  position: relative;
  padding-bottom: 16px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.left { transform: translateX(-60px); }
.reveal.right { transform: translateX(60px); }
.reveal.zoom { transform: scale(.9); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   顶部导航
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 22, 46, .30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .4s ease, box-shadow .4s ease, height .4s ease;
}
.site-header.scrolled {
  background: rgba(7, 31, 61, .93);
  box-shadow: 0 6px 24px rgba(7, 31, 61, .35);
  height: 70px;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { display: inline-flex; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(27, 111, 216, .45)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; font-weight: 900; color: #fff; letter-spacing: .5px; white-space: nowrap; }
.brand-text em { font-size: 11px; font-style: normal; color: rgba(255, 255, 255, .6); letter-spacing: 1.5px; white-space: nowrap; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text em { color: rgba(255, 255, 255, .55); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 10px 18px;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .86);
  transition: color .3s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px;
  bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.main-nav a:hover,
.main-nav a.active { color: #fff; }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255, 255, 255, .12); }
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Banner 轮播
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.hero-swiper, .hero-swiper .swiper-wrapper, .hero-swiper .swiper-slide { height: 100%; }

.hero-slide, .hero-bg { position: absolute; inset: 0; }
.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 7s ease;
}
.hero-swiper .swiper-slide-active .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 31, 61, .85) 0%, rgba(7, 31, 61, .55) 45%, rgba(7, 31, 61, .25) 100%),
              linear-gradient(0deg, rgba(7, 31, 61, .5) 0%, transparent 30%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 161, 30, .6);
  background: rgba(255, 161, 30, .15);
  color: #FFC368;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 26px;
}
.hero-content h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(7, 31, 61, .5);
}
.hero-content p {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 18px; flex-wrap: wrap; }

/* 幻灯内容入场动画 */
.hero-content .hero-tag,
.hero-content h1,
.hero-content p,
.hero-content .hero-btns {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.hero-swiper .swiper-slide-active .hero-tag { opacity: 1; transform: none; transition-delay: .25s; }
.hero-swiper .swiper-slide-active h1 { opacity: 1; transform: none; transition-delay: .4s; }
.hero-swiper .swiper-slide-active p { opacity: 1; transform: none; transition-delay: .55s; }
.hero-swiper .swiper-slide-active .hero-btns { opacity: 1; transform: none; transition-delay: .7s; }

.hero-pagination { position: absolute; left: 0; right: 0; bottom: 46px; z-index: 3; text-align: center; }
.hero-pagination .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255, 255, 255, .5);
  opacity: 1;
  transition: all .3s ease;
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 34px;
  border-radius: 6px;
  background: var(--orange);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, .85);
  font-size: 26px;
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); opacity: .9; }
  50% { transform: translate(-50%, 10px); opacity: .45; }
}

/* ============================================================
   推荐产品
   ============================================================ */
.products { background: var(--bg); }

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

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(27, 111, 216, .35); }

.product-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-media img { transform: scale(1.08); }

.product-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  box-shadow: 0 4px 12px rgba(11, 59, 111, .4);
}

.product-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 31, 61, .45);
  opacity: 0;
  transition: opacity .4s ease;
}
.product-card:hover .product-mask { opacity: 1; }

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transform: translateY(16px);
  transition: transform .4s ease, background .3s ease;
}
.product-card:hover .btn-more { transform: translateY(0); }
.btn-more:hover { background: var(--orange-dark); }

.product-body { padding: 24px 26px 26px; }
.product-body h3 { font-size: 19px; font-weight: 800; color: var(--blue-800); margin-bottom: 10px; transition: color .3s ease; }
.product-card:hover .product-body h3 { color: var(--blue-600); }
.product-body p { font-size: 14.5px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue-600);
  transition: color .3s ease;
}
.product-link i { transition: transform .3s ease; }
.product-link:hover { color: var(--orange-dark); }
.product-link:hover i { transform: translateX(5px); }

/* ============================================================
   产品应用（行业轮播）
   ============================================================ */
.applications { background: #fff; padding-bottom: 110px; }

.app-swiper-wrap { position: relative; max-width: 1500px; margin: 0 auto; padding: 0 30px; }

.app-swiper { overflow: hidden; padding: 12px 6px 46px; }

.app-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s ease, box-shadow .4s ease;
}
.app-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.app-media { position: relative; height: 300px; }
.app-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.app-card:hover .app-media img { transform: scale(1.07); }
.app-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,31,61,.1) 0%, rgba(7,31,61,.85) 100%); }

.app-num {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 46px;
  font-weight: 900;
  color: rgba(255, 255, 255, .28);
  line-height: 1;
  font-style: italic;
}

.app-info { position: absolute; left: 26px; right: 26px; bottom: 26px; color: #fff; }
.app-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  font-size: 26px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(240, 138, 0, .4);
}
.app-info h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.app-info p { font-size: 14px; color: rgba(255, 255, 255, .78); margin-bottom: 12px; }
.app-info ul { display: flex; flex-direction: column; gap: 6px; }
.app-info ul li { font-size: 14px; color: rgba(255, 255, 255, .9); display: flex; align-items: center; gap: 8px; }
.app-info ul li i { color: var(--orange); font-size: 14px; }

.app-nav { display: flex; justify-content: center; gap: 16px; margin-top: 6px; }
.app-btn {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--blue-700);
  color: var(--blue-700);
  font-size: 20px;
  transition: all .3s ease;
}
.app-btn:hover { background: var(--blue-700); color: #fff; box-shadow: 0 8px 20px rgba(11, 59, 111, .35); }

/* ============================================================
   我们的优势
   ============================================================ */
.advantages {
  background:
    radial-gradient(circle at 85% 15%, rgba(27, 111, 216, .25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(240, 138, 0, .12), transparent 40%),
    linear-gradient(160deg, var(--blue-900) 0%, #0A2A52 55%, var(--blue-800) 100%);
  position: relative;
}
.advantages::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.adv-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 58px;
}

.adv-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 34px 30px;
  backdrop-filter: blur(6px);
  transition: transform .4s ease, background .4s ease, border-color .4s ease;
}
.adv-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 161, 30, .55);
}

.adv-icon {
  width: 62px; height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 30px;
  color: var(--orange);
  background: rgba(255, 161, 30, .14);
  border: 1px solid rgba(255, 161, 30, .35);
  margin-bottom: 22px;
  transition: all .4s ease;
}
.adv-card:hover .adv-icon { background: var(--orange); color: #fff; transform: rotateY(180deg); }

.adv-card h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.adv-card p { font-size: 14.5px; color: rgba(255, 255, 255, .7); line-height: 1.85; }

.adv-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-size: 46px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-item strong b { font-size: 22px; margin-left: 2px; }
.stat-item p { font-size: 14.5px; color: rgba(255, 255, 255, .72); letter-spacing: 1px; }

/* ============================================================
   公司介绍（固定背景）
   ============================================================ */
.about {
  position: relative;
  padding: 130px 0;
  background-image: url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&w=1920&h=1080&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 31, 61, .92) 0%, rgba(7, 31, 61, .78) 55%, rgba(7, 31, 61, .45) 100%);
}

.about-inner { position: relative; display: flex; justify-content: flex-start; }

.about-box { max-width: 660px; color: #fff; }
.about-box .section-tag { background: rgba(255, 161, 30, .18); color: #FFC368; }
.about-box h2 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.3;
  margin: 18px 0 22px;
}
.about-box p { font-size: 15.5px; color: rgba(255, 255, 255, .82); line-height: 2; margin-bottom: 16px; }

.about-points { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 32px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .92); }
.about-points li i {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
}

.about-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   公司新闻
   ============================================================ */
.news { background: var(--bg); }

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

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.news-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-media img { transform: scale(1.07); }

.news-date {
  position: absolute;
  left: 18px; bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(7, 31, 61, .82);
  color: #fff;
  line-height: 1.1;
  backdrop-filter: blur(4px);
}
.news-date b { font-size: 20px; font-weight: 900; color: var(--orange); }
.news-date { font-size: 12px; color: rgba(255, 255, 255, .85); }

.news-body { padding: 24px 26px 26px; }
.news-body h3 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .3s ease;
}
.news-card:hover .news-body h3 { color: var(--blue-600); }
.news-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more { text-align: center; margin-top: 48px; }

/* ============================================================
   底部
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #071F3D 0%, #05172E 100%);
  color: rgba(255, 255, 255, .75);
  padding: 70px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 46px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand p { font-size: 14.5px; line-height: 1.9; margin: 20px 0 22px; max-width: 340px; color: rgba(255, 255, 255, .62); }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
  font-size: 19px;
  transition: all .3s ease;
}
.footer-social a:hover { background: var(--orange); color: #fff; transform: translateY(-4px); }

/* ---------- 社交图标悬浮二维码 ---------- */
.social-item { position: relative; display: inline-flex; }

.social-qr {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translate(-50%, 10px);
  background: #fff;
  width: 180px;
  padding: 10px 10px 9px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(2, 12, 27, .4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 30;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.social-qr img { width: 160px; height: 160px; border-radius: 4px; max-width: 100%; }
.social-qr em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--blue-800); white-space: nowrap; }
.social-qr::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #fff;
}
.social-item:hover .social-qr,
.social-item:focus-within .social-qr,
.social-item.qr-open .social-qr {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
/* 页脚首个二维码靠左对齐，避免向左溢出视口 */
.footer-social .social-item:first-child .social-qr { left: 0; transform: translate(0, 10px); }
.footer-social .social-item:first-child .social-qr::after { left: 22px; transform: none; }
.footer-social .social-item:first-child:hover .social-qr,
.footer-social .social-item:first-child:focus-within .social-qr,
.footer-social .social-item:first-child.qr-open .social-qr { transform: translate(0, 0); }

.footer-col h4 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.footer-col ul li i { color: var(--orange); margin-top: 4px; }
.footer-col ul li a { display: inline-flex; align-items: center; min-height: 34px; color: rgba(255, 255, 255, .68); transition: all .3s ease; }
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }
.footer-col ul li a i { font-size: 12px; color: rgba(255, 255, 255, .4); margin-top: 4px; }
.footer-col ul li a:hover i { color: var(--orange); }

.footer-contact ul li span { line-height: 1.6; color: rgba(255, 255, 255, .72); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
}

/* ============================================================
   回顶按钮 / Toast
   ============================================================ */
.back-top {
  position: fixed;
  right: 30px;
  bottom: 34px;
  z-index: 90;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--blue-700);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 10px 26px rgba(11, 59, 111, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all .4s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--orange); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 80px);
  z-index: 200;
  padding: 13px 30px;
  border-radius: 10px;
  background: rgba(7, 31, 61, .95);
  color: #fff;
  font-size: 15px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all .4s ease;
  pointer-events: none;
  max-width: 86vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1280px) {
  .product-grid, .news-grid { gap: 24px; }
  .adv-grid { gap: 20px; }
}

@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .section-head h2 { font-size: 34px; }

  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(340px, 82vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 100px 34px 40px;
    background: rgba(7, 31, 61, .98);
    transition: right .45s ease, visibility .45s ease;
    box-shadow: -20px 0 50px rgba(7, 31, 61, .5);
    visibility: hidden;
  }
  .main-nav.open { right: 0; visibility: visible; }
  .main-nav a { font-size: 17px; padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

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

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

  .app-media { height: 320px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .app-swiper-wrap { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: 29px; }
  .brand-text em { display: none; }
  .brand-text strong { font-size: 17px; }

  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 15.5px; }
  .hero-btns .btn { padding: 12px 24px; font-size: 15px; }

  .adv-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stat-item strong { font-size: 38px; }

  .about { padding: 90px 0; background-attachment: scroll; }
  .about-box h2 { font-size: 30px; }

  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .product-grid, .news-grid, .adv-grid { grid-template-columns: 1fr; }
  .app-swiper { overflow: hidden; }
  .app-media { height: 360px; }
  .hero { min-height: 560px; }
  .hero-content h1 { font-size: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .back-top { right: 18px; bottom: 22px; }
  /* 首个二维码弹层靠左对齐，避免溢出屏幕 */
  .social-item:first-child .social-qr { left: 0; transform: translate(0, 10px); }
  .social-item:first-child .social-qr::after { left: 22px; transform: none; }
  .social-item:first-child:hover .social-qr,
  .social-item:first-child:focus-within .social-qr,
  .social-item:first-child.qr-open .social-qr { transform: translate(0, 0); }
}

/* ============================================================
   Swiper 本地引用：默认由 Swiper 原生样式呈现（首屏自然可见），
   JS 初始化后显示轮播箭头；JS 异常时仅展示首屏，不破坏布局
   ============================================================ */
/* 轮播箭头需 JS 驱动，未就绪前隐藏 */
.app-nav { display: none; }
.swiper-ready .app-nav { display: flex; }

/* JS 未就绪时，Banner 首屏文字保持可见（不依赖 active 类） */
html:not(.swiper-ready) .hero .swiper-slide:first-child .hero-tag,
html:not(.swiper-ready) .hero .swiper-slide:first-child h1,
html:not(.swiper-ready) .hero .swiper-slide:first-child p,
html:not(.swiper-ready) .hero .swiper-slide:first-child .hero-btns {
  opacity: 1;
  transform: none;
}

/* ============================================================
   内页公共：子 Banner / 面包屑
   ============================================================ */
.sub-hero { position: relative; height: 380px; display: flex; align-items: center; overflow: hidden; }
.sub-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); }
.sub-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,31,61,.92) 0%, rgba(7,31,61,.55) 100%),
              linear-gradient(0deg, rgba(7,31,61,.55) 0%, transparent 55%);
}
.sub-hero-inner { position: relative; z-index: 2; color: #fff; padding-top: 30px; }
.sub-hero-inner h1 { font-size: 42px; font-weight: 900; margin-bottom: 14px; letter-spacing: 1px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.72); transition: color .3s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: rgba(255,255,255,.4); }
.breadcrumb .current { color: var(--orange); }

.page-body { padding: 70px 0 96px; background: var(--bg); }
.page-body.plain { background: #fff; }

/* ---------- 侧栏 + 内容布局 ---------- */
.layout { display: grid; grid-template-columns: 290px 1fr; gap: 34px; align-items: start; }
.layout-single { max-width: 1080px; margin: 0 auto; }
.side-col { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 92px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-box-title {
  padding: 16px 22px; font-size: 16px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  display: flex; align-items: center; gap: 8px;
}
.side-menu li a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 13px 22px; font-size: 15px; color: var(--ink);
  border-top: 1px solid var(--line); transition: all .25s;
}
.side-menu li:first-child a { border-top: none; }
.side-menu li a i { color: var(--blue-600); transition: all .25s; font-size: 13px; }
.side-menu li a:hover, .side-menu li a.active { background: var(--blue-100); color: var(--blue-700); padding-left: 27px; }
.side-menu li a:hover i, .side-menu li a.active i { color: var(--orange); }
.side-box-body { padding: 22px; }

.side-search { padding: 16px; }
.side-search .search-row { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.side-search input { flex: 1; border: none; outline: none; padding: 11px 14px; font-size: 14px; font-family: inherit; min-width: 0; background: #fbfcfe; }
.side-search button { background: var(--blue-700); color: #fff; width: 46px; font-size: 16px; display: flex; align-items: center; justify-content: center; }

.side-contact { background: linear-gradient(160deg, var(--blue-800), var(--blue-900)); border: none; }
.side-contact .side-box-body { padding: 24px; }
.side-contact ul { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: rgba(255,255,255,.85); }
.side-contact ul li { display: flex; gap: 10px; align-items: flex-start; }
.side-contact ul li i { color: var(--orange); margin-top: 4px; }
.side-contact .btn { margin-top: 20px; width: 100%; }

.content-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; min-width: 0; }

/* ---------- 筛选条 / 分页 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  padding: 9px 22px; border-radius: 30px; border: 1px solid var(--line);
  background: #fff; font-size: 14.5px; color: var(--muted); transition: all .25s;
}
.filter-btn:hover { border-color: var(--blue-600); color: var(--blue-600); }
.filter-btn.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

/*.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }*/
.page-link {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; font-size: 14.5px;
  color: var(--muted); background: #fff; transition: all .25s;
}
.page-link:hover { border-color: var(--blue-600); color: var(--blue-600); }
.page-link.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.page-link.disabled { opacity: .45; pointer-events: none; }

/* ============================================================
   关于我们
   ============================================================ */
.block-title { font-size: 32px; font-weight: 900; color: var(--blue-800); margin-bottom: 22px; line-height: 1.4; }
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-intro-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-text p { margin-bottom: 16px; color: #42526a; line-height: 2.05; font-size: 15.5px; }

.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.culture-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px; text-align: center; transition: all .3s; }
.culture-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.culture-card .ci {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
}
.culture-card h3 { font-size: 19px; font-weight: 800; color: var(--blue-800); margin-bottom: 10px; }
.culture-card p { font-size: 14px; color: var(--muted); line-height: 1.9; }

.stage-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.stage-list { position: relative; padding-left: 34px; }
.stage-list::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue-600), var(--orange)); }
.stage-item { position: relative; padding-bottom: 28px; }
.stage-item:last-child { padding-bottom: 0; }
.stage-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--blue-600); }
.stage-item h4 { font-size: 17px; font-weight: 800; color: var(--blue-800); margin-bottom: 6px; }
.stage-item p { font-size: 14.5px; color: var(--muted); line-height: 1.85; }

.workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.workshop-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.workshop-card img { width: 100%; height: 280px; object-fit: cover; transition: transform .5s; }
.workshop-card:hover img { transform: scale(1.08); }
.workshop-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 42px 20px 14px; color: #fff; font-weight: 700; font-size: 15px; background: linear-gradient(0deg, rgba(7,31,61,.85), transparent); }

.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.honor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.honor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.honor-card img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.honor-card p { padding: 14px; font-size: 14.5px; font-weight: 700; color: var(--blue-800); text-align: center; }

.cta-band { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); padding: 56px 0; text-align: center; color: #fff; }
.cta-band h2 { font-size: 30px; font-weight: 900; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,25,.8); margin-bottom: 28px; font-size: 15.5px; }
.cta-band .btn + .btn { margin-left: 14px; }

/* ============================================================
   产品详情
   ============================================================ */
.detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; margin-bottom: 52px; }
.detail-top > * { min-width: 0; }
.detail-gallery { width: 100%; }
.detail-gallery .swiper { width: 100%; }
.detail-gallery .swiper-main { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #f2f5f9; }
.detail-gallery .swiper-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { margin-top: 12px; overflow: hidden; }
.detail-thumbs .swiper-slide { width: 96px; height: 72px; border-radius: 8px; overflow: hidden; opacity: .6; cursor: pointer; }
.detail-thumbs .swiper-slide-thumb-active { opacity: 1; box-shadow: 0 0 0 2px var(--orange); }
.detail-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

.detail-info h1 { font-size: 28px; font-weight: 900; color: var(--blue-800); margin-bottom: 14px; line-height: 1.4; }
.detail-summary { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 20px; }
.detail-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.detail-features li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.detail-features li i { color: var(--orange); margin-top: 5px; }
.detail-meta { border-top: 1px dashed var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.detail-meta div { display: flex; gap: 8px; align-items: flex-start; }
.detail-meta i { color: var(--blue-600); margin-top: 4px; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.tabs { border-top: 1px solid var(--line); }
.tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-btn { padding: 15px 30px; font-size: 16px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; transition: all .25s; background: none; }
.tab-btn.active { color: var(--blue-700); border-bottom-color: var(--orange); }
.tab-pane { display: none; padding: 34px 2px 10px; }
.tab-pane.active { display: block; animation: fadeIn .35s ease; }
.tab-pane p { margin-bottom: 16px; color: var(--ink); line-height: 2; font-size: 15px; }
.tab-pane img { border-radius: 10px; margin: 18px 0; max-width: 100%; }

.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); font-size: 14.5px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 12px 18px; text-align: left; }
.spec-table th { background: var(--blue-100); color: var(--blue-800); font-weight: 700; width: 26%; white-space: nowrap; }
.spec-table tr:nth-child(even) td { background: #fafbfd; }

.related { margin-top: 60px; }
.related h3 { font-size: 22px; font-weight: 900; color: var(--blue-800); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.related h3::before { content: ""; width: 5px; height: 22px; background: var(--orange); border-radius: 3px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.related-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; transition: all .3s; }
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.related-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.related-card p { padding: 12px 14px; font-size: 14.5px; font-weight: 700; color: var(--blue-800); }

/* ============================================================
   新闻列表 / 详情
   ============================================================ */
.news-list { display: flex; flex-direction: column; gap: 28px; }
.news-item { display: grid; grid-template-columns: 240px 1fr; gap: 26px; padding-bottom: 28px; border-bottom: 1px dashed var(--line); }
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-item-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.news-item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-item:hover .news-item-thumb img { transform: scale(1.07); }
.news-item-body h3 { font-size: 19px; font-weight: 800; color: var(--blue-800); margin-bottom: 10px; line-height: 1.5; transition: color .25s; }
.news-item:hover h3 { color: var(--blue-600); }
.news-item-body p { color: var(--muted); font-size: 14.5px; line-height: 1.9; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item-meta { display: flex; gap: 18px; font-size: 13.5px; color: #8a97a8; align-items: center; flex-wrap: wrap; }
.news-item-meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-item-meta i { color: var(--blue-600); }
.news-item-more { margin-left: auto; color: var(--blue-600); font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.news-item-more i { transition: transform .25s; }
.news-item-more:hover i { transform: translateX(4px); }

.article-head { text-align: center; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: 30px; font-weight: 900; color: var(--blue-900); line-height: 1.5; margin-bottom: 18px; }
.article-meta { display: flex; justify-content: center; gap: 22px; font-size: 14px; color: #8a97a8; flex-wrap: wrap; }
.article-meta span { display: inline-flex; gap: 6px; align-items: center; }
.article-meta i { color: var(--blue-600); }
.article-body { font-size: 16px; line-height: 2.05; color: #334155; }
.article-body p { margin-bottom: 22px; text-indent: 2em; }
.article-body h2 { font-size: 22px; font-weight: 800; color: var(--blue-800); margin: 34px 0 18px; text-indent: 0; }
.article-body img { border-radius: 10px; margin: 26px auto; max-width: 100%; }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0; }
.article-tags a { padding: 6px 16px; border-radius: 20px; background: var(--blue-100); color: var(--blue-700); font-size: 13.5px; }
.article-tags a:hover { background: var(--orange); color: #fff; }
.article-share { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 24px 0; font-size: 14px; color: var(--muted); }
.article-share a { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); display: flex; align-items: center; justify-content: center; transition: all .25s; }
.article-share a:hover { background: var(--orange); color: #fff; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 14.5px; flex-wrap: wrap; }
.article-nav a { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.article-nav a:hover { color: var(--blue-600); }

/* ============================================================
   图片列表（灯箱）
   ============================================================ */
.gallery-filter { display: flex; justify-content: center; gap: 10px; margin-bottom: 42px; flex-wrap: wrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; display: block; }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; transition: transform .6s; }
.gallery-item.tall img { height: 380px; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(7,31,61,.5); opacity: 0; transition: opacity .3s; color: #fff; font-size: 30px; }
.gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-size: 15px; font-weight: 700; background: linear-gradient(0deg, rgba(7,31,61,.85), transparent); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(3,10,22,.92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 34px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.lightbox-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 15px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 32px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .25s; }
.lightbox-nav:hover { background: rgba(255,255,255,.15); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ============================================================
   表单（在线留言）
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14.5px; font-weight: 700; color: var(--blue-800); }
.form-group label .req { color: #e54848; margin-left: 2px; }
.field { position: relative; display: flex; align-items: center; }
.field i { position: absolute; left: 14px; color: #9aa8ba; font-size: 16px; pointer-events: none; }
.form-control {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px 12px 42px; font-size: 15px; font-family: inherit;
  color: var(--ink); background: #fbfcfe; outline: none; transition: all .25s;
}
.form-control.plain { padding-left: 14px; }
textarea.form-control { min-height: 150px; resize: vertical; }
select.form-control { appearance: none; }
.form-control:focus { border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 3px rgba(27,111,216,.12); }
.form-group.has-error .form-control { border-color: #e54848; background: #fff7f7; }
.form-error { font-size: 13px; color: #e54848; display: none; }
.form-group.has-error .form-error { display: block; }
.form-actions { display: flex; gap: 16px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.form-actions .btn { min-width: 150px; }
.form-note { font-size: 13.5px; color: #8a97a8; }
.form-tip-list { font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 12px; }
.form-tip-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.8; }
.form-tip-list li i { color: var(--orange); margin-top: 5px; }

/* ============================================================
   联系我们
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 50px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; text-align: center; transition: all .3s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(27,111,216,.3); }
.contact-card .ci { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue-100); color: var(--blue-700); font-size: 26px; transition: all .3s; }
.contact-card:hover .ci { background: var(--orange); color: #fff; }
.contact-card h3 { font-size: 17px; font-weight: 800; color: var(--blue-800); margin-bottom: 8px; }
.contact-card p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }

.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 460px; background: var(--blue-100); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--blue-800); font-size: 16px; text-align: center; padding: 20px; }
.map-fallback i { font-size: 48px; color: var(--blue-600); }

.contact-cta {
  margin-top: 42px; background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  border-radius: var(--radius); padding: 42px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: #fff; flex-wrap: wrap;
}
.contact-cta h3 { font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.contact-cta p { color: rgba(255,255,255,.75); font-size: 15px; }

/* ============================================================
   内页响应式
   ============================================================ */
@media (max-width: 1280px) {
  .main-nav a { padding: 10px 12px; font-size: 14.5px; }
  .culture-grid, .honor-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .side-col { position: static; }
  .detail-top { grid-template-columns: 1fr; gap: 30px; }
  .news-item { grid-template-columns: 1fr; gap: 16px; }
  .about-intro-grid, .stage-wrap { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid, .workshop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sub-hero { height: 300px; }
  .sub-hero-inner h1 { font-size: 30px; }
  .content-col { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .article-head h1 { font-size: 23px; }
  .block-title { font-size: 26px; }
}
@media (max-width: 560px) {
  .culture-grid, .honor-grid, .contact-cards, .gallery-grid, .workshop-grid, .related-grid { grid-template-columns: 1fr; }
  .gallery-item img, .gallery-item.tall img { height: 260px; }
  .map-wrap { height: 340px; }
  .lightbox-nav { width: 44px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}




.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px; }
.pagination > li {
    display: inline; }
.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857;
    text-decoration: none;
    color: #337ab7;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px; }
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }
.pagination > li > a:hover, .pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #ddd; }
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    cursor: default; }