:root {
  --brand-red: #b3261d;
  --container: 1440px;
  --header-height: 104px;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; /* 整体默认微软雅黑 */
  color: #333;
  background: #f8f8f8; /* 整体底色 */
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 轮播图 ---------- */
.banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 470;
  overflow: hidden;
  background: #0b2350;
}

.banner-slider {
  position: absolute;
  inset: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.banner-slide.is-active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.banner:hover .banner-slide.is-active img {
  transform: scale(1.05);
}

/* 鼠标离开时平滑回弹 */
.banner:not(:hover) .banner-slide img {
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);

  transition: box-shadow 0.4s ease;
}
.inner-header .main-nav > ul > li > a{ color:#222;}

/* 白色底：用遮罩淡入实现平滑过渡 */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.site-header:hover::before,
.site-header.is-open::before,
.site-header.is-sticky::before {
  opacity: 1;
}

.site-header:hover,
.site-header.is-open,
.site-header.is-sticky {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.site-header > .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo img {
  width: 242px;
  height: auto;
}
.logo .logo_2{display: none;}
.is-sticky .logo .logo_2,.site-header:hover .logo  .logo_2,.inner-header .logo  .logo_2{display: block;}
.is-sticky .logo .logo_1,.site-header:hover  .logo .logo_1,.inner-header .logo  .logo_1{display: none;}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* 只作用于一级导航，避免影响 li 内部嵌的二级菜单 */
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 52px;
  list-style: none;
}

.main-nav > ul > li > a {
  position: relative;
  display: block;
  font-size: 22px;
  line-height: var(--header-height);
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* 加粗+变色叠层：opacity 控制加粗显隐，color 控制颜色 */
.main-nav > ul > li > a::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--brand-red);
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  /* opacity 瞬间切换，避免原版文字与叠层同时半透明造成重影 */
  transition: opacity 0.08s ease, color 0.3s ease;
}

/* hover 时叠层出现（红色加粗） */
.main-nav > ul > li > a:hover::after {
  opacity: 1;
  color: var(--brand-red);
}

/* hover 时原版隐藏 —— 只有叠层一层文字，无重影阴影 */
.main-nav > ul > li > a:hover {
  color: transparent !important;
}

/* 选中态（当前栏目）：与 hover 完全一致 —— 红色加粗，同样用叠层，避免加粗导致排版位移 */
.main-nav > ul > li > a.is-active {
  color: transparent !important;
}

.main-nav > ul > li > a.is-active::after {
  opacity: 1;
  color: var(--brand-red);
}

