/* 重置样式 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

* {
  box-sizing: border-box;
}

/* 通用工具类 */
.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.justify-start {
  display: flex;
  justify-content: flex-start;
}

.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}

.justify-between {
  display: flex;
  justify-content: space-between;
}

.items-start {
  display: flex;
  align-items: flex-start;
}

.items-end {
  display: flex;
  align-items: flex-end;
}

.items-center {
  display: flex;
  align-items: center;
}

.no-shrink {
  flex-shrink: 0;
}

/* 头部样式 */
.site-header {
  width: 100%;
  height: 96px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding-top: 18px;
  padding-right: 207px;
  padding-bottom: 18px;
  padding-left: 207px;
  gap: 230px;
  flex-shrink: 0;
  background-color: #ffffff;
  position: relative;
}

.site-logo {
  width: 182px;
  height: 60px;
  flex-shrink: 0;
  background: url("img/d1895922.png") center / cover no-repeat;
}

.site-nav {
  position: relative;
  width: 939px;
  height: 35px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  isolation: isolate;
}

.nav-item {
  position: relative;
  text-align: justify;
  font-size: 24px;
  font-family: SourceHanSans;
  font-weight: normal;
  line-height: 35px;
  color: #333333;
  white-space: pre;
  height: auto;
  text-decoration: none;
  cursor: pointer;
}

.nav-item:first-child {
  z-index: 0;
  margin-left: 0;
}

.nav-item:nth-child(2) {
  z-index: 1;
  margin-left: 87px;
}


.nav-item:nth-child(3) {
  z-index: 3;
  margin-left: 350px;
    /*color: #ff5000;*/
}


.nav-item:nth-child(4) {
  position: absolute;
  top: 0;
  left: 0;
  right: 34px;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  bottom: 0;
  z-index: 2;
}

.nav-item:last-child {
  position: absolute;
  top: 0;
  left: auto;
  right: 5px;
  bottom: 0;
  z-index: 4;
}

/* 导航项hover效果 */
.nav-item:hover {
  color: #ff5000 !important;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-item.is-active {
  color: #ff5000 !important;
}

.nav-item {
  transition: color 0.3s ease;
}

/* 页脚样式 */
.site-footer {
  width: 100%;
  height: 292px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
  position: relative;
  background-color: #333333;
  isolation: isolate;
}

.footer-content {
  width: 1300px;
  height: 39px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-top: 41px;
  margin-left: 265px;
}

.footer-brand {
  width: 543px;
  height: 39px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  text-align: center;
  font-size: 28px;
  font-family: SourceHanSans;
  font-weight: normal;
  line-height: 40px;
  color: #ff5000;
  white-space: pre;
  position: relative;
}

.footer-logo {
  width: 119px;
  height: 39px;
  flex-shrink: 0;
  background: url("img/f59d0d33.png") center / cover no-repeat;
}

.footer-brand span {
  margin-top: -2px;
}

.footer-nav {
  position: relative;
  width: 540px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  isolation: isolate;
}

.footer-nav-item {
  position: relative;
  text-align: justify;
  font-size: 16px;
  font-family: SourceHanSans;
  font-weight: normal;
  line-height: 23px;
  color: #ffffff;
  white-space: pre;
  height: auto;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-nav-item:first-child {
  z-index: 0;
  margin-left: 0;
}

.footer-nav-item:nth-child(2) {
  z-index: 1;
  margin-left: 38px;
}

.footer-nav-item:nth-child(3) {
  z-index: 3;
  margin-left: 193px;
}

.footer-nav-item:nth-child(4) {
  position: absolute;
  top: 0;
  left: 0;
  right: 16px;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  bottom: 1px;
  z-index: 2;
}

.footer-nav-item:last-child {
  position: absolute;
  top: 0;
  left: auto;
  right: 1px;
  bottom: 1px;
  z-index: 4;
}

/* 页脚导航项hover效果 */
.footer-nav-item:hover {
  color: #ff5000 !important;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-nav-item.is-active {
  color: #ff5000 !important;
}

.footer-divider {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
  margin-top: 41px;
  margin-left: 0;
  margin-right: 0;
  align-self: stretch;
  aspect-ratio: 960;
}

.footer-copyright {
  position: relative;
  text-align: center;
  font-size: 24px;
  font-family: SourceHanSans;
  font-weight: normal;
  line-height: 35px;
  color: #7a7878;
  width: max-content;
  margin-left: calc(50% - 218.5px);
  margin-right: auto;
  z-index: 2;
  margin-top: 51px;
}

/* —— 静态地图：层次感与微动效（首页 / Contact 共用） —— */
.static-map-viewport {
  position: relative;
}

.static-map-viewport .static-map-img {
  opacity: 0;
  transition: filter 0.5s ease, opacity 0.6s ease;
  /* 与红点、脉冲环同源：缩放绕该点，避免滚轮放大时错位 */
  transform-origin: var(--map-focus-x, 50%) var(--map-focus-y, 50%);
}

.static-map-viewport.is-map-ready .static-map-img {
  opacity: 1;
}

.static-map-viewport {
  cursor: zoom-in;
  /* 由 static-map.js 根据 data-map-focus 写入，与图片红点/object-position 对齐 */
  --map-focus-x: 50%;
  --map-focus-y: 50%;
  /* 新裁图 map2 红点已在中心时可保持 1 / 0；单页仍可覆盖 */
  --map-base-scale: 1;
  --map-nudge-x: 0%;
}

.static-map-pulse {
  position: absolute;
  left: var(--map-focus-x);
  top: var(--map-focus-y);
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  border: 2px solid rgba(239, 68, 68, 0.85);
  background: radial-gradient(circle, rgba(254, 226, 226, 0.38) 0%, transparent 72%);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  transform: translate(-50%, -50%);
  animation: static-map-pulse-ring 2.4s ease-out infinite;
}

@keyframes static-map-pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.86);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.32);
    box-shadow: 0 0 0 24px rgba(239, 68, 68, 0);
  }
  100% {
    transform: translate(-50%, -50%) scale(0.86);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .static-map-pulse {
    animation: none;
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1);
  }
}

.static-map-hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 7px 14px;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.96);
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.58), rgba(49, 46, 129, 0.5));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  pointer-events: none;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0.88;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease;
}

@media (max-width: 480px) {
  .static-map-hint {
    font-size: 11px;
    padding: 6px 12px;
    max-width: calc(100% - 24px);
    text-align: center;
    white-space: normal;
  }
}

.static-map-link:hover .static-map-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
  background: linear-gradient(135deg, rgba(55, 48, 163, 0.72), rgba(67, 56, 202, 0.65));
}

.static-map-link:hover .static-map-img {
  filter: brightness(1.07) saturate(1.06) contrast(1.02);
}
