/* ==========================================================================
   湖佳 GFortune —— 样式表
   基于 kimi 模板（Austruct 复刻）扩展：保留 :root 设计令牌机制与头部/页脚/
   轮播/灯箱等基础组件，新增 hero caption、视频背景区、6 宫格、4 深卡、
   深色地图、图文交替行、语言切换等组件
   ========================================================================== */

:root {
  /* 色彩令牌 */
  --c-primary: #12335c;        /* 深蓝：标题 / 导航 / 正文标题 */
  --c-accent: #e87722;         /* 橙：强调 / 链接 / 地图点 / 标题条 */
  --c-accent-dim: rgba(232, 119, 34, .78);
  --c-navy: #0b3663;           /* 业务线深蓝底 */
  --c-navy-dark: #071a30;      /* 服务 / 地图深色底 */
  --c-text: #5b6b7a;
  --c-line: #9aa8b3;
  --c-muted: #bcbec0;
  --c-soft: #eef1f4;
  /* 字体令牌 */
  --font-body: "Titillium Web", "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --font-display: "Russo One", "Titillium Web", Arial, sans-serif;
  /* 布局令牌 */
  --header-main-h: 84px;
  --header-h: var(--header-main-h);
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { color: #c7651a; }
p { margin: 0 0 18px; }
ul { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 6px; }
h1, h2, h3, h4 { color: var(--c-primary); margin: 0 0 18px; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 20px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 15px; }
.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   Header（单行：logo + 水平导航 + 语言切换 + 移动端抽屉）
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 8px rgba(18, 51, 92, .12);
}
.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-main-h);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-icon { width: auto; height: 56px; display: block; flex: none; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.25; }
.brand-zh { font-size: 19px; font-weight: 700; color: var(--c-primary); letter-spacing: .02em; white-space: nowrap; }
.brand-en { font-size: 8.5px; color: var(--c-text); letter-spacing: .03em; white-space: nowrap; margin-top: 3px; }

.main-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  position: relative;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
  color: var(--c-primary);
  white-space: nowrap;
  padding-bottom: 8px;
  transition: color .3s ease-in-out;
}
/* Fluor 式下划线指示：悬停/当前页从左向右展开蓝色条 */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 3px;
  background: #009dea;
  transition: right .3s ease-in-out;
}
.main-nav a:hover, .main-nav a.active { color: var(--c-primary); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

/* 语言切换：中文 | EN */
.lang-switch { display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; flex: none; }
.lang-switch a, .lang-current { font-weight: 600; letter-spacing: .04em; }
.lang-switch a { color: var(--c-primary); }
.lang-switch a:hover { color: var(--c-accent); }
.lang-current { color: var(--c-accent); cursor: default; }
.lang-switch .lang-sep { color: var(--c-muted); }
.lang-switch:not(.mobile) { padding-left: 20px; border-left: 1px solid var(--c-soft); }

.header-spacer { height: var(--header-h); }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  background: var(--c-primary);
  border: 0;
  cursor: pointer;
  padding: 12px 11px;
  margin-left: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 3px; margin: 4px 0;
  background: #fff; transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 999;
  background: var(--c-primary);
  padding: 6px 0 18px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 13px 0;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--c-accent); }
.lang-switch.mobile { padding-top: 16px; gap: 10px; font-size: 14px; }
.lang-switch.mobile a { color: #fff; padding: 0; border: 0; display: inline; }
.lang-switch.mobile .lang-current { color: var(--c-accent); }

/* --------------------------------------------------------------------------
   首页 Hero 轮播（全屏大图 + 左下「项目名 + 行业 · 地点」+ 圆点 + 向下箭头）
   -------------------------------------------------------------------------- */
#home-slider {
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--header-h));
  min-height: 460px;
  background: var(--c-navy-dark);
}
#home-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
#home-slider .slide.active { opacity: 1; z-index: 1; }
#home-slider .slide-image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.slide-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 12, 24, .84) 0%, rgba(4, 12, 24, .40) 34%, rgba(4, 12, 24, 0) 66%);
}