.is-sticky .main-nav > ul > li > a{ color:#222;}
.site-header:hover .main-nav > ul > li > a,
.site-header.is-open .main-nav > ul > li > a {
  color: #222;
}
.inner-header .main-nav > ul > li.is-active > a{ color:#b3261d; font-weight: bold;  } 

.nav-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  transition: color 0.3s ease;
  margin-top: 14px;
}
.is-sticky .nav-search{color: #222;}
.site-header:hover .nav-search,
.site-header.is-open .nav-search {
  color: #222;
}

.nav-search:hover {
  color: var(--brand-red);
}

.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  /* padding-bottom 把面板向下推，同时让 hover 区域覆盖按钮→面板之间的空隙 */
  padding-bottom: 14px;
}

/* 鼠标悬停搜索图标时，隐藏二级菜单 */
.site-header:has(.nav-search-wrap:hover) .mega-wrap,
.site-header:has(.nav-search-wrap:focus-within) .mega-wrap {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 搜索下拉面板 */
.search-panel {
  position: absolute;
  top: 100%; /* 紧贴 nav-search-wrap 底部 —— 没有空隙，hover 连续 */
  right: 0;
  width: 460px;
  padding: 24px 28px 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1100;
  pointer-events: none;
}

.search-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 6px rgba(0, 0, 0, 0.06);
}

.nav-search-wrap:hover .search-panel,
.nav-search-wrap:focus-within .search-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.search-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.search-form:focus-within {
  border-color: var(--brand-red);
}

.search-input {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background: #fff;
  font-family: inherit;
}

.search-input::placeholder {
  color: #aaa;
}

.search-submit {
  height: 52px;
  padding: 0 36px;
  background: var(--brand-red);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.search-submit:hover {
  background: #a01f17;
}

.search-hint {
  margin-top: 14px;
  font-size: 12px;
  color: #999;
}

/* ---------- 二级菜单 ---------- */
/* 二级菜单挂在各 li 内，用 fixed 定位到 header 下方整屏宽度 */
.mega-wrap {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  z-index: 1;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none; /* 默认不拦截事件 — visibility:hidden 仍会阻止点击！ */
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

/* 纯 CSS 驱动：鼠标移入 li（含其内部的 mega-wrap）即展开，无需 data 属性 / JS 配对 */
.main-nav > ul > li.has-menu:hover > .mega-wrap,
.main-nav > ul > li.has-menu:focus-within > .mega-wrap {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto; /* 只在真正打开时允许交互 */
}

/* mega-menu 始终以 flex 布局渲染（未展开的 mega-wrap 自身 opacity:0/visibility:hidden，不会显示） */
.mega-menu {
  display: flex;
  min-height: 258px;
  border-top: 10px solid #fff;
  border-bottom: 10px solid #fff; /* 底部白色收边 */
}

.mega-intro {
  flex: 0 0 28%;
  padding: 38px 36px;
}

.mega-intro h3 {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 700;
  color: #222;
}

.mega-intro p {
  max-width: 250px;
  font-size: 14px;
  line-height: 1.9;
  color: #999;
}

.mega-links {
  flex: 0 0 26%;
  padding: 42px 34px 42px 0;
  list-style: none;
  border-right: 1px solid #eee;
}

.mega-links li + li {
  margin-top: 13px;
}

.mega-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 17px;
  color: #555;
  transition: color 0.3s ease;
}

.mega-links a svg {
  color: #c7c7c7;
  transition: color 0.3s ease, transform 0.3s ease;
}

.mega-links a:hover {
  color: var(--brand-red);
}

.mega-links a:hover svg {
  color: var(--brand-red);
  transform: translateX(3px);
}

.mega-visual {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.mega-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mega-visual:hover img {
  transform: scale(1.04);
}

/* ---------- 轮播控件 ---------- */
.banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 22, 45, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(-50%) scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease,
    background 0.35s ease, box-shadow 0.35s ease;
}

/* 旋转光环：conic 渐变描边 + 镂空遮罩 */
.banner-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 60%,
    rgba(255, 255, 255, 0.9) 78%,
    rgba(179, 38, 29, 0.95) 92%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: arrow-ring-spin 3s linear infinite;
}

@keyframes arrow-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.banner:hover .banner-arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.banner-arrow:hover {
  background: rgba(179, 38, 29, 0.85);
  box-shadow: 0 0 26px rgba(179, 38, 29, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.08);
}

.banner-arrow.prev {
  left: 40px;
}

.banner-arrow.next {
  right: 40px;
}

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 10;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.banner-dot {
  width: 30px;
  height: 3px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s ease, background 0.3s ease;
}

.banner-dot.is-active {
  width: 50px;
  background: #fff;
}

/* ================= 新闻中心 ================= */
.news {
  padding: 80px 0 0; /* 顶部 80px，与其他大模块统一 */
  background: #f8f8f8;
}

/* 大模块滚动渐入渐出（reveal 类由 JS 添加，JS 失效时不影响显示） */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 顶部通知条 */
.notice-bar {
  position: relative; /* 为左侧红底伪元素提供定位基准（相对整屏宽度） */
  width: 100%;
  height: 85px;
  background: #fffbed;
  overflow: hidden;
}

.notice-bar-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
  padding: 0; /* 覆盖全局 .container 的 0 20px padding */
  background: #f4ebcf;
}

/* 左侧红底：伪元素 absolute，从屏幕最左延伸到 170px 标签块的右边缘
   label-wrap 左边缘 = 50vw - 720px（= NEWS CENTER 左）
   label-wrap 宽 170px，故其右边缘 = 50vw - 550px
   伪元素 right = 50% + 550px（距屏幕右），即左边缘覆盖到 label-wrap 右边 */
.notice-bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: calc(50% + 550px);
  background: var(--brand-red);
  z-index: 0;
}

/* 标签块：170px 宽，左边缘对齐 NEWS CENTER，叠在红底伪元素上方 */
.notice-label-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px 0 16px;
  flex-shrink: 0;
  width: 170px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* 右侧内容区 */
.notice-content {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 100%;
  background: #fffbed;
}

/* 滚动容器：固定高度 85px，只显示一条，相对定位给子元素 absolute 参考 */
.notice-scroll {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 85px;
  overflow: hidden;
}

.notice-track {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  transition: top 0.55s ease;
}

.notice-scroll:hover .notice-track {
  transition: top 0.55s ease;
}

/* 无缝循环：5 条 × ~3.5s/条 = 17.5s */

.notice-track .notice-text {
  flex-shrink: 0;
  height: 85px;
  line-height: 85px;
  padding: 0 24px;
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-red);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
  cursor: pointer;
}

.notice-track .notice-text:hover {
  color: #8f1d16;  text-indent: 10px; transition: all 0.3s;
}

.notice-more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 85px;
  color: var(--brand-red);
  background: none;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s ease,
              background 0.3s ease;
}

.notice-more .nm-icon,
.notice-more .nm-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease,
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-more .nm-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.3s ease,
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-more .nm-arrow {
  transition: transform 0.25s ease;
}

.notice-more:hover .nm-arrow {
  transform: translateX(3px);
}

.notice-more:hover {
  width: 110px;
  color: #8f1d16;
}

.notice-more:hover .nm-icon {
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
}

.notice-more:hover .nm-text {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 主体布局 */
.news-main {
  display: flex;
  gap: 29px; /* 1440 - 776 - 635 = 29 */
  padding-top: 0;
  padding-bottom: 20px; /* 距 party-banner 20px */
  padding-left: 0;
  padding-right: 0;
}

.news-left {
  flex: 0 0 auto;
  width: 776px;
  min-width: 0;
}

.news-right {
  flex: 0 0 auto;
  width: 635px;
  min-width: 0;
  padding-top: 60px; /* 让 tabs 下移到 NEWS CENTER 底部水平线上 */
}

/* 标题 */
.news-heading .en {
  display: block;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px; /* 间距再紧密一些 */
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(180deg, rgba(226, 226, 226, 1) 0%, rgba(226, 226, 226, 0.2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.news-heading h2 {
  margin-top: 10px; /* 距 NEWS CENTER 下边缘 10px */
  font-size: 40px;
  line-height: 1; /* 消除默认行高的半行距，保证间距精确 */
  font-weight: 700;
  color: #1d1d1d;
  letter-spacing: 2px;
}

.news-heading h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 18px;
  background: #d9a72e;
}

/* 左侧焦点图：776*535 */
.news-focus-wrap {
}

.news-slider {
  position: relative;
  margin-top: 12px; /* 距 h2::after 金色短横线 12px */
  width: 776px;
  height: 535px;
  overflow: hidden;
}

/* 移除全局 ::after 白底，改由每个 .news-slide 自己画底部白底 */

.news-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease;
}

/* 每个 slide 自带的 80px 白底底条，跟 slide 一起淡入淡出，整条铺满无缺口 */
.news-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0; /* 整条铺满，右侧缺口由 .news-caption 文字层盖住（不影响白底本身） */
  bottom: 0;
  height: 80px;
  background: #fffbed;
  z-index: 1; /* 比 img 高，比 .slide-caption 低 */
}

.news-slide.is-active {
  opacity: 1;
  z-index: 2; /* 激活 slide 升到最上层，避免被后面 slide 的 opacity 过渡盖住 */
}

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

/* 分页点：绝对定位在 slider 底部右侧 100px 区域，背景由 .news-slider::after 提供 */
.news-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 80px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: transparent;
  z-index: 10; /* 文字内容层 */
}

/* 每个 slide 自带的 caption：绝对定位在 slide 底部左侧，背景由 .news-slider::after 提供 */
.slide-caption {
  position: absolute;
  left: 0;
  right: 100px; /* 给右侧的 news-caption 留 100px */
  bottom: 0;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: transparent; /* 背景由 slider::after 整条提供，此处不再单独画 */
  box-sizing: border-box;
  z-index: 10;
}