.slide-caption { position: absolute; left: 0; right: 0; bottom: 116px; z-index: 3; }
.caption-title {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 10px;
  max-width: 760px;
}
.caption-title a { color: #fff; }
.caption-title a:hover { color: var(--c-accent); }
.caption-meta { color: rgba(255, 255, 255, .84); font-size: 14px; margin: 0; letter-spacing: .02em; }
.dot-sep { margin: 0 9px; opacity: .7; }

/* 轮播圆点（细横条，左下角） */
.slider-dots {
  position: absolute;
  z-index: 4;
  bottom: 62px;
  left: max(15px, calc((100% - 1140px) / 2 + 15px));
  display: flex;
  gap: 9px;
}
.slide-dot {
  width: 24px; height: 3px;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .38);
  transition: background .25s;
}
.slide-dot.active { background: #fff; }
.slide-dot:hover { background: var(--c-accent); }

/* 轮播箭头 */
.slider-arrow {
  position: absolute; z-index: 5;
  top: 50%; transform: translateY(-50%);
  width: 16px; height: 29px;
  border: 0; padding: 0; cursor: pointer;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: left top;
}
.slider-arrow.prev {
  left: max(10px, calc((100% - 1222px) / 2 + 8px));
  background-image: url("../assets/images/ui/nav-slider-prev.png");
}
.slider-arrow.prev:hover { background-image: url("../assets/images/ui/nav-slider-prev-hover.png"); }
.slider-arrow.next {
  right: max(10px, calc((100% - 1222px) / 2 + 8px));
  background-image: url("../assets/images/ui/nav-slider-next.png");
}
.slider-arrow.next:hover { background-image: url("../assets/images/ui/nav-slider-next-hover.png"); }

/* 向下滚动按钮（底部居中，1s 后淡入） */
.slider-dropdown {
  position: absolute;
  right: 0; bottom: 22px; left: 0;
  z-index: 6;
  display: none;
  justify-content: center;
  pointer-events: none;
}
.slider-dropdown.show { display: flex; }
.slider-dropdown a {
  position: relative;
  display: block;
  pointer-events: auto;
  width: 54px; height: 54px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  transition: border-color .3s ease, background .3s ease;
}
.slider-dropdown a::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -68%) rotate(45deg);
}
.slider-dropdown a:hover { border-color: var(--c-accent); background: rgba(232, 119, 34, .3); }

/* --------------------------------------------------------------------------
   内页横幅轮播
   -------------------------------------------------------------------------- */
.inner-slider {
  position: relative;
  overflow: hidden;
  height: 544px;
  background: var(--c-primary);
}
.inner-slider.single { height: 372px; }
@media screen and (max-width: 1219px) {
  .inner-slider, .inner-slider.single { height: 412px; }
}
@media screen and (max-width: 767px) {
  .inner-slider, .inner-slider.single { height: 312px; }
}
.inner-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.inner-slider .slide.active { opacity: 1; }
.inner-slider .slide-image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}

/* --------------------------------------------------------------------------
   内容区通用
   -------------------------------------------------------------------------- */
.site-content { padding-bottom: 40px; }
.page-lead { color: var(--c-primary); font-size: 16px; line-height: 1.75; text-align: center; max-width: 760px; margin: 0 auto 40px; }
html[lang="zh-CN"] .page-lead { text-wrap: balance; }
.entry-content { max-width: 760px; margin: 0 auto 36px; }
.entry-content.center { text-align: center; }

.entry-content p {
  color: var(--c-primary);
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  margin: 0 0 20px;
}
.section-heading {
  color: var(--c-primary);
  font-size: 19px;
  font-weight: 600;
  margin: 46px 0 20px;
  padding-left: 14px;
  border-left: 4px solid var(--c-accent);
}

/* divider-title：图标 + 双色标题 + 通栏细线 */
.divider-title {
  text-align: center;
  display: block;
  margin: 42px auto 30px;
  position: relative;
  max-width: 760px;
}
.divider-title .entry-title {
  background: #fff;
  display: inline-block;
  margin: 0;
  padding: 0 14px;
  position: relative;
  z-index: 9;
}
/* 节标题左侧品牌标记：橙 + 深蓝双斜条（替代模板图标图片） */
.divider-title .entry-title .title-mark {
  display: inline-block;
  width: 8px; height: 24px;
  background: var(--c-accent);
  transform: skewX(-16deg);
  margin: 0 16px 0 4px;
  vertical-align: middle;
  position: relative;
}
.divider-title .entry-title .title-mark::after {
  content: "";
  position: absolute;
  left: 11px; top: 0;
  width: 8px; height: 24px;
  background: var(--c-navy);
}
.divider-title .entry-title .black,
.divider-title .entry-title .red {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 29px;
  vertical-align: middle;
}
.divider-title .entry-title .black { color: var(--c-primary); }
.divider-title .entry-title .red { color: var(--c-accent); }
.divider-title .divider-line {
  display: block;
  height: 1px;
  width: 100%;
  border-bottom: 1px solid var(--c-line);
  position: absolute;
  top: 50%;
  left: 0;
}