.slide-caption p {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slide-caption strong {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-dots {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.news-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c5c5c5;
  transition: background 0.3s ease, transform 0.3s ease;
}

.news-dot.is-active {
  background: var(--brand-red);
  transform: scale(1.15);
}

/* 右侧选项卡 */
.news-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
}

.news-tabs button {
  padding: 14px 24px;
  font-size: 25px;
  font-weight: 700;
  color: #5d5d5d;
  border: 1px solid transparent; /* 默认透明边框，切换时不抖 */
  letter-spacing: 1px;
  background: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.news-tabs button:hover,
.news-tabs button.is-active {
  color: var(--brand-red);
  border-color: var(--brand-red);
  background: #fff;
}

/* 右侧列表 */
.news-list {
  margin-top: 22px;
  list-style: none;
  background: #fff;
  padding: 8px;
}

/* 切换时条目从右到左挨个滑入 */
.news-list li {
  border-bottom: 1px solid #e8e8e8;
  animation: newsSlideIn 0.45s cubic-bezier(0.25, 0.6, 0.3, 1) both;
}

.news-list li:nth-child(2) { animation-delay: 0.07s; }
.news-list li:nth-child(3) { animation-delay: 0.14s; }
.news-list li:nth-child(4) { animation-delay: 0.21s; }
.news-list li:nth-child(5) { animation-delay: 0.28s; }
.news-list li:nth-child(6) { animation-delay: 0.35s; }

@keyframes newsSlideIn {
  from {
    opacity: 0;
    transform: translateX(46px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list a {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}

.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 105px;
  height: 75px;
  background: #e9e9e9;
  transition: background 0.3s ease;
}

.news-date b {
  font-size: 27px;
  line-height: 1.1;
  color: #333;
  transition: color 0.3s ease;
}

.news-date span {
  margin-top: 6px;
  font-size: 14px;
  color: #888;
  transition: color 0.3s ease;
}

.news-info {
  min-width: 0;
}

.news-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.news-info p {
  margin-top: 10px;
  font-size: 16px;
  color: #9e9e9e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-list a:hover .news-date {
  background: var(--brand-red);
}

.news-list a:hover .news-date b,
.news-list a:hover .news-date span {
  color: #fff;
}

.news-list a:hover .news-info h4 {
  color: var(--brand-red);
}

/* 党建横幅 */
.party-banner {
  position: relative;
  overflow: hidden;
  padding: 0; /* 覆盖 .container 默认 0 20px，让图片撑满 1440 */
  height: 129px;
}

.party-slider {
  position: relative;
  width: 100%;
  height: 129px;
}

.party-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 129px;
  transform: translateY(100%); /* 默认藏在下方 */
  transition: transform 0.8s cubic-bezier(0.45, 0.05, 0.2, 1); /* 上下翻页，缓入缓出更柔和 */
}

.party-slide.is-active {
  transform: translateY(0); /* 当前页 */
}

.party-slide.is-above {
  transform: translateY(-100%); /* 上一页向上翻出 */
}

.party-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.party-dots {
  position: absolute;
  right: 34px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 9px;
  cursor: pointer;
}

.party-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  transition: background 0.3s ease;
}

.party-dots span.is-active {
  background: #ffdf33;
}

/* ---------- 企业概况 ---------- */
.profile {
  background: #f8f8f8;
  padding: 80px 0 0; /* 距上方区块 80px，底部无内边距 */
  overflow: hidden;
}

.profile-inner {
  padding-left: 0; /* 覆盖 .container 默认 0 20px */
  padding-right: 0;
  background: url("../images/introbg.png") no-repeat left bottom; /* 容器内左下背景图 */
}

.profile-main {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.profile-info {
  flex: 0 0 auto;
  width: 546px;
}

.profile-heading .en {
  display: block;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px; /* 与其他大标题统一 */
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(180deg, rgba(226, 226, 226, 1) 0%, rgba(226, 226, 226, 0.2) 100%); /* 从上到下透明度 100% → 20% */
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.profile-heading h2 {
  margin-top: 10px;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: #1d1d1d;
  letter-spacing: 2px;
}

.profile-heading h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 18px;
  background: #d9a72e;
}

.profile-info h3 {
  margin-top: 34px;
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1d;
}

.profile-info p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: #666;
  text-align: justify;
  text-indent: 2em;
}

.profile-more {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 12px 34px;
  font-size: 15px;
  color: #555;
  border: 1px solid #d5bd8f;
  border-radius: 999px;
  transition: color 0.35s ease, border-color 0.45s ease;
}

/* 红色背景从左到右扫入（0 → 100%） */
.profile-more::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-more:hover {
  color: #fff;
  border-color: var(--brand-red);
}

.profile-more:hover::before {
  transform: scaleX(1);
}

.profile-more .arrow {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 1px;
  background: currentColor;
}

.profile-more .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3.5px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* 右侧视频卡：顶对齐“企业概况”标题，864*488 */
.profile-video {
  position: relative;
  flex: 1;
  margin-top: 70px;
  height: 488px;
  background: #fff;
  border: 1px solid #e3d2a8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-video .profile-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.profile-video .profile-play {
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.profile-video.is-playing .profile-play {
  opacity: 0;
  visibility: hidden;
}

/* ---------- 底部控制栏 ---------- */
.profile-video .profile-ctrls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 70%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.profile-video.is-playing .profile-ctrls {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-video .ctrl-play,
.profile-video .ctrl-fs {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.2s ease;
}

.profile-video .ctrl-play:hover,
.profile-video .ctrl-fs:hover {
  background: rgba(255, 255, 255, 0.22);
}

.profile-video .ctrl-play .ic,
.profile-video .ctrl-fs .ic {
  display: none;
}

.profile-video.is-playing .ctrl-play .ic.ic-pause,
.profile-video:not(.is-playing) .ctrl-play .ic.ic-play {
  display: inline-block;
}

.profile-video.is-fullscreen .ctrl-fs .ic.ic-fs-exit,
.profile-video:not(.is-fullscreen) .ctrl-fs .ic.ic-fs-enter {
  display: inline-block;
}

/* --- 进度条 --- */
.profile-video .ctrl-seek {
  flex: 1;
  min-width: 0;
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.profile-video .seek-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  overflow: hidden;
}

.profile-video .seek-buffered {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(255, 255, 255, 0.4);
}

.profile-video .seek-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--brand-red);
}

.profile-video .seek-thumb {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  left: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.profile-video:hover .seek-thumb,
.profile-video.is-seeking .seek-thumb {
  opacity: 1;
}

/* 原生 range：隐藏，叠加在自定义条上用于可拖动 */
.profile-video .seek-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

/* 针对部分浏览器需要 visible 才能捕获事件，这里让它透明但可点 */
.profile-video .ctrl-seek {
  pointer-events: none;
}
.profile-video .ctrl-seek > * {
  pointer-events: auto;
}

/* --- 时间 --- */
.profile-video .ctrl-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  padding: 0 2px;
}

.profile-video.is-fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  z-index: 9999;
  border: none;
  background: #000;
}

.profile-video.is-fullscreen .profile-video-el {
  object-fit: contain;
}

.profile-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: none;
  border-radius: 50%;
  background: rgba(130, 130, 130, 0.55);
  cursor: pointer;
}

.profile-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-36%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.92);
}

/* 底部数据行 */
.profile-stats {
  display: flex;
  margin-top: 100px;
  list-style: none;
  text-align: center;
}

.profile-stats li {
  flex: 1;
}

.profile-stats li + li {
  border-left: 1px solid #d9d9d9;
}

.profile-stats .num {
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: #dbbc61;
}

.profile-stats .num i {
  margin-left: 3px;
  font-style: normal;
  font-size: 18px;
  font-weight: 400;
  color: #2d2d2d;
}

.profile-stats p {
  margin-top: 14px;
  font-size: 18px;
  color: #2d2d2d;
}

/* 数字翻页时钟效果 */
.profile-stats .num-val {
  display: inline-block;
  perspective: 300px;
}

/* 计数中：数字轻微上滑淡入一次（无旋转、无颜色闪烁） */
.profile-stats .num-val.is-counting {
  animation: numIn 0.35s ease both;
}

@keyframes numIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 集团产业 ---------- */
.industry {
  background: #f8f8f8;
  padding: 80px 0 0; /* 顶部 80px，底部无内边距 */
}

.industry-inner {
  padding-left: 0;
  padding-right: 0;
}

.industry-heading {
  margin-left: 0;
}

.industry-heading .en {
  display: block;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(180deg, rgba(226, 226, 226, 1) 0%, rgba(226, 226, 226, 0.2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.industry-heading h2 {
  margin-top: 10px;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: #1d1d1d;
  letter-spacing: 2px;
}

.industry-heading h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 18px;
  background: #d9a72e;
}

/* 手风琴横排：默认展开 552px，收起 222px，高 536px */
.industry-list {
  display: flex;
  height: 536px;
  margin-top: 55px;
}

.ind-item {
  position: relative;
  flex: 0 1 222px;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: flex-basis 0.55s cubic-bezier(0.45, 0.05, 0.2, 1);
}

.ind-item + .ind-item {
  border-left: 1px solid #fff; /* 面板间白色细分隔线 */
}

.ind-item.is-active,
.ind-item:hover {
  flex-basis: 552px;
}

.ind-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 选中态背景图：叠在默认图之上，交叉淡入 */
.ind-item .img-h {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.ind-item.is-active .img-h,
.ind-item:hover .img-h {
  opacity: 1;
}

/* 收起态色罩 */
.ind-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.ind-item.t2::before { background: rgba(24, 56, 66, 0.45); }
.ind-item.t3::before { background: rgba(38, 84, 48, 0.45); }
.ind-item.t4::before { background: rgba(56, 84, 36, 0.5); }
.ind-item.t5::before { background: rgba(88, 86, 74, 0.5); }

.ind-item.is-active::before,
.ind-item:hover::before {
  opacity: 0;
}

/* 收起态竖排标题：居左，距上 35px、距左 55px */
.ind-name {
  position: absolute;
  z-index: 2;
  top: 35px;
  left: 55px;
  writing-mode: vertical-rl;
  font-size: 30px;
  letter-spacing: 10px;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); /* 亮色背景上保持白字清晰 */
  transition: opacity 0.15s ease; /* 快速消失，避免与展开标题重叠 */
}

/* 展开态红色标题 + 橙色渐变 + 查看更多 */
.ind-title {
  position: absolute;
  z-index: 2;
  top: 44px;
  left: 46px;
  font-size: 40px;
  font-weight: 800;
  color: #b3261d;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.9), 0 0 4px rgba(255, 255, 255, 0.8); /* 浅色底图上提亮字周，增强对比 */
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease 0.18s; /* 等竖排标题消失后再淡入 */
}

.ind-grad {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 215px;
  background: linear-gradient(180deg, rgba(226, 140, 40, 0) 0%, rgba(224, 138, 46, 0.92) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ind-more {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 26px;
  padding-bottom: 5px; /* 给下划线留位 */
  font-size: 15px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s ease 0.1s, color 0.3s ease, transform 0.3s ease;
}

/* 下划线：从左到右扫入 */
.ind-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ffd66b;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.ind-more:hover {
  color: #ffd66b;
  transform: translateX(4px); /* 轻微右移，呼应"+"的方向感 */
}

.ind-more:hover::after {
  transform: scaleX(1);
}

.ind-item.is-active .ind-name,
.ind-item:hover .ind-name {
  opacity: 0;
}

.ind-item.is-active .ind-title,
.ind-item:hover .ind-title,
.ind-item.is-active .ind-grad,
.ind-item:hover .ind-grad,
.ind-item.is-active .ind-more,
.ind-item:hover .ind-more {
  opacity: 1;
}

/* ---------- 城发服务 ---------- */
.service {
  background: #f8f8f8;
  padding: 80px 0 60px; /* 顶部 80px，与其他大模块统一 */
}

.service-inner {
  padding-left: 0;
  padding-right: 0;
}

.service-heading .en {
  display: block;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(180deg, rgba(226, 226, 226, 1) 0%, rgba(226, 226, 226, 0.2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.service-heading h2 {
  margin-top: 10px;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: #1d1d1d;
  letter-spacing: 2px;
}

.service-heading h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 18px;
  background: #d9a72e;
}

.service-main {
  display: flex;
  gap: 0;
  margin-top: 50px;
}

.service-tabs {
  flex: 0 0 200px; /* 固定宽 200px */
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 38px;
  padding-top: 68px;
}

.service-tabs button {
  position: relative;
  padding-bottom: 14px;
  font-family: inherit;
  font-size: 26px;
  font-weight: 700;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.service-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--brand-red);
  transition: width 0.3s ease;
}

.service-tabs button:hover {
  color: var(--brand-red);
}

.service-tabs button.is-active {
  color: var(--brand-red);
}

.service-tabs button.is-active::after {
  width: 100%;
}

.service-cards {
  flex: 1;
  min-width: 0;
  overflow: hidden; /* 视口：配合 track 左右翻页 */
}

.service-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

/* 选项卡切换时隐藏非当前的列表 / 卡片组 */
.news-list[hidden],
.service-track[hidden] {
  display: none;
}

.service-card {
  position: relative;
  flex: 0 0 400px; /* 固定 400px 宽 */
  width: 400px;
  height: 400px;
  overflow: hidden;
  border-radius: 5px; /* 5px 圆角 */
  background: #e8e8e8;
  animation: cardIn 0.5s ease backwards; /* 切换选项卡时依次渐入 */
}

.service-card:nth-child(2) { animation-delay: 0.08s; }
.service-card:nth-child(3) { animation-delay: 0.16s; }
.service-card:nth-child(4) { animation-delay: 0.24s; }
.service-card:nth-child(5) { animation-delay: 0.32s; }
.service-card:nth-child(6) { animation-delay: 0.4s; }

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 46%);
}

.service-card .txt {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 28px;
  right: 24px;
  color: #fff;
}

.service-card .txt h4 {
  font-size: 26px;
  font-weight: 700;
}

.service-card .txt p {
  margin-top: 10px;
  font-size: 15px;
  opacity: 0.95;
}

/* 服务卡 hover 金色二维码层：磨砂半透明 + 网格纹理 + 四角HUD框 + 二维码发光 */
.qr-panel {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 26px),
    linear-gradient(155deg, rgba(210, 184, 105, 0.82) 0%, rgba(194, 164, 78, 0.82) 100%);
  -webkit-backdrop-filter: blur(7px); /* 磨砂：模糊底下卡片图片 */
  backdrop-filter: blur(7px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover .qr-panel {
  opacity: 1;
}

/* 四角 HUD 边框 */
.qr-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background:
    linear-gradient(#fff, #fff) top left / 24px 2px,
    linear-gradient(#fff, #fff) top left / 2px 24px,
    linear-gradient(#fff, #fff) top right / 24px 2px,
    linear-gradient(#fff, #fff) top right / 2px 24px,
    linear-gradient(#fff, #fff) bottom left / 24px 2px,
    linear-gradient(#fff, #fff) bottom left / 2px 24px,
    linear-gradient(#fff, #fff) bottom right / 24px 2px,
    linear-gradient(#fff, #fff) bottom right / 2px 24px;
  background-repeat: no-repeat;
  opacity: 0.8;
}

/* 层内文字：大标题/小标题 左上 */
.qr-panel .ptxt {
  padding: 38px 36px 0;
}

.qr-panel .ptxt h4 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.qr-panel .ptxt p {
  margin-top: 14px;
  font-size: 15px;
  color: #fff;
}

.qr-box {
  width: 158px;
  height: 158px;
  margin: auto; /* 在剩余空间水平垂直居中 */
  padding: 10px;
  background: #fff;
}

.qr-box svg {
  display: block;
  width: 100%;
  height: 100%;
}

.qr-note {
  margin: 0 auto 34px; /* 水平居中，距底部 34px */
  font-size: 15px;
  color: #fff;
}

/* 图片轻微缩放 */
.service-card img {
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

/* 二维码呼吸发光 */
.service-card:hover .qr-box {
  animation: qrGlow 1.6s ease-in-out infinite alternate;
}

@keyframes qrGlow {
  from { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 10px rgba(255, 255, 255, 0.35); }
  to { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55), 0 0 28px rgba(255, 255, 255, 0.7); }
}

.service-dots {
  display: flex;
  justify-content: center;
  width: 100%; /* 与 service-cards 同宽 */
  gap: 12px;
  margin-top: 50px;
}

.service-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.service-dot.is-active {
  background: var(--brand-red);
}

/* ---------- 侧边悬浮导航 ---------- */
.side-nav {
  position: fixed;
  right: 40px;
  top: 70%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.side-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
}

.side-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.side-nav-label {
  position: absolute;
  right: 46px;
  padding: 6px 14px;
  background: var(--brand-red);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.side-nav-label::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--brand-red);
}

.side-nav-item:hover .side-nav-label,
.side-nav-item:focus-within .side-nav-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.side-nav-item:hover .side-nav-dot {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: scale(1.3);
}

.side-nav-item.is-active .side-nav-dot {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(179, 38, 29, 0.18);
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 40px;
  bottom: 60px;
  min-width: 88px;
  height: 56px;
  padding: 6px 18px;
  border-radius: 6px;
  border: none;
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 4px 18px rgba(179, 38, 29, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
}

.back-top .bt-top {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
}

.back-top .bt-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
  opacity: 0.92;
}

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

.back-top:hover {
  background: #a01f17;
  box-shadow: 0 6px 22px rgba(179, 38, 29, 0.55);
  transform: translateY(-3px);
}

/* ---------- 页脚 ---------- */
.footer {
  background: #16303e url("../images/footbg.jpg") center / cover no-repeat;
  color: #fff;
}

.footer-inner,
.footer-bar-inner {
  padding-left: 0;
  padding-right: 0;
}

.footer-main {
  display: flex;
  align-items: center;
  min-height: 280px;
}

.footer-brand img {
  display: block;
  width: auto; /* 显示实际大小 */
  height: auto;
}

.footer-brand,
.footer-contact,
.footer-qr {
  flex: 0 0 33.33%; /* 三等分 */
  max-width: 33.33%;
}

.footer-contact {
  padding-left: 70px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #eef3f6;
}

.contact-line + .contact-line {
  margin-top: 22px;
}

.contact-line b {
  font-weight: 700;
  color: #fff;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center; /* 二维码和文字都水平居中 */
  justify-content: center;
  text-align: center;
}

.qr-code {
  width: 136px;
  height: 136px;
  background: #d9a72e;
}

.footer-qr p {
  margin-top: 12px;
  font-size: 14px;
  color: #eef3f6;
}

.footer-bar {
  background: rgba(8, 20, 32, 0.55);
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  font-size: 13px;
  color: #d9e2e8;
}

.police {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.police-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* ---------- 自适应 ---------- */
@media (max-width: 1440px) {
  .logo img {
    width: 220px;
  }
  .main-nav > ul {
    gap: 28px;
  }
}
@media (max-width: 1200px) {
  .logo img {
    width: 196px;
  }
  .main-nav > ul > li > a {
    font-size: 18px;
  }
  .main-nav > ul {
    gap: 20px;
  }
  .header-right {
    gap: 20px;
  }
  .mega-intro {
    padding: 32px 26px;
  }
  .mega-intro h3 {
    font-size: 21px;
  }
  .mega-links {
    padding: 34px 24px 34px 0;
  }
  .news-main {
    gap: 36px;
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .news-heading .en {
    font-size: 50px;
  }
  .news-heading h2 {
    margin-top: -24px;
    font-size: 32px;
  }
  .news-tabs {
    gap: 26px;
  }
  .news-tabs button {
    font-size: 18px;
    padding: 8px 14px;
  }
  .news-date {
    width: 74px;
    height: 74px;
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 80px;
  }
  .logo img {
    width: 172px;
  }
  .main-nav > ul {
    gap: 16px;
  }
  .main-nav > ul > li > a {
    font-size: 16px;
    letter-spacing: 0;
  }
  .nav-search svg {
    width: 17px;
    height: 17px;
  }
  .mega-visual {
    display: none;
  }
  .mega-intro {
    flex-basis: 40%;
  }
  .mega-links {
    flex: 1;
  }
  .news-main {
    flex-direction: column;
  }
  .news-left {
    flex-basis: auto;
  }
  .news-tabs {
    justify-content: flex-start;
  }
}