/* 首页区块标题：橙色徽标 + 横线 */
.badge-title { display: flex; align-items: center; gap: 20px; margin: 0 0 20px; }
.badge-text {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--c-accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  margin: 0;
  padding: 15px 28px;
  border-radius: 40px;
  white-space: nowrap;
}
.badge-line { flex: 1; height: 2px; background: var(--c-accent); opacity: .75; }
.sub-badge-title {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  margin: 46px 0 22px;
  padding-left: 14px;
  border-left: 4px solid var(--c-accent);
}

/* 深色区块 */
.band { padding: 64px 0 70px; }
.band-navy { background: var(--c-navy); }
.band-dark { background: var(--c-navy-dark); }
.band-map { background: #0e1116; padding: 64px 0 70px; }
.band-lead { color: rgba(255, 255, 255, .78); max-width: 820px; font-size: 15px; margin: 0 0 38px; }
.band-action { margin: 36px 0 0; }
.text-link {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--c-accent);
}
.text-link:hover { color: var(--c-accent); }

/* --------------------------------------------------------------------------
   图片卡（6 宫格 / 4 卡片 / 4 场景卡）
   -------------------------------------------------------------------------- */
.card { display: block; }
.card-media {
  height: 200px;
  background-color: rgba(255, 255, 255, .07);
  background-size: cover;
  background-position: center;
  transition: opacity .3s ease-in-out;
}
.card:hover .card-media { opacity: .86; }
.card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0 11px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid rgba(255, 255, 255, .32);
  transition: color .3s ease-in-out, border-color .3s ease-in-out;
}
.card:hover .card-label { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  flex: 0 0 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

/* 6 宫格（业务线） */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }

/* 4 深色卡片（服务与专长） */
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.svc-card .card-media { height: 158px; }
.svc-card .card-label { margin: 0 18px; font-size: 14.5px; }
.svc-card:hover { background: rgba(255, 255, 255, .08); }

/* 6 场景卡（项目） */
.scene-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scene-card .card-media { height: 180px; }

/* --------------------------------------------------------------------------
   About 区（首页：视频关键帧背景 + 蒙层 + 按钮）
   -------------------------------------------------------------------------- */
.video-band { position: relative; overflow: hidden; background: var(--c-navy-dark); }
.video-band-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
}
.video-band-overlay { position: absolute; inset: 0; background: rgba(6, 18, 34, .7); }
.video-band-inner { position: relative; z-index: 2; text-align: center; padding: 118px 15px 122px; }
.video-band-heading { color: #fff; font-size: 30px; font-weight: 600; margin: 0 0 16px; }
.video-band-text { color: rgba(255, 255, 255, .84); font-size: 17px; max-width: 720px; margin: 0 auto 30px; }
.play-badge {
  display: inline-flex;
  position: relative;
  width: 68px; height: 68px;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  margin-bottom: 24px;
}
.play-badge::after {
  content: "";
  position: absolute;
  left: 27px; top: 21px;
  border-left: 19px solid rgba(255, 255, 255, .92);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

/* --------------------------------------------------------------------------
   Projects 地图区（Leaflet + 本地国家轮廓 GeoJSON + 橙色点）
   -------------------------------------------------------------------------- */
.map-block { margin: 0 0 6px; }
.map-note {
  max-width: var(--maxw);
  margin: 0 auto 14px;
  padding: 0 15px;
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  letter-spacing: .02em;
}
.projects-map {
  height: 480px;
  background: #0b1622;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.projects-map .leaflet-container { background: #0b1622; font-family: var(--font-body); }
.project-marker-wrap { background: transparent; border: 0; }
.project-marker {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e87722;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  pointer-events: none;
}
.headquarters-marker-wrap { background: transparent; border: 0; }
.headquarters-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid #e87722;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.headquarters-marker img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.map-error {
  max-width: var(--maxw);
  margin: 14px auto 0;
  padding: 0 15px;
  color: #f0a35e;
  font-size: 13px;
  line-height: 1.7;
}
.leaflet-tooltip.map-tip {
  background: rgba(9, 20, 34, .95);
  color: #fff;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .55);
  font-size: 13px;
  padding: 6px 10px;
}
.leaflet-tooltip.map-tip::before { display: none; }
.leaflet-control-attribution {
  background: rgba(0, 0, 0, .5) !important;
  color: rgba(255, 255, 255, .55) !important;
  font-size: 10px !important;
}
.leaflet-control-attribution a { color: rgba(255, 255, 255, .72) !important; }
.leaflet-bar a { background: #12233c; color: #fff; border-color: rgba(255, 255, 255, .16); }
.leaflet-bar a:hover { background: var(--c-accent); color: #fff; }

/* --------------------------------------------------------------------------
   详情页：图文左右交替行 + 橙色标题条项目卡
   -------------------------------------------------------------------------- */
.detail-rows { display: grid; gap: 56px; margin: 8px 0 56px; }
.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.row-media {
  min-height: 300px;
  aspect-ratio: 4 / 3;
  background-color: var(--c-soft);
  background-size: cover;
  background-position: center;
}
.detail-row:nth-child(even) .row-media { order: 2; }
.row-text h3 {
  color: var(--c-accent);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 16px;
}
.row-text p { color: var(--c-primary); font-weight: 400; font-size: 15px; line-height: 1.8; margin: 0 0 18px; }
.row-text ul { list-style: none; margin: 0 0 18px; padding: 0 0 0 18px; }
.row-text ul li { position: relative; color: var(--c-primary); font-size: 15px; line-height: 1.7; padding-top: 4px; }
.row-text ul li::before {
  content: "\25A0";
  font-size: 10px;
  color: var(--c-accent);
  position: absolute;
  left: -17px;
  top: 9px;
}

.accent-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 16px; }
.accent-card { display: block; }
.accent-bar { background: var(--c-accent); color: #fff; font-weight: 700; font-size: 16px; padding: 13px 18px; }
.accent-media {
  height: 190px;
  background-color: var(--c-soft);
  background-size: cover;
  background-position: center;
  transition: opacity .3s ease-in-out;
}
.accent-card:hover .accent-media { opacity: .87; }
.accent-loc { color: var(--c-text); font-size: 13px; padding-top: 10px; }

/* --------------------------------------------------------------------------
   About 页：宣传片 + 关键数据 + 相册
   -------------------------------------------------------------------------- */
.video-block { max-width: 900px; margin: 0 auto 44px; }
.promo-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.video-poster {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 430px;
  background-color: var(--c-navy-dark);
  background-size: cover;
  background-position: center;
}
.video-poster::before { content: ""; position: absolute; inset: 0; background: rgba(6, 18, 34, .46); }
.video-poster .play-badge { position: relative; margin: 0; }
.video-note { color: var(--c-text); font-size: 13.5px; line-height: 1.7; text-align: center; margin: 0; padding-top: 16px; }

.milestone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 20px; }
.milestone { background: var(--c-soft); padding: 24px 22px; }
.ms-value { color: var(--c-accent); font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.ms-label { color: var(--c-primary); font-size: 13.5px; margin: 0; }

/* --------------------------------------------------------------------------
   Contact 页：办公室场景图 + 地址 / 邮箱（纯文本）
   -------------------------------------------------------------------------- */
.office-scene { margin: 0 0 46px; }
.office-media { height: 400px; background-size: cover; background-position: center; background-color: var(--c-soft); }
.office-caption { color: var(--c-text); font-size: 13px; padding-top: 10px; margin: 0; }

.contact-details { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; }
.cd-block { border-top: 3px solid var(--c-accent); padding-top: 18px; }
.cd-label {
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 10px;
}
.cd-text { color: var(--c-primary); font-size: 16px; line-height: 1.7; margin: 0 0 10px; }
.cd-email { font-size: 19px; font-weight: 700; letter-spacing: .01em; }
.cd-hint { color: var(--c-text); font-size: 12.5px; margin: 0; }

/* --------------------------------------------------------------------------
   首页联系摘要条
   -------------------------------------------------------------------------- */
.contact-strip { background: var(--c-soft); border-top: 3px solid var(--c-accent); padding: 54px 0 58px; }
.contact-strip-inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: center; }
.cs-label {
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 8px;
}
.cs-text { color: var(--c-primary); font-size: 15px; line-height: 1.7; margin: 0; }
.cs-email { font-weight: 700; font-size: 16px; }
.cs-action { margin: 0; }

.btn {
  display: inline-block;
  background: var(--c-accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 13px 40px;
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: #c7651a; }

/* --------------------------------------------------------------------------
   相册网格 + 灯箱
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.gallery-grid a {
  display: block;
  aspect-ratio: 1;
  background-color: var(--c-soft);
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
  transition: transform .2s;
}
.gallery-grid a:hover { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  background: rgba(20, 30, 35, .92);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 84vh; box-shadow: 0 8px 40px rgba(0, 0, 0, .5); }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute;
  border: 0; background: rgba(255, 255, 255, .14);
  color: #fff; cursor: pointer; font-size: 26px; line-height: 1; padding: 10px 14px;
}
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--c-accent); }

/* --------------------------------------------------------------------------
   页脚（浅色几何背景图，沿用模板）
   -------------------------------------------------------------------------- */
.site-footer {
  background: #fff url("../assets/images/ui/bg-footer.jpg") no-repeat center top;
  background-size: cover;
  color: var(--c-primary);
  font-size: 14px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding-top: 44px;
  padding-bottom: 26px;
  min-height: 180px;
}
.footer-company { font-family: var(--font-body); font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.footer-company a { color: var(--c-accent); }
.footer-phone { margin: 0 0 6px; }
.footer-phone a { color: var(--c-text); }
.footer-email { color: var(--c-primary); font-weight: 600; margin: 0 0 6px; }
.footer-address { color: var(--c-text); font-size: 13px; max-width: 460px; margin: 0; }
.footer-copy { font-size: 12.5px; color: var(--c-text); margin: 22px 0 0; }
.footer-copy a { color: var(--c-accent); }
.footer-legal { font-size: 13px; padding-bottom: 6px; }
.footer-legal a { color: var(--c-text); }
.footer-legal a:hover { color: var(--c-accent); }
.footer-legal .sep { margin: 0 8px; color: var(--c-muted); }

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .svc-cards, .scene-cards, .milestone-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: 13.5px; }
  .brand-icon { height: 48px; }
  .brand-zh { font-size: 17px; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-strip-inner { grid-template-columns: 1fr 1fr; }
  .cs-action { grid-column: 1 / -1; }
  .detail-row { gap: 30px; }
}

@media (max-width: 768px) {
  :root { --header-main-h: 68px; }
  .brand-icon { height: 40px; }
  .brand-zh { font-size: 14px; }
  .brand-en { font-size: 7px; }
  .lang-switch:not(.mobile) { padding-left: 0; border-left: 0; font-size: 12px; }

  #home-slider { min-height: 380px; }
  .slide-caption { bottom: 92px; }
  .caption-title { font-size: 21px; margin-bottom: 8px; }
  .caption-meta { font-size: 12.5px; }
  .slider-dots { bottom: 56px; gap: 7px; }
  .slide-dot { width: 18px; }
  .slider-arrow { display: none; }
  .slider-dropdown { display: none !important; }

  .video-band-inner { padding: 76px 15px 80px; }
  .video-band-heading { font-size: 22px; }
  .video-band-text { font-size: 15px; }
  .play-badge { width: 56px; height: 56px; margin-bottom: 20px; }
  .play-badge::after { left: 22px; top: 17px; border-left-width: 16px; border-top-width: 9px; border-bottom-width: 9px; }

  .band { padding: 46px 0 52px; }
  .badge-title { gap: 12px; }
  .badge-text { font-size: 17px; padding: 12px 20px; }
  .sub-badge-title { font-size: 18px; margin: 34px 0 18px; }

  .biz-grid, .svc-cards, .scene-cards, .accent-cards { grid-template-columns: 1fr; }
  .biz-grid { gap: 26px; }
  .card-media { height: 190px; }
  .svc-card .card-media { height: 170px; }

  .projects-map { height: 340px; }
  .headquarters-marker-wrap { display: flex; align-items: center; justify-content: center; }
  .headquarters-marker {
    width: 16px; height: 16px;
    border-radius: 50% 50% 50% 0;
    transform: translateY(-11px) rotate(-45deg);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
  }
  .headquarters-marker img { width: 10px; height: 10px; transform: rotate(45deg); }

  .detail-rows { gap: 38px; margin-bottom: 40px; }
  .detail-row { grid-template-columns: 1fr; gap: 20px; }
  .detail-row:nth-child(even) .row-media { order: 0; }
  .row-media { min-height: 200px; }

  .video-poster { height: 240px; }
  .milestone-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .office-media { height: 240px; }
  .contact-details { grid-template-columns: 1fr; gap: 28px; }
  .contact-strip-inner { grid-template-columns: 1fr; gap: 24px; }

  .divider-title .entry-title .black,
  .divider-title .entry-title .red { font-size: 19px; }
  .divider-title { margin: 30px 0 22px; }
  .page-lead { font-size: 15px; margin-bottom: 28px; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .footer-main { flex-direction: column; align-items: flex-start; }
}

/* ---- 素材标注模式（?mark=1）---- */
.img-marked { outline: 3px solid rgba(255, 45, 45, .9); outline-offset: -3px; }
.img-mark-label {
  position: absolute; z-index: 99999; pointer-events: none;
  color: #ff2d2d; background: rgba(0, 0, 0, .55);
  font: 700 14px/1.35 "Titillium Web", "Microsoft YaHei", Arial, sans-serif;
  padding: 2px 7px; white-space: nowrap;
}
